56fdbbfe756202add16f8a46b410c27f1351802d
[glibc.git] / ChangeLog
blob56fdbbfe756202add16f8a46b410c27f1351802d
1 2015-07-31  Zack Weinberg  <zackw@panix.com>
3         [BZ #18681]
4         * regexp.h: Add unconditional #warning stating that this header
5         will be removed soon.  Revise banner comment to match.
6         (compile): Consistently use ERROR instead of RETURN to report
7         errors (partial fix for bz#18681).
8         * regexp.c: Don't include regexp.h. Remove some unnecessary
9         declarations.
11 2015-07-31  Carlos O'Donell  <carlos@redhat.com>
13         * po/libc.pot: Regenerated.
15 2015-07-30  Andrew Senkevich  <andrew.senkevich@intel.com>
17         [BZ #18740]
18         * sysdeps/x86_64/fpu/Makefile (double-vlen2-arch-ext-cflags,
19         float-vlen4-arch-ext-cflags): Removed.
20         * math/Makefile (CFLAGS-test-double-vlen2-wrappers.c,
21         CFLAGS-test-float-vlen4-wrappers.c): Likewise.
23 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
25         [BZ #14113]
26         * sysdeps/hppa/nptl/bits/pthreadtypes.h (pthread_mutex_t): Change
27         aligned to __aligned__.
28         (pthread_cond_t, pthread_rwlock_t): Likewise.
30 2015-07-30  Torvald Riegel  <triegel@redhat.com>
32         * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: Remove file.
34 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
36         * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h: Include bits/wordsize.h.
37         (struct sigaction): Change sa_flags from a long to an int, and add
38         __glibc_reserved0 before it for padding when __WORDSIZE is 64.
40 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
42         * hppa/sysdep.h: Delete sys/syscall.h and config.h includes.
43         * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: Delete
44         sysdeps/generic/sysdep.h include.
45         * sysdeps/unix/sysv/linux/hppa/sysdep.h: Wrap the whole file in
46         _LINUX_HPPA_SYSDEP_H defines.  Include sysdeps/unix/sysdep.h and
47         sysdeps/hppa/sysdep.h.
48         (ENTRY, PSEUDO): Undefine before defining.
50 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
52         * sysdeps/unix/sysv/linux/hppa/sysdep.h (INLINE_SYSCALL): Rewrite
53         from scratch to use INTERNAL_SYSCALL.
55 2015-07-29  H.J. Lu  <hongjiu.lu@intel.com>
57         [BZ #18078]
58         * scripts/check-localplt.awk: Support alternate relocations.
59         * scripts/localplt.awk: Also check relocations in DT_RELA/DT_REL
60         sections.
61         * sysdeps/unix/sysv/linux/i386/localplt.data: Mark free and
62         malloc entries with + REL R_386_GLOB_DAT.
63         * sysdeps/x86_64/localplt.data: New file.
65 2015-07-29  Andrew Senkevich  <andrew.senkevich@intel.com>
67         [BZ #18731]
68         * sysdeps/x86_64/fpu/math-tests-arch.h: Added AVX runtime check.
69         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
70         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
72 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
74         * sysdeps/unix/sysv/linux/ia64/localplt.data: Delete __tls_get_addr.
76 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
78         * sysdeps/ia64/bits/atomic.h (atomic_exchange_and_add): Define
79         directly in terms of __sync_fetch_and_add and delete (int) cast.
81 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
83         * sysdeps/unix/sysv/linux/ia64/Makefile (CPPFLAGS): Delete
84         the -D_ASM_IA64_CURRENT_H flag.
86 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
88         [BZ #18641]
89         * pwd/pwd.h (putpwent): Delete __nonnull markings.
91 2015-07-27  Andreas Schwab  <schwab@suse.de>
93         * conform/conformtest.pl (checknamespace): Filter out string
94         literals while tokenizing.
96 2015-07-26  Chung-Lin Tang  <cltang@codesourcery.com>
98         * sysdeps/nios2/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
99         * sysdeps/nios2/dl-machine.h (elf_machine_type_class): Handle
100         ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
102 2015-07-26  Chung-Lin Tang  <cltang@codesourcery.com>
104         * nptl/tst-join7mod.c: Add #include <string.h>.
106 2015-07-25  Chung-Lin Tang  <cltang@codesourcery.com>
108         * sysdeps/nios2/libm-test-ulps: Update.
110 2015-07-25  Chung-Lin Tang  <cltang@codesourcery.com>
112         * sysdeps/unix/sysv/linux/nios2/setcontext.S (__setcontext):
113         Fix order of arguments to the rt_sigprocmask syscall.
114         * sysdeps/unix/sysv/linux/nios2/swapcontext.S (__swapcontext):
115         Likewise.
117 2015-07-24  Roland McGrath  <roland@hack.frob.com>
119         * sysdeps/nacl/bits/fcntl.h (O_SHLOCK, O_EXLOCK): Macros removed.
121 2015-07-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
123         [BZ #18457]
124         * nptl/Makefile (tests): New test case tst-join7.
125         (modules-names): New test case module tst-join7mod.
126         * nptl/tst-join7.c: New file.
127         * nptl/tst-join7mod.c: New file.
128         * Makeconfig (tls-model): Pass -ftls-model=initial-exec for
129         all translation units in libc.so, libpthread.so and rtld.
131 2015-07-24  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
133         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
135 2015-07-24  Andrew Senkevich  <andrew.senkevich@intel.com>
137         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: Fixed AVX512 IFUNC.
138         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: Likewise.
139         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: Likewise.
140         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: Likewise.
141         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: Likewise.
142         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: Likewise.
143         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: Likewise.
144         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: Likewise.
145         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: Likewise.
146         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: Likewise.
147         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S: Likewise.
148         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: Likewise.
149         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Fixed wrappers to AVX2.
150         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Likewise.
151         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S: Fixed KNL
152         implementation.
154 2015-07-24  Szabolcs Nagy  <szabolcs.nagy@arm.com>
156         [BZ #17711]
157         * sysdeps/aarch64/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
158         * sysdeps/aarch64/dl-machine.h (elf_machine_type_class): Handle
159         ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
160         * sysdeps/arm/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
161         * sysdeps/arm/dl-machine.h (elf_machine_type_class): Handle
162         ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
164 2015-07-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
166         * stdlib/cxa_thread_atexit_impl.c: Use the lock name dl_load_lock
167         instead of just saying load lock in the comments.
169 2015-07-23  Roland McGrath  <roland@hack.frob.com>
171         * sysdeps/unix/Subdirs: Moved ...
172         * sysdeps/posix/Subdirs: ... here.
173         * login/pty.h (struct termios, struct winsize): Add forward decls.
174         * login/openpty.c (openpty): Put ioctl call under [TIOCSWINSZ].
175         * sysdeps/nacl/glob.c: Just #include <sysdeps/wordsize-64/glob.c>.
176         * sysdeps/arm/nacl/libc.abilist: Updated.
177         * sysdeps/nacl/libutil.abilist: New file.
179         * bits/signum.h: Update comments to mention 1003.1-2013 too.
180         (SIGWINCH): New macro.
182         * sysdeps/nacl/getdtsz.c (getdtablesize): Add missing weak_alias.
183         * sysdeps/arm/nacl/libc.abilist: Add it.
185 2015-07-23  Mike Frysinger  <vapier@gentoo.org>
187         * conform/linknamespace.pl (@whitelist): Add matherrf and matherrl.
189 2015-07-23  Mike Frysinger  <vapier@gentoo.org>
191         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h (struct sigaction):
192         Swap __glibc_reserved0 and sa_flags order.
194 2015-07-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
196         [BZ #18657]
197         * elf/dl-close.c (_dl_close_worker): Don't unload DSO if there
198         are pending TLS destructor calls.
199         * include/link.h (struct link_map): Add concurrency note for
200         L_TLS_DTOR_COUNT.
201         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
202         Don't touch the link map flag.  Atomically increment
203         l_tls_dtor_count.
204         (__call_tls_dtors): Atomically decrement l_tls_dtor_count.
205         Avoid taking the load lock and don't touch the link map flag.
206         * stdlib/tst-tls-atexit-nodelete.c: New test case.
207         * stdlib/Makefile (tests): Use it.
208         * stdlib/tst-tls-atexit.c (do_test): dlopen
209         tst-tls-atexit-lib.so again before dlclose.  Add conditionals
210         to allow tst-tls-atexit-nodelete test case to use it.
212 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
214         * sysdeps/unix/sysv/linux/ia64/bits/msq.h: Change sys/types.h include
215         to bits/types.h.
216         (msgqnum_t): New typedef.
217         (msglen_t): Likewise.
218         (struct msqid_ds): Update comment.  Change msg_qnum type to msgqnum_t
219         and msg_qbytes type to msglen_t.
221 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
223         * sysdeps/unix/sysv/linux/ia64/bits/stat.h (struct stat): Rename
224         pad0 to __glibc_reserved0.
225         (struct stat64): Likewise.
227 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
229         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h (struct sigaction):
230         Change sa_flags from a long to an int and add __glibc_reserved0 before
231         it for padding.
233 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
235         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (siginfo_t): Make struct
236         anonymous by deleting "siginfo" name.
238 2015-07-21  Roland McGrath  <roland@hack.frob.com>
240         * sysdeps/nacl/nacl-interface-list.h: Remove nacl_irt_filename.
241         * sysdeps/nacl/open.c (__libc_open): Use __nacl_irt_dev_filename
242         rather than __nacl_irt_filename.
243         * sysdeps/nacl/xstat.c (__xstat): Likewise.
245         * NEWS: New item for arm-nacl port.
246         * sysdeps/arm/nacl/libc.abilist: New file.
247         * sysdeps/nacl/ld.abilist: New file.
248         * sysdeps/nacl/libBrokenLocale.abilist: New file.
249         * sysdeps/nacl/libanl.abilist: New file.
250         * sysdeps/nacl/libcrypt.abilist: New file.
251         * sysdeps/nacl/libdl.abilist: New file.
252         * sysdeps/nacl/libm.abilist: New file.
253         * sysdeps/nacl/libpthread.abilist: New file.
254         * sysdeps/nacl/libresolv.abilist: New file.
255         * sysdeps/nacl/librt.abilist: New file.
257 2015-07-21  Chris Metcalf  <cmetcalf@ezchip.com>
259         * sysdeps/unix/sysv/linux/tile/makecontext.c (__makecontext): Call
260         __startcontext to initialize the new context.
261         * sysdeps/unix/sysv/linux/tile/setcontext.S (__startcontext): Set
262         up CFI directive to forbid further backtracing.
264 2015-07-21  Marko Myllynen  <myllynen@redhat.com>
266         * charmaps/ANSI_X3.110-1983: Remove obsolete repertoire map
267         reference.
268         * charmaps/ANSI_X3.4-1968: Likewise.
269         * charmaps/BS_4730: Likewise.
270         * charmaps/BS_VIEWDATA: Likewise.
271         * charmaps/CP1250: Likewise.
272         * charmaps/CP1251: Likewise.
273         * charmaps/CP1252: Likewise.
274         * charmaps/CP1253: Likewise.
275         * charmaps/CP1254: Likewise.
276         * charmaps/CP1255: Likewise.
277         * charmaps/CP1256: Likewise.
278         * charmaps/CSN_369103: Likewise.
279         * charmaps/EBCDIC-DK-NO: Likewise.
280         * charmaps/GB_1988-80: Likewise.
281         * charmaps/GREEK-CCITT: Likewise.
282         * charmaps/GREEK7: Likewise.
283         * charmaps/INIS-8: Likewise.
284         * charmaps/ISIRI-3342: Likewise.
285         * charmaps/ISO_2033-1983: Likewise.
286         * charmaps/ISO_5427-EXT: Likewise.
287         * locales/POSIX: Likewise.
288         * locales/ar_SA: Likewise.
289         * locales/be_BY: Likewise.
290         * locales/be_BY@latin: Likewise.
291         * locales/ca_ES: Likewise.
292         * locales/cs_CZ: Likewise.
293         * locales/da_DK: Likewise.
294         * locales/de_BE: Likewise.
295         * locales/de_CH: Likewise.
296         * locales/de_LU: Likewise.
297         * locales/en_AU: Likewise.
298         * locales/en_BW: Likewise.
299         * locales/en_CA: Likewise.
300         * locales/en_DK: Likewise.
301         * locales/en_GB: Likewise.
302         * locales/en_IE: Likewise.
303         * locales/en_NZ: Likewise.
304         * locales/en_ZA: Likewise.
305         * locales/en_ZW: Likewise.
306         * locales/es_AR: Likewise.
307         * locales/es_BO: Likewise.
308         * locales/es_CL: Likewise.
309         * locales/es_CO: Likewise.
310         * locales/es_DO: Likewise.
311         * locales/es_EC: Likewise.
312         * locales/es_ES: Likewise.
313         * locales/es_HN: Likewise.
314         * locales/es_MX: Likewise.
315         * locales/es_PA: Likewise.
316         * locales/es_PE: Likewise.
317         * locales/es_PY: Likewise.
318         * locales/es_SV: Likewise.
319         * locales/es_US: Likewise.
320         * locales/es_UY: Likewise.
321         * locales/es_VE: Likewise.
322         * locales/et_EE: Likewise.
323         * locales/fa_IR: Likewise.
324         * locales/fo_FO: Likewise.
325         * locales/fr_CA: Likewise.
326         * locales/fr_CH: Likewise.
327         * locales/gv_GB: Likewise.
328         * locales/he_IL: Likewise.
329         * locales/hr_HR: Likewise.
330         * locales/id_ID: Likewise.
331         * locales/is_IS: Likewise.
332         * locales/it_CH: Likewise.
333         * locales/iw_IL: Likewise.
334         * locales/kl_GL: Likewise.
335         * locales/ko_KR: Likewise.
336         * locales/kw_GB: Likewise.
337         * locales/lg_UG: Likewise.
338         * locales/lt_LT: Likewise.
339         * locales/lv_LV: Likewise.
340         * locales/mi_NZ: Likewise.
341         * locales/nhn_MX: Likewise.
342         * locales/nl_BE: Likewise.
343         * locales/pl_PL: Likewise.
344         * locales/sk_SK: Likewise.
345         * locales/sl_SI: Likewise.
346         * locales/sv_FI: Likewise.
347         * locales/tl_PH: Likewise.
348         * locales/tr_TR: Likewise.
349         * locales/vi_VN: Likewise.
351 2015-07-21  Khem Raj  <raj.khem@gmail.com>
353         [BZ #17475]
354         * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Adjust for rename
355         of tu_IN and bh_IN.
357 2015-07-21  Mike Frysinger  <vapier@gentoo.org>
359         [BZ #18694]
360         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h: Include
361         bits/wordsize.h.
362         (sigaction): Declare __glibc_reserved0 only when __WORDSIZE is 64.
364 2015-07-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
366         * stdlib/tst-tls-atexit-lib.c (do_foo): Rename to reg_dtor.
367         * stdlib/tst-tls-atexit.c: (is_loaded): New function.
368         (spawn_thread): New function.
369         (load): Rename to reg_dtor_and_close.  Move dlopen to...
370         (do_test): ... here.  Use IS_LOADED to test for its
371         availability.
373 2015-07-21  Andreas Schwab  <schwab@linux-m68k.org>
375         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
377 2015-07-20  H.J. Lu  <hongjiu.lu@intel.com>
379         [BZ #18696]
380         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (_sigfault): Add
381         si_addr_bnd.
382         (si_lower): New.
383         (si_upper): Likewise.
385 2015-07-16  David S. Miller  <davem@davemloft.net>
387         * sysdeps/sparc/fpu/libm-test-ulps: Regenerated.
389 2015-07-16  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
391         * libio/fmemopen.c (__fmemopen): Fix 'w' openmode with provided
392         buffer.
393         * stdio-common/tst-fmemopen2.c (do_test_with_buffer): Fix typo and
394         fail output information.
396 2015-07-16  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
398         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strstr-power7
399         and strstr-ppc64..
400         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
401         * sysdeps/powerpc/powerpc64/power7/strstr.S: New File.
402         * sysdeps/powerpc/powerpc64/multiarch/strstr-power7.S: New File.
403         * sysdeps/powerpc/powerpc64/multiarch/strstr-ppc64.c: New File.
404         * sysdeps/powerpc/powerpc64/multiarch/strstr.c: New File.
406 2015-07-16  Mike Frysinger  <vapier@gentoo.org>
408         * sysdeps/hppa/Versions (GLIBC_PRIVATE): Delete _dl_unmap.
409         * sysdeps/hppa/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
410         * sysdeps/ia64/Versions (GLIBC_PRIVATE): Delete _dl_unmap.
411         * sysdeps/ia64/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
413 2015-07-16  Mike Frysinger  <vapier@gentoo.org>
415         * elf/dl-symaddr.c (_dl_symbol_address): Add rtld_hidden_def.
416         * sysdeps/hppa/dl-lookupcfg.h (_dl_symbol_address): Add
417         rtld_hidden_proto.
418         * sysdeps/ia64/dl-lookupcfg.h (_dl_symbol_address): Likewise.
420 2015-07-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
422         * tst-nodelete-opened.c (do_test): Add comment to clarify how
423         the test can fail.
425         * stdlib/cxa_thread_atexit_impl.c: Whitespace fixup.
427         [BZ #18676]
428         * elf/tst-nodelete-opened.c: New test case.
429         * elf/tst-nodelete-opened-lib.c: New test case module.
430         * elf/Makefile (tests, modules-names): Use them.
431         * elf/dl-open.c (dl_open_worker): Set DF_1_NODELETE flag
432         early.
434 2015-07-15  David S. Miller  <davem@davemloft.net>
436         * sysdeps/sparc/nptl/pthread_barrier_init.c: Include
437         futex-intenal.h
438         * sysdeps/sparc/sparc32/sparcv9/Makefile (nscd): Add cpu_relax.
439         * sysdeps/sparc/sparc64/Makefile: Likewise.
440         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_spin_nop):
441         Remove space from macro define.
442         * sysdeps/sparc/sparc64/bits/atomic.h (atomic_spin_nop): Likewise.
444 2015-07-15  Pravin Satpute  <psatpute@redhat.com>
446         [BZ #17475]
447         * locale/iso-639.def: Update Bhili and Tulu language codes as
448         per iso639-3.
450 2015-07-15  Arjun Shankar  <arjun.is@lostca.se>
452         * elf/tst-leaks1.c (main): Converted to ...
453         (do_test): ... this.
454         (TEST_FUNCTION): New macro.
455         Include test-skeleton.c.
456         * localedata/tst-langinfo.c (main): Converted to ...
457         (do_test): ... this.
458         (TEST_FUNCTION): New macro.
459         Include test-skeleton.c.
460         * math/test-fpucw.c (main): Converted to ...
461         (do_test): ... this.
462         (TEST_FUNCTION): New macro.
463         Include test-skeleton.c.
464         * math/test-tgmath.c (main): Converted to ...
465         (do_test): ... this.
466         (TEST_FUNCTION): New macro.
467         Include test-skeleton.c.
468         * math/test-tgmath2.c (main): Converted to ...
469         (do_test): ... this.
470         (TEST_FUNCTION): New macro.
471         Include test-skeleton.c.
472         * setjmp/tst-setjmp.c (main): Converted to ...
473         (do_test): ... this.
474         (TEST_FUNCTION): New macro.
475         Include test-skeleton.c.
476         * stdio-common/tst-sscanf.c (main): Converted to ...
477         (do_test): ... this.
478         (TEST_FUNCTION): New macro.
479         Include test-skeleton.c.
480         * sysdeps/x86_64/tst-audit6.c (main): Converted to ...
481         (do_test): ... this.
482         (TEST_FUNCTION): New macro.
483         Include test-skeleton.c.
485         * elf/tst-audit9.c (main): Converted to ...
486         (do_test): ... this.
487         (TEST_FUNCTION): New macro.
488         Include test-skeleton.c.
490 2015-07-15  Mike Frysinger  <vapier@gentoo.org>
492         * timezone/tst-tzset.c (TIMEOUT): Define to 5.
494 2015-07-15  Stefan Liebler  <stli@linux.vnet.ibm.com>
496         * sysdeps/i386/i686/Makefile (test-xfail-tst-makecontext):
497         New variable.
499 2015-07-15  Stefan Liebler  <stli@linux.vnet.ibm.com>
501         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
503 2015-07-14  Roland McGrath  <roland@hack.frob.com>
505         * sysdeps/generic/dl-fileid.h: New file.
506         * sysdeps/posix/dl-fileid.h: New file.
507         * sysdeps/nacl/dl-fileid.h: New file.
508         * include/link.h: Include <dl-fileid.h>.
509         (struct link_map): Replace l_dev and l_ino with l_file_id.
510         * elf/dl-load.c (_dl_map_object_from_fd): Use _dl_get_file_id rather
511         than __fxstat64.  Use _dl_file_id_match_p rather than comparing l_dev
512         and l_ino directly.  Initialize l_file_id rather than l_dev and l_ino.
514 2015-07-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
516         * stdlib/tst-tls-atexit.c (do_test): Fix typo.
518 2015-07-14  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
520         * elf/Makefile [ifeq (yes,$(build-shared)) (tests)] (tst-nodelete):
521         Add iff $CXX is set.
522         [ifeq (yes,$(build-shared)) (modules-names)] (tst-nodelete-rtldmod):
523         Likewise.
524         (tst-nodelete-zmodiff): Likewise.
525         * nptl/Makefile [[ifeq (,$(CXX))] (tests-unsupported)]: Add tst-once5.
527 2015-07-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
529         * stdlib/tst-tls-atexit.c (load): Fix up whitespace.
531 2015-07-13  Wilco Dijkstra  <wdijkstr@arm.com>
533         * sysdeps/aarch64/fpu/math_private.h
534         (define math_opt_barrier): Add AArch64 version.
535         (math_force_eval): Likewise.
537 2015-07-13  Wilco Dijkstra  <wdijkstr@arm.com>
539         * sysdeps/aarch64/strlen.S (strlen): Optimize strlen.
541 2015-07-11  H.J. Lu  <hongjiu.lu@intel.com>
543         * stdio-common/tst-fmemopen2.c (do_test_without_buffer): Replace
544         %ld with %jd and cast to intmax_t.
545         (do_test_length_zero): Likewise.
547 2015-07-10  Roland McGrath  <roland@hack.frob.com>
549         * sysdeps/nacl/pthread_condattr_setclock.c: New file.
551 2015-07-10  Chris Metcalf  <cmetcalf@ezchip.com>
553         * sysdeps/tile/libm-test-ulps: Regenerated.
555         * math/test-fenvinline.c (feenable_test) [FE_ALL_EXCEPT == 0]:
556         Comment out the whole function, not just its body.
558 2015-07-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
560         * stdlib/tst-tls-atexit.c (load): Remove unnecessary mutex
561         locks.
563         * stdlib/tst-tls-atexit.c (load): Avoid boolean coercion.
565 2015-07-10  Torvald Riegel  <triegel@redhat.com>
567         * nptl/sem_waitcommon.c (__new_sem_wait_slow): Update comments.
568         (sem_assume_only_signals_cause_futex_EINTR): Remove.
570 2015-07-10  Torvald Riegel  <triegel@redhat.com>
572         * sysdeps/nptl/futex-internal.h: New file.
573         * sysdeps/nacl/futex-internal.h: New file.
574         * sysdeps/unix/sysv/linux/futex-internal.h: New file.
575         * nptl/allocatestack.c (setxid_mark_thread): Use futex wrappers with
576         error checking.
577         (setxid_unmark_thread): Likewise.
578         (__nptl_setxid): Likewise.
579         (__wait_lookup_done): Likewise.
580         * nptl/cancellation.c (__pthread_disable_asynccancel): Likewise.
581         * nptl/nptl-init.c (sighandler_setxid): Likewise.
582         * nptl/pthread_create.c (START_THREAD_DEFN): Likewise.
583         * nptl/pthread_once.c (clear_once_control): Likewise.
584         (__pthread_once_slow): Likewise.
585         * nptl/unregister-atfork.c (__unregister_atfork): Likewise.
586         * sysdeps/nacl/exit-thread.h (__exit_thread): Likewise.
587         * sysdeps/nptl/aio_misc.h (AIO_MISC_NOTIFY, AIO_MISC_WAIT): Likewise.
588         * sysdeps/nptl/fork.c (__libc_fork): Likewise.
589         * sysdeps/nptl/gai_misc.h (GAI_MISC_NOTIFY, GAI_MISC_WAIT): Likewise.
590         * nptl/pthread_rwlock_rdlock.c (__pthread_rwlock_rdlock_slow):
591         Likewise.
592         (__pthread_rwlock_rdlock): Likewise.
593         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
594         Likewise.
595         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
596         Likewise.
597         * nptl/pthread_rwlock_tryrdlock.c (__pthread_rwlock_tryrdlock):
598         Likewise.
599         * nptl/pthread_rwlock_unlock.c (__pthread_rwlock_unlock): Likewise.
600         * nptl/pthread_rwlock_wrlock.c (__pthread_rwlock_wrlock_slow:
601         Likewise.
602         * nptl/pthread_rwlock_init (__pthread_rwlock_init): Remove
603         __ASSUME_PRIVATE_FUTEX check.
604         * nptl/pthread_rwlockattr_setpshared (pthread_rwlockattr_setpshared):
605         Check that shared futexes are supported.
606         * nptl/pthread_barrier_wait.c (pthread_barrier_wait): Use futex
607         wrappers with error checking.
608         * nptl/pthread_barrier_init.c (pthread_barrier_init): Add comments,
609         remove attribute sanity check and __ASSUME_PRIVATE_FUTEX check.
610         * nptl/pthread_barrierattr_setpshared.c
611         (pthread_barrierattr_setpshared): Check that shared futexes are
612         supported.
613         * nptl/pthread_condattr_setpshared.c (pthread_condattr_setpshared):
614         Likewise.
615         * nptl/pthread_mutexattr_setpshared.c (pthread_mutexattr_setpshared):
616         Likewise.
617         * nptl/sem_init.c (futex_private_if_supported): Remove.
618         (__new_sem_init): Adapt and check that shared futexes are supported.
619         * nptl/sem_open.c (sem_open): Likewise.
620         * nptl/sem_post.c (futex_wake): Remove.
621         * nptl/sem_waitcommon.c (futex_abstimed_wait, futex_wake): Remove.
622         (do_futex_wait): Use futex wrappers with error checking.
623         * nptl/sem_wait.c: Include lowlevellock.h.
624         * sysdeps/sparc/nptl/pthread_barrier_init.c (__pthread_barrier_init):
625         Use futex_supports_pshared.
626         * sysdeps/sparc/nptl/pthread_barrier_wait.c (pthread_barrier_wait):
627         Use futex wrappers with error checking.
628         * sysdeps/sparc/sparc32/pthread_barrier_wait.c (pthread_barrier_wait):
629         Likewise.
630         * sysdeps/sparc/sparc32/sem_init.c (futex_private_if_supported): Remove.
631         * sysdeps/sparc/sparc32/sem_post.c (futex_wake): Likewise.
632         * sysdeps/sparc/sparc32/sem_open.c (sem_open): Use FUTEX_SHARED.
633         * sysdeps/sparc/sparc32/sem_waitcommon.c (futex_abstimed_wait): Remove.
634         (futex_wake): Likewise.
635         (sem_assume_only_signals_cause_futex_EINTR): Likewise.
636         (do_futex_wait): Use futex wrappers with error checking.
637         (__new_sem_wait_slow): Update EINTR handling.
638         * sysdeps/sparc/sparc32/sem_wait.c: Include lowlevellock.h.
640 2015-07-09  Martin Sebor  <msebor@redhat.com>
642         [BZ #18435]
643         * nptl/pthreadP.h (pthread_cleanup_push, pthread_cleanup_pop):
644         Revert commit ed225df3ad9cbac3c22ec3f0fbbed1f9c61d1c54.
645         * nptl/Makefile (test-xfail-tst-once5): Define.
647 2015-07-09  Roland McGrath  <roland@hack.frob.com>
649         * include/stdio.h: Add rtld_hidden_proto (__libc_fatal).
650         * elf/dl-minimal.c: For readability, reorder some definitions and
651         introduce more page breaks.  Include <stdio.h>.
652         (__libc_fatal): New function.
654         * include/unistd.h: Add rtld_hidden_proto for _exit.
655         * posix/_exit.c: Add rtld_hidden_def.
656         * sysdeps/mach/hurd/_exit.c: Likewise.
657         * sysdeps/nacl/_exit.c: Likewise.
658         * sysdeps/unix/sysv/linux/_exit.c: Likewise.
659         * sysdeps/unix/sysv/linux/i386/_exit.S: Likewise.
661 2015-07-09  H.J. Lu  <hongjiu.lu@intel.com>
663         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Improve
664         bndmov encoding with zero displacement.
666 2015-07-09  Igor Zamyatin  <igor.zamyatin@intel.com>
667             H.J. Lu  <hongjiu.lu@intel.com>
669         [BZ #18134]
670         * sysdeps/i386/configure.ac: Set HAVE_MPX_SUPPORT.
671         * sysdeps/i386/configure: Regenerated.
672         * sysdeps/i386/dl-trampoline.S (PRESERVE_BND_REGS_PREFIX): New.
673         (_dl_runtime_profile): Save and restore Intel MPX return bound
674         registers when calling _dl_call_pltexit.  Add
675         PRESERVE_BND_REGS_PREFIX before return.
676         * sysdeps/i386/link-defines.sym (LRV_BND0_OFFSET): New.
677         (LRV_BND1_OFFSET): Likewise.
678         * sysdeps/x86/bits/link.h (La_i86_retval): Add lrv_bnd0 and
679         lrv_bnd1.
680         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix
681         typo in bndmov encoding.
682         * sysdeps/x86_64/dl-trampoline.h: Properly save and restore
683         Intel MPX bound registers.  Add PRESERVE_BND_REGS_PREFIX before
684         branch instructions to preserve bounds.
686 2015-07-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
688         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist
689         [GLIBC_2.22]: Add fmemopen.
691 2015-07-09  Samuel Thibault  <samuel.thibault@ens-lyon.org>
693         * sysdeps/mach/hurd/mlock.c (mlock): When __get_privileged_ports
694         returns an error, also try to use host port from __mach_host_self for
695         the __vm_wire call.
696         * sysdeps/mach/hurd/munlock.c (munlock): Likewise.
698 2015-07-09  Szabolcs Nagy  <szabolcs.nagy@arm.com>
700         [BZ #18400]
701         [BZ #18648]
702         * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h (struct elf_prpsinfo):
703         Fix pr_uid and pr_gid members.
704         * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h (greg_t): Change the
705         definition to elf_greg_t.
707 2015-07-08  Roland McGrath  <roland@hack.frob.com>
709         [BZ #18383]
710         * sysdeps/arm/configure.ac (libc_cv_arm_tpoff_addend): New check.
711         Emit test-xfail-tst-tlsalign{,-static}=yes if it fails.
712         * sysdeps/arm/configure: Regenerated.
713         * elf/Makefile (test-xfail-tst-tlsalign): Variable removed.
714         (test-xfail-tst-tlsalign-static): Variable removed.
716         * Makerules (do-install-so): Use $(LN_S) rather than explicit 'ln -s'.
717         * elf/Makefile ($(objpfx)$(rtld-installed-name)): Use $(make-link)
718         rather than explicit 'ln -s'.
720         * resolv/rpc/netdb.h: New file.
721         * resolv/Makefile [sunrpc not in $(subdirs)] (headers): Add it.
723 2015-07-08  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
725         * stdio-common/tst-fmemopen2.c (do_test): Add test for NULL and zero
726         length buffers.
727         * stdio-common/tst-fmemopen.c (do_test): Refactor to use
728         test-skeleton.c.
730         [BZ #6544]
731         [BZ #11216]
732         [BZ #12836]
733         [BZ #13151]
734         [BZ #13152]
735         [BZ #14292]
736         * include/stdio.h (fmemopen): Remove hidden prototype.
737         (__fmemopen): Add new hidden prototype.
738         * libio/Makefile: Add oldfmemopen object.
739         * libio/Versions [GLIBC_2.22]: Add new fmemopen symbol.
740         * libio/fmemopen.c (__fmemopen): Function rewrite to be POSIX
741         compliance.
742         * libio/oldfmemopen.c: New file: old fmemopen implementation for
743         symbol compatibility.
744         * stdio-common/Makefile [tests]: Add new tst-fmemopen3.
745         * stdio-common/psiginfo.c [psiginfo]: Call __fmemopen instead of
746         fmemopen.
747         * stdio-common/tst-fmemopen3.c: New file: more fmemopen tests, focus
748         on append and read mode.
749         * sysdeps/unix/sysv/linux/aarch64/libc.abilist [GLIBC_2.22]: Add
750         fmemopen.
751         * sysdeps/unix/sysv/linux/alpha/libc.abilist [GLIBC_2.22]: Likewise.
752         * sysdeps/unix/sysv/linux/arm/libc.abilist [GLIBC_2.22]: Likewise.
753         * sysdeps/unix/sysv/linux/i386/libc.abilist [GLIBC_2.22]: Likewise.
754         * sysdeps/unix/sysv/linux/ia64/libc.abilist [GLIBC_2.22]:
755         Likewise.
756         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist
757         [GLIBC_2.22]: Likewise.
758         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist [GLIBC_2.22]:
759         Likewise.
760         * sysdeps/unix/sysv/linux/microblaze/libc.abilist [GLIBC_2.22]:
761         Likewise.
762         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
763         [GLIBC_2.22]: Likewise.
764         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
765         [GLIBC_2.22]: Likewise.
766         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
767         [GLIBC_2.22]: Likewise.
768         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
769         [GLIBC_2.22]: Likewise.
770         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
771         [GLIBC_2.22]: Likewise.
772         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
773         [GLIBC_2.22]: Likewise.
774         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist
775         [GLIBC_2.22]: Likewise.
776         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist [GLIBC_2.22]:
777         Likewise.
778         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist [GLIBC_2.22]:
779         Likewise.
780         * sysdeps/unix/sysv/linux/sh/libc.abilist [GLIBC_2.22]: Likewise.
781         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist
782         [GLIBC_2.22]: Likewise.
783         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist
784         [GLIBC_2.22]: Likewise.
785         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist
786         [GLIBC_2.22]: Likewise.
787         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist
788         [GLIBC_2.22]: Likewise.
789         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist [GLIBC_2.22]:
790         Likewise.
791         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist [GLIBC_2.22]:
792         Likewise.
793         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist [GLIBC_2.22]:
794         Likewise.
795         * sysdeps/unix/sysv/linux/hppa/libc.abilist [GLIBC_2.22]: Likewise.
796         * sysdeps/unix/sysv/linux/nios2/libc.abilist [GLIBC_2.22]: Likewise.
798 2015-07-08  Carlos O'Donell  <carlos@redhat.com>
800         [BZ #18643]
801         * sysdeps/unix/sysv/linux/bits/in.h: Define IPV6_RECVPATHMTU,
802         IPV6_PATHMTU, and IPV6_DONTFRAG.
804 2015-07-08  Feng Gao  <gfree.wind@gmail.com>
806         * libio/fileops.c: Use "|" instead of "+" when combine _IO_LINE_BUF
807         and _IO_UNBUFFERED.
808         * libio/oldfileops.c: Likewise.
809         * libio/wfileops.c: Likewise.
811 2015-07-08  Mike Frysinger  <vapier@gentoo.org>
813         * nscd/selinux.c: Delete selinux/flask.h include.
815 2015-07-08  Mike Frysinger  <vapier@gentoo.org>
817         [BZ #18641]
818         * pwd/pwd.h (fgetpwent): Add __nonnull markings.
819         (putpwent): Likewise.
820         (getpwnam): Likewise.
821         (getpwent_r): Likewise.
822         (getpwuid_r): Likewise.
823         (getpwnam_r): Likewise.
824         (fgetpwent_r): Likewise.
826 2015-07-08  Carlos O'Donell  <carlos@redhat.com>
828         [BZ #18557]
829         * inet/rcmd.c (__validuser2_sa): Check user first to
830         short-circuit host check.
832 2015-07-07  Pavel Kopyl  <p.kopyl@samsung.com>
833             Mikhail Ilin  <m.ilin@samsung.com>
835         [BZ #17833]
836         * elf/Makefile (tests): Add tst-nodelete.
837         (modules-names): Add tst-nodelete-uniquemod.
838         (tst-nodelete-uniquemod.so-no-z-defs): New.
839         (tst-nodelete-rtldmod.so-no-z-defs): Likewise.
840         (tst-nodelete-zmod.so-no-z-defs): Likewise.
841         ($(objpfx)tst-nodelete): Likewise.
842         ($(objpfx)tst-nodelete.out): Likewise.
843         (LDFLAGS-tst-nodelete): Likewise.
844         (LDFLAGS-tst-nodelete-zmod.so): Likewise.
845         * elf/dl-close.c (_dl_close_worker): Add a parameter to
846         implement forced object deletion.
847         (_dl_close): Pass false to _dl_close_worker.
848         * elf/dl-open.c (_dl_open): Pass true to _dl_close_worker.
849         * elf/tst-nodelete.cc: New file.
850         * elf/tst-nodeletelib.cc: Likewise.
851         * elf/tst-znodeletelib.cc: Likewise.
852         * include/dlfcn.h (_dl_close_worker): Add a new parameter.
854 2015-07-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
856         [BZ #18508]
857         * stdlib/Makefile ($(objpfx)tst-makecontext3):
858         Depend on $(libdl).
859         * stdlib/tst-makecontext.c (cf): Test if _Unwind_Backtrace
860         is not called infinitely times.
861         (backtrace_helper): New function.
862         (trace_arg): New struct.
863         (st1): Enlarge stack size.
864         * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
865         (__makecontext_ret): Omit cfi_startproc and cfi_endproc.
866         * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
867         Likewise.
869 2015-07-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
871         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
873 2015-07-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
875         * sysdeps/unix/sysv/linux/s390/bits/sem.h:
876         Include sys/types.h instead of bits/types.h.
877         Remove inclusion of bits/wordsize.h.
879 2015-07-07  H.J. Lu  <hongjiu.lu@intel.com>
881         * sysdeps/x86_64/tst-auditmod10b.c (la_symbind32): New.
882         * sysdeps/x86_64/tst-auditmod4b.c (la_symbind32): Likewise.
883         * sysdeps/x86_64/tst-auditmod5b.c (la_symbind32): Likewise.
884         * sysdeps/x86_64/tst-auditmod6b.c (la_symbind32): Likewise.
885         * sysdeps/x86_64/tst-auditmod6c.c (la_symbind32): Likewise.
886         * sysdeps/x86_64/tst-auditmod7b.c (la_symbind32): Likewise.
888 2015-07-07  H.J. Lu  <hongjiu.lu@intel.com>
890         * sysdeps/i386/Makefile (gen-as-const-headers)[elf]: Add
891         link-defines.sym.
892         * sysdeps/i386/dl-trampoline.S: Include <link-defines.h>.
893         (_dl_runtime_profile): Use LONG_DOUBLE_SIZE, LRV_SIZE,
894         LRV_EAX_OFFSET, LRV_EDX_OFFSET, LRV_ST0_OFFSET, LRV_ST1_OFFSET
895         and LR_SIZE.
896         * sysdeps/i386/link-defines.sym: New file.
898 2015-07-07  H.J. Lu  <hongjiu.lu@intel.com>
900         * sysdeps/i386/Makefile (tests)[elf]: Add tst-audit3.
901         (modules-names): Add tst-auditmod3a tst-auditmod3b.
902         ($(objpfx)tst-audit3): New rule.
903         ($(objpfx)tst-audit3.out): Likewise.
904         * sysdeps/i386/tst-audit3.c: New file.
905         * sysdeps/i386/tst-audit3.h: Likewise.
906         * sysdeps/i386/tst-auditmod3a.c: Likewise.
907         * sysdeps/i386/tst-auditmod3b.c: Likewise.
909 2015-07-07  Torvald Riegel  <triegel@redhat.com>
911         [BZ #18633]
912         * sysdeps/x86/bits/string.h (__memmove_g): Do not create invalid
913         pointer in C code.
914         (__strcat_c): Likewise.
915         (__strcat_g): Likewise.
917 2015-07-07  Cyril Hrubis <chrubis@suse.cz>
919         [BZ #18592]
920         * misc/sbrk.c: Set errno to ENOMEM on overflow.
922 2015-07-06  Wilco Dijkstra  <wdijkstr@arm.com>
924         * sysdeps/aarch64/fpu/math_private.h (__ieee754_sqrt):
925         New function.  (__ieee754_sqrtf): New function.
926         * sysdeps/aarch64/fpu/e_sqrt.c (__ieee754_sqrt):
927         New function.
928         * sysdeps/aarch64/fpu/e_sqrtf.c (__ieee754_sqrtf):
929         New function.
931 2015-07-06  Wilco Dijkstra  <wdijkstr@arm.com>
933         * sysdeps/ieee754/support.c: Remove unused file.
935 2015-07-06  Szabolcs Nagy  <szabolcs.nagy@arm.com>
937         * sysdeps/unix/sysv/linux/aarch64/getcontext.S (__getcontext): Use q
938         registers instead of d ones so the layout is kernel abi compatible.
939         * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext): Likewise.
940         * sysdeps/unix/sysv/linux/aarch64/swapcontext.S (__swapcontext):
941         Likewise.
943 2015-07-02  Szabolcs Nagy  <szabolcs.nagy@arm.com>
945         * sysdeps/aarch64/libm-test-ulps: Regenerated.
947 2015-07-01  Joseph Myers  <joseph@codesourcery.com>
949         [BZ #18619]
950         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Force underflow
951         and return argument in case of subnormal argument.
953 2015-07-01  Martin Sebor  <msebor@redhat.com>
955         [BZ #18435]
956         * nptl/Makefile: Add tst-once5.cc.
957         * nptl/pthreadP.h (pthread_cleanup_push, pthread_cleanup_pop):
958         Remove macro redefinitions.
959         * nptl/tst-once5.cc: New test.
961 2015-07-01  Joseph Myers  <joseph@codesourcery.com>
963         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
965         * sysdeps/arm/libm-test-ulps: Regenerated.
967         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
968         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
970 2015-06-30  Torvald Riegel  <triegel@redhat.com>
972         * nptl/DESIGN-systemtap-probes.txt: Remove lll_lock_wait,
973         lll_lock_wait_private and lll_futex_wake probes.
975         * sysdeps/unix/sysv/linux/i386/lowlevellock.h (BUSY_WAIT_NOP): Remove.
976         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (BUSY_WAIT_NOP):
977         Likewise.
978         * sysdeps/i386/i486/bits/atomic.h (atomic_delay): Rename to
979         atomic_spin_nop.
980         * sysdeps/x86_64/bits/atomic.h: Likewise.
981         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h (BUSY_WAIT_NOP): Rename
982         to atomic_spin_nop and move ...
983         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_spin_nop):
984         ... here and ...
985         * sysdeps/sparc/sparc64/bits/atomic.h: ... here.
986         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock): Use
987         atomic_spin_nop instead of BUSY_WAIT_NOP.
988         * nptl/pthread_mutex_timedlock.c (__pthread_mutex_timedlock):
989         Likewise.
990         * sysdeps/nacl/lll_timedwait_tid.c (__lll_timedwait_tid): Likewise.
991         * sysdeps/nacl/lowlevellock.h (BUSY_WAIT_NOP): Remove.
992         (lll_wait_tid): Use atomic_spin_nop instead of BUSY_WAIT_NOP.
993         * nscd/nscd-client.h (__nscd_acquire_maplock): Use atomic_spin_nop
994         instead of atomic_delay.
996 2015-06-29  Joseph Myers  <joseph@codesourcery.com>
998         [BZ #18613]
999         * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Take log of
1000         X_ADJ not X when adjusting exponent.
1001         (__ieee754_gamma_r): Do intermediate computations in
1002         round-to-nearest then adjust overflowing and underflowing results
1003         as needed.
1004         * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Take log
1005         of X_ADJ not X when adjusting exponent.
1006         (__ieee754_gammaf_r): Do intermediate computations in
1007         round-to-nearest then adjust overflowing and underflowing results
1008         as needed.
1009         * sysdeps/ieee754/ldbl-128/e_gammal_r.c (gammal_positive): Take
1010         log of X_ADJ not X when adjusting exponent.
1011         (__ieee754_gammal_r): Do intermediate computations in
1012         round-to-nearest then adjust overflowing and underflowing results
1013         as needed.  Use 1.0L not 1.0f as numerator of division.
1014         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (gammal_positive): Take
1015         log of X_ADJ not X when adjusting exponent.
1016         (__ieee754_gammal_r): Do intermediate computations in
1017         round-to-nearest then adjust overflowing and underflowing results
1018         as needed.  Use 1.0L not 1.0f as numerator of division.
1019         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (gammal_positive): Take log
1020         of X_ADJ not X when adjusting exponent.
1021         (__ieee754_gammal_r): Do intermediate computations in
1022         round-to-nearest then adjust overflowing and underflowing results
1023         as needed.  Use 1.0L not 1.0f as numerator of division.
1024         * math/libm-test.inc (tgamma_test_data): Remove one test.  Moved
1025         to auto-libm-test-in.
1026         (tgamma_test): Use ALL_RM_TEST.
1027         * math/auto-libm-test-in: Add one test of tgamma.  Mark some other
1028         tests of tgamma with spurious-overflow.
1029         * math/auto-libm-test-out: Regenerated.
1030         * math/gen-libm-have-vector-test.sh: Do not check for START.
1031         * sysdeps/i386/fpu/libm-test-ulps: Update.
1032         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1034         [BZ #18612]
1035         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): For small
1036         arguments, just return 0.5 times the argument, with underflow
1037         forced as needed.
1038         * math/auto-libm-test-in: Add more tests of j1.
1039         * math/auto-libm-test-out: Regenerated.
1041         [BZ #16559]
1042         * sysdeps/ieee754/dbl-64/e_j1.c: Include <float.h>.
1043         (__ieee754_j1): Force underflow exception for small results.
1044         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
1045         * sysdeps/ieee754/flt-32/e_j1f.c: Include <float.h>.
1046         (__ieee754_j1f): Force underflow exception for small results.
1047         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
1048         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
1049         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
1050         * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <float.h>.
1051         (__ieee754_j1l): Force underflow exception for small results.
1052         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
1053         * math/auto-libm-test-in: Add more tests of j1 and jn.
1054         * math/auto-libm-test-out: Regenerated.
1056         * sysdeps/unix/sysv/linux/bits/in.h (IP_CHECKSUM): New macro.
1057         * sysdeps/unix/sysv/linux/bits/socket.h (PF_IB): Likewise.
1058         (PF_MPLS): Likewise.
1059         (AF_IB): Likewise.
1060         (AF_MPLS): Likewise.
1061         * sysdeps/unix/sysv/linux/sys/mount.h (MS_LAZYTIME): New enum
1062         value and macro.
1063         (MS_RMT_MASK): Include MS_LAZYTIME.
1065 2015-06-26  Mel Gorman  <mgorman@suse.de>
1067         [BZ #18502]
1068         * malloc/arena.c (heap_trim): Don't try to shrink a heap that is
1069         already minimal.
1071 2015-06-26  Matthew Fortune  <matthew.fortune@imgtec.com>
1073         * elf/elf.h (DT_MIPS_RLD_MAP_REL): New macro.
1074         (DT_MIPS_NUM): Update.
1075         * sysdeps/mips/dl-machine.h (ELF_MACHINE_DEBUG_SETUP): Handle
1076         DT_MIPS_RLD_MAP_REL.
1078 2015-06-25  Joseph Myers  <joseph@codesourcery.com>
1080         [BZ #16559]
1081         [BZ #18602]
1082         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Set
1083         round-to-nearest internally then recompute results that
1084         underflowed to zero in the original rounding mode.
1085         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
1086         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
1087         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
1088         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise
1089         * math/libm-test.inc (jn_test): Use ALL_RM_TEST.
1090         * sysdeps/i386/fpu/libm-test-ulps: Update.
1091         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1093 2015-06-25  Andrew Senkevich  <andrew.senkevich@intel.com>
1095         * NEWS: Fixed description of link with vector math library.
1097 2015-06-25  Andreas Schwab  <schwab@suse.de>
1099         [BZ #18549]
1100         * libio/fmemopen.c (fmemopen_write): Fix bounds check for ENOSPC.
1101         * libio/test-fmemopen.c (do_test): Add test for it.
1103 2015-06-25  H.J. Lu  <hongjiu.lu@intel.com>
1105         [BZ #17841]
1106         * Makeconfig (no-pie-ldflag): New.
1107         (+link): Set to $(+link-pie) if default to PIE.
1108         (+link-tests): Set to $(+link-pie-tests) if default to PIE.
1109         * config.make.in (build-pie-default): New.
1110         * configure.ac (libc_cv_pie_default): New.  Set to yes if -fPIE
1111         is default.  AC_SUBST.
1112         * configure: Regenerated.
1113         * elf/Makefile (LDFLAGS-tst-dlopen-aout): New.
1115 2015-06-24  Roland McGrath  <roland@hack.frob.com>
1117         * nptl/descr.h (struct pthread): Change type of field setxid_futex
1118         to 'unsigned int'.
1120         * resolv/gai_misc.h (struct waitlist): Change type of field
1121         counterp to 'volatile unsigned int *'.
1122         * sysdeps/nptl/gai_misc.h (GAI_MISC_WAIT): Use unsigned types for
1123         FUTEXADDR and OLDVAL.
1124         * resolv/getaddrinfo_a.c (getaddrinfo_a):
1125         Give local variable TOTAL type 'volatile unsigned int'.
1126         (struct async_waitlist): Change type of field counter to 'unsigned int'.
1127         * resolv/gai_suspend.c (gai_suspend):
1128         Give local variable CNTR type 'unsigned int'.
1130         * sysdeps/pthread/aio_misc.h (struct waitlist): Change type of field
1131         counterp to 'volatile unsigned int *'.
1132         * sysdeps/pthread/aio_suspend.c [DONT_NEED_AIO_MISC_COND]
1133         (do_aio_misc_wait): Give argument CNTR type 'unsigned int *'.
1134         (aio_suspend): Give local variable CNTR type 'unsigned int'.
1135         * sysdeps/pthread/lio_listio.c (lio_listio_internal):
1136         Give local variable TOTAL type 'volatile unsigned int'.
1137         (struct async_waitlist): Change type of field counter to 'unsigned int'.
1139 2015-06-24  H.J. Lu  <hongjiu.lu@intel.com>
1141         [BZ #18383]
1142         * csu/libc-tls.c (__libc_setup_tls) [TLS_TCB_AT_TP]: Align
1143         TCB_OFFSET to MAX_ALIGN, not just TCBALIGN.  Add comment.
1144         * elf/Makefile (test-xfail-tst-tlsalign{,-static}): Remove
1145         comment for i386/x86-64.
1146         (test-xfail-tst-tlsalign-extern-static): Removed.
1148 2015-06-24  Joseph Myers  <joseph@codesourcery.com>
1150         * math/test-double.h: New file.
1151         * math/test-float.h: Likewise.
1152         * math/test-ldouble.h: Likewise.
1153         * math/test-math-inline.h: Likewise.
1154         * math/test-math-no-inline.h: Likewise.
1155         * math/test-math-scalar.h: Likewise.
1156         * math/test-math-vector.h: Likewise.
1157         * math/test-vec-loop.h: Remove file.  Contents moved into
1158         test-math-vector.h.
1159         * math/libm-test.inc (MATHCONST): Do not document macro.
1160         * math/test-double.c: Include test-double.h, test-math-no-inline.h
1161         and test-math-scalar.h.
1162         (FUNC): Remove macro.
1163         (FUNC_TEST): Likewise.
1164         (FLOAT): Likewise.
1165         (MATHCONST): Likewise.
1166         (PRINTF_EXPR): Likewise.
1167         (PRINTF_XEXPR): Likewise.
1168         (PRINTF_NEXPR): Likewise.
1169         (TEST_DOUBLE): Likewise.
1170         (TEST_MATHVEC): Likewise.
1171         (__NO_MATH_INLINES): Likewise.
1172         * math/test-float.c: Include test-float.h, test-math-no-inline.h
1173         and test-math-scalar.h.
1174         (FUNC): Remove macro.
1175         (FUNC_TEST): Likewise.
1176         (FLOAT): Likewise.
1177         (MATHCONST): Likewise.
1178         (PRINTF_EXPR): Likewise.
1179         (PRINTF_XEXPR): Likewise.
1180         (PRINTF_NEXPR): Likewise.
1181         (TEST_FLOAT): Likewise.
1182         (TEST_MATHVEC): Likewise.
1183         (__NO_MATH_INLINES): Likewise.
1184         * math/test-idouble.c: Include test-double.h, test-math-inline.h
1185         and test-math-scalar.h.
1186         (FUNC): Remove macro.
1187         (FUNC_TEST): Likewise.
1188         (FLOAT): Likewise.
1189         (MATHCONST): Likewise.
1190         (PRINTF_EXPR): Likewise.
1191         (PRINTF_XEXPR): Likewise.
1192         (PRINTF_NEXPR): Likewise.
1193         (TEST_DOUBLE): Likewise.
1194         (TEST_MATHVEC): Likewise.
1195         (TEST_INLINE): Likewise.
1196         (__NO_MATH_INLINES): Likewise.
1197         * math/test-ifloat.c: Include test-float.h, test-math-inline.h and
1198         test-math-scalar.h.
1199         (FUNC): Remove macro.
1200         (FUNC_TEST): Likewise.
1201         (FLOAT): Likewise.
1202         (MATHCONST): Likewise.
1203         (PRINTF_EXPR): Likewise.
1204         (PRINTF_XEXPR): Likewise.
1205         (PRINTF_NEXPR): Likewise.
1206         (TEST_FLOAT): Likewise.
1207         (TEST_MATHVEC): Likewise.
1208         (TEST_INLINE): Likewise.
1209         (__NO_MATH_INLINES): Likewise.
1210         * math/test-ildoubl.c: Include test-ldouble.h, test-math-inline.h
1211         and test-math-scalar.h.
1212         (FUNC): Remove macro.
1213         (FUNC_TEST): Likewise.
1214         (FLOAT): Likewise.
1215         (MATHCONST): Likewise.
1216         (PRINTF_EXPR): Likewise.
1217         (PRINTF_XEXPR): Likewise.
1218         (PRINTF_NEXPR): Likewise.
1219         (TEST_LDOUBLE): Likewise.
1220         (TEST_MATHVEC): Likewise.
1221         (TEST_INLINE): Likewise.
1222         (__NO_MATH_INLINES): Likewise.
1223         * math/test-ldouble.c: Include test-ldouble.h,
1224         test-math-no-inline.h and test-math-scalar.h.
1225         (FUNC): Remove macro.
1226         (FUNC_TEST): Likewise.
1227         (FLOAT): Likewise.
1228         (MATHCONST): Likewise.
1229         (PRINTF_EXPR): Likewise.
1230         (PRINTF_XEXPR): Likewise.
1231         (PRINTF_NEXPR): Likewise.
1232         (TEST_LDOUBLE): Likewise.
1233         (TEST_MATHVEC): Likewise.
1234         (__NO_MATH_INLINES): Likewise.
1235         * math/test-double-vlen2.h: Include test-double.h,
1236         test-math-no-inline.h and test-math-vector.h.
1237         (FLOAT): Remove macro.
1238         (FUNC): Likewise.
1239         (MATHCONST): Likewise.
1240         (PRINTF_EXPR): Likewise.
1241         (PRINTF_XEXPR): Likewise.
1242         (PRINTF_NEXPR): Likewise.
1243         (TEST_DOUBLE): Likewise.
1244         (TEST_MATHVEC): Likewise.
1245         (__NO_MATH_INLINES): Likewise.
1246         (CNCT): Likewise.
1247         (CONCAT): Likewise.
1248         (WRAPPER_NAME): Likewise.
1249         (WRAPPER_DECL): Likewise.
1250         (WRAPPER_DECL_ff): Likewise.
1251         (WRAPPER_DECL_fFF): Likewise.
1252         (VECTOR_WRAPPER): Likewise.
1253         (VECTOR_WRAPPER_ff): Likewise.
1254         (VECTOR_WRAPPER_fFF): Likewise.
1255         (VEC_LEN): New macro.
1256         * math/test-double-vlen4.h: Include test-double.h,
1257         test-math-no-inline.h and test-math-vector.h.
1258         (FLOAT): Remove macro.
1259         (FUNC): Likewise.
1260         (MATHCONST): Likewise.
1261         (PRINTF_EXPR): Likewise.
1262         (PRINTF_XEXPR): Likewise.
1263         (PRINTF_NEXPR): Likewise.
1264         (TEST_DOUBLE): Likewise.
1265         (TEST_MATHVEC): Likewise.
1266         (__NO_MATH_INLINES): Likewise.
1267         (CNCT): Likewise.
1268         (CONCAT): Likewise.
1269         (WRAPPER_NAME): Likewise.
1270         (WRAPPER_DECL): Likewise.
1271         (WRAPPER_DECL_ff): Likewise.
1272         (WRAPPER_DECL_fFF): Likewise.
1273         (VECTOR_WRAPPER): Likewise.
1274         (VECTOR_WRAPPER_ff): Likewise.
1275         (VECTOR_WRAPPER_fFF): Likewise.
1276         (VEC_LEN): New macro.
1277         * math/test-double-vlen8.h: Include test-double.h,
1278         test-math-no-inline.h and test-math-vector.h.
1279         (FLOAT): Remove macro.
1280         (FUNC): Likewise.
1281         (MATHCONST): Likewise.
1282         (PRINTF_EXPR): Likewise.
1283         (PRINTF_XEXPR): Likewise.
1284         (PRINTF_NEXPR): Likewise.
1285         (TEST_DOUBLE): Likewise.
1286         (TEST_MATHVEC): Likewise.
1287         (__NO_MATH_INLINES): Likewise.
1288         (CNCT): Likewise.
1289         (CONCAT): Likewise.
1290         (WRAPPER_NAME): Likewise.
1291         (WRAPPER_DECL): Likewise.
1292         (WRAPPER_DECL_ff): Likewise.
1293         (WRAPPER_DECL_fFF): Likewise.
1294         (VECTOR_WRAPPER): Likewise.
1295         (VECTOR_WRAPPER_ff): Likewise.
1296         (VECTOR_WRAPPER_fFF): Likewise.
1297         (VEC_LEN): New macro.
1298         * math/test-float-vlen4.h: Include test-float.h,
1299         test-math-no-inline.h and test-math-vector.h.
1300         (FLOAT): Remove macro.
1301         (FUNC): Likewise.
1302         (MATHCONST): Likewise.
1303         (PRINTF_EXPR): Likewise.
1304         (PRINTF_XEXPR): Likewise.
1305         (PRINTF_NEXPR): Likewise.
1306         (TEST_FLOAT): Likewise.
1307         (TEST_MATHVEC): Likewise.
1308         (__NO_MATH_INLINES): Likewise.
1309         (CNCT): Likewise.
1310         (CONCAT): Likewise.
1311         (WRAPPER_NAME): Likewise.
1312         (WRAPPER_DECL): Likewise.
1313         (WRAPPER_DECL_ff): Likewise.
1314         (WRAPPER_DECL_fFF): Likewise.
1315         (VECTOR_WRAPPER): Likewise.
1316         (VECTOR_WRAPPER_ff): Likewise.
1317         (VECTOR_WRAPPER_fFF): Likewise.
1318         (VEC_LEN): New macro.
1319         * math/test-float-vlen8.h: Include test-float.h,
1320         test-math-no-inline.h and test-math-vector.h.
1321         (FLOAT): Remove macro.
1322         (FUNC): Likewise.
1323         (MATHCONST): Likewise.
1324         (PRINTF_EXPR): Likewise.
1325         (PRINTF_XEXPR): Likewise.
1326         (PRINTF_NEXPR): Likewise.
1327         (TEST_FLOAT): Likewise.
1328         (TEST_MATHVEC): Likewise.
1329         (__NO_MATH_INLINES): Likewise.
1330         (CNCT): Likewise.
1331         (CONCAT): Likewise.
1332         (WRAPPER_NAME): Likewise.
1333         (WRAPPER_DECL): Likewise.
1334         (WRAPPER_DECL_ff): Likewise.
1335         (WRAPPER_DECL_fFF): Likewise.
1336         (VECTOR_WRAPPER): Likewise.
1337         (VECTOR_WRAPPER_ff): Likewise.
1338         (VECTOR_WRAPPER_fFF): Likewise.
1339         (VEC_LEN): New macro.
1340         * math/test-float-vlen16.h: Include test-float.h,
1341         test-math-no-inline.h and test-math-vector.h.
1342         (FLOAT): Remove macro.
1343         (FUNC): Likewise.
1344         (MATHCONST): Likewise.
1345         (PRINTF_EXPR): Likewise.
1346         (PRINTF_XEXPR): Likewise.
1347         (PRINTF_NEXPR): Likewise.
1348         (TEST_FLOAT): Likewise.
1349         (TEST_MATHVEC): Likewise.
1350         (__NO_MATH_INLINES): Likewise.
1351         (CNCT): Likewise.
1352         (CONCAT): Likewise.
1353         (WRAPPER_NAME): Likewise.
1354         (WRAPPER_DECL): Likewise.
1355         (WRAPPER_DECL_ff): Likewise.
1356         (WRAPPER_DECL_fFF): Likewise.
1357         (VECTOR_WRAPPER): Likewise.
1358         (VECTOR_WRAPPER_ff): Likewise.
1359         (VECTOR_WRAPPER_fFF): Likewise.
1360         (VEC_LEN): New macro.
1361         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Do not include
1362         test-vec-loop.h.
1363         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
1364         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
1365         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
1366         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
1367         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
1368         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
1369         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Likewise.
1371 2015-06-24  Roland McGrath  <roland@hack.frob.com>
1373         * sysdeps/nacl/glob.c (getlogin_r): Macro renamed to ...
1374         (__getlogin_r): ... this.
1376 2015-06-24  Joseph Myers  <joseph@codesourcery.com>
1378         [BZ #18594]
1379         * math/s_ccosh.c (__ccosh): Compare with least normal value
1380         instead of comparing class with FP_SUBNORMAL.
1381         * math/s_ccoshf.c (__ccoshf): Likewise.
1382         * math/s_ccoshl.c (__ccoshl): Likewise.
1383         * math/s_cexp.c (__cexp): Likewise.
1384         * math/s_cexpf.c (__cexpf): Likewise.
1385         * math/s_cexpl.c (__cexpl): Likewise.
1386         * math/s_csin.c (__csin): Likewise.
1387         * math/s_csinf.c (__csinf): Likewise.
1388         * math/s_csinh.c (__csinh): Likewise.
1389         * math/s_csinhf.c (__csinhf): Likewise.
1390         * math/s_csinhl.c (__csinhl): Likewise.
1391         * math/s_csinl.c (__csinl): Likewise.
1392         * math/s_ctan.c (__ctan): Likewise.
1393         * math/s_ctanf.c (__ctanf): Likewise.
1394         * math/s_ctanh.c (__ctanh): Likewise.
1395         * math/s_ctanhf.c (__ctanhf): Likewise.
1396         * math/s_ctanhl.c (__ctanhl): Likewise.
1397         * math/s_ctanl.c (__ctanl): Likewise.
1398         * math/auto-libm-test-in: Add more tests of ccos, ccosh, cexp,
1399         csin, csinh, ctan and ctanh.
1400         * math/auto-libm-test-out: Regenerated.
1401         * math/libm-test.inc (cexp_test): Use ALL_RM_TEST.
1402         * sysdeps/i386/fpu/libm-test-ulps: Update.
1403         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1405 2015-06-24  Roland McGrath  <roland@hack.frob.com>
1407         * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): When sched_getcpu
1408         return value is wrong, print the expected value too.
1410 2015-06-24  H.J. Lu  <hongjiu.lu@intel.com>
1412         [BZ #18585]
1413         * elf/readlib.c (is_gdb_python_file): New.
1414         (process_file): Don't issue errors on filenames with -gdb.py
1415         suffix.
1417 2015-06-24  Joseph Myers  <joseph@codesourcery.com>
1419         * math/auto-libm-test-in: Add more tests of csin and csinh.
1420         * math/auto-libm-test-out: Regenerated.
1421         * math/libm-test.inc (csin_test_data): Remove tests moved to
1422         auto-libm-test-in.
1423         (csinh_test_data): Likewise.
1425         [BZ #18593]
1426         * math/s_csin.c (__csin): Negate before rather than after possibly
1427         overflowing multiplication.
1428         * math/s_csinf.c (__csinf): Likewise.
1429         * math/s_csinh.c (__csinh): Likewise.
1430         * math/s_csinhf.c (__csinhf): Likewise.
1431         * math/s_csinhl.c (__csinhl): Likewise.
1432         * math/s_csinl.c (__csinl): Likewise.
1433         * math/auto-libm-test-in: Add some tests of csin and csinh.
1434         * math/auto-libm-test-out: Regenerated.
1435         * math/libm-test.inc (csin_test_data): Use AUTO_TESTS_c_c.
1436         (csinh_test_data): Likewise.
1437         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
1439         [BZ #18586]
1440         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Force
1441         underflow exception for small results.
1443 2015-06-24  Andrew Senkevich  <andrew.senkevich@intel.com>
1445         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Fixed files list.
1446         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S: Renamed
1447         variable and included header.
1448         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S: Likewise.
1449         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S: Likewise.
1450         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S: Likewise.
1451         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S: Likewise.
1452         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S: Likewise.
1453         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S: Likewise.
1454         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S: Likewise.
1455         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S: Likewise.
1456         * sysdeps/x86_64/fpu/svml_s_trig_data.S: New file.
1457         * sysdeps/x86_64/fpu/svml_s_trig_data.h: Likewise.
1458         * sysdeps/x86_64/fpu/svml_s_cosf_data.S: Removed file.
1459         * sysdeps/x86_64/fpu/svml_s_cosf_data.h: Likewise.
1460         * sysdeps/x86_64/fpu/svml_s_sinf_data.S: Likewise.
1461         * sysdeps/x86_64/fpu/svml_s_sinf_data.h: Likewise.
1462         * sysdeps/x86_64/fpu/svml_s_sincosf_data.S: Likewise.
1463         * sysdeps/x86_64/fpu/svml_s_sincosf_data.h: Likewise.
1465 2015-06-23  Joseph Myers  <joseph@codesourcery.com>
1467         [BZ #16526]
1468         [BZ #16538]
1469         * sysdeps/ieee754/dbl-64/s_sin.c: Include <float.h>.
1470         (__sin): Force underflow exception for arguments with small
1471         absolute value.
1472         * sysdeps/ieee754/flt-32/k_sinf.c: Include <float.h>.
1473         (__kernel_sinf): Force underflow exception for arguments with
1474         small absolute value.
1475         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Include <float.h>.
1476         (__kernel_sincosl): Force underflow exception for arguments with
1477         small absolute value.
1478         * sysdeps/ieee754/ldbl-128/k_sinl.c: Include <float.h>.
1479         (__kernel_sinl): Force underflow exception for arguments with
1480         small absolute value.
1481         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Include <float.h>.
1482         (__kernel_sincosl): Force underflow exception for arguments with
1483         small absolute value.
1484         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Include <float.h>.
1485         (__kernel_sinl): Force underflow exception for arguments with
1486         small absolute value.
1487         * sysdeps/ieee754/ldbl-96/k_sinl.c: Include <float.h>.
1488         (__kernel_sinl): Force underflow exception for arguments with
1489         small absolute value.
1490         * sysdeps/powerpc/fpu/k_sinf.c: Include <float.h>.
1491         (__kernel_sinf): Force underflow exception for arguments with
1492         small absolute value.
1493         * math/auto-libm-test-in: Add more tests of sin and sincos.
1494         * math/auto-libm-test-out: Regenerated.
1496         [BZ #18245]
1497         [BZ #18583]
1498         * sysdeps/ieee754/k_standardl.c: Include <fenv.h>.
1499         (__kernel_standard_l): Use feholdexcept and fesetenv around
1500         conversion to double instead of special-casing overflow and
1501         underflow.
1502         * math/libm-test.inc (fmod_test_data): Add more tests.
1503         (remainder_test_data): Likewise.
1504         (sqrt_test_data): Likewise.
1506 2015-06-23  Torvald Riegel  <triegel@redhat.com>
1508         [BZ #17403]
1509         * sysdeps/x86_64/bits/atomic.h: (atomic_full_barrier,
1510         atomic_read_barrier, atomic_write_barrier): Define.
1511         * sysdeps/i386/i486/bits/atomic.h (atomic_full_barrier,
1512         atomic_read_barrier, atomic_write_barrier): Define.
1514 2015-06-23  Joseph Myers  <joseph@codesourcery.com>
1516         * math/Makefile [$(PERL) != no]
1517         ($(addprefix $(objpfx), $(addsuffix .o, $(libm-vec-tests)))): Move
1518         dependency on libm-test.stmp below the inclusion of Rules.
1520 2015-06-23  Andrew Senkevich  <andrew.senkevich@intel.com>
1522         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Fixed files list.
1523         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S: Renamed variable
1524         and included header.
1525         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S: Likewise.
1526         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S: Likewise.
1527         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S: Likewise.
1528         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S: Likewise.
1529         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S: Likewise.
1530         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S: Likewise.
1531         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S: Likewise.
1532         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S: Likewise.
1533         * sysdeps/x86_64/fpu/svml_d_trig_data.S: New file.
1534         * sysdeps/x86_64/fpu/svml_d_trig_data.h: Likewise.
1535         * sysdeps/x86_64/fpu/svml_d_cos2_core.S: Removed unneeded include.
1536         * sysdeps/x86_64/fpu/svml_d_cos4_core.S: Likewise.
1537         * sysdeps/x86_64/fpu/svml_d_cos8_core.S: Likewise.
1538         * sysdeps/x86_64/fpu/svml_d_cos_data.S: Removed file.
1539         * sysdeps/x86_64/fpu/svml_d_cos_data.h: Likewise.
1540         * sysdeps/x86_64/fpu/svml_d_sin_data.S: Likewise.
1541         * sysdeps/x86_64/fpu/svml_d_sin_data.h: Likewise.
1542         * sysdeps/x86_64/fpu/svml_d_sincos_data.S: Likewise.
1543         * sysdeps/x86_64/fpu/svml_d_sincos_data.h: Likewise.
1545 2015-06-23  Joseph Myers  <joseph@codesourcery.com>
1547         [BZ #18371]
1548         * math/s_csqrt.c (__csqrt): Avoid multiplication by 0.5 where
1549         intermediate but not final result might underflow.
1550         * math/s_csqrtf.c (__csqrtf): Likewise.
1551         * math/s_csqrtl.c (__csqrtl): Likewise.
1552         * math/auto-libm-test-in: Add more tests of csqrt.
1553         * math/auto-libm-test-out: Regenerated.
1554         * sysdeps/i386/fpu/libm-test-ulps: Update.
1556         [BZ #18219]
1557         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Reduce
1558         threshold on absolute value of exponent for which scaling is used.
1559         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
1560         * math/auto-libm-test-in: Add more tests of exp2.
1561         * math/auto-libm-test-out: Regenerated.
1563 2015-06-23  Dmitry V. Levin  <ldv@altlinux.org>
1565         [BZ #17977]
1566         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix unlocking
1567         when initializing interface list, based on the bug analysis
1568         and the patch proposed by Eric Newton.
1569         * resolv/tst-res_hconf_reorder.c: New test.
1570         * resolv/Makefile [$(have-thread-library) = yes] (tests): Add
1571         tst-res_hconf_reorder.
1572         ($(objpfx)tst-res_hconf_reorder): Depend on $(libdl)
1573         and $(shared-thread-library).
1574         (tst-res_hconf_reorder-ENV): New variable.
1576         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix typo
1577         in comment.
1579 2015-06-22  Joseph Myers  <joseph@codesourcery.com>
1581         [BZ #16353]
1582         * sysdeps/i386/fpu/s_expm1.S (dbl_min): New object.
1583         (__expm1): Force underflow exception for arguments with small
1584         absolute value.
1585         * sysdeps/i386/fpu/s_expm1f.S (flt_min): New object.
1586         (__expm1f): Force underflow exception for arguments with small
1587         absolute value.
1588         * sysdeps/ieee754/dbl-64/s_expm1.c: Include <float.h>.
1589         (__expm1): Force underflow exception for arguments with small
1590         absolute value.
1591         * sysdeps/ieee754/flt-32/s_expm1f.c: Include <float.h>.
1592         (__expm1f): Force underflow exception for arguments with small
1593         absolute value.
1594         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
1595         Check for small arguments before calling __expm1.
1596         * math/auto-libm-test-in: Do not mark underflow exceptions as
1597         possibly missing for bug 16353.
1598         * math/auto-libm-test-out: Regenerated.
1600 2015-06-22  Andreas Schwab  <schwab@suse.de>
1602         [BZ #18513]
1603         * resolv/nss_dns/dns-host.c (getanswer_r): Record TTL also for
1604         PTR queries.
1606 2015-06-22  Leonhard Holz  <leonhard.holz@web.de>
1608         * string/strcoll_l.c (STRCOLL): Remove unnecessary memset.
1610         * string/strcoll_l.c: Remove unused struct element idxnow.
1612 2015-06-21  Joseph Myers  <joseph@codesourcery.com>
1614         [BZ #18569]
1615         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Force
1616         underflow and return argument in case of subnormal argument.
1617         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
1618         Likewise.
1619         * math/auto-libm-test-in: Add more tests of expm1.
1620         * math/auto-libm-test-out: Regenerated.
1622         [BZ #16361]
1623         * sysdeps/i386/fpu/e_expl.S [!USE_AS_EXPM1L] (cmin): New object.
1624         (IEEE754_EXPL) [!USE_AS_EXPM1L]: Force underflow exception for
1625         tiny results.
1626         * sysdeps/x86_64/fpu/e_expl.S [!USE_AS_EXPM1L] (cmin): New object.
1627         (IEEE754_EXPL) [!USE_AS_EXPM1L]: Force underflow exception for
1628         tiny results.
1629         * math/auto-libm-test-in: Add more tests of exp and exp10.  Do not
1630         mark underflow exceptions as possibly missing for bug 16361.
1631         * math/auto-libm-test-out: Regenerated.
1633 2015-06-19  Joseph Myers  <joseph@codesourcery.com>
1635         * conform/data/sys/select.h-data [XOPEN2K8] (pselect): Expect.
1636         * conform/Makefile (test-xfail-XOPEN2K8/sys/select.h/conform):
1637         Remove variable.
1638         (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
1639         (test-xfail-XOPEN2K8/utmpx.h/conform).
1641         * conform/conformtest.pl ($xerrors): New variable.
1642         (note_error): New function.
1643         (compiletest): New argument $xfail.  Use not_error.
1644         (runtest): Likewise.
1645         (top level): Handle xfail- lines.  Update calls to compiletest and
1646         runtest.  Handle xfail- and optional- in headers listed with
1647         allow-header.
1648         * conform/data/fcntl.h-data (O_TTY_INIT): Use xfail-.
1649         (O_EXEC): Likewise.
1650         (O_SEARCH): Likewise.
1651         * conform/data/stropts.h-data (ioctl): Likewise.
1652         * conform/data/sys/ipc.h-data (ipc_perm.mode): Likewise.
1653         * conform/data/sys/sem.h-data (semid_ds.sem_nsems): Likewise.
1654         * conform/data/sys/socket.h-data (msghdr.msg_iovlen): Likewise.
1655         (msghdr.msg_controllen): Likewise.
1656         (cmsghdr.cmsg_len): Likewise.
1657         * conform/data/utmpx.h-data (utmpx.ut_tv): Likewise.
1658         * conform/Makefile (test-xfail-XPG3/sys/ipc.h/conform): Remove
1659         variable.
1660         (test-xfail-XPG3/sys/sem.h/conform): Likewise.
1661         (test-xfail-XPG4/stropts.h/conform): Likewise.
1662         (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
1663         (test-xfail-XPG4/sys/sem.h/conform): Likewise.
1664         (test-xfail-XPG4/sys/socket.h/conform): Likewise.
1665         (test-xfail-UNIX98/stropts.h/conform): Likewise.
1666         (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
1667         (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
1668         (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
1669         (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
1670         (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
1671         (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
1672         (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
1673         (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
1674         (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
1675         (test-xfail-POSIX2008/stropts.h/conform): Likewise.
1676         (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
1677         (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
1678         (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
1679         (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
1680         (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
1682 2015-06-19  Andrew Senkevich  <andrew.senkevich@intel.com>
1684         * sysdeps/ieee754/ldbl-opt/s_sin.c (__DECL_SIMD_sincos_disable,
1685         __DECL_SIMD_sincos_disablef, __DECL_SIMD_sincos_disablel): Added empty
1686         definitions for proper unfolding of __MATHDECL_VEC.
1688 2015-06-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
1690         * benchtests/bench-strcoll.c:
1691         Include string.h.
1692         (main): Remove unused variable res.
1694 2015-06-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
1696         * timezone/Makefile (%/UTC %/Universal):
1697         Generate test-result files for UTC and Universal.
1699 2015-06-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
1701         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
1703 2015-06-18  Joseph Myers  <joseph@codesourcery.com>
1705         [BZ #16350]
1706         * sysdeps/i386/fpu/s_asinh.S (__asinh): Force underflow exception
1707         for arguments with small absolute value.
1708         * sysdeps/i386/fpu/s_asinhf.S (__asinhf): Likewise.
1709         * sysdeps/i386/fpu/s_asinhl.S (__asinhl): Likewise.
1710         * sysdeps/ieee754/dbl-64/s_asinh.c: Include <float.h>.
1711         (__asinh): Force underflow exception for arguments with small
1712         absolute value.
1713         * sysdeps/ieee754/flt-32/s_asinhf.c: Include <float.h>.
1714         (__asinhf): Force underflow exception for arguments with small
1715         absolute value.
1716         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Include <float.h>.
1717         (__asinhl): Force underflow exception for arguments with small
1718         absolute value.
1719         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Include <float.h>.
1720         (__asinhl): Force underflow exception for arguments with small
1721         absolute value.
1722         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Include <float.h>.
1723         (__asinhl): Force underflow exception for arguments with small
1724         absolute value.
1725         * math/auto-libm-test-in: Do not mark underflow exceptions as
1726         possibly missing for bug 16350.
1727         * math/auto-libm-test-out: Regenerated.
1729         * include/bits/ipc.h: Remove file.
1730         * conform/Makefile (test-xfail-XPG3/sys/msg.h/conform): Remove
1731         variable.
1732         (test-xfail-XPG3/sys/shm.h/conform): Likewise.
1733         (test-xfail-XPG4/sys/msg.h/conform): Likewise.
1734         (test-xfail-XPG4/sys/shm.h/conform): Likewise.
1735         (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
1736         (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
1737         (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
1738         (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
1739         (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
1740         (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
1742         * math/auto-libm-test-in: Remove spurious underflow allowance for
1743         tests of cexp.
1744         * math/auto-libm-test-out: Regenerated.
1746         [BZ #18558]
1747         * sysdeps/unix/sysv/linux/bits/in.h (MCAST_JOIN_GROUP): Remove
1748         unconditional definition.
1749         (MCAST_BLOCK_SOURCE): Likewise.
1750         (MCAST_UNBLOCK_SOURCE): Likewise.
1751         (MCAST_LEAVE_GROUP): Likewise.
1752         (MCAST_JOIN_SOURCE_GROUP): Likewise.
1753         (MCAST_LEAVE_SOURCE_GROUP): Likewise.
1754         (MCAST_MSFILTER): Likewise.
1755         * conform/Makefile (test-xfail-XOPEN2K/arpa/inet.h/conform):
1756         Remove variable.
1757         (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
1758         (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
1759         (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
1760         (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
1761         (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
1763 2015-06-18  Andrew Senkevich  <andrew.senkevich@intel.com>
1765         * NEWS: Mention addition of x86_64 vector sincosf.
1766         * math/test-float-vlen16.h: Added wrapper for sincosf tests.
1767         * math/test-float-vlen4.h: Likewise.
1768         * math/test-float-vlen8.h: Likewise.
1769         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
1770         * sysdeps/x86/fpu/bits/math-vector.h: Added sincosf SIMD declaration.
1771         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
1772         * sysdeps/x86_64/fpu/Versions: New versions added.
1773         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
1774         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
1775         Added build of SSE, AVX2 and AVX512 IFUNC versions.
1776         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S
1777         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S
1778         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core.S
1779         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S
1780         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core.S
1781         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S
1782         * sysdeps/x86_64/fpu/svml_s_sincosf16_core.S
1783         * sysdeps/x86_64/fpu/svml_s_sincosf4_core.S
1784         * sysdeps/x86_64/fpu/svml_s_sincosf8_core.S
1785         * sysdeps/x86_64/fpu/svml_s_sincosf8_core_avx.S
1786         * sysdeps/x86_64/fpu/svml_s_sincosf_data.S: New file.
1787         * sysdeps/x86_64/fpu/svml_s_sincosf_data.h: New file.
1788         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Added 3 argument wrappers.
1789         * sysdeps/x86_64/fpu/test-float-vlen16.c: : Vector sincosf tests.
1790         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Likewise.
1791         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
1792         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
1793         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
1794         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
1795         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
1796         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
1798         * NEWS: Mention addition of x86_64 vector sincos.
1799         * bits/libm-simd-decl-stubs.h: Added stubs for sincos.
1800         * math/math.h (__MATHDECL_VEC): New macro.
1801         * math/bits/mathcalls.h: Added sincos declaration with __MATHDECL_VEC.
1802         * math/gen-libm-have-vector-test.sh: Added generation of sincos wrapper
1803         declaration under condition.
1804         * math/test-vec-loop.h (TEST_VEC_LOOP): Refactored.
1805         * math/test-double-vlen2.h: Added wrapper for sincos tests, reflected
1806         TEST_VEC_LOOP change.
1807         * math/test-double-vlen4.h: Likewise.
1808         * math/test-double-vlen8.h: Likewise.
1809         * math/test-float-vlen16.h: Reflected TEST_VEC_LOOP change.
1810         * math/test-float-vlen4.h: Likewise.
1811         * math/test-float-vlen8.h: Likewise.
1812         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
1813         * sysdeps/x86/fpu/bits/math-vector.h: Added sincos SIMD declaration.
1814         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
1815         * sysdeps/x86_64/fpu/Versions: New versions added.
1816         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
1817         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
1818         Added build of SSE, AVX2 and AVX512 IFUNC versions.
1819         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.S: New file.
1820         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S: New file.
1821         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.S: New file.
1822         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S: New file.
1823         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: New file.
1824         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S: New file.
1825         * sysdeps/x86_64/fpu/svml_d_sincos2_core.S: New file.
1826         * sysdeps/x86_64/fpu/svml_d_sincos4_core.S: New file.
1827         * sysdeps/x86_64/fpu/svml_d_sincos4_core_avx.S: New file.
1828         * sysdeps/x86_64/fpu/svml_d_sincos8_core.S: New file.
1829         * sysdeps/x86_64/fpu/svml_d_sincos_data.S: New file.
1830         * sysdeps/x86_64/fpu/svml_d_sincos_data.h: New file.
1831         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Added wrappers for sincos.
1832         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Vector sincos tests.
1833         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
1834         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
1835         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
1836         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
1837         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
1838         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
1839         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
1841         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
1842         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
1843         redirections for powf.
1844         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
1845         * sysdeps/x86_64/fpu/Versions: New versions added.
1846         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
1847         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
1848         Added build of SSE, AVX2 and AVX512 IFUNC versions.
1849         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Added 2 argument wrappers.
1850         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: New file.
1851         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S: New file.
1852         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core.S: New file.
1853         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core_sse4.S: New file.
1854         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core.S: New file.
1855         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core_avx2.S: New file.
1856         * sysdeps/x86_64/fpu/svml_s_powf16_core.S: New file.
1857         * sysdeps/x86_64/fpu/svml_s_powf4_core.S: New file.
1858         * sysdeps/x86_64/fpu/svml_s_powf8_core.S: New file.
1859         * sysdeps/x86_64/fpu/svml_s_powf8_core_avx.S: New file.
1860         * sysdeps/x86_64/fpu/svml_s_powf_data.S: New file.
1861         * sysdeps/x86_64/fpu/svml_s_powf_data.h: New file.
1862         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector powf tests.
1863         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
1864         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
1865         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
1866         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
1867         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
1868         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
1869         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
1870         * math/test-float-vlen16.h: Fixed 2 argument macro.
1871         * math/test-float-vlen4.h: Likewise.
1872         * math/test-float-vlen8.h: Likewise.
1873         * NEWS: Mention addition of x86_64 vector powf.
1875 2015-06-17  Joseph Myers  <joseph@codesourcery.com>
1877         * math/s_ctanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
1878         and redefine.
1879         * math/s_ctanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
1880         and redefine.
1881         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c: Remove file.
1882         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
1883         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
1885         [BZ #18553]
1886         * resource/getpriority.c (getpriority): Rename to __getpriority
1887         and define as weak alias of __getpriority.
1888         * resource/setpriority.c (setpriority): Rename to __setpriority
1889         and define as weak alias of __setpriority.
1890         * sysdeps/mach/hurd/getpriority.c (getpriority): Rename to
1891         __getpriority and define as weak alias of __getpriority.
1892         * sysdeps/mach/hurd/setpriority.c (setpriority): Rename to
1893         __setpriority and define as weak alias of __setpriority.
1894         * sysdeps/unix/syscalls.list (getpriority): Use __getpriority as
1895         strong name.
1896         (setpriority): Use __setpriority as strong name.
1897         * sysdeps/unix/sysv/linux/getpriority.c (getpriority): Rename to
1898         __getpriority and define as weak alias of __getpriority.
1899         * include/sys/resource.h (__getpriority): Declare.  Use
1900         libc_hidden_proto.
1901         (__setpriority): Likewise.
1902         (getpriority): Don't use libc_hidden_proto.
1903         (setpriority): Likewise.
1904         * sysdeps/posix/nice.c (nice): Call __getpriority instead of
1905         getpriority.  Call __setpriority instead of setpriority.
1906         * conform/Makefile (test-xfail-XPG3/unistd.h/linknamespace):
1907         Remove variable.
1909         [BZ #18547]
1910         * misc/getttyent.c (getttynam): Rename to __getttynam and define
1911         as weak alias of __getttynam.  Use prototype function definition.
1912         Call __setttyent, __getttyent and __endttyent instead of
1913         setttyent, getttyent and endttyent.
1914         (getttyent): Rename to __getttyent and define as weak alias of
1915         __getttyent.  Call __setttyent instead of setttyent.  Call
1916         __fgets_unlocked instead of fgets_unlocked.
1917         (setttyent): Rename to __setttyent and define as weak alias of
1918         __setttyent.
1919         (endttyent): Rename to __endttyent and define as weak alias of
1920         __endttyent.
1921         * include/ttyent.h (__getttyent): Declare.  Use libc_hidden_proto.
1922         (__setttyent): Likewise.
1923         (__endttyent): Likewise.
1924         (getttyent): Don't use libc_hidden_proto.
1925         (setttyent): Likewise.
1926         (endttyent): Likewise.
1927         * misc/ttyslot.c (ttyslot): Call __setttyent, __getttyent and
1928         __endttyent instead of setttyent, getttyent and endttyent.
1929         * conform/Makefile (test-xfail-XPG4/unistd.h/linknamespace):
1930         Remove variable.
1932         [BZ #18546]
1933         * socket/recv.c (__recv): Use libc_hidden_def.
1934         * socket/socket.c (__socket): Likewise.
1935         * sysdeps/mach/hurd/recv.c (__recv): Likewise.
1936         * sysdeps/mach/hurd/socket.c (__socket): Likewise.
1937         * sysdeps/unix/sysv/linux/generic/recv.c (__recv): Likewise.
1938         * sysdeps/unix/sysv/linux/recv.c (__recv): Use libc_hidden_weak.
1939         * sysdeps/unix/sysv/linux/socket.c (__socket): Use
1940         libc_hidden_def.
1941         * sysdeps/unix/sysv/linux/x86_64/recv.c (__recv): Use
1942         libc_hidden_weak.
1943         * include/sys/socket.h (__socket): Do not use attribute_hidden.
1944         Use libc_hidden_proto.
1945         (__recv): Likewise.
1946         * socket/Versions (libc): Export __recv and __socket at version
1947         GLIBC_PRIVATE.
1948         * sysdeps/unix/sysv/linux/mq_notify.c (helper_thread): Call __recv
1949         instead of recv.
1950         (init_mq_netlink): Call __socket instead of socket.
1951         * conform/Makefile (test-xfail-POSIX/mqueue.h/linknamespace):
1952         Remove variable.
1954         [BZ #18545]
1955         * rt/mq_timedreceive.c (mq_timedreceive): Rename to
1956         __mq_timedreceive and define as alias of __mq_timedreceive.  Use
1957         hidden_weak.
1958         * rt/mq_timedsend.c (mq_timedsend): Rename to __mq_timedsend and
1959         define as alias of __mq_timedsend.  Use hidden_weak.
1960         * sysdeps/unix/sysv/linux/syscalls.list (mq_timedsend): Use
1961         __mq_timedsend as strong name.
1962         (mq_timedreceive): Use __mq_timedreceive as strong name.
1963         * include/mqueue.h (__mq_timedsend): Declare.  Use hidden_proto.
1964         (__mq_timedreceive): Likewise.
1965         * sysdeps/unix/sysv/linux/mq_receive.c (mq_receive): Call
1966         __mq_timedreceive instead of mq_timedreceive.
1967         * sysdeps/unix/sysv/linux/mq_send.c (mq_send): Call __mq_timedsend
1968         instead of mq_timedsend.
1969         * conform/Makefile (test-xfail-UNIX98/mqueue.h/linknamespace):
1970         Remove variable.
1972         * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Use
1973         hidden_def and hidden_weak instead of libc_hidden_def and
1974         libc_hidden_weak.
1975         (top level): Refer to hidden_def in comment.
1976         * sysdeps/unix/syscall-template.S (syscall_hidden_def): New
1977         macro.  Use it instead of libc_hidden_def.
1978         * sysdeps/unix/sysv/linux/syscalls.list (mq_timedsend): Do not
1979         specify __GI_* name explicitly.
1980         (mq_timedreceive): Likewise.
1981         (mq_setattr): Likewise.
1983         [BZ #18544]
1984         * nptl/pthread_barrier_init.c (pthread_barrier_init): Rename to
1985         __pthread_barrier_init and define as weak alias of
1986         __pthread_barrier_init.
1987         * sysdeps/sparc/nptl/pthread_barrier_init.c
1988         (pthread_barrier_init): Likewise.
1989         * nptl/pthread_barrier_wait.c (pthread_barrier_wait): Rename to
1990         __pthread_barrier_wait and define as weak alias of
1991         __pthread_barrier_wait.
1992         * sysdeps/sparc/nptl/pthread_barrier_wait.c
1993         (pthread_barrier_wait): Likewise.
1994         * sysdeps/sparc/sparc32/pthread_barrier_wait.c
1995         (pthread_barrier_wait): Likewise.
1996         * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S
1997         (pthread_barrier_wait): Likewise.
1998         * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S
1999         (pthread_barrier_wait): Likewise.
2000         * nptl/Versions (libpthread): Export __pthread_barrier_init and
2001         __pthread_barrier_wait at version GLIBC_PRIVATE.
2002         * include/pthread.h (__pthread_barrier_init): Declare.
2003         (__pthread_barrier_wait): Likewise.
2004         * sysdeps/unix/sysv/linux/mq_notify.c (notification_function):
2005         Call __pthread_barrier_wait instead of pthread_barrier_wait.
2006         (helper_thread): Likewise.
2007         (init_mq_netlink): Call __pthread_barrier_init instead of
2008         pthread_barrier_init.
2010         [BZ #18542]
2011         * libio/iovswscanf.c (__vswscanf): Use libc_hidden_def.
2012         (vswscanf): Use ldbl_weak_alias instead of ldbl_strong_alias
2013         * include/wchar.h (__vswscanf): Declare.  Use libc_hidden_proto.
2014         * libio/swscanf.c (__swscanf): Call __vswscanf instead of
2015         vswscanf.
2016         * conform/Makefile (test-xfail-UNIX98/wchar.h/linknamespace):
2017         Remove variable.
2019         [BZ #18540]
2020         * libio/iofflush.c [!_IO_MTSAFE_IO] (__fflush_unlocked): Define as
2021         strong alias of _IO_fflush.  Use libc_hidden_def.
2022         * libio/iofflush_u.c (fflush_unlocked): Rename to
2023         __fflush_unlocked and define as weak alias of __fflush_unlocked.
2024         Use libc_hidden_weak.
2025         * include/stdio.h (__fflush_unlocked): Declare.  Use
2026         libc_hidden_proto.
2027         * misc/getpass.c (getpass): Call __fflush_unlocked instead of
2028         fflush_unlocked.
2029         * conform/Makefile (test-xfail-UNIX98/unistd.h/linknamespace):
2030         Remove variable.
2032         [BZ #18539]
2033         * stdlib/fmtmsg.c (addseverity): Rename to __addseverity and
2034         define as weak alias of __addseverity.
2035         * conform/Makefile (test-xfail-XPG4/fmtmsg.h/linknamespace):
2036         Remove variable.
2037         (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
2038         (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
2039         (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
2041         [BZ #18536]
2042         * misc/tsearch.c (__tsearch): Use libc_hidden_def.
2043         (__tfind): Likewise.
2044         (__tdelete): Likewise.
2045         (__twalk): Likewise.
2046         * misc/Versions (libc): Add __tdelete, __tfind, __tsearch and
2047         __twalk to GLIBC_PRIVATE.
2048         * include/search.h (__tsearch): Use libc_hidden_proto.
2049         (__tfind): Likewise.
2050         (__tdelete): Likewise.
2051         (__twalk): Likewise.
2052         * nptl/sem_close.c (sem_close): Call __twalk instead of twalk.
2053         Call __tdelete instead of tdelete.
2054         * nptl/sem_open.c (check_add_mapping): Call __tfind instead of
2055         tfind.  Call __tsearch instead of tsearch.
2056         * sysdeps/sparc/sparc32/sem_open.c (check_add_mapping): Likewise.
2057         * conform/Makefile (test-xfail-POSIX/semaphore.h/linknamespace):
2058         Remove variable.
2059         (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
2061         [BZ #18534]
2062         * stdio-common/dprintf.c (__dprintf): Use libc_hidden_def.
2063         (dprintf): Define as a weak alias of __dprintf, not a strong
2064         alias.
2065         * include/stdio.h (__dprintf): Declare.  Use libc_hidden_proto.
2066         * misc/syslog.c (__vsyslog_chk): Call __dprintf instead of
2067         dprintf.
2068         * conform/Makefile (test-xfail-XPG4/syslog.h/linknamespace):
2069         Remove variable.
2070         (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
2071         (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
2073         [BZ #18533]
2074         * misc/syslog.c (vsyslog): Define as a weak alias of __vsyslog,
2075         not a strong alias.
2076         * conform/Makefile (test-xfail-XOPEN2K8/syslog.h/linknamespace):
2077         Remove variable.
2079         [BZ #18532]
2080         * inet/in6_addr.c (in6addr_any): Rename to __in6addr_any and
2081         define as weak alias of __in6addr_any.  Use libc_hidden_data_weak.
2082         (in6addr_loopback): Rename to __in6addr_loopback and define as
2083         weak alias of __in6addr_loopback.  Use libc_hidden_data_weak.
2084         * include/netinet/in.h (__in6addr_loopback): Declare.  Use
2085         libc_hidden_proto.
2086         (__in6addr_any): Likewise.
2087         * inet/gethstbyad_r.c (PREPROCESS): Use __in6addr_any instead of
2088         in6addr_any.
2089         * conform/Makefile (test-xfail-XPG4/netdb.h/linknamespace): Remove
2090         variable.
2091         (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
2093 2015-06-17  Andrew Senkevich  <andrew.senkevich@intel.com>
2095         * bits/libm-simd-decl-stubs.h: Added stubs for pow.
2096         * math/bits/mathcalls.h: Added pow declaration with __MATHCALL_VEC.
2097         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
2098         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
2099         redirections for pow.
2100         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
2101         * sysdeps/x86_64/fpu/Versions: New versions added.
2102         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
2103         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
2104         build of SSE, AVX2 and AVX512 IFUNC versions.
2105         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Added 2 argument wrappers.
2106         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.S: New file.
2107         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core_sse4.S: New file.
2108         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.S: New file.
2109         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core_avx2.S: New file.
2110         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: New file.
2111         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S: New file.
2112         * sysdeps/x86_64/fpu/svml_d_pow2_core.S: New file.
2113         * sysdeps/x86_64/fpu/svml_d_pow4_core.S: New file.
2114         * sysdeps/x86_64/fpu/svml_d_pow4_core_avx.S: New file.
2115         * sysdeps/x86_64/fpu/svml_d_pow8_core.S: New file.
2116         * sysdeps/x86_64/fpu/svml_d_pow_data.S: New file.
2117         * sysdeps/x86_64/fpu/svml_d_pow_data.h: New file.
2118         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector pow test.
2119         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
2120         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
2121         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
2122         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
2123         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
2124         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
2125         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
2126         * NEWS: Mention addition of x86_64 vector pow.
2128         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
2129         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
2130         redirections for expf.
2131         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
2132         * sysdeps/x86_64/fpu/Versions: New versions added.
2133         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
2134         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
2135         build of SSE, AVX2 and AVX512 IFUNC versions.
2136         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: New file.
2137         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S: New file.
2138         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core.S: New file.
2139         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core_sse4.S: New file.
2140         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core.S: New file.
2141         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core_avx2.S: New file.
2142         * sysdeps/x86_64/fpu/svml_s_expf16_core.S: New file.
2143         * sysdeps/x86_64/fpu/svml_s_expf4_core.S: New file.
2144         * sysdeps/x86_64/fpu/svml_s_expf8_core.S: New file.
2145         * sysdeps/x86_64/fpu/svml_s_expf8_core_avx.S: New file.
2146         * sysdeps/x86_64/fpu/svml_s_expf_data.S: New file.
2147         * sysdeps/x86_64/fpu/svml_s_expf_data.h: New file.
2148         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector expf tests.
2149         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
2150         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
2151         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
2152         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
2153         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
2154         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
2155         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
2156         * NEWS: Mention addition of x86_64 vector expf.
2158         * bits/libm-simd-decl-stubs.h: Added stubs for exp.
2159         * math/bits/mathcalls.h: Added exp declaration with __MATHCALL_VEC.
2160         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
2161         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
2162         redirections for exp.
2163         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
2164         * sysdeps/x86_64/fpu/Versions: New versions added.
2165         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
2166         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
2167         build of SSE, AVX2 and AVX512 IFUNC versions.
2168         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.S: New file.
2169         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core_sse4.S: New file.
2170         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.S: New file.
2171         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core_avx2.S: New file.
2172         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: New file.
2173         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S: New file.
2174         * sysdeps/x86_64/fpu/svml_d_exp2_core.S: New file.
2175         * sysdeps/x86_64/fpu/svml_d_exp4_core.S: New file.
2176         * sysdeps/x86_64/fpu/svml_d_exp4_core_avx.S: New file.
2177         * sysdeps/x86_64/fpu/svml_d_exp8_core.S: New file.
2178         * sysdeps/x86_64/fpu/svml_d_exp_data.S: New file.
2179         * sysdeps/x86_64/fpu/svml_d_exp_data.h: New file.
2180         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector exp test.
2181         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
2182         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
2183         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
2184         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
2185         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
2186         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
2187         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
2188         * NEWS: Mention addition of x86_64 vector exp.
2190         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
2191         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
2192         redirections for logf.
2193         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
2194         * sysdeps/x86_64/fpu/Versions: New versions added.
2195         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
2196         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
2197         build of SSE, AVX2 and AVX512 IFUNC versions.
2198         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: New file.
2199         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S: New file.
2200         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core.S: New file.
2201         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core_sse4.S: New file.
2202         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core.S: New file.
2203         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core_avx2.S: New file.
2204         * sysdeps/x86_64/fpu/svml_s_logf16_core.S: New file.
2205         * sysdeps/x86_64/fpu/svml_s_logf4_core.S: New file.
2206         * sysdeps/x86_64/fpu/svml_s_logf8_core.S: New file.
2207         * sysdeps/x86_64/fpu/svml_s_logf8_core_avx.S: New file.
2208         * sysdeps/x86_64/fpu/svml_s_logf_data.S: New file.
2209         * sysdeps/x86_64/fpu/svml_s_logf_data.h: New file.
2210         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector logf tests.
2211         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
2212         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
2213         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
2214         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
2215         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
2216         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
2217         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
2218         * NEWS: Mention addition of x86_64 vector logf.
2220         * bits/libm-simd-decl-stubs.h: Added stubs for log.
2221         * math/bits/mathcalls.h: Added log declaration with __MATHCALL_VEC.
2222         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
2223         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
2224         redirections for log.
2225         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
2226         * sysdeps/x86_64/fpu/Versions: New versions added.
2227         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
2228         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
2229         build of SSE, AVX2 and AVX512 IFUNC versions.
2230         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.S: New file.
2231         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core_sse4.S: New file.
2232         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.S: New file.
2233         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core_avx2.S: New file.
2234         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: New file.
2235         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S: New file.
2236         * sysdeps/x86_64/fpu/svml_d_log2_core.S: New file.
2237         * sysdeps/x86_64/fpu/svml_d_log4_core.S: New file.
2238         * sysdeps/x86_64/fpu/svml_d_log4_core_avx.S: New file.
2239         * sysdeps/x86_64/fpu/svml_d_log8_core.S: New file.
2240         * sysdeps/x86_64/fpu/svml_d_log_data.S: New file.
2241         * sysdeps/x86_64/fpu/svml_d_log_data.h: New file.
2242         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector log
2243         test.
2244         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
2245         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
2246         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
2247         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
2248         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
2249         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
2250         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
2251         * NEWS: Mention addition of x86_64 vector log.
2253 2015-06-17  Szabolcs Nagy  <szabolcs.nagy@arm.com>
2255         * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return_lazy): Fix
2256         cfi_adjust_cfa_offset argument.
2257         (_dl_tlsdesc_undefweak, _dl_tlsdesc_dynamic): Likewise.
2258         (_dl_tlsdesc_resolve_rela, _dl_tlsdesc_resolve_hold): Likewise.
2260         [BZ #18034]
2261         * sysdeps/aarch64/dl-tlsdesc.h (_dl_tlsdesc_return_lazy): Declare.
2262         * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return_lazy): Define.
2263         (_dl_tlsdesc_undefweak): Guarantee TLSDESC entry and argument load-load
2264         ordering using ldar.
2265         (_dl_tlsdesc_dynamic): Likewise.
2266         (_dl_tlsdesc_return_lazy): Likewise.
2267         * sysdeps/aarch64/tlsdesc.c (_dl_tlsdesc_resolve_rela_fixup): Use
2268         relaxed atomics instead of volatile and synchronize with release store.
2269         (_dl_tlsdesc_resolve_hold_fixup): Use relaxed atomics instead of
2270         volatile.
2271         * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
2273 2015-06-15  Andrew Senkevich  <andrew.senkevich@intel.com>
2275         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
2276         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for sinf.
2277         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
2278         * sysdeps/x86_64/fpu/Versions: New versions added.
2279         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
2280         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
2281         build of SSE, AVX2 and AVX512 IFUNC versions.
2282         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: New file.
2283         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S: New file.
2284         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core.S: New file.
2285         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S: New file.
2286         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core.S: New file.
2287         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S: New file.
2288         * sysdeps/x86_64/fpu/svml_s_sinf16_core.S: New file.
2289         * sysdeps/x86_64/fpu/svml_s_sinf4_core.S: New file.
2290         * sysdeps/x86_64/fpu/svml_s_sinf8_core.S: New file.
2291         * sysdeps/x86_64/fpu/svml_s_sinf8_core_avx.S: New file.
2292         * sysdeps/x86_64/fpu/svml_s_sinf_data.S: New file.
2293         * sysdeps/x86_64/fpu/svml_s_sinf_data.h: New file.
2294         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector sinf tests.
2295         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
2296         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
2297         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
2298         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
2299         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
2300         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
2301         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
2302         * NEWS: Mention addition of x86_64 vector sinf.
2304 2015-06-14  Joseph Myers  <joseph@codesourcery.com>
2306         * conform/list-header-symbols.pl (%extra_syms): Add in6addr_any
2307         and in6addr_loopback for XOPEN2K, XOPEN2K8 and POSIX2008.
2308         * conform/Makefile (test-xfail-XOPEN2K/netdb.h/linknamespace):
2309         Remove variable.
2310         (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
2311         (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
2313 2015-06-12  Joseph Myers  <joseph@codesourcery.com>
2315         [BZ #18530]
2316         * libio/iofputs.c [!_IO_MTSAFE_IO] (__fputs_unlocked): Define as
2317         strong alias of _IO_fputs.  Use libc_hidden_def.
2318         * libio/iofputs_u.c (fputs_unlocked): Rename to __fputs_unlocked
2319         and define as weak alias of __fputs_unlocked.  Use
2320         libc_hidden_weak.
2321         * include/stdio.h (__fputs_unlocked): Declare.  Use
2322         libc_hidden_proto.
2323         * misc/syslog.c (__vsyslog_chk): Call __fputs_unlocked instead of
2324         fputs_unlocked.
2326         [BZ #18529]
2327         * resolv/netdb.h [__USE_POSIX]: Change condition to
2328         [__USE_XOPEN2K].
2329         * conform/data/netdb.h-data [XPG4 || UNIX98] (struct addrinfo): Do
2330         not expect.
2331         [XPG4 || UNIX98] (AI_PASSIVE): Likewise.
2332         [XPG4 || UNIX98] (AI_CANONNAME): Likewise.
2333         [XPG4 || UNIX98] (AI_NUMERICHOST): Likewise.
2334         [XPG4 || UNIX98] (AI_V4MAPPED): Likewise.
2335         [XPG4 || UNIX98] (AI_ALL): Likewise.
2336         [XPG4 || UNIX98] (AI_ADDRCONFIG): Likewise.
2337         [XPG4 || UNIX98] (AI_NUMERICSERV): Likewise.
2338         [XPG4 || UNIX98] (NI_NOFQDN): Likewise.
2339         [XPG4 || UNIX98] (NI_NUMERICHOST): Likewise.
2340         [XPG4 || UNIX98] (NI_NAMEREQD): Likewise.
2341         [XPG4 || UNIX98] (NI_NUMERICSERV): Likewise.
2342         [XPG4 || UNIX98] (NI_DGRAM): Likewise.
2343         [XPG4 || UNIX98] (EAI_AGAIN): Likewise.
2344         [XPG4 || UNIX98] (EAI_BADFLAGS): Likewise.
2345         [XPG4 || UNIX98] (EAI_FAIL): Likewise.
2346         [XPG4 || UNIX98] (EAI_FAMILY): Likewise.
2347         [XPG4 || UNIX98] (EAI_MEMORY): Likewise.
2348         [XPG4 || UNIX98] (EAI_NONAME): Likewise.
2349         [XPG4 || UNIX98] (EAI_SERVICE): Likewise.
2350         [XPG4 || UNIX98] (EAI_SOCKTYPE): Likewise.
2351         [XPG4 || UNIX98] (EAI_SYSTEM): Likewise.
2352         [XPG4 || UNIX98] (EAI_SYSTEM): Likewise.
2353         [XPG4 || UNIX98] (freeaddrinfo): Likewise.
2354         [XPG4 || UNIX98] (gai_strerror): Likewise.
2355         [XPG4 || UNIX98] (getaddrinfo): Likewise.
2356         [XPG4 || UNIX98] (getnameinfo): Likewise.
2358         [BZ #18528]
2359         * grp/grp.h (endgrent): Condition on [__USE_MISC ||
2360         __USE_XOPEN_EXTENDED], not [__USE_XOPEN_EXTENDED ||
2361         __USE_XOPEN2K8].
2362         (getgrent): Likewise.
2363         * conform/data/grp.h-data [XPG3 || POSIX2008] (getgrent): Do not
2364         expect.
2365         [XPG3 || POSIX2008] (endgrent): Likewise.
2366         [XPG3] (setgrent): Likewise.
2367         * conform/Makefile (test-xfail-XPG3/grp.h/conform): Remove
2368         variable.
2369         (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
2371         [BZ #18527]
2372         * login/getlogin_r.c (getlogin_r): Rename to __getlogin_r and
2373         define as weak alias of __getlogin_r.  Use libc_hidden_weak.
2374         * sysdeps/mach/hurd/getlogin_r.c (getlogin_r): Likewise.
2375         * sysdeps/unix/getlogin_r.c (getlogin_r): Likewise.
2376         * sysdeps/unix/sysv/linux/getlogin_r.c (getlogin_r): Likewise.
2377         * include/unistd.h (__getlogin_r): Declare.  Use
2378         libc_hidden_proto.
2379         * posix/glob.c (glob): Call __getlogin_r instead of getlogin_r.
2380         * conform/Makefile (test-xfail-XPG3/glob.h/linknamespace): Remove
2381         variable.
2382         (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
2383         (test-xfail-XPG4/glob.h/linknamespace): Likewise.
2384         (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
2386 2015-06-12  Martin Sebor  <msebor@redhat.com>
2388         [BZ #18512]
2389         * Makerules (check-install-supported): New target.
2390         (install): Add check-install-supported as a dependency.
2391         * manual/install.texi (Installing the C Library): Document
2392         that overriding prefix and exec_prefix is not supported.
2393         Mention DESTDIR.
2394         * INSTALL: Regenerate from the above.
2396 2015-06-12  Joseph Myers  <joseph@codesourcery.com>
2398         [BZ #18519]
2399         * posix/Versions (libc): Export __libc_pread at version
2400         GLIBC_PRIVATE.
2401         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Call __libc_pread
2402         instead of pread.
2403         * conform/Makefile (test-xfail-POSIX/aio.h/linknamespace): Remove
2404         variable.
2406         [BZ #18522]
2407         * misc/efgcvt_r.c
2408         [LONG_DOUBLE_COMPAT (libc, GLIBC_2_0) && !LONG_DOUBLE_CVT]
2409         (cvt_symbol): Use weak_alias instead of strong_alias.
2410         [LONG_DOUBLE_COMPAT (libc, GLIBC_2_0)] (cvt_symbol): Likewise.
2411         * conform/Makefile (test-xfail-XPG4/stdlib.h/linknamespace):
2412         Remove variable.
2413         (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
2414         (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
2416         [BZ #18520]
2417         * inet/herrno.c (h_errno): Rename to __h_errno.
2418         (__libc_h_errno): Define as alias of __h_errno not h_errno.
2419         * include/netdb.h [IS_IN_LIB && !IS_IN (libc)] (h_errno): Define
2420         to __h_errno instead of h_errno.
2421         * nptl/herrno.c (h_errno): Rename to __h_errno.
2422         (__h_errno_location): Refer to __h_errno not h_errno.
2423         * resolv/Versions (h_errno): Rename to __h_errno.
2424         * conform/Makefile (test-xfail-XOPEN2K8/grp.h/linknamespace):
2425         Remove variable.
2426         (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
2428 2015-06-11  Andrew Senkevich  <andrew.senkevich@intel.com>
2430         * configure.ac: More strict check for AVX512 assembler support.
2431         * configure: Regenerated.
2433         * bits/libm-simd-decl-stubs.h: Added stubs for sin.
2434         * math/bits/mathcalls.h: Added sin declaration with __MATHCALL_VEC.
2435         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
2436         * sysdeps/x86/fpu/bits/math-vector.h: SIMD declaration for sin.
2437         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
2438         * sysdeps/x86_64/fpu/Versions: New versions added.
2439         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
2440         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
2441         Added build of SSE, AVX2 and AVX512 IFUNC versions.
2442         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.S: New file.
2443         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S: New file.
2444         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.S: New file.
2445         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S: New file.
2446         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: New file.
2447         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S: New file.
2448         * sysdeps/x86_64/fpu/svml_d_sin2_core.S: New file.
2449         * sysdeps/x86_64/fpu/svml_d_sin4_core.S: New file.
2450         * sysdeps/x86_64/fpu/svml_d_sin4_core_avx.S: New file.
2451         * sysdeps/x86_64/fpu/svml_d_sin8_core.S: New file.
2452         * sysdeps/x86_64/fpu/svml_d_sin_data.S: New file.
2453         * sysdeps/x86_64/fpu/svml_d_sin_data.h: New file.
2454         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector sin
2455         test.
2456         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
2457         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
2458         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
2459         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
2460         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
2461         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
2462         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
2463         * NEWS: Mention addition of x86_64 vector sin.
2465 2015-06-11  Florian Weimer  <fweimer@redhat.com>
2467         * nptl/pthread_key_create.c (__pthread_key_create): Fix typo in
2468         comment.
2470 2015-06-10  Gleb Fotengauer-Malinovskiy  <glebfm@altlinux.org>
2472         [BZ #18479]
2473         * nptl/pt-interp.c: New file.
2474         * nptl/Makefile (libpthread-routines, libpthread-shared-only-routines):
2475         Add pt-interp.
2476         [[$(build-shared) = yes] ($(objpfx)pt-interp.os): Depend on
2477         $(common-objpfx)runtime-linker.h.
2479 2015-06-10  Dmitry V. Levin  <ldv@altlinux.org>
2481         * Makeconfig (+interp): Remove unused variable.
2482         * elf/Makefile ($(objpfx)interp.os): Define for [$(build-shared) = yes]
2483         only.  Depend on $(common-objpfx)runtime-linker.h instead of
2484         $(elf-objpfx)runtime-linker.h.
2485         ($(elf-objpfx)runtime-linker.h): Rename to
2486         $(common-objpfx)runtime-linker.h and move ...
2487         * Makerules [$(build-shared) = yes]: ... here.
2488         * elf/interp.c: Include <runtime-linker.h> instead of
2489         <elf/runtime-linker.h>.
2491 2015-06-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2493         * sysdeps/unix/sysv/linux/i386/gettimeofday.c
2494         (__gettimeofday_syscall): Remove vsyscall fallback.
2495         * sysdeps/unix/sysv/linux/i386/time.c (__time_syscall): Likewise.
2496         * sysdeps/unix/sysv/linux/x86/gettimeofday.c (__gettimeofday_syscall):
2497         Add syscall fallback function.
2498         (gettimeofday_ifunc): Use __gettimeofday_syscall as fallback mechanism
2499         if vDSO is not present.
2500         * sysdeps/unix/sysv/linux/x86/time.c (__time_syscall): Add syscall
2501         fallback function.
2502         (time_ifunc): Use __time_syscall as fallback mechanism if vDSO is not
2503         present.
2504         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: Remove file.
2505         * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
2507 2015-06-09  Joseph Myers  <joseph@codesourcery.com>
2509         [BZ #18497]
2510         * wcsmbs/wcscmp.c [!WCSCMP] (WCSCMP): Define as __wcscmp instead
2511         of wcscmp.
2512         (wcscmp): Define as weak alias of WCSCMP.
2513         * wcsmbs/wcscoll.c (STRCOLL): Define as __wcscoll instead of
2514         wcscoll.
2515         (USE_HIDDEN_DEF): Define.
2516         [!USE_IN_EXTENDED_LOCALE_MODEL] (wcscoll): Define as weak alias of
2517         __wcscoll.  Don't use libc_hidden_weak.
2518         * wcsmbs/wcscoll_l.c (STRCMP): Define as __wcscmp instead of
2519         wcscmp.
2520         * sysdeps/i386/i686/multiarch/wcscmp-c.c
2521         [SHARED] (libc_hidden_def): Define __GI___wcscmp instead of
2522         __GI_wcscmp.
2523         (weak_alias): Undefine and redefine.
2524         * sysdeps/i386/i686/multiarch/wcscmp.S (wcscmp): Rename to
2525         __wcscmp and define as weak alias of __wcscmp.
2526         * sysdeps/x86_64/wcscmp.S (wcscmp): Likewise.
2527         * include/wchar.h (__wcscmp): Declare.  Use libc_hidden_proto.
2528         (__wcscoll): Likewise.
2529         (wcscmp): Don't use libc_hidden_proto.
2530         (wcscoll): Likewise.
2531         * posix/regcomp.c (build_range_exp): Call __wcscoll instead of
2532         wcscoll.
2533         * posix/regexec.c (check_node_accept_bytes): Likewise.
2534         * conform/Makefile (test-xfail-XPG3/regex.h/linknamespace): Remove
2535         variable.
2536         (test-xfail-XPG4/regex.h/linknamespace): Likewise.
2537         (test-xfail-POSIX/regex.h/linknamespace): Likewise.
2539         [BZ #18507]
2540         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs): Rename to
2541         __fstatvfs and define as weak alias of __fstatvfs.  Use
2542         libc_hidden_weak.
2543         * sysdeps/unix/sysv/linux/statvfs.c (statvs): Rename to __statvfs
2544         and define as weak alias of __statvfs.  Use libc_hidden_weak.
2545         * sysdeps/unix/sysv/linux/wordsize-64/fstatvfs.c (__fstatvfs64):
2546         Define as alias of __fstatvfs, not fstatvfs.
2547         (fstatvfs64): Likewise.
2548         * sysdeps/unix/sysv/linux/wordsize-64/statvfs.c (__statvfs64):
2549         Define as alias of __statvfs, not statvfs.
2550         (statvfs64): Likewise.
2551         * conform/Makefile (test-xfail-POSIX/unistd.h/linknamespace):
2552         Remove variable.
2554 2015-06-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2556         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
2557         (HAVE_GETCPU_VSYSCALL): Define.
2558         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
2559         (HAVE_GETCPU_VSYSCALL): Likewise.
2560         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Remove file.
2561         * sysdeps/unix/sysv/linux/sched_getcpu.c
2562         (HAVE_VSYSCALL) [HAVE_GETCPU_VSYSCALL]: Define.
2563         (sched_getcpu): Use INLINE_VSYSCALL instead of INLINE_SYSCALL.
2564         * sysdeps/unix/sysv/linux/x86/libc-vdso.h (getcpu): Add vDSO
2565         prototype.
2566         * sysdeps/unix/sysv/linux/x86_64/init-first.c
2567         (__vdso_platform_setup): Remove vsyscall getcpu fallback.
2568         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Remove file.
2569         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (HAVE_GETCPU_VSYSCALL):
2570         Define.
2571         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: Remove file.
2572         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
2573         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c: Likewise.
2574         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
2576 2015-06-09  Andrew Senkevich  <andrew.senkevich@intel.com>
2578         * sysdeps/x86_64/fpu/Makefile: New file.
2579         * sysdeps/x86_64/fpu/Versions: New file.
2580         * sysdeps/x86_64/fpu/svml_d_cos_data.S: New file.
2581         * sysdeps/x86_64/fpu/svml_d_cos_data.h: New file.
2582         * sysdeps/x86_64/fpu/svml_d_cos2_core.S: New file.
2583         * sysdeps/x86_64/fpu/svml_d_cos4_core.S: New file.
2584         * sysdeps/x86_64/fpu/svml_d_cos4_core_avx.S: New file.
2585         * sysdeps/x86_64/fpu/svml_d_cos8_core.S: New file.
2586         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: New file.
2587         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.S: New file.
2588         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S: New file.
2589         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.S: New file.
2590         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S: New file.
2591         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: New file.
2592         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S: New file.
2593         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
2594         Added build of SSE, AVX2 and AVX512 IFUNC versions.
2595         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for cos.
2596         * math/bits/mathcalls.h: Added cos declaration with __MATHCALL_VEC.
2597         * sysdeps/x86_64/configure.ac: Options for libmvec build.
2598         * sysdeps/x86_64/configure: Regenerated.
2599         * sysdeps/x86_64/sysdep.h (cfi_offset_rel_rsp): New macro.
2600         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New file.
2601         * manual/install.texi (Configuring and compiling): Document
2602         --disable-mathvec.
2603         * INSTALL: Regenerated.
2604         * NEWS: Mention addition of libmvec and x86_64 vector cos.
2606         * math/Makefile: Added rules for vector tests.
2607         * math/gen-libm-have-vector-test.sh: Added generation of wrapper
2608         declaration under condition.
2609         * math/test-double-vlen2.h: New file.
2610         * math/test-double-vlen4.h: New file.
2611         * math/test-double-vlen8.h: New file.
2612         * math/test-vec-loop.h: Added initialization macro.
2613         * sysdeps/x86_64/fpu/Makefile: Added variables for vector tests.
2614         * sysdeps/x86_64/fpu/libm-test-ulps: Regenarated.
2615         * sysdeps/x86_64/fpu/math-tests-arch.h: New file.
2616         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: New file.
2617         * sysdeps/x86_64/fpu/test-double-vlen2.c: New file.
2618         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: New file.
2619         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: New file.
2620         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: New file.
2621         * sysdeps/x86_64/fpu/test-double-vlen4.c: New file.
2622         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: New file.
2623         * sysdeps/x86_64/fpu/test-double-vlen8.c: New file.
2625         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
2626         * sysdeps/x86_64/fpu/Versions: New versions added.
2627         * sysdeps/x86_64/fpu/svml_s_cosf4_core.S: New file.
2628         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core.S: New file.
2629         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S: New file.
2630         * sysdeps/x86_64/fpu/svml_s_cosf8_core_avx.S: New file.
2631         * sysdeps/x86_64/fpu/svml_s_cosf8_core.S: New file.
2632         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core.S: New file.
2633         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S: New file.
2634         * sysdeps/x86_64/fpu/svml_s_cosf16_core.S: New file.
2635         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: New file.
2636         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S: New file.
2637         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: New file.
2638         * sysdeps/x86_64/fpu/svml_s_cosf_data.S: New file.
2639         * sysdeps/x86_64/fpu/svml_s_cosf_data.h: New file.
2640         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
2641         Added build of SSE, AVX2 and AVX512 IFUNC versions.
2642         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
2643         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for cosf.
2644         * NEWS: Mention addition of x86_64 vector cosf.
2646         * math/Makefile: Added CFLAGS for new tests.
2647         * math/test-float-vlen16.h: New file.
2648         * math/test-float-vlen4.h: New file.
2649         * math/test-float-vlen8.h: New file.
2650         * math/test-double-vlen2.h: Fixed 2 argument macro and comment.
2651         * sysdeps/x86_64/fpu/Makefile: Added new tests and variables.
2652         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
2653         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: New file.
2654         * sysdeps/x86_64/fpu/test-float-vlen16.c: New file.
2655         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: New file.
2656         * sysdeps/x86_64/fpu/test-float-vlen4.c: New file.
2657         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: New file.
2658         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: New file.
2659         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: New file.
2660         * sysdeps/x86_64/fpu/test-float-vlen8.c: New file.
2662 2015-06-09 Marko Myllynen  <myllynen@redhat.com>
2664         * locale/C-ctype.c (PREDEFINED_CLASSES): Remove.
2665         * locale/programs/ld-ctype.c: Likewise.
2667 2015-06-08  Andrew Senkevich  <andrew.senkevich@intel.com>
2669         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX512F_Usable,
2670         bit_AVX512DQ_Usable, bit_Opmask_state, bit_ZMM0_15_state,
2671         bit_ZMM16_31_state): New macro.
2672         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
2673         Check and set bit_AVX512F_Usable, bit_AVX512DQ_Usable.
2675 2015-06-08  Joseph Myers  <joseph@codesourcery.com>
2677         * include/stdio.h (__open_memstream): Say "C++ tests" in comment.
2679 2015-06-06  Justus Winter  <4winter@informatik.uni-hamburg.de>
2681         * mach/mach/mach_traps.h (thread_switch): Fix typo in comment.
2683 2015-06-05  Joseph Myers  <joseph@codesourcery.com>
2685         [BZ #18498]
2686         * libio/memstream.c (open_memstream): Rename to __open_memstream
2687         and define as weak alias of __open_memstream.
2688         * include/stdio.h (__open_memstream): Declare.  Use
2689         libc_hidden_proto.
2690         (open_memstream): Don't use libc_hidden_proto.
2691         * misc/syslog.c (__vsyslog_chk): Call __open_memstream instead of
2692         open_memstream.
2693         * posix/getopt.c (_getopt_internal_r): Likewise.
2694         * conform/Makefile (test-xfail-XPG3/stdio.h/linknamespace): Remove
2695         variable.
2696         (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
2697         (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
2698         (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
2700         [BZ #18496]
2701         * posix/regex_internal.c (build_wcs_upper_buffer): Call __wcrtomb
2702         instead of wcrtomb.
2704         [BZ #18483]
2705         * signal/signal.h [__USE_XOPEN2K] (psignal): Change condition to
2706         [__USE_XOPEN2K8].  Remove redundant #endif.
2707         [__USE_XOPEN2K] (psiginfo): Change condition to [__USE_XOPEN2K8].
2708         Remove redundant #if.
2709         * conform/Makefile (test-xfail-XOPEN2K/signal.h/linknamespace):
2710         Remove variable.
2711         (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
2712         (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
2714         [BZ #18495]
2715         * wctype/wcfuncs.c (__iswalnum): Use libc_hidden_def.
2716         (__iswlower): Likewise.
2717         * include/wctype.h (__iswalnum): Declare.  Use libc_hidden_proto.
2718         (__iswlower): Likewise.
2719         * posix/regcomp.c (re_compile_fastmap_iter): Call __towlower
2720         instead of towlower.
2721         * posix/regex_internal.c (build_wcs_upper_buffer): Call __iswlower
2722         instead of iswlower.  Call __towupper instead of towupper.
2723         * posix/regex_internal.h (IS_WIDE_WORD_CHAR): Call __iswalnum
2724         instead of iswalnum.
2726 2015-06-05  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
2728         * malloc/tst-malloc-backtrace.c (do_test): Redirect libc fatal
2729         errors to stderr.
2731 2015-06-05  Florian Weimer  <fweimer@redhat.com>
2733         [BZ #15661]
2734         [BZ #17322]
2735         * sysdeps/posix/posix_fallocate64.c (__posix_fallocate64_l64):
2736         Check for overflow properly.  Check for O_APPEND.  Ignore large
2737         file system block sizes.  Add comments about problems.
2738         * sysdeps/posix/posix_fallocate.c (posix_fallocate): Likewise.
2739         * manual/filesys.texi (Storage Allocation): New node.
2741 2015-06-04  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2743         * sysdeps/unix/sysdep.h [SYSCALL_CANCEL]: New macro: define
2744         cancellable syscalls.
2745         (SYS_ify): Add guard to no redefine it.
2746         (INLINE_SYSCALL): Likewise.
2747         * sysdeps/unix/sysv/linux/accept4.c (accept4): Remove
2748         LIBC_CANCEL_ASYNC/INLINE_SYSCALL/LIBC_CANCEL_RESET and use
2749         SYSCALL_CANCEL instead.
2750         * sysdeps/unix/sysv/linux/alpha/fdatasync.c (__fdatasync): Likewise.
2751         * sysdeps/unix/sysv/linux/arm/pread.c (__libc_pread): Likewise.
2752         * sysdeps/unix/sysv/linux/arm/pread64.c (__libc_pread64): Likewise.
2753         * sysdeps/unix/sysv/linux/arm/pwrite.c (__libc_pwrite): Likewise.
2754         * sysdeps/unix/sysv/linux/arm/pwrite64.c (__libc_pwrite64): Likewise.
2755         * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Likewise.
2756         * sysdeps/unix/sysv/linux/fallocate.c (fallocate): Likewise.
2757         * sysdeps/unix/sysv/linux/fallocate64.c (fallocate64): Likewise.
2758         * sysdeps/unix/sysv/linux/generic/open.c (__libc_open): Likewise.
2759         * sysdeps/unix/sysv/linux/generic/open64.c (__libc_open64): Likewise.
2760         * sysdeps/unix/sysv/linux/generic/pause.c (__libc_pause): Likewise.
2761         * sysdeps/unix/sysv/linux/generic/poll.c (__poll): Likewise.
2762         * sysdeps/unix/sysv/linux/generic/recv.c (__libc_recv): Likewise.
2763         * sysdeps/unix/sysv/linux/generic/select.c (__select): Likewise.
2764         * sysdeps/unix/sysv/linux/generic/send.c (__libc_send): Likewise.
2765         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c (__libc_pread):
2766         Likewise.
2767         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c
2768         (__libc_pread64): Likewise.
2769         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c
2770         (__libc_preadv): Likewise.
2771         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c
2772         (__libc_readv64): Likewise.
2773         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c
2774         (__libc_pwrite): Likewise.
2775         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c
2776         (__libc_pwrite64): Likewise.
2777         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c
2778         (__libc_pwritev): Likewise.
2779         * sysdeps/sysv/linux/generic/wordsize-32/pwritev64.c
2780         (__libc_pwritev64): Likewise.
2781         * sysdeps/unix/sysv/linux/i386/fcntl.c (__libc_fcntl): Likewise.
2782         * sysdeps/unix/sysv/linux/mips/mips32/sync_file_range.c
2783         (sync_file_range): Likewise.
2784         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate.c (fallocate):
2785         Likewise.
2786         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate64.c (fallocate64):
2787         Likewise.
2788         * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Likewise.
2789         * sysdeps/unix/sysv/linux/mips/pread64.c (__libc_pread64): Likewise.
2790         * sysdeps/unix/sysv/linux/mips/pwrite.c (__libc_pwrite): Likewise.
2791         * sysdeps/unix/sysv/linux/mips/pwrite64.c (__libc_pwrite64): Likewise.
2792         * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Likewise.
2793         * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Likewise.
2794         * sysdeps/unix/sysv/linux/open64.c (__libc_open64): Likewise.
2795         * sysdeps/unix/sysv/linux/openat.c (__libc_openat): Likewise.
2796         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c (__libc_pread):
2797         Likewise.
2798         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
2799         (__libc_read64): Likewise.
2800         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c (__libc_write):
2801         Likewise.
2802         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c (__libc_write64):
2803         Likewise.
2804         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fcntl.c (__libc_fcntl):
2805         Likewise.
2806         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c (__libc_pread):
2807         Likewise.
2808         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
2809         (__libc_pread64): Likewise.
2810         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c (__libc_pwrite):
2811         Likewise.
2812         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
2813         (__libc_pwrite64): Likewise.
2814         * sysdeps/sysv/linux/powerpc/powerpc64/sync_file_range.c
2815         (sync_file_range): Likewise.
2816         * sysdeps/unix/sysv/linux/ppoll.c (ppoll): Likewise.
2817         * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Likewise.
2818         * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Likewise.
2819         * sysdeps/unix/sysv/linux/preadv.c (__libc_preadv): Likewise.
2820         * sysdeps/unix/sysv/linux/pselect.c (__pselect): Likewise.
2821         * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
2822         * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
2823         * sysdeps/unix/sysv/linux/pwritev.c (PWRITEV): Likewise.
2824         * sysdeps/unix/sysv/linux/readv.c (__libc_readv): Likewise.
2825         * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
2826         * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
2827         * sysdeps/unix/sysv/linux/sh/pread.c (__libc_pread): Likewise.
2828         * sysdeps/unix/sysv/linux/sh/pread64.c (__libc_pread64): Likewise.
2829         * sysdeps/unix/sysv/linux/sh/pwrite.c (__libc_pwrite): Likewise.
2830         * sysdeps/unix/sysv/linux/sh/pwrite64.c (__libc_pwrite64): Likewise.
2831         * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise.
2832         * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Likewise.
2833         * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
2834         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c (__libc_msgrcv):
2835         Likewise.
2836         * sysdeps/unix/sysv/linux/sync_file_range.c (sync_file_range):
2837         Likewise.
2838         * sysdeps/unix/sysv/linux/tcdrain.c (__libc_tcdrain): Likewise.
2839         * sysdeps/unix/sysv/linux/timer_routines.c (timer_helper_thread):
2840         Likewise.
2841         * sysdeps/unix/sysv/linux/wait.c (__libc_wait): Likewise.
2842         * sysdeps/unix/sysv/linux/waitid.c (__waitid): Likewise.
2843         * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Likewise.
2844         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c (fallocate):
2845         Likewise.
2846         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c (preadv): Likewise.
2847         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c (pwritev): Likewise.
2848         * sysdeps/unix/sysv/linux/writev.c (__libc_writev): Likewise.
2849         * sysdeps/unix/sysv/linux/x86_64/recv.c (__libc_recv): Likewise.
2850         * sysdeps/unix/sysv/linux/x86_64/send.c (__libc_send): Likewise.
2852 2015-06-04  Nathan Lynch  <nathan_lynch@codesourcery.com>
2854         * sysdeps/unix/sysv/linux/arm/Makefile: (sysdep_routines):
2855         Include dl-vdso.
2856         * sysdeps/unix/sysv/linux/arm/init-first.c: New file:
2857         Use VDSO routines for gettimeofday, clock_gettime if
2858         available.
2859         * sysdeps/unix/sysv/linux/arm/libc-vdso.h: New file:
2860         Declare VDSO symbols.
2861         * sysdeps/unix/sysv/linux/arm/sysdep.h:
2862         [HAVE_GETTIMEOFDAY_VSYSCALL]: Define.
2863         [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
2864         * sysdeps/unix/sysv/linux/arm/Versions: Add
2865         __vdso_clock_gettime.
2867 2015-06-04  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2869         * sysdeps/unix/sysv/linux/not-cancel.h (open_not_cancel): Rewrite to
2870         be an inline implementation regardless of library is built within.
2871         (open_not_cancel_2): Likewise.
2872         (__read_nocancel): Likewise.
2873         (__write_nocancel): Likewise.
2874         (openat_not_cancel): Likewise.
2875         (openat_not_cancel_3): Likewise.
2876         (openat64_not_cancel): Likewise.
2877         (openat64_not_cancel_3): Likewise.
2878         (__close_nocancel): Likewise.
2879         (pause_not_cancel): Likewise.
2880         (nanosleep_not_cancel): Likewise.
2881         (sigsuspend_not_cancel): Likewise.
2883 2015-06-04  Torvald Riegel  <triegel@redhat.com>
2885         [BZ #14958]
2886         * nptl/pthread_rwlock_rdlock.c (__pthread_rwlock_rdlock): Add missing
2887         wake-up.
2888         (__pthread_rwlock_rdlock_slow): Likewise.
2889         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
2890         Likewise.
2891         * nptl/pthread_rwlock_tryrdlock.c (__pthread_rwlock_tryrdlock):
2892         Likewise.
2893         * nptl/pthread_rwlock_unlock.c (__pthread_rwlock_unlock): Add comments.
2894         * nptl/tst-rwlock16.c: New file.
2895         * nptl/Makefile (tests): Add new test.
2897 2015-06-04  Torvald Riegel  <triegel@redhat.com>
2899         [BZ #18324]
2900         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock): Add
2901         missing wake-up of readers.
2902         * nptl/tst-rwlock15.c: New file.
2903         * nptl/Makefile (tests): Add new test.
2905 2015-06-03  Roland McGrath  <roland@hack.frob.com>
2907         * sysdeps/nacl/nacl-interfaces.c (try_supply): New static function.
2908         (PASTE_NAME (__nacl_supply_interface_, MODULE_NAME)): New function.
2909         * sysdeps/nacl/nacl-interfaces.h: Declare __nacl_supply_interface_libc
2910         and __nacl_supply_interface_rtld.
2911         * sysdeps/nacl/nacl_interface_ext_supply.c: New file.
2912         * sysdeps/nacl/Makefile [$(subdir) = csu] (sysdep_routines): Add it.
2913         * sysdeps/nacl/Versions (ld: GLIBC_PRIVATE):
2914         Add __nacl_supply_interface_rtld.
2915         (libc: GLIBC_2.22): Add nacl_interface_ext_supply.
2917 2015-06-03  Wilco Dijkstra  <wdijkstr@arm.com>
2919         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Replace finite with
2920         isfinite.
2921         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
2922         * sysdeps/ieee754/ldbl-opt/nldbl-finite.c (__finitel): Likewise.
2924 2015-06-03  Wilco Dijkstra  <wdijkstr@arm.com>
2926         * math/e_exp10.c: Replace __isinf*, __isnan*, __finite* and
2927         __signbit* with standard C99 macros.
2928         * math/e_exp10l.c: Likewise.
2929         * math/e_exp2l.c: Likewise.
2930         * math/e_scalb.c: Likewise.
2931         * math/e_scalbf.c: Likewise.
2932         * math/e_scalbl.c: Likewise.
2933         * math/s_ldexp.c: Likewise.
2934         * math/s_ldexpf.c: Likewise.
2935         * math/s_ldexpl.c: Likewise.
2936         * math/w_atan2.c: Likewise.
2937         * math/w_atan2f.c: Likewise.
2938         * math/w_atan2l.c: Likewise.
2939         * math/w_cosh.c: Likewise.
2940         * math/w_coshf.c: Likewise.
2941         * math/w_coshl.c: Likewise.
2942         * math/w_exp10.c: Likewise.
2943         * math/w_exp10f.c: Likewise.
2944         * math/w_exp10l.c: Likewise.
2945         * math/w_exp2.c: Likewise.
2946         * math/w_exp2f.c: Likewise.
2947         * math/w_exp2l.c: Likewise.
2948         * math/w_fmod.c: Likewise.
2949         * math/w_fmodf.c: Likewise.
2950         * math/w_fmodl.c: Likewise.
2951         * math/w_hypot.c: Likewise.
2952         * math/w_hypotf.c: Likewise.
2953         * math/w_hypotl.c: Likewise.
2954         * math/w_jnl.c: Likewise.
2955         * math/w_lgamma.c: Likewise.
2956         * math/w_lgamma_r.c: Likewise.
2957         * math/w_lgammaf.c: Likewise.
2958         * math/w_lgammaf_r.c: Likewise.
2959         * math/w_lgammal.c: Likewise.
2960         * math/w_lgammal_r.c: Likewise.
2961         * math/w_pow.c: Likewise.
2962         * math/w_powf.c: Likewise.
2963         * math/w_powl.c: Likewise.
2964         * math/w_remainder.c: Likewise.
2965         * math/w_remainderf.c: Likewise.
2966         * math/w_remainderl.c: Likewise.
2967         * math/w_scalb.c: Likewise.
2968         * math/w_scalbf.c: Likewise.
2969         * math/w_scalbl.c: Likewise.
2970         * math/w_scalbln.c: Likewise.
2971         * math/w_scalblnf.c: Likewise.
2972         * math/w_scalblnl.c: Likewise.
2973         * math/w_sinh.c: Likewise.
2974         * math/w_sinhf.c: Likewise.
2975         * math/w_sinhl.c: Likewise.
2976         * math/w_tgamma.c: Likewise.
2977         * math/w_tgammaf.c: Likewise.
2978         * math/w_tgammal.c: Likewise.
2979         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
2980         * sysdeps/ieee754/dbl-64/e_exp10.c: Likewise.
2981         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
2982         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
2983         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
2984         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
2985         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
2986         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
2987         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
2988         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
2989         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
2990         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
2991         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
2992         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
2993         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
2994         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
2995         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
2996         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
2997         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
2998         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
2999         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
3000         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
3001         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
3002         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
3003         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
3004         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
3005         * sysdeps/ieee754/ldbl-128ibm/w_expl.c: Likewise.
3006         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
3007         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
3008         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
3009         * sysdeps/ieee754/ldbl-opt/nldbl-finite.c: Likewise.
3010         * sysdeps/ieee754/ldbl-opt/nldbl-isinf.c: Likewise.
3011         * sysdeps/ieee754/ldbl-opt/nldbl-isnan.c: Likewise.
3012         * sysdeps/ieee754/ldbl-opt/nldbl-signbit.c: Likewise.
3013         * stdio-common/printf_fp.c: Likewise.
3014         * stdio-common/printf_fphex.c: Likewise.
3015         * stdio-common/printf_size.c: Likewise.
3017 2015-06-03  Joseph Myers  <joseph@codesourcery.com>
3019         [BZ #18470]
3020         * posix/fnmatch.c (fnmatch) [_LIBC]: Call __strnlen instead of
3021         strnlen.
3022         * conform/Makefile (test-xfail-XPG3/fnmatch.h/linknamespace):
3023         Remove variable.
3024         (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
3025         (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
3026         (test-xfail-POSIX/glob.h/linknamespace): Likewise.
3027         (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
3028         (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
3029         (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
3030         (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
3031         (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
3032         (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
3033         (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
3035         [BZ #18468]
3036         * wcsmbs/wmemchr.c (wmemchr): Rename to __wmemchr and define as
3037         weak alias of __wmemchr.  Use libc_hidden_weak.
3038         * include/wchar.h (__wmemchr): Declare.  Use libc_hidden_proto.
3039         * posix/fnmatch.c [HANDLE_MULTIBYTE] (MEMCHR): Use __wmemchr
3040         instead of wmemchr.
3042 2015-06-02  Roland McGrath  <roland@hack.frob.com>
3044         [BZ #18383]
3045         * elf/tst-tlsalign-extern.c: New file.
3046         * elf/tst-tlsalign-extern-static.c: New file.
3047         * elf/tst-tlsalign-vars.c: New file.
3048         * elf/Makefile (tests-static): Add tst-tlsalign-extern-static.
3049         [$(build-shared) = yes] (tests): Add tst-tlsalign-extern.
3050         ($(objpfx)tst-tlsalign-extern): Depend on tst-tlsalign-vars.o.
3051         ($(objpfx)tst-tlsalign-extern-static): Likewise.
3052         (test-xfail-tst-tlsalign-extern-static): New variable.
3054 2015-06-02  Joseph Myers  <joseph@codesourcery.com>
3056         * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h (INLINE_SYSCALL):
3057         Use variable name _sc_err instead of err.
3058         [__mips16] (INTERNAL_SYSCALL_NCS): Use variable name _sc_ret
3059         instead of ret.
3060         * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h
3061         (INLINE_SYSCALL): Use variable name _sc_err instead of err.
3062         * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h
3063         (INLINE_SYSCALL): Likewise.
3065         * string/strnlen.c [!STRNLEN] (__strnlen): Use libc_hidden_def.
3066         * include/string.h (__strnlen): Use libc_hidden_proto.
3067         * sysdeps/aarch64/strnlen.S (__strnlen): Use libc_hidden_def.
3068         * sysdeps/i386/i686/multiarch/strnlen-c.c [SHARED]
3069         (libc_hidden_def): Define __GI___strnlen as well as __GI_strnlen.
3070         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-power7.S
3071         (libc_hidden_def): Undefine and redefine.
3072         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c
3073         [SHARED] (libc_hidden_def): Define __GI___strnlen as well as
3074         __GI_strnlen.
3075         * sysdeps/powerpc/powerpc32/power7/strnlen.S (__strnlen): Use
3076         libc_hidden_def.
3077         * sysdeps/tile/tilegx/strnlen.c (__strnlen): Likewise.
3079         [BZ #18469]
3080         * wctype/wcfuncs.c (towlower): Rename to __towlower and define as
3081         weak alias of __towlower.  Use libc_hidden_weak.
3082         (towupper): Rename to __towupper and define as weak alias of
3083         __towupper.  Use libc_hidden_weak.
3084         * include/wctype.h (__towlower): Declare.  Use libc_hidden_proto.
3085         (__towupper): Likewise.
3086         * posix/fnmatch.c [HANDLE_MULTIBYTE && _LIBC] (FOLD): Use
3087         __towlower instead of towlower.
3089 2015-06-02  Roland McGrath  <roland@hack.frob.com>
3091         * stdlib/setenv.c [__GNUC__,__GNUC_MINOR__ < 4,7]: Use
3092         "-Wuninitialized" rather than "-Wmaybe-uninitialized" in pragma.
3094 2015-06-02  Szabolcs Nagy  <szabolcs.nagy@arm.com>
3096         * sysdeps/aarch64/libm-test-ulps: Update.
3098 2015-06-01  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3100         * sysdeps/unix/sysv/linux/i386/sysdep.h (HAVE_CLOCK_GETTIME_VSYSCALL):
3101         Define.
3102         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
3103         * sysdeps/unix/sysv/linux/x86_64/sysdep.h
3104         (HAVE_CLOCK_GETTIME_VSYSCALL): Likewise.
3105         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
3106         * sysdeps/unix/sysv/linux/timespec_get.c: Include errno.h.
3107         * sysdeps/unix/sysv/linux/x86/clock_gettime.c: Remove file.
3108         * sysdeps/unix/sysv/linux/x86/timespec_get.c: Likewise.
3110 2015-06-01  Martin Sebor  <msebor@redhat.com>
3112         [BZ #18116]
3113         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
3114         (__setcontext): Use extended four-operand version of mtsf whenever
3115         possible.
3116         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
3117         (__novec_swapcontext): Likewise.
3119 2015-06-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
3121         * benchtests/scripts/compare_bench.py: New file.
3122         * benchtests/scripts/import_bench.py (mean): New function.
3123         (split_list): Likewise.
3124         (do_for_all_timings): Likewise.
3125         (compress_timings): Likewise.
3127         * benchtests/scripts/import_bench.py: New file.
3128         * benchtests/scripts/validate_benchout.py: Import import_bench
3129         instead of jsonschema.
3130         (validate_bench): Remove function.
3131         (main): Use import_bench.
3133 2015-06-01  Steve Ellcey  <sellcey@imgtec.com>
3135         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Use a union to
3136         copy data from cur_ifr->ifr_addr and cur_ifr->ifr_netmask.
3138 2015-05-29  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3140         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3142 2015-05-28  Roland McGrath  <roland@hack.frob.com>
3144         * sysdeps/nacl/exit-thread.h (__exit_thread): If not detached,
3145         set THREAD_SELF->tid to a magic value and futex-wake it.
3146         Pass its address to the thread_exit system call.
3147         * sysdeps/nacl/pthread-pids.h (__nacl_get_tid): Assert that TID's low
3148         bit is clear.
3149         * sysdeps/nacl/lowlevellock.h: New file.
3150         * sysdeps/nacl/lll_timedwait_tid.c: New file.
3152         * sysdeps/nacl/lowlevellock-futex.h (lll_futex_timed_wait):
3153         Add TIMEOUT to current time, don't subtract it.
3155 2015-05-28  H.J. Lu  <hongjiu.lu@intel.com>
3157         [BZ #2981]
3158         [BZ #18422]
3159         * Makefile ($(objpfx)tst-audit2): Depend on $(libdl).
3160         ($(objpfx)tst-audit2.out): Also depend on
3161         $(objpfx)tst-auditmod9b.so.
3162         * elf/tst-audit2.c: Include <dlfcn.h>.
3163         (calloc_called): New.
3164         (calloc): Allow to be called more than once.
3165         (do_test): dllopen/dlclose $ORIGIN/tst-auditmod9b.so.
3167 2015-05-28  Wilco Dijkstra  <wdijkstr@arm.com>
3169         * sysdeps/ieee754/dbl-64/s_fabs.c: (__fabs): Call __builtin_fabs.
3170         * sysdeps/ieee754/flt-32/s_fabsf.c: (__fabsf): Likewise.
3172 2015-05-27  Marko Myllynen  <myllynen@redhat.com>
3174         * stdlib/monetary.h: Fix comment.
3176 2015-05-26  Chris Metcalf  <cmetcalf@ezchip.com>
3178         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_SYSCALL):
3179         Avoid using variables in #defines that might cause shadowing.
3180         (INTERNAL_VSYSCALL_CALL): Likewise.
3182 2015-05-26  Roland McGrath  <roland@hack.frob.com>
3184         * sysdeps/nacl/lll_timedlock_wait.c: New file.
3186         * nptl/lowlevellock.c (__lll_timedlock_wait): Moved ...
3187         * nptl/lll_timedlock_wait.c: ... to this new file.
3188         * nptl/Makefile (libpthread-routines): Add it.
3189         * nptl/lowlevellock.c (__lll_timedwait_tid): Moved ...
3190         * nptl/lll_timedwait_tid.c: ... to this new file.
3191         * nptl/Makefile (libpthread-routines): Add it.
3192         * sysdeps/sparc/sparc32/lll_timedlock_wait.c: New file.
3193         * sysdeps/sparc/sparc32/lll_timedwait_tid.c: New file.
3194         * sysdeps/unix/sysv/linux/i386/i486/lll_timedlock_wait.c: New file.
3195         * sysdeps/unix/sysv/linux/i386/i586/lll_timedlock_wait.c: New file.
3196         * sysdeps/unix/sysv/linux/i386/i686/lll_timedlock_wait.c: New file.
3197         * sysdeps/unix/sysv/linux/i386/i486/lll_timedwait_tid.c: New file.
3198         * sysdeps/unix/sysv/linux/i386/i586/lll_timedwait_tid.c: New file.
3199         * sysdeps/unix/sysv/linux/i386/i686/lll_timedwait_tid.c: New file.
3200         * sysdeps/unix/sysv/linux/x86_64/lll_timedlock_wait.c: New file.
3201         * sysdeps/unix/sysv/linux/x86_64/lll_timedwait_tid.c: New file.
3203 2015-05-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3205         * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c: Remove file.
3206         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
3207         * sysdeps/unix/sysv/linux/tile/gettimeofday.c: Likewise.
3208         * sysdeps/unix/sysv/linux/aarch64/sysdep.h
3209         (HAVE_GETTIMEOFDAY_VSYSCALL): Define.
3210         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
3211         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
3212         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
3213         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
3214         * sysdeps/unix/sysv/linux/tile/sysdep.h
3215         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
3216         * sysdeps/unix/sysv/linux/gettimeofday.c: New file: gettimeofday
3217         using vDSO syscall macro.
3219 2015-05-26  Andriy Rysin  <arysin@gmail.com>
3221         [BZ #17293]
3222         * uk_UA: Fix sorting order for Ukrainian locale
3224 2015-05-26  Marko Myllynen  <myllynen@redhat.com>
3226         * stdlib/monetary.h: Fix comment.
3228 2015-05-26  Szabolcs Nagy  <szabolcs.nagy@arm.com>
3230         [BZ #18234]
3231         * conform/data/sys/stat.h-data (struct stat): Add tests for st_atim,
3232         st_mtim and st_ctim members.
3233         * sysdeps/nacl/bits/stat.h (struct stat, struct stat64): Make
3234         st_atim, st_ctim, st_mtim visible under __USE_XOPEN2K8 only.
3235         * sysdeps/unix/sysv/linux/generic/bits/stat.h (struct stat,):
3236         (struct stat64): Likewise.
3237         * sysdeps/unix/sysv/linux/ia64/bits/stat.h (struct stat,):
3238         (struct stat64): Likewise.
3239         * sysdeps/unix/sysv/linux/microblaze/bits/stat.h (struct stat,):
3240         (struct stat64): Likewise.
3242 2015-05-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3244         * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c (HAVE_VSYSCALL):
3245         Define and include sysdep-vdso.h.
3246         * sysdeps/unix/sysv/linux/s390/gettimeofday.c (HAVE_VSYSCALL):
3247         Likewise.
3248         * sysdeps/unix/sysv/linux/tile/gettimeofday.c (HAVE_VSYSCALL):
3249         Likewise.
3250         * sysdeps/unix/sysv/linux/aarch64/init-first.c (__vdso_gettimeofday):
3251         Define with VDSO_SYMBOL and use PTR_MANGLE.
3252         (__vdso_clock_gettime): Likewise.
3253         (__vdso_clock_getres): Likewise.
3254         (_libc_vdso_platform_setup): Likewise.
3255         * sysdeps/unix/sysv/linux/i386/init-first.c (__vdso_clock_gettime):
3256         Likewise.
3257         (_libc_vdso_platform_setup): Likewise.
3258         * sysdeps/unix/sysv/linux/powerpc/init-first.c (__vdso_gettimeofday):
3259         Likewise.
3260         (__vdso_clock_gettime): Likewise.
3261         (__vdso_clock_getres): Likewise.
3262         (__vdso_get_tbfreq): Likewise.
3263         (__vdso_getcpu): Likewise.
3264         (__vdso_time): Likewise.
3265         (__vdso_sigtramp_rt64): Likewise.
3266         (__vdso_signtramp32): Likewise.
3267         (__vdso_sigtramp_rt32): Likewise.
3268         (_libc_vdso_platform_setup): Likewise.
3269         * sysdeps/unix/sysv/linux/s390/init-first.c (__vdso_gettimeofay):
3270         Likewise.
3271         (__vdso_clock_gettime): Likewise.
3272         (__vdso_clock_getres): Likewise.
3273         (_libc_vdso_platform_setup): Likewise.
3274         * sysdeps/unix/sysv/linux/tile/init-first.c (__vdso_gettimeofday):
3275         Likewise.
3276         (__vdso_clock_gettime): Likewise.
3277         (_libc_vdso_platform_setup): Likewise.
3278         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_clock_gettime):
3279         Likewise.
3280         (__vdso_getcpu): Likewise.
3281         * sysdeps/unix/sysv/linux/aarch64/libc-vdso.h (__vdso_gettimeoday):
3282         Use VDSO_SYMBOL macro to define.
3283         (__vdso_clock_gettime): Likewise.
3284         (__vdso_clock_getres): Likewise.
3285         * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h (__vdso_gettimeofday):
3286         Likewise.
3287         (__vdso_clock_gettime): Likewise.
3288         (__vdso_clock_getres): Likewise.
3289         (__vdso_get_tbfreq): Likewise.
3290         (__vdso_getcpu): Likewise.
3291         (__vdso_time): Likewise.
3292         (__vdso_sigtramp_rt64): Likewise.
3293         (__vdso_signtramp32): Likewise.
3294         (__vdso_sigtramp_rt32): Likewise.
3295         * sysdeps/unix/sysv/linux/s390/libc-vdso.h (__vdso_gettimeofday):
3296         Likewise.
3297         (__vdso_clock_gettime): Likewise.
3298         (__vdso_clock_getres): Likewise.
3299         * sysdeps/unix/sysv/linux/tile/libc-vdso.h (__vdso_gettimeofday):
3300         Likewise.
3301         (__vdso_clock_gettime): Likewise.
3302         * sysdeps/unix/sysv/linux/x86/libc-vdso.h (__vdso_clock_gettime):
3303         Likewise.
3304         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INLINE_VSYSCALL):  Remove
3305         macro.
3306         (INTERNAL_VSYSCALL): Likewise.
3307         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h (INLINE_VSYSCALL):
3308         Remove macro.
3309         (INTERNAL_VSYSCALL): Likewise.
3310         (INTERNAL_VSYSCALL_NCS): Likewise.
3311         (INTERNAL_VSYSCALL_CALL): New macro.
3312         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use PTR_DEMANGLE.
3313         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h (INLINE_VSYSCALL):
3314         Likewise.
3315         (INTERNAL_VSYSCALL): Likewise.
3316         (INTERNAL_VSYSCALL_NCS): Likewise.
3317         (INTERNAL_VSYSCALL_CALL): New macro.
3318         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use PTR_DEMANGLE.
3319         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
3320         (INLINE_VSYSCALL): Remove macro.
3321         (INTERNAL_VSYSCALL): Remove macro.
3322         (INTERNAL_VSYSCALL_NCS): Remove macro.
3323         (INTERNAL_VSYSCALL_CALL): New macro.
3324         (INTERNAL_VSYSCALL_CALL_TYPE): New macro.
3325         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use INTERNAL_VSYSCALL_CALL.
3326         (INTERNAL_VSYSCALL_NCS_TYPE): Likewise.
3327         (HAVE_CLOCK_GETRES_VSYSCALL): New define.
3328         (HAVE_CLOCK_GETTIME_VSYSCALL): Likewise.
3329         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
3330         (INLINE_VSYSCALL): Remove macro.
3331         (INTERNAL_VSYSCALL): Likewise.
3332         (INTERNAL_VSYSCALL_NCS): Likewise.
3333         (INTERNAL_VSYSCALL_CALL): New macro.
3334         (INTERNAL_VSYSCALL_CALL_TYPE): Likewise.
3335         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use INTERNAL_VSYSCALL_CALL and
3336         PTR_DEMANGLE on vDSO pointer.
3337         (INTERNAL_VSYSCALL_NCS_TYPE): Likewise.
3338         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Remove
3339         macro.
3340         (INTERNAL_SYSCALL): Likewise.
3341         (INTERNAL_VSYSCALL_NCS): Remove macro.
3342         (INTERNAL_VSYSCALL_CALL): New macro.
3343         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_VSYSCALL):
3344         Remove macro.
3345         (INTERNAL_VSYSCALL): Likewise.
3346         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Include
3347         sysdep-vdso.h instead of libc-vdso.h.
3348         * sysdeps/unix/sysv/linux/clock_getres.c (INTERNAL_VSYSCALL): Remove
3349         definition.
3350         (INLINE_VSYSCALL): Likewise.
3351         (HAVE_VSYSCALL) [HAVE_CLOCK_GETRES_VSYSCALL]: Define.
3352         * sysdeps/unix/sysv/linux/clock_gettime.c (INTERNAL_VSYSCALL): Remove
3353         definition.
3354         (INLINE_VSYSCALL): Likewise.
3355         (INTERNAL_VSYSCALL): Likewise.
3356         (HAVE_VSYSCALL) [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
3357         * sysdeps/unix/sysv/linux/timespec_get.c
3358         (INTERNAL_VSYSCALL) [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
3359         (timespec_get): Use ANSI prototype.
3360         * sysdeps/unix/sysv/linux/sysdep-vdso.h: New file: default vDSO macros
3361         and definition for Linux.
3363 2015-05-25  Andrew Senkevich  <andrew.senkevich@intel.com>
3365         * elf/Makefile (localplt-built-dso): libmvec added to localplt test.
3366         * include/libc-symbols.h: libmvec_hidden_* macro series added.
3368 2015-05-22  H.J. Lu  <hongjiu.lu@intel.com>
3370         [BZ #2981]
3371         [BZ #18410]
3372         * elf/dl-reloc.c (_dl_relocate_object): Don't issue an error
3373         for missing DT_PLTRELSZ.
3375 2015-05-22  Paul Eggert  <eggert@cs.ucla.edu>
3377         Remove obsolete aliases that broke 'locale -a'
3378         [BZ #18412]
3379         * intl/locale.alias: Remove obsolete aliases "bokmål" and "français"
3380         which caused 'locale -a' to output Latin-1 data in UTF-8 locales,
3381         breaking some applications that use 'locale -a' output.
3382         Change the encoding of this file from Latin-1 to ASCII to avoid
3383         other potential problems with people grepping this file.
3385 2015-05-22  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3387         * nptl/Makefile (CFLAGS-accept.c): Add -fexceptions and
3388         -fasynchronous-unwind-tables.
3389         (CFLAGS-sendto.c): Likewise.
3390         (CFLAGS-sendmsg.c): Likewise.
3391         (CFLAGS-connect.c): Likewise.
3392         (CFLAGS-recvmsg.c): Likewise.
3393         (CFLAGS-recvfrom.c): Likewise.
3394         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_invalid): Define.
3395         (SOCKETCALL): New macro: non-cancellable socketcall.
3396         (SOCKETCALL_CANCEL): New macro: cancellable socketcall.
3397         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = socket]: Remove
3398         internal_accept4, internal_recvmmsg, and internal_sendmmsg rules.
3399         * sysdeps/unix/sysv/linux/accept.c: New file.
3400         * sysdeps/unix/sysv/linux/bind.c: Likewise.
3401         * sysdeps/unix/sysv/linux/connect.c: Likewise.
3402         * sysdeps/unix/sysv/linux/getpeername.c: Likewise.
3403         * sysdeps/unix/sysv/linux/getsockname.c: Likewise.
3404         * sysdeps/unix/sysv/linux/getsockopt.c: Likewise.
3405         * sysdeps/unix/sysv/linux/listen.c: Likewise.
3406         * sysdeps/unix/sysv/linux/recv.c: Likewise.
3407         * sysdeps/unix/sysv/linux/recvfrom.c: Likewise.
3408         * sysdeps/unix/sysv/linux/recvmsg.c: Likewise.
3409         * sysdeps/unix/sysv/linux/send.c: Likewise.
3410         * sysdeps/unix/sysv/linux/sendmsg.c: Likewise.
3411         * sysdeps/unix/sysv/linux/sendto.c: Likewise.
3412         * sysdeps/unix/sysv/linux/setsockopt.c: Likewise.
3413         * sysdeps/unix/sysv/linux/shutdown.c: Likewise.
3414         * sysdeps/unix/sysv/linux/socket.c: Likewise.
3415         * sysdeps/unix/sysv/linux/socketpair.c: Likewise.
3416         * sysdeps/unix/sysv/linux/recvmmsg.c (__internal_recvmmsg): Remove
3417         prototype.
3418         (recvmmsg) [__ASSUME_RECVMMSG_SOCKETCALL]: Add C based implementation.
3419         (recvmmsg) [!__ASSUME_RECVMMSG_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
3420         instead of __internal_xxx function.
3421         * sysdeps/unix/sysv/linux/accept4.c (__internal_accept4): Remove
3422         prototype.
3423         (accept4) [__ASSUME_ACCEPT4_SOCKETCALL]: Add C based implementation.
3424         (accept4) [!__ASSUME_ACCEPT4_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
3425         instead of __internal_xxx function.
3426         * sysdeps/unix/sysv/linux/sendmmsg.c (__internal_sendmmsg): Remove
3427         prototype.
3428         (sendmmsg) [__ASSUME_SENDMMSG_SOCKETCALL]: Add C based implementation.
3429         (sendmmsg) [!__ASSUME_SENDMMSG_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
3430         instead of __internal_xxx function.
3431         * sysdeps/unix/sysv/linux/accept.S: Remove file.
3432         * sysdeps/unix/sysv/linux/bind.S: Likewise.
3433         * sysdeps/unix/sysv/linux/connect.S: Likewise.
3434         * sysdeps/unix/sysv/linux/getpeername.S: Likewise.
3435         * sysdeps/unix/sysv/linux/getsockname.S: Likewise.
3436         * sysdeps/unix/sysv/linux/getsockopt.S: Likewise.
3437         * sysdeps/unix/sysv/linux/arm/internal_accept4.S: Likewise.
3438         * sysdeps/unix/sysv/linux/arm/internal_recvmmsg.S: Likewise.
3439         * sysdeps/unix/sysv/linux/arm/internal_sendmmsg.S: Likewise.
3440         * sysdeps/unix/sysv/linux/i386/accept4.S: Likewise.
3441         * sysdeps/unix/sysv/linux/i386/internal_accept4.S: Likewise.
3442         * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
3443         * sysdeps/unix/sysv/linux/internal_accept4.S: Likewise.
3444         * sysdeps/unix/sysv/linux/internal_recvmmsg.S: Likewise.
3445         * sysdeps/unix/sysv/linux/internal_sendmmsg.S: Likewise.
3446         * sysdeps/unix/sysv/linux/listen.S: Likewise.
3447         * sysdeps/unix/sysv/linux/microblaze/socket.S: Likewise.
3448         * sysdeps/unix/sysv/linux/mips/mips32/internal_accept4.S: Likewise.
3449         * sysdeps/unix/sysv/linux/mips/mips32/internal_recvmmsg.S: Likewise.
3450         * sysdeps/unix/sysv/linux/mips/mips32/internal_sendmmsg.S: Likewise.
3451         * sysdeps/unix/sysv/linux/powerpc/powerpc32/socket.S: Likewise.
3452         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S: Likewise.
3453         * sysdeps/unix/sysv/linux/recv.S: Likewise.
3454         * sysdeps/unix/sysv/linux/recvfrom.S: Likewise.
3455         * sysdeps/unix/sysv/linux/recvmsg.S: Likewise.
3456         * sysdeps/unix/sysv/linux/s390/s390-32/socket.S: Likewise.
3457         * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
3458         * sysdeps/unix/sysv/linux/send.S: Likewise.
3459         * sysdeps/unix/sysv/linux/sendmsg.S: Likewise.
3460         * sysdeps/unix/sysv/linux/sendto.S: Likewise.
3461         * sysdeps/unix/sysv/linux/setsockopt.S: Likewise.
3462         * sysdeps/unix/sysv/linux/sh/socket.S: Likewise.
3463         * sysdeps/unix/sysv/linux/shutdown.S: Likewise.
3464         * sysdeps/unix/sysv/linux/socketpair.S: Likewise.
3465         * sysdeps/unix/sysv/linux/sparc/sparc32/socket.S: Likewise.
3466         * sysdeps/unix/sysv/linux/sparc/sparc64/socket.S: Likewise.
3467         * sysdeps/unix/sysv/linux/m68k/socket.S: Likewise.
3468         * sysdeps/unix/sysv/linux/hppa/socket.S: Likewise.
3469         * sysdeps/unix/sysv/linux/kernel-features.h: Adjust comment on how
3470         socketcall is implemented in GLIBC.
3472 2015-05-22  Joseph Myers  <joseph@codesourcery.com>
3474         * soft-fp/fmadf4.c: Include <libc-internal.h>.
3475         (__fma): Ignore uninitialized warnings around packing.
3476         * soft-fp/fmasf4.c: Include <libc-internal.h>.
3477         (__fmaf): Ignore uninitialized warnings around packing.
3478         * soft-fp/fmatf4.c: Include <libc-internal.h>.
3479         (__fmal): Ignore uninitialized warnings around packing.
3481         * sysdeps/ieee754/ldbl-128/k_tanl.c: Include <libc-internal.h>.
3482         (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
3483         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Include <libc-internal.h>.
3484         (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
3486         * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfcl): Make case 9 in
3487         switch statement into default case.
3488         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Likewise.
3490         * sysdeps/ieee754/ldbl-128/e_asinl.c (__ieee754_asinl): Don't use
3491         a conditional in forcing "inexact".
3492         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
3493         Likewise.
3495 2015-05-22  Roland McGrath  <roland@hack.frob.com>
3497         * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
3498         Use a separate INTERNAL_SYSCALL_DECL (err); in a local scope
3499         for each INTERNAL_SYSCALL use.
3501 2015-05-22  Joseph Myers  <joseph@codesourcery.com>
3503         [BZ #438]
3504         * posix/unistd.h (_POSIX2_C_VERSION): New macro.
3505         * conform/Makefile (test-xfail-POSIX/unistd.h/conform): Remove
3506         variable.
3508         [BZ #18444]
3509         * string/basename.c (basename): Rename to __basename and define as
3510         weak alias of __basename.  Use libc_hidden_weak.
3511         * include/string.h (__basename): Declare.  Use libc_hidden_proto.
3512         * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): Call
3513         __basename instead of basename.
3514         * conform/Makefile (test-xfail-POSIX2008/unistd.h/linknamespace):
3515         Remove variable.
3516         (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
3518 2015-05-18  Florian Weimer  <fweimer@redhat.com>
3520         * libio/libioP.h (_IO_MEMBER_TYPE, _IO_CAST_FIELD_ACCESS)
3521         (_IO_JUMPS_FILE_plus): New.
3522         (_IO_WIDE_JUMPS, _IO_CHECK_WIDE, _IO_JUMPS_FUNC): Use
3523         _IO_CAST_FIELD_ACCESS.
3524         * libio/fileops.c (libc_hidden_def, _IO_file_setbuf_mmap,
3525         mmap_remap_check, decide_maybe_mmap): Use _IO_JUMPS_FILE_plus.
3526         * libio/freopen.c (freopen): Likewise.
3527         * libio/freopen64.c (freopen64): Likewise.
3528         * libio/iofopen.c (__fopen_maybe_mmap): Likewise.
3529         * libio/iofopncook.c (_IO_old_fopencookie): Likewise.
3530         * libio/iofwide.c (_IO_fwide): Likewise.
3531         * libio/memstream.c (open_memstream): Likewise.
3532         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
3533         * libio/oldiofopen.c (_IO_old_fopen): Likewise.
3534         * libio/oldiopopen.c (_IO_old_popen): Likewise.
3536 2015-05-21  Joseph Myers  <joseph@codesourcery.com>
3538         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Include <libc-internal.h>.
3539         (__ieee754_lgamma_r): Ignore uninitialized warnings around use of
3540         NADJ.
3541         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Include <libc-internal.h>.
3542         (__ieee754_lgammaf_r): Ignore uninitialized warnings around use of
3543         NADJ.
3544         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Include <libc-internal.h>.
3545         (__ieee754_lgammal_r): Ignore uninitialized warnings around use of
3546         NADJ.
3548         * sysdeps/ieee754/dbl-64/mpa.c (norm): Remove if condition on
3549         (p == 4) case.
3551         * conform/linknamespace.pl (@whitelist): Add re_syntax_options.
3552         * conform/Makefile (test-xfail-UNIX98/regex.h/linknamespace):
3553         Remove variable.
3554         (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
3555         (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
3556         (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
3558 2015-05-21  Florian Weimer  <fweimer@redhat.com>
3560         * stdio-common/vfprintf.c (LABEL, JUMP_TABLE_BASE_LABEL, REF):
3561         Adjust jump table label generation macros.
3563 2015-05-21  Florian Weimer  <fweimer@redhat.com>
3565         * stdio-common/vfprintf.c (vfprintf): Move local variables
3566         args_malloced, specs, specs_malloced, and the code after
3567         do_positional to the printf_positional function.
3568         (printf_positional): New function.
3570 2015-05-21  Florian Weimer  <fweimer@redhat.com>
3572         * stdio-common/vfprintf.c (jump_table): Move out of the vfprintf
3573         function.
3574         (NOT_IN_JUMP_RANGE, CHAR_CLASS, LABEL, REF, JUMP, STEP0_3_TABLE,
3575         STEP4_TABLE, process_arg): Move macro definitions
3576         out of the vfprintf function.  (Cosmetic change only.)
3578 2015-05-21  Carlos O'Donell  <carlos@redhat.com>
3580         * benchtests/Makefile (stdio-common-bench): Define.
3581         (benchset): Add stdio-common-bench.
3582         * sprintf-inputs: New file.
3583         * sprintf-source.c: New file.
3585 2015-05-21  Andreas Schwab  <schwab@suse.de>
3587         [BZ #13028]
3588         [BZ #17053]
3589         * resolv/res_init.c (__res_vinit): Remove use of ext.nsmap member
3590         of struct __res_state.
3591         * resolv/res_send.c (__libc_res_nsend): Likewise.
3592         (get_nsaddr): New function.
3593         (res_ourserver_p, send_vc, reopen): Use it instead of accessing
3594         statp directly.
3596 2015-05-20  Joseph Myers  <joseph@codesourcery.com>
3598         * conform/GlibcConform.pm ($CFLAGS{"POSIX"}): Use
3599         -D_POSIX_C_SOURCE=199506L.
3601         * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Require.
3603         * conform/data/unistd.h-data (_POSIX_VERSION): Require.
3604         (_POSIX2_C_VERSION): Require if [POSIX || XPG3 || XPG4 || UNIX98].
3605         Do not mention otherwise.
3606         [POSIX] (_XOPEN_VERSION): Do not expect.
3607         [POSIX] (_XOPEN_XCU_VERSION): Likewise.
3608         [POSIX] (_POSIX2_C_BIND): Likewise.
3609         [POSIX] (_POSIX2_VERSION): Likewise.
3610         [POSIX] (_XOPEN_XPG2): Likewise.
3611         [POSIX] (_XOPEN_XPG3): Likewise.
3612         [POSIX] (_XOPEN_XPG4): Likewise.
3613         [POSIX] (_XOPEN_UNIX): Likewise.
3614         [POSIX] (_POSIX_ADVISORY_INFO): Likewise.
3615         [POSIX] (_POSIX_BARRIERS): Likewise.
3616         [POSIX] (_POSIX_CLOCK_SELECTION): Likewise.
3617         [POSIX] (_POSIX_CPUTIME): Likewise.
3618         [POSIX] (_POSIX_MONOTONIC_CLOCK): Likewise.
3619         [POSIX] (_POSIX_READER_WRITER_LOCKS): Likewise.
3620         [POSIX] (_POSIX_SHELL): Likewise.
3621         [POSIX] (_POSIX_SPAWN): Likewise.
3622         [POSIX] (_POSIX_SPIN_LOCKS): Likewise.
3623         [POSIX] (_POSIX_SPORADIC_SERVER): Likewise.
3624         [POSIX] (_POSIX_THREAD_CPUTIME): Likewise.
3625         [POSIX] (_POSIX_TYPED_MEMORY_OBJECTS): Likewise.
3626         [POSIX] (_POSIX_THREAD_SPORADIC_SERVER): Likewise.
3627         [POSIX] (_XBS5_ILP32_OFF32): Likewise.
3628         [POSIX] (_XBS5_ILP32_OFBIG): Likewise.
3629         [POSIX] (_XBS5_LP64_OFF64): Likewise.
3630         [POSIX] (_XBS5_LPBIG_OFFBIG): Likewise.
3631         [POSIX] (_POSIX_TIMEOUTS): Likewise.
3632         [POSIX] (_POSIX2_PBS): Likewise.
3633         [POSIX] (_POSIX2_PBS_ACCOUNTING): Likewise.
3634         [POSIX] (_POSIX2_PBS_CHECKPOINT): Likewise.
3635         [POSIX] (_POSIX2_PBS_LOCATE): Likewise.
3636         [POSIX] (_POSIX2_PBS_MESSAGE): Likewise.
3637         [POSIX] (_POSIX2_PBS_TRACK): Likewise.
3638         [POSIX] (_POSIX_TIMESTAMP_RESOLUTION): Likewise.
3639         [POSIX] (_CS_XBS5_ILP32_OFF32_CFLAGS): Likewise.
3640         [POSIX] (_CS_XBS5_ILP32_OFF32_LDFLAGS): Likewise.
3641         [POSIX] (_CS_XBS5_ILP32_OFF32_LIBS): Likewise.
3642         [POSIX] (_CS_XBS5_ILP32_OFF32_LINTFLAGS): Likewise.
3643         [POSIX] (_CS_XBS5_ILP32_OFFBIG_CFLAGS): Likewise.
3644         [POSIX] (_CS_XBS5_ILP32_OFFBIG_LDFLAGS): Likewise.
3645         [POSIX] (_CS_XBS5_ILP32_OFFBIG_LIBS): Likewise.
3646         [POSIX] (_CS_XBS5_ILP32_OFFBIG_LINTFLAGS): Likewise.
3647         [POSIX] (_CS_XBS5_LP64_OFF64_CFLAGS): Likewise.
3648         [POSIX] (_CS_XBS5_LP64_OFF64_LDFLAGS): Likewise.
3649         [POSIX] (_CS_XBS5_LP64_OFF64_LIBS): Likewise.
3650         [POSIX] (_CS_XBS5_LP64_OFF64_LINTFLAGS): Likewise.
3651         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_CFLAGS): Likewise.
3652         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LDFLAGS): Likewise.
3653         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LIBS): Likewise.
3654         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LINTFLAGS): Likewise.
3655         [POSIX] (_SC_2_C_BIND): Likewise.
3656         [POSIX] (_SC_2_C_VERSION): Likewise.
3657         [POSIX] (_SC_2_PBS): Likewise.
3658         [POSIX] (_SC_2_PBS_ACCOUNTING): Likewise.
3659         [POSIX] (_SC_2_PBS_CHECKPOINT): Likewise.
3660         [POSIX] (_SC_2_PBS_LOCATE): Likewise.
3661         [POSIX] (_SC_2_PBS_MESSAGE): Likewise.
3662         [POSIX] (_SC_2_PBS_TRACK): Likewise.
3663         [POSIX] (_SC_ATEXIT_MAX): Likewise.
3664         [POSIX] (_SC_BARRIERS): Likewise.
3665         [POSIX] (_SC_BASE): Likewise.
3666         [POSIX] (_SC_CLOCK_SELECTION): Likewise.
3667         [POSIX] (_SC_DEVICE_IO): Likewise.
3668         [POSIX] (_SC_DEVICE_SPECIFIC): Likewise.
3669         [POSIX] (_SC_DEVICE_SPECIFIC_R): Likewise.
3670         [POSIX] (_SC_FD_MGMT): Likewise.
3671         [POSIX] (_SC_FIFO): Likewise.
3672         [POSIX] (_SC_FILE_ATTRIBUTES): Likewise.
3673         [POSIX] (_SC_FILE_LOCKING): Likewise.
3674         [POSIX] (_SC_FILE_SYSTEM): Likewise.
3675         [POSIX] (_SC_IOV_MAX): Likewise.
3676         [POSIX] (_SC_MONOTONIC_CLOCK): Likewise.
3677         [POSIX] (_SC_NETWORKING): Likewise.
3678         [POSIX] (_SC_PAGE_SIZE): Likewise.
3679         [POSIX] (_SC_PASS_MAX): Likewise.
3680         [POSIX] (_SC_PIPE): Likewise.
3681         [POSIX] (_SC_READER_WRITER_LOCKS): Likewise.
3682         [POSIX] (_SC_REGEXP): Likewise.
3683         [POSIX] (_SC_SHELL): Likewise.
3684         [POSIX] (_SC_SIGNALS): Likewise.
3685         [POSIX] (_SC_SINGLE_PROCESS): Likewise.
3686         [POSIX] (_SC_SPIN_LOCKS): Likewise.
3687         [POSIX] (_SC_TYPED_MEMORY_OBJECTS): Likewise.
3688         [POSIX] (_SC_USER_GROUPS): Likewise.
3689         [POSIX] (_SC_USER_GROUPS_R): Likewise.
3690         [POSIX] (_SC_STREAMS): Likewise.
3691         [POSIX] (_SC_XBS5_ILP32_OFF32): Likewise.
3692         [POSIX] (_SC_XBS5_ILP32_OFFBIG): Likewise.
3693         [POSIX] (_SC_XBS5_LP64_OFF64): Likewise.
3694         [POSIX] (_SC_XBS5_LPBIG_OFFBIG): Likewise.
3695         [POSIX] (_SC_THREAD_ROBUST_PRIO_INHERIT): Likewise.
3696         [POSIX] (_SC_THREAD_ROBUST_PRIO_PROTECT): Likewise.
3697         [POSIX] (_PC_FILESIZEBITS): Likewise.
3698         [POSIX] (_PC_REC_INCR_XFER_SIZE): Likewise.
3699         [POSIX] (_PC_REC_MAX_XFER_SIZE): Likewise.
3700         [POSIX] (_PC_REC_MIN_XFER_SIZE): Likewise.
3701         [POSIX] (_PC_REC_XFER_ALIGN): Likewise.
3702         [POSIX] (uid_t): Likewise.
3703         [POSIX] (gid_t): Likewise.
3704         [POSIX] (off_t): Likewise.
3705         [POSIX] (pid_t): Likewise.
3706         [POSIX] (cuserid): Allow.
3707         (_SC_2_CHAR_TERM): Require constant.
3708         (_POSIX_ASYNCHRONOUS_IO): Remove duplicate optional-constant.
3709         * conform/Makefile (test-xfail-POSIX/unistd.h/conform): New
3710         variable.
3712 2015-05-20  Roland McGrath  <roland@hack.frob.com>
3714         * sysdeps/nacl/pthread-pids.h: New file.
3715         * sysdeps/nacl/createthread.c: Include <pthread-pids.h>.
3716         (create_thread): Use __nacl_get_tid to initialize PD->tid.
3718         * nptl/pthread-pids.h: New file.
3719         * sysdeps/unix/sysv/linux/pthread-pids.h: New file.
3720         * nptl/nptl-init.c: Include <pthread-pids.h>.
3721         (__pthread_initialize_minimal_internal):
3722         Call __pthread_initialize_pids instead of set_tid_address syscall.
3724         * sysdeps/unix/sysv/linux/usleep.c: Moved to ...
3725         * sysdeps/posix/usleep.c: ... here.
3727 2015-05-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3729         * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = misc)]: Remove
3730         call_pselect6 object.
3731         [$(subdir) = io]: Remove call_sync_file_range object.
3732         * sysdeps/unix/sysv/linux/i386/call_pselect6.S: Remove file.
3733         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Remove file.
3734         * sysdeps/unix/sysv/linux/i386/pselect.c: Remove file.
3735         * sysdeps/unix/sysv/linux/i386/sync_file_range.c: Remove file.
3737 2015-05-20  Wilco Dijkstra  <wdijkstr@arm.com>
3739         * math/s_cproj.c: Add include "math_private.h".
3740         * math/s_cprojf.c: Likewise.
3741         * math/s_cprojl.c: Likewise.
3743 2015-05-19  Joseph Myers  <joseph@codesourcery.com>
3745         [BZ #18244]
3746         * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Ignore explicit
3747         high mantissa bit when testing whether P is a NaN.
3748         * math/libm-test.inc (remainder_test_data): Add more tests.
3749         (remquo_test_data): Likewise.
3751         [BZ #18049]
3752         * sysdeps/i386/fpu/e_atanhl.S (__ieee754_atanhl): For exponents
3753         below -32, return the argument, with underflow if subnormal.
3754         * math/auto-libm-test-in: Add more tests of atanh.
3755         * math/auto-libm-test-out: Regenerated.
3757 2015-05-19  Roland McGrath  <roland@hack.frob.com>
3759         [BZ #18434]
3760         * nptl/tst-sem15.c: New file.
3761         * nptl/Makefile (tests): Add it.
3762         * nptl/sem_post.c (__new_sem_post) [!__HAVE_64B_ATOMICS]:
3763         s/<</>>/ to fix typo in EOVERFLOW check.
3764         * sysdeps/sparc/sparc32/sem_post.c (__new_sem_post): Likewise.
3766 2015-05-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
3768         * manual/strings.texi (envz_remove): Fix typo in safety
3769         annotations.
3771 2015-05-19  Paul Eggert  <eggert@cs.ucla.edu>
3772             Steve Ellcey  <sellcey@imgtec.com>
3774         * inet/rcmd.c (rresvport_af): Change ss to anonymous union
3775         in order to avoid strict alias warnings.
3776         (iruserok_af): Ditto for ra.
3778 2015-05-19  James Lemke  <jwlemke@codesourcery.com>
3780         [BZ #17581]
3781         * malloc/hooks.c
3782         (magicbyte): Convert to a function and avoid returning 0x01.
3783         (mem2mem_check): Avoid using a length byte equal to the magic byte.
3784         (mem2chunk_check): Fix unsigned comparisons to zero.
3785         Hoist defs of sz and magic.
3787 2015-05-19  Richard Henderson  <rth@redhat.com>
3789         * soft-fp/op-common.h (_FP_FROM_INT): Don't write to R.
3791         * sysdeps/alpha/fpu/libm-test-ulps: Update.
3793 2015-05-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
3795         [BZ #16159]
3796         * malloc/Makefile (tests): New test case tst-malloc-backtrace.
3797         * malloc/arena.c (arena_lock): Check if arena is corrupt.
3798         (reused_arena): Find a non-corrupt arena.
3799         (heap_trim): Pass arena to unlink.
3800         * malloc/hooks.c (malloc_check_get_size): Pass arena to
3801         malloc_printerr.
3802         (top_check): Likewise.
3803         (free_check): Likewise.
3804         (realloc_check): Likewise.
3805         * malloc/malloc.c (malloc_printerr): Add arena argument.
3806         (unlink): Likewise.
3807         (munmap_chunk): Adjust.
3808         (ARENA_CORRUPTION_BIT): New macro.
3809         (arena_is_corrupt): Likewise.
3810         (set_arena_corrupt): Likewise.
3811         (sysmalloc): Use mmap if there are no usable arenas.
3812         (_int_malloc): Likewise.
3813         (__libc_malloc): Don't fail if arena_get returns NULL.
3814         (_mid_memalign): Likewise.
3815         (__libc_calloc): Likewise.
3816         (__libc_realloc): Adjust for additional argument to
3817         malloc_printerr.
3818         (_int_free): Likewise.
3819         (malloc_consolidate): Likewise.
3820         (_int_realloc): Likewise.
3821         (_int_memalign): Don't touch corrupt arenas.
3822         * malloc/tst-malloc-backtrace.c: New test case.
3824         * Makefile (summarize-tests): Fix return value on success.
3826         * manual/string.texi (Envz Functions): Add envz_remove.
3828 2015-05-18  Roland McGrath  <roland@hack.frob.com>
3830         * sysdeps/posix/opendir.c: Include <stdbool.h>.
3831         (invalid_name): New function, broken out of ...
3832         (__opendirat): ... here.  Call it.
3833         (need_isdir_precheck): New function, broken out of ...
3834         (__opendirat): ... here.  Call it.
3835         Use __fxstatat64, not __xstatat64.
3836         (opendir_oflags): New function, broken out of ...
3837         (__opendirat): ... here.  Call it.
3838         (opendir_tail): New function, broken out of ...
3839         (__opendirat): ... here.  Call it.
3840         (__opendir): Call invalid_name, need_isdir_precheck, __xstat64, and
3841         opendir_tail, rather than punting to __opendirat.
3842         (__opendirat): Conditionalize function definition on [IS_IN (libc)].
3844 2015-05-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
3846         * .gitignore: Ignore generated *.pyc.
3848 2015-05-18  Arjun Shankar  <arjun.is@lostca.se>
3850         * include/stdio.h: Define __need_wint_t.
3851         * test-skeleton.c: Avoid `for' loop initial declaration.
3852         * nptl/tst-initializers1.c: Use test-skeleton.c.
3854 2015-05-17  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3856         [BZ #18418]
3857         * stdlib/tst-setcontext3.sh: Remove non-portable array use.
3859 2015-05-15  Joseph Myers  <joseph@codesourcery.com>
3861         [BZ #16352]
3862         * sysdeps/i386/fpu/e_atanh.S (dbl_min): New object.
3863         (__ieee754_atanh): Force underflow exception for results with
3864         small absolute value.
3865         * sysdeps/i386/fpu/e_atanhf.S (flt_min): New object.
3866         (__ieee754_atanhf): Force underflow exception for results with
3867         small absolute value.
3868         * sysdeps/ieee754/dbl-64/e_atanh.c: Include <float.h>.
3869         (__ieee754_atanh): Force underflow exception for results with
3870         small absolute value.
3871         * sysdeps/ieee754/flt-32/e_atanhf.c: Include <float.h>.
3872         (__ieee754_atanhf): Force underflow exception for results with
3873         small absolute value.
3874         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Include <float.h>.
3875         (__ieee754_atanhl): Force underflow exception for results with
3876         small absolute value.
3877         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Include <float.h>.
3878         (__ieee754_atanhl): Force underflow exception for results with
3879         small absolute value.
3880         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Include <float.h>.
3881         (__ieee754_atanhl): Force underflow exception for results with
3882         small absolute value.
3883         * math/auto-libm-test-in: Do not allow missing underflow
3884         exceptions from atanh.
3885         * math/auto-libm-test-out: Regenerated.
3887         [BZ #18221]
3888         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use 2**-13 not
3889         2**-28 as threshold for returning x or +/- 1/x.
3890         * math/auto-libm-test-in: Add more tests of tan.
3891         * math/auto-libm-test-out: Regenerated.
3893         [BZ #18220]
3894         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
3895         2**26 not 2**58 as threshold for returning x * (log (x) - 1).
3896         * math/auto-libm-test-in: Add another test of lgamma.
3897         * math/auto-libm-test-out: Regenerated.
3899 2015-05-15  Wilco Dijkstra  <wdijkstr@arm.com>
3901         * stdio-common/printf_fp.c (___printf_fp): Use abs.
3902         * stdlib/gmp-impl.h (ABS): Remove define.  (ABSIZ): Remove.
3903         * sysdeps/ieee754/dbl-64/branred.c (__branred): Use fabs.
3904         * sysdeps/ieee754/dbl-64/dla.h (EADD): Use fabs.
3905         (ESUB): Use fabs.  (ADD2): Use fabs.  (SUB2): Use fabs.
3906         (ADD2A): Use fabs.  (SUB2A): Use fabs.
3907         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Use fabs.
3908         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Use fabs.
3909         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use fabs.
3910         (log1): Use fabs.  (my_log2): Use fabs.
3911         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): Use fabs.
3912         * sysdeps/ieee754/dbl-64/mpa.h (ABS): Remove define.
3913         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use fabs.
3914         * sysdeps/ieee754/dbl-64/mydefs.h (ABS): Remove define.
3915         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use fabs.
3916         (__cos): Use fabs.  (slow): Use fabs.  (slow2): Use fabs.
3917         (sloww): Use fabs.  (sloww1): Use fabs.  (sloww2): Use fabs.
3918         (bslow1): Use fabs.  (bslow2): Use fabs.  (cslow2): Use fabs.
3919         (csloww): Use fabs.  (csloww1): Use fabs.  (csloww2): Use fabs.
3920         * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Use fabs.
3921         * sysdeps/x86_64/fpu/multiarch/e_log.c: add math.h include.
3923 2015-05-15  Joseph Myers  <joseph@codesourcery.com>
3925         [BZ #18217]
3926         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Use 2**-26 not 2**-56
3927         as threshold for returning 1 - x.
3928         * math/auto-libm-test-in: Add more tests of erfc.
3929         * math/auto-libm-test-out: Regenerated.
3931 2015-05-14  Joseph Myers  <joseph@codesourcery.com>
3933         [BZ #18196]
3934         * sysdeps/ieee754/flt-32/s_atanf.c (__atanf): Use 2^25 not 2^34 as
3935         threshold for large arguments.
3936         * math/auto-libm-test-in: Add another test of atan.
3937         * math/auto-libm-test-out: Regenerated.
3939         [BZ #16339]
3940         * sysdeps/i386/fpu/s_log1p.S (dbl_min): New object.
3941         (__log1p): Force underflow exception for results with small
3942         absolute value.
3943         * sysdeps/i386/fpu/s_log1pf.S (flt_min): New object.
3944         (__log1pf): Force underflow exception for results with small
3945         absolute value.
3946         * sysdeps/ieee754/dbl-64/s_log1p.c: Include <float.h>.
3947         (__log1p): Force underflow exception for results with small
3948         absolute value.
3949         * sysdeps/ieee754/flt-32/s_log1pf.c: Include <float.h>.
3950         (__log1pf): Force underflow exception for results with small
3951         absolute value.
3952         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Include <float.h>.
3953         (__log1pl): Force underflow exception for results with small
3954         absolute value.
3955         * math/auto-libm-test-in: Do not allow missing underflow
3956         exceptions from log1p.
3957         * math/auto-libm-test-out: Regenerated.
3959 2015-05-14  Jakub Bogusz  <qboosh@pld-linux.org>
3960             Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3962         [BZ #16704]
3963         * sysdeps/unix/make-syscalls.sh: Remove non-portable echo usage.
3965 2015-05-14  Andrew Senkevich  <andrew.senkevich@intel.com>
3967         * Makeconfig (rpath-dirs, all-subdirs): Added mathvec folder.
3968         (libmvec): New variable.
3969         * configure.ac: Added option for mathvec build.
3970         * configure: Regenerated.
3971         * mathvec/Depend: New file.
3972         * mathvec/Makefile: New file.
3973         * shlib-versions: Added libmvec.
3974         * math/Makefile: Added rule for libm.so installation.
3976         * bits/math-vector.h: New file.
3977         * bits/libm-simd-decl-stubs.h: New header.
3978         * math/Makefile (headers): Added new header
3979         libm-simd-decl-stubs.h.
3980         * math/math.h (__MATHCALL_VEC): New macro.
3982         * math/gen-libm-have-vector-test.sh: Script generates series of macros
3983         for conditions in testing functions.
3984         * math/Makefile: Added call of libm-have-vector-test.sh.
3985         * math/libm-test.inc (HAVE_VECTOR): New macros.
3987         * math/libm-test.inc: START refactored.
3988         * math/test-double.c (TEST_MATHVEC): Add define.
3989         * math/test-float.c: Likewise.
3990         * math/test-idouble.c: Likewise.
3991         * math/test-ifloat.c: Likewise.
3992         * math/test-ildoubl.c: Likewise.
3993         * math/test-ldouble.c: Likewise.
3994         * sysdeps/generic/math-tests-arch.h
3995         (INIT_ARCH_EXT, CHECK_ARCH_EXT): New helper macros for runtime
3996         architecture check.
3998         * math/test-double.c (FUNC_TEST): New macro.
3999         * math/test-float.c: Likewise.
4000         * math/test-idouble.c: Likewise.
4001         * math/test-ifloat.c: Likewise.
4002         * math/test-ildoubl.c: Likewise.
4003         * math/test-ldouble.c: Likewise.
4004         * math/libm-test.inc: Use FUNC_TEST for name of tested functions.
4006 2015-05-13  Roland McGrath  <roland@hack.frob.com>
4008         * sysdeps/nacl/fdopendir.c: New file.
4010         * dirent/scandir-tail.c: New file.
4011         * dirent/scandir64-tail.c: New file.
4012         * dirent/Makefile (routines): Add them.
4013         (CFLAGS-scandir-tail.c, CFLAGS-scandir64-tail.c): New variables.
4014         * include/dirent.h (__scandir_tail, __scandir64_tail): Declare them.
4015         * dirent/scandir.c [!SCANDIR] (SCANDIRAT): Macro removed.
4016         [!SCANDIR] (SCANDIR_TAIL): New macro.
4017         (SCANDIR): Call __opendir and __scandir_tail, not __scandirat.
4018         * dirent/scandir64.c [!_DIRENT_MATCHES_DIRENT64]
4019         (SCANDIRAT): Macro removed.
4020         (SCANDIR_TAIL): New macro.
4021         * dirent/scandirat.c [!SCANDIRAT] (READDIR): Macro removed.
4022         [!SCANDIRAT] (SCANDIR_TAIL): New macro.
4023         (SCANDIRAT): Just call __opendirat and __scandir_tail.
4024         * dirent/scandirat64.c [!_DIRENT_MATCHES_DIRENT64]
4025         (READDIR): Macro removed.
4026         (SCANDIR_TAIL): New macro.
4027         * sysdeps/unix/sysv/linux/i386/scandir64.c (READDIR): Macro removed.
4028         (SCANDIR_TAIL): New macro.
4030         * dirent/scandirat.c (__scandir_cancel_handler): Function moved ...
4031         * dirent/scandir-cancel.c: ... to this new file.
4032         * dirent/Makefile (routines): Add it.
4033         * dirent/scandirat64.c (SKIP_SCANDIR_CANCEL): Macro removed.
4034         * sysdeps/unix/sysv/linux/i386/scandir64.c
4035         (SKIP_SCANDIR_CANCEL): Macro removed.
4036         * include/dirent.h (__scandir_cancel_handler): Add attribute_hidden.
4038         * dirent/tst-scandir.c: New file.
4039         * dirent/tst-scandir64.c: New file.
4040         * dirent/Makefile (tests): Add them.
4042 2015-05-13  H.J. Lu  <hongjiu.lu@intel.com>
4044         [BZ #18409]
4045         * sysdeps/unix/make-syscalls.sh: Remove a trailing `\'.
4047 2015-05-13  Szabolcs Nagy  <szabolcs.nagy@arm.com>
4049         * sysdeps/aarch64/tls-macros.h (TLS_GD): Add "cc" to the clobber
4050         list.
4052 2015-05-13  Leonhard Holz  <leonhard.holz@web.de>
4054         * benchtests/bench-strcoll.c: New benchmark.
4055         * benchtests/Makefile: Generate locales and run benchmark.
4056         * benchtests/strcoll-inputs/filelist#C: New benchmark input file.
4057         * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Likewise.
4058         * benchtests/strcoll-inputs/lorem_ipsum#ar_SA.UTF-8: Likewise.
4059         * benchtests/strcoll-inputs/lorem_ipsum#cs_CZ.UTF-8: Likewise.
4060         * benchtests/strcoll-inputs/lorem_ipsum#da_DK.UTF-8: Likewise.
4061         * benchtests/strcoll-inputs/lorem_ipsum#el_GR.UTF-8: Likewise.
4062         * benchtests/strcoll-inputs/lorem_ipsum#en_GB.UTF-8: Likewise.
4063         * benchtests/strcoll-inputs/lorem_ipsum#en_US.UTF-8: Likewise.
4064         * benchtests/strcoll-inputs/lorem_ipsum#es_ES.UTF-8: Likewise.
4065         * benchtests/strcoll-inputs/lorem_ipsum#fr_FR.UTF-8: Likewise.
4066         * benchtests/strcoll-inputs/lorem_ipsum#hi_IN.UTF-8: Likewise.
4067         * benchtests/strcoll-inputs/lorem_ipsum#hu_HU.UTF-8: Likewise.
4068         * benchtests/strcoll-inputs/lorem_ipsum#is_IS.UTF-8: Likewise.
4069         * benchtests/strcoll-inputs/lorem_ipsum#it_IT.UTF-8: Likewise.
4070         * benchtests/strcoll-inputs/lorem_ipsum#iw_IL.UTF-8: Likewise.
4071         * benchtests/strcoll-inputs/lorem_ipsum#ja_JP.UTF-8: Likewise.
4072         * benchtests/strcoll-inputs/lorem_ipsum#pl_PL.UTF-8: Likewise.
4073         * benchtests/strcoll-inputs/lorem_ipsum#pt_PT.UTF-8: Likewise.
4074         * benchtests/strcoll-inputs/lorem_ipsum#ru_RU.UTF-8: Likewise.
4075         * benchtests/strcoll-inputs/lorem_ipsum#sr_RS.UTF-8: Likewise.
4076         * benchtests/strcoll-inputs/lorem_ipsum#sv_SE.UTF-8: Likewise.
4077         * benchtests/strcoll-inputs/lorem_ipsum#tr_TR.UTF-8: Likewise.
4078         * benchtests/strcoll-inputs/lorem_ipsum#vi_VN.UTF-8: Likewise.
4079         * benchtests/strcoll-inputs/lorem_ipsum#zh_CN.UTF-8: Likewise.
4081 2015-05-12  Ondřej Bílka  <neleai@seznam.cz>
4083         * sysdeps/x86_64/multiarch/strcspn.S: Remove plt indirection.
4084         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
4086 2015-05-12  Roland McGrath  <roland@hack.frob.com>
4088         * posix/uname-values.h: New file.
4089         * posix/uname.c: Include that instead of <config-name.h>.
4090         * sysdeps/nacl/uname-values.h: New file.
4091         * sysdeps/arm/nacl/uname-values.h: New file.
4093 2015-05-12  Joseph Myers  <joseph@codesourcery.com>
4095         * conform/linknamespace.pl (list_syms): Remove \[.*?\] before
4096         splitting into fields.
4098 2015-05-12  Leonhard Holz  <leonhard.holz@web.de>
4100         * locale/categories.def: Define _NL_COLLATE_ENCODING_TYPE.
4101         * locale/langinfo.h: Add _NL_COLLATE_ENCODING_TYPE to attribute list.
4102         * locale/localeinfo.h: Add enum collation_encoding_type.
4103         * locale/C-collate.c: Set _NL_COLLATE_ENCODING_TYPE to 8bit.
4104         * programs/ld-collate.c (collate_output): Add encoding type info.
4105         * string/strcoll_l.c (STRDIFF): New function.
4106         * (STRCOLL): Use STRDIFF to skip over equal prefix.
4107         * wcsmbs/wcscoll_l.c: Define STRDIFF.
4109 2015-05-11  Joseph Myers  <joseph@codesourcery.com>
4111         [BZ #18397]
4112         * sysdeps/mips/mips32/fpu/fpu_control.c: Move to ....
4113         * sysdeps/mips/mips32/fpu/fpucw-helpers.c: ... here.  Include
4114         <fpu_control.h> instead of <math/fpu_control.c>.
4115         * sysdeps/mips/mips32/fpu/Makefile: New file.
4117 2015-05-11  Andreas Schwab  <schwab@suse.de>
4119         [BZ #18007]
4120         * nis/nss_compat/compat-grp.c (internal_endgrent): Don't call
4121         nss_endgrent.
4122         (_nss_compat_endgrent): Call nss_endgrent.
4123         * nis/nss_compat/compat-pwd.c (internal_endpwent): Don't call
4124         nss_endpwent.
4125         (_nss_compat_endpwent): Call nss_endpwent.
4126         * nis/nss_compat/compat-spwd.c (internal_setspent): Add parameter
4127         needent, call nss_setspent only if non-zero.
4128         (_nss_compat_setspent, _nss_compat_getspent_r): Pass non-zero.
4129         (internal_endspent): Don't call nss_endspent.
4130         (_nss_compat_endspent): Call nss_endspent.
4131         * nss/nss_files/files-XXX.c (position, last_use, keep_stream):
4132         Remove.  All uses removed.
4133         (internal_setent): Remove parameter stayopen, add parameter
4134         stream.  Use it instead of global variable.
4135         (CONCAT(_nss_files_set,ENTNAME)): Pass global stream.
4136         (internal_endent, internal_getent): Add parameter stream.  Use it
4137         instead of global variable.
4138         (CONCAT(_nss_files_end,ENTNAME))
4139         (CONCAT(_nss_files_get,ENTNAME_r)): Pass global stream.
4140         (_nss_files_get##name##_r): Pass local stream.  Remove locking.
4141         * nss/nss_files/files-alias.c (position, last_use): Remove.  All
4142         uses removed.
4143         (internal_setent, internal_endent): Add parameter stream.  Use it
4144         instead of global variable.
4145         (_nss_files_setaliasent, _nss_files_endaliasent): Pass global
4146         stream.
4147         (get_next_alias): Add parameter stream.
4148         (_nss_files_getaliasent_r): Pass global stream.
4149         (_nss_files_getaliasbyname_r): Pass local stream.  Remove locking.
4150         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r)
4151         (_nss_files_gethostbyname4_r): Pass local stream to
4152         internal_setent, internal_getent and internal_endent.  Remove
4153         locking.
4155 2015-05-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
4157         * tst-strfmon1.c (tests): Update expected currency symbol.
4159 2015-05-08  Roland McGrath  <roland@hack.frob.com>
4161         * sysdeps/nacl/gethostname.c: New file.
4163 2015-05-08  Joseph Myers  <joseph@codesourcery.com>
4165         * math/auto-libm-test-in: Add more tests of csqrt, lgamma, log10
4166         and sinh.
4167         * math/auto-libm-test-out: Regenerated.
4168         * sysdeps/i386/fpu/libm-test-ulps: Update.
4169         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4171 2015-05-08  Carlos O'Donell  <carlos@redhat.com>
4173         [BZ #18125]
4174         * stdlib/tst-setcontext3.c: New file.
4175         * stdlib/tst-setcontext3.sh: New file.
4176         * stdlib/Makefile (tests): Add tst-setcontext3.
4177         (tst-setcontext3.out): Custom rule to run tst-setcontext3.sh
4178         to verify test program created output file.
4179         * sysdeps/unix/sysv/linux/aarch64/setcontext.S: Call exit.
4180         * sysdeps/unix/sysv/linux/arm/setcontext.S: Likewise.
4181         * sysdeps/unix/sysv/linux/hppa/setcontext.S: Likewise.
4182         * sysdeps/unix/sysv/linux/nios2/setcontext.S: Likewise.
4184 2015-05-06  Roland McGrath  <roland@hack.frob.com>
4186         [BZ #18383]
4187         * elf/tst-tlsalign.c: New file.
4188         * elf/tst-tlsalign-static.c: New file.
4189         * elf/tst-tlsalign-lib.c: New file.
4190         * elf/Makefile [$(build-shared) = yes] (tests): Add tst-tlsalign.
4191         (tests-static): Add tst-tlsalign-static.
4192         (modules-names): Add tst-tlsalign-lib.
4193         (test-xfail-tst-tlsalign): New variable.
4194         (test-xfail-tst-tlsalign-static): New variable.
4196         * sysdeps/nacl/nacl-test-wrapper.sh (NACL_LOADER):
4197         Use elf_loader_${arch}.nexe rather than loader_${arch}.nexe.
4199 2015-05-06  Joseph Myers  <joseph@codesourcery.com>
4201         * math/auto-libm-test-in: Add more tests of acosh, atanh, cos,
4202         csqrt, erfc, sin and sincos.
4203         * math/auto-libm-test-out: Regenerated.
4204         * sysdeps/i386/fpu/libm-test-ulps: Update.
4205         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4207 2015-05-06  Szabolcs Nagy  <szabolcs.nagy@arm.com>
4209         * sysdeps/aarch64/libm-test-ulps: Update.
4211 2015-05-05  Joseph Myers  <joseph@codesourcery.com>
4213         * math/auto-libm-test-in: Add more tests of acosh, atanh, clog,
4214         clog10, csqrt, erfc, exp2, expm1, log10, log2 and sinh.
4215         * math/auto-libm-test-out: Regenerated.
4216         * sysdeps/i386/fpu/libm-test-ulps: Update.
4217         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4219 2015-04-30  Daniel Marjamäki  <daniel.marjamaki@evidente.se>
4221         [BZ #18265]
4222         * wcsmbs/wchar.h (wcscpy): Add __nonnull attribute.
4223         (wcsncpy): Likewise.
4225 2015-05-05  Florian Weimer  <fweimer@redhat.com>
4227         * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
4228         Assume __ASSUME_FALLOCATE is always true.
4229         * sysdeps/unix/sysv/linux/posix_fallocate64.c
4230         (__posix_fallocate64_l64): Likweise.
4231         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate.c
4232         (posix_fallocate): Likewise.
4233         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate64.c
4234         (__posix_fallocate64_l64): Likewise.
4235         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
4236         [!__ASSUME_FALLOCATE]: Add comment.
4238 2015-05-05  Florian Weimer  <fweimer@redhat.com>
4240         * sysdeps/unix/sysv/linux/i386/Makefile
4241         (sysdep_routines) [$(subdir) = misc]: Remove call_fallocate.
4242         (sysdep_routines) [$(subdir) = io]: Add libc-do-syscall.
4243         * sysdeps/unix/sysv/linux/i386/call_fallocate.S: Remove.
4244         * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
4245         * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
4246         * sysdeps/unix/sysv/linux/i386/posix_fallocate.c: Likewise.
4247         * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c: Likewise.
4249 2015-05-02  Joseph Myers  <joseph@codesourcery.com>
4251         * math/auto-libm-test-in: Add more tests of atan, clog, clog10,
4252         cos, csqrt, erf, erfc, exp2, lgamma, log1p, sin, sincos, tanh and
4253         tgamma.
4254         * math/auto-libm-test-out: Regenerated.
4255         * sysdeps/i386/fpu/libm-test-ulps: Update.
4256         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4258 2015-05-01  Joseph Myers  <joseph@codesourcery.com>
4260         * math/auto-libm-test-in: Add more tests of tgamma.
4261         * math/auto-libm-test-out: Regenerated.
4262         * sysdeps/i386/fpu/libm-test-ulps: Update.
4263         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4265         * math/auto-libm-test-in: Add more tests of tanh.
4266         * math/auto-libm-test-out: Regenerated.
4267         * sysdeps/i386/fpu/libm-test-ulps: Update.
4268         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4270         * math/auto-libm-test-in: Add more tests of tan.
4271         * math/auto-libm-test-out: Regenerated.
4272         * sysdeps/i386/fpu/libm-test-ulps: Update.
4273         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4275         * math/auto-libm-test-in: Add more tests of cos, sin and sincos.
4276         * math/auto-libm-test-out: Regenerated.
4277         * sysdeps/i386/fpu/libm-test-ulps: Update.
4278         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4280         * math/auto-libm-test-in: Add another test of pow.
4281         * math/auto-libm-test-out: Regenerated.
4282         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
4284         * math/auto-libm-test-in: Add more tests of lgamma.
4285         * math/auto-libm-test-out: Regenerated.
4286         * sysdeps/i386/fpu/libm-test-ulps: Update.
4287         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4289         * math/auto-libm-test-in: Add more tests of log, log10, log2 and
4290         log1p.
4291         * math/auto-libm-test-out: Regenerated.
4292         * sysdeps/i386/fpu/libm-test-ulps: Update.
4293         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4295 2015-05-01  Mark Wielaard  <mjw@redhat.com>
4297         * elf/elf.h: Add SHF_COMPRESSED section flag, Elf32_Chdr and
4298         Elf64_Chdr structs and ELFCOMPRESS constants.
4300 2015-05-01  Joseph Myers  <joseph@codesourcery.com>
4302         * math/auto-libm-test-in: Add more tests of exp, exp10, exp2 and
4303         expm1.
4304         * math/auto-libm-test-out: Regenerated.
4305         * sysdeps/i386/fpu/libm-test-ulps: Update.
4306         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4308         * math/auto-libm-test-in: Add more tests of erf and erfc.
4309         * math/auto-libm-test-out: Regenerated.
4310         * sysdeps/i386/fpu/libm-test-ulps: Update.
4311         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4313 2015-05-01  Szabolcs Nagy  <szabolcs.nagy@arm.com>
4315         * config.h.in (HAVE_AARCH64_BE): Add.
4317 2015-04-30  Joseph Myers  <joseph@codesourcery.com>
4319         * math/auto-libm-test-in: Add more tests of csqrt.
4320         * math/auto-libm-test-out: Regenerated.
4321         * sysdeps/i386/fpu/libm-test-ulps: Update.
4322         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4324         * math/auto-libm-test-in: Add more tests of cosh and sinh.
4325         * math/auto-libm-test-out: Regenerated.
4326         * sysdeps/i386/fpu/libm-test-ulps: Update.
4327         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4329         * sysdeps/unix/sysv/linux/mips/mips32/waitid.c: Remove file.
4331 2015-04-29  Roland McGrath  <roland@hack.frob.com>
4333         * sysdeps/nacl/bits/typesizes.h (__CLOCK_T_TYPE): Use __SLONGWORD_TYPE.
4334         * sysdeps/nacl/nacl-interfaces.h (nacl_abi_clock_t): Use clock_t.
4336         * sysdeps/nacl/euidaccess.c (euidaccess): Renamed to __euidaccess.
4337         (euidaccess, eaccess): Define as weak aliases.
4339         * sysdeps/nacl/bits/typesizes.h (__SUSECONDS_T_TYPE): Use
4340         __SLONGWORD_TYPE rather than __S32_TYPE.  They are the same size,
4341         but __suseconds_t is often 'long int' so some sources assume that
4342         type is being used (e.g. they use %ld to print tv_usec).
4344 2015-04-29  Florian Weimer  <fweimer@redhat.com>
4346         [BZ #18007]
4347         * nss/nss_files/files-XXX.c (CONCAT): Always enable stayopen.
4348         (CVE-2014-8121)
4349         * nss/tst-nss-getpwent.c: New file.
4350         * nss/Makefile (tests): Add new test.
4352 2015-04-28  Joseph Myers  <joseph@codesourcery.com>
4354         [BZ #18346]
4355         * sysdeps/ieee754/ldbl-128/s_roundl.c (__roundl): Handle all
4356         exponents less than 48 as cases where high part of mantissa needs
4357         examining to determine whether argument is integral.
4358         * math/libm-test.inc (round_test_data): Add more tests.
4360 2015-04-28  Mark Wielaard  <mjw@redhat.com>
4362         * elf/elf.h (SHF_EXCLUDE): Use unsigned 1 for shift.
4364 2015-04-27  David S. Miller  <davem@davemloft.net>
4366         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Remove
4367         __tls_get_addr.
4368         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
4370 2015-04-27  H.J. Lu  <hongjiu.lu@intel.com>
4372         [BZ#18333]
4373         * time/tzset.c (__tzfile_read): Check tzspec_len == 0.
4375 2015-04-27  Florian Weimer  <fweimer@redhat.com>
4377         [BZ#18333]
4378         * time/tzset.c (parse_tzname): Return error on memory allocation
4379         failure.
4380         * test-skeleton.c (struct temp_name_list): Change type of name
4381         member to non-const.
4382         (add_temp_file): Create a copy of the file name.
4383         (delete_temp_files): Deallocate memory.
4384         (create_temp_file): Add comment.
4386 2015-04-24  Florian Weimer  <fweimer@redhat.com>
4388         * io/posix_fallocate.c (posix_fallocate): Do not set errno.
4389         * io/posix_fallocate64.c (posix_fallocate64): Likewise.
4391 2015-04-24  Roland McGrath  <roland@hack.frob.com>
4393         * sysdeps/arm/configure.ac (PI_STATIC_AND_HIDDEN): Define it.
4394         * sysdeps/arm/configure: Regenerated.
4396 2015-04-24  Florian Weimer  <fweimer@redhat.com>
4398         [BZ #17715]
4399         * time/tzfile.c (__tzfile_read): Check for large values of
4400         tzh_ttisstdcnt and tzh_ttisgmtcnt.  Use malloc instead of alloca.
4401         * time/tzset.c (__tzstring_len): New function, based on the old
4402         __tzstring function.
4403         (__tzstring): Call __tzstring_len.
4404         (parse_tzname): New helper function extracted from
4405         __tzset_parse_tz.  Call __tzstring_len, without making a copy of
4406         the input string.
4407         (parse_offset): New helper function extracted from
4408         __tzset_parse_tz.  Replace switch with fallthrough with
4409         initialization before sscanf.
4410         (parse_rule): Likewise.
4411         (__tzset_parse_tz): Rewrite using the new helper functions.  Use
4412         new-style function definition.
4413         * timezone/Makefile (tests): Add tst-tzset.
4414         (tst-tzset.out): Dependencies on time zone files.
4415         (tst-tzset-ENV): Set TZDIR.
4416         (testdata/XT%): Copy crafted time zone files.
4417         * timezone/README: Mention crafted time zone files.
4418         * timezone/testdata/XT1, timezone/testdata/XT2,
4419         timezone/testdata/XT3, timezone/testdata/XT4: New time zone test
4420         files.
4421         * timezone/tst-tzset.c: New test.
4423 2015-04-24  Florian Weimer  <fweimer@redhat.com>
4425         * Makeconfig (+gccwarn): Remove -Winline.
4427 2015-04-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
4429         * sysdeps/s390/fpu/libm-test-upls: Regenerate.
4431 2015-04-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
4433         * NEWS: Mention sysconf() cache information support for s390.
4434         * sysdeps/unix/sysv/linux/s390/sysconf.c: New File.
4436 2015-04-22  Wilco Dijkstra  <wdijkstr@arm.com>
4438         * math/k_casinh.c (__kernel_casinh): Use __copysign.
4439         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c
4440         (__nearbyint): Likewise.
4441         * sysdeps/ieee754/ldbl-opt/nldbl-copysign.c
4442         (copysignl): Likewise.
4444 2015-04-21  Arjun Shankar  <arjun.is@lostca.se>
4446         [BZ #18287]
4447         * resolv/nss_dns/dns-host.c (getanswer_r): Adjust buffer length
4448         based on padding.  (CVE-2015-1781)
4450 2015-04-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4452         * nptl/pthread_cond_timedwait.c: Change include bits/libc-vdso.h to just
4453         libc-vdso.h.
4454         * sysdeps/powerpc/powerpc32/backtrace.c: Likewise.
4455         * sysdeps/powerpc/powerpc64/backtrace.c: Likewise.
4456         * sysdeps/unix/sysv/linux/aarch64/init-first.c: Likewise.
4457         * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
4458         * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
4459         * sysdeps/unix/sysv/linux/gettimeofday.c: Likewise.
4460         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Likewise.
4461         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
4462         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
4463         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Likewise.
4464         * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
4465         * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
4466         * sysdeps/unix/sysv/linux/tile/gettimeofday.c: Likewise.
4467         * sysdeps/unix/sysv/linux/tile/init-first.c: Likewise.
4468         * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
4469         * sysdeps/unix/sysv/linux/aarch64/bits/libc-vdso.h: Move to ...
4470         * sysdeps/unix/sysv/linux/aarch64/libc-vdso.h: ... here.
4471         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Move to ...
4472         * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h: ... here.
4473         * sysdeps/unix/sysv/linux/s390/bits/libc-vdso.h: Move to ...
4474         * sysdeps/unix/sysv/linux/s390/libc-vdso.h: ... here.
4475         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso.h: Move to ...
4476         * sysdeps/unix/sysv/linux/tile/libc-vdso.h: ... here.
4478 2015-04-19  Paul Eggert  <eggert@cs.ucla.edu>
4480         * stdlib/setenv.c (__add_to_environ):
4481         Dump core quickly if setenv (..., NULL, ...) is called.
4482         This time, do it the right way, and pacify GCC with a pragma.
4484 2015-04-17  Roland McGrath  <roland@hack.frob.com>
4486         * elf/dl-close.c (_dl_close_worker) [DL_NNS == 1]: Just assert that
4487         IMAP->l_prev cannot be null, and #if out the code for the contrary
4488         case, avoiding 'assert (nsid != LM_ID_BASE)' making the compiler
4489         believe that NS (&_dl_ns[NSID]) could point outside the array.
4491         * elf/dl-open.c (_dl_open): Use __glibc_unlikely in invalid namespace
4492         check.  Reject NSID < 0 and NSID >= dl_nns, and check for DL_NNS==1,
4493         before using NSID as an index.
4495 2015-04-17  Il'ya Malakhov <ilmalakhov@yandex.ru>
4497         [BZ #17825]
4498         * sysdeps/sparc/sparc64/memchr.S: Fix signedness handling of length.
4499         * sysdeps/sparc/sparc64/memcmp.S: Likewise.
4500         * sysdeps/sparc/sparc64/strncmp.S: Likewise.
4502 2015-04-17  Roland McGrath  <roland@hack.frob.com>
4504         Add preliminary port to Google Native Client on ARM.
4505         * abi-tags (.*-.*-nacl.*): New entry.
4506         * sysdeps/arm/nacl: New directory.
4507         * sysdeps/nacl: New directory.
4509 2015-04-16  David S. Miller  <davem@davemloft.net>
4511         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Make use of
4512         lowlevellock-futex.h
4514 2015-04-16  Chris Metcalf  <cmetcalf@ezchip.com>
4516         * sysdeps/tile/configure.ac: New file.
4517         * sysdeps/tile/configure: Regenerated.
4519 2015-04-15  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4521         * wcsmbs/wcschr.c [WCSCHR] (wcschr): Define as __wcschr.  Remove
4522         conditionals for weak_alias and libc_hidden_weak.
4523         * sysdeps/i386/i686/multiarch/wcschr-c.c [libc]: Undefine
4524         libc_hidden_weak and weak_alias.
4525         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c [libc]:
4526         Undefine libc_hidden_weak. Define libc_hidden_def for SHARED builds
4527         and weak_alias for static one.
4529 2015-04-15  David S. Miller  <davem@davemloft.net>
4531         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
4533 2015-04-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
4535         [BZ #18206]
4536         * wcsmbs/wcsncmp.c (wcsncmp): Compare as wchar_t, not wint_t.
4537           Use signed comparision instead of substraction to avoid
4538           overflow bug.
4539         * localedata/tests-mbwc/tst_wcsncmp.c (tst_wcsncmp):
4540           Take the sign of ret.
4541         * localedata/tests-mbwc/dat_wcsncmp.c (tst_wcsncmp_loc):
4542           Do not expect precise return values. Only the sign matters.
4543         * wcsmbs/Makefile (strop-tests): Add wcsncmp.
4544         * wcsmbs/test-wcsncmp.c: New File.
4545         * string/test-strncmp.c: Add wcsncmp support.
4547 2015-04-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
4549         [BZ #6792]
4550         * math/w_log1p.c: New file.
4551         * math/w_log1pf.c: Likewise.
4552         * math/w_log1pl.c: Likewise.
4553         * math/Makefile (libm-calls): Add w_log1p.
4554         * math/s_log1pl.c (log1pl): Remove weak_alias.
4555         * sysdeps/i386/fpu/s_log1p.S (log1p): Likewise.
4556         * sysdeps/i386/fpu/s_log1pf.S (log1pf): Likewise.
4557         * sysdeps/i386/fpu/s_log1pl.S (log1pl): Likewise.
4558         * sysdeps/x86_64/fpu/s_log1pl.S (log1pl): Likewise.
4559         * sysdeps/ieee754/dbl-64/s_log1p.c (log1p): Likewise.
4560         [NO_LONG_DOUBLE] (log1pl): Likewise.
4561         * sysdeps/ieee754/flt-32/s_log1pf.c (log1pf): Likewise.
4562         * sysdeps/ieee754/ldbl-128/s_log1pl.c (log1pl): Likewise.
4563         * sysdeps/ieee754/ldbl-64-128/s_log1pl.c
4564         (log1p): Remove long_double_symbol.
4565         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (log1pl): Likewise.
4566         * sysdeps/ieee754/ldbl-64-128/w_log1pl.c: New file.
4567         * sysdeps/ieee754/ldbl-128ibm/w_log1pl.c: Likewise.
4568         * sysdeps/m68k/m680x0/fpu/s_log1p.c: Define empty weak_alias to
4569         remove weak_alias for corresponding log1p function.
4570         * sysdeps/m68k/m680x0/fpu/s_log1pf.c: Likewise.
4571         * sysdeps/m68k/m680x0/fpu/s_log1pl.c: Likewise.
4572         * sysdeps/ia64/fpu/w_log1p.c: New file.
4573         * sysdeps/ia64/fpu/w_log1pf.c: Likewise.
4574         * sysdeps/ia64/fpu/w_log1pl.c: Likewise.
4575         * math/libm-test.inc (log1p_test_data): Add errno expectations.
4577 2015-04-10  Joseph Myers  <joseph@codesourcery.com>
4579         [BZ #18247]
4580         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Decrease minimum
4581         decimal exponent by 1.
4582         * stdlib/tst-strtod-round-data: Add more tests.
4583         * stdlib/tst-strtod-round.c (tests): Regenerated.
4585 2015-04-09  Joseph Myers  <joseph@codesourcery.com>
4587         * math/auto-libm-test-in: Add more tests of clog and clog10.
4588         * math/auto-libm-test-out: Regenerated.
4589         * sysdeps/i386/fpu/libm-test-ulps: Update.
4590         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4592 2015-04-09  Roland McGrath  <roland@hack.frob.com>
4594         * Makeconfig (module-cppflags): Exclude all .v.i files.
4595         (skip-module-cppflags): Variable removed.
4597         * configure.ac (libc_config_ok): Initialize before reading
4598         preconfigure scripts, not after.
4599         * configure: Regenerated.
4601         * test-skeleton.c (TIMEOUT): Move #define to top level.
4602         (main): Grok environment variable TEST_DIRECT.  If set, print
4603         test expectation details into that file and then behave as if
4604         given --direct.
4606 2015-04-09  Florian Weimer  <fweimer@redhat.com>
4608         * malloc/tst-scratch_buffer.c (do_test): Suppress truncation
4609         warning on 32-bit.
4611 2015-04-08  David S. Miller  <davem@davemloft.net>
4613         * sysdeps/sparc/fpu/libm-test-ulps: Update.
4615 2015-04-08  Joseph Myers  <joseph@codesourcery.com>
4617         * math/auto-libm-test-in: Add more tests of atanh.
4618         * math/auto-libm-test-out: Regenerated.
4619         * sysdeps/i386/fpu/libm-test-ulps: Update.
4620         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4622         * math/auto-libm-test-in: Add more tests of atan.
4623         * math/auto-libm-test-out: Regenerated.
4624         * sysdeps/i386/fpu/libm-test-ulps: Update.
4625         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4627 2015-04-08  Florian Weimer  <fweimer@redhat.com>
4629         * elf/pldd.c (main): Rewrite to use struct
4630         scratch_buffer instead of extend_alloca.
4631         * elf/pldd-xx.c (find_maps): Likewise.
4632         * grp/initgroups.c: Include <scratch_buffer.h> instead of
4633         <alloca.h>.
4634         * grp/compat-initgroups.c (compat_call): Rewrite to use struct
4635         scratch_buffer instead of extend_alloca.
4636         * nscd/initgrcache.c: Include <scratch_buffer.h>, now needed by
4637         grp/compat-initgroups.c.
4638         * nis/nss_compat/compat-initgroups.c (_nss_compat_initgroups_dyn):
4639         Rewrite to use struct scratch_buffer instead of extend_alloca.
4640         * inet/getnameinfo.c (nrl_domainname, getnameinfo): Likewise.
4641         * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
4643 2015-04-08  Joseph Myers  <joseph@codesourcery.com>
4645         * math/auto-libm-test-in: Add more tests of cbrt.
4646         * math/auto-libm-test-out: Regenerated.
4647         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
4649         * math/auto-libm-test-in: Add more tests of cabs.
4650         * math/auto-libm-test-out: Regenerated.
4651         * sysdeps/i386/fpu/libm-test-ulps: Update.
4652         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4654         [BZ #18210]
4655         [BZ #18211]
4656         * sysdeps/ieee754/dbl-64/e_atan2.c: Include <fenv.h>.
4657         (__ieee754_atan2): Set FE_TONEAREST mode for internal
4658         computations.
4659         * math/auto-libm-test-in: Add more tests of atan2, carg, clog and
4660         clog10.
4661         * math/auto-libm-test-out: Regenerated.
4662         * sysdeps/i386/fpu/libm-test-ulps: Update.
4663         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4665         [BZ #18197]
4666         * sysdeps/ieee754/dbl-64/s_atan.c: Include <fenv.h>.
4667         (atan): Set FE_TONEAREST mode for internal computations.
4668         * math/auto-libm-test-in: Add more tests of atan.
4669         * math/auto-libm-test-out: Regenerated.
4671 2015-04-07  James Cowgill  <james410@cowgill.org.uk>
4673         [BZ #17930]
4674         * sysdeps/unix/sysv/linux/mips/bits/shm.h (SHM_NORESERVE): Define.
4676 2015-04-07  Florian Weimer  <fweimer@redhat.com>
4678         * malloc/scratch_buffer_grow_preserve.c: Include <string.h>
4680 2015-04-07  Florian Weimer  <fweimer@redhat.com>
4682         * include/scratch_buffer.h: New file.
4683         * malloc/scratch_buffer_grow.c: Likewise.
4684         * malloc/scratch_buffer_grow_preserve.c: Likewise.
4685         * malloc/scratch_buffer_set_array_size.c: Likewise.
4686         * malloc/tst-scratch_buffer.c: Likewise.
4687         * malloc/Makefile (routines): Add scratch_buffer_grow.
4688         (tests): Add test case.
4689         * malloc/Versions (GLIBC_PRIVATE): Export
4690         __libc_scratch_buffer_grow, __libc_scratch_buffer_grow_preserve,
4691         __libc_scratch_buffer_set_array_size.
4693 2015-04-06  Richard Henderson  <rth@redhat.com>
4695         * sysdeps/unix/alpha/sysdep.h: Unconditionally include dl-sysdep.h.
4696         * sysdeps/alpha/fpu/libm-test-ulps: Update.
4698         * math/test-fenvinline.c (feenable_test): Cast fe_exc to
4699         unsigned int before printing.
4701 2015-04-03  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
4703         [BZ #17596]
4704         * wcsmbs/mbrtowc.c (__mbrtowc): Add check for n=0.
4705         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
4707 2015-04-02  Florian Weimer  <fweimer@redhat.com>
4709         * include/libc-internal.h (libc_max_align_t): Define.
4711 2015-04-02  Andreas Schwab  <schwab@suse.de>
4713         [BZ #16850]
4714         * sysdeps/unix/sysv/linux/aarch64/bits/sigstack.h: New file.
4716 2015-04-02  Mel Gorman  <mgorman@suse.de>
4718         [BZ #17195]
4719         * malloc/arena.c (free): Apply trim threshold to per-thread heaps
4720         as well as the main arena.
4722 2015-03-31  H.J. Lu  <hongjiu.lu@intel.com>
4724         [BZ #18185]
4725         * sysdeps/x86_64/cacheinfo.c (init_cacheinfo): Limit threads
4726         sharing L2 cache to 2 for Silvermont/Knights Landing.
4728 2015-03-31  H.J. Lu  <hongjiu.lu@intel.com>
4730         [BZ #17711]
4731         * config.make.in (have-protected-data): New.
4732         * configure.ac: Check linker support for protected data symbol.
4733         * configure: Regenerated.
4734         * elf/Makefile (modules-names): Add tst-protected1moda and
4735         tst-protected1modb if $(have-protected-data) is yes.
4736         (tests): Add tst-protected1a and tst-protected1b if
4737         $(have-protected-data) is yes.
4738         ($(objpfx)tst-protected1a): New.
4739         ($(objpfx)tst-protected1b): Likewise.
4740         (tst-protected1modb.so-no-z-defs): Likewise.
4741         * elf/tst-protected1a.c: New file.
4742         * elf/tst-protected1b.c: Likewise.
4743         * elf/tst-protected1mod.h: Likewise.
4744         * elf/tst-protected1moda.c: Likewise.
4745         * elf/tst-protected1modb.c: Likewise.
4747 2015-03-31  H.J. Lu  <hongjiu.lu@intel.com>
4749         [BZ #17711]
4750         * elf/dl-lookup.c (do_lookup_x): When UNDEF_MAP is NULL, which
4751         indicates it is called from do_lookup_x on relocation against
4752         protected data, skip the data definion in the executable from
4753         copy reloc.
4754         (_dl_lookup_symbol_x): Pass ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA,
4755         instead of ELF_RTYPE_CLASS_PLT, to do_lookup_x for
4756         EXTERN_PROTECTED_DATA relocation against STT_OBJECT symbol.
4757         * sysdeps/generic/ldsodefs.h * (ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA):
4758         New.  Defined to 4 if DL_EXTERN_PROTECTED_DATA is defined,
4759         otherwise to 0.
4760         * sysdeps/i386/dl-lookupcfg.h (DL_EXTERN_PROTECTED_DATA): New.
4761         * sysdeps/i386/dl-machine.h (elf_machine_type_class): Set class
4762         to ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA for R_386_GLOB_DAT.
4763         * sysdeps/x86_64/dl-lookupcfg.h (DL_EXTERN_PROTECTED_DATA): New.
4764         * sysdeps/x86_64/dl-machine.h (elf_machine_type_class): Set class
4765         to ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA for R_X86_64_GLOB_DAT.
4767 2015-03-28  Martin Galvan  <martin.galvan@tallertechnologies.com>
4769         * sysdeps/nptl/pthread.h: Remove duplicate definition of
4770         PTHREAD_ADAPTIVE_MUTEX_INITIALIZER_NP.
4772 2015-03-27  Martin Galvan  <martin.galvan@tallertechnologies.com>
4774         * sysdeps/i386/nptl/tls.h: Swap comments between THREAD_SETMEM and
4775         THREAD_SETMEM_NC.
4776         * sysdeps/x86_64/nptl/tls.h: Ditto.
4778 2015-03-27  Roland McGrath  <roland@hack.frob.com>
4780         * dlfcn/tststatic.c (main): Converted to ...
4781         (do_test): ... this.
4782         (TEST_FUNCTION): New macro.
4783         Include test-skeleton.c.
4785 2015-03-26  Alan Modra  <amodra@gmail.com>
4787         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_fixup_plt):
4788         Don't segfault if ifunc resolver returns a NULL.  Do set plt to
4789         zero for undefined weak.
4790         (elf_machine_plt_conflict): Similarly.
4792 2015-03-25  Joseph Myers  <joseph@codesourcery.com>
4794         * math/auto-libm-test-in: Add more tests of acosh, asinh and
4795         atanh.
4796         * math/auto-libm-test-out: Regenerated.
4797         * sysdeps/i386/fpu/libm-test-ulps: Update.
4798         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4800         * math/auto-libm-test-in: Add another test of asin.
4801         * math/auto-libm-test-out: Regenerated.
4802         * sysdeps/i386/fpu/libm-test-ulps: Update.
4803         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4805         * sysdeps/unix/sysv/linux/i386/lowlevellock.h (LLL_EBX_LOAD):
4806         Remove macro.
4807         (LLL_EBX_REG): Likewise.
4808         (LLL_ENTER_KERNEL): Likewise.
4810         * math/auto-libm-test-in: Add more tests of asin.
4811         * math/auto-libm-test-out: Regenerated.
4812         * sysdeps/i386/fpu/libm-test-ulps: Update.
4813         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4815         [BZ #18138]
4816         * sysdeps/unix/sysv/linux/i386/sysdep.h (struct
4817         libc_do_syscall_args): New structure.
4818         (INTERNAL_SYSCALL_MAIN_0): New macro.
4819         (INTERNAL_SYSCALL_MAIN_1): Likewise.
4820         (INTERNAL_SYSCALL_MAIN_2): Likewise.
4821         (INTERNAL_SYSCALL_MAIN_3): Likewise.
4822         (INTERNAL_SYSCALL_MAIN_4): Likewise.
4823         (INTERNAL_SYSCALL_MAIN_5): Likewise.
4824         (INTERNAL_SYSCALL_MAIN_6): Likewise.  Call __libc_do_syscall.
4825         (INTERNAL_SYSCALL): Define to use INTERNAL_SYSCALL_MAIN_##nr.
4826         Replace conditional definitions by conditional definitions of ....
4827         (INTERNAL_SYSCALL_MAIN_INLINE): ... this.  New macro.
4828         * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S: New file.
4829         * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = nptl]
4830         (libpthread-sysdep_routines): Add libc-do-syscall.
4831         * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: Remove file.
4832         * sysdeps/unix/sysv/linux/i386/lowlevellock.h (SYS_futex): Define
4833         to __NR_futex not 240.
4835 2015-03-25  Alan Modra  <amodra@gmail.com>
4837         * NEWS: Advertise TLS optimization.
4838         * elf/elf.h (R_PPC_TLSGD, R_PPC_TLSLD, DT_PPC_OPT, PPC_OPT_TLS): Define.
4839         (DT_PPC_NUM): Increment.
4840         * elf/dynamic-link.h (HAVE_STATIC_TLS): Define.
4841         (CHECK_STATIC_TLS): Use here.
4842         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Optimize
4843         TLS descriptors.
4844         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
4845         * sysdeps/powerpc/dl-tls.c: New file.
4846         * sysdeps/powerpc/Versions: Add __tls_get_addr_opt.
4847         * sysdeps/powerpc/tst-tlsopt-powerpc.c: New tls test.
4848         * sysdeps/unix/sysv/linux/powerpc/Makefile: Add new test.
4849         Build tst-tlsmod2.so with --no-tls-get-addr-optimize.
4850         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: Update.
4851         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: Likewise.
4852         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: Likewise.
4854 2015-03-25  Alan Modra  <amodra@gmail.com>
4856         * sysdeps/powerpc/powerpc64/configure.ac: Correct "linker support
4857         for overlapping .opd entries" to "support...".
4858         * sysdeps/powerpc/powerpc64/configure: Regenerate
4860 2015-03-25  Joseph Myers  <joseph@codesourcery.com>
4862         * math/auto-libm-test-in: Add more tests of acos.
4863         * math/auto-libm-test-out: Regenerated.
4864         * sysdeps/i386/fpu/libm-test-ulps: Update.
4865         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4867         * math/auto-libm-test-in: Add more tests of expm1.
4868         * math/auto-libm-test-out: Regenerated.
4869         * sysdeps/i386/fpu/libm-test-ulps: Update.
4870         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4872 2015-03-24  Joseph Myers  <joseph@codesourcery.com>
4874         * math/auto-libm-test-in: Add more tests of cosh and sinh.
4875         * math/auto-libm-test-out: Regenerated.
4876         * sysdeps/i386/fpu/libm-test-ulps: Update.
4877         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4879         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
4880         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4882         * math/auto-libm-test-in: Add more tests of log2.
4883         * math/auto-libm-test-out: Regenerated.
4884         * sysdeps/i386/fpu/libm-test-ulps: Update.
4885         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4887 2015-03-23  Roland McGrath  <roland@hack.frob.com>
4889         * libio/iofdopen.c: Move FD_FLAGS declaration into its first use,
4890         inside [F_GETFL].  Remove POSIX_MODE local variable, just test the
4891         _IO_IS_APPENDING bit in READ_WRITE instead.
4893 2015-03-23  Florian Weimer  <fweimer@redhat.com>
4895         * sysdeps/unix/sysv/linux/pthread_setaffinity.c
4896         (__determine_cpumask_size): Replace extend_alloca with a
4897         variable-length array.  Do not treat res == 0 as an error.
4899 2015-03-23  Florian Weimer  <fweimer@redhat.com>
4901         [BZ #18100]
4902         * posix/wordexp.c (eval_expr_multdiv): Check for division by zero
4903         and integer overflow.
4904         * posix/wordexp-test.c (test_case): Add divide-by-zero test.
4905         (main): Add integer overflow tests.
4906         * manual/pattern.texi (Calling Wordexp): Document additional use
4907         for WRDE_SYNTAX.
4909 2015-03-23  Alan Modra  <amodra@gmail.com>
4911         * config.h.in: Remove HAVE_ASM_PPC_REL16.
4912         * sysdeps/powerpc/powerpc32/tls-macros.h: Remove HAVE_ASM_PPC_REL16
4913         and false branch of conditional.
4914         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
4915         Likewise.
4917 2015-03-21  Samuel Thibault  <samuel.thibault@ens-lyon.org
4919         * sysdeps/mach/hurd/Makefile ($(common-objpfx)errnos.d): Depend on
4920         libc-modules.h
4921         * sysdeps/mach/hurd/i386/trampoline.c (_hurd_setup_sighandler): Remove
4922         unused declaration of _hurd_intr_rpc_msg_in_trap.
4923         * mach/mach_init.c (__mach_init): Test whether HAVE_HOST_PAGE_SIZE is
4924         defined instead of whether it is non-zero.
4925         * sysdeps/mach/hurd/i386/intr-msg.h (INTR_MSG_TRAP): Use "+m"
4926         input constraint instead of both input and output constraint.  Use ecx
4927         clobber instead of %ecx.
4928         * sysdeps/mach/hurd/malloc-machine.h (mutex_init, mutex_lock,
4929         mutex_unlock): Use a statement expression instead of an expression list.
4930         * sysdeps/mach/hurd/setitimer.c (_hurd_itimer_thread_stack_size): Set
4931         type to vm_size_t instead of vm_address_t.
4932         * sysdeps/mach/hurd/fork.c (__fork): Test whether STACK_GROWTH_UP is
4933         defined instead of whether it is non-zero.
4934         * hurd/hurd/ioctl.h (_hurd_locked_install_cttyid): New declaration.
4935         * sysdeps/mach/hurd/setsid.c: Include <hurd/ioctl.h>.
4936         * sysdeps/mach/hurd/mmap.c (__mmap): Use 0 instead of NULL for
4937         comparisons with mapaddr.
4938         * nscd/nscd-client.h: Include <time.h>.
4939         * sysdeps/mach/hurd/dl-sysdep.c (fmh): Pass vm_offset_t dummy
4940         9th parameter to __vm_region instead of int.
4941         * bits/termios.h [!__USE_MISC] (EXTPROC): Do not define.
4942         * scripts/check-local-headers.sh (exclude): Add device/,
4943         hurd/hurd_types.h, hurd/ioctl_types.h, hurd/paths.h, hurd/ioctls.defs,
4944         cthreads.h.
4946 2015-03-19  Roland McGrath  <roland@hack.frob.com>
4948         * sysdeps/arm/memcpy.S [ARM_ALWAYS_BX]: Fix computed-jump calculations
4949         to account for alignment padding.
4950         * sysdeps/arm/memmove.S: Likewise.
4952 2015-03-19  Chris Metcalf  <cmetcalf@ezchip.com>
4954         * sysdeps/unix/sysv/linux/generic/README: New file.
4956 2015-03-18  Joseph Myers  <joseph@codesourcery.com>
4958         [BZ #18138]
4959         * nptl/sem_waitcommon.c: Include <kernel-features.h>.
4960         (futex_abstimed_wait)
4961         [__ASSUME_FUTEX_CLOCK_REALTIME && lll_futex_timed_wait_bitset]:
4962         Use lll_futex_timed_wait_bitset with FUTEX_CLOCK_REALTIME instead
4963         of lll_futex_timed_wait.
4965 2015-03-18  Brad Hubbard  <bhubbard@redhat.com>
4967         [BZ #17542]
4968         * sunrpc/svc.c (xprt_register): Use calloc to allocate xports.
4970 2015-03-17  Alexandre Oliva <aoliva@redhat.com>
4972         [BZ #17090]
4973         [BZ #17620]
4974         [BZ #17621]
4975         [BZ #17628]
4976         * NEWS: Update.
4977         * elf/dl-tls.c (_dl_update_slotinfo): Clean up outdated DTV
4978         entries with Static TLS too.  Skip entries past the end of the
4979         allocated DTV, from Alan Modra.
4980         (tls_get_addr_tail): Update to glibc_likely/unlikely.  Move
4981         Static TLS DTV entry set up from...
4982         (_dl_allocate_tls_init): ... here (fix modid assertion), ...
4983         * elf/dl-reloc.c (_dl_nothread_init_static_tls): ... here...
4984         * nptl/allocatestack.c (init_one_static_tls): ... and here...
4985         * elf/dlopen.c (dl_open_worker): Drop l_tls_modid upper bound
4986         for Static TLS.
4987         * elf/tlsdeschtab.h (map_generation): Return size_t.  Check
4988         that the slot we find is associated with the given map before
4989         using its generation count.
4990         * nptl_db/db_info.c: Include ldsodefs.h.
4991         (rtld_global, dtv_slotinfo_list, dtv_slotinfo): New typedefs.
4992         * nptl_db/structs.def (DB_RTLD_VARIABLE): New macro.
4993         (DB_MAIN_VARIABLE, DB_RTLD_GLOBAL_FIELD): Likewise.
4994         (link_map::l_tls_offset): New struct field.
4995         (dtv_t::counter): Likewise.
4996         (rtld_global): New struct.
4997         (_rtld_global): New rtld variable.
4998         (dl_tls_dtv_slotinfo_list): New rtld global field.
4999         (dtv_slotinfo_list): New struct.
5000         (dtv_slotinfo): Likewise.
5001         * nptl_db/td_symbol_list.c: Drop gnu/lib-names.h include.
5002         (td_lookup): Rename to...
5003         (td_mod_lookup): ... this.  Use new mod parameter instead of
5004         LIBPTHREAD_SO.
5005         * nptl_db/td_thr_tlsbase.c: Include link.h.
5006         (dtv_slotinfo_list, dtv_slotinfo): New functions.
5007         (td_thr_tlsbase): Check DTV generation.  Compute Static TLS
5008         addresses even if the DTV is out of date or missing them.
5009         * nptl_db/fetch-value.c (_td_locate_field): Do not refuse to
5010         index zero-length arrays.
5011         * nptl_db/thread_dbP.h: Include gnu/lib-names.h.
5012         (td_lookup): Make it a macro implemented in terms of...
5013         (td_mod_lookup): ... this declaration.
5014         * nptl_db/db-symbols.awk (DB_RTLD_VARIABLE): Override.
5015         (DB_MAIN_VARIABLE): Likewise.
5017 2015-03-16  H.J. Lu  <hongjiu.lu@intel.com>
5019         [BZ #18134]
5020         * sysdeps/x86_64/dl-trampoline.S (PRESERVE_BND_REGS_PREFIX): New.
5022 2015-03-15  Paul Eggert  <eggert@cs.ucla.edu>
5024         * stdlib/setenv.c (__add_to_environ): Revert previous change.
5026 2015-03-14  Andreas Schwab  <schwab@linux-m68k.org>
5028         [BZ #18128]
5029         * sysdeps/m68k/m680x0/m68020/bits/atomic.h (atomic_exchange_and_add)
5030         (atomic_add, atomic_increment_and_test)
5031         (atomic_decrement_and_test): Fix 64-bit arithmetic.
5033 2015-03-13  Paul Eggert  <eggert@cs.ucla.edu>
5035         * stdlib/setenv.c (__add_to_environ):
5036         Dump core quickly if setenv (..., NULL, ...) is called.
5038 2015-03-13  Roland McGrath  <roland@hack.frob.com>
5040         * sysdeps/arm/tls-macros.h: Include <sysdep.h>.
5041         (GET_SPECIAL_RELOC, GET_SPECIAL_PCREL): New macros to encapsulate
5042         all the necessary asm magic in one place.
5043         (TLS_LE, TLS_IE, TLS_LD, TLS_GD): Rewritten as C expressions
5044         using those.
5046 2015-03-13  Carlos O'Donell  <carlos@redhat.com>
5048         [BZ #14906]
5049         * nscd/cache.c (prune_cache): Use TRACED_FILE. Compare and update
5050         traced file mtime. Use consistent log message.
5051         * nscd/connections.c [HAVE_INOTIFY] (install_watches): New function.
5052         (register_traced_file): Call install_watches. Always set mtime.
5053         (invalidate_cache): Iterate over all trace files. Call install_watches.
5054         (inotify_check_files): Don't inline. Handle watching parent
5055         directories and configuration file movement in and out.
5056         (handle_inotify_events): New function.
5057         (main_loop_poll): Call handle_inotify_events.
5058         (main_loop_epoll): Likewise.
5059         * nscd/nscd.h: Define TRACED_FILE, TRACED_DIR, and PATH_MAX.
5060         (struct traced_file): Use array of inotify fds. Add parent directory,
5061         and basename.
5062         (struct database_dyn): Remove unused file_mtime.
5063         (init_traced_file): New inline function.
5064         (define_traced_file): New macro.
5065         * nss/nss_db/db-init.c: Use define_traced_file.
5066         (_nss_db_init): Use init_traced_file.
5067         * nss/nss_files/files-init.c: Use define_traced_file.
5068         (_nss_files_init): Use init_traced_file.
5070 2015-03-12  Joseph Myers  <joseph@codesourcery.com>
5072         * soft-fp/soft-fp.h (_FP_STATIC_ASSERT): New macro.
5073         [_LIBC]: Do not include <stdlib.h>.
5074         [!_LIBC] (abort): Remove declaration.
5075         * soft-fp/op-2.h (_FP_MUL_MEAT_2_120_240_double): Use
5076         _FP_STATIC_ASSERT instead of conditionally calling abort.
5077         * soft-fp/op-common.h (_FP_FROM_INT): Likewise.
5078         (_FP_EXTEND_CNAN): Likewise.
5079         (FP_TRUNC): Likewise.
5080         (__FP_CLZ): Likewise.
5081         * sysdeps/powerpc/nofpu/flt-rounds.c: Include <stdlib.h>.
5083 2015-03-12  Yaakov Selkowitz  <yselkowi@redhat.com>
5085         * manual/string.texi (XPG basename): Fix prototype.
5087 2015-03-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
5089         [BZ #18080]
5090         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S
5091         (__setcontext): Use SIG_SETMASK instead of SIG_BLOCK.
5092         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S
5093         (__setcontext): Likewise.
5094         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S
5095         (__swapcontext): Use SIG_SETMASK instead of SIG_BLOCK.
5096         Call rt_sigprocmask syscall one time to set new signal mask
5097         and retrieve the current signal mask instead of two calls.
5098         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S
5099         (__swapcontext): Likewise.
5100         * stdlib/Makefile (tests): Add new testcase tst-setcontext2.
5101         * stdlib/tst-setcontext2.c: New file.
5103 2015-03-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
5105         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
5107 2015-03-11  Aurelien Jarno  <aurelien@aurel32.net>
5109         [BZ #18093]
5110         * elf/cache.c (load_aux_cache): Regenerate the cache if it has
5111         the wrong size.
5113 2015-03-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
5115         [BZ #18043]
5116         * posix/wordexp.c (parse_param): Don't call setenv(..., NULL, 1).
5118 2015-03-11  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
5120         * config.h.in [HAVE_ASM_GLOBAL_DOT_NAME]: Remove define.
5121         * include/libc-symbols.h [HAVE_ASM_GLOBAL_DOT_NAME] (strong_alias):
5122         Remove define.
5123         [HAVE_ASM_GLOBAL_DOT_NAME] (strong_data_alias): Likewise.
5124         [HAVE_ASM_GLOBAL_DOT_NAME] (weak_alias): Likewise.
5125         [HAVE_ASM_GLOBAL_DOT_NAME] (_symbol_version): Likewise.
5126         [HAVE_ASM_GLOBAL_DOT_NAME] (_default_symbol_version): Likewise.
5127         [HAVE_ASM_GLOBAL_DOT_NAME] (HIDDEN_JUMPTARGET): Likewise.
5128         * nptl_db/db-symbols.h [HAVE_ASM_GLOBAL_DOT_NAME] (DOT): Remove
5129         define.
5130         * nptl_db/td_symbol_list.c (td_lookup): Remove
5131         HAVE_ASM_GLOBAL_DOT_NAME code.
5132         * sysdeps/powerpc/powerpc64/configure.ac: Remove
5133         HAVE_ASM_GLOBAL_DOT_NAME check.
5134         * sysdeps/powerpc/powerpc64/configure: Regenerate.
5135         * sysdeps/powerpc/powerpc64/sysdep.h [HAVE_ASM_GLOBAL_DOT_NAME]
5136         (DOT_LABEL): Remove define.
5137         [HAVE_ASM_GLOBAL_DOT_NAME] (BODY_LABEL): Likewise.
5138         [HAVE_ASM_GLOBAL_DOT_NAME] (ENTRY_2): Likewise.
5139         [HAVE_ASM_GLOBAL_DOT_NAME] (END_2): Likewise.
5140         * sysdeps/powerpc/powerpc64/tls-macros.h [HAVE_ASM_GLOBAL_DOT_NAME]
5141         (__TLS_GET_ADDR): Likewise.
5142         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h
5143         [HAVE_ASM_GLOBAL_DOT_NAME] (DASHDASHPFX): Likewise.
5145 2015-03-11  Carlos O'Donell  <carlos@redhat.com>
5147         [BZ #18111]
5148         * sysdeps/hppa/fpu/fpu_control.h (_FPU_HPPA_SHIFT_FLAGS): Define.
5149         (_FPU_SETCW): Initialize cw from fpsr before storing.
5150         * sysdeps/hppa/fpu/fsetexcptflg.c: Include fpu_control.h
5151         (fesetexceptflag): Rewrite using fpu_control.h.
5152         * sysdeps/hppa/fpu/feupdateenv.c: Handle FE_DFL_ENV, and FE_NOMASK_ENV.
5154 2015-03-11  John David Anglin  <danglin@gcc.gnu.org>
5156         [BZ #18110]
5157         * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Don't modify bufptr in
5158         asms.
5159         * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Likewise.
5161 2015-03-11  Joseph Myers  <joseph@codesourcery.com>
5163         * soft-fp/soft-fp.h (_FP_UNREACHABLE): New macro.
5164         * soft-fp/op-common.h (_FP_MUL): Use _FP_UNREACHABLE instead of
5165         abort.
5166         (_FP_FMA): Likewise.
5167         (_FP_DIV): Likewise.
5169 2015-03-10  Roland McGrath  <roland@hack.frob.com>
5171         * scripts/evaluate-test.sh: Grok exit code 77 as UNSUPPORTED and exit
5172         with 0 in that case.
5173         * Makefile (summarize-tests): New canned sequence, factored out of
5174         commands for targets tests and xtests.  Display summary lines that
5175         don't start with PASS: or XFAIL: rather than ones that do start with
5176         ERROR: or FAIL:.  Make the commands fail if any summary lines fail
5177         to start with X?PASS: or XFAIL: or UNSUPPORTED: rather than if any
5178         do start with ERROR: or FAIL:.
5179         * dlfcn/Makefile (tests): Add bug-atexit3 back here unconditionally
5180         (except for [$(build-shared) = yes]).
5181         (tests-unsupported) [$(CXX) empty]: Add bug-atexit3.
5182         (LDLIBS-bug-atexit3-lib.so): Conditionalize on [$(CXX) nonempty].
5183         ($(objpfx)bug-atexit3, $(objpfx)bug-atexit3.out): Likewise.
5184         * nptl/Makefile: Revert 2015-03-04 changes.
5185         [$(CXX) empty] (tests-unsupported): New variable.
5186         * debug/Makefile: Likewise.
5188         * posix/regcomp.c: Fix comment typos and formatting to harmonize with
5189         gnulib file.  Replace __attribute with __attribute__ throughout.
5191 2015-03-10  Carlos O'Donell  <carlos@redhat.com>
5193         * sysdeps/hppa/fpu/libm-test-ulps: Update.
5195 2015-03-10  Joseph Myers  <joseph@codesourcery.com>
5197         [BZ #18104]
5198         * math/auto-libm-test-in: Add another test of pow.
5199         * math/auto-libm-test-out: Regenerated.
5201 2015-03-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5203         * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_pow.c): Add
5204         $(config-cflags-nofma).
5206 2015-03-10  Joseph Myers  <joseph@codesourcery.com>
5208         * soft-fp/double.h [SOFT_FP_DOUBLE_H]: New multiple-include guard.
5209         * soft-fp/extended.h [SOFT_FP_EXTENDED_H]: Likewise.
5210         * soft-fp/op-1.h [SOFT_FP_OP_1_H]: Likewise.
5211         * soft-fp/op-2.h [SOFT_FP_OP_2_H]: Likewise.
5212         * soft-fp/op-4.h [SOFT_FP_OP_4_H]: Likewise.
5213         * soft-fp/op-8.h [SOFT_FP_OP_8_H]: Likewise.
5214         * soft-fp/op-common.h [SOFT_FP_OP_COMMON_H]: Likewise.
5215         * soft-fp/quad.h [SOFT_FP_QUAD_H]: Likewise.
5216         * soft-fp/single.h [SOFT_FP_SINGLE_H]: Likewise.
5217         * soft-fp/soft-fp.h (SOFT_FP_H): Define to 1 rather than empty.
5218         Add comment on closing #endif.
5220 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
5222         * posix/wordexp.c (CHAR_IN_SET): New macro.
5223         (parse_param): Use it.
5225 2015-03-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5227         * sysdeps/powerpc/fpu/libm-test-ulps: update.
5229 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
5231         [BZ #18043]
5232         * posix/wordexp.c (parse_param): Fix buffer overflow.
5233         * posix/wordexp-test.c (test_case): Add test case.
5235 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
5237         [BZ #18042]
5238         * posix/wordexp.c (parse_backtick): Fix off-by-one.
5239         * posix/wordexp-test.c (test_case): Add test for BZ #18042.
5241 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
5243         [BZ #18043]
5244         * posix/wordexp-test.c (test_case): Add test for BZ #18043
5245         (do_bz18043): Delete.
5246         (at_page_end): New.
5247         (testit): Refactor to have words at the edge of unreadable page.
5249 2015-03-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
5251         [BZ #16734]
5252         * libio/genops.c (_IO_unbuffer_all): Renamed from _IO_unbuffer_write.
5253         Cleanup read-only streams as well.
5254         (_IO_cleanup): Call _IO_unbuffer_all instead of _IO_unbuffer_write.
5256 2015-03-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
5258         * sysdeps/mach/hurd/bits/libc-lock.h [_LIBC]: Include
5259         <bits/libc-lockP.h>
5261 2015-03-07  Joseph Myers  <joseph@codesourcery.com>
5263         * soft-fp/soft-fp.h (_FP_ZERO_INIT): New macro.  Define depending
5264         on [__KERNEL__].
5265         * soft-fp/op-1.h (_FP_FRAC_DECL_1): Use _FP_ZERO_INIT.
5266         * soft-fp/op-2.h (_FP_FRAC_DECL_2): Likewise.
5267         * soft-fp/op-common.h (_FP_DECL): Likewise.
5269 2015-03-06  H.J. Lu  <hongjiu.lu@intel.com>
5271         * elf/ifuncdep2.c (global): Replace
5272         __attribute__((visibility("protected"))) with
5273         asm (".protected global").
5274         * elf/ifuncmod1.c (global): Likewise.
5275         * elf/ifuncmod5.c (global): Likewise.
5277 2015-03-06  Joseph Myers  <joseph@codesourcery.com>
5279         * soft-fp/soft-fp.h [!_LIBC && __KERNEL__]: Include
5280         <asm/sfp-machine.h> instead of <sfp-machine.h>.
5282 2015-03-06  Roland McGrath  <roland@hack.frob.com>
5284         * manual/install.texi (Configuring and compiling):
5285         Document test-wrapper-env-only.
5286         * INSTALL: Regenerated.
5288 2015-03-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
5290         [BZ #18043]
5291         * posix/wordexp.c (parse_param): Fix buffer overflow.
5292         * posix/wordexp-test.c (do_bz18043): Add test case.
5294 2015-03-06  Vincent Bernat  <vincent@bernat.im>
5296         * time/tst-strptime2.c (do_test): Ensure failing tests are
5297         reported correctly.
5298         * time/tst-strptime3.c (do_test): Likewise.
5300 2015-03-06  Samuel Thibault  <samuel.thibault@inria.fr>
5302         Fix aio_error thread-safety.
5303         * sysdeps/pthread/aio_error.c: New file
5304         * sysdeps/pthread/aio_misc.c: Remove optimistic comment about
5305         synchronization.
5307 2015-03-06  Florian Weimer  <fweimer@redhat.com>
5309         * stdio-common/vfprintf.c (THOUSANDS_SEP_T): New typedef.
5310         (group_number, vfprintf): Use it.
5311         (JUMP_TABLE_BASE_LABEL): New preprocessor macro.
5312         (JUMP, REF): Use it.
5313         (WORK_BUFFER_SIZE): New enum constant.
5314         (process_arg, vfprintf): Use it.
5316 2015-03-06  Rical Jasan  <ricaljasan@pacific.net>
5318         * manual/errno.texi (Error Messages): Complete example function
5319         by adding missing #define.
5320         (program_invocation_name): Add statement indicating GNU
5321         extension and reference which header file declares the variable.
5322         (program_invocation_short_name): Likewise.
5324 2015-03-06  Mike Frysinger  <vapier@gentoo.org>
5326         * manual/errno.texi (Error Messages): Delete strerror ISO C89
5327         compatibility note.
5329 2015-03-05  Roland McGrath  <roland@hack.frob.com>
5331         * Makeconfig (test-wrapper-env-only): New variable.
5332         * Rules (make-test-out): If variable $*-ENV-only is nonempty,
5333         then use that with $(test-wrapper-env-only) rather than using
5334         $(test-wrapper-env) $(run-program-env) $($*-ENV).
5336 2015-03-05  H.J. Lu  <hongjiu.lu@intel.com>
5338         [BZ #18082]
5339         * sysdeps/alpha/dl-machine.h (elf_machine_type_class): Replace
5340         ELF_RTYPE_CLASS_NOCOPY with ELF_RTYPE_CLASS_COPY in comments.
5341         * sysdeps/arm/dl-machine.h (elf_machine_type_class): Likewise.
5342         * sysdeps/hppa/dl-machine.h (elf_machine_type_class): Likewise.
5343         * sysdeps/i386/dl-machine.h (elf_machine_type_class): Likewise.
5344         * sysdeps/ia64/dl-machine.h (elf_machine_type_class): Likewise.
5345         * sysdeps/m68k/dl-machine.h (elf_machine_type_class): Likewise.
5346         * sysdeps/microblaze/dl-machine.h (elf_machine_type_class):
5347         Likewise.
5348         * sysdeps/nios2/dl-machine.h (elf_machine_type_class): Likewise.
5349         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_type_class):
5350         Likewise.
5351         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_type_class):
5352         Likewise.
5353         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_type_class):
5354         Likewise.
5355         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_type_class):
5356         Likewise.
5357         * sysdeps/sh/dl-machine.h (elf_machine_type_class): Likewise.
5358         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_type_class):
5359         Likewise.
5360         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_type_class):
5361         Likewise.
5362         * sysdeps/tile/dl-machine.h (elf_machine_type_class): Likewise.
5363         * sysdeps/x86_64/dl-machine.h (elf_machine_type_class): Likewise.
5365 2015-03-04  Roland McGrath  <roland@hack.frob.com>
5367         * sysdeps/generic/netinet/if_ether.h: Don't #include <features.h>.
5368         (ETH_ALEN): New macro.
5369         (struct ether_addr): Use it for length of ether_addr_octet.
5371         * nss/test-netdb.c: Don't #include <rpc/netdb.h>.
5372         (setdb): Don't call __nss_configure_lookup for "rpc".
5373         (do_test): Don't call test_rpc.
5374         (output_rpcent, test_rpc): Functions moved ...
5375         * sunrpc/test-rpcent.c: ... to this new file.
5376         * sunrpc/Makefile (tests): Add it.
5378         * nptl/tst-cancel4.c (tf_sigpause) [!SIGCANCEL]: Call pause instead of
5379         __xpg_sigpause.
5380         * nptl/tst-signal3.c: Conditionalize body on [SIGRTMIN].
5381         * nptl/tst-signal6.c: Likewise.
5382         * rt/tst-mqueue5.c: Conditionalize body on [SIGRTMIN && SA_SIGINFO].
5383         * rt/tst-timer4.c: Conditionalize body on [SA_SIGINFO].
5385         * configure.ac (libc_cv_cxx_link_ok): New check.
5386         Reset CXX to empty if it fails to link.
5387         * configure: Regenerated.
5388         * dlfcn/Makefile (tests, modules-names): Add bug-atexit3 and
5389         bug-atexit3-lib only if $(CXX) is nonempty.
5390         * nptl/Makefile (tests): Likewise for tst-cancel24.
5391         (tests, tests-static): Likewise for tst-cancel24-static.
5392         * debug/Makefile (tests): Likewise for tst-chk4, tst-chk5, tst-chk6,
5393         tst-lfschk4, tst-lfschk5, and tst-lfschk6.
5394         * elf/Makefile (tests, modules-names): Likewise for tst-unique3,
5395         tst-unique3lib, tst-unique3lib2, tst-unique4, and tst-unique4lib.
5397 2015-03-04  Andreas Schwab  <schwab@suse.de>
5399         [BZ #17631]
5400         * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Don't define
5401         for non-GCC compilers.
5402         * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
5403         Likewise.
5405 2015-03-03 Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
5407         [BZ #17776]
5408         * sysdeps/powerpc/bits/fenvinline.h (feraiseexcept): Convert input to
5409         integer before bitwise and assembly operations.
5410         (feclearexcept): Likewise.
5411         * math/test-fenvinline.c: New file.
5412         * math/Makefile: Add test-fenvinline test.
5414 2015-03-03  Alan Modra  <amodra@gmail.com>
5416         [BZ #16512]
5417         * scripts/localplt.awk: Strip off symbol version.
5418         * NEWS: Mention bug fix.
5420 2015-03-02  Roland McGrath  <roland@hack.frob.com>
5422         * sysdeps/pthread/timer_routines.c
5423         (timer_free_list, thread_free_list, thread_active_list): Make static.
5425 2015-03-02  Joseph Myers  <joseph@codesourcery.com>
5427         [BZ #17779]
5428         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
5429         [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
5430         Undefine.
5431         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
5432         [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
5433         Likewise.
5434         * sysdeps/unix/sysv/linux/sh/kernel-features.h
5435         [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
5436         Likewise.
5438 2015-03-02  Paul Pluzhnikov  <ppluzhnikov@google.com>
5440         [BZ #18036]
5441         * posix/fnmatch_loop.c (END): Detect invalid pattern.
5442         * posix/tst-fnmatch3.c (do_bz18036): Add test case.
5444 2015-03-02  Andreas Schwab  <schwab@suse.de>
5446         * elf/Makefile ($(elf-objpfx)runtime-linker.st): Fix typo in
5447         variable name.
5449 2015-03-02  Florian Weimer  <fweimer@redhat.com>
5451         * nis/nss_nis/nis-initgroups.c (_nss_nis_initgroups_dyn):
5452         Return error status.
5454 2015-02-27  Alexandre Oliva <aoliva@redhat.com>
5456         [BZ #15969]
5457         * locale/findlocale.c (_nl_find_locale): Introduce const
5458         version of loc_name and drop unsafe type casts.
5460 2015-02-27  Roland McGrath  <roland@hack.frob.com>
5462         * dlfcn/tststatic2.c (main): Converted to ...
5463         (do_test): ... this.
5464         (TEST_FUNCTION): New macro.
5465         Include test-skeleton.c.
5467 2015-02-27  H.J. Lu  <hongjiu.lu@intel.com>
5469         [BZ #17711]
5470         * elf/Makefile (tests): Add vismain only if PIE is enabled.
5471         (tests-pie): Add vismain.
5472         (CFLAGS-vismain.c): New.
5473         * elf/vismain.c: Add comments for PIE requirement.
5475 2015-02-27  Joseph Myers  <joseph@codesourcery.com>
5477         [BZ #18046]
5478         [BZ #18047]
5479         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Use
5480         0x1p-56L as threshold for just returning the argument.
5481         * sysdeps/ieee754/ldbl-96/e_atanhl.c (__ieee754_atanhl): Use
5482         0x1p-32L as threshold for just returning the argument.
5483         * math/auto-libm-test-in: Add more tests of atanh.
5484         * math/auto-libm-test-out: Regenerated.
5485         * sysdeps/i386/fpu/libm-test-ulps: Update.
5486         * sysdeps/x86_64/fpu/libm-test-ulp: Likewise.
5488 2015-02-27  Wilco Dijkstra  wdijkstr@arm.com
5490         * string/bcopy.c (bcopy): Call memmove for performance.
5492 2015-02-27  Wilco Dijkstra  wdijkstr@arm.com
5494         * string/bzero.c (__bzero): Call memset for performance.
5496 2015-02-27  John David Anglin  <dave.anglin@bell.net>
5498         [BZ #18068]
5499         * sysdeps/unix/sysv/linux/hppa/bits/fcntl.h (__O_SYNC): Change
5500         to 00100000.
5502 2015-02-27  Joseph Myers  <joseph@codesourcery.com>
5504         * sysdeps/ieee754/k_standard.c (CSTR): Add comment.
5506 2015-02-26  Joseph Myers  <joseph@codesourcery.com>
5508         * sysdeps/ieee754/k_standard.c (CSTR): New macro.
5509         (__kernel_standard): Use CSTR macro when setting exc.name.
5510         * sysdeps/ieee754/Makefile [$(subdir) = math]
5511         (CFLAGS-k_standard.c): Remove variable.
5513         * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Change last case for
5514         setting p and q from "else if" to "else".
5515         (qzero): Likewise.
5516         * sysdeps/ieee754/dbl-64/e_j1.c (pone): Likewise.
5517         (qone): Likewise.
5518         * sysdeps/ieee754/flt-32/e_j0f.c (pzerof): Likewise.
5519         (qzerof): Likewise.
5520         * sysdeps/ieee754/flt-32/e_j1f.c (ponef): Likewise.
5521         (qonef): Likewise.
5522         * sysdeps/ieee754/ldbl-96/e_j0l.c (pzero): Likewise.
5523         (qzero): Likewise.
5524         * sysdeps/ieee754/ldbl-96/e_j1l.c (pone): Likewise.
5525         (qone): Likewise.
5527         [BZ #18038]
5528         [BZ #18039]
5529         * sysdeps/ieee754/ldbl-128/e_acosl.c (__ieee754_acosl): Only
5530         return pi/2 for arguments below 0x1p-113L.
5531         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Only
5532         return pi/2 for arguments below 0x1p-106L.
5533         * math/auto-libm-test-in: Add more tests of acos.
5534         * math/auto-libm-test-out: Regenerated.
5536         [BZ #16351]
5537         * sysdeps/i386/fpu/e_asin.S (dbl_min): New object.
5538         (MO): New macro.
5539         (__ieee754_asin): Force underflow exception for results with small
5540         absolute value.
5541         * sysdeps/i386/fpu/e_asinf.S (flt_min): New object.
5542         (MO): New macro.
5543         (__ieee754_asinf): Force underflow exception for results with
5544         small absolute value.
5545         * sysdeps/ieee754/dbl-64/e_asin.c: Include <float.h> and <math.h>.
5546         (__ieee754_asin): Force underflow exception for results with small
5547         absolute value.
5548         * sysdeps/ieee754/flt-32/e_asinf.c: Include <float.h>.
5549         (__ieee754_asinf): Force underflow exception for results with
5550         small absolute value.
5551         * sysdeps/ieee754/ldbl-128/e_asinl.c: Include <float.h>.
5552         (__ieee754_asinl): Force underflow exception for results with
5553         small absolute value.
5554         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Include <float.h>.
5555         (__ieee754_asinl): Force underflow exception for results with
5556         small absolute value.
5557         * sysdeps/ieee754/ldbl-96/e_asinl.c: Include <float.h>.
5558         (__ieee754_asinl): Force underflow exception for results with
5559         small absolute value.
5560         * sysdeps/x86_64/fpu/multiarch/e_asin.c [HAVE_FMA4_SUPPORT]:
5561         Include <math.h>.
5562         * math/auto-libm-test-in: Do not mark underflow exceptions as
5563         possibly missing for bug 16351.
5564         * math/auto-libm-test-out: Regenerated.
5566         [BZ #18030]
5567         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Adjust exponent
5568         of power of 2 down when low part has opposite sign.
5569         * math/libm-test.inc (logb_test_data): Add more tests.
5571 2015-02-26  Andreas Schwab  <schwab@suse.de>
5573         [BZ #18032]
5574         * posix/fnmatch_loop.c (FCT): Remove extra increment when skipping
5575         over collating symbol inside a bracket expression.  Minor cleanup.
5576         * posix/tst-fnmatch3.c (do_test): Add test case.
5578 2015-02-26  Joseph Myers  <joseph@codesourcery.com>
5580         [BZ #18029]
5581         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl):
5582         Adjust exponent of power of 2 down when low part has opposite
5583         sign.
5584         * math/libm-test.inc (ilogb_test_data): Add more tests.
5586 2015-02-26  Alexandre Oliva  <aoliva@redhat.com>
5588         [BZ #15969]
5589         * locale/findlocale.c (_nl_find_locale): Fix constness error in
5590         the previous change.
5592         [BZ #15969]
5593         * locale/findlocale.c (_nl_find_locale): Retry archive search
5594         after alias expansion.
5596 2015-02-25  Roland McGrath  <roland@hack.frob.com>
5598         * iconv/tst-iconv3.c (main): Converted to ...
5599         (do_test): ... this.
5600         (TEST_FUNCTION): New macro.
5601         Include test-skeleton.c.
5603         * iconv/tst-iconv5.c (testcode, number): Make variables static const.
5604         (convert): Make function static.
5605         (test_unalign): Likewise.  Add const to argument pointee types.
5606         (main): Replace with static function do_test.
5607         Print "Succeeded." only if RET is zero.
5608         (TEST_FUNCTION): New macro.
5609         Include test-skeleton.c.
5611         * iconv/gconv_conf.c (__gconv_get_path): Don't crash if __getcwd
5612         returns a null pointer.
5614 2015-02-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5616         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Define memcpy
5617         to __memcpy_ppc only for static builds.
5619 2015-02-25  Joseph Myers  <joseph@codesourcery.com>
5621         [BZ #18020]
5622         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use 2**56 and
5623         2**-56 not 2**28 and 2**-29 as thresholds for simpler formulas.
5624         * math/auto-libm-test-in: Add more tests of asinh.
5625         * math/auto-libm-test-out: Regenerated.
5626         * sysdeps/i386/fpu/libm-test-ulps: Update.
5627         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5629 2015-02-25  Cong Wang  <xiyou.wangcong@gmail.com>
5631         [BZ #15850]
5632         * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Put in6_pktinfo
5633         and ip6_mtuinfo definitions here.
5634         * sysdeps/unix/sysv/linux/bits/in.h [_UAPI_IPV6_H]: Wrap code
5635         in this define too.  Update comment.
5637 2015-02-24  Benno Schulenberg  <bensberg@justemail.net>
5639         * elf/sprof.c (load_shobj): Tweak error message to match others.
5641 2015-02-24  Kevin Easton  <kevin@guarana.org>
5643         [BZ #16145] (partial fix)
5644         * time/tzset.c (__tz_convert): Unlock tzset_lock earlier
5645         to reduce lock contention.
5647 2015-02-24  Miroslav Lichvar  <mlichvar@redhat.com>
5649         * sysdeps/unix/sysv/linux/bits/timex.h: Update version.
5650         (struct timex): Update time comment.
5651         (ADJ_SETOFFSET): Define.
5653 2015-02-24  Joseph Myers  <joseph@codesourcery.com>
5655         [BZ #18019]
5656         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
5657         2**56 not 2**28 as threshold for log (2x) formula.
5658         * math/auto-libm-test-in: Add more tests of acosh.
5659         * math/auto-libm-test-out: Regenerated.
5660         * sysdeps/i386/fpu/libm-test-ulps: Update.
5661         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5663 2015-02-24  Mike Frysinger  <vapier@gentoo.org>
5665         * include/alloca.h [_STACK_GROWS_DOWN] (extend_alloca): Add
5666         parenthesis around the buf assignment.
5667         [_STACK_GROWS_UP] (extend_alloca): Add a char* cast.
5669 2015-02-24  Joseph Myers  <joseph@codesourcery.com>
5671         [BZ #16783]
5672         * sysdeps/i386/fpu/e_scalb.S (__ieee754_scalb): Do not handle
5673         arguments (NaN, -Inf) the same as (+/-Inf, -Inf).
5674         * sysdeps/i386/fpu/e_scalbf.S (__ieee754_scalbf): Likewise.
5675         * sysdeps/i386/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
5676         * sysdeps/x86_64/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
5677         * math/libm-test.inc (scalb_test_data): Add more tests.
5679 2015-02-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
5681         [BZ #17916]
5682         * libio/fileops.c (_IO_new_file_fopen): Limit stack use
5683         * libio/tst-fopenloc.c (do_test, do_bz17916): Add a large ccs= test
5685 2015-02-24  Eric Rannaud  <e@nanocritical.com>
5687         [BZ #17523]
5688         * io/fcntl.h (__OPEN_NEEDS_MODE): New macro.
5689         * io/bits/fcntl2.h (open): Use it.
5690         (openat): Likewise.
5691         * io/open.c (__libc_open): Likewise.
5692         * io/open64.c (__libc_open64): Likewise.
5693         * io/open64_2.c (__open64_2): Likewise.
5694         * io/open_2.c (__open_2): Likewise.
5695         * io/openat.c (__openat): Likewise.
5696         * io/openat64.c (__openat64): Likewise.
5697         * io/openat64_2.c (__openat64_2): Likewise.
5698         * io/openat_2.c (__openat_2): Likewise.
5699         * sysdeps/mach/hurd/open.c (__libc_open): Likewise.
5700         * sysdeps/mach/hurd/openat.c (__openat): Likewise.
5701         * sysdeps/posix/open64.c (__libc_open64): Likewise.
5702         * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
5703         * sysdeps/unix/sysv/linux/generic/open.c (__libc_open): Likewise.
5704         (__open_nocancel): Likewise.
5705         * sysdeps/unix/sysv/linux/generic/open64.c (__libc_open64): Likewise.
5706         * sysdeps/unix/sysv/linux/open64.c (__libc_open64): Likewise.
5707         * sysdeps/unix/sysv/linux/openat.c (__OPENAT): Likewise.
5709 2015-02-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
5711         [BZ #14841]
5712         * resolv/gethnamaddr.c (getanswer): Skip logging if
5713         RES_USE_DNSSEC is set.
5714         * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
5716 2015-02-24  Mike Frysinger  <vapier@gentoo.org>
5718         * sysdeps/unix/sysv/linux/hppa/sysdep.h: Include dl-sysdep.h.
5720 2015-02-23  Alexandre Oliva <aoliva@redhat.com>
5722         * include/stdc-predef.h (__STDC_ISO_10646__): Update to
5723         201304L, for Unicode 7.
5725 2015-02-23  H.J. Lu  <hongjiu.lu@intel.com>
5727         [BZ #17836]
5728         * csu/Makefile (extra-objs): Add gmon-start.o if not builing
5729         shared library.  Add gmon-start.os otherwise.
5730         ($(objpfx)g$(start-installed-name)): Use $(objpfx)S%
5731         $(objpfx)gmon-start.os if builing shared library.
5732         ($(objpfx)g$(static-start-installed-name)): Likewise.
5734 2015-02-23  Andreas Schwab  <schwab@suse.de>
5736         * elf/Makefile (CFLAGS-tst-audit2.c): Define.
5738 2015-02-22  Paul Pluzhnikov  <ppluzhnikov@google.com>
5740         [BZ #17269]
5741         * libio/wstrops.c (_IO_wstr_overflow): Guard against integer overflow
5742         (enlarge_userbuf): Likewise.
5744 2015-02-22  Chung-Lin Tang  <cltang@codesourcery.com>
5746         * libio/tst-memstream2.c (TIMEOUT): Define as 100.
5747         * math/atest-exp.c (TIMEOUT): Adjust to 200.
5748         * math/atest-exp2.c (TIMEOUT): Adjust to 300.
5749         * math/atest-sincos.c (TIMEOUT): Adjust to 600.
5751 2015-02-20  Joseph Myers  <joseph@codesourcery.com>
5753         * soft-fp/op-common.h (_FP_FROM_INT): Wrap call to abort in
5754         expression inside statement expression.
5756 2015-02-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
5758         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Include
5759         <sysdeps/nptl/lowlevellock.h> and remove macros and
5760         functions that are now defined there.
5761         (SYS_futex): Remove.
5762         (lll_compare_and_swap): Remove.
5763         * sysdeps/s390/bits/atomic.h (atomic_exchange_acq): Define.
5765 2015-02-19  Joseph Myers  <joseph@codesourcery.com>
5767         [BZ #17999]
5768         * dirent/scandir.c [!SCANDIR] (SCANDIRAT): Define to __scandirat
5769         instead of scandirat.
5770         * dirent/scandirat.c [!SCANDIRAT] (SCANDIRAT): Likewise.
5771         [!SCANDIRAT] (SCANDIRAT_WEAK_ALIAS): Define.
5772         [SCANDIRAT_WEAK_ALIAS] (scandirat): Define as weak alias of
5773         __scandirat.
5774         * include/dirent.h (scandirat): Do not use libc_hidden_proto.
5775         (__scandirat): Declare.  Use libc_hidden_proto.
5776         * conform/Makefile (test-xfail-POSIX2008/dirent.h/linknamespace):
5777         Remove variable.
5778         (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
5780 2015-02-18  Joseph Myers  <joseph@codesourcery.com>
5782         [BZ #15319]
5783         * sysdeps/i386/fpu/e_atan2.S (dbl_min): New object.
5784         (MO): New macro.
5785         (__ieee754_atan2): For results with small absolute value, force
5786         underflow exception and remove excess range and precision from
5787         return value.
5788         * sysdeps/i386/fpu/e_atan2f.S (flt_min): New object.
5789         (MO): New macro.
5790         (__ieee754_atan2f): For results with small absolute value, force
5791         underflow exception and remove excess range and precision from
5792         return value.
5793         * sysdeps/i386/fpu/s_atan.S (dbl_min): New object.
5794         (MO): New macro.
5795         (__atan): For results with small absolute value, force underflow
5796         exception and remove excess range and precision from return value.
5797         * sysdeps/i386/fpu/s_atanf.S (flt_min): New object.
5798         (MO): New macro.
5799         (__atanf): For results with small absolute value, force underflow
5800         exception and remove excess range and precision from return value.
5801         * sysdeps/ieee754/dbl-64/e_atan2.c: Include <float.h> and
5802         <math.h>.
5803         (__ieee754_atan2): Force underflow exception for results with
5804         small absolute value.
5805         * sysdeps/ieee754/dbl-64/s_atan.c: Include <float.h> and
5806         <math_private.h>.
5807         (atan): Force underflow exception for results with small absolute
5808         value.
5809         * sysdeps/ieee754/flt-32/s_atanf.c: Include <float.h>.
5810         (__atanf): Force underflow exception for results with small
5811         absolute value.
5812         * sysdeps/ieee754/ldbl-128/s_atanl.c: Include <float.h> and
5813         <math.h>.
5814         (__atanl): Force underflow exception for results with small
5815         absolute value.
5816         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <float.h>.
5817         (__atanl): Force underflow exception for results with small
5818         absolute value.
5819         * sysdeps/x86/fpu/bits/mathinline.h
5820         [!__SSE2_MATH__ && !__x86_64__ && __LIBC_INTERNAL_MATH_INLINES]
5821         (__ieee754_atan2): Only define inline for long double.
5822         * sysdeps/x86_64/fpu/multiarch/e_atan2.c
5823         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Include <math.h>.
5824         * math/auto-libm-test-in: Do not mark underflow exceptions as
5825         possibly missing for bug 15319.  Add more tests of atan2.
5826         * math/auto-libm-test-out: Regenerated.
5827         * math/libm-test.inc (casin_test_data): Do not mark underflow
5828         exceptions as possibly missing for bug 15319.
5829         (casinh_test_data): Likewise.
5830         * sysdeps/i386/fpu/libm-test-ulps: Update.
5832 2015-02-18  Steve Ellcey  <sellcey@imgtec.com>
5834         * sysdeps/unix/sysv/linux/mips/bits/endian.h: Remove.
5835         * sysdeps/mips/bits/endian.h: Fix comments.
5837 2015-02-18  Joseph Myers  <joseph@codesourcery.com>
5839         [BZ #17996]
5840         * include/search.h (hcreate_r): Don't use libc_hidden_proto.
5841         (hdestroy_r): Likewise.
5842         (hsearch_r): Likewise.
5843         (__hcreate_r): Declare and use libc_hidden_proto.
5844         (__hdestroy_r): Likewise.
5845         (__hsearch_r): Likewise.
5846         * misc/hsearch.c (hsearch): Call __hsearch_r instead of hsearch_r.
5847         (hcreate): Call __hcreate_r instead of hcreate_r.
5848         (__hdestroy): Call __hdestroy_r instead of hdestroy_r.
5849         * misc/hsearch_r.c (hcreate_r): Rename to __hcreate_r and define
5850         as weak alias of __hcreate_r.
5851         (hdestroy_r): Rename to __hdestroy_r and define as weak alias of
5852         __hdestroy_r.
5853         (hsearch_r): Rename to __hsearch_r and define as weak alias of
5854         __hsearch_r.
5855         * conform/Makefile (test-xfail-XPG3/search.h/linknamespace):
5856         Remove variable.
5857         (test-xfail-XPG4/search.h/linknamespace): Likewise.
5858         (test-xfail-UNIX98/search.h/linknamespace): Likewise.
5859         (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
5860         (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
5862 2015-02-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
5864         * malloc/malloc.c (__libc_malloc): Consolidate arena_lookup and
5865         arena_lock into a single arena_get.
5867 2015-02-17  Carlos O'Donell  <carlos@redhat.com>
5869         * dl-reloc.c: Inlucde libc-internal.h.
5870         (_dl_try_allocate_static_tls): Call ALIGN_UP.
5871         (_dl_relocate_object): Call ALIGN_UP, ALIGN_DOWN, and PTR_ALIGN_DOWN.
5872         (_dl_protect_relro): Call ALIGN_UP and ALIGN_DOWN.
5873         * malloc/arena.c (new_heap): Use pagesize. Call ALIGN_UP.
5874         (grow_heap): Likewise.
5875         * malloc/malloc.c: Include libc-internal.h.
5876         (do_check_malloc): Call powerof2.
5877         (sysmalloc): Use pagesize. Call ALIGN_UP.
5878         (systrim): Use pagesize.
5879         (mremap_chunk): Use pagesize. Call ALIGN_UP.
5880         (__libc_valloc): Use pagesize.
5881         (__libc_pvalloc): Use pagesize. Call ALIGN_UP.
5883 2015-02-17  Joseph Myers  <joseph@codesourcery.com>
5885         [BZ #17991]
5886         * include/sys/resource.h (__getrlimit64): Declare.  Use
5887         libc_hidden_proto.
5888         * resource/getrlimit64.c (getrlimit64): Rename to __getrlimit64
5889         and define as weak alias of __getrlimit64.  Use libc_hidden_weak.
5890         * sysdeps/posix/spawni.c (__spawni): Call __getrlimit64 instead of
5891         getrlimit64.
5892         * sysdeps/unix/sysv/linux/getrlimit64.c (getrlimit64): Rename to
5893         __getrlimit64.
5894         [!getrlimit64] (getrlimit64): Define as weak alias of
5895         __getrlimit64.  Use libc_hidden_weak.
5896         * sysdeps/unix/sysv/linux/i386/getrlimit64.c (getrlimit64): Define
5897         using __getrlimit64 not __new_getrlimit64.
5898         (__GI_getrlimit64): Likewise.
5899         * sysdeps/unix/sysv/linux/mips/getrlimit64.c (getrlimit64):
5900         Likewise.
5901         (__GI_getrlimit64): Likewise.
5902         (__old_getrlimit64): Use __getrlimit64 not __new_getrlimit64.
5903         * sysdeps/unix/sysv/linux/powerpc/powerpc64/syscalls.list
5904         (getrlimit): Add __getrlimit64 alias.
5905         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (getrlimit):
5906         Likewise.
5907         * conform/Makefile (test-xfail-XOPEN2K/spawn.h/linknamespace):
5908         Remove variable.
5909         (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
5910         (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
5912 2015-02-17  Paul Pluzhnikov  <ppluzhnikov@google.com>
5914         * libio/fileops.c: Add missing sys/mman.h
5915         * libio/iopopen.c: Add missing fcntl.h, remove redundant unistd.h
5917 2015-02-17  Joseph Myers  <joseph@codesourcery.com>
5919         * manual/math.texi (Errors in Math Functions): Clarify goals
5920         regarding inexact and underflow exceptions.
5922 2015-02-17  Steve Ellcey  <sellcey@imgtec.com>
5924         * sysdeps/mips/memcpy.S: Move R6 PREFETCH_STORE_HINT check.
5925         * sysdeps/mips/memset.S: Ditto.
5927 2015-02-17  Steve Ellcey  <sellcey@imgtec.com>
5929         * sysdeps/mips/bits/endian.h (__MIPSEL): Use #ifdef instead of #if.
5931 2015-02-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
5933         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c
5934         (__v1longjmp): Remove versioned symbol.
5935         (__v1siglongjmp): Remove alias and versioned symbol.
5936         (__v2longjmp): Use DEFINE_LONGJMP instead of alias.
5937         (__v2siglongjmp): Likewise.
5939 2015-02-16  Torvald Riegel  <triegel@redhat.com>
5941         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Remove file.
5943 2015-02-16  Mike Frysinger  <vapier@gentoo.org>
5945         * sysdeps/unix/sysv/linux/ia64/getpagesize.c: Delete.
5947 2015-02-16  Joseph Myers  <joseph@codesourcery.com>
5949         [BZ #17987]
5950         * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Ensure sign of
5951         zero result does not depend on the sign resulting from
5952         subtraction.
5953         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
5954         Likewise.
5955         * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
5956         * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
5957         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
5958         * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
5959         * math/libm-test.inc (remquo_test_data): Add more tests.
5961 2015-02-16  Paul Eggert  <eggert@cs.ucla.edu>
5963         * manual/time.texi (TZ Variable): glibc no longer comes with tzdata.
5964         Problem reported by J William Piggott.
5966 2015-02-16  Joseph Myers  <joseph@codesourcery.com>
5968         [BZ #17978]
5969         * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Do not form
5970         products 4 * y and 2 * y where those would overflow.
5971         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
5972         Likewise.
5973         * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
5974         * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
5975         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
5976         * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
5977         * math/libm-test.inc (remquo_test_data): Add more tests.
5979         * sysdeps/mips/sgidefs.h [!_ABIO64] (_ABIO64): New macro.
5981         * sysdeps/mips/memcpy.S [_COMPILING_NEWLIB]: Change condition to
5982         [defined _COMPILING_NEWLIB].
5983         * sysdeps/mips/memset.S [_COMPILING_NEWLIB]: Likewise.
5984         * sysdeps/mips/strcmp.S [_COMPILING_NEWLIB]: Likewise.
5986         * sysdeps/mips/sys/asm.h [__mips_isa_rev < 6]: Change condition to
5987         [!defined __mips_isa_rev || __mips_isa_rev < 6].
5989 2015-02-16  Torvald Riegel  <triegel@redhat.com>
5991         * nptl/tst-cond25.c (cleanup): Explicitly check that the mutex is
5992         acquired.
5994 2015-02-15  Matthew Fortune <Matthew.Fortune@imgtec.com>
5996         [BZ #17792]
5997         * sysdeps/unix/sysv/linux/ia64/sys/user.h (NBPG): Remove.
5998         (UPAGES, HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR,
5999         HOST_STACK_END_ADDR): Likewise.
6001 2015-02-13  Steve Ellcey  <sellcey@imgtec.com>
6003         * sysdeps/mips/bits/endian.h (__MIPSEB): Use #ifdef instead of #if.
6004         * sysdeps/mips/memcpy.S (__MIPSEB): Ditto.
6005         * sysdeps/mips/memset.S (__MIPSEB): Ditto.
6007 2015-02-13  Roland McGrath  <roland@hack.frob.com>
6009         * sysdeps/generic/c++-types.data: New file.
6010         * sysdeps/generic/ld.abilist: New file.
6011         * sysdeps/generic/libBrokenLocale.abilist: New file.
6012         * sysdeps/generic/libanl.abilist: New file.
6013         * sysdeps/generic/libc.abilist: New file.
6014         * sysdeps/generic/libcrypt.abilist: New file.
6015         * sysdeps/generic/libdl.abilist: New file.
6016         * sysdeps/generic/libm.abilist: New file.
6017         * sysdeps/generic/libpthread.abilist: New file.
6018         * sysdeps/generic/libresolv.abilist: New file.
6019         * sysdeps/generic/librt.abilist: New file.
6021 2015-02-13  Joseph Myers  <joseph@codesourcery.com>
6023         [BZ #17569]
6024         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
6025         Compute absolute value of x as modified by fmod, not original
6026         value of x.
6027         * math/libm-test.inc (RUN_TEST_ffI_f1): Rename to
6028         RUN_TEST_ffI_f1_mod8.  Check extra return value mod 8.
6029         (RUN_TEST_LOOP_ffI_f1): Rename to RUN_TEST_LOOP_ffI_f1_mod8.  Call
6030         RUN_TEST_ffI_f1_mod8.
6031         (remquo_test_data): Add more tests.
6033 2015-02-13  Roland McGrath  <roland@hack.frob.com>
6035         * sysdeps/init_array/pt-crti.S: New file.
6037 2015-02-13  Joseph Myers  <joseph@codesourcery.com>
6039         [BZ #17967]
6040         * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Use
6041         __builtin_fmaf instead of relying on contraction of a * b + c.
6043 2015-02-12  J William Piggott  <elseifthen@gmx.com>
6045         [BZ #17969]
6046         * manual/time.texi: correct the zoneinfo path in the TZ Variable
6047         node.
6049 2015-02-12  Joseph Myers  <joseph@codesourcery.com>
6051         [BZ #17964]
6052         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Use
6053         __builtin_fma instead of relying on contraction of a * b + c.
6055 2015-02-12  Roland McGrath  <roland@hack.frob.com>
6057         * Makeconfig (ASFLAGS): Add -Werror=undef.
6058         * sysdeps/arm/Versions (libc: GLIBC_2.19): New (empty) version set.
6059         * sysdeps/unix/make-syscalls.sh: Always emit #define's for
6060         SYSCALL_CANCELLABLE, SYSCALL_NOERRNO, SYSCALL_ERRVAL, to 1 or 0.
6062         * Makeconfig (after-link): New variable.
6063         (+link-pie, +link-pie-tests): Use it.
6064         (+link-static, +link-static-tests): Likewise.
6065         (+link, +link-tests): Likewise.
6066         * Makerules (build-module, build-module-asneeded): Likewise.
6067         (lib%.so, $(common-objpfx)libc.so, $(common-objpfx)linkobj/libc.so):
6068         Likewise.
6069         * elf/Makefile ($(objpfx)ld.so): Likewise.
6071 2015-02-12  Rüdiger Sonderfeld  <ruediger@c-plusplus.net>
6073         [BZ #17965]
6074         * manual/time.texi (Elapsed Time): tv_sec is of type time_t in
6075         both struct timeval and struct timespec.
6077 2015-02-12  Joseph Myers  <joseph@codesourcery.com>
6079         [BZ #16560]
6080         * math/e_exp2l.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
6081         and redefine.
6082         (__ieee754_exp2l): Do not multiply small fractional parts by
6083         M_LN2l.
6084         * sysdeps/i386/fpu/e_exp2l.S (__ieee754_exp2l): Just add 1 to
6085         small argument.
6086         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
6087         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
6088         * sysdeps/x86_64/fpu/e_exp2l.S (__ieee754_exp2l): Likewise.
6089         * math/auto-libm-test-in: Add more tests of exp2.
6090         * math/auto-libm-test-out: Regenerated.
6092 2015-02-12  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
6094         * sysdeps/powerpc/powerpc64/power7/strncpy.S (strncpy): Optimize
6095         unaligned path.
6097 2015-02-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6099         * sysdeps/unix/sysv/linux/powerpc/htm.h [TABORT]: Fix encoding for
6100         little endian.
6102 2015-02-12  Andreas Schwab  <schwab@suse.de>
6104         [BZ #15790]
6105         * nptl/pthread_mutexattr_gettype.c (pthread_mutexattr_gettype):
6106         Filter out elision flags from value returned in kind.
6107         * nptl/Makefile (tests): Add tst-pthread-mutexattr.
6108         * nptl/tst-pthread-mutexattr.c: New file.
6110 2015-02-11  Samuel Thibault  <samuel.thibault@ens-lyon.org>
6112         * abi-tags: Revert ae20c9a: rename back gnu into gnu-gnu.
6113         * configure.ac, configure: Revert ba90e05: modify gnu-* host_os back
6114         into gnu-gnu, and update comment to refer to abi-tags.
6116 2015-02-11  Joseph Myers  <joseph@codesourcery.com>
6118         [BZ #15467]
6119         * sysdeps/ieee754/dbl-64/s_sincos.c: Include <errno.h>.
6120         (__sincos): Set errno to EDOM for infinite argument.
6121         * sysdeps/ieee754/flt-32/s_sincosf.c: Include <errno.h>.
6122         (SINCOSF_FUNC): Set errno to EDOM for infinite argument.
6123         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Include <errno.h>.
6124         (__sincosl): Set errno to EDOM for infinite argument.
6125         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Include <errno.h>.
6126         (__sincosl): Set errno to EDOM for infinite argument.
6127         * sysdeps/ieee754/ldbl-96/s_sincosl.c: Include <errno.h>.
6128         (__sincosl): Set errno to EDOM for infinite argument.
6129         * math/libm-test.inc (sincos_test_data): Test errno setting.
6131 2015-02-11  Leonhard Holz  <leonhard.holz@web.de>
6133         * string/strxfrm_l.c: Remove #define STRCMP.
6134         * string/strcoll_l.c: Remove #define STRLEN.
6135         * wcsmbs/wcsxfrm_l.c: Remove #define STRCMP.
6136         * wcsmbs/wcscoll_l.c: Remove #define STRLEN.
6138 2015-02-10  Joseph Myers  <joseph@codesourcery.com>
6140         * sysdeps/mips/soft-fp/sfp-machine.h: Move to ....
6141         * sysdeps/mips/mips32/sfp-machine.h: ... here.
6142         * sysdeps/mips/mips64/soft-fp/Makefile: Move to ....
6143         * sysdeps/mips/mips64/Makefile: ... here.
6144         * sysdeps/mips/mips64/soft-fp/e_sqrtl.c: Move to ....
6145         * sysdeps/mips/mips64/e_sqrtl.c: ... here.
6146         * sysdeps/mips/mips64/soft-fp/sfp-machine.h: Move to ....
6147         * sysdeps/mips/mips64/sfp-machine.h: ... here.
6148         * sysdeps/mips/mips32/Implies: Remove mips/soft-fp.
6149         * sysdeps/mips/mips64/n32/Implies: Remove mips/mips64/soft-fp.
6150         * sysdeps/mips/mips64/n64/Implies: Likewise.
6152 2015-02-10  Roland McGrath  <roland@hack.frob.com>
6154         * math/test-snan.c: Drop unnecessary #include's of <stdlib.h>,
6155         <sys/time.h>, <string.h>, and <errno.h>.
6156         (dest_offset, dest_address, value, zero): Remove unused variables.
6157         (ldouble): Remove typedef.
6158         (myFPsighandler): Use simple handler signature, not SA_SIGINFO
6159         signature.  Pass 1 to siglongjmp rather than 0 (which is converted to
6160         1).  Fix code style.
6161         (set_sigaction_FP, remove_sigaction_FP): Functions removed.
6162         (check): Function removed.
6163         (CHECK): New macro.
6164         (TEST_FUNC): Fix code style.  Use CHECK macro rather than repeating
6165         boilerplate feclearexcept + feenableexcept + sigsetjmp code.
6166         Don't call set_sigaction_FP and remove_sigaction_FP here.
6167         (ldouble_test): Just use 'long double' as macro argument, no need for
6168         the 'ldouble' typedef.
6169         (do_test): Set up SIGFPE handler at start, using plain signal rather
6170         than sigaction.  Fix code style.
6172 2015-02-10  Evangelos Foutras  <evangelos@foutrelis.com>
6174         [BZ #17949]
6175         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Fix position of
6176         jump label.
6178 2015-02-09  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
6180         * sysdeps/powerpc/powerpc32/configure.ac: Remove R_PPC_REL16 check.
6181         * sysdeps/powerpc/powerpc32/configure: Regenerated.
6183         * sysdeps/powerpc/configure.ac: Remove file.
6184         * sysdeps/powerpc/configure: Likewise.
6186         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
6187         [sysdep_routines]: Remove wordcopy-power6 object.
6188         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
6189         (__memmove_power7): Use local call for wordcopy and memcpy symbols.
6190         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c
6191         (__memmove_ppc32): Likewise.
6192         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: Remove
6193         file.
6194         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Remove file.
6195         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c [IS_IN (libc)]:
6196         Remove preprocessor.
6198         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
6199         [sysdep_routines]: Remove wide chars objects.
6200         [wcsmbs]: New rule for wide char objects.
6202         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
6203         Remove wordcopy-power6 obejct.
6204         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c (__memmove_ppc):
6205         Use local call for wordcopy and memcpy symbols.
6206         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: Remove file.
6207         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: Add default
6208         implementation for loader.
6209         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Remove file.
6211         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
6212         Remove wordcopy-power7 object.
6213         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: Remove file.
6214         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c
6215         (_wordcopy_fwd_aligned): Remove POWER7 specialization.
6216         (_wordcopy_fwd_dest_aligned): Likewise.
6217         (_wordcopy_bwd_aligned): Likewise.
6218         (_wordcopy_bwd_dest_aligned): Likewise.
6220         * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c (__bcopy_ppc):
6221         Rewrite to call __memmove_ppc instead of include default
6222         implementation.
6224         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
6225         Remove wide chars objects.
6226         [wcsmbs]: New rule for wide char objects.
6228 2015-02-09  Andreas Schwab  <schwab@suse.de>
6230         [BZ #17912]
6231         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
6232         in terms of __O_DIRECTORY.
6234 2015-02-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
6236         * time/getdate.c: Include <stdbool.h>.
6237         * sysdeps/gnu/unwind-resume.c [!PTR_MANGLE] (__libgcc_s_init): Do not
6238         call PTR_MANGLE.
6239         [!PTR_DEMANGLE] (_Unwind_Resume, __gcc_personality_v0): Do not call
6240         PTR_DEMANGLE.
6242 2015-02-07  Paul Eggert  <eggert@cs.ucla.edu>
6244         Add ersatz _Static_assert on older C hosts
6245         * misc/sys/cdefs.h (_Static_assert): Define a substitute, if on a
6246         pre-C11 C platform that is not known to support _Static_assert.
6248 2015-02-07  Richard Braun  <rbraun@sceen.net>
6250         * hurd/hurd/signal.h (_hurd_critical_section_lock): Don't unlock
6251         sigstate.
6252         * sysdeps/mach/hurd/mmap.c (__mmap): Also handle PROT_NONE case.
6254 2015-02-07  Samuel Thibault  <samuel.thibault@ens-lyon.org>
6256         * sysdeps/pthread/aio_misc.c [!AIO_PRIO_DELTA_MAX]: Do not check
6257         priority against unexistent AIO_PRIO_DELTA_MAX.
6258         * misc/chflags.c (chflags): Set flags parameter type to unsigned long
6259         instead of int.
6260         * misc/fchflags.c (fchflags): Likewise.
6261         * sysdeps/mach/hurd/chflags.c (chflags): Likewise.
6262         * sysdeps/mach/hurd/fchflags.c (fchflags): Likewise.
6263         * sysdeps/mach/hurd/bits/stat.h [__USE_MISC] (UF_SETTABLE, UF_NODUMP,
6264         UF_IMMUTABLE, UF_APPEND, UF_OPAQUE, UF_NOUNLINK, SF_SETTABLE,
6265         SF_ARCHIVED, SF_IMMUTABLE, SF_APPEND, SF_NOUNLINK, SF_SNAPSHOT):
6266         Declare macros.
6267         [__USE_MISC] (chflags, fchflags): Declare functions.
6268         * hurd/hurdselect.c (_hurd_select): In the poll case, do not return
6269         EINVAL when nfds is greater than FD_SETSIZE.
6270         * hurd/hurd/resource.h (MACH_PRIORITY_TO_NICE,
6271         NICE_TO_MACH_PRIORITY): Align nice levels on Mach priorities from 5 to
6272         45.
6273         * hurd/hurdselect.c (_hurd_select): Pass MACH_RCV_INTERRUPT to
6274         __mach_msg.  If that returns MACH_RCV_INTERRUPTED, set ERR to EINTR.
6275         * hurd/hurdselect.c (_hurd_select): Remove unreachable check for
6276         MACH_RCV_TIMED_OUT.
6277         * hurd/hurd/signal.h (_hurd_self_sigstate,
6278         _hurd_critical_section_lock, _hurd_critical_section_unlock):
6279         Explicit casts from void *.
6280         * sysdeps/mach/hurd/tls.h: Include <stdint.h> and <sysdep.h>.
6281         * abi-tags: Rename gnu-gnu os into gnu.
6283         [BZ #4719]
6284         * sysdeps/mach/hurd/bits/ioctls.h (_IOT__IOTBASE_long, _IOT_char,
6285         _IOT_short, _IOT_int, _IOT_long, _IOT__IOTBASE_int8_t,
6286         _IOT__IOTBASE_uint8_t, _IOT__IOTBASE_int16_t, _IOT__IOTBASE_uint16_t,
6287         _IOT__IOTBASE_int32_t, _IOT__IOTBASE_uint32_t, _IOT__IOTBASE_int64_t,
6288         _IOT__IOTBASE_uint64_t, _IOT__IOTBASE_size_t, _IOT__IOTBASE_ssize_t,
6289         _IOTBASE_unsigned, _IOTBASE_signed): Define macros.
6291         [BZ #17944]
6292         * hurd/hurdsocket.h: New file, defines _hurd_sun_path_dupa which
6293         duplicates ADDR->sun_path with sockaddr LEN limitation.
6294         * sysdeps/mach/hurd/connect.c: Include <string.h>
6295         (__connect): Give result of _hurd_sun_path_dupa to name lookup.
6296         * sysdeps/mach/hurd/sendmsg.c: Likewise.
6297         * sysdeps/mach/hurd/sendto.c: Likewise.
6298         * sysdeps/mach/hurd/bind.c: Call _hurd_sun_path_dupa instead of
6299         implementing it by hand.
6301 2015-02-06  Roland McGrath  <roland@hack.frob.com>
6303         * sysdeps/arm/sysdep.h [!PROF] [ARCH_HAS_T2 && !PIC] (LDR_GLOBAL):
6304         Use sfi_breg on ldr.
6305         [!PROF] [ARCH_HAS_T2 && PIC && ARM_PCREL_MOVW_OK] (LDR_GLOBAL):
6306         Likewise.
6308         * nptl/tst-cancel25.c (tf2): Test for SIGCANCEL being blocked only if
6309         it's defined.
6310         * nptl/tst-signal7.c (do_test): Test SIGCANCEL only if it's defined.
6311         Test SIGSETXID only if it's defined.
6313         * nptl/tst-locale1.c (useless): Use SIGRTMIN only if it's defined.
6315         * rt/tst-timer2.c (do_test): Don't initialize SIGEV.sigev_signo, which
6316         will not be used.  Use NULL rather than 0 for .sigev_notify_attributes.
6318         * nptl/tst-align2.c: Moved ...
6319         * sysdeps/unix/sysv/linux/tst-align-clone.c: ... here.
6320         * nptl/Makefile (tests): Remove tst-align2.
6321         * sysdeps/unix/sysv/linux/Makefile
6322         [$(subdir) = nptl] (tests): Add tst-align-clone.
6323         * nptl/tst-getpid1.c: Moved ...
6324         * sysdeps/unix/sysv/linux/tst-getpid1.c: ... here.
6325         * nptl/tst-getpid2.c: Moved ...
6326         * sysdeps/unix/sysv/linux/tst-getpid2.c: ... here.
6327         * nptl/Makefile (tests): Move tst-getpid1 and tst-getpid2 ...
6328         * sysdeps/unix/sysv/linux/Makefile
6329         [$(subdir) = nptl] (tests): ... here.
6330         * nptl/Makefile (tst-getpid2-ENV): Move variable ...
6331         * sysdeps/unix/sysv/linux/Makefile
6332         [$(subdir) = nptl] (tst-getpid2-ENV): ... here.
6334         * nptl/tst-cleanup2.c (do_test): Use signal rather than sigaction.
6335         Drop trailing \n from perror argument.  Use return rather than exit.
6337         * nptl/tst-cancel20.c (do_test): Conditionalize SA_SIGINFO-using tests
6338         on [SA_SIGINFO].
6339         * nptl/tst-cancel21.c (do_test): Likewise.
6340         * debug/tst-backtrace6.c: Include <signal.h> first thing.
6341         Conditionalize inclusion of tst-backtrace5.c on [SA_SIGINFO].
6342         [!SA_SIGINFO]: Make it a stub test.
6344         * misc/tst-pselect.c (do_test): Don't set SA_NOCLDWAIT in sa_flags for
6345         SIGCHLD; it's redundant with SIG_IGN as sa_handler.
6347         * posix/tst-getlogin.c: Move to ...
6348         * login/tst-getlogin.c: ... here.
6349         * posix/Makefile (tests): Move tst-getlogin to ...
6350         * login/Makefile (tests): ... here.
6352         * libio/tst-atime.c (do_test): Move local variables SV and E
6353         inside [ST_NOATIME] conditional.
6355         * dirent/tst-fdopendir.c (O_NOATIME): If not defined, #define to 0.
6357         * nptl/tst-kill5.c (do_test): Use INT_MAX rather than SIGRTMAX + 10.
6359         * nptl/tst-join5.c: Drop #include <sys/syscall.h>.
6360         (wait_code): New function replaces macro.
6361         Call nanosleep rather than syscall.
6363         * nptl/pt-system.c: Rewritten.  Put everything under
6364         [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
6365         Use IFUNC to redirect when possible.
6367         * nptl/pt-longjmp.c: Rewritten.  Put everything under
6368         [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
6369         Use IFUNC to redirect when possible.
6371         * nptl/pt-fork.c: Rewritten.  Put everything under
6372         [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
6373         Use IFUNC to redirect when possible.
6374         * nptl/Versions (libpthread: GLIBC_2.22): New (empty) version set.
6376         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: Remove all
6377         code under [!__ASSUME_FUTEX_CLOCK_REALTIME], since that is defined
6378         unconditionally nowadays.  This included the only reference to
6379         __vdso_clock_gettime that appears outside libc proper.
6380         * sysdeps/unix/sysv/linux/x86_64/Versions (libc: GLIBC_PRIVATE):
6381         Remove version set (containing only __vdso_clock_gettime).
6382         * sysdeps/unix/sysv/linux/x86/libc-vdso.h (__vdso_clock_gettime):
6383         Add attribute_hidden.
6384         * sysdeps/unix/sysv/linux/i386/init-first.c (__vdso_clock_gettime):
6385         Likewise.  Drop __attribute__ ((nocommon)), libc_hidden_proto, and
6386         libc_hidden_data_def.
6387         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
6388         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
6390         * inet/Versions (libc: GLIBC_2.0): Move getrpcbyname, getrpcbyname_r,
6391         getrpcbynumber, getrpcbynumber_r, getrpcent, getrpcent_r, endrpcent,
6392         setrpcent, and getrpcport to ...
6393         * sunrpc/Versions (libc: GLIBC_2.0): ... here.
6394         * inet/Versions (libc: GLIBC_2.1.2): Move getrpcbyname_r,
6395         getrpcbynumber_r, and getrpcent_r to ...
6396         * sunrpc/Versions (libc: GLIBC_2.1.2): ... this new set.
6397         * inet/getrpcbyname.c: Moved ...
6398         * sunrpc/getrpcbyname.c: ... here.
6399         * inet/getrpcbyname_r.c: Moved ...
6400         * sunrpc/getrpcbyname_r.c: ... here.
6401         * inet/getrpcbynumber.c: Moved ...
6402         * sunrpc/getrpcbynumber.c: ... here.
6403         * inet/getrpcbynumber_r.c: Moved ...
6404         * sunrpc/getrpcbynumber_r.c: ... here.
6405         * inet/getrpcent.c: Moved ...
6406         * sunrpc/getrpcent.c: ... here.
6407         * inet/getrpcent_r.c: Moved ...
6408         * sunrpc/getrpcent_r.c: ... here.
6409         * inet/Makefile (routines): Move those to ...
6410         * sunrpc/Makefile (routines): ... here.
6411         * nss/Makefile (databases): Add key and rpc only if sunrpc appears in
6412         the $(subdirs) list.
6413         (CPPFLAGS-getent.c): New variable.  Pass -D option to set HAVE_SUNRPC
6414         to 0 or 1, indicating whether sunrpc appears in the $(subdirs) list.
6415         * nss/getent.c (print_rpc, rpc_keys): Conditionalize on [HAVE_SUNRPC].
6416         (databases): Conditionalize rpc entry on [HAVE_SUNRPC].
6418         * elf/Makefile (routines): Include $(all-dl-routines), not just
6419         $(dl-routines).
6420         (rtld-routines): Likewise.  Use = rather than :=.
6421         * sysdeps/aarch64/Makefile [$(subdir) = elf]
6422         (sysdep_routines, sysdep-rtld-routines): Don't add tlsdesc and
6423         dl-tlsdesc to these; sysdep-dl-routines alone is enough.
6424         * sysdeps/arm/Makefile: Likewise.
6425         * sysdeps/i386/Makefile: Likewise.
6426         * sysdeps/x86_64/Makefile: Likewise.
6427         * sysdeps/hppa/Makefile [$(subdir) = elf]
6428         (sysdep_routines, sysdep-rtld-routines): Don't add
6429         $(sysdep-dl-routines) to these.
6430         * sysdeps/ia64/Makefile: Likewise.
6431         * sysdeps/unix/sysv/linux/ia64/Makefile: Likewise.
6432         * sysdeps/unix/sysv/linux/aarch64/Makefile [$(subdir) = elf]
6433         [$(build-shared) = yes] (sysdep_routines, sysdep-rtld-routines):
6434         Don't add dl-static to these; sysdep-dl-routines alone is enough.
6435         * sysdeps/unix/sysv/linux/m68k/Makefile: Likewise.
6436         * sysdeps/unix/sysv/linux/mips/Makefile: Likewise.
6437         * sysdeps/unix/sysv/linux/powerpc/Makefile: Likewise.
6438         * sysdeps/unix/sysv/linux/tile/Makefile: Likewise.
6439         * sysdeps/powerpc/Makefile [$(subdir) = elf]
6440         (sysdep_routines, sysdep-rtld-routines): Don't add dl-machine to
6441         these; sysdep-dl-routines alone is enough.
6443 2015-02-06  Joseph Myers  <joseph@codesourcery.com>
6445         [BZ #17932]
6446         * soft-fp/op-common.h (_FP_FMA): Set exponent of result in case
6447         where multiplication results in zero and third argument is finite
6448         and nonzero.
6449         * math/auto-libm-test-in: Add more tests of fma.
6450         * math/auto-libm-test-out: Regenerated.
6452         * soft-fp/op-common.h (_FP_CMP_CHECK_DENORM): New macro.
6453         (_FP_CMP_CHECK_FLUSH_ZERO): Likewise.
6454         (_FP_CMP): Use_FP_CMP_CHECK_DENORM and _FP_CMP_CHECK_FLUSH_ZERO.
6455         (_FP_CMP_EQ): Likewise.
6456         (_FP_CMP_UNORD): Use _FP_CMP_CHECK_DENORM.
6458         * soft-fp/op-common.h (FP_EXTEND): Rename to _FP_EXTEND_CNAN with
6459         extra argument CHECK_NAN.  Redefine as wrapper around
6460         _FP_EXTEND_CNAN.
6462 2015-02-06  Carlos O'Donell  <carlos@systemhalted.org>
6464         * version.h (RELEASE): Set to "stable".
6465         (VERSION): Set to "2.21"
6466         * include/features.h (__GLIBC_MINOR__): Set to 21.
6468         * sysdeps/unix/sysv/linux/hppa/pthread.h: Sync with pthread.h.
6470 2015-02-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
6471             Paul Eggert  <eggert@cs.ucla.edu>
6473         [BZ #16618]
6474         * stdio-common/tst-sscanf.c (main): Test for buffer overflow.
6475         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Compute needed
6476         size in bytes. Store needed elements in wpmax. Use needed size
6477         in bytes for extend_alloca.
6479 2015-02-05  Carlos O'Donell  <carlos@systemhalted.org>
6481         * manual/install.texi: Latest tested versions are GCC 4.9.2,
6482         binutls 2.25, and texinfo 5.2.
6483         * INSTALL: Regenerate.
6484         * sysdeps/nios2/configure: Regenerate.
6485         * sysdeps/unix/sysv/linux/nios2/configure: Regenerate.
6486         * manual/contrib.texi: Update.
6487         * po/be.po: Update.
6488         * po/bg.po: Update.
6489         * po/ca.po: Update.
6490         * po/cs.po: Update.
6491         * po/da.po: Update.
6492         * po/de.po: Update.
6493         * po/el.po: Update.
6494         * po/eo.po: Update.
6495         * po/es.po: Update.
6496         * po/fi.po: Update.
6497         * po/fr.po: Update.
6498         * po/gl.po: Update.
6499         * po/hr.po: Update.
6500         * po/hu.po: Update.
6501         * po/ia.po: Update.
6502         * po/id.po: Update.
6503         * po/it.po: Update.
6504         * po/ja.po: Update.
6505         * po/ko.po: Update.
6506         * po/lt.po: Update.
6507         * po/nb.po: Update.
6508         * po/nl.po: Update.
6509         * po/pl.po: Update.
6510         * po/pt_BR.po: Update.
6511         * po/ru.po: Update.
6512         * po/rw.po: Update.
6513         * po/sk.po: Update.
6514         * po/sl.po: Update.
6515         * po/sv.po: Update.
6516         * po/tr.po: Update.
6517         * po/uk.po: Update.
6518         * po/vi.po: Update.
6519         * po/zh_CN.po: Update.
6520         * po/zh_TW.po: Update.
6522         * sysdeps/hppa/Makefile (CFLAGS-dl-fptr.c): Add -Wno-error.
6523         * sysdeps/hppa/bits/setjmp.h: Union is named __jmp_buf_internal_tag.
6524         * sysdeps/hppa/dl-irel.h: Remove #warning.
6525         * sysdeps/hppa/entry.h: Provide prototype for
6526         __canonicalize_funcptr_for_compare and cast argument.
6527         * sysdeps/hppa/fpu/fegetexcept.c (fegetexcept): Add semicolon.
6528         * sysdeps/hppa/fpu/ftestexcept.c (fetestexcept): Likewise.
6529         * sysdeps/hppa/sotruss-lib.c: New file.
6530         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h
6531         (atomic_compare_and_exchange_val_acq): Use __typeof__.
6532         (atomic_compare_and_exchange_bool_acq): Likewise.
6533         * sysdeps/unix/sysv/linux/hppa/mmap.c: Use weak alias.
6534         * sysdeps/unix/sysv/linux/hppa/pthread.h: Include pthread.h.
6536         * sysdeps/unix/sysv/linux/hppa/syscall.S: Delete file.
6537         * sysdeps/unix/sysv/linux/hppa/sysdep.c: Move syscall from here...
6538         * sysdeps/unix/sysv/linux/hppa/syscall.c: ... to here.
6540 2015-02-05  Chung-Lin Tang  <cltang@codesourcery.com>
6542         * sysdeps/nios2/machine-gmon.h (NIOS2_MCOUNT_CALL): Correct name of
6543         called function in non-PIC case.
6545 2015-01-31  David S. Miller  <davem@davemloft.net>
6547         * sysdeps/sparc/sparc32/bits/atomic.h
6548         (__sparc32_atomic_do_unlock24): Put the memory barrier before the
6549         unlock not after it.
6550         (__v9_compare_and_exchange_val_32_acq): Use unions to avoid getting
6551         volatile register usage warnings from the compiler.
6553         * sysdeps/sparc/nptl/sem_init.c: Delete.
6554         * sysdeps/sparc/nptl/sem_post.c: Delete.
6555         * sysdeps/sparc/nptl/sem_timedwait.c: Delete.
6556         * sysdeps/sparc/nptl/sem_wait.c: Delete.
6557         * sysdeps/sparc/sparc32/sem_init.c: New file.
6558         * sysdeps/sparc/sparc32/sem_waitcommon.c: New file.
6559         * sysdeps/sparc/sparc32/sem_open.c: Generic nptl version with
6560         padding explicitly initialized.
6561         * sysdeps/sparc/sparc32/sem_post.c: Generic nptl version using
6562         padding for in-semaphore spinlock.
6563         * sysdeps/sparc/sparc32/sem_wait.c: Likewise.
6564         * sysdeps/sparc/sparc32/sem_trywait.c: Delete.
6565         * sysdeps/sparc/sparc32/sem_timedwait.c: Delete.
6566         * sysdeps/sparc/sparc32/sparcv9/sem_init.c: New file.
6567         * sysdeps/sparc/sparc32/sparcv9/sem_open.c: New file.
6568         * sysdeps/sparc/sparc32/sparcv9/sem_post.c: New file.
6569         * sysdeps/sparc/sparc32/sparcv9/sem_waitcommon.c: New file.
6570         * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: Redirect to nptl
6571         version.
6572         * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: Delete.
6573         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Delete.
6575 2015-01-30  H.J. Lu  <hongjiu.lu@intel.com>
6577         [BZ #17801]
6578         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
6579         Set the bit_AVX_Fast_Unaligned_Load bit for AVX2.
6580         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX_Fast_Unaligned_Load):
6581         New.
6582         (index_AVX_Fast_Unaligned_Load): Likewise.
6583         (HAS_AVX_FAST_UNALIGNED_LOAD): Likewise.
6584         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Check the
6585         bit_AVX_Fast_Unaligned_Load bit instead of the bit_AVX_Usable bit.
6586         * sysdeps/x86_64/multiarch/memcpy_chk.S (__memcpy_chk): Likewise.
6587         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy): Likewise.
6588         * sysdeps/x86_64/multiarch/mempcpy_chk.S (__mempcpy_chk): Likewise.
6589         * sysdeps/x86_64/multiarch/memmove.c (__libc_memmove): Replace
6590         HAS_AVX with HAS_AVX_FAST_UNALIGNED_LOAD.
6591         * sysdeps/x86_64/multiarch/memmove_chk.c (__memmove_chk): Likewise.
6593 2015-01-29  Andreas Schwab  <schwab@suse.de>
6595         * sysdeps/nptl/allocrtsig.c: Include <signal.h>.
6597 2015-01-29  Siddhesh Poyarekar <siddhesh@redhat.com>
6599         [BZ #17892]
6600         * nscd/nscd_stat.c (send_stats): Initialize DATA.
6602 2015-01-28  Martin Sebor  <msebor@redhat.com>
6604         * math/README.libm-test: Clarify. Add "How to read the test output."
6606 2015-01-28  Chris Metcalf  <cmetcalf@ezchip.com>
6608         * sysdeps/tile/tilegx/bits/atomic.h [!_LP64] (__HAVE_64B_ATOMICS):
6609         Define to 0.
6611 2015-01-28  Joseph Myers  <joseph@codesourcery.com>
6613         * sysdeps/mips/bits/atomic.h [_MIPS_SIM == _ABIN32]
6614         (__HAVE_64B_ATOMICS): Define to 0.
6616 2015-01-28  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
6618         [BZ #17885]
6619         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Fix correct
6620         value to set as new flag.
6622         [BZ #16576]
6623         * sysdeps/powerpc/fpu/math_private.h [__CPU_HAS_FSQRT]: Remove define
6624         and use _ARCH_PPCSQ instead.
6625         (__ieee754_sqrt): Likewise.
6626         (__ieee754_sqrtf): Likewise.
6627         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Build only if
6628         _ARCH_PPCSQ is defined.
6629         (__ieee754_sqrt): Use _ARCH_PPCSQ to select wheter to use hardware
6630         fsqrt instruction.
6631         * sysdeps/powerpc/fpu/e_sqrtf.c (__ieee754_sqrtf): Build only if
6632         _ARCH_PPCSQ is defined.
6633         (__ieee754_sqrtf): Use _ARCH_PPCSQ to select wheter to use hardware
6634         fsqrts instruction.
6635         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Remove file.
6637 2015-01-27  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
6639         * iconv/loop.c: Suppress array out of bound warning caused by GCC
6640         bug (GCC BZ #64739).
6642 2015-01-25  Andreas Schwab  <schwab@linux-m68k.org>
6644         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h (lll_futex_requeue):
6645         Mark _retval as used.
6646         (lll_futex_wake_unlock): Likewise.
6647         (lll_futex_timed_wait_requeue_pi): Likewise.
6649         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
6650         (atomic_compare_and_exchange_val_acq): Use uint32_t for the
6651         register variables.
6653         * sysdeps/m68k/m680x0/fpu/fraiseexcpt.c (__feraiseexcept): Use
6654         libm_hidden_def.
6656         * sysdeps/m68k/bits/byteswap.h (__bswap_16, __bswap_32)
6657         (__bswap_64): Mark as __always_inline.
6659 2015-01-25  Bram  <bug_rh@spam.wizbit.be>
6661         [BZ #15378]
6662         * elf/dl-load.c (open_path): Avoid writing to 'env_path_list'
6663         when none of the search directories exist.
6665 2015-01-24  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
6667         [BZ #17869]
6668         * sysdeps/powerpc/powerpc64/power8/memset.S: Use power7 instead of
6669         power8 in .machine directive.
6671         [BZ #17868]
6672         * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Force value
6673         set dependency from opd value.
6675 2015-01-23  H.J. Lu  <hongjiu.lu@intel.com>
6677         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
6678         Treat model numbers 0x4a/0x4d/0x5a/0x5d as Intel Silvermont
6679         architecture.
6681 2015-01-23  H.J. Lu  <hongjiu.lu@intel.com>
6683         [BZ #17870]
6684         * nptl/sem_post.c (__new_sem_post): Replace unsigned long int
6685         with uint64_t.
6686         * nptl/sem_waitcommon.c (__sem_wait_cleanup): Replace 1UL with
6687         (uint64_t) 1.
6688         (__new_sem_wait_fast): Replace unsigned long with uint64_t.
6689         (__new_sem_wait_slow): Replace unsigned long int with uint64_t.
6690         Replace 1UL with (uint64_t) 1.
6691         * sysdeps/nptl/internaltypes.h (new_sem): Replace unsigned long
6692         int with uint64_t.
6694 2015-01-23  Roland McGrath  <roland@hack.frob.com>
6696         * inet/if_index.c (if_nameindex): Add missing libc_hidden_weak.
6697         (if_freenameindex): Likewise.
6699         * resource/getrlimit64.c: Add missing libc_hidden_def.
6701 2015-01-22  Joseph Myers  <joseph@codesourcery.com>
6703         * soft-fp/op-common.h (_FP_ADD_INTERNAL): Declare labels with
6704         __label__.
6705         (_FP_FMA): Likewise.
6706         (_FP_TO_INT_ROUND): Likewise.
6707         (_FP_FROM_INT): Likewise.
6709 2015-01-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6711         [BZ #16418]
6712         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c (__get_clockfreq):
6713         Make code racy and cancel safe.
6715 2015-01-21  Carlos O'Donell  <carlos@redhat.com>
6717         * sysdeps/arm/unwind-resume.h: Fix copyright year.
6718         * dlfcn/tst-rec-dlopen.c: Fix incorrect copyright year and
6719         attribution.
6721         * pwd/tst-getpw.c: Rewrite.
6723         [BZ #17702]
6724         * dlfcn/Makefile (tests): Add tst-rec-dlopen.
6725         (modules-names): Add moddummy1 and moddummy2.
6726         ($(objpfx)tst-rec-dlopen): Define.
6727         * dlfcn/moddummy1.c: New file.
6728         * dlfcn/moddummy2.c: New file.
6729         * dlfcn/tst-rec-dlopen.c: New file.
6730         * elf/dl-cache.c (_dl_load_cache_lookup):
6731         Return char*. Copy result with alloca/strcpy/strdup.
6732         * elf/dl-load.c (_dl_map_object): _dl_load_cached_lookup
6733         returns char*. Free cached. If not saving realname
6734         free cached.
6735         * elf/dl-open.c (dl_open_worker): Do not assert that
6736         _r_debug->r_state is RT_CONSISTENT.
6737         * sysdeps/generic/ldsodefs.h: _dl_load_cache_lookup
6738         returns char*.
6740 2015-01-21  Torvald Riegel  <triegel@redhat.com>
6741             Carlos O'Donell  <carlos@redhat.com>
6743         [BZ #12674]
6744         * nptl/sem_waitcommon.c: New file.
6745         * nptl/sem_wait.c: Include sem_waitcommon.c.
6746         (__sem_wait_cleanup, do_futex_wait): Remove.
6747         (__new_sem_wait): Adapt.
6748         (__new_sem_trywait): New function.
6749         (__old_sem_trywait): Moved here from nptl/sem_trywait.c.
6750         * nptl/sem_timedwait.c: Include sem_waitcommon.c.
6751         (__sem_wait_cleanup, do_futex_timed_wait): Remove.
6752         (sem_timedwait): Adapt.
6753         * nptl/sem_post.c (__new_sem_post): Adapt.
6754         (futex_wake): New function.
6755         (__old_sem_post): Add release MO fence.
6756         * nptl/sem_open.c (sem_open): Adapt.
6757         * nptl/sem_init.c (__new_sem_init): Adapt.
6758         (futex_private_if_supported): New function.
6759         * nptl/sem_getvalue.c (__new_sem_getvalue): Adapt.
6760         (__old_sem_getvalue): Add using previous code.
6761         * sysdeps/nptl/internaltypes.h: Adapt.
6762         * nptl/tst-sem13.c (do_test): Adapt.
6763         * nptl/tst-sem11.c (main): Adapt.
6764         * nptl/sem_trywait.c: Remove.
6765         * nptl/DESIGN-sem.txt: Remove.
6766         * nptl/Makefile (libpthread-routines): Remove sem_trywait.
6767         (gen-as-const-headers): Remove structsem.sym.
6768         * nptl/structsem.sym: Remove.
6769         * sysdeps/unix/sysv/linux/alpha/sem_post.c: Remove.
6770         * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Remove.
6771         * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Remove.
6772         * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Remove.
6773         * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Remove.
6774         * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Remove.
6775         * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Remove.
6776         * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Remove.
6777         * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Remove.
6778         * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Remove.
6779         * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Remove.
6780         * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Remove.
6781         * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Remove.
6782         * sysdeps/unix/sysv/linux/powerpc/sem_post.c: Remove.
6783         * sysdeps/unix/sysv/linux/sh/sem_post.S: Remove.
6784         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Remove.
6785         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Remove.
6786         * sysdeps/unix/sysv/linux/sh/sem_wait.S: Remove.
6787         * sysdeps/unix/sysv/linux/x86_64/sem_post.S: Remove.
6788         * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Remove.
6789         * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Remove.
6790         * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Remove.
6792 2015-01-20  Carlos O'Donell  <carlos@redhat.com>
6794         * INSTALL: Regenerated.
6796         * po/libc.pot: Regenerated.
6798 2015-01-18  Chung-Lin Tang  <cltang@codesourcery.com>
6799             Sandra Loosemore  <sandra@codesourcery.com>
6800             Andrew Jenner  <andrew@codesourcery.com>
6801             Joseph Myers  <joseph@codesourcery.com>
6802             Nathan Sidwell  <nathan@codesourcery.com>
6804         * NEWS: Mention new Nios II port.
6805         * sysdeps/nios2/Implies: New file.
6806         * sysdeps/nios2/Makefile: New file.
6807         * sysdeps/nios2/Subdirs: New file.
6808         * sysdeps/nios2/Versions: New file.
6809         * sysdeps/nios2/__longjmp.S: New file.
6810         * sysdeps/nios2/abort-instr.h: New file.
6811         * sysdeps/nios2/backtrace.c: New file.
6812         * sysdeps/nios2/bits/endian.h: New file.
6813         * sysdeps/nios2/bits/fenv.h: New file.
6814         * sysdeps/nios2/bits/link.h: New file.
6815         * sysdeps/nios2/bits/setjmp.h: New file.
6816         * sysdeps/nios2/bsd-_setjmp.S: New file.
6817         * sysdeps/nios2/bsd-setjmp.S: New file.
6818         * sysdeps/nios2/configure: New generated file.
6819         * sysdeps/nios2/configure.ac: New file.
6820         * sysdeps/nios2/crti.S: New file.
6821         * sysdeps/nios2/crtn.S: New file.
6822         * sysdeps/nios2/dl-init.c: New file.
6823         * sysdeps/nios2/dl-machine.h: New file.
6824         * sysdeps/nios2/dl-sysdep.h: New file.
6825         * sysdeps/nios2/dl-tls.h: New file.
6826         * sysdeps/nios2/dl-trampoline.S: New file.
6827         * sysdeps/nios2/gccframe.h: New file.
6828         * sysdeps/nios2/gmp-mparam.h: New file.
6829         * sysdeps/nios2/jmpbuf-offsets.h: New file.
6830         * sysdeps/nios2/jmpbuf-unwind.h: New file.
6831         * sysdeps/nios2/ldsodefs.h: New file.
6832         * sysdeps/nios2/libc-tls.c: New file.
6833         * sysdeps/nios2/libm-test-ulps: New file.
6834         * sysdeps/nios2/machine-gmon.h: New file.
6835         * sysdeps/nios2/math-tests.h: New file.
6836         * sysdeps/nios2/math_private.h: New file.
6837         * sysdeps/nios2/memusage.h: New file.
6838         * sysdeps/nios2/nptl/Makefile: New file.
6839         * sysdeps/nios2/nptl/bits/pthreadtypes.h: New file.
6840         * sysdeps/nios2/nptl/bits/semaphore.h: New file.
6841         * sysdeps/nios2/nptl/pthread_spin_lock.c: New file.
6842         * sysdeps/nios2/nptl/pthreaddef.h: New file.
6843         * sysdeps/nios2/nptl/tcb-offsets.sym: New file.
6844         * sysdeps/nios2/nptl/tls.h: New file.
6845         * sysdeps/nios2/preconfigure: New file.
6846         * sysdeps/nios2/s_fma.c: New file.
6847         * sysdeps/nios2/s_fmaf.c: New file.
6848         * sysdeps/nios2/setjmp.S: New file.
6849         * sysdeps/nios2/sfp-machine.h: New file.
6850         * sysdeps/nios2/sotruss-lib.c: New file.
6851         * sysdeps/nios2/stackguard-macros.h: New file.
6852         * sysdeps/nios2/stackinfo.h: New file.
6853         * sysdeps/nios2/start.S: New file.
6854         * sysdeps/nios2/sysdep.h: New file.
6855         * sysdeps/nios2/tls-macros.h: New file.
6856         * sysdeps/nios2/tst-audit.h: New file.
6857         * sysdeps/unix/sysv/linux/nios2/Implies: New file.
6858         * sysdeps/unix/sysv/linux/nios2/Makefile: New file.
6859         * sysdeps/unix/sysv/linux/nios2/Versions: New file.
6860         * sysdeps/unix/sysv/linux/nios2/arch-fork.h: New file.
6861         * sysdeps/unix/sysv/linux/nios2/bits/atomic.h: New file.
6862         * sysdeps/unix/sysv/linux/nios2/bits/mman.h: New file.
6863         * sysdeps/unix/sysv/linux/nios2/cacheflush.c: New file.
6864         * sysdeps/unix/sysv/linux/nios2/clone.S: New file.
6865         * sysdeps/unix/sysv/linux/nios2/configure: New generated file.
6866         * sysdeps/unix/sysv/linux/nios2/configure.ac: New file.
6867         * sysdeps/unix/sysv/linux/nios2/getcontext.S: New file.
6868         * sysdeps/unix/sysv/linux/nios2/kernel-features.h: New file.
6869         * sysdeps/unix/sysv/linux/nios2/kernel_rt_sigframe.h: New file.
6870         * sysdeps/unix/sysv/linux/nios2/makecontext.c: New file.
6871         * sysdeps/unix/sysv/linux/nios2/profil-counter.h: New file.
6872         * sysdeps/unix/sysv/linux/nios2/setcontext.S: New file.
6873         * sysdeps/unix/sysv/linux/nios2/shlib-versions: New file.
6874         * sysdeps/unix/sysv/linux/nios2/sigcontextinfo.h: New file.
6875         * sysdeps/unix/sysv/linux/nios2/swapcontext.S: New file.
6876         * sysdeps/unix/sysv/linux/nios2/sys/cachectl.h: New file.
6877         * sysdeps/unix/sysv/linux/nios2/sys/procfs.h: New file.
6878         * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h: New file.
6879         * sysdeps/unix/sysv/linux/nios2/sys/user.h: New file.
6880         * sysdeps/unix/sysv/linux/nios2/syscall.S: New file.
6881         * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h: New file.
6882         * sysdeps/unix/sysv/linux/nios2/sysdep.S: New file.
6883         * sysdeps/unix/sysv/linux/nios2/sysdep.h: New file.
6884         * sysdeps/unix/sysv/linux/nios2/ucontext_i.sym: New file.
6885         * sysdeps/unix/sysv/linux/nios2/vfork.S: New file.
6886         * sysdeps/unix/sysv/linux/nios2/c++-types.data: New file.
6887         * sysdeps/unix/sysv/linux/nios2/ld.abilist: New file.
6888         * sysdeps/unix/sysv/linux/nios2/libBrokenLocale.abilist: New file.
6889         * sysdeps/unix/sysv/linux/nios2/libanl.abilist: New file.
6890         * sysdeps/unix/sysv/linux/nios2/libc.abilist: New file.
6891         * sysdeps/unix/sysv/linux/nios2/libcrypt.abilist: New file.
6892         * sysdeps/unix/sysv/linux/nios2/libdl.abilist: New file.
6893         * sysdeps/unix/sysv/linux/nios2/libm.abilist: New file.
6894         * sysdeps/unix/sysv/linux/nios2/libnsl.abilist: New file.
6895         * sysdeps/unix/sysv/linux/nios2/libpthread.abilist: New file.
6896         * sysdeps/unix/sysv/linux/nios2/libresolv.abilist: New file.
6897         * sysdeps/unix/sysv/linux/nios2/librt.abilist: New file.
6898         * sysdeps/unix/sysv/linux/nios2/libthread_db.abilist: New file.
6899         * sysdeps/unix/sysv/linux/nios2/libutil.abilist: New file.
6900         * sysdeps/unix/sysv/linux/nios2/localplt.data: New file.
6902 2015-01-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
6904         [BZ #17844]
6905         * sysdeps/unix/sysv/linux/s390/s390-32/getutent.c
6906         (getutent): Use weak_alias in non SHARED case
6907         and default_symbol_version in SHARED case.
6908         * sysdeps/unix/sysv/linux/s390/s390-32/getutent_r.c
6909         (getutent_r, pututline): Likewise.
6910         * sysdeps/unix/sysv/linux/s390/s390-32/getutid.c
6911         (getutid): Likewise.
6912         * sysdeps/unix/sysv/linux/s390/s390-32/getutid_r.c
6913         (getutid_r): Likewise.
6914         * sysdeps/unix/sysv/linux/s390/s390-32/getutline.c
6915         (getutline): Likewise.
6916         * sysdeps/unix/sysv/linux/s390/s390-32/getutline_r.c
6917         (getutline_r): Likewise.
6918         * sysdeps/unix/sysv/linux/s390/s390-32/updwtmp.c
6919         (updwtmp): Likewise.
6921 2015-01-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
6923         [BZ #17848]
6924         * sysdeps/s390/s390-32/memcmp.S
6925         (memcmp_g5): Rename to __memcmp_g5.
6926         * sysdeps/s390/s390-32/memcpy.S
6927         (memcpy_g5): Rename to __memcpy_g5.
6928         Jump to __memcpy_mvcle instead of memcpy_mvcle.
6929         (memcpy_mvcle) Rename to __memcpy_mvcle.
6930         * sysdeps/s390/s390-32/memset.S
6931         (memset_g5): Rename to __memset_g5.
6932         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
6933         (IFUNC_RESOLVE): Prefix ifunc-resolve function
6934         and use prefixed functions.
6935         * sysdeps/s390/s390-32/multiarch/memcmp.S
6936         (memcmp_z196): Rename to __memcmp_z196.
6937         (memcmp_z10): Rename to __memcmp_z10.
6938         (memcmp): Set alias to __memcmp_g5.
6939         (bcmp): Set alias to __memcmp_g5.
6940         * sysdeps/s390/s390-32/multiarch/memcpy.S
6941         (memcpy_z196): Rename to __memcpy_z196.
6942         Jump to __memcpy_mvcle instead of memcpy_mvcle.
6943         (memcpy_z10): Rename to __memcpy_z10.
6944         Jump to __memcpy_mvcle instead of memcpy_mvcle.
6945         (memcpy): Set alias to __memcpy_g5.
6946         * sysdeps/s390/s390-32/multiarch/memset.S
6947         (memset_z196): Rename to __memset_z196.
6948         Jump to __memset_mvcle instead of memset_mvcle.
6949         (memset_z10): Rename to __memset_z10.
6950         Jump to __memset_mvcle instead of memset_mvcle.
6951         (memset_mvcle) Rename to __memset_mvcle.
6952         (memset): Set alias to __memset_g5.
6953         * sysdeps/s390/s390-64/memcmp.S
6954         (memcmp_z900): Rename to __memcmp_z900.
6955         * sysdeps/s390/s390-64/memcpy.S
6956         (memcpy_z900): Rename to __memcpy_z900.
6957         Jump to __memcpy_mvcle instead of memcpy_mvcle.
6958         (memcpy_mvcle) Rename to __memcpy_mvcle.
6959         * sysdeps/s390/s390-64/memset.S
6960         (memset_z900): Rename to __memset_z900.
6961         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c
6962         (IFUNC_RESOLVE): Prefix ifunc-resolve function
6963         and use prefixed functions.
6964         * sysdeps/s390/s390-64/multiarch/memcmp.S
6965         (memcmp_z196): Rename to __memcmp_z196.
6966         (memcmp_z10): Rename to __memcmp_z10.
6967         (memcmp): Set alias to __memcmp_z900.
6968         (bcmp): Set alias to __memcmp_z900.
6969         * sysdeps/s390/s390-64/multiarch/memcpy.S
6970         (memcpy_z196): Rename to __memcpy_z196.
6971         Jump to __memcpy_mvcle instead of memcpy_mvcle.
6972         (memcpy_z10): Rename to __memcpy_z10.
6973         Jump to __memcpy_mvcle instead of memcpy_mvcle.
6974         (memcpy): Set alias to __memcpy_z900.
6975         * sysdeps/s390/s390-64/multiarch/memset.S
6976         (memset_z196): Rename to __memset_z196.
6977         Jump to __memset_mvcle instead of memset_mvcle.
6978         (memset_z10): Rename to __memset_z10.
6979         Jump to __memset_mvcle instead of memset_mvcle.
6980         (memset_mvcle) Rename to __memset_mvcle.
6981         (memset): Set alias to __memset_z900.
6983 2015-01-14  Joseph Myers  <joseph@codesourcery.com>
6985         [BZ #17748]
6986         * sysdeps/powerpc/nofpu/feholdexcpt.c (__feholdexcept): Call
6987         __fesetenv instead of fesetenv.
6989 2015-01-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
6991         * sysdeps/s390/dl-tls.h [IS_IN (rtld)]: Define __tls_get_addr
6992         macro.
6994 2015-01-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6996         * sysdeps/powerpc/powerpc64/power7/memcmp.S (memcmp): Fix performance
6997         regression on LE.
6999         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power8.S: New file.
7000         * sysdeps/powerpc/powerpc64/power8/strncmp.S: New file.
7001         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
7002         strncmp-power8 object.
7003         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
7004         (__libc_ifunc_impl_list): Add __strncmp_power8 implementation.
7005         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c (strncmp): Likewise.
7006         * NEWS: Update.
7008 2015-01-13  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
7009             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7011         * sysdeps/powerpc/powerpc64/power7/strcmp.S (strcmp): Optimize
7012         trailing byte check.
7014 2015-01-13  David S. Miller  <davem@davemloft.net>
7016         * include/signal.h (__sigreturn): Guard with __USE_MISC.
7018 2015-01-13  Roland McGrath  <roland@hack.frob.com>
7020         * login/logout.c (logout): Use memset rather than bzero.
7021         * nis/nss_compat/compat-pwd.c (getpwent_next_file): Likewise.
7022         * nis/nss_compat/compat-spwd.c (getspent_next_file): Likewise.
7023         * resolv/gethnamaddr.c (gethostbyaddr): Use memcmp rather than bcmp.
7024         (_gethtbyaddr): Likewise.
7025         * locale/programs/simple-hash.c (bcopy): Macro removed.
7027 2015-01-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7029         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
7030         Add strcmp-power8 object.
7031         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
7032         (__libc_ifunc_impl_list): Add __strcmp_power8 implementation.
7033         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power8.S: New file.
7034         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c (strcmp): Add
7035         __strcmp_power8 implementation.
7036         * sysdeps/powerpc/powerpc64/power8/strcmp.S: New file.
7037         * NEWS: Update.
7039         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
7040         Add strncpy-power8 and stpncpy-power8 objects.
7041         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
7042         (__libc_ifunc_impl_list): Add __strncpy_power8 and stpncpy_power8
7043         implementations.
7044         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: New file.
7045         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c (__stpncpy): Add
7046         __stpncpy_power8 implementation.
7047         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power8.S: New file.
7048         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c (strncpy): Add
7049         __strncpy_power8 implementation.
7050         * sysdeps/powerpc/powerpc64/power8/stpncpy.S: New file.
7051         * sysdeps/powerpc/powerpc64/power8/strncpy.S: New file.
7052         * NEWS: Update.
7054         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.c: New file.
7055         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: Remove file.
7056         * sysdeps/powerpc/powerpc64/power7/strncat.S: Likewise.
7058         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
7059         strncat-power8 object.
7060         * sysdeps/powerpc/powerpc64/multiarch/strcat.c (strcat): Add
7061         __strcat_power8 implementation.
7062         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
7063         (__libc_ifunc_impl_list): Add __strcat_power8 implementation.
7064         * sysdeps/powerpc/powerpc64/multiarch/strcat-power8.c: New file:
7065         optimized strcat for power8.
7067         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
7068         strcpy-power8 and stpcpy-power8 objects.
7069         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
7070         (__libc_ifunc_impl_list): Add __strcpy_power8 and __stpcpy_power8
7071         implementations.
7072         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power8.S: New file:
7073         multiarch stpcpy implementation for POWER8.
7074         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power8.S: New file;
7075         multiarch strcpy implementation for POWER8.
7076         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c (strcpy): Add
7077         __strcpy_power8 function.
7078         * sysdeps/powerpc/powerpc64/power8/stpcpy.S: New file: optimized
7079         stpcpy for POWER8.
7080         * sysdeps/powerpc/powerpc64/power8/strcpy.S: New file: optimized
7081         strcpy for POWER8.
7082         * NEWS: Update.
7084 2015-01-13  Leonhard Holz  <leonhard.holz@web.de>
7086         [BZ #16009]
7087         * string/strxfrm_l.c (STRXFRM): Allocate fixed size cache for
7088         weights and rules. Use do_xfrm_cached if data fits in cache,
7089         do_xfrm otherwise.  Moved former main loop to...
7090         * (do_xfrm_cached): New function.
7091         * (do_xfrm): Non-caching version of do_xfrm_cached. Uses
7092         find_idx, find_position and stack_push.
7093         * (find_idx): New function.
7094         * (find_position): Likewise.
7095         * localedata/sort-test.sh: Added test run for do_xfrm.
7096         * localedata/xfrm-test.c (main): Added command line option
7097         -nocache to run the test with strings that are too large for
7098         the STRXFRM cache.
7100 2015-01-13  Torvald Riegel  <triegel@redhat.com>
7102         * sysdeps/nptl/fork.c (__libc_fork): Provide address of futex
7103         variable to lll_futex_wake call, not the value itself.
7105 2015-01-12  Joseph Myers  <joseph@codesourcery.com>
7107         [BZ #17803]
7108         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (twom63): Rename to
7109         twom64.  Adjust value to 0x1p-64L.
7110         (__scalblnl): Only return standard underflowing result for K <=
7111         -64 not K <= -63; adjust exponent for underflowing result by 64
7112         not 63.
7113         * math/libm-test.inc (scalbn_test_data): Add more tests.
7114         (scalbln_test_data): Likewise.
7116         [BZ #17834]
7117         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (two63): Change value to
7118         0x1p63L.
7119         (__scalblnl): Get new exponent of adjusted subnormal value from ES
7120         not HX.
7121         * math/libm-test.inc (scalbn_test_data): Add more tests.
7122         (scalbln_test_data): Likewise.
7124 2015-01-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7125             Stefani Seibold  <stefani@seibold.net>
7127         * sysdeps/unix/sysv/linux/x86_64/Makefile [$(subdir) = elf]
7128         (sysdep_routines): Add dl-vdso here, ...
7129         * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = elf]
7130         (sysdep_routines): ... not here.
7131         * sysdeps/unix/sysv/linux/i386/gettimeofday.c: New file: set syscall
7132         fallback when vDSO is not presented.
7133         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_clock_gettime):
7134         Define with libc_hidden_proto/libc_hidden_data_def definitions.
7135         (_libc_vdso_platform_setup): Rename to __vdso_platform_setup.
7136         * sysdeps/unix/sysv/linux/i386/init-first.c: New file: likewise.
7137         * sysdeps/unix/sysv/linux/i386/time.c: New file: likewise.
7138         * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Moved to ...
7139         * sysdeps/unix/sysv/linux/x86/libc-vdso.h: ... here.
7140         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: Move to ...
7141         * sysdeps/unix/sysv/linux/x86/clock_gettime.c: ... here.
7142         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: Move to ...
7143         * sysdeps/unix/sysv/linux/x86/gettimeofday.c: ... here.  Also added
7144         fallback configurable symbol when vDSO is not available.
7145         * sysdeps/unix/sysv/linux/x86_64/time.c: Move to ...
7146         * sysdeps/unix/sysv/linux/x86/time.c: ... here.  Also refactored to
7147         be able to redefine fallback symbol when vDSO is not available.
7148         * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: Move to ...
7149         * sysdeps/unix/sysv/linux/x86/timespec_get.c: ... here.
7151 2015-01-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7153         * sysdeps/powerpc/nptl/tls.h (tcbhead_t): Add tm_capable field.
7154         (TLS_INIT_TP): Add tm_capable initialization.
7155         (TLS_DEFINE_INIT_TP): Likewise.
7156         (THREAD_GET_TM_CAPABLE): New file: get tm_capable field value from
7157         TCB.
7158         (THREAD_SET_TM_CAPABLE): New file: set tm_capable field value in TCB.
7159         * sysdeps/powerpc/nptl/tcb-offsets.sym (TM_CAPABLE): Add field offset
7160         calculation.
7161         * sysdeps/powerpc/powerpc32/sysdep.h (DO_CALL): Abort hardware
7162         transactoion is lock elision is built and TCB tm_capable is set.
7163         * sysdeps/powerpc/powerpc64/sysdep.h (DO_CALL): Likewise.
7164         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
7165         (INTERNAL_SYSCALL_NCS): Likewise.
7166         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
7167         (INTERNAL_SYSCALL_NCS): Likewise.
7168         * sysdeps/powerpc/sysdep.h (ABORT_TRANSACTION): New define.
7170         * sysdeps/powerpc/nptl/elide.h: New file: generic lock elision support
7171         for powerpc.
7172         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
7173         [pthread_rwlock_t] (__pad1): Change size to 7 bytes in 64 bits case
7174         and remove it for 32 bits case.
7175         [pthread_rwlock_t] (__rwelision): New field for lock elision.
7176         (__PTHREAD_RWLOCK_ELISION_EXTRA): Adjust for new lock elision field
7177         initialization.
7178         * sysdeps/unix/sysv/linux/powerpc/elision-conf.c (elision_init):
7179         Disable lock elision with rdlocks if elision is not available.
7181         * sysdeps/unix/sysv/linux/powerpc/Makefile [nptl]
7182         (sysdep_routines): Add lock elision objects.
7183         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
7184         [pthread_mutex_t] (__spins): Rework to add lock elision field.
7185         [pthread_mutex_t] (__elision): Add field.
7186         [__PTHREAD_SPINS]: Adjust to init lock elision field.
7187         * sysdeps/unix/sysv/linux/powerpc/elision-conf.c: New file: lock
7188         elision definitions for powerpc.
7189         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c: New file:
7190         implementation of lock elision for powerpc.
7191         * sysdeps/unix/sysv/linux/powerpc/elision-timed.c: New file:
7192         implementation of timed lock elision for powerpc.
7193         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c: New file:
7194         implementation of trylock with lock elision for powerpc.
7195         * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c: New file:
7196         implementaion of unlock for lock elision for powerpc.
7197         * sysdeps/unix/sysv/linux/powerpc/force-elision.h: New file:
7198         automatic enable lock elision for mutexes.
7199         * sysdeps/unix/sysv/linux/powerpc/htm.h: New file: hardware
7200         transaction execution definitions for powerpc.
7201         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: New file: add TLE
7202         definitions.
7203         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_cond_lock.c: New file.
7204         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_lock.c: Likewise.
7205         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_timedlock.c: Likewise.
7206         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_trylock.c: Likewise.
7207         * NEWS: Update.
7209 2015-01-09  Roland McGrath  <roland@hack.frob.com>
7211         * sysdeps/posix/shm-directory.c: Use <> rather than ""
7212         for #include of <shm-directory.h>.
7214 2015-01-09  Chung-Lin Tang  <cltang@codesourcery.com>
7216         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Remove MIN() and
7217         assign raw DT_REL[A]COUNT value to ranges[0].nrelative.
7219 2015-01-09  Matthew Fortune <matthew.fortune@imgtec.com>
7221         [BZ #17791]
7222         * NEWS: Mention bug fix.
7223         * sysdepsysdeps/unix/sysv/linux/microblaze/sys/user.h
7224         (PAGE_SHIFT, PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Remove.
7225         (HOST_TEXT_START_ADDR, HOST_STACK_END_ADDR): Remove.
7227 2015-01-09  Torvald Riegel <triegel@redhat.com>
7229         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Delete file.
7231 2015-01-09  Torvald Riegel <triegel@redhat.com>
7233         * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: Delete file.
7235 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
7237         * sysdeps/microblaze/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as void
7238         pointer and cast to uintptr_t.
7240 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
7242         * sysdeps/microblaze/nptl/tls.h (__microblaze_get_thread_area): Function
7243         removed.
7244         (READ_THREAD_POINTER): Use __microblaze_thread_area instead.
7246 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
7248         * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Use NULL instead
7249         of 0.
7251 2015-01-08  Roland McGrath  <roland@hack.frob.com>
7253         * sysdeps/pthread/timer_routines.c: Fix <pthreadP.h> include to use
7254         <nptl/pthreadP.h> instead.
7255         * sysdeps/pthread/aio_notify.c: Include <signal.h> for raise decl.
7257         * signal/allocrtsig.c (RESERVED_SIGRT): New macro, defined to 0 if not
7258         already defined.
7259         [__SIGRTMIN] (init): Function removed.
7260         [__SIGRTMIN] (initialized): Variable removed.
7261         [!__SIGRTMIN] (current_rtmin, current_rtmax): Variables removed.
7262         [__SIGRTMIN] (current_rtmin, current_rtmax): Initialize to
7263         __SIGRTMIN + RESERVED_SIGRT and __SIGRTMAX, respectively.
7264         (__libc_current_sigrtmin) [__SIGRTMIN]: Don't call init.
7265         (__libc_current_sigrtmin) [!__SIGRTMIN]: Just return -1.
7266         (__libc_current_sigrtmin): Add __libc_current_sigrtmin_private alias.
7267         (__libc_current_sigrtmax) [__SIGRTMIN]: Don't call init.
7268         (__libc_current_sigrtmax) [!__SIGRTMIN]: Just return -1.
7269         (__libc_current_sigrtmax): Add __libc_current_sigrtmax_private alias.
7270         (__libc_allocate_rtsig) [__SIGRTMIN]: Don't call init.
7271         (__libc_allocate_rtsig): Add __libc_allocate_rtsig_private alias.
7272         * sysdeps/nptl/allocrtsig.c: New file.
7273         * sysdeps/unix/sysv/linux/allocrtsig.c: File removed.
7274         * sysdeps/unix/sysv/linux/testrtsig.h: File removed.
7275         * sysdeps/generic/testrtsig.h: File removed.
7277         * nptl/pthread_sigmask.c [SIGCANCEL || SIGTIMER || SIGSETXID]: #error.
7278         (pthread_sigmask): Call sigprocmask, not __sigprocmask.
7280         * nptl/nptl-init.c (pthread_functions): Conditionalize
7281         .ptr__nptl_setxid initialization on [SIGSETXID].
7283         * sysdeps/nptl/sys/procfs.h: New file.
7284         * nptl_db/Makefile (headers): Add it.
7285         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Don't add it.
7287         * nptl/pthreadP.h (check_cpuset_attr): Moved ...
7288         * sysdeps/unix/sysv/linux/check-cpuset.h: ... to this new file.
7289         * nptl/pthread_attr_setaffinity.c: Include it.
7290         * nptl/pthread_setattr_default_np.c: Likewise.
7291         * nptl/check-cpuset.h: New file.
7293 2015-01-08  Richard Henderson  <rth@redhat.com>
7295         * elf/Makefile (CFLAGS-tst-execstack-mod.c): Add -Wno-trampolines
7296         (CFLAGS-tst-execstack-prog.c): Likewise.
7297         * nptl/Makefile (CFLAGS-tst-execstack-mod.c): Likewise.
7299 2015-01-08  Chung-Lin Tang  <cltang@codesourcery.com>
7300             Sandra Loosemore  <sandra@codesourcery.com>
7301             Andrew Jenner  <andrew@codesourcery.com>
7302             Joseph Myers  <joseph@codesourcery.com>
7303             Nathan Sidwell  <nathan@codesourcery.com>
7305         * elf/elf.h (EM_ALTERA_NIOS2): New machine number for Altera Nios II.
7306         (DT_NIOS2_GP): New dynamic entry type for Nios II _gp address.
7307         (R_NIOS2_NONE,R_NIOS2_S16,R_NIOS2_U16): Define Nios II relocations.
7308         (R_NIOS2_PCREL16,R_NIOS2_CALL26,R_NIOS2_IMM5): Likewise.
7309         (R_NIOS2_CACHE_OPX,R_NIOS2_IMM6,R_NIOS2_IMM8,R_NIOS2_HI16): Likewise.
7310         (R_NIOS2_LO16,R_NIOS2_HIADJ16,R_NIOS2_BFD_RELOC_32): Likewise.
7311         (R_NIOS2_BFD_RELOC_16,R_NIOS2_BFD_RELOC_8,R_NIOS2_GPREL): Likewise.
7312         (R_NIOS2_GNU_VTINHERIT,R_NIOS2_GNU_VTENTRY,R_NIOS2_UJMP): Likewise.
7313         (R_NIOS2_CJMP,R_NIOS2_CALLR,R_NIOS2_ALIGN,R_NIOS2_GOT16): Likewise.
7314         (R_NIOS2_CALL16,R_NIOS2_GOTOFF_LO,R_NIOS2_GOTOFF_HA): Likewise.
7315         (R_NIOS2_PCREL_LO,R_NIOS2_PCREL_HA,R_NIOS2_TLS_GD16): Likewise.
7316         (R_NIOS2_TLS_LDM16,R_NIOS2_TLS_LDO16,R_NIOS2_TLS_IE16): Likewise.
7317         (R_NIOS2_TLS_LE16,R_NIOS2_TLS_DTPMOD,R_NIOS2_TLS_DTPREL): Likewise.
7318         (R_NIOS2_TLS_TPREL,R_NIOS2_COPY,R_NIOS2_GLOB_DAT): Likewise.
7319         (R_NIOS2_JUMP_SLOT,R_NIOS2_RELATIVE,R_NIOS2_GOTOFF): Likewise.
7320         (R_NIOS2_CALL26_NOAT,R_NIOS2_GOT_LO,R_NIOS2_GOT_HA): Likewise.
7321         (R_NIOS2_CALL_LO,R_NIOS2_CALL_HA): Likewise.
7323 2015-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7325         * sysdeps/unix/sysv/linux/futimens.c (futimens): Use address of first
7326         timespec struct member in syscall macro.
7327         * sysdeps/unix/sysv/linux/utimensat.c (utimensat): Likewise.
7328         * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Use address of
7329         first timeval struct member in syscall macro.
7330         * sysdeps/unix/sysv/linux/utimes.c (__utimeS): Likewise.
7332 2015-01-07  Joseph Myers  <joseph@codesourcery.com>
7334         [BZ #17748]
7335         * include/fenv.h (__feupdateenv): Use libm_hidden_proto.
7336         * math/feupdateenv.c (__feupdateenv): Use libm_hidden_def.
7337         * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Rename to
7338         __feupdateenv and define as weak alias of __feupdateenv.  Use
7339         libm_hidden_weak.
7340         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Use
7341         libm_hidden_def.
7342         * sysdeps/arm/feupdateenv.c (feupdateenv): Rename to __feupdateenv
7343         and define as weak alias of __feupdateenv.  Use libm_hidden_weak.
7344         * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
7345         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Use
7346         libm_hidden_def.
7347         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Rename to
7348         __feupdateenv and define as weak alias of __feupdateenv.  Use
7349         libm_hidden_weak.
7350         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Use
7351         libm_hidden_def.
7352         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Rename to
7353         __feupdateenv and define as weak alias of __feupdateenv.  Use
7354         libm_hidden_weak.
7355         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Use
7356         libm_hidden_def.
7357         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
7358         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
7359         (__feupdateenv): Likewise.
7360         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Rename to
7361         __feupdateenv and define as weak alias of __feupdateenv.  Use
7362         libm_hidden_weak.
7363         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
7364         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Use
7365         libm_hidden_def.
7366         * sysdeps/tile/math_private.h (__feupdateenv): New inline
7367         function.
7368         * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Use
7369         libm_hidden_def.
7370         * sysdeps/generic/math_private.h (default_libc_feupdateenv): Call
7371         __feupdateenv instead of feupdateenv.
7372         (default_libc_feupdateenv_test): Likewise.
7373         (libc_feresetround_ctx): Likewise.
7375 2015-01-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7377         * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Fix function
7378         prototype.
7380 2015-01-07  Chris Metcalf  <cmetcalf@ezchip.com>
7382         * posix/regcomp.c (parse_bracket_exp): Initialize type to
7383         COLL_SYM in a couple of places to avoid uninitialized variable
7384         wanings on tilegx gcc 4.8.2.
7386 2015-01-07  Richard Earnshaw  <rearnsha@arm.com>
7388         * sysdeps/aarch64/strcpy.S: New file.
7389         * sysdeps/aarch64/stpcpy.S: New file.
7390         * NEWS: Updated.
7392 2015-01-07  Richard Earnshaw  <rearnsha@arm.com>
7394         * sysdeps/aarch64/strrchr.S: New file.
7395         * NEWS: Updated.
7397 2015-01-07  Eric Biggers  <ebiggers3@gmail.com>
7399         [BZ #17658]
7400         * stdlib/setenv.c: Fix memory leak when setting large,
7401         duplicate string.
7403 2015-01-06  Vladimir A. Nazarenko  <naszar@ya.ru>
7405         [BZ #17273]
7406         * misc/mntent_r.c (__getmntent_r): Cut off trailing spaces
7407         and tabs from buffer before parsing fstab entry.
7408         * misc/tst-mntent.c (main): Add test for mount entry with
7409         trailing spaces and tabs.
7411 2015-01-06  Joseph Myers  <joseph@codesourcery.com>
7413         [BZ #17748]
7414         * include/fenv.h (__fesetround): Declare.  Use libm_hidden_proto.
7415         * math/fesetround.c (fesetround): Rename to __fesetround and
7416         define as weak alias of __fesetround.  Use libm_hidden_weak.
7417         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Likewise.
7418         * sysdeps/alpha/fpu/fesetround.c (fesetround): Likewise.
7419         * sysdeps/arm/fesetround.c (fesetround): Likewise.
7420         * sysdeps/hppa/fpu/fesetround.c (fesetround): Likewise.
7421         * sysdeps/i386/fpu/fesetround.c (fesetround): Likewise.
7422         * sysdeps/ia64/fpu/fesetround.c (fesetround): Likewise.
7423         * sysdeps/m68k/fpu/fesetround.c (fesetround): Likewise.
7424         * sysdeps/mips/fpu/fesetround.c (fesetround): Likewise.
7425         * sysdeps/powerpc/fpu/fenv_libc.h (__fesetround): Rename to
7426         __fesetround_inline.
7427         * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetround_ppc): Call
7428         __fesetround_inline instead of __fesetround.
7429         * sysdeps/powerpc/fpu/fesetround.c (fesetround): Rename to
7430         __fesetround and define as weak alias of __fesetround.  Use
7431         libm_hidden_weak.  Call __fesetround_inline instead of
7432         __fesetround.
7433         * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Rename to
7434         __fesetround and define as weak alias of __fesetround.  Use
7435         libm_hidden_weak.
7436         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c (fesetround):
7437         Likewise.
7438         * sysdeps/s390/fpu/fesetround.c (fesetround): Likewise.
7439         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
7440         * sysdeps/sparc/fpu/fesetround.c (fesetround): Likewise.
7441         * sysdeps/tile/math_private.h (__fesetround): New inline function.
7442         * sysdeps/x86_64/fpu/fesetround.c (fesetround): Rename to
7443         __fesetround and define as weak alias of __fesetround.  Use
7444         libm_hidden_weak.
7445         * sysdeps/generic/math_private.h (default_libc_fesetround): Call
7446         __fesetround instead of fesetround.
7447         (default_libc_feholdexcept_setround): Likewise.
7448         (libc_feholdsetround_ctx): Likewise.
7449         (libc_feholdsetround_noex_ctx): Likewise.
7451         [BZ #17748]
7452         * include/fenv.h (__fesetenv): Use libm_hidden_proto.
7453         * math/fesetenv.c (__fesetenv): Use libm_hidden_def.
7454         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
7455         and define as weak alias of __fesetenv.  Use libm_hidden_weak.
7456         * sysdeps/alpha/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
7457         * sysdeps/arm/fesetenv.c (fesetenv): Rename to __fesetenv and
7458         define as weak alias of __fesetenv.  Use libm_hidden_weak.
7459         * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Likewise.
7460         * sysdeps/i386/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
7461         * sysdeps/ia64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
7462         define as weak alias of __fesetenv.  Use libm_hidden_weak.
7463         * sysdeps/m68k/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
7464         * sysdeps/mips/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
7465         define as weak alias of __fesetenv.  Use libm_hidden_weak.
7466         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Use
7467         libm_hidden_def.
7468         * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Likewise.
7469         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c (__fesetenv):
7470         Likewise.
7471         * sysdeps/s390/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
7472         define as weak alias of __fesetenv.  Use libm_hidden_weak.
7473         * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
7474         * sysdeps/sparc/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
7475         * sysdeps/tile/math_private.h (__fesetenv): New inline function.
7476         * sysdeps/x86_64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
7477         and define as weak alias of __fesetenv.  Use libm_hidden_weak.
7478         * sysdeps/generic/math_private.h (default_libc_fesetenv): Use
7479         __fesetenv instead of fesetenv.
7480         (libc_feresetround_noex_ctx): Likewise.
7481         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
7482         * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
7483         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Likewise.
7484         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
7485         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
7486         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
7487         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
7488         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
7489         (__feupdateenv): Likewise.
7490         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
7491         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
7492         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
7493         * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Likewise.
7495 2015-01-06  Aurelien Jarno  <aurelien@aurel32.net>
7497         [BZ #17806]
7498         * resolv/res_init.c (__res_iclose): Only clear nsinit if the
7499         addresses have been freed.
7501 2015-01-06  Aurelien Jarno  <aurelien@aurel32.net>
7503         * resolv/res_init.c (__res_vinit): Improve comments about nserv
7504         and nservall.
7506 2015-01-06  Ondřej Bílka  <neleai@seznam.cz>
7508         * sysdeps/unix/sysv/linux/check_pf.c (make_request):
7509         Clean up check_pf allocation pattern. addresses
7511 2015-01-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7513         * nptl/pthread_cancel.c (pthread_cancel): Use ANSI prototype.
7514         * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Likewise.
7515         * nptl/pthread_cond_wait.c (__pthread_cond_wait): Likewise.
7516         * nptl/pthread_exit.c (__pthread_exit): Likewise.
7517         * nptl/pthread_join.c (pthread_join): Likewise.
7518         * nptl/pthread_timedjoin.c (pthread_timedjoin_np): Likewise.
7519         * sysdeps/posix/waitid.c (__waitid): Likewise.
7520         * sysdeps/unix/sysv/linux/arm/pread.c (__libc_pread): Likewise.
7521         * sysdeps/unix/sysv/linux/arm/pread64.c (__libc_pread64): Likewise.
7522         * sysdeps/unix/sysv/linux/arm/pwrite.c (__libc_pwrite): Likewise.
7523         * sysdeps/unix/sysv/linux/arm/pwrite64.c (__libc_pwrite64): Likewise.
7524         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c (__libc_pread):
7525         Likewise.
7526         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c
7527         (__libc_pread64): Likewise.
7528         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c
7529         (__libc_pwrite): Likewise.
7530         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c
7531         (__libc_pwrite64): Likewsie.
7532         * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Likewise.
7533         * sysdeps/unix/sysv/linux/mips/pread64.c (__libc_pread64): Likewise.
7534         * sysdeps/unix/sysv/linux/mips/pwrite.c (__libc_pwrite): Likewise.
7535         * sysdeps/unix/sysv/linux/mips/pwrite64.c (__libc_pwrite64): Likewise.
7536         * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Likewise.
7537         * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Likewise.
7538         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
7539         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c (__libc_pread):
7540         Likewise.
7541         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
7542         (__libc_pread64): Likewise.
7543         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c (__libc_pwrite):
7544         Likewise.
7545         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
7546         (__libc_pwrite64): Likewise.
7547         * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Likewise.
7548         * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Likewise.
7549         * sysdeps/unix/sysv/linux/preadv.c (PREADV): Likewise.
7550         * sysdeps/unix/sysv/linux/pthread_kill.c (__pthread_kill): Likewise.
7551         * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
7552         * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
7553         * sysdeps/unix/sysv/linux/pwritev.c (__libc_pwritev): Likewise.
7554         * sysdeps/unix/sysv/linux/sh/pread.c (__libc_pread): Likewise.
7555         * sysdeps/unix/sysv/linux/sh/pread64.c (__libc_pread64): Likewise.
7556         * sysdeps/unix/sysv/linux/sh/pwrite.c (__libc_pwrite): Likewise.
7557         * sysdeps/unix/sysv/linux/sh/pwrite64.c (__libc_write64): Likewise.
7558         * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise.
7559         * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Likewise.
7560         * sysdeps/unix/sysv/linux/sigwait.c (__sigwait): Likewise.
7561         * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
7562         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c (__libc_msgrcv):
7563         Likewise.
7565 2015-01-06  Andrew Senkevich  <andrew.n.senkevich@gmail.com>
7567         * math/Makefile (CFLAGS-test-float.c): Remove -frounding-math.
7568         (CFLAGS-test-double.c): Likewise.
7569         (CFLAGS-test-ldouble.c): Likewise.
7570         (CPPFLAGS-test-ifloat.c): Likewise.
7571         (CPPFLAGS-test-idouble.c): Likewise.
7572         (CPPFLAGS-test-ildoubl.c): Likewise.
7573         (CFLAGS-test-test-fenv.c): Remove variable.
7574         (CFLAGS-test-misc.c): Likewise.
7576 2015-01-06  H.J. Lu  <hongjiu.lu@intel.com>
7578         [BZ #17797]
7579         * bits/time.h (CLOCKS_PER_SEC): Changed to ((clock_t) 1000000).
7580         * sysdeps/unix/sysv/linux/bits/time.h (CLOCKS_PER_SEC): Likewise.
7581         * sysdeps/unix/sysv/linux/clock.c (clock): _Static_assert
7582         CLOCKS_PER_SEC == 1000000.
7583         * time/clocktest.c (main): Replace %ld with %jd and cast to
7584         intmax_t.
7586 2015-01-05  Roland McGrath  <roland@hack.frob.com>
7588         * sysdeps/generic/unwind-resume.h: New file.
7589         * sysdeps/gnu/unwind-resume.c: Include it.
7590         (libgcc_s_personality): Use PERSONALITY_PROTO macro for the prototype.
7591         (__gcc_personality_v0): Likewise, and PERSONALITY_ARGS for the callee
7592         argument list.
7593         (libgcc_s_resume): Variable renamed to __libgcc_s_resume, made hidden
7594         global rather than static.
7595         (_Unwind_Resume): Update user.
7596         Conditionalize definition on [!HAVE_ARCH_UNWIND_RESUME].
7597         (init): Likewise.  Renamed to __libgcc_s_init, made hidden global
7598         rather than static.  Add __attribute__ ((cold)).
7599         (_Unwind_Resume, __gcc_personality_v0): Update callers.
7600         * sysdeps/nptl/unwind-forcedunwind.c: Likewise.
7601         * sysdeps/arm/arm-unwind-resume.S: New file.
7602         * sysdeps/arm/rt-arm-unwind-resume.S: New file.
7603         * sysdeps/arm/pt-arm-unwind-resume.S: New file.
7604         * sysdeps/arm/Makefile [$(subdir) = csu]
7605         (sysdep_routines, shared-only-routines): Add arm-unwind-resume.
7606         [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
7607         Add rt-arm-unwind-resume.
7608         [$(subdir) = nptl]
7609         (libpthread-sysdep_routines, libpthread-shared-only-routines):
7610         Add pt-arm-unwind-resume.
7611         * sysdeps/unix/sysv/linux/arm/unwind-resume.c: File removed.
7612         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: File removed.
7614 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
7616         [BZ #17748]
7617         * include/fenv.h (__feholdexcept): Declare.  Use
7618         libm_hidden_proto.
7619         * math/feholdexcpt.c (feholdexcept): Rename to __feholdexcept and
7620         define as weak alias of __feholdexcept.  Use libm_hidden_weak.
7621         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Likewise.
7622         * sysdeps/alpha/fpu/feholdexcpt.c (feholdexcept): Likewise.
7623         * sysdeps/arm/feholdexcpt.c (feholdexcept): Likewise.
7624         * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Likewise.
7625         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Likewise.
7626         * sysdeps/ia64/fpu/feholdexcpt.c (feholdexcept): Likewise.
7627         * sysdeps/m68k/fpu/feholdexcpt.c (feholdexcept): Likewise.
7628         * sysdeps/mips/fpu/feholdexcpt.c (feholdexcept): Likewise.
7629         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
7630         * sysdeps/powerpc/nofpu/feholdexcpt.c (feholdexcept): Likewise.
7631         * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c
7632         (feholdexcept): Likewise.
7633         * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
7634         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
7635         * sysdeps/sparc/fpu/feholdexcpt.c (feholdexcept): Likewise.
7636         * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
7637         * sysdeps/generic/math_private.h (default_libc_feholdexcept): Use
7638         __feholdexcept instead of feholdexcept.
7639         (default_libc_feholdexcept_setround): Likewise.
7641 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
7643         * sysdeps/mips/memset.S (memset): Modify for mips32r6/mips64r6
7644         to avoid using stl/str to align destination.
7646 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
7648         * sysdeps/mips/memcpy.S: Add support for mips32r6/mips64r6.
7650 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
7652         [BZ #17796]
7653         * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise.c
7654         [!SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)] (posix_fadvise64):
7655         Define as weak alias not strong alias.
7657 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
7659         * sysdeps/mips/dl-machine.h (elf_machine_load_address): Replace
7660         bltzal with addiupc.
7661         (RTLD_START): Ditto.
7663 2015-01-05  Chris Metcalf  <cmetcalf@ezchip.com>
7665         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso.h: Fix return type
7666         for __vdso_* functions in declarations.
7667         * sysdeps/unix/sysv/linux/tile/init-first.c: Likewise for
7668         definitions.
7669         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL,
7670         INTERNAL_VSYSCALL): Use struct return types to check for error.
7672         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c [!defined _LP64
7673         && REGISTER_CAST_INT32_TO_INT64]: Provide explicit lround()
7674         function with cast from llround().
7675         * sysdeps/tile/sysdep.h (REGISTER_CAST_INT32_TO_INT64): Define.
7676         * sysdeps/x86_64/x32/sysdep.h (REGISTER_CAST_INT32_TO_INT64):
7677         Define.
7679 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
7681         [BZ #17793]
7682         * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c (posix_fadvise64):
7683         Define as weak alias not strong alias.
7685         [BZ #17635]
7686         * ctype/ctype-c99.c: New file.  isblank implementation moved from
7687         ...
7688         * ctype/ctype-extn.c: ... here.
7689         (__isblank_l): Move to ...
7690         * ctype/ctype-c99_l.c: ... here.  New file.
7691         * ctype/Makefile (routines): Add ctype-c99 and ctype-c99_l.
7692         * conform/Makefile (test-xfail-ISO99/ctype.h/linknamespace):
7693         Remove variable.
7694         (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
7695         (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
7696         (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
7697         (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
7698         (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
7700         [BZ #17777]
7701         * sysdeps/unix/sysv/linux/wordsize-64/posix_fadvise.c
7702         (posix_fadvise64): Define as weak alias not strong alias.
7703         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
7704         (posix_fallocate64): Likewise.
7705         * conform/Makefile (test-xfail-XOPEN2K/fcntl.h/linknamespace):
7706         Remove variable.
7707         (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
7708         (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
7709         (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
7710         (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
7711         (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
7713 2015-01-05  Matthew Fortune  <matthew.fortune@imgtec.com>
7715         [BZ #16191]
7716         * NEWS: Mention bug fix.
7717         * sysdeps/unix/sysv/linux/mips/sys/user.h (PAGE_SHIFT): Remove.
7718         (PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Likewise.
7719         (HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR): Likewise.
7720         (HOST_STACK_END_ADDR): Likewise.
7722 2015-01-02  Joseph Myers  <joseph@codesourcery.com>
7724         [BZ #17748]
7725         * include/fenv.h (__fegetround): Declare.  Use libm_hidden_proto.
7726         * math/fegetround.c (fegetround): Rename to __fegetround and
7727         define as weak alias of __fegetround.  Use libm_hidden_weak.
7728         * sysdeps/aarch64/fpu/fegetround.c (fegetround): Likewise.
7729         * sysdeps/alpha/fpu/fegetround.c (fegetround): Likewise.
7730         * sysdeps/arm/fegetround.c (fegetround): Likewise.
7731         * sysdeps/hppa/fpu/fegetround.c (fegetround): Likewise.
7732         * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
7733         * sysdeps/ia64/fpu/fegetround.c (fegetround): Likewise.
7734         * sysdeps/m68k/fpu/fegetround.c (fegetround): Likewise.
7735         * sysdeps/mips/fpu/fegetround.c (fegetround): Likewise.
7736         * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
7737         Undefine after rather than before function definition; use
7738         parentheses around function name in definition.
7739         (__fegetround): Also undefine macro after function definition.
7740         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Rename to
7741         __fegetround and define as weak alias of __fegetround.  Use
7742         libm_hidden_weak.  Do not undefine as macro.
7743         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
7744         Likewise.
7745         * sysdeps/s390/fpu/fegetround.c (fegetround): Rename to
7746         __fegetround and define as weak alias of __fegetround.  Use
7747         libm_hidden_weak.
7748         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
7749         * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
7750         * sysdeps/tile/math_private.h (__fegetround): New inline function.
7751         * sysdeps/x86_64/fpu/fegetround.c (fegetround): Rename to
7752         __fegetround and define as weak alias of __fegetround.  Use
7753         libm_hidden_weak.
7754         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Use
7755         __fegetround instead of fegetround.
7757         [BZ #17782]
7758         * sysdeps/unix/sysv/linux/mips/bits/termios.h (TIOCSER_TEMT):
7759         Condition macro definition on [__USE_MISC].
7761         [BZ #17781]
7762         * sysdeps/unix/sysv/linux/mips/bits/sigaction.h
7763         (struct sigaction): Change type of sa_flags field to int.
7765         [BZ #17780]
7766         * sysdeps/unix/sysv/linux/mips/bits/fcntl.h (struct flock)
7767         [!__USE_FILE_OFFSET64 && _MIPS_SIM != _ABI64]: Rename pad field to
7768         __glibc_reserved0.
7770         * nptl/version.c (banner): Use single year in copyright notice.
7772         * NEWS: Update copyright dates.
7773         * catgets/gencat.c (print_version): Likewise.
7774         * csu/version.c (banner): Likewise.
7775         * debug/catchsegv.sh: Likewise.
7776         * debug/pcprofiledump.c (print_version): Likewise.
7777         * debug/xtrace.sh (do_version): Likewise.
7778         * elf/ldconfig.c (print_version): Likewise.
7779         * elf/ldd.bash.in: Likewise.
7780         * elf/pldd.c (print_version): Likewise.
7781         * elf/sotruss.sh: Likewise.
7782         * elf/sprof.c (print_version): Likewise.
7783         * iconv/iconv_prog.c (print_version): Likewise.
7784         * iconv/iconvconfig.c (print_version): Likewise.
7785         * locale/programs/locale.c (print_version): Likewise.
7786         * locale/programs/localedef.c (print_version): Likewise.
7787         * login/programs/pt_chown.c (print_version): Likewise.
7788         * malloc/memusage.sh (do_version): Likewise.
7789         * malloc/memusagestat.c (print_version): Likewise.
7790         * malloc/mtrace.pl: Likewise.
7791         * manual/libc.texinfo: Likewise.
7792         * nptl/version.c (banner): Likewise.
7793         * nscd/nscd.c (print_version): Likewise.
7794         * nss/getent.c (print_version): Likewise.
7795         * nss/makedb.c (print_version): Likewise.
7796         * posix/getconf.c (main): Likewise.
7797         * scripts/test-installation.pl: Likewise.
7798         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
7800 2015-01-02  Will Newton  <will.newton@linaro.org>
7802         * sysdeps/arm/armv7/configure: Removed.
7803         * sysdeps/arm/armv7/configure.ac: Likewise.
7805 2015-01-02  Joseph Myers  <joseph@codesourcery.com>
7807         * All files with FSF copyright notices: Update copyright dates
7808         using scripts/update-copyrights.
7809         * intl/plural.c: Regenerated.
7810         * locale/programs/charmap-kw.h: Likewise.
7811         * locale/programs/locfile-kw.h: Likewise.
7813 2015-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
7815         * scripts/gen-posix-conf-vars.awk (END): Don't use sprintf.
7817 2014-12-31  Joseph Myers  <joseph@codesourcery.com>
7819         [BZ #17748]
7820         * include/fenv.h (__fegetenv): Use libm_hidden_proto.
7821         * math/fegetenv.c (__fegetenv): Use libm_hidden_def.
7822         * sysdeps/aarch64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
7823         and define as weak alias of __fegetenv.  Use libm_hidden_weak.
7824         * sysdeps/alpha/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
7825         * sysdeps/arm/fegetenv.c (fegetenv): Rename to __fegetenv and
7826         define as weak alias of __fegetenv.  Use libm_hidden_weak.
7827         * sysdeps/hppa/fpu/fegetenv.c (fegetenv): Likewise.
7828         * sysdeps/i386/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
7829         * sysdeps/ia64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
7830         define as weak alias of __fegetenv.  Use libm_hidden_weak.
7831         * sysdeps/m68k/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
7832         * sysdeps/mips/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
7833         define as weak alias of __fegetenv.  Use libm_hidden_weak.
7834         * sysdeps/powerpc/fpu/fegetenv.c (__fegetenv): Use
7835         libm_hidden_def.
7836         * sysdeps/powerpc/nofpu/fegetenv.c (__fegetenv): Likewise.
7837         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (__fegetenv):
7838         Likewise.
7839         * sysdeps/s390/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
7840         define as weak alias of __fegetenv.  Use libm_hidden_weak.
7841         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
7842         * sysdeps/sparc/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
7843         * sysdeps/tile/math_private.h (__fegetenv): New inline function.
7844         * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
7845         and define as weak alias of __fegetenv.  Use libm_hidden_weak.
7846         * sysdeps/generic/math_private.h (libc_feholdsetround_ctx): Use
7847         __fegetenv instead of fegetenv.
7848         (libc_feholdsetround_noex_ctx): Likewise.
7850 2014-12-31  Matthew Fortune  <matthew.fortune@imgtec.com>
7852         * elf/elf.h (PT_MIPS_ABIFLAGS): Define.
7853         (Elf_MIPS_ABIFlags_v0): New structure.
7854         (EF_MIPS_FP64): Define.
7855         (MIPS_AFL_REG_NONE, MIPS_AFL_REG_32, MIPS_AFL_REG_64): Likewise.
7856         (MIPS_AFL_REG_128, MIPS_AFL_ASE_DSP, MIPS_AFL_ASE_DSP64): Likewise.
7857         (MIPS_AFL_ASE_DSPR2, MIPS_AFL_ASE_EVA, MIPS_AFL_ASE_MCU): Likewise.
7858         (MIPS_AFL_ASE_MDMX, MIPS_AFL_ASE_MIPS3D, MIPS_AFL_ASE_MT): Likewise.
7859         (MIPS_AFL_ASE_SMARTMIPS, MIPS_AFL_ASE_VIRT): Likewise.
7860         (MIPS_AFL_ASE_VIRT64, MIPS_AFL_ASE_MSA, MIPS_AFL_ASE_MSA64): Likewise.
7861         (MIPS_AFL_ASE_MIPS16, MIPS_AFL_ASE_MICROMIPS): Likewise.
7862         (MIPS_AFL_ASE_XPA, MIPS_AFL_EXT_XLR, MIPS_AFL_EXT_OCTEON2): Likewise.
7863         (MIPS_AFL_EXT_OCTEONP, MIPS_AFL_EXT_LOONGSON_3A): Likewise.
7864         (MIPS_AFL_EXT_OCTEON, MIPS_AFL_EXT_5900, MIPS_AFL_EXT_4010): Likewise.
7865         (MIPS_AFL_EXT_4100, MIPS_AFL_EXT_3900, MIPS_AFL_EXT_10000): Likewise.
7866         (MIPS_AFL_EXT_SB1, MIPS_AFL_EXT_4111, MIPS_AFL_EXT_4120): Likewise.
7867         (MIPS_AFL_EXT_5400, MIPS_AFL_EXT_5500): Likewise.
7868         (MIPS_AFL_EXT_LOONGSON_2E, MIPS_AFL_EXT_LOONGSON_2F): Likewise.
7869         (Val_GNU_MIPS_ABI_FP_ANY, Val_GNU_MIPS_ABI_FP_DOUBLE): New enum values.
7870         (Val_GNU_MIPS_ABI_FP_SINGLE, Val_GNU_MIPS_ABI_FP_SOFT): Likewise.
7871         (Val_GNU_MIPS_ABI_FP_OLD_64, Val_GNU_MIPS_ABI_FP_XX): Likewise.
7872         (Val_GNU_MIPS_ABI_FP_64, Val_GNU_MIPS_ABI_FP_64A): Likewise.
7873         (Val_GNU_MIPS_ABI_FP_MAX): Likewise.
7874         * sysdeps/mips/Makefile [subdir=elf]: Add tst-abi-interlink,
7875         tst-mode-switch-1, tst-mode-switch-2, tst-mode-switch-3 tests.
7876         * sysdeps/mips/bits/linkmap.h (struct link_map_machine): Add fpmode
7877         field.
7878         * sysdeps/mips/dl-machine.h (elf_machine_matches_host): Reject
7879         EF_MIPS_FP64.
7880         * sysdeps/mips/dl-machine-reject-phdr.h: New file.
7881         * sysdeps/mips/tst-abi-fp32mod.c: Likewise.
7882         * sysdeps/mips/tst-abi-fpxxmod.c: Likewise.
7883         * sysdeps/mips/tst-abi-fpxxomod.c: Likewise.
7884         * sysdeps/mips/tst-abi-fp64mod.c: Likewise.
7885         * sysdeps/mips/tst-abi-fp64amod.c: Likewise.
7886         * sysdeps/mips/tst-abi-interlink.c: Likewise.
7887         * sysdeps/mips/tst-mode-switch-1.c: Likewise.
7888         * sysdeps/mips/tst-mode-switch-2.c: Likewise.
7889         * sysdeps/mips/tst-mode-switch-3.c: Likewise.
7890         * sysdeps/unix/sysv/linux/mips/configure.ac (o32-fpabi): Define to
7891         record the current FP ABI extension.
7892         (mips-mode-switch): Define to show if kernel headers support mode
7893         switching.
7894         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
7895         * sysdeps/unix/sysv/linux/mips/ldsodefs.h: Increase maximum
7896         supported SYSV ABI version to 3.
7897         * sysdeps/unix/sysv/linux/mips/libc-abis: Add new MIPS_O32_FP64
7898         feature.
7900 2014-12-31  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
7901             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7903         * sysdeps/powerpc/powerpc64/power7/strcpy.S (strcpy): Optimize unaligned
7904         path.
7905         * benchtests/bench-strcpy.c (test_main): Add more unaligned inputs.
7907 2014-12-31  Joseph Myers  <joseph@codesourcery.com>
7909         * sysdeps/powerpc/bits/fenvinline.h (fegetround): Rename macro to
7910         __fegetround and redefine to call __fegetround.  Remove condition
7911         on [!__NO_MATH_INLINES].
7912         * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove inline
7913         function.
7914         * sysdeps/powerpc/nofpu/fenv_libc.h: Remove file.
7915         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
7916         Remove macro.
7917         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Include <fenv.h>
7918         instead of <fenv_libc.h>.
7919         (__llrintl): Call fegetround instead of __fegetround.
7920         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Include <fenv.h>
7921         instead of <fenv_libc.h>.
7922         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
7923         (__lrintl): Call fegetround instead of __fegetround.
7924         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Include <fenv.h>
7925         instead of <fenv_libc.h>.
7926         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
7927         (__rintl): Call fegetround instead of __fegetround.
7929 2014-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
7931         * scripts/gen-posix-conf-vars.awk: Don't use multi-dimensional
7932         arrays.
7934 2014-12-30  H.J. Lu  <hongjiu.lu@intel.com>
7936         [BZ #17775]
7937         * sysdeps/i386/dl-machine.h (PI_STATIC_AND_HIDDEN): Removed.
7938         (elf_machine_dynamic) [!PI_STATIC_AND_HIDDEN]: Likewise.
7939         (elf_machine_load_address) [!PI_STATIC_AND_HIDDEN]: Likewise.
7941 2014-12-30  Andrew Senkevich  <andrew.senkevich@intel.com>
7943         * sysdeps/i386/tls-macros.h: Include <features.h>.
7944         (TLS_LE): Use non-PIC version for GCC >= 5.0.
7945         (TLS_IE): Likewise.
7946         (TLS_LD): Likewise.
7947         (TLS_GD): Likewise.
7948         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Don't
7949         define for GCC >= 5.0.
7951 2014-12-30  Chris Metcalf  <cmetcalf@ezchip.com>
7953         * math/test-fenv.c (test_single_exception, set_single_exc,
7954         feenv_nomask_test, feenv_mask_test, feexcp_nomask_test,
7955         feexcp_mask_test, feenable_test, fe_single_test): Add
7956         [!FE_ALL_EXCEPT] test so these routines are not compiled in the
7957         case where they are not used.
7958         * math/libm-test.inc: Likewise.
7959         * setjmp/test-setjmp-fp.c: Mark attribute ((unused)) on variable
7960         unused in the absence of FP rounding/exception support.
7961         * stdio-common/tst-printf-round.c: Likewise.
7962         * stdlib/tst-strtod-round.c: Likewise.
7963         * stdlib/tst-strtod-underflow.c: Likewise.
7965 2014-12-30  Joseph Myers  <joseph@codesourcery.com>
7967         [BZ #17723]
7968         * include/fenv.h (__feraiseexcept): Use libm_hidden_proto.
7969         * math/fraiseexcpt.c (__feraiseexcept): Use libm_hidden_def.
7970         * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
7971         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
7972         libm_hidden_weak.
7973         * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Likewise.
7974         * sysdeps/hppa/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
7975         * sysdeps/i386/fpu/fraiseexcpt.c (__feraiseexcept): Use
7976         libm_hidden_def.
7977         * sysdeps/ia64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
7978         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
7979         libm_hidden_weak.
7980         * sysdeps/m68k/coldfire/fpu/fraiseexcpt.c (feraiseexcept):
7981         Likewise.
7982         * sysdeps/microblaze/math_private.h (__feraiseexcept): New macro.
7983         * sysdeps/mips/fpu/fraiseexcpt.c (feraiseexcept): Rename to
7984         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
7985         libm_hidden_weak.
7986         * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Use
7987         libm_hidden_def.
7988         * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
7989         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c
7990         (__feraiseexcept): Likewise.
7991         * sysdeps/s390/fpu/fraiseexcpt.c (feraiseexcept): Rename to
7992         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
7993         libm_hidden_weak.
7994         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
7995         * sysdeps/sparc/fpu/fraiseexcpt.c (__feraiseexcept): Use
7996         libm_hidden_def.
7997         * sysdeps/tile/math_private.h (__feraiseexcept): New macro.
7998         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (__feraiseexcept):
7999         Use libm_hidden_def.
8000         * sysdeps/x86_64/fpu/fraiseexcpt.c (__feraiseexcept): Use
8001         libm_hidden_def.
8002         (feraiseexcept): Define as weak not strong alias.  Use
8003         libm_hidden_weak.
8004         * sysdeps/x86/fpu/bits/fenv.h (__feraiseexcept_invalid_divbyzero):
8005         New inline function.  Factored out of ...
8006         (feraiseexcept): ... here.  Use __feraiseexcept_invalid_divbyzero.
8007         * sysdeps/x86/fpu/include/bits/fenv.h: New file.
8008         * math/e_scalb.c (invalid_fn): Call __feraiseexcept instead of
8009         feraiseexcept.
8010         * math/w_acos.c (__acos): Likewise.
8011         * math/w_asin.c (__asin): Likewise.
8012         * math/w_ilogb.c (__ilogb): Likewise.
8013         * math/w_j0.c (y0): Likewise.
8014         * math/w_j1.c (y1): Likewise.
8015         * math/w_jn.c (yn): Likewise.
8016         * math/w_log.c (__log): Likewise.
8017         * math/w_log10.c (__log10): Likewise.
8018         * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Likewise.
8019         * sysdeps/aarch64/fpu/math_private.h
8020         (libc_feupdateenv_test_aarch64): Likewise.
8021         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
8022         * sysdeps/arm/fenv_private.h (libc_feupdateenv_test_vfp): Likewise.
8023         * sysdeps/arm/feupdateenv.c (feupdateenv): Likewise.
8024         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
8025         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
8026         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
8027         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Likewise.
8028         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
8029         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
8030         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
8032 2014-12-30  H.J. Lu  <hongjiu.lu@intel.com>
8034         [BZ #17732]
8035         * io/test-utime.c (main): Replace %ld with %jd and cast to
8036         intmax_t.
8037         * libio/tst-ftell-active-handler.c (do_append_test): Likewise.
8038         * nptl/tst-mutex5.c: Include <stdint.h>.
8039         (do_test): Replace %ld with %jd and cast to intmax_t.
8040         * posix/tst-regex.c (run_test): Likewise.
8041         (run_test_backwards): Likewise.
8042         * rt/tst-clock.c: Include <stdint.h>.
8043         (clock_test): Replace %ld with %jd and cast to intmax_t.
8044         * rt/tst-cpuclock1.c: Include <stdint.h>.
8045         (do_test): Replace %lu with %ju and cast to uintmax_t.
8046         * rt/tst-cpuclock2.c: Include <stdint.h>.
8047         (do_test): Replace %lu with %ju and cast to uintmax_t.
8048         * rt/tst-mqueue1.c: Include <stdint.h>.
8049         (check_attrs): Replace %ld with %jd and cast to intmax_t.
8050         * rt/tst-mqueue3.c (fct): Replace %ld with %jd and cast to
8051         intmax_t.
8052         * rt/tst-mqueue4.c (do_test): Likewise.
8053         * rt/tst-timer4.c: Include <stdint.h>.
8054         (check_ts): Replace %ld with %jd and cast to intmax_t.
8055         (do_test): Likewise.
8056         * stdio-common/tst-fmemopen2.c (do_test): Replace %ld with %jd
8057         and cast to intmax_t.
8058         * sysdeps/pthread/tst-timer.c (main): Likewise.
8059         * time/clocktest.c (main): Likewise.
8060         * time/tst-posixtz.c (do_test): Likewise.
8061         * timezone/tst-timezone.c (main): Likewise.
8063 2014-12-30  Andrew Senkevich  <andrew.senkevich@intel.com>
8064             H.J. Lu  <hongjiu.lu@intel.com>
8066         * sysdeps/i386/i686/multiarch/bcopy-sse2-unaligned.S: New file.
8067         * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S: Likewise.
8068         * sysdeps/i386/i686/multiarch/memmove-sse2-unaligned.S: Likewise.
8069         * sysdeps/i386/i686/multiarch/mempcpy-sse2-unaligned.S: Likewise.
8070         * sysdeps/i386/i686/multiarch/bcopy.S: Select the sse2_unaligned
8071         version if bit_Fast_Unaligned_Load is set.
8072         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
8073         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
8074         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
8075         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
8076         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
8077         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
8078         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
8079         bcopy-sse2-unaligned, memcpy-sse2-unaligned,
8080         memmove-sse2-unaligned and mempcpy-sse2-unaligned.
8081         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c (MAX_IFUNC): Set
8082         to 4.
8083         (__libc_ifunc_impl_list): Test __bcopy_sse2_unaligned,
8084         __memmove_chk_sse2_unaligned, __memmove_sse2_unaligned,
8085         __memcpy_chk_sse2_unaligned, __memcpy_sse2_unaligned,
8086         __mempcpy_chk_sse2_unaligned, and __mempcpy_sse2_unaligned.
8088 2014-12-29  Chris Metcalf  <cmetcalf@ezchip.com>
8090         * sysdeps/unix/sysv/linux/tst-setgetname.c (do_test): Use #ifndef
8091         instead of #if to avoid a Wundef warning.
8092         * stdlib/tst-limits.c (do_test): Likewise.
8094         * sysdeps/tile/math_private.h (fetestexcept): Add macro to
8095         parallel other exception macros.
8096         (fegetenv): Convert from macro to extern inline so that it applies
8097         retroactively to inline functions already seen by the compiler.
8098         (fesetenv, feupdateenv, fegetround, fesetround): Likewise.
8100         * posix/Makefile (before-compile): Use $(objpfx) for
8101         posix-conf-vars-def.h.
8103 2014-12-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
8105         * posix/getconf.c (main): Use size_t for type of I.
8106         * scripts-gen-posix-conf-vars.awk (END): Use size_t for type of
8107         NSPEC.
8109         * posix/posix-conf-vars.list (SPEC:XBS5): Add sysconf prefix.
8110         * posix/confstr.c: Define NEED_SPEC_ARRAY to 0.
8111         * posix/posix-envs.def: Likewise.
8112         * sysdeps/posix/sysconf.c: Likewise.
8113         * posix/getconf.c: Define NEED_SPEC_ARRAY to 1.
8114         (specs): Remove array.
8115         * scripts/gen-posix-conf-vars.awk: Support generation of specs
8116         array.
8118         * posix/posix-conf-vars.list: Add _POSIX sysconf namespace.
8119         * sysdeps/posix/sysconf.c: Include posix-conf-vars.h.
8120         (__sysconf): Use CONF_IS_* macros.
8122         * posix/Makefile (before-compile): Add posix-conf-vars-def.h.
8123         ($(objpfx)posix-conf-vars-def.h): New target.
8124         * posix/posix-conf-vars.list: New file.
8125         * posix/posix-conf-vars.h: New file.
8126         * posix/confstr.c: Include posix-conf-vars.h.
8127         (confstr): Use CONF_IS_* macros.
8128         * posix/posix-envs.def: Include posix-conf-vars.h.  Use
8129         CONF_IS_* macros.
8130         * scripts/gen-posix-conf-vars.awk: New file.
8132 2014-12-26  Chris Metcalf  <cmetcalf@ezchip.com>
8134         * sysdeps/tile/math_private.h (fegetenv, fesetenv, feupdateenv,
8135         fegetround): Add no-op macros to avoid linknamespace issues.
8137         * sysdeps/unix/sysv/linux/clock_settime.c (SYSDEP_SETTIME): Remove
8138         definitions of INTERNAL_VSYSCALL and INLINE_VSYSCALL.
8140         * sysdeps/unix/sysv/linux/tile/sysdep.h
8141         (HAVE_CLOCK_GETTIME_VSYSCALL): Move definition out of
8142         assembly-specific section to avoid a redefinition warning.
8144         * sysdeps/tile/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast to
8145         long before casting to pointer to avoid a cast warning.
8147 2014-12-23  Chris Metcalf  <cmetcalf@ezchip.com>
8149         * sysdeps/tile/tilegx/Implies: New file.
8151 2014-12-23  Richard Earnshaw  <rearnsha@arm.com>
8153         * string/stpcpy.c (__stpcpy): Rewrite using strlen and memcpy.
8155 2014-12-23  Florian Weimer  <fweimer@redhat.com>
8157         * iconvdata/run-iconv-test.sh: Actually test iconv modules.
8159 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
8161         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES): Do
8162         not define.
8163         * sysdeps/unix/sysv/linux/utimes.c: Do not include
8164         <kernel-features.h>.
8165         (__utimes) [__NR_utimes]: Make code unconditional.
8166         (__utimes) [!__ASSUME_UTIMES]: Remove conditional code.
8167         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
8168         (__ASSUME_UTIMES): Do not undefine.
8169         * sysdeps/unix/sysv/linux/tile/kernel-features.h
8170         (__ASSUME_UTIMES): Likewise.
8171         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
8172         (__ASSUME_UTIMES): Define for [__LINUX_KERNEL_VERSION >= 0x030e00]
8173         instead of undefining for [__LINUX_KERNEL_VERSION < 0x030e00].
8174         * sysdeps/unix/sysv/linux/hppa/utimes.c: New file.
8176 2014-12-22  Steve Ellcey  <sellcey@imgtec.com>
8178         * sysdeps/mips/memcpy.S: Fix preprocessor indentation.
8180 2014-12-22  Chris Metcalf  <cmetcalf@ezchip.com>
8182         [BZ #17747]
8183         * math/w_j0.c [defined NO_LONG_DOUBLE] (j0, y0): Convert strong
8184         alias to weak alias for j0l, y0l.
8185         * math/w_j1.c [defined NO_LONG_DOUBLE] (j1, y1): Likewise.
8186         * math/w_jn.c [defined NO_LONG_DOUBLE] (jn, yn): Likewise.
8188         [BZ #17746]
8189         * sysdeps/tile/tilegx/strstr.c (STRSTR2): Remove implicit boolean
8190         conversion.
8192 2014-12-22  Steve Ellcey  <sellcey@imgtec.com>
8194         * sysdeps/unix/mips/sysdep.h (__mips_isa_rev): Set
8195         to zero if not already defined.
8197 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
8199         [BZ #17724]
8200         * sysdeps/ieee754/k_standard.c: Don't include <float.h>.
8201         (__kernel_standard_f): Remove.  Moved to k_standardf.c.
8202         (__kernel_standard_l): Remove.  Moved to k_standardl.c with
8203         (char *) casts added.
8204         * sysdeps/ieee754/k_standardf.c: New file.
8205         * sysdeps/ieee754/k_standardl.c: Likewise.
8206         * math/Makefile (libm-support): Remove k_standard.
8207         (libm-calls): Add k_standard.
8209 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
8211         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
8212         Optimize to avoid an unnecessary FPCR read.
8214 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
8216         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv):
8217         Optimize to reduce FPCR/FPSR accesses.
8219 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
8221         * sysdeps/aarch64/fpu/ftestexcept.c (fetestexcept):
8222         Call libc_fetestexcept_aarch64.
8224 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
8226         * sysdeps/aarch64/fpu/fesetround.c (fesetround):
8227         Call libc_fesetround_aarch64.
8229 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
8231         [BZ #17733]
8232         * sysdeps/unix/sysv/linux/bind.S (NO_WEAK_ALIAS): Do not define.
8233         (__bind): Do not define as weak alias.
8234         * sysdeps/unix/sysv/linux/getsockname.S (NO_WEAK_ALIAS): Do not
8235         define.
8236         (__getsockname): Do not define as weak alias.
8238 2014-12-22  Will Newton  <will.newton@linaro.org>
8240         * manual/install.texi: Document that we require bison 2.7
8241         or above.
8242         * INSTALL: Regenerate.
8243         * configure.ac: Use AC_CHECK_PROG_VER instead of
8244         AC_PATH_PROG when checking for bison and check for
8245         version 2.7 or above.
8246         * configure: Regenerate.
8248 2014-12-21  Chris Metcalf  <cmetcalf@ezchip.com>
8250         [BZ #17745]
8251         * sysdeps/tile/ffs.c (__ffs): Moved ffsll definition...
8252         * sysdeps/tile/ffsll.c (ffsll): To here.
8254         * sysdeps/unix/sysv/linux/tile/localplt.data: Removed.
8256 2014-12-21  H.J. Lu  <hongjiu.lu@intel.com>
8258         * elf/dl-tls.c (__tls_get_addr): Provide the hidden definition
8259         if not defined.
8260         * sysdeps/i386/dl-tls.h (___tls_get_addr): Provide the hidden
8261         definition.
8262         * sysdeps/i386/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
8263         hidden ___tls_get_addr.
8264         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
8265         hidden __tls_get_addr.
8266         * sysdeps/generic/localplt.data (__tls_get_addr): Removed.
8267         * sysdeps/unix/sysv/linux/i386/localplt.data (___tls_get_addr):
8268         Likewise.
8270 2014-12-21  Andreas Schwab  <schwab@linux-m68k.org>
8272         * sysdeps/m68k/dl-machine.h (RTLD_START): Remove @PLTPC from
8273         _dl_init call.
8275 2014-12-21  H.J. Lu  <hongjiu.lu@intel.com>
8277         * sysdeps/i386/dl-machine.h (_dl_start_user): Remove @PLT
8278         from "call _dl_init@PLT".
8279         * sysdeps/x86_64/dl-machine.h (_dl_start_user): Likewise.
8281 2014-12-21  Anders Kaseorg  <andersk@mit.edu>
8283         * manual/search.texi: (Array Sort Function): Clarify stable sorting
8284         guarantees.
8286 2014-12-20  Chris Metcalf  <cmetcalf@ezchip.com>
8288         * sysdeps/unix/sysv/linux/tile/localplt.data: New file.
8290 2014-12-19  Chris Metcalf  <cmetcalf@ezchip.com>
8292         [BZ #17744]
8293         * sysdeps/tile/tilegx/strstr.c (STRSTR): Call __strnlen, not
8294         strnlen.
8296 2014-12-19  Steve Ellcey  <sellcey@imgtec.com>
8298         * sysdeps/mips/addmul_1.S (__mpn_addmul_1): Use mulu/muhu instead
8299         of multu on MIPSr6.
8300         * sysdeps/mips/mul_1.S (__mpn_mul_1): Ditto.
8301         * sysdeps/mips/submul_1.S (__mpn_submul_1): Ditto.
8302         * sysdeps/mips/mips64/addmul_1.S (__mpn_addmul_1): Ditto.
8303         * sysdeps/mips/mips64/mul_1.S (__mpn_mul_1): Ditto.
8304         * sysdeps/mips/mips64/submul_1.S (__mpn_submul_1): Ditto.
8306 2014-12-19  Steve Ellcey  <sellcey@imgtec.com>
8308         * sysdeps/mips/sys/asm.h (PTR_ADDU): Use addu on mips32r6/mips64r6.
8309         (PTR_ADDIU): Use addiu for mips32r6/mips64r6.
8310         (PTR_SUBU): Use subu for mips32r6/mips64r6.
8311         (PTR_SUBIU): Use subu for mips32r6/mips64r6 (subiu does not exist).
8312         * sysdeps/mips/machine-gmon.h (PTR_ADDU_STRING) Use addu for
8313         mips32r6/mips64r6.
8314         (PTR_SUBU_STRING) Use subu for mips32r6/mips64r6.
8316 2014-12-19  Ondřej Bílka  <neleai@seznam.cz>
8318         * string/strncat.c (STRNCAT): Simplify implementation.
8320 2014-12-19  David S. Miller  <davem@davemloft.net>
8322         * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Use a union to
8323         access the quad as both a long double and as a series of 4 words.
8325         * get-dynamic-info.h (elf_get_dynamic_info): Ignore -Warray-bounds for a
8326         link_map->l_info array access.
8328 2014-12-19  Chris Metcalf  <cmetcalf@ezchip.com>
8330         * iconvdata/tst-loading.c (TIMEOUT): Increase timeout 10 sec.
8332         * math/atest-exp.c (TIMEOUT): Increase timeout to 10 sec.
8333         * math/atest-exp2.c (TIMEOUT): Likewise.
8334         * math/atest-sincos.c (TIMEOUT): Likewise.
8336 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
8338         * sysdeps/x86_64/x32/Makefile (CFLAGS-s_llround.c): Replace
8339         -Wno-error with -fno-builtin-lround.
8341 2014-12-19  Torvald Riegel  <triegel@redhat.com>
8343         * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: New file.
8344         Contains futex constants and functions moved over from ...
8345         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.  Include
8346         <lowlevellock-futex.h>.
8347         (lll_wait_tid): Use lll_futex_wait instead of assembly code.
8348         (lll_timedwait_tid): Add comments and parentheses around macro
8349         arguments.
8351 2014-12-19  Torvald Riegel  <triegel@redhat.com>
8353         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Include
8354         <lowlevellock-futex.h>.  Remove FUTEX_* constants defined there.
8355         (__lll_private_flag): Remove.
8356         (lll_futex_wait): Likewise.
8357         (lll_futex_timed_wait): Likewise.
8358         (lll_futex_wake): Likewise.
8359         (lll_futex_requeue): Likewise.
8360         (lll_wait_tid): Use lll_futex_wait instead of assembly code.
8361         (__lll_timedwait_tid): Spell out argument names.
8362         (lll_timedwait_tid): Add comments and parentheses around macro
8363         arguments.
8364         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Make FUTEX_* constants,
8365         LLL_SHARED and LLL_PRIVATE usable from assembly code.
8367 2014-12-19  Torvald Riegel  <triegel@redhat.com>
8369         * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Remove file.
8370         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
8371         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
8372         * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Likewise.
8373         * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Likewise.
8374         * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Likewise.
8375         * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Likewise.
8376         * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Likewise.
8377         * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Likewise.
8378         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: Likewise.
8379         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: Likewise.
8380         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Likewise.
8381         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Likewise.
8382         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Likewise.
8383         * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Likewise.
8384         * sysdeps/unix/sysv/linux/sh/sem_post.S: Likewise.
8385         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Likewise.
8386         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Likewise.
8387         * sysdeps/unix/sysv/linux/sh/sem_wait.S: Likewise.
8389 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
8391         * sysdeps/x86_64/x32/Makefile: New file.
8393 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
8395         * sysdeps/i386/ldbl2mpn.c (__mpn_extract_long_double): Replace
8396         1L with (mp_limb_t) 1.
8398 2014-12-17  Roland McGrath  <roland@hack.frob.com>
8400         * sysdeps/nptl/fork.c (__fork_generation_pointer): Variable moved ...
8401         * nptl/libc_pthread_init.c: ... here.
8402         * sysdeps/nptl/fork.c (__fork_handlers): Variable moved ...
8403         * nptl/register-atfork.c: ... here.
8405         * sysdeps/nptl/gai_misc.h (__gai_start_notify_thread):
8406         Use pthread_sigmask rather than INTERNAL_SYSCALL.
8407         Use assert_perror to check its return value.
8408         (__gai_create_helper_thread): Likewise.
8410         * inet/if_index.c (__if_freenameindex): Add libc_hidden_def.
8412         * malloc/malloc.c (alloc_perturb, free_perturb): Remove inline keyword.
8414 2014-12-17  Joseph Myers  <joseph@codesourcery.com>
8416         [BZ #17725]
8417         * sysdeps/generic/profil-counter.h (profil_counter): Rename to
8418         __profil_counter.
8419         * sysdeps/unix/sysv/linux/hppa/profil-counter.h (profil_counter):
8420         Likewise.
8421         * sysdeps/unix/sysv/linux/i386/profil-counter.h (profil_counter):
8422         Likewise.
8423         * sysdeps/unix/sysv/linux/ia64/profil-counter.h (profil_counter):
8424         Likewise.
8425         * sysdeps/unix/sysv/linux/s390/s390-32/profil-counter.h
8426         (profil_counter): Likewise.
8427         * sysdeps/unix/sysv/linux/s390/s390-64/profil-counter.h
8428         (profil_counter): Likewise.
8429         * sysdeps/unix/sysv/linux/sh/profil-counter.h (profil_counter):
8430         Likewise.
8431         * sysdeps/unix/sysv/linux/tile/profil-counter.h (profil_counter):
8432         Likewise.
8433         * sysdeps/unix/sysv/linux/x86_64/profil-counter.h
8434         (profil_counter): Likewise.
8435         * sysdeps/unix/sysv/linux/arm/profil-counter.h (profil_counter):
8436         Likewise.
8437         [!__profil_counter] (profil_counter): Define as weak alias of
8438         __profil_counter.
8439         * sysdeps/unix/sysv/linux/sparc/sparc32/profil-counter.h
8440         (profil_counter): Rename to __profil_counter.
8441         [!__profil_counter] (profil_counter): Define as weak alias of
8442         __profil_counter.
8443         * sysdeps/unix/sysv/linux/sparc/sparc64/profil-counter.h
8444         (profil_counter): Rename to __profil_counter.
8445         [!__profil_counter] (profil_counter): Define as weak alias of
8446         __profil_counter.
8447         * sysdeps/posix/profil.c: Update comment referring to
8448         profil_counter.
8449         (__profil): Use __profil_counter instead of profil_counter.
8450         * sysdeps/posix/sprofil.c (profil_counter): Rename to
8451         __profil_counter.  Use __profil_counter_ushort and
8452         __profil_counter_uint in definitions.
8453         (__sprofil): Use __profil_counter_uint and __profil_counter_ushort
8454         instead of profil_counter_uint and profil_counter_ushort.
8456         [BZ #17722]
8457         * inet/inet_mkadr.c (inet_makeaddr): Rename to __inet_makeaddr and
8458         define as weak alias of __inet_makeaddr.
8459         * resolv/inet_addr.c (inet_addr): Rename to __inet_addr and define
8460         as weak alias of __inet_addr.
8461         * resolv/inet_pton.c (inet_pton): Rename to __inet_pton and define
8462         as weak alias of __inet_pton.  Use libc_hidden_weak.
8463         * include/arpa/inet.h (__inet_pton): Declare.  Use
8464         libc_hidden_proto.
8465         (inet_makeaddr): Don't use libc_hidden_proto.
8466         (__inet_makeaddr): Declare.  Use libc_hidden_proto.
8467         * resolv/res_init.c (__res_vinit): Use __inet_pton instead of
8468         inet_pton.  Use __inet_makeaddr instead of inet_makeaddr.
8469         * conform/Makefile (test-xfail-POSIX/pthread.h/linknamespace):
8470         Remove variable.
8471         (test-xfail-POSIX/sched.h/linknamespace): Likewise.
8472         (test-xfail-POSIX/time.h/linknamespace): Likewise.
8474 2014-12-17  Steve Ellcey  <sellcey@imgtec.com>
8476         * inet/getnetgrent_r.c: Move while loop to be inside if statement.
8478 2014-12-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
8480         * stdio-common/bug-vfprintf-nargs.c (do_test):
8481         Cast value to intptr_t to avoid format warning
8482         for usage with PRIdPTR printing macro.
8484 2014-12-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
8486         * libio/tst-widetext.c (do_test):
8487         Use format type %td instead of %Zd for ptrdiff_t
8488         in order to avoid format warning.
8490 2014-12-17  Andreas Schwab  <schwab@suse.de>
8492         * nscd/mem.c (gc): Add size_t cast to match printf format.
8494 2014-12-16  Roland McGrath  <roland@hack.frob.com>
8496         * sysdeps/gnu/unwind-resume.c: #include <sysdep.h>.
8497         (init): Apply PTR_MANGLE to pointers before storing them.
8498         (_Unwind_Resume, __gcc_personality_v0): Apply PTR_DEMANGLE to pointers
8499         before using them.
8501 2014-12-16  Joseph Myers  <joseph@codesourcery.com>
8503         [BZ #17719]
8504         * sysdeps/x86_64/memrchr.S (memrchr): Rename to __memrchr and
8505         define as weak alias of __memrchr.
8506         (__memrchr): Do not define as strong alias of memrchr.
8507         * conform/Makefile (test-xfail-XPG4/libgen.h/linknamespace):
8508         Remove variable.
8509         (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
8510         (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
8511         (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
8513         [BZ #17717]
8514         * inet/if_index.c (if_nametoindex): Rename to __if_nametoindex and
8515         define as weak alias of __if_nametoindex.  Use libc_hidden_weak.
8516         (if_indextoname): Rename to __if_indextoname and define as weak
8517         alias of __if_indextoname.  Use libc_hidden_weak.
8518         (if_freenameindex): Rename to __if_freenameindex and define as
8519         weak alias of __if_freenameindex.
8520         (if_nameindex): Rename to __if_nameindex and define as weak alias
8521         of __if_nameindex.
8522         * sysdeps/mach/hurd/if_index.c (if_nametoindex): Rename to
8523         __if_nametoindex and define as weak alias of __if_nametoindex.
8524         Use libc_hidden_weak.
8525         (if_freenameindex): Rename to __if_freenameindex and define as
8526         weak alias of __if_freenameindex.
8527         (if_nameindex): Rename to __if_nameindex and define as weak alias
8528         of __if_nameindex.
8529         (if_indextoname): Rename to __if_indextoname and define as weak
8530         alias of __if_indextoname.  Use libc_hidden_weak.
8531         * sysdeps/unix/sysv/linux/if_index.c (if_nametoindex): Rename to
8532         __if_nametoindex and define as weak alias of __if_nametoindex.
8533         Use libc_hidden_weak.
8534         (if_freenameindex): Rename to __if_freenameindex and define as
8535         weak alias of __if_freenameindex.  Use libc_hidden_weak.
8536         (if_nameindex_netlink): Use __if_freenameindex instead of
8537         if_freenameindex.
8538         (if_nameindex): Rename to __if_nameindex and define as weak alias
8539         of __if_nameindex.  Use libc_hidden_weak.
8540         (if_indextoname): Rename to __if_indextoname and define as weak
8541         alias of __if_indextoname.  Use libc_hidden_weak.
8542         * include/net/if.h [!_ISOMAC] (__if_nametoindex): Declare and use
8543         libc_hidden_proto.
8544         [!_ISOMAC] (__if_freenameindex): Likewise.
8545         * resolv/res_init.c (__res_vinit): Use __if_nametoindex instead of
8546         if_nametoindex.
8547         * conform/Makefile (test-xfail-XPG4/grp.h/linknamespace): Remove
8548         variable.
8549         (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
8550         (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
8551         (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
8552         (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
8553         (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
8554         (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
8555         (test-xfail-UNIX98/time.h/linknamespace): Likewise.
8557         * conform/Makefile (test-xfail-UNIX98/semaphore.h/linknamespace):
8558         Remove variable.
8559         (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
8560         (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
8562 2014-12-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
8564         * resolv/res_send.c (__libc_res_nsend): Disable warning 'array
8565         subscript above bounds'
8567         * resolv/res_send.c (__libc_res_nsend): Fix check for nsmap
8568         bounds.
8570 2014-12-16  Arjun Shankar  <arjun.is@lostca.se>
8572         * libio/tst-fopenloc.c: Use test-skeleton.c.
8574         * stdlib/tst-bsearch.c: Use test-skeleton.c.
8575         (entry): Rename to ITEM.
8576         (do_test, comp): Adjust.
8578         * stdio-common/tst-fseek.c: Use test-skeleton.c.
8580 2014-12-16  Torvald Riegel  <triegel@redhat.com>
8582         * string/tester.c: Include <libc-internal.h>.
8583         (test_memset): Ignore -Wmemset-transposed-args.
8585 2014-12-16  Torvald Riegel  <triegel@redhat.com>
8587         * misc/tst-mntent2.c (do_test): Fix warning.
8589 2014-12-16  Torvald Riegel  <triegel@redhat.com>
8591         * elf/tst-unique4lib.cc(a): Mark as used.
8593 2014-12-16  Florian Weimer  <fweimer@redhat.com>
8595         [BZ #17630]
8596         * resolv/nss_dns/dns-network.c (getanswer_r): Iterate over alias
8597         names.
8599 2014-12-16  Allan McRae  <allan@archlinux.org>
8601         * stdio-common/Makefile (tests): Re-add bug26.
8603 2014-12-15  Ondřej Bílka  <neleai@seznam.cz>
8605         [BZ #17657]
8606         * locale/programs/ld-ctype.c (find_translit2, read_widestring): Return
8607         static array.
8609 2014-12-15  Bernard Ogden  <bernie.ogden@linaro.org>
8611         * nptl/lowlevellock.c (__lll_lock_wait_private): Add comments.
8612         (__lll_lock_wait): Likewise.
8613         (__lll_timedlock_wait): Likewise.
8614         (__lll_timedwait_tid): Likewise.
8615         * nptl/lowlevelrobustlock.c (__lll_robust_lock_wait): Likewise.
8616         (__lll_robust_timedlock_wait): Likewise.
8617         * sysdeps/nptl/lowlevellock.h (lll_trylock): Likewise.
8618         (lll_cond_trylock): Likewise.
8619         (__lll_lock): Likewise.
8620         (__lll_robust_lock): Likewise.
8621         (__lll_cond_lock): Likewise.
8622         (lll_robust_cond_lock): Likewise.
8623         (__lll_timedlock): Likewise.
8624         (__lll_robust_timedlock): Likewise.
8625         (__lll_unlock): Likewise.
8626         (__lll_robust_unlock): Likewise.
8627         (lll_wait_tid): Likewise.
8628         (lll_timedwait_tid): Likewise.
8630 2014-12-15  Torvald Riegel  <triegel@redhat.com>
8632         * nptl/tst-sem4.c (do_test): Start with a fresh semaphore state.
8634 2014-12-15  Torvald Riegel  <triegel@redhat.com>
8636         * nptl/tst-mutex5.c (do_test): Do not skip tests if elision is enabled.
8638 2014-12-15  Adhemerval Zanella  <Azanella@linux.vnet.ibm.com>
8640         * stdio-common/test-vfprintf.c: Include <libc-internal.h>.
8641         * stdio-common/tst-sprintf.c: Likewise.
8643 2014-12-15  Torvald Riegel  <triegel@redhat.com>
8645         * sysdeps/unix/sysv/linux/s390/pthread_once.c: Remove file.
8647 2014-12-15  Jeff Law  <law@redhat.com>
8649         [BZ #16617]
8650         * stdio-common/vfprintf.c (vfprintf): Allocate large specs array
8651         on the heap.  (CVE-2012-3406)
8652         * stdio-common/bug23-2.c, stdio-common/bug23-3.c: New file.
8653         * stdio-common/bug23-4.c: New file.  Test case by Joseph Myers.
8654         * stdio-common/Makefile (tests): Add bug23-2, bug23-3, bug23-4.
8656 2014-12-15  Will Newton  <will.newton@linaro.org>
8658         * manual/install.texi: Bump required version of texinfo
8659         to 4.7 from 4.5.
8660         * INSTALL: Regenerated.
8661         * configure.ac: Check for makeinfo version 4.7 and above.
8662         * configure: Regenerated.
8664 2014-12-12  Roland McGrath  <roland@hack.frob.com>
8666         * sysdeps/posix/shm-directory.h (SHM_GET_NAME): Take new argument
8667         PREFIX, string constant to insert between directory and name.
8668         * sysdeps/posix/shm_open.c: Update caller.
8669         * sysdeps/posix/shm_unlink.c: Likewise.
8670         * nptl/semaphoreP.h (struct mountpoint_info): Type removed.
8671         (__where_is_shmfs, mountpoint, __namedsem_once): Declarations removed.
8672         (SEM_SHM_PREFIX): New macro.
8673         * sysdeps/posix/Makefile (librt-routines): Add shm-directory only if
8674         [$(have-thread-library) = no].
8675         * nptl/Makefile (libpthread-routines): Add shm-directory.
8676         * nptl/Versions (GLIBC_PRIVATE): Add __shm_directory.
8677         * sysdeps/nptl/shm-directory.h: New file.
8678         * sysdeps/posix/shm-directory.c
8679         [IS_IN (libpthread)] (__shm_directory): Add hidden_def.
8680         * sysdeps/unix/sysv/linux/shm-directory.c: Likewise.
8681         * nptl/sem_open.c (check_add_mapping): Use munmap function rather than
8682         INTERNAL_SYSCALL.
8683         (__where_is_shmfs): Function removed.
8684         (mountpoint, defaultmount, defaultdir, __namedsem_once):
8685         Variables removed.
8686         (sem_open): Use __libc_close function rather than INTERNAL_SYSCALL.
8687         Use SHM_GET_NAME.
8688         * nptl/sem_unlink.c: Prototypify.  Use SHM_GET_NAME.
8690         * sysdeps/nptl/bits/libc-lockP.h [IS_IN (libpthread)]
8691         (PTFAVAIL, __libc_ptf_call, __libc_ptf_call_always): Define as
8692         unconditional for use inside libpthread.
8693         [IS_IN (libpthread)]: Include <nptl/pthreadP.h>.
8695 2014-12-12  Roland McGrath  <roland@hack.frob.com>
8697         * nptl/pthread_getaffinity.c: New file.
8698         * nptl/pthread_setaffinity.c: New file.
8699         * nptl/pthread_getname.c: New file.
8700         * nptl/pthread_setname.c: New file.
8702         * nptl/pthread_create.c (START_THREAD_DEFN)
8703         [! __ASSUME_SET_ROBUST_LIST]: Add missing & in lll_futex_wake argument.
8705 2014-12-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
8706             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8708         * resolv/res_send.c (send_vc): Disable warning resplen may
8709         be used uninitialized.
8711 2014-12-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
8713         * nptl/tst-mutex6.c
8714         (ATTR_NULL): New define checks ATTR against NULL.
8715         (do_test): Use !ATTR_NULL instead of ATTR != NULL.
8716         * nptl/tst-mutexpp6.c (ATTR_NULL): New define.
8718 2014-12-11  James Lemke  <jwlemke@codesourcery.com>
8720         [BZ #17581]
8721         * malloc/hooks.c
8722         (mem2mem_check): Revert my previous change.
8723         (malloc_check_get_size): Revert my previous change.
8724         (mem2chunk_check): Revert my previous change.
8726 2014-12-11  Roland McGrath  <roland@hack.frob.com>
8728         * sysdeps/posix/shm-directory.c: New file.
8729         * sysdeps/posix/shm-directory.h: New file.
8730         * sysdeps/posix/Makefile [($(subdir) = rt] (librt-routines): Add it.
8731         * sysdeps/posix/shm_open.c: Use SHM_GET_NAME.
8732         Use O_NOFOLLOW and O_CLOEXEC if available.  Transmute EISDIR to EINVAL.
8733         * sysdeps/posix/shm_unlink.c: Use SHM_GET_NAME.
8734         Transmute EPERM to EACCES.
8735         * sysdeps/unix/sysv/linux/shm-directory.c: New file, most code taken
8736         from ...
8737         * sysdeps/unix/sysv/linux/shm_open.c: ... here.  File removed.
8738         * sysdeps/unix/sysv/linux/shm_unlink.c: File removed.
8740 2014-12-11  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
8742         * sysdeps/sh/jmpbuf_unwind.h (_jmpbuf_sp): Declare SP as void
8743         pointer and cast to uintptr_t.
8744         * sysdeps/sh/nptl/tls.h (TLS_INIT_TP): Use NULL instead of 0.
8745         * sysdeps/unix/sysv/linux/sh/lowlevellock.h (lll_futex_timed_wait):
8746         Add cast to avoid warning.
8747         * sysdeps/unix/sysv/linux/sh/register-dump.h: Use 0 instead of NULL.
8749 2014-12-11  Joseph Myers  <joseph@codesourcery.com>
8751         * nptl/semaphore.h: Move to ...
8752         * sysdeps/pthread/semaphore.h: ... here.
8753         * Makefile (installed-headers): Change nptl/semaphore.h to
8754         sysdeps/pthread/semaphore.h.
8756 2014-12-11  Roland McGrath  <roland@hack.frob.com>
8758         * misc/tst-error1.c (do_test): Ignore -Wformat-security for
8759         generated error format strings.
8761         * stdio-common/tstdiomisc.c (t2): Ignore -Wformat and
8762         -Wformat-extra-args warnings for scanf formats.
8763         * stdio-common/scanf4.c (main): Ignore -Wformat-zero-length around
8764         test of zero-length format (duh).
8765         * stdio-common/scanf7.c (main): Ignore -Wformat warnings for
8766         corner-case scanf format test.
8767         * stdio-common/test-vfprintf.c (do_test): Ignore -Wformat-security for
8768         generated fprintf format string.
8769         * stdio-common/tst-sprintf.c (do_test): Ignore -Wformat warnings for
8770         corner-case sprintf format tests.
8771         * stdio-common/tst-printf.c: Ignore -Wformat throughout.
8772         * stdio-common/tst-printfsz.c (main): Ignore -Wformat and
8773         -Wformat-extra-args warnings throughout.
8774         * stdio-common/Makefile (CFLAGS-tstdiomisc.c): Variable removed.
8775         (CFLAGS-scanf4.c): Likewise.
8776         (CFLAGS-scanf7.c): Likewise.
8777         (CFLAGS-tst-sprintf.c): Likewise.
8778         (CFLAGS-tst-printf.c): Likewise.
8779         (CFLAGS-tst-printfsz.c): Likewise.
8781 2014-12-11  Joseph Myers  <joseph@codesourcery.com>
8783         * include/cpio.h: New file.
8784         * include/fmtmsg.h: Likewise.
8786         * tst-mbswcs1.c (show): Use %zu format instead of %Zd.  Cast
8787         corresponding format argument to size_t.
8788         * tst-mbswcs2.c (show): Likewise.  Use %td format for ptrdiff_t
8789         arguments.
8790         * tst-mbswcs3.c (show): Use %zu format instead of %Zd.  Cast
8791         corresponding format argument to size_t.
8792         * tst-mbswcs4.c (show): Likewise.  Use %td format for ptrdiff_t
8793         arguments.
8794         * tst-mbswcs5.c (show): Use %zu format instead of %Zd.  Cast
8795         corresponding format argument to size_t.
8796         * tst-trans.c (do_test): Use %lc format for wint_t arguments.
8797         * Makefile (CFLAGS-tst-mbswcs1.c): Remove variable.
8798         (CFLAGS-tst-mbswcs2.c): Likewise.
8799         (CFLAGS-tst-mbswcs3.c): Likewise.
8800         (CFLAGS-tst-mbswcs4.c): Likewise.
8801         (CFLAGS-tst-mbswcs5.c): Likewise.
8802         (CFLAGS-tst-trans.c): Likewise
8804 2014-12-11  Roland McGrath  <roland@hack.frob.com>
8806         * posix/regexbug1.c (main): Use "%s" format with regerror results,
8807         rather than assuming they won't contain any '%'s.
8809 2014-12-11  Chris Metcalf  <cmetcalf@ezchip.com>
8811         * sysdeps/tile/tilegx/memset.c (__memcpy): Add
8812         inhibit_loop_to_libcall to avoid recursive calls.
8813         * sysdeps/tile/tilegx/memcpy.c (__memcpy): Likewise.
8814         * sysdeps/tile/tilepro/memcpy.c (__memcpy): Likewise.
8816 2014-12-11  Adhemerval Zanella  <Azanella@linux.vnet.ibm.com>
8818         * include/sys/socket.h (__sendmmsg): Add __USE_GNU guards on function
8819         prototype.
8821 2014-12-11  Steve Ellcey  <sellcey@imgtec.com>
8823         * sysdeps/mips/dl-trampoline.c: Modify switch expression to have
8824         integer value instead of boolean.
8826 2014-12-11  Steve Ellcey  <sellcey@imgtec.com>
8828         * malloc/malloc.c: Fix powerof2 check.
8830 2014-12-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
8832         * locale/programs/locfile.h (maybe_swap_uint32):
8833         Remove inline and add unused attribute.
8835 2014-12-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
8837         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
8838         Truncating assembler expression to a .long expression.
8840 2014-12-11  Andreas Schwab  <schwab@suse.de>
8842         * elf/rtld.c (struct map_args): Constify str member.
8843         (do_preload): Constify fname argument.
8845 2014-12-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8847         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Remove overflow warnings for
8848         constants definition.
8850 2014-12-11  Andreas Schwab  <schwab@suse.de>
8852         [BZ #16657]
8853         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Use
8854         FORCE_ELISION instead of DO_ELISION.
8855         * sysdeps/unix/sysv/linux/x86/force-elision.h (DO_ELISION):
8856         Remove.
8857         * sysdeps/unix/sysv/linux/s390/force-elision.h (DO_ELISION):
8858         Likewise.
8860         * iconvdata/gconv-modules: Remove duplicate entry.
8862 2014-12-11  Will Newton  <will.newton@linaro.org>
8864         Merge gettext 0.19.3 into intl/.
8866         This involves a number of cosmetic changes to comments
8867         and ANSI function definitions and prototypes throughout
8868         all the files. The gettext copyright header is used but
8869         with the date ranges taken from the glibc copy.
8871         * NEWS: Add gettext merge to 2.21.
8872         * intl/bindtextdom.c: Switch to gettext copyright.
8873         Use ANSI definitions and prototypes.
8874         Use gl_* locking primitives rather than __libc_* ones.
8875         Use __builtin_expect rather than __glibc_likely/unlikely.
8876         * intl/dcgettext.c: Switch to gettext copyright.
8877         Use ANSI definitions and prototypes.
8878         * intl/dcigettext.c: Switch to gettext copyright.
8879         Use ANSI definitions and prototypes.
8880         (INTDIV0_RAISES_SIGFPE): New define.
8881         Use gl_* locking primitives rather than __libc_* ones.
8882         Include eval-plural.h instead of plural-eval.c.
8883         Use __builtin_expect rather than __glibc_likely/unlikely.
8884         * intl/dcngettext.c: Switch to gettext copyright.
8885         Use ANSI definitions and prototypes.
8886         * intl/dgettext.c: Likewise.
8887         * intl/dngettext.c: Likewise.
8888         * intl/plural-eval.c: Renamed to...
8889         * intl/eval-plural.h: ...this.
8890         * intl/explodename.c: Switch to gettext copyright.
8891         Use ANSI definitions and prototypes.
8892         (_nl_explode_name): Use strchr instead of __rawmemchr.
8893         * intl/finddomain.c: Switch to gettext copyright.
8894         Use ANSI definitions and prototypes.
8895         Use gl_* locking primitives rather than __libc_* ones.
8896         (_nl_find_domain): Use malloc rather than alloca for
8897         allocation of temporary locale name.
8898         * intl/gettext.c: Switch to gettext copyright.
8899         Use ANSI definitions and prototypes.
8900         * intl/gettextP.h: Switch to gettext copyright.
8901         Use ANSI definitions and prototypes.
8902         Use gl_* locking primitives rather than __libc_* ones.
8903         * intl/gmo.h: Switch to gettext copyright.
8904         (struct sysdep_string): Move struct segment_pair outside of
8905         struct definition.
8906         * intl/hash-string.c: Use ANSI definitions and prototypes.
8907         * intl/hash-string.h: Switch to gettext copyright.
8908         Use ANSI definitions and prototypes.
8909         * intl/l10nflist.c: Switch to gettext copyright.
8910         Use ANSI definitions and prototypes.
8911         (_nl_normalize_codeset): Avoid integer overflow.
8912         * intl/loadinfo.h: Switch to gettext copyright.
8913         Use ANSI definitions and prototypes.
8914         (LIBINTL_DLL_EXPORTED): New define.
8915         (PATH_SEPARATOR): New define.
8916         * intl/loadmsgcat.c: Switch to gettext copyright.
8917         * intl/localealias.c: Switch to gettext copyright.
8918         Use ANSI definitions and prototypes.
8919         (_nl_expand_alias): Use PATH_SEPARATOR.
8920         * intl/ngettext.c: Switch to gettext copyright.
8921         Use ANSI definitions and prototypes.
8922         * intl/plural-exp.c: Likewise.
8923         * intl/plural-exp.h: Switch to gettext copyright.
8924         Use ANSI definitions and prototypes.
8925         (struct expression): Move definition of enum operator outside
8926         of struct definition.
8927         * intl/plural.c: Regenerate.
8928         * intl/plural.y: Switch to gettext copyright.
8929         Use ANSI definitions and prototypes.
8930         Port to bison 3.0.
8931         * intl/textdomain.c: Switch to gettext copyright.
8932         Use ANSI definitions and prototypes.
8933         Use gl_* locking primitives rather than __libc_* ones.
8935 2014-12-10  Steve Ellcey  <sellcey@imgtec.com>
8937         * debug/warning-nop.c: Add used atrribute.
8939 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
8941         * sysdeps/unix/sysv/linux/mips/mips32/waitid.c: New file.
8943         * sysdeps/unix/sysv/linux/mips/mips64/Makefile
8944         [$(subdir) == signal] (CFLAGS-sigaction.c): New variable.
8945         [$(subdir) == nptl] (CFLAGS-sigaction.c): Likewise.
8947 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
8948             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8950         [BZ #17634]
8951         * wcsmbs/wcschr.c [!WCSCHR] (wcschr): Define as __wcschr.
8952         Undefine after defining function.  Define as weak alias of
8953         __wcschr.  Use libc_hidden_weak.
8954         * include/wchar.h (__wcschr): Declare.  Use libc_hidden_proto.
8955         * sysdeps/i386/i686/multiarch/wcschr-c.c [IS_IN (libc) && SHARED]
8956         (libc_hidden_def): Also define __GI___wcschr alias.
8957         * sysdeps/i386/i686/multiarch/wcschr.S (wcschr): Rename to
8958         __wcschr and define as weak alias of __wcschr.
8959         * sysdeps/powerpc/power6/wcschr.c [!WCSCHR] (WCSCHR): Define as
8960         __wcschr.
8961         [!WCSCHR] (DEFAULT_WCSCHR): Define.
8962         [DEFAULT_WCSCHR] (__wcschr): Use libc_hidden_def.
8963         [DEFAULT_WCSCHR] (wcschr): Define as weak alias of __wcschr.  Use
8964         libc_hidden_weak.  Do not use libc_hidden_def.
8965         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c
8966         [IS_IN (libc) && SHARED] (libc_hidden_def): Also define
8967         __GI___wcschr alias.
8968         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c
8969         [IS_IN (libc)] (wcschr): Define as macro expanding to
8970         __redirect_wcschr.
8971         [IS_IN (libc)] (__wcschr_ppc): Use __redirect_wcschr in typeof.
8972         [IS_IN (libc)] (__wcschr_power6): Likewise.
8973         [IS_IN (libc)] (__wcschr_power7): Likewise.
8974         [IS_IN (libc)] (__libc_wcschr): New.  Define with libc_ifunc
8975         instead of wcschr.
8976         [IS_IN (libc)] (wcschr): Undefine and define as weak alias of
8977         __libc_wcschr.
8978         [!IS_IN (libc)] (libc_hidden_def): Do not undefine and redefine.
8979         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c (wcschr): Rename to
8980         __wcschr and define as weak alias of __wcschr.  Use
8981         libc_hidden_builtin_def.
8982         * sysdeps/x86_64/wcschr.S (wcschr): Rename to __wcschr and define
8983         as weak alias of __wcschr.  Use libc_hidden_weak.
8984         * time/alt_digit.c (_nl_get_walt_digit): Use __wcschr instead of
8985         wcschr.
8986         * time/era.c (_nl_init_era_entries): Likewise.
8987         * conform/Makefile (test-xfail-ISO/time.h/linknamespace): Remove
8988         variable.
8989         (test-xfail-XPG3/time.h/linknamespace): Likewise.
8990         (test-xfail-XPG4/time.h/linknamespace): Likewise.
8992 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
8994         * libio/tst-ftell-active-handler.c (do_ftruncate_test): Use %ld
8995         format for long int variable.
8997 2014-12-10  Anders Kaseorg  <andersk@MIT.EDU>
8999         [BZ #10672]
9000         * manual/search.texi: (Array Sort Function): Remove claim how to make
9001         qsort stable.
9003 2014-12-10  Andreas Schwab  <schwab@suse.de>
9005         [BZ #12847]
9006         * sysdeps/nptl/fork.c (fresetlockfiles): Skip files with
9007         user-controlled locks.
9009 2014-12-10  Richard Earnshaw  <rearnsha@arm.com>
9011         * sysdeps/aarch64/strchrnul.S (vrepmask): Use a call-clobbered
9012         register.
9014 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
9016         * configure.ac (--disable-werror): New configure option.
9017         (enable_werror): New AC_SUBST.
9018         * configure: Regenerated.
9019         * config.make.in (enable-werror): New variable.
9020         * Makeconfig [$(enable-werror) = yes] (+gccwarn): Add -Werror
9021         -Wno-error=undef.
9022         (+gccwarn-c): Do not use -Werror=implicit-function-declaration.
9023         * manual/install.texi (Configuring and compiling): Document
9024         --disable-werror.
9025         * INSTALL: Regenerated.
9026         * debug/Makefile (CFLAGS-tst-chk1.c): Add -Wno-error.
9027         (CFLAGS-tst-chk2.c): Likewise.
9028         (CFLAGS-tst-chk3.c): Likewise.
9029         (CFLAGS-tst-chk4.cc): Likewise.
9030         (CFLAGS-tst-chk5.cc): Likewise.
9031         (CFLAGS-tst-chk6.cc): Likewise.
9032         (CFLAGS-tst-lfschk1.c): Likewise.
9033         (CFLAGS-tst-lfschk2.c): Likewise.
9034         (CFLAGS-tst-lfschk3.c): Likewise.
9035         (CFLAGS-tst-lfschk4.cc): Likewise.
9036         (CFLAGS-tst-lfschk5.cc): Likewise.
9037         (CFLAGS-tst-lfschk6.cc): Likewise.
9039         * stdio-common/tst-printfsz.c: Include <libc-internal.h>.
9040         (main): Disable -Wdeprecated-declarations around calls to
9041         register_printf_function.
9043         * stdio-common/tst-unlockedio.c: Include <libc-internal.h>.
9044         (do_test): Disable -Wdiv-by-zero around some calls to
9045         fwrite_unlocked and fread_unlocked.
9047         * include/libc-internal.h (DIAG_PUSH_NEEDS_COMMENT): New macro.
9048         (DIAG_POP_NEEDS_COMMENT): Likewise.
9049         (_DIAG_STR1): Likewise.
9050         (_DIAG_STR): Likewise.
9051         (DIAG_IGNORE_NEEDS_COMMENT): Likewise.
9052         * stdio-common/bug21.c: Include <libc-internal.h>.
9053         (do_test): Disable -Wformat around call to sscanf.
9054         * stdio-common/scanf14.c: Include <libc-internal.h>.
9055         (main): Disable -Wformat around some calls to scanf functions.
9057 2014-12-09  Torvald Riegel  <triegel@redhat.com>
9059         * sysdeps/unix/sysv/linux/sh/pthread_once.S: Remove file.
9061 2014-12-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9063         * libio/tst-ftell-active-handler.c (do_ftell_test): Fix wide-character
9064         stack variable alignment.
9066 2014-12-06  Joseph Myers  <joseph@codesourcery.com>
9068         [BZ #17682]
9069         * resource/Versions (libc): Add __getrlimit at GLIBC_PRIVATE.
9070         * resource/getrlimit.c (__getrlimit): Use libc_hidden_def.
9071         * sysdeps/mach/hurd/getrlimit.c (__getrlimit): Likewise.
9072         * include/sys/resource.h (__getrlimit): Use libc_hidden_proto.
9073         * nptl/nptl-init.c (__pthread_initialize_minimal_internal): Use
9074         __getrlimit instead of getrlimit.
9075         * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Use
9076         __gettimeofday instead of gettimeofday.
9077         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
9078         Likewise.
9079         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
9080         Likewise.
9081         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
9082         * conform/Makefile (test-xfail-POSIX2008/aio.h/linknamespace):
9083         Remove variable.
9084         (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
9085         (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
9087 2014-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9089         * libio/tst-ftell-active-handler.c (do_ftell_test): Fix buffer overrun
9090         for wide-character tests.
9092 2014-12-04  Roland McGrath  <roland@hack.frob.com>
9094         * io/openat64.c: #include <libc-internal.h>
9095         (__openat64): Prototypify.  Use ignore_value on MODE.
9096         * io/openat.c: Likewise.
9097         * misc/reboot.c: #include <libc-internal.h>
9098         (reboot): Prototypify.  Use ignore_value on HOWTO.
9099         * misc/ptrace.c: #include <libc-internal.h>
9100         (ptrace): Prototypify.  Use ignore_value for va_arg'd parameters.
9102 2014-12-04  Joseph Myers  <joseph@codesourcery.com>
9104         * conform/list-header-symbols.pl (%extra_syms): Add h_errno for
9105         XPG4, UNIX98 and XOPEN2K.
9106         * conform/Makefile (test-xfail-XOPEN2K/grp.h/linknamespace):
9107         Remove variable.
9108         (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
9110 2014-12-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
9112         * libio/fileops.c: Use ISO C style for function definitions.
9113         * libio/iofopen.c: Likewise.
9114         * libio/wfileops.c: Likewise.
9116         [BZ #17653]
9117         * libio/fileops.c (_IO_new_file_underflow): Unset cached
9118         offset on EOF.
9119         * libio/wfileops.c (_IO_wfile_underflow): Likewise.
9120         * libio/tst-ftell-active-handler.c (fgets_func_t): New type.
9121         (fgets_func): Function pointer to fgets and fgetws.
9122         (do_ftell_test): Add test to verify ftell value after read
9123         EOF.
9124         (do_test): Set fgets_func.
9126         * libio/tst-ftell-active-handler.c (do_ftruncate_test): Add
9127         O_TRUNC flag for w and w+ modes.
9128         (do_rewind_test): Likewise.
9129         (do_ftell_test): Likewise.
9130         (do_write_test): Likewise.
9132         [BZ #17647]
9133         * libio/fileops.c (do_ftell): Seek only when there are
9134         unflushed writes.
9135         * libio/wfileops.c (do_ftell_wide): Likewise.
9136         * libio/tst-ftell-active-handler.c (do_ftruncate_test): New
9137         test case.
9138         (do_one_test): Call it.
9140 2014-12-03  Joseph Myers  <joseph@codesourcery.com>
9142         * conform/list-header-symbols.pl (%extra_syms): Add getdate_err
9143         for XPG4, UNIX98, XOPEN2K and XOPEN2K8.
9144         * conform/Makefile (test-xfail-XOPEN2K/pthread.h/linknamespace):
9145         Remove variable.
9146         (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
9147         (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
9148         (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
9150 2014-12-02  Joseph Myers  <joseph@codesourcery.com>
9152         * conform/Makefile (test-xfail-XOPEN2K/aio.h/linknamespace):
9153         Remove variable.
9154         (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
9156         [BZ #17668]
9157         * inet/ifaddrs.c (getifaddrs): Rename to __getifaddrs and define
9158         as weak alias of __getifaddrs.  Use libc_hidden_weak.
9159         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
9160         __freeifaddrs.  Use libc_hidden_weak.
9161         * sysdeps/gnu/ifaddrs.c (getifaddrs): Rename to __getifaddrs and
9162         define as weak alias of __getifaddrs.  Use libc_hidden_weak.
9163         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
9164         __freeifaddrs.  Use libc_hidden_weak.
9165         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs): Rename to
9166         __getifaddrs and define as weak alias of __getifaddrs.  Use
9167         libc_hidden_weak.
9168         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
9169         __freeifaddrs.  Use libc_hidden_weak.
9170         * conform/Makefile (test-xfail-XOPEN2K/net/if.h/linknamespace):
9171         Remove variable.
9172         (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
9173         (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
9175 2014-12-02  Petar Jovanovic  <petar.jovanovic@rt-rk.com>
9177         [BZ #17601]
9178         * sysdeps/mips/start.S (__start): Use indirect jump to call
9179         __libc_start_main.
9181 2014-12-02  Joseph Myers  <joseph@codesourcery.com>
9183         * nptl/tst-stack4.c (dso_process): Use int not uintptr_t for t.
9185         * nptl/tst-mutex1.c: Include <stdbool.h>.
9186         [!ATTR] (ATTR_NULL): New macro.
9187         (do_test): Test !ATTR_NULL instead of ATTR != NULL.
9188         * nptl/tst-mutexpi1.c (ATTR_NULL): New macro.
9189         * nptl/tst-mutexpp1.c (ATTR_NULL): New macro.
9191         * posix/tst-getopt_long1.c (do_test): Cast elements of argv array
9192         to char *.
9194         [BZ #17665]
9195         * posix/unistd.h [__USE_MISC || (__USE_XOPEN && !__USE_UNIX98)]:
9196         Change conditional to [__USE_MISC].
9198         [BZ #17664]
9199         * misc/mntent_r.c (__getmntent_r): Use __fgets_unlocked instead of
9200         fgets_unlocked.
9201         * resolv/res_hconf.c [IS_IN (libc)] (fgets_unlocked): Define to
9202         __fgets_unlocked.
9203         * resolv/res_init.c (__res_vinit): Use __fgets_unlocked instead of
9204         fgets_unlocked.
9205         * conform/Makefile (test-xfail-XPG4/sys/statvfs.h/linknamespace):
9206         Remove variable.
9207         (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
9208         (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
9209         (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
9210         (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
9211         (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
9212         (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
9213         (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
9214         (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
9215         (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
9217         * elf/tst-unique4lib.cc (b): Mark with __attribute__ ((used)).
9219 2014-12-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9221         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
9222         Remove strpbrk objects.
9223         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
9224         (__libc_ifunc_impl_list): Remove strpbrk implementation.
9225         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: Remove file.
9226         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Remove file.
9227         * sysdeps/powerpc/powerpc64/power7/strpbrk.S: Remove file.
9228         * sysdeps/powerpc/powerpc64/strpbrk.S: New file.
9230         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
9231         Remove strcspn objects.
9232         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
9233         (__libc_ifunc_impl_list): Remove strcspn implementation.
9234         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: Remove file.
9235         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Remove file.
9236         * sysdeps/powerpc/powerpc64/power7/strcspn.S: Remove file.
9237         * sysdeps/powerpc/powerpc64/strcspn.S: New file.
9239         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
9240         Remove strspn objetcs.
9241         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
9242         (__libc_ifunc_impl_list): Remove strspn implementation.
9243         * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: Remove file.
9244         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
9245         * sysdeps/powerpc/powerpc64/power7/strspn.S: Remove file.
9246         * sysdeps/powerpc/powerpc64/strspn.S: New file.
9248 2014-12-01  James Lemke  <jwlemke@codesourcery.com>
9250         [BZ #17581]
9251         * malloc/hooks.c
9252         (mem2mem_check): Add a terminator to the chain of checking blocks.
9253         (malloc_check_get_size): Use it here.
9254         (mem2chunk_check): Ditto.
9256 2014-12-01  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
9258         * sysdeps/powerpc/powerpc64/strtok.S: New file.
9259         * sysdeps/powerpc/powerpc64/strtok_r.S: New file.
9261 2014-11-29  Carlos O'Donell  <carlos@redhat.com>
9263         * bits/ioctl-types.h: Indent preprocessor directives correctly.
9265         * nptl/nptl-init.c: Include libc-internal.h.
9266         (__pthread_initialize_minimal_internal): Use ROUND_UP.
9268         * elf/ldconfig.c (search_dir): Expand comment.
9270 2014-11-29  Joseph Myers  <joseph@codesourcery.com>
9272         * conform/Makefile (linknamespace-symlist-stdlibs-base): New
9273         variable.
9274         (linknamespace-symlist-stdlibs-tests): Likewise.
9275         (tests-special): Append $(linknamespace-symlist-stdlibs-tests)
9276         instead of $(objpfx)symlist-stdlibs.
9277         (linknamespace-libs-isoc): New variable.
9278         (linknamespace-libs): Use $(linknamespace-libs-isoc).
9279         (linknamespace-libs-ISO): New variable.
9280         (linknamespace-libs-ISO99): Likewise.
9281         (linknamespace-libs-ISO11): Likewise.
9282         (linknamespace-libs-XPG3): Likewise.
9283         (linknamespace-libs-XPG4): Likewise.
9284         (linknamespace-libs-POSIX): Likewise.
9285         (linknamespace-libs-UNIX98): Likewise.
9286         (linknamespace-libs-XOPEN2K): Likewise.
9287         (linknamespace-libs-POSIX2008): Likewise.
9288         (linknamespace-libs-XOPEN2K8): Likewise.
9289         ($(objpfx)symlist-stdlibs): Replace by
9290         $(linknamespace-symlist-stdlibs-tests).  Use
9291         $(linknamespace-libs-$*) as set of libraries.
9292         ($(linknamespace-header-tests)): Update dependencies.  Use
9293         $(objpfx)symlist-stdlibs-$$std for --libsyms argument.
9294         (test-xfail-XPG4/sys/mman.h/linknamespace): Remove.
9295         * conform/linknamespace.pl: Remove comment about considering
9296         definitions of symbols from irrelevant libraries.
9298 2014-11-28  H.J. Lu  <hongjiu.lu@intel.com>
9300         [BZ #13862]
9301         * elf/dl-tls.c: Include <atomic.h>.
9302         (oom): Remove #ifdef SHARED/#endif.
9303         (_dl_static_dtv, _dl_initial_dtv): Moved before ...
9304         (_dl_resize_dtv): This.  Extracted from _dl_update_slotinfo.
9305         (_dl_allocate_tls_init): Resize DTV if the current DTV isn't
9306         big enough.
9307         (_dl_update_slotinfo): Call _dl_resize_dtv to resize DTV.
9308         * nptl/Makefile (tests): Add tst-stack4.
9309         (modules-names): Add tst-stack4mod.
9310         ($(objpfx)tst-stack4): New.
9311         (tst-stack4mod.sos): Likewise.
9312         ($(objpfx)tst-stack4.out): Likewise.
9313         ($(tst-stack4mod.sos)): Likewise.
9314         (clean): Likewise.
9315         * nptl/tst-stack4.c: New file.
9316         * nptl/tst-stack4mod.c: Likewise.
9318 2014-11-27  J. Brown  <jb999@gmx.de>
9320         * sysdeps/x86/bits/string.h: Add recent CPUs.
9322 2014-11-27  Joseph Myers  <joseph@codesourcery.com>
9324         * misc/tst-pselect.c (do_test): Use sigprocmask instead of
9325         sigblock.
9327         * libio/bug-ungetwc1.c (do_test): Verify results of getwc and
9328         feof.
9330         * dlfcn/failtestmod.c (constr): Do not store result of dlsym in a
9331         variable.
9333 2014-11-27  Stefan Liebler  <stli@linux.vnet.ibm.com>
9335         * nscd/connections.c: Include libc-internal.h because of macro
9336         usage ignore_value.
9338 2014-11-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
9340         * string/bits/string3.h (__warn_memset_zero_len): Don't
9341         declare for gcc newer than 5.0.
9342         (memset): Don't test for zero-length __LEN for gcc newer than
9343         5.0.
9345 2014-11-27  Joseph Myers  <joseph@codesourcery.com>
9347         * stdio-common/tst-fmemopen.c (do_test): Cast st_size values to
9348         size_t for %zu format.
9350         * nss/tst-nss-test1.c (do_test): Use %td printf format for pointer
9351         difference, not %ju.
9353 2014-11-26  Joseph Myers  <joseph@codesourcery.com>
9355         * include/libc-internal.h (ignore_value): New macro.
9356         * nscd/connections.c (restart): Wrap calls to setuid and setgid
9357         with ignore_value.
9359         * sysdeps/mips/__longjmp.c (____longjmp): Use prototype
9360         definition.
9362         * nptl/tst-cancel-self-cancelstate.c (do_test): Cast argument of
9363         pthread_cleanup_push to void *.
9365         * sysdeps/unix/sysv/linux/arm/libc-do-syscall.S (_FORTIFY_SOURCE):
9366         Undefine.
9368         [BZ #16619]
9369         [BZ #16740]
9370         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Use 1LL << 52
9371         instead of 1L << 52.
9373         * libio/bug-rewind.c (do_test): Check fwscanf return values.
9374         * libio/bug-rewind2.c (do_test): Likewise.
9376         * debug/test-stpcpy_chk-ifunc.c: Remove file.
9377         * debug/test-strcpy_chk-ifunc.c: Likewise.
9378         * wcsmbs/test-wcschr-ifunc.c: Likewise.
9379         * wcsmbs/test-wcscmp-ifunc.c: Likewise.
9380         * wcsmbs/test-wcscpy-ifunc.c: Likewise.
9381         * wcsmbs/test-wcslen-ifunc.c: Likewise.
9382         * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
9383         * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
9384         * Rules [$(multi-arch) = no] (tests): Do not filter out
9385         $(tests-ifunc).
9386         [$(multi-arch) = no] (xtests): Do not filter out $(xtests-ifunc).
9387         * debug/Makefile (tests-ifunc): Remove variable.
9388         (tests): Do not add $(tests-ifunc).
9389         * wcsmbs/Makefile (tests-ifunc): Remove variable.
9390         (tests): Do not add $(tests-ifunc).
9391         * benchtests/bench-string.h (TEST_IFUNC): Remove macro.
9392         [TEST_IFUNC]: Remove conditionals.
9393         * string/test-string.h (TEST_IFUNC): Remove macro.
9394         [TEST_IFUNC]: Remove conditionals.
9396         * string/test-strchr.c [!WIDE] (L): New macro.
9397         [WIDE] (L): Likewise.
9398         (check1): Use CHAR instead of char.  Use L on string and character
9399         constants.
9401 2014-11-26  Adhemerval Zanella  <azanella@linux.ibm.com>
9403         * csu/tst-atomic.c (do_test): Add atomic_exchange_and_add_{acq,rel}
9404         tests.
9405         * sysdeps/powerpc/bits/atomic.h
9406         (__arch_atomic_exchange_and_add_32_acq): Add definition.
9407         (__arch_atomic_exchange_and_add_32_rel): Likewise.
9408         (atomic_exchange_and_add_acq): Likewise.
9409         (atomic_exchange_and_add_rel): Likewise.
9410         * sysdeps/powerpc/powerpc32/bits/atomic.h
9411         (__arch_atomic_exchange_and_add_64_acq): Add definition.
9412         (__arch_atomic_exchange_and_add_64_rel): Likewise.
9413         * sysdeps/powerpc/powerpc64/bits/atomic.h
9414         (__arch_atomic_exchange_and_add_64_acq): Add definition.
9415         (__arch_atomic_exchange_and_add_64_rel): Likewise.
9417 2014-11-26  Torvald Riegel  <triegel@redhat.com>
9419         * nptl/tpp.c (__init_sched_fifo_prio, __pthread_tpp_change_priority):
9420         Change synchronization of __sched_fifo_min_prio and
9421         __sched_fifo_max_prio.
9422         * nptl/pthread_mutexattr_getprioceiling.c
9423         (pthread_mutexattr_getprioceiling): Likewise.
9424         * nptl/pthread_mutexattr_setprioceiling.c
9425         (pthread_mutexattr_setprioceiling): Likewise.
9426         * nptl/pthread_mutex_init.c (__pthread_mutex_init): Likewise.
9427         * nptl/pthread_mutex_setprioceiling.c (pthread_mutex_setprioceiling):
9428         Likewise.
9430 2014-11-26  Joseph Myers  <joseph@codesourcery.com>
9432         * setjmp/jmpbug.c (test): Make foo volatile and cast it to
9433         void.
9435 2014-11-25  Joseph Myers  <joseph@codesourcery.com>
9437         * stdio-common/tst-printf-round.c (test_hex_in_one_mode): Make
9438         third argument const.
9440 2014-11-25  Paul Eggert  <eggert@cs.ucla.edu>
9442         fnmatch: work around GCC compiler warning bug with uninit var
9443         * posix/fnmatch_loop.c (FCT): Use a scalar not a one-item array.
9444         This works around a bug with x86-64 GCC 4.9.2 and earlier
9445         where 'gcc -O2 -Wmaybe-uninitialized' incorrectly complains
9446         "../locale/weightwc.h:93:7: warning: '*((void *)&str+4)' may be
9447         used uninitialized in this function [-Wmaybe-uninitialized]".
9449 2014-11-25  Joseph Myers  <joseph@codesourcery.com>
9451         * posix/bug-regex31.c (main): Return RES not 0.
9453 2014-11-25  Anton Blanchard <anton@samba.org>
9455         * sysdeps/powerpc/bits/atomic.h
9456         (__arch_compare_and_exchange_bool_64_rel): Load from mem.
9458 2014-11-24  Sterling Augustine  <saugustine@google.com>
9460         * sysdeps/x86_64/start.S (_start): Use ENTRY and END macros.
9462 2014-11-24  Ryan Cumming  <etaoins@gmail.com>
9464         [BZ #17608]
9465         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_TAI.
9467 2014-11-24  Joseph Myers  <joseph@codesourcery.com>
9469         [BZ #17633]
9470         * stdio-common/perror.c (perror): Call __fileno instead of fileno.
9471         * conform/Makefile (test-xfail-ISO/stdio.h/linknamespace): Remove
9472         variable.
9473         (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
9474         (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
9476 2014-11-24  Wilco Dijkstra  <wdijkstr@arm.com>
9478         * string/strncpy.c (strncpy): Improve performance by using memset.
9480 2014-11-24  Wilco Dijkstra  <wdijkstr@arm.com>
9482         * string/strcpy.c (strcpy):
9483         Improve performance by using strlen and memcpy.
9485 2014-11-24  Leonhard Holz  <leonhard.holz@web.de>
9487         * string/strcoll_l.c (get_next_seq): __always_inline.
9488         * string/strcoll_l.c (do_compare): __always_inline.
9490 2014-11-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
9492         * include/bits/stdlib-float.h: Use IS_IN only if _ISOMAC is
9493         defined.
9494         * include/mqueue.h: Likewise.
9495         * include/stdlib.h: Likewise.
9497         * stdlib/isomac.c (fmt): Replace NOT_IN_libc with IN_MODULE.
9498         (get_null_defines): Adjust.
9499         * sunrpc/Makefile: Adjust comment.
9500         * Makerules (CPPFLAGS-nonlib): Remove NOT_IN_libc.
9501         * elf/Makefile (CPPFLAGS-sotruss-lib): Likewise.
9502         (CFLAGS-interp.c): Likewise.
9503         (CFLAGS-ldconfig.c): Likewise.
9504         (CPPFLAGS-.os): Likewise.
9505         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
9506         * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
9507         * extra-modules.mk (extra-modules.mk): Likewise.
9508         * iconv/Makefile (CPPFLAGS-iconvprogs): Likewise.
9509         * locale/Makefile (CPPFLAGS-locale_programs): Likewise.
9510         * malloc/Makefile (CPPFLAGS-memusagestat): Likewise.
9511         * nscd/Makefile (CPPFLAGS-nscd): Likewise.
9512         * nss/Makefile (CPPFLAGS-nss_test1): Likewise.
9513         * stdlib/Makefile (CFLAGS-tst-putenvmod.c): Likewise.
9514         * sysdeps/gnu/Makefile ($(objpfx)errlist-compat.c): Likewise.
9515         * sysdeps/unix/sysv/linux/Makefile (CPPFLAGS-lddlibc4): Likewise.
9516         * iconvdata/Makefile (CPPFLAGS): Likewise.
9517         (cpp-srcs-left): Add libof for all iconvdata routines.
9518         * bits/stdio-lock.h: Replace NOT_IN_libc with IS_IN.
9519         * include/assert.h: Likewise.
9520         * include/ctype.h: Likewise.
9521         * include/errno.h: Likewise.
9522         * include/libc-symbols.h: Likewise.
9523         * include/math.h: Likewise.
9524         * include/netdb.h: Likewise.
9525         * include/resolv.h: Likewise.
9526         * include/stdio.h: Likewise.
9527         * include/stdlib.h: Likewise.
9528         * include/string.h: Likewise.
9529         * include/sys/stat.h: Likewise.
9530         * include/wctype.h: Likewise.
9531         * intl/l10nflist.c: Likewise.
9532         * libidn/idn-stub.c: Likewise.
9533         * libio/libioP.h: Likewise.
9534         * nptl/libc_multiple_threads.c: Likewise.
9535         * nptl/pthreadP.h: Likewise.
9536         * posix/regex_internal.h: Likewise.
9537         * resolv/res_hconf.c: Likewise.
9538         * sysdeps/arm/armv7/multiarch/memcpy.S: Likewise.
9539         * sysdeps/arm/memmove.S: Likewise.
9540         * sysdeps/arm/sysdep.h: Likewise.
9541         * sysdeps/generic/_itoa.h: Likewise.
9542         * sysdeps/generic/symbol-hacks.h: Likewise.
9543         * sysdeps/gnu/errlist.awk: Likewise.
9544         * sysdeps/gnu/errlist.c: Likewise.
9545         * sysdeps/i386/i586/memcpy.S: Likewise.
9546         * sysdeps/i386/i586/memset.S: Likewise.
9547         * sysdeps/i386/i686/memcpy.S: Likewise.
9548         * sysdeps/i386/i686/memmove.S: Likewise.
9549         * sysdeps/i386/i686/mempcpy.S: Likewise.
9550         * sysdeps/i386/i686/memset.S: Likewise.
9551         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
9552         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
9553         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: Likewise.
9554         * sysdeps/i386/i686/multiarch/memchr-sse2.S: Likewise.
9555         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
9556         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
9557         * sysdeps/i386/i686/multiarch/memcmp-ssse3.S: Likewise.
9558         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
9559         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
9560         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
9561         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
9562         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
9563         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
9564         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
9565         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
9566         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
9567         * sysdeps/i386/i686/multiarch/memrchr-c.c: Likewise.
9568         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: Likewise.
9569         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: Likewise.
9570         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
9571         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
9572         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
9573         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
9574         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
9575         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
9576         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
9577         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: Likewise.
9578         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
9579         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Likewise.
9580         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
9581         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
9582         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
9583         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
9584         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
9585         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
9586         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
9587         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
9588         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
9589         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
9590         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
9591         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
9592         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
9593         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
9594         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
9595         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
9596         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
9597         * sysdeps/i386/i686/multiarch/wcschr-c.c: Likewise.
9598         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: Likewise.
9599         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
9600         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
9601         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
9602         * sysdeps/i386/i686/multiarch/wcscpy-c.c: Likewise.
9603         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Likewise.
9604         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
9605         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
9606         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: Likewise.
9607         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
9608         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: Likewise.
9609         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: Likewise.
9610         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
9611         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
9612         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
9613         * sysdeps/ia64/fpu/libm-symbols.h: Likewise.
9614         * sysdeps/nptl/bits/libc-lock.h: Likewise.
9615         * sysdeps/nptl/bits/libc-lockP.h: Likewise.
9616         * sysdeps/nptl/bits/stdio-lock.h: Likewise.
9617         * sysdeps/posix/closedir.c: Likewise.
9618         * sysdeps/posix/opendir.c: Likewise.
9619         * sysdeps/posix/readdir.c: Likewise.
9620         * sysdeps/posix/rewinddir.c: Likewise.
9621         * sysdeps/powerpc/novmx-sigjmp.c: Likewise.
9622         * sysdeps/powerpc/powerpc32/__longjmp.S: Likewise.
9623         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
9624         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
9625         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
9626         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Likewise.
9627         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: Likewise.
9628         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: Likewise.
9629         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: Likewise.
9630         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: Likewise.
9631         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: Likewise.
9632         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: Likewise.
9633         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: Likewise.
9634         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: Likewise.
9635         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: Likewise.
9636         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: Likewise.
9637         * sysdeps/powerpc/powerpc32/power4/multiarch/memset.c: Likewise.
9638         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: Likewise.
9639         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: Likewise.
9640         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: Likewise.
9641         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr.c: Likewise.
9642         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: Likewise.
9643         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: Likewise.
9644         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: Likewise.
9645         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: Likewise.
9646         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: Likewise.
9647         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: Likewise.
9648         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: Likewise.
9649         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: Likewise.
9650         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: Likewise.
9651         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: Likewise.
9652         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: Likewise.
9653         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: Likewise.
9654         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: Likewise.
9655         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: Likewise.
9656         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Likewise.
9657         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
9658         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
9659         * sysdeps/powerpc/powerpc64/__longjmp.S: Likewise.
9660         * sysdeps/powerpc/powerpc64/multiarch/bzero.c: Likewise.
9661         * sysdeps/powerpc/powerpc64/multiarch/memchr.c: Likewise.
9662         * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: Likewise.
9663         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: Likewise.
9664         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: Likewise.
9665         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: Likewise.
9666         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Likewise.
9667         * sysdeps/powerpc/powerpc64/multiarch/memmove.c: Likewise.
9668         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: Likewise.
9669         * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: Likewise.
9670         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: Likewise.
9671         * sysdeps/powerpc/powerpc64/multiarch/memset.c: Likewise.
9672         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: Likewise.
9673         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.S: Likewise.
9674         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Likewise.
9675         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: Likewise.
9676         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: Likewise.
9677         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: Likewise.
9678         * sysdeps/powerpc/powerpc64/multiarch/strcat.c: Likewise.
9679         * sysdeps/powerpc/powerpc64/multiarch/strchr.c: Likewise.
9680         * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: Likewise.
9681         * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: Likewise.
9682         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: Likewise.
9683         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.S: Likewise.
9684         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c: Likewise.
9685         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Likewise.
9686         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: Likewise.
9687         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: Likewise.
9688         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: Likewise.
9689         * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: Likewise.
9690         * sysdeps/powerpc/powerpc64/multiarch/strncat.c: Likewise.
9691         * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: Likewise.
9692         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: Likewise.
9693         * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: Likewise.
9694         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: Likewise.
9695         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: Likewise.
9696         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Likewise.
9697         * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: Likewise.
9698         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: Likewise.
9699         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
9700         * sysdeps/powerpc/powerpc64/multiarch/strspn.c: Likewise.
9701         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c: Likewise.
9702         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
9703         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c: Likewise.
9704         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Likewise.
9705         * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
9706         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Likewise.
9707         * sysdeps/s390/s390-32/multiarch/memcmp.S: Likewise.
9708         * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
9709         * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
9710         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
9711         * sysdeps/s390/s390-64/multiarch/memcmp.S: Likewise.
9712         * sysdeps/s390/s390-64/multiarch/memcpy.S: Likewise.
9713         * sysdeps/s390/s390-64/multiarch/memset.S: Likewise.
9714         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
9715         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
9716         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: Likewise.
9717         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
9718         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
9719         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Likewise.
9720         * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: Likewise.
9721         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
9722         * sysdeps/unix/alpha/sysdep.S: Likewise.
9723         * sysdeps/unix/alpha/sysdep.h: Likewise.
9724         * sysdeps/unix/make-syscalls.sh: Likewise.
9725         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
9726         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
9727         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
9728         * sysdeps/unix/sysv/linux/alpha/vfork.S: Likewise.
9729         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
9730         * sysdeps/unix/sysv/linux/arm/sysdep.h: Likewise.
9731         * sysdeps/unix/sysv/linux/getpid.c: Likewise.
9732         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
9733         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
9734         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Likewise.
9735         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
9736         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
9737         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
9738         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
9739         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
9740         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
9741         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
9742         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
9743         * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
9744         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
9745         * sysdeps/unix/sysv/linux/m68k/sysdep.h: Likewise.
9746         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
9747         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
9748         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
9749         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
9750         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
9751         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
9752         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
9753         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
9754         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: Likewise.
9755         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
9756         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
9757         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
9758         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
9759         * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
9760         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
9761         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
9762         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
9763         * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
9764         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
9765         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
9766         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
9767         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
9768         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
9769         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
9770         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
9771         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
9772         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
9773         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
9774         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
9775         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
9776         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
9777         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
9778         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
9779         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Likewise.
9780         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
9781         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
9782         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
9783         * sysdeps/wordsize-32/symbol-hacks.h: Likewise.
9784         * sysdeps/x86_64/memcpy.S: Likewise.
9785         * sysdeps/x86_64/memmove.c: Likewise.
9786         * sysdeps/x86_64/memset.S: Likewise.
9787         * sysdeps/x86_64/multiarch/init-arch.h: Likewise.
9788         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
9789         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
9790         * sysdeps/x86_64/multiarch/memcmp.S: Likewise.
9791         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: Likewise.
9792         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
9793         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
9794         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
9795         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
9796         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
9797         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
9798         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
9799         * sysdeps/x86_64/multiarch/memset-avx2.S: Likewise.
9800         * sysdeps/x86_64/multiarch/memset.S: Likewise.
9801         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
9802         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Likewise.
9803         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
9804         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
9805         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
9806         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
9807         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Likewise.
9808         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
9809         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
9810         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
9811         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
9812         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
9813         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
9814         * sysdeps/x86_64/multiarch/wcscpy-c.c: Likewise.
9815         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
9816         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
9817         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Likewise.
9818         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
9819         * sysdeps/x86_64/strcmp.S: Likewise.
9821         * extra-lib.mk (CPPFLAGS-$(lib)): Remove IS_IN_$(lib).
9823         * elf/Makefile (CPPFLAGS-.os): Remove IS_IN_rtld.
9824         * elf/dl-open.c: Use IS_IN (rtld) instead if IS_IN_rtld.
9825         * elf/rtld-Rules: Likewise.
9826         * elf/setup-vdso.h: Likewise.
9827         * include/assert.h: Likewise.
9828         * include/bits/stdlib-float.h: Likewise.
9829         * include/errno.h: Likewise.
9830         * include/sys/stat.h: Likewise.
9831         * include/unistd.h: Likewise.
9832         * sysdeps/aarch64/setjmp.S: Likewise.
9833         * sysdeps/alpha/setjmp.S: Likewise.
9834         * sysdeps/arm/__longjmp.S: Likewise.
9835         * sysdeps/arm/aeabi_unwind_cpp_pr1.c: Likewise.
9836         * sysdeps/arm/setjmp.S: Likewise.
9837         * sysdeps/arm/sysdep.h: Likewise.
9838         * sysdeps/generic/_itoa.h: Likewise.
9839         * sysdeps/generic/dl-sysdep.h: Likewise.
9840         * sysdeps/generic/ldsodefs.h: Likewise.
9841         * sysdeps/i386/dl-tls.h: Likewise.
9842         * sysdeps/i386/setjmp.S: Likewise.
9843         * sysdeps/m68k/setjmp.c: Likewise.
9844         * sysdeps/mach/hurd/dl-execstack.c: Likewise.
9845         * sysdeps/mach/hurd/opendir.c: Likewise.
9846         * sysdeps/posix/getcwd.c: Likewise.
9847         * sysdeps/posix/opendir.c: Likewise.
9848         * sysdeps/posix/profil.c: Likewise.
9849         * sysdeps/powerpc/dl-procinfo.h: Likewise.
9850         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
9851         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
9852         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
9853         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
9854         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Likewise.
9855         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
9856         * sysdeps/s390/dl-tls.h: Likewise.
9857         * sysdeps/s390/s390-32/setjmp.S: Likewise.
9858         * sysdeps/s390/s390-64/setjmp.S: Likewise.
9859         * sysdeps/sh/sh3/setjmp.S: Likewise.
9860         * sysdeps/sh/sh4/setjmp.S: Likewise.
9861         * sysdeps/unix/alpha/sysdep.h: Likewise.
9862         * sysdeps/unix/arm/sysdep.S: Likewise.
9863         * sysdeps/unix/i386/sysdep.S: Likewise.
9864         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
9865         * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
9866         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
9867         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
9868         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
9869         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
9870         * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
9871         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
9872         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
9873         * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
9874         * sysdeps/unix/sysv/linux/m68k/m68k-helpers.S: Likewise.
9875         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
9876         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
9877         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
9878         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
9879         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
9880         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
9881         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
9882         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
9883         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
9884         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
9885         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
9886         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
9887         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
9888         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
9889         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
9890         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
9891         * sysdeps/unix/x86_64/sysdep.S: Likewise.
9892         * sysdeps/x86_64/setjmp.S: Likewise.
9894         * include/math.h: Use IS_IN instead of IS_IN_libm.
9895         * sysdeps/alpha/fpu/s_copysign.c: Likewise.
9896         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
9897         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
9898         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
9899         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
9900         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
9901         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
9902         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
9903         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
9904         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
9905         * sysdeps/ieee754/ldbl-64-128/s_copysignl.c: Likewise.
9906         * sysdeps/ieee754/ldbl-64-128/s_finitel.c: Likewise.
9907         * sysdeps/ieee754/ldbl-64-128/s_frexpl.c: Likewise.
9908         * sysdeps/ieee754/ldbl-64-128/s_isinfl.c: Likewise.
9909         * sysdeps/ieee754/ldbl-64-128/s_isnanl.c: Likewise.
9910         * sysdeps/ieee754/ldbl-64-128/s_modfl.c: Likewise.
9911         * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c: Likewise.
9912         * sysdeps/ieee754/ldbl-64-128/s_signbitl.c: Likewise.
9913         * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: Likewise.
9914         * sysdeps/ieee754/ldbl-opt/s_copysign.c: Likewise.
9915         * sysdeps/ieee754/ldbl-opt/s_finite.c: Likewise.
9916         * sysdeps/ieee754/ldbl-opt/s_frexp.c: Likewise.
9917         * sysdeps/ieee754/ldbl-opt/s_isinf.c: Likewise.
9918         * sysdeps/ieee754/ldbl-opt/s_isnan.c: Likewise.
9919         * sysdeps/ieee754/ldbl-opt/s_ldexp.c: Likewise.
9920         * sysdeps/ieee754/ldbl-opt/s_ldexpl.c: Likewise.
9921         * sysdeps/ieee754/ldbl-opt/s_modf.c: Likewise.
9922         * sysdeps/ieee754/ldbl-opt/s_scalbln.c: Likewise.
9923         * sysdeps/ieee754/ldbl-opt/s_scalbn.c: Likewise.
9924         * sysdeps/powerpc/power5+/fpu/s_modf.c: Likewise.
9925         * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Likewise.
9926         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
9927         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
9928         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c:
9929         Likewise.
9930         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c:
9931         Likewise.
9932         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c:
9933         Likewise.
9934         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c:
9935         Likewise.
9936         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c:
9937         Likewise.
9938         * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
9939         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Likewise.
9940         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
9941         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
9942         * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
9943         * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
9944         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: Likewise.
9945         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: Likewise.
9946         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: Likewise.
9947         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: Likewise.
9948         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: Likewise.
9949         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Likewise.
9950         * sysdeps/powerpc/powerpc64/fpu/s_copysignl.S: Likewise.
9951         * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
9952         * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
9953         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
9954         * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
9955         * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
9956         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
9957         * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
9958         * sysdeps/powerpc/powerpc64/power7/fpu/s_isnan.S: Likewise.
9959         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: Likewise.
9960         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: Likewise.
9961         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: Likewise.
9962         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: Likewise.
9963         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
9964         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S: Likewise.
9966         * nptl/lowlevellock.c: Use IS_IN instead of IS_IN_libpthread.
9967         * nptl/pthreadP.h: Likewise.
9968         * nptl_db/structs.def: Likewise.
9969         * sysdeps/arm/sysdep.h: Likewise.
9970         * sysdeps/nptl/bits/libc-lock.h: Likewise.
9971         * sysdeps/nptl/bits/libc-lockP.h: Likewise.
9972         * sysdeps/sparc/sparc32/lowlevellock.c: Likewise.
9973         * sysdeps/unix/alpha/sysdep.h: Likewise.
9974         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
9975         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
9976         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
9977         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
9978         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
9979         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
9980         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
9981         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
9982         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
9983         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
9984         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
9985         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
9986         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
9987         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
9988         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
9989         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
9990         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
9991         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
9992         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
9993         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
9994         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
9995         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
9996         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
9997         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
9998         * sysdeps/unix/sysv/linux/x86_64/cancellation.S: Likewise.
9999         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
10001         * include/mqueue.h: Use IS_IN instead of IS_IN_librt.
10002         * nptl/pthreadP.h: Likewise.
10003         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
10004         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
10005         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
10006         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
10007         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
10008         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
10009         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
10010         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
10011         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
10012         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
10013         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
10014         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
10015         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
10016         Likewise.
10017         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
10018         Likewise.
10019         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
10020         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
10021         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
10022         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
10023         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
10024         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
10025         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
10026         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
10028         * dlfcn/dladdr.c: Use IS_IN.
10029         * dlfcn/dladdr1.c: Likewise.
10030         * dlfcn/dlclose.c: Likewise.
10031         * dlfcn/dlerror.c: Likewise.
10032         * dlfcn/dlinfo.c: Likewise.
10033         * dlfcn/dlmopen.c: Likewise.
10034         * dlfcn/dlopen.c: Likewise.
10035         * dlfcn/dlsym.c: Likewise.
10036         * dlfcn/dlvsym.c: Likewise.
10038         * include/ifaddrs.h: Use IS_IN.
10039         * inet/check_pf.c: Likewise.
10040         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
10041         * nscd/Makefile (CPPFLAGS-nscd): Remove IS_IN_nscd.
10043         * elf/Makefile (CFLAGS-ldconfig.c): Remove definition of
10044         IS_IN_ldconfig.
10045         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.c: Use IS_IN.
10046         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.h: Likewise.
10048         * include/shlib-compat.h [!NOT_IN_libc]: Remove.
10049         * nss/nss_files/files-parse.c (IS_IN_libc): Replace with
10050         IS_IN (libc).
10052         * elf/Makefile (libof-sotruss-lib): Set as extramodules.
10054         * elf/Makefile (CPPFLAGS-.os): Remove IN_LIB.
10055         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
10056         * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
10057         * include/libc-symbols.h (IS_IN_LIB): New macro.
10058         * include/errno.h: Use IS_IN_LIB instead of IN_LIB.
10059         * include/netdb.h: Likewise.
10060         * include/stap-probe.h: Remove all uses of IN_LIB.
10062         * Makeconfig (module-cppflags-real): Define MODULE_NAME
10063         instead of IN_MODULE.
10064         * include/libc-symbols.h (IN_MODULE): Define using
10065         MODULE_NAME.
10066         (PASTE_NAME, PASTE_NAME1): New macros.
10067         * include/stap-probe.h (LIBC_PROBE_1): Use MODULE_NAME instead
10068         of IN_LIB.
10069         (STAP_PROBE_ASM): Likewise.
10071 2014-11-23  Samuel Thibault  <samuel.thibault@ens-lyon.org>
10073         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Call
10074         __mach_init in dlopened libc.
10076 2014-11-22  Mike Frysinger  <vapier@gentoo.org>
10078         * sysdeps/arm/preconfigure.ac: Delete EABI check.
10079         * sysdeps/arm/preconfigure: Regenerate.
10081 2014-11-21  Roland McGrath  <roland@hack.frob.com>
10083         * nptl/pthread_create.c (__pthread_create_2_1): Set
10084         ATTR_FLAG_POLICY_SET and/or ATTR_FLAG_SCHED_SET in PD->flags
10085         when copying values from IATTR into PD.
10087 2014-11-21  Will Newton  <will.newton@linaro.org>
10088             Andrew Pinski  <andrew.pinski@caviumnetworks.com>
10090         * sysdeps/aarch64/dl-machine.h (elf_machine_load_address):
10091         Refactor inline-asm.  Also add comment.
10093         * sysdeps/aarch64/bits/link.h (la_aarch64_gnu_pltenter): Use
10094         ElfW macro instead of hardcoded Elf64 types.
10095         (la_aarch64_gnu_pltenter): Likewise.
10096         * sysdeps/aarch64/dl-machine.h
10097         (elf_machine_runtime_setup): Use ElfW(Addr).
10099         * elf/elf.h (R_AARCH64_P32_ABS32, R_AARCH64_P32_COPY,
10100         R_AARCH64_P32_GLOB_DAT, R_AARCH64_P32_JUMP_SLOT,
10101         R_AARCH64_P32_RELATIVE, R_AARCH64_P32_TLS_DTPMOD,
10102         R_AARCH64_P32_TLS_DTPREL, R_AARCH64_P32_TLS_TPREL,
10103         R_AARCH64_P32_TLSDESC, R_AARCH64_P32_IRELATIVE): Define.
10104         (R_AARCH64_TLS_DTPMOD64): Rename to ..
10105         (R_AARCH64_TLS_DTPMOD): This.
10106         (R_AARCH64_TLS_DTPREL64): Rename to ...
10107         (R_AARCH64_TLS_DTPREL): This.
10108         (R_AARCH64_TLS_TPREL64): Rename to ...
10109         (R_AARCH64_TLS_TPREL): This.
10110         * sysdeps/aarch64/dl-machine.h (elf_machine_type_class): Update
10111         R_AARCH64_TLS_DTPMOD64, R_AARCH64_TLS_DTPREL64, and
10112         R_AARCH64_TLS_TPREL64.
10113         (elf_machine_rela): Likewise.
10115 2014-11-21  Torvald Riegel  <triegel@redhat.com>
10117         * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS): Fix value
10118         by setting it to 0.  64b atomics are not supported currently.
10120 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
10122         [BZ #16469]
10123         * resolv/res_query.c (__libc_res_nsearch): Skip leading dot in
10124         search domain names.
10126 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
10128         [BZ #16469]
10129         * NEWS: Update.
10130         * resolv/res_query.c (__libc_res_nquerydomain): Retain
10131         trailing dot.
10132         * posix/tst-getaddrinfo5.c: New.
10133         * posix/Makefile (tests): Add it.
10135 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
10137         [BZ #14498]
10138         * NEWS: Fixed.
10139         * nss/nss_db/db-XXX.c (_nss_db_get##name##_r): Update hidx
10140         after parsing line but before break_if_match.
10141         * nss/nss_files/files-service (DB_LOOKUP): Don't "continue;"
10142         if there is a protocol mismatch.
10144 2014-11-21  Ma Shimiao <mashimiao.fnst@cn.fujitsu.com>
10146         * manual/sysinfo.texi (addmntent): It is actually MT-Safe,
10147         because the potential race is on the user-supplied stream.
10149 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
10151         * sysdeps/posix/ctermid.c (ctermid): Return a pointer to a
10152         string literal if not passed a buffer.
10153         * manual/job.texi (ctermid): Update reasoning, note deviation
10154         from posix, suggest mtasurace when not passed a buffer, for
10155         future non-preliminary safety notes.
10157 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
10159         * manual/users.texi (cuserid): Fix MT-Safety note for the case
10160         of not passing it a buffer.
10161         Reported by Peng Haitao.
10163 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
10165         * manual/Makefile ($(objpfx)stamp-summary): Require
10166         check-safety.sh to pass.
10167         * manual/check-safety.sh: Wish for verification that every
10168         @deftypefn and @deftypefun is followed by a @safety remark.
10170 2014-11-20  Roland McGrath  <roland@hack.frob.com>
10172         * nptl/unwind.c (unwind_cleanup): Use __libc_fatal.
10174         * nptl/pthread_setcanceltype.c [!SIGCANCEL]: Return ENOTSUP early for
10175         PTHREAD_CANCEL_ASYNCHRONOUS.
10176         * nptl/pthread_cancel.c [!SIGCANCEL]: Just abort rather than trying to
10177         send SIGCANCEL.
10179         * nptl/default-sched.h: New file.
10180         * sysdeps/unix/sysv/linux/default-sched.h: New file.
10181         * nptl/pthread_create.c: Include it.
10182         (__pthread_create_2_1): Use collect_default_sched instead of making
10183         Linux syscalls here directly.
10185 2014-11-20  Torvald Riegel  <triegel@redhat.com>
10187         * nptl/pthread_once.c (clear_once_control, __pthread_once_slow,
10188         __pthread_once): Use C11 atomics.
10190 2014-11-20  Torvald Riegel  <triegel@redhat.com>
10192         * csu/tst-atomic.c (do_test): Add tests for C11-like atomics.
10194 2014-11-20  Torvald Riegel  <triegel@redhat.com>
10196         * include/atomic.h (__atomic_link_error, __atomic_check_size,
10197         atomic_thread_fence_acquire, atomic_thread_fence_release,
10198         atomic_thread_fence_seq_cst, atomic_load_relaxed,
10199         atomic_load_acquire, atomic_store_relaxed, atomic_store_release,
10200         atomic_compare_exchange_weak_relaxed,
10201         atomic_compare_exchange_weak_acquire,
10202         atomic_compare_exchange_weak_release,
10203         atomic_exchange_acquire, atomic_exchange_release,
10204         atomic_fetch_add_relaxed, atomic_fetch_add_acquire,
10205         atomic_fetch_add_release, atomic_fetch_add_acq_rel,
10206         atomic_fetch_and_acquire,
10207         atomic_fetch_or_relaxed, atomic_fetch_or_acquire): New.
10209 2014-11-20  Torvald Riegel  <triegel@redhat.com>
10211         * sysdeps/aarch64/bits/atomic.h (__HAVE_64B_ATOMICS,
10212         USE_ATOMIC_COMPILER_BUILTINS): Define.
10213         * sysdeps/alpha/bits/atomic.h (__HAVE_64B_ATOMICS,
10214         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
10215         * sysdeps/arm/bits/atomic.h (__HAVE_64B_ATOMICS,
10216         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
10217         * sysdeps/i386/i486/bits/atomic.h (__HAVE_64B_ATOMICS,
10218         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
10219         * sysdeps/ia64/bits/atomic.h (__HAVE_64B_ATOMICS,
10220         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
10221         * sysdeps/m68k/coldfire/bits/atomic.h (__HAVE_64B_ATOMICS,
10222         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
10223         * sysdeps/m68k/m680x0/m68020/bits/atomic.h (__HAVE_64B_ATOMICS,
10224         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
10225         * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS,
10226         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
10227         * sysdeps/mips/bits/atomic.h (__HAVE_64B_ATOMICS,
10228         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
10229         * sysdeps/powerpc/powerpc32/bits/atomic.h (__HAVE_64B_ATOMICS,
10230         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
10231         * sysdeps/powerpc/powerpc64/bits/atomic.h (__HAVE_64B_ATOMICS,
10232         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
10233         * sysdeps/s390/bits/atomic.h (__HAVE_64B_ATOMICS,
10234         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
10235         * sysdeps/sparc/sparc32/bits/atomic.h (__HAVE_64B_ATOMICS,
10236         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
10237         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (__HAVE_64B_ATOMICS,
10238         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
10239         * sysdeps/sparc/sparc64/bits/atomic.h (__HAVE_64B_ATOMICS,
10240         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
10241         * sysdeps/tile/tilegx/bits/atomic.h (__HAVE_64B_ATOMICS,
10242         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
10243         * sysdeps/tile/tilepro/bits/atomic.h (__HAVE_64B_ATOMICS,
10244         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
10245         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h (__HAVE_64B_ATOMICS,
10246         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
10247         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
10248         (__HAVE_64B_ATOMICS, USE_ATOMIC_COMPILER_BUILTINS): Likewise.
10249         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (__HAVE_64B_ATOMICS,
10250         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
10251         * sysdeps/x86_64/bits/atomic.h (__HAVE_64B_ATOMICS,
10252         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
10254 2014-11-19  Roland McGrath  <roland@hack.frob.com>
10256         * nptl/pthread_create.c (__pthread_create_2_1): Don't try to validate
10257         the sched_priority value here.  It was already checked when the user
10258         called pthread_attr_setschedparam.
10260         * nptl/tst-bad-schedattr.c: New file.
10261         * nptl/Makefile (tests): Add it.
10263 2014-11-19  Carlos O'Donell  <carlos@redhat.com>
10264             Florian Weimer  <fweimer@redhat.com>
10265             Joseph Myers  <joseph@codesourcery.com>
10266             Adam Conrad  <adconrad@0c3.net>
10267             Andreas Schwab  <schwab@suse.de>
10268             Brooks  <bmoses@google.com>
10270         [BZ #17625]
10271         * wordexp-test.c (__dso_handle): Add prototype.
10272         (__register_atfork): Likewise.
10273         (__app_register_atfork): New function.
10274         (registered_forks): New global.
10275         (register_fork): New function.
10276         (test_case): Add 3 new tests for WRDE_CMDSUB.
10277         (main): Call __app_register_atfork.
10278         (testit): If WRDE_NOCMD set registered_forks to zero, run test, and if
10279         fork count is non-zero fail the test.
10280         * posix/wordexp.c (exec_comm): Return WRDE_CMDSUB if WRDE_NOCMD flag
10281         is set.
10282         (parse_dollars): Remove check for WRDE_NOCMD.
10283         (parse_dquote): Likewise.
10285 2014-11-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
10287         * Makeconfig (built-modules): List non-library modules to be
10288         built.
10289         (module-cppflags): Include libc-modules.h for
10290         everything except shlib-versions.v.i.
10291         (CPPFLAGS): Use it.
10292         (before-compile): Add libc-modules.h.
10293         ($(common-objpfx)libc-modules.h,
10294         $(common-objpfx)libc-modules.stmp): New targets.
10295         (common-generated): Add libc-modules.h and libc-modules.stmp.
10296         ($(common-objpfx)Versions.v.i): Depend on libc-modules.h.
10297         * include/libc-symbols.h: Don't include libc-modules.h.
10298         * include/libc-modules.h: Remove file.
10299         * scripts/gen-libc-modules.awk: New script to generate
10300         libc-modules.h.
10301         * sysdeps/unix/Makefile ($(common-objpfx)sysd-syscalls):
10302         Depend on libc-modules.stmp.
10304         * include/shlib-compat.h (_SHLIB_COMPAT): Use IS_IN.
10306         * Makeconfig (in-module): Get value of libof set for the
10307         translation unit.
10308         (CPPFLAGS): Use $(in-module).
10309         * Makerules: Don't suffix routine names for nonlib.
10310         * include/libc-modules.h: New file.
10311         * include/libc-symbols.h: Include libc-modules.h
10312         (IS_IN): New macro to replace IS_IN_* macros.
10313         * elf/Makefile: Set libof-* for each routine.
10314         * elf/rtld-Rules: Likewise.
10315         * extra-modules.mk: Likewise.
10316         * iconv/Makefile: Likewise.
10317         * iconvdata/Makefile: Likewise.
10318         * locale/Makefile: Likewise.
10319         * malloc/Makefile: Likewise.
10320         * nss/Makefile: Likewise.
10321         * sysdeps/gnu/Makefile: Likewise.
10322         * sysdeps/ieee754/ldbl-opt/Makefile: Likewise.
10323         * sysdeps/unix/sysv/linux/Makefile: Likewise.
10324         * sysdeps/s390/s390-64/Makefile: Likewise.
10325         * nscd/Makefile: Set libof-* for each routine.  Set CFLAGS and
10326         CPPFLAGS for nscd instead of nonlib.
10328 2014-11-18  Roland McGrath  <roland@hack.frob.com>
10330         * nptl/createthread.c: New file.
10332         * nptl/createthread.c: Moved ...
10333         * sysdeps/unix/sysv/linux/createthread.c: ... here.
10335         * nptl/createthread.c: Add proper top-line comment.
10336         (do_clone): Folded into ...
10337         (create_thread): ... here.  Take new arguments STOPPED_START and
10338         THREAD_RAN.  Always set PD->stopped_start to something here.  Don't
10339         increment __nptl_threads, do event-reporting logic, do
10340         CHECK_THREAD_SYSINFO, or set THREAD_SELF->header.multiple_threads
10341         here.  Set *THREAD_RAN after ARCH_CLONE call succeeds.  Don't do any
10342         resource cleanup if sched_setaffinity or sched_setscheduler fails,
10343         just send SIGCANCEL.
10344         * nptl/pthread_create.c: Forward-declare create_thread before
10345         including createthread.c.
10346         (start_thread): Use new macro START_THREAD_DEFN to replace defining
10347         declaration, and new macro START_THREAD_SELF to replace argument.
10348         Remove return statement.
10349         (report_thread_creation): New function.
10350         (__pthread_create_2_1): Use it.  Do TD_CREATE reporting,
10351         synchronization logic, and __nptl_nthreads increment here, around
10352         calling create_thread.  Do CHECK_THREAD_SYSINFO and initialize
10353         PD->parent_cancelhandling here, before create_thread.  When
10354         create_thread fails, do __nptl_nthreads decrement, setxid_futex wake,
10355         __deallocate_stack, and ENOMEM translation here.
10357 2014-11-18  Joseph Myers  <joseph@codesourcery.com>
10359         [BZ #17616]
10360         * sysdeps/ieee754/dbl-64/mpa.c (mpone): Rename to __mpone.
10361         (mptwo): Rename to __mptwo.
10362         (__inv): Use __mptwo instead of mptwo.
10363         * sysdeps/ieee754/dbl-64/mpa.h (mpone): Rename to __mpone.
10364         (mptwo): Rename to __mptwo.
10365         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __mpone instead
10366         of mpone and __mptwo instead of mptwo.
10367         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Use __mpone
10368         instead of mpone.
10369         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
10370         * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Likewise.
10371         * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use __mpone instead
10372         of mpone and __mptwo instead of mptwo.
10373         (__mpranred): Use __mpone instead of mpone.
10374         * conform/Makefile (test-xfail-ISO/math.h/linknamespace): Remove
10375         variable.
10376         (test-xfail-ISO99/complex.h/linknamespace): Likewise.
10377         (test-xfail-ISO99/math.h/linknamespace): Likewise.
10378         (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
10379         (test-xfail-ISO11/complex.h/linknamespace): Likewise.
10380         (test-xfail-ISO11/math.h/linknamespace): Likewise.
10381         (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
10382         (test-xfail-XPG3/math.h/linknamespace): Likewise.
10383         (test-xfail-XPG4/math.h/linknamespace): Likewise.
10384         (test-xfail-POSIX/math.h/linknamespace): Likewise.
10385         (test-xfail-UNIX98/math.h/linknamespace): Likewise.
10386         (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
10387         (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
10388         (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
10389         (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
10390         (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
10391         (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
10392         (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
10393         (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
10394         (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
10396 2014-11-18  Tom de Vries  <tom@codesoucery.com>
10398         * manual/signal.texi (Primitives Interrupted by Signals): In section,
10399         replace BSD Handler xref with BSD Signal Handling.
10401 2014-11-17  Richard Henderson  <rth@redhat.com>
10403         * sysdeps/alpha/soft-fp/local-soft-fp.h (_FP_UNPACK_RAW_2): Remove.
10404         (_FP_PACK_RAW_2): Remove.
10405         (AXP_DECL_RETURN_Q): Rename from FP_DECL_RETURN, use _FP_UNION_Q.
10406         (AXP_RETURN_Q): Rename from FP_RETURN, use _FP_UNION_Q.
10407         (AXP_UNPACK_RAW_Q, AXP_UNPACK_SEMIRAW_Q, AXP_UNPACK_Q): New.
10408         (AXP_PACK_RAW_Q, AXP_PACK_SEMIRAW_Q, AXP_PACK_Q): New.
10409         * sysdeps/alpha/soft-fp/ots_add.c (_OtsAddX): Update to match.
10410         * sysdeps/alpha/soft-fp/ots_cmp.c (internal_equality): Likewise.
10411         * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Likewise.
10412         * sysdeps/alpha/soft-fp/ots_cvtqux.c (_OtsCvtQUX): Likewise.
10413         * sysdeps/alpha/soft-fp/ots_cvtqx.c (_OtsCvtQX): Likewise.
10414         * sysdeps/alpha/soft-fp/ots_cvttx.c (_OtsConvertFloatTX): Likewise.
10415         * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Likewise.
10416         * sysdeps/alpha/soft-fp/ots_cvtxt.c (_OtsConvertFloatXT): Likewise.
10417         * sysdeps/alpha/soft-fp/ots_div.c (_OtsDivX): Likewise.
10418         * sysdeps/alpha/soft-fp/ots_mul.c (_OtsMulX): Likewise.
10419         * sysdeps/alpha/soft-fp/ots_nintxq.c (_OtsNintXQ): Likewise.
10420         * sysdeps/alpha/soft-fp/ots_sub.c (_OtsSubX): Likewise.
10422 2014-11-14  Roland McGrath  <roland@hack.frob.com>
10424         * signal/signal.h [__USE_MISC]
10425         (struct sigvec): Remove type.
10426         (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): Remove macros.
10427         (sigvec): Remove declaration.
10428         * sysdeps/posix/sigvec.c: Moved ...
10429         * signal/sigvec.c: ... here, replacing old file.
10430         (struct sigvec): New type, copied from old signal.h definition.
10431         (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): New macros, likewise copied.
10432         (__sigvec): Convert definition to prototype.
10433         (sigvec): Replace weak_alias with compat_symbol.
10434         * signal/Versions (libc: GLIBC_2.21): New version set.
10435         * include/signal.h: Remove __sigvec declaration.
10436         * sysdeps/unix/bsd/sigvec.c: Remove file.
10437         * sysdeps/unix/bsd/syscalls.list: Remove sigvec.
10438         * manual/signal.texi (BSD Handler): Remove subsection.
10439         Move siginterrupt up to ...
10440         (BSD Signal Handling): ... here.  Mark it as XPG rather than BSD.
10441         (Blocking in BSD): Fold subsection into its parent.
10442         * NEWS: Mention sigvec removal.
10444 2014-11-14  Joseph Myers  <joseph@codesourcery.com>
10446         * sysdeps/x86_64/fpu/dla.h [__FMA4__ && __GNUC_PREREQ (4, 6)]
10447         (DLA_FMS): Make definition conditional only on [__FMA4__].
10448         [__FMA4__ && !__GNUC_PREREQ (4, 6)] (DLA_FMS): Remove conditional
10449         definition.
10451         * sysdeps/arm/sysdep.h [PROF && __GNUC_PREREQ(4,4)] (CALL_MCOUNT):
10452         Make definition conditional only on [PROF].
10453         [PROF && !__GNUC_PREREQ(4,4)] (CALL_MCOUNT): Remove conditional
10454         definition.
10455         [__GNUC_PREREQ(4,4)] (mcount): Make definition unconditional.
10456         [!__GNUC_PREREQ(4,4)] (mcount): Remove conditional definition.
10458         * signal/signal.h (__sigpause): Only declare if [__USE_XOPEN &&
10459         !__GNUC__].
10460         * include/signal.h (__sigpause): Move declaration above call to
10461         libc_hidden_proto.
10462         * conform/Makefile (test-xfail-ISO/signal.h/linknamespace): Remove
10463         variable.
10464         (test-xfail-ISO99/signal.h/linknamespace): Likewise.
10465         (test-xfail-ISO11/signal.h/linknamespace): Likewise.
10467 2014-11-14  David S. Miller  <davem@davemloft.net>
10469         * sysdeps/sparc/sparc64/rtld-memcpy.c (NO_MEMPCPY_STPCPY_REDIRECT):
10470         Define before including <string/memcpy.c> and <string/mempcpy.c>.
10472 2014-11-14  Joseph Myers  <joseph@codesourcery.com>
10474         * configure.ac (libc_cv_compiler_ok): Require GCC 4.6 or later.
10475         * configure: Regenerated.
10476         * manual/install.texi (Tools for Compilation): Document a
10477         requirement of GCC 4.6 or later and that GCC 4.9 is the newest
10478         compiler verified to work.
10479         * INSTALL: Regenerated.
10481         * include/string.h [NO_MEMPCPY_STPCPY_REDIRECT] (mempcpy): Do not
10482         redeclare with asm name.
10483         [NO_MEMPCPY_STPCPY_REDIRECT] (stpcpy): Likewise.
10484         * string/mempcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Define before
10485         including <string.h>.
10486         * string/stpcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
10487         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c
10488         [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
10489         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c
10490         [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
10491         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
10492         [SHARED && !NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
10494 2014-11-13  Joseph Myers  <joseph@codesourcery.com>
10496         * stdlib/strtol.c (__strtol): Use prototype definition.
10498         [BZ #17594]
10499         * stdlib/strtol.c (SYM__): New macro.
10500         (SYM__1): Likewise.
10501         (__strtol): Likewise.
10502         (strtol): Rename to __strtol and define as weak alias of
10503         __strtol.  Use libc_hidden_weak.
10505 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
10507         * sysdeps/s390/s390-32/dl-machine.h (RTLD_START):
10508         Use numbered labels in inline assembly.
10510 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
10512         * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp):
10513         Add setjmp LIBC_PROBE.
10514         * sysdeps/s390/s390-64/setjmp.S (__sigsetjmp):
10515         Likewise.
10516         * sysdeps/s390/s390-32/__longjmp.c (__longjmp):
10517         Add longjmp, longjmp_target LIBC_PROBE.
10518         * sysdeps/s390/s390-64/__longjmp.c (__longjmp):
10519         Likewise.
10521 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
10523         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
10524         Gate the definition of refsym additionally with !RTLD_BOOTSTRAP
10525         to get rid of unused variable warning.
10527 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
10529         * sysdeps/s390/s390-32/backtrace.c (__backtrace):
10530         Check for unwind_backtrace ==  NULL only in SHARED case.
10531         (__backchain_backtrace): Compile only in SHARED case.
10532         * sysdeps/s390/s390-64/backtrace.c (__backtrace):
10533         Likewise.
10534         (__backchain_backtrace): Declare as static.
10536 2014-11-12  Roland McGrath  <roland@hack.frob.com>
10538         * nptl/createthread.c [!TLS_MULTIPLE_THREADS_IN_TCB]
10539         (__libc_multiple_threads_ptr): Variable moved ...
10540         * nptl/nptl-init.c [!TLS_MULTIPLE_THREADS_IN_TCB]: ... here.
10542 2014-11-12  Joseph Myers  <joseph@codesourcery.com>
10544         * conform/GlibcConform.pm: New file.
10545         * conform/conformtest.pl: Use GlibcConform module.
10546         * conform/linknamespace.pl: New file.
10547         * conform/list-header-symbols.pl: Likewise.
10548         * conform/Makefile (linknamespace-symlists-base): New variable.
10549         (linknamespace-symlists-tests): Likewise.
10550         (linknamespace-header-base): Likewise.
10551         (linknamespace-header-tests): Likewise.
10552         (tests-special): Add new tests.
10553         ($(linknamespace-symlists-tests)): New rule.
10554         (linknamespace-libs): New variable.
10555         ($(objpfx)symlist-stdlibs): New rule.
10556         ($(linknamespace-header-tests)): Likewise.
10557         (test-xfail-XPG3/varargs.h/linknamespace): New variable.
10558         (test-xfail-XPG4/varargs.h/linknamespace): Likewise.
10559         (test-xfail-UNIX98/varargs.h/linknamespace): Likewise.
10560         (test-xfail-XPG4/ndbm.h/linknamespace): Likewise.
10561         (test-xfail-UNIX98/ndbm.h/linknamespace): Likewise.
10562         (test-xfail-XOPEN2K/ndbm.h/linknamespace): Likewise.
10563         (test-xfail-XOPEN2K8/ndbm.h/linknamespace): Likewise.
10564         (test-xfail-ISO/math.h/linknamespace): Likewise.
10565         (test-xfail-ISO/signal.h/linknamespace): Likewise.
10566         (test-xfail-ISO/stdio.h/linknamespace): Likewise.
10567         (test-xfail-ISO/time.h/linknamespace): Likewise.
10568         (test-xfail-ISO99/complex.h/linknamespace): Likewise.
10569         (test-xfail-ISO99/ctype.h/linknamespace): Likewise.
10570         (test-xfail-ISO99/math.h/linknamespace): Likewise.
10571         (test-xfail-ISO99/signal.h/linknamespace): Likewise.
10572         (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
10573         (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
10574         (test-xfail-ISO11/complex.h/linknamespace): Likewise.
10575         (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
10576         (test-xfail-ISO11/math.h/linknamespace): Likewise.
10577         (test-xfail-ISO11/signal.h/linknamespace): Likewise.
10578         (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
10579         (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
10580         (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
10581         (test-xfail-XPG3/fnmatch.h/linknamespace): Likewise.
10582         (test-xfail-XPG3/glob.h/linknamespace): Likewise.
10583         (test-xfail-XPG3/math.h/linknamespace): Likewise.
10584         (test-xfail-XPG3/regex.h/linknamespace): Likewise.
10585         (test-xfail-XPG3/search.h/linknamespace): Likewise.
10586         (test-xfail-XPG3/stdio.h/linknamespace): Likewise.
10587         (test-xfail-XPG3/time.h/linknamespace): Likewise.
10588         (test-xfail-XPG3/unistd.h/linknamespace): Likewise.
10589         (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
10590         (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
10591         (test-xfail-XPG4/fmtmsg.h/linknamespace): Likewise.
10592         (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
10593         (test-xfail-XPG4/glob.h/linknamespace): Likewise.
10594         (test-xfail-XPG4/grp.h/linknamespace): Likewise.
10595         (test-xfail-XPG4/libgen.h/linknamespace): Likewise.
10596         (test-xfail-XPG4/math.h/linknamespace): Likewise.
10597         (test-xfail-XPG4/netdb.h/linknamespace): Likewise.
10598         (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
10599         (test-xfail-XPG4/regex.h/linknamespace): Likewise.
10600         (test-xfail-XPG4/search.h/linknamespace): Likewise.
10601         (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
10602         (test-xfail-XPG4/stdlib.h/linknamespace): Likewise.
10603         (test-xfail-XPG4/sys/mman.h/linknamespace): Likewise.
10604         (test-xfail-XPG4/sys/statvfs.h/linknamespace): Likewise.
10605         (test-xfail-XPG4/syslog.h/linknamespace): Likewise.
10606         (test-xfail-XPG4/time.h/linknamespace): Likewise.
10607         (test-xfail-XPG4/unistd.h/linknamespace): Likewise.
10608         (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
10609         (test-xfail-POSIX/aio.h/linknamespace): Likewise.
10610         (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
10611         (test-xfail-POSIX/glob.h/linknamespace): Likewise.
10612         (test-xfail-POSIX/math.h/linknamespace): Likewise.
10613         (test-xfail-POSIX/mqueue.h/linknamespace): Likewise.
10614         (test-xfail-POSIX/pthread.h/linknamespace): Likewise.
10615         (test-xfail-POSIX/regex.h/linknamespace): Likewise.
10616         (test-xfail-POSIX/sched.h/linknamespace): Likewise.
10617         (test-xfail-POSIX/semaphore.h/linknamespace): Likewise.
10618         (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
10619         (test-xfail-POSIX/time.h/linknamespace): Likewise.
10620         (test-xfail-POSIX/unistd.h/linknamespace): Likewise.
10621         (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
10622         (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
10623         (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
10624         (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
10625         (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
10626         (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
10627         (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
10628         (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
10629         (test-xfail-UNIX98/math.h/linknamespace): Likewise.
10630         (test-xfail-UNIX98/mqueue.h/linknamespace): Likewise.
10631         (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
10632         (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
10633         (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
10634         (test-xfail-UNIX98/regex.h/linknamespace): Likewise.
10635         (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
10636         (test-xfail-UNIX98/search.h/linknamespace): Likewise.
10637         (test-xfail-UNIX98/semaphore.h/linknamespace): Likewise.
10638         (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
10639         (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
10640         (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
10641         (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
10642         (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
10643         (test-xfail-UNIX98/time.h/linknamespace): Likewise.
10644         (test-xfail-UNIX98/unistd.h/linknamespace): Likewise.
10645         (test-xfail-UNIX98/wchar.h/linknamespace): Likewise.
10646         (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
10647         (test-xfail-XOPEN2K/aio.h/linknamespace): Likewise.
10648         (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
10649         (test-xfail-XOPEN2K/fcntl.h/linknamespace): Likewise.
10650         (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
10651         (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
10652         (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
10653         (test-xfail-XOPEN2K/grp.h/linknamespace): Likewise.
10654         (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
10655         (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
10656         (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
10657         (test-xfail-XOPEN2K/net/if.h/linknamespace): Likewise.
10658         (test-xfail-XOPEN2K/netdb.h/linknamespace): Likewise.
10659         (test-xfail-XOPEN2K/pthread.h/linknamespace): Likewise.
10660         (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
10661         (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
10662         (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
10663         (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
10664         (test-xfail-XOPEN2K/signal.h/linknamespace): Likewise.
10665         (test-xfail-XOPEN2K/spawn.h/linknamespace): Likewise.
10666         (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
10667         (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
10668         (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
10669         (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
10670         (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
10671         (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
10672         (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
10673         (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
10674         (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
10675         (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
10676         (test-xfail-POSIX2008/aio.h/linknamespace): Likewise.
10677         (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
10678         (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
10679         (test-xfail-POSIX2008/dirent.h/linknamespace): Likewise.
10680         (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
10681         (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
10682         (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
10683         (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
10684         (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
10685         (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
10686         (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
10687         (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
10688         (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
10689         (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
10690         (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
10691         (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
10692         (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
10693         (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
10694         (test-xfail-POSIX2008/unistd.h/linknamespace): Likewise.
10695         (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
10696         (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
10697         (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
10698         (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
10699         (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
10700         (test-xfail-XOPEN2K8/grp.h/linknamespace): Likewise.
10701         (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
10702         (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
10703         (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
10704         (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
10705         (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
10706         (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
10707         (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
10708         (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
10709         (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
10710         (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
10711         (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
10712         (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
10713         (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
10714         (test-xfail-XOPEN2K8/syslog.h/linknamespace): Likewise.
10715         (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
10716         (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
10717         (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
10719         [BZ #17589]
10720         * intl/localealias.c [_LIBC] (FGETS): Use __fgets_unlocked instead
10721         of fgets_unlocked.
10723         [BZ #17585]
10724         * string/memmem.c [!_LIBC] (__memmem): Define to memmem.
10725         (memmem): Rename to __memmem and define as weak alias of
10726         __memmem.  Use libc_hidden_weak.
10727         (__memmem): Use libc_hidden_def.
10728         * include/string.h (__memmem): Declare.  Use libc_hidden_proto.
10729         * locale/findlocale.c (valid_locale_name): Use __memmem instead of
10730         memmem.
10732         [BZ #17582]
10733         * libio/iofgets.c [weak_alias && !_IO_MTSAFE_IO]
10734         (__fgets_unlocked): Add alias of _IO_fgets.  Use libc_hidden_def.
10735         * libio/iofgets_u.c (fgets_unlocked): Rename to __fgets_unlocked
10736         and define as weak alias of __fgets_unlocked.  Use
10737         libc_hidden_weak.
10738         (__fgets_unlocked): Use libc_hidden_def.
10739         * include/stdio.h (__fgets_unlocked): Declare.  Use
10740         libc_hidden_proto.
10741         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Use
10742         __fgets_unlocked instead of fgets_unlocked.
10743         * sysdeps/unix/sysv/linux/alpha/getsysstats.c
10744         (GET_NPROCS_CONF_PARSER): Likewise.
10745         * sysdeps/unix/sysv/linux/sparc/getsysstats.c
10746         (GET_NPROCS_CONF_PARSER): Likewise.
10748         [BZ #17574]
10749         * wcsmbs/wmemset.c (wmemset): Rename to __wmemset and define as
10750         weak alias of __wmemset.  Use libc_hidden_weak.
10751         (__wmemset): Use libc_hidden_def.
10752         * include/wchar.h (__wmemset): Declare.  Use libc_hidden_proto.
10753         * stdio-common/printf_fp.c (___printf_fp): Call __wmemset instead
10754         of wmemset.
10756         [BZ #17573]
10757         * include/string.h [NOT_IN_libc || !SHARED] (mempcpy): Declare
10758         with asm name __mempcpy.
10759         [NOT_IN_libc || !SHARED] (stpcpy): Declare with asm name __stpcpy.
10761         [BZ #17572]
10762         * sysdeps/x86_64/rawmemchr.S (rawmemchr): Rename to __rawmemchr
10763         and define as weak alias of __rawmemchr.
10764         (__rawmemchr): Do not define as strong alias of rawmemchr.
10766         [BZ #17571]
10767         * stdlib/msort.c (qsort_r): Rename to __qsort_r and define as weak
10768         alias of __qsort_r.
10769         (qsort): Call __qsort_r instead of qsort_r.
10770         * include/stdlib.h (qsort_r): Do not call libc_hidden_proto.
10771         (__qsort_r): Declare.  Call libc_hidden_proto.
10772         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Call __qsort_r
10773         instead of qsort_r.
10774         * nscd/gai.c (__qsort_r): Define to qsort_r.
10775         * posix/tst-rfc3484.c (__qsort_r): Likewise.
10776         * posix/tst-rfc3484-2.c (__qsort_r): Likewise.
10777         * posix/tst-rfc3484-3.c (__qsort_r): Likewise.
10779         [BZ #17570]
10780         * malloc/malloc.c (malloc_info): Rename to __malloc_info and
10781         define as weak alias of __malloc_info.
10783         [BZ #17584]
10784         * dirent/rewinddir.c (rewinddir): Rename to __rewinddir and define
10785         as weak alias of __rewinddir.  Don't use libc_hidden_def.
10786         (__rewinddir): Use libc_hidden_def.
10787         * sysdeps/mach/hurd/rewinddir.c: Rename to __rewinddir and define
10788         as weak alias of __rewinddir.  Don't use libc_hidden_def.
10789         (__rewinddir): Use libc_hidden_def.
10790         * sysdeps/posix/rewinddir.c: Rename to __rewinddir and define as
10791         weak alias of __rewinddir.  Don't use libc_hidden_def.
10792         (__rewinddir): Use libc_hidden_def.
10793         * include/dirent.h (rewinddir): Don't use libc_hidden_proto.
10794         (__rewinddir): Use libc_hidden_proto.
10795         * sysdeps/posix/getcwd.c [!_LIBC] (__rewinddir): Define to
10796         rewinddir.
10797         (__getcwd): Use __rewinddir instead of rewinddir.
10799         [BZ #17583]
10800         * libio/fileno.c (fileno): Rename to __fileno and define as weak
10801         alias of __fileno.  Use libc_hidden_weak.
10802         (__fileno): Use libc_hidden_def.
10803         [weak_alias] (fileno_unlocked): Define as weak alias of __fileno.
10804         * libio/ftello.c (ftello): Rename to __ftello and define as weak
10805         alias of __ftello.
10806         [__OFF_T_MATCHES_OFF64_T] (ftello64): Define as weak alias of
10807         __ftello.
10808         * libio/iofread.c [weak_alias && !_IO_MTSAFE_IO]
10809         (__fread_unlocked): Define as strong alias of _IO_fread.  Use
10810         libc_hidden_def.
10811         (fread_unlocked): Don't use libc_hidden_ver.
10812         * libio/iofread_u.c (fread_unlocked): Rename to __fread_unlocked
10813         and define as weak alias of __fread_unlocked.  Don't use
10814         libc_hidden_def.
10815         (__fread_unlocked): Use libc_hidden_def.
10816         * include/stdio.h (__fileno): Declare.  Use libc_hidden_proto.
10817         (ftello): Don't use libc_hidden_proto.
10818         (__ftello): Declare.  Use libc_hidden_proto.
10819         (fread_unlocked): Don't use libc_hidden_proto.
10820         (__fread_unlocked): Declare.  Use libc_hidden_proto.
10821         * time/tzfile.c (__tzfile_read): Use __fileno, __fread_unlocked
10822         and __ftello instead of fileno, fread_unlocked and ftello.
10824 2012-11-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
10826         * sysdeps/s390/s390-32/bcopy.S (__bcopy): Use GOT instead of
10827         GOT12.
10828         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
10829         Likewise.
10830         (_dl_start_user): Likewise.
10831         * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp): Likewise.
10833 2014-11-12  Carlos O'Donell  <carlos@redhat.com>
10834             Siddhesh Poyarekar  <siddhesh@redhat.com>
10836         * sysdeps/s390/s390-32/dl-machine.h (_dl_start_user):
10837         Move argv and envp down instead of moving argc up.
10838         * sysdeps/s390/s390-32/dl-sysdep.h: New file.
10840 2014-11-12  Leonhard Holz  <leonhard.holz@web.de>
10842         [BZ #17506]
10843         * test-skeleton.c (main): Return successful if one of
10844         EXPECTED_SIGNAL or EXPECTED_STATUS is met when both given.
10845         * string/tst-strcoll-overflow.c: Define expected status.
10847 2014-11-12  Tatiana Udalova  <t.udalova@samsung.com>
10849         [BZ #17475]
10850         * locale/iso-639.def: Define Bhili and Tulu language codes.
10852 2014-11-11  Alan Hayward  <alan.hayward@arm.com>
10854         * sysdeps/unix/sysv/linux/aarch64/bits/ipc.h: New file.
10856 2014-11-10  Renlin Li  <Renlin.Li@arm.com>
10858         [BZ #17555]
10859         * sysdeps/aarch64/start.S (_start): Delete x29 overwritten assignment.
10861 2014-11-10  Andrew Senkevich  <andrew.n.senkevich@gmail.com>
10863         * configure.ac: Updated check of minimal required version to
10864         2.22.
10865         * manual/install.texi (Tools for Compilation): Updated version
10866         number.
10867         * configure: Regenerated.
10868         * INSTALL: Likewise.
10870 2014-11-07  Andreas Schwab  <schwab@linux-m68k.org>
10872         * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Remove
10873         __tls_get_addr.
10875 2014-11-07  Joseph Myers  <joseph@codesourcery.com>
10877         * include/sys/wait.h (__libc_waitpid): Remove declaration.
10878         * posix/waitpid.c (__libc_waitpid): Rename to __waitpid.
10879         (__waitpid): Don't define as alias.  Use libc_hidden_def not
10880         libc_hidden_weak.
10881         (waitpid): Define as alias of __waitpid.
10882         * sysdeps/unix/bsd/waitpid.c (__libc_waitpid): Rename to
10883         __waitpid.
10884         (__waitpid): Don't define as alias.  Use libc_hidden_def not
10885         libc_hidden_weak.
10886         (waitpid): Define as alias of __waitpid.
10887         * sysdeps/unix/sysv/linux/i386/syscalls.list (waitpid): Remove
10888         __libc_waitpid alias.
10889         * sysdeps/unix/sysv/linux/m68k/syscalls.list (waitpid): Likewise.
10890         * sysdeps/unix/sysv/linux/powerpc/syscalls.list (waitpid):
10891         Likewise.
10892         * sysdeps/unix/sysv/linux/sh/syscalls.list (waitpid): Likewise.
10893         * sysdeps/unix/sysv/linux/sparc/syscalls.list (waitpid): Likewise.
10894         * sysdeps/unix/sysv/linux/tile/waitpid.S (__libc_waitpid): Remove
10895         alias.
10896         * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Rename to
10897         __waitpid.
10898         (__waitpid): Don't define as alias.  Use libc_hidden_def not
10899         libc_hidden_weak.
10900         (waitpid): Define as alias of __waitpid.
10902 2014-11-06  Carlos O'Donell  <carlos@redhat.com>
10904         * manual/llio.texi: Add comment that write safety has been
10905         fixed in Linux.
10907         * elf/Makefile (all-built-dso): Add $(common-objpfx)elf/ld.so.
10908         (localplt-build-dso): Add elf/ld.so.
10909         * sysdeps/unix/sysv/linux/i386/localplt.data: Add ___tls_get_addr
10910         i.e. 3 underscore version, __libc_memalign, malloc, calloc, realloc,
10911         and free for ld.so.
10912         * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: Add
10913         __libc_memalign, malloc, calloc, realloc, and free for ld.so.
10914         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data:
10915         Likewise.
10916         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
10917         Likewise.
10918         * sysdeps/unix/sysv/linux/s390/localplt.data: Likewise.
10919         * sysdeps/generic/localplt.data: Add __tls_get_addr i.e. 2 underscore
10920         version, __libc_memalign, malloc, calloc, realloc and free for ld.so.
10921         * sysdeps/unix/sysv/linux/aarch64/localplt.data: Likewise.
10922         * sysdeps/unix/sysv/linux/arm/localplt.data: Likewise.
10923         * sysdeps/unix/sysv/linux/alpha/localplt.data: Likewise.
10924         * sysdeps/unix/sysv/linux/ia64/localplt.data: Likewise.
10925         * sysdeps/unix/sysv/linux/m68k/localplt.data: Likewise.
10926         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Likewise.
10927         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Likewise.
10928         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
10930 2014-11-05  Joseph Myers  <joseph@codesourcery.com>
10932         [BZ #14132]
10933         * include/libc-symbols.h (INTUSE): Remove macro.
10934         (INTDEF): Likewise.
10935         (INTVARDEF): Likewise.
10936         (_INTVARDEF): Likewise.
10937         (INTDEF2): Likewise.
10938         (INTVARDEF2): Likewise.
10939         * elf/rtld.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Use
10940         rtld_hidden_def instead of INTVARDEF.
10941         * sysdeps/generic/ldsodefs.h [IS_IN_rtld]
10942         (_dl_starting_up_internal): Remove declaration.
10943         (_dl_starting_up): Use rtld_hidden_proto.
10944         * elf/dl-init.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Remove
10945         declaration.
10946         [!HAVE_INLINED_SYSCALLS] (_dl_starting_up_internal): Likewise.
10947         (_dl_init) [!HAVE_INLINED_SYSCALLS]: Don't use INTUSE with
10948         _dl_starting_up.
10949         * elf/dl-writev.h (_dl_writev): Likewise.
10950         * sysdeps/powerpc/powerpc64/dl-machine.h [!HAVE_INLINED_SYSCALLS]
10951         (DL_STARTING_UP_DEF): Use __GI__dl_starting_up instead of
10952         _dl_starting_up_internal.
10954 2014-11-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10956         * stdio-common/tst-fmemopen.c (do_test): Refactor to use
10957         test-skeleton.c.
10959 2014-11-05  Will Newton  <will.newton@linaro.org>
10961         * benchtests/Makefile: (bench-malloc): Add malloc thread
10962         scalability benchmark.
10963         * benchtests/bench-malloc-threads.c: New file.
10965 2014-11-05  Richard Earnshaw  <rearnsha@arm.com>
10967         * sysdeps/aarch64/strchrnul.S: New file.
10969 2014-11-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10971         * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Simplify
10972         definition.
10973         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
10974         Likwise.
10975         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
10976         Likewise.
10977         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
10978         Likewise.
10979         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
10980         Likewise.
10981         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
10982         Likewise.
10984 2014-11-05  Arjun Shankar  <arjun.is@lostca.se>
10986         * catgets/test-gencat.c: Use test-skeleton.c.
10987         * catgets/tst-catgets.c: Likewise.
10988         * csu/tst-empty.c: Likewise.
10989         * elf/tst-audit2.c: Likewise.
10990         * elf/tst-global1.c: Likewise.
10991         * elf/tst-pathopt.c: Likewise.
10992         * elf/tst-piemod1.c: Likewise.
10993         * elf/tst-tls10.c: Likewise.
10994         * elf/tst-tls11.c: Likewise.
10995         * elf/tst-tls12.c: Likewise.
10996         * gnulib/tst-gcc.c: Likewise.
10997         * iconvdata/tst-e2big.c: Likewise.
10998         * iconvdata/tst-loading.c: Likewise.
10999         * iconv/tst-iconv1.c: Likewise.
11000         * iconv/tst-iconv2.c: Likewise.
11001         * inet/test-inet6_opt.c: Likewise.
11002         * inet/tst-gethnm.c: Likewise.
11003         * inet/tst-network.c: Likewise.
11004         * inet/tst-ntoa.c: Likewise.
11005         * intl/tst-codeset.c: Likewise.
11006         * intl/tst-gettext2.c: Likewise.
11007         * intl/tst-gettext3.c: Likewise.
11008         * intl/tst-ngettext.c: Likewise.
11009         * intl/tst-translit.c: Likewise.
11010         * io/test-stat.c: Likewise.
11011         * libio/test-fmemopen.c: Likewise.
11012         * libio/tst-freopen.c: Likewise.
11013         * libio/tst-sscanf.c: Likewise.
11014         * libio/tst-ungetwc1.c: Likewise.
11015         * libio/tst-ungetwc2.c: Likewise.
11016         * libio/tst-widetext.c: Likewise.
11017         * localedata/tst-ctype.c: Likewise.
11018         * localedata/tst-digits.c: Likewise.
11019         * localedata/tst-leaks.c: Likewise.
11020         * localedata/tst-mbswcs1.c: Likewise.
11021         * localedata/tst-mbswcs2.c: Likewise.
11022         * localedata/tst-mbswcs3.c: Likewise.
11023         * localedata/tst-mbswcs4.c: Likewise.
11024         * localedata/tst-mbswcs5.c: Likewise.
11025         * localedata/tst-setlocale.c: Likewise.
11026         * localedata/tst-trans.c: Likewise.
11027         * localedata/tst-wctype.c: Likewise.
11028         * localedata/tst-xlocale1.c: Likewise.
11029         * login/tst-grantpt.c: Likewise.
11030         * malloc/tst-calloc.c: Likewise.
11031         * malloc/tst-malloc.c: Likewise.
11032         * malloc/tst-mallocstate.c: Likewise.
11033         * malloc/tst-mcheck.c: Likewise.
11034         * malloc/tst-mtrace.c: Likewise.
11035         * malloc/tst-obstack.c: Likewise.
11036         * math/atest-exp2.c: Likewise.
11037         * math/atest-exp.c: Likewise.
11038         * math/atest-sincos.c: Likewise.
11039         * math/test-matherr.c: Likewise.
11040         * math/test-misc.c: Likewise.
11041         * math/test-powl.c: Likewise.
11042         * math/tst-definitions.c: Likewise.
11043         * misc/tst-dirname.c: Likewise.
11044         * misc/tst-efgcvt.c: Likewise.
11045         * misc/tst-fdset.c: Likewise.
11046         * misc/tst-hsearch.c: Likewise.
11047         * misc/tst-mntent2.c: Likewise.
11048         * nptl/tst-sem7.c: Likewise.
11049         * nptl/tst-sem8.c: Likewise.
11050         * nptl/tst-sem9.c: Likewise.
11051         * nss/test-netdb.c: Likewise.
11052         * posix/tst-fnmatch.c: Likewise.
11053         * posix/tst-getlogin.c: Likewise.
11054         * posix/tst-gnuglob.c: Likewise.
11055         * posix/tst-mmap.c: Likewise.
11056         * pwd/tst-getpw.c: Likewise.
11057         * resolv/tst-inet_ntop.c: Likewise.
11058         * rt/tst-timer.c: Likewise.
11059         * stdio-common/test-fseek.c: Likewise.
11060         * stdio-common/test-popen.c: Likewise.
11061         * stdio-common/test-vfprintf.c: Likewise.
11062         * stdio-common/tst-cookie.c: Likewise.
11063         * stdio-common/tst-fileno.c: Likewise.
11064         * stdio-common/tst-gets.c: Likewise.
11065         * stdio-common/tst-obprintf.c: Likewise.
11066         * stdio-common/tst-perror.c: Likewise.
11067         * stdio-common/tst-sprintf2.c: Likewise.
11068         * stdio-common/tst-sprintf3.c: Likewise.
11069         * stdio-common/tst-sprintf.c: Likewise.
11070         * stdio-common/tst-swprintf.c: Likewise.
11071         * stdio-common/tst-tmpnam.c: Likewise.
11072         * stdio-common/tst-unbputc.c: Likewise.
11073         * stdio-common/tst-wc-printf.c: Likewise.
11074         * stdlib/tst-environ.c: Likewise.
11075         * stdlib/tst-fmtmsg.c: Likewise.
11076         * stdlib/tst-limits.c: Likewise.
11077         * stdlib/tst-rand48-2.c: Likewise.
11078         * stdlib/tst-rand48.c: Likewise.
11079         * stdlib/tst-random2.c: Likewise.
11080         * stdlib/tst-random.c: Likewise.
11081         * stdlib/tst-strtol.c: Likewise.
11082         * stdlib/tst-strtoll.c: Likewise.
11083         * stdlib/tst-tls-atexit.c: Likewise.
11084         * stdlib/tst-xpg-basename.c: Likewise.
11085         * string/test-ffs.c: Likewise.
11086         * string/tst-bswap.c: Likewise.
11087         * string/tst-inlcall.c: Likewise.
11088         * string/tst-strtok.c: Likewise.
11089         * string/tst-strxfrm.c: Likewise.
11090         * sysdeps/x86_64/tst-audit10.c: Likewise.
11091         * sysdeps/x86_64/tst-audit3.c: Likewise.
11092         * sysdeps/x86_64/tst-audit4.c: Likewise.
11093         * sysdeps/x86_64/tst-audit5.c: Likewise.
11094         * time/tst-ftime_l.c: Likewise.
11095         * time/tst-getdate.c: Likewise.
11096         * time/tst-mktime3.c: Likewise.
11097         * time/tst-mktime.c: Likewise.
11098         * time/tst-posixtz.c: Likewise.
11099         * time/tst-strptime2.c: Likewise.
11100         * time/tst-strptime3.c: Likewise.
11101         * wcsmbs/tst-btowc.c: Likewise.
11102         * wcsmbs/tst-mbrtowc.c: Likewise.
11103         * wcsmbs/tst-mbsrtowcs.c: Likewise.
11104         * wcsmbs/tst-wchar-h.c: Likewise.
11105         * wcsmbs/tst-wcpncpy.c: Likewise.
11106         * wcsmbs/tst-wcrtomb.c: Likewise.
11107         * wcsmbs/tst-wcsnlen.c: Likewise.
11108         * wcsmbs/tst-wcstof.c: Likewise.
11110 2014-11-04  Joseph Myers  <joseph@codesourcery.com>
11112         [BZ #14132]
11113         * elf/dl-profile.c (_dl_mcount): Use rtld_hidden_def instead of
11114         INTDEF.
11115         * sysdeps/generic/ldsodefs.h (_dl_mcount_internal): Remove
11116         declaration.
11117         (_dl_mcount): Use rtld_hidden_proto.
11118         * elf/dl-runtime.c (_dl_profile_fixup): Don't use INTUSE with
11119         _dl_mcount.
11120         * elf/rtld.c (_rtld_global_ro): Likewise.
11122         [BZ #14132]
11123         * elf/dl-init.c (_dl_init): Don't use INTDEF.
11124         * sysdeps/aarch64/dl-machine.h (RTLD_START): Use _dl_init instead
11125         of _dl_init_internal.
11126         * sysdeps/alpha/dl-machine.h (RTLD_START): Likewise.
11127         * sysdeps/arm/dl-machine.h (RTLD_START): Likewise.
11128         * sysdeps/hppa/dl-machine.h (RTLD_START): Likewise.
11129         * sysdeps/i386/dl-machine.h (RTLD_START): Likewise.
11130         * sysdeps/ia64/dl-machine.h (RTLD_START): Likewise.
11131         * sysdeps/m68k/dl-machine.h (RTLD_START): Likewise.
11132         * sysdeps/microblaze/dl-machine.h (RTLD_START): Likewise.
11133         * sysdeps/mips/dl-machine.h (RTLD_START): Likewise.
11134         * sysdeps/powerpc/powerpc32/dl-start.S (_start): Likewise.
11135         * sysdeps/s390/s390-32/dl-machine.h (RTLD_START): Likewise.
11136         * sysdeps/s390/s390-64/dl-machine.h (RTLD_START): Likewise.
11137         * sysdeps/sh/dl-machine.h (RTLD_START): Likewise.
11138         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
11139         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
11140         * sysdeps/tile/dl-start.S (_start): Likewise.
11141         * sysdeps/x86_64/dl-machine.h (RTLD_START): Likewise.
11142         * sysdeps/x86_64/x32/dl-machine.h (RTLD_START): Likewise.
11144         [BZ #14132]
11145         * sysdeps/generic/ldsodefs.h (_dl_argv): Use rtld_hidden_proto.
11146         [IS_IN_rtld] (_dl_argv_internal): Do not declare.
11147         (rtld_progname): Make macro definition unconditional.
11148         * elf/rtld.c (_dl_argv): Use rtld_hidden_data_def instead of
11149         INTDEF.
11150         (dlmopen_doit): Do not use INTUSE with _dl_argv.
11151         (dl_main): Likewise.
11152         * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
11153         * sysdeps/alpha/dl-machine.h (RTLD_START): Use __GI__dl_argv
11154         instead of _dl_argv_internal.
11155         * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
11156         __GI__dl_argv instead of INTUSE(_dl_argv).
11157         * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Use
11158         __GI__dl_argv instead of _dl_argv_internal.
11160         * soft-fp/op-common.h (_FP_TO_INT_ROUND): New macro.
11161         * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_D): New
11162         macro.
11163         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_D): Likewise.
11164         * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_E):
11165         New macro.
11166         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_E): Likewise.
11167         * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_Q): New
11168         macro.
11169         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_Q): Likewise.
11170         * soft-fp/single.h (FP_TO_INT_ROUND_S): New macro.
11172 2014-11-04  Andreas Schwab  <schwab@suse.de>
11174         * posix/regex_internal.h: Don't include <locale/elem-hash.h>.
11176 2014-11-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11178         * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Encode
11179         mtvsrd instruction in binary form.
11181 2014-11-03  Andreas Schwab  <schwab@suse.de>
11183         [BZ #17522]
11184         * libio/wfileops.c (_IO_wdo_write): If the file buffer has room
11185         for less than MB_LEN_MAX use a local buffer of that size.
11186         * libio/tst-fputws.c: New file.
11187         * libio/Makefile (tests): Add tst-fputws.
11189 2014-11-01  Jose E. Marchesi  <jose.marchesi@oracle.com>
11191         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu): fix
11192         the size of the fpu_fr.fpu_dregs[] array.
11194 2014-11-01  Joseph Myers  <joseph@codesourcery.com>
11196         * posix/nanosleep.c (__libc_nanosleep): Rename to __nanosleep.
11197         (__nanosleep): Do not define as alias.
11198         (nanosleep): Define as alias of __nanosleep.
11199         * sysdeps/unix/sysv/linux/syscalls.list (nanosleep): Remove
11200         __libc_nanosleep name.
11202 2014-10-31  Joseph Myers  <joseph@codesourcery.com>
11204         * aclocal.m4 (GLIBC_AUTOCONF_VERSION): Mention need to update
11205         install.texi in comment.
11207 2014-10-31  Torvald Riegel  <triegel@redhat.com>
11209         * sysdeps/powerpc/bits/atomic.h (atomic_write_barrier): Remove and...
11210         * sysdeps/powerpc/powerpc32/bits/atomic.h (atomic_write_barrier):
11211         ... add here and use lwsync or sync ...
11212         * sysdeps/powerpc/powerpc64/bits/atomic.h (atomic_write_barrier):
11213         ... and add here using lwsync.
11215 2014-10-31  Matthew Fortune  <matthew.fortune@imgtec.com>
11217         * elf/dl-machine-reject-phdr.h: New file.
11218         * elf/dl-load.c: #include that.
11219         (open_verify): Call elf_machine_reject_phdr_p and ignore the file
11220         if that returned true.
11222 2014-10-31  Roland McGrath  <roland@hack.frob.com>
11224         [BZ #17496]
11225         * Makerules: Move gnu/lib-names.h generation chunk up, to right after
11226         gen-as-const-headers chunk.  Add a big scare comment after the last
11227         safe place to touch before-compile.
11229 2014-10-31  Joseph Myers  <joseph@codesourcery.com>
11231         * manual/install.texi (Tools for Compilation): Update autoconf
11232         version requirements.
11233         * INSTALL: Regenerated.
11235         * misc/pselect.c [!__pselect] (__libc_pselect): Remove alias.
11236         * sysdeps/unix/sysv/linux/pselect.c [__NR_pselect6]
11237         (__libc_pselect): Likewise.
11239         [BZ #14138]
11240         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Remove file.
11241         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
11242         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
11243         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
11245 2014-10-31  Torvald Riegel  <triegel@redhat.com>
11247         * sysdeps/sparc/sparc32/bits/atomic.h (atomic_write_barrier): Use
11248         correct barrier instruction.
11249         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_write_barrier):
11250         Likewise.
11251         * sysdeps/sparc/sparc64/bits/atomic.h (atomic_write_barrier):
11252         Likewise.
11254 2014-10-30  Roland McGrath  <roland@hack.frob.com>
11256         * include/ctype.h: Include <ctype/ctype.h> first thing rather than
11257         after defining inlines.  Instead, just use parens to defeat macro
11258         expansion of __isctype in its declaration.
11260 2014-10-30  Joseph Myers  <joseph@codesourcery.com>
11262         * include/sys/uio.h (__libc_readv): Remove declaration.
11263         (__libc_writev): Likewise.
11264         * misc/readv.c (__libc_readv): Rename to __readv.
11265         (__readv): Do not define as alias.
11266         (readv): Define as alias of __readv.
11267         * misc/writev.c (__libc_writev): Rename to __writev.
11268         (__writev): Do not define as alias.
11269         (writev): Define as alias of __writev.
11270         * sysdeps/posix/readv.c (__libc_readv): Rename to __readv.
11271         (__readv): Do not define as alias.
11272         (readv): Define unconditionally as alias of __readv.
11273         * sysdeps/posix/writev.c (__libc_writev): Rename to __writev.
11274         (__writev): Do not define as alias.
11275         (writev): Define unconditionally as alias of __writev.
11276         * sysdeps/unix/syscalls.list (readv): Do not define __libc_readv
11277         name.
11278         (writev): Do not define __libc_writev name.
11280 2014-10-30  Roland McGrath  <roland@hack.frob.com>
11282         * iconv/iconv_charmap.c (add_bytes): Make IN argument pointer to const.
11283         (convert_charseq): New function, broken out of ...
11284         (use_from_charmap): ... here.  Call it.
11285         (use_to_charmap): Use convert_charseq and free instead of duplicating
11286         its code with a variable-length stack struct.
11288 2014-10-30  Joseph Myers  <joseph@codesourcery.com>
11290         * include/fcntl.h (__libc_creat): Remove declaration.
11291         * io/creat.c (__libc_creat): Rename to creat.
11292         (creat): Do not define as alias.
11293         * sysdeps/unix/sysv/linux/alpha/creat.c (creat64): Define as alias
11294         of creat instead of __libc_creat.
11295         * sysdeps/unix/sysv/linux/generic/creat.c (__libc_creat): Rename
11296         to creat.
11297         (creat): Do not define as alias.
11298         [__WORDSIZE == 64] (creat64): Define as alias of creat instead of
11299         __libc_creat.
11300         * sysdeps/unix/sysv/linux/syscalls.list (creat): Do not define
11301         __libc_creat name.
11302         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (creat):
11303         Likewise.
11305 2014-10-29  Carlos O'Donell  <carlos@redhat.com>
11307         * manual/llio.texi: Add comments discussing why write() may be
11308         considered MT-unsafe on Linux.
11310 2014-10-28  Carlos O'Donell  <carlos@redhat.com>
11312         * dl-load.c (local_strdup): Remove.
11313         (expand_dynamic_string_token): Use __strdup.
11314         (decompose_rpath): Likewise.
11315         (_dl_map_object): Likewise.
11317 2014-10-28  Joseph Myers  <joseph@codesourcery.com>
11319         [BZ #14132]
11320         * sysdeps/generic/unwind-dw2-fde.c
11321         (__register_frame_info_bases_internal): Do not declare.
11322         (__register_frame_info_table_bases_internal): Likewise.
11323         (__deregister_frame_info_bases_internal): Likewise.
11324         (__register_frame_info_bases): Declare and use hidden_proto before
11325         definition.  Use hidden_def instead of INTDEF.
11326         (__register_frame_info_table_bases): Likewise.
11327         (__deregister_frame_info_bases): Likewise.
11328         (__register_frame_info): Do not use INTUSE.
11329         (__register_frame): Likewise.
11330         (__register_frame_info_table): Likewise.
11331         (__register_frame_table): Likewise.
11332         (__deregister_frame_info): Likewise.
11333         (__deregister_frame): Likewise.
11335 2014-10-27  Gratian Crisan  <gratian.crisan@ni.com>
11337         * sysdeps/unix/sysv/linux/arm/kernel-features.h
11338         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_FUTEX_LOCK_PI): Do
11339         not undefine.
11340         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_REQUEUE_PI):
11341         Likewise.
11342         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_SET_ROBUST_LIST):
11343         Likewise.
11345 2014-10-27  Joseph Myers  <joseph@codesourcery.com>
11347         [BZ #14138]
11348         * sysdeps/unix/sysv/linux/arm/setfsgid.c: Remove file.
11349         * sysdeps/unix/sysv/linux/arm/setfsuid.c: Likewise.
11350         * sysdeps/unix/sysv/linux/i386/setfsgid.c: Likewise.
11351         * sysdeps/unix/sysv/linux/i386/setfsuid.c: Likewise.
11352         * sysdeps/unix/sysv/linux/m68k/setfsgid.c: Likewise.
11353         * sysdeps/unix/sysv/linux/m68k/setfsuid.c: Likewise.
11354         * sysdeps/unix/sysv/linux/s390/s390-32/setfsgid.c: Likewise.
11355         * sysdeps/unix/sysv/linux/s390/s390-32/setfsuid.c: Likewise.
11356         * sysdeps/unix/sysv/linux/sh/setfsgid.c: Likewise.
11357         * sysdeps/unix/sysv/linux/sh/setfsuid.c: Likewise.
11358         * sysdeps/unix/sysv/linux/sparc/sparc32/setfsgid.c: Likewise.
11359         * sysdeps/unix/sysv/linux/sparc/sparc32/setfsuid.c: Likewise.
11360         * sysdeps/unix/sysv/linux/arm/syscalls.list (setfsgid): Add
11361         syscall.
11362         (setfsuid): Likewise.
11363         * sysdeps/unix/sysv/linux/i386/syscalls.list (setfsgid): Likewise.
11364         (setfsuid): Likewise.
11365         * sysdeps/unix/sysv/linux/m68k/syscalls.list (setfsgid): Likewise.
11366         (setfsuid): Likewise.
11367         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setfsgid):
11368         Likewise.
11369         (setfsuid): Likewise.
11370         * sysdeps/unix/sysv/linux/sh/syscalls.list (setfsgid): Likewise.
11371         (setfsuid): Likewise.
11372         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (setfsgid):
11373         Likewise.
11374         (setfsuid): Likewise.
11376 2014-10-27  Andreas Schwab  <schwab@suse.de>
11378         [BZ #17501]
11379         * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Fix
11380         check for Slow_SSE4_2 feature bit.
11381         * sysdeps/i386/i686/multiarch/strcmp.S (STRCMP): Likewise.
11382         * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
11383         * sysdeps/x86_64/multiarch/strcmp.S (STRCMP, __strcascmp):
11384         Likewise.  Fix check for Fast_Unaligned_Load feature bit.
11386 2014-10-24  Roland McGrath  <roland@hack.frob.com>
11388         * configure.ac: Validate compiler version with a empirical test of
11389         __GNUC__ and __GNUC_MINOR__ predefined values, rather than by grepping
11390         $CC -v output.
11391         * configure: Regenerated.
11393         * inet/htons.c (htons): Prototypify.
11394         * inet/htonl.c (htonl): Likewise.
11396 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
11398         * string/strncat.c (strncat): Improve performance by using strlen.
11400 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
11402         * string/strcat.c (strcat): Improve performance by using strlen/strcpy.
11404 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
11406         * sysdeps/aarch64/fpu/fgetexcptflg.c (fegetexceptflag):
11407         Call libc_fetestexcept_aarch64.
11409 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
11411         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept):
11412         Call libc_feholdexcept_aarch64.
11414 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
11416         * sysdeps/aarch64/fpu/fegetround.c (fegetround):
11417         Call get_rounding_mode.
11419 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
11421         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
11422         Simplify logic.
11424 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
11426         * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept):
11427         Simplify logic.
11429 2014-10-24  Joseph Myers  <joseph@codesourcery.com>
11431         [BZ #14138]
11432         * sysdeps/unix/sysv/linux/arm/getegid.c: Remove file.
11433         * sysdeps/unix/sysv/linux/arm/geteuid.c: Likewise.
11434         * sysdeps/unix/sysv/linux/arm/getgid.c: Likewise.
11435         * sysdeps/unix/sysv/linux/arm/getgroups.c: Likewise.
11436         * sysdeps/unix/sysv/linux/arm/getresgid.c: Likewise.
11437         * sysdeps/unix/sysv/linux/arm/getresuid.c: Likewise.
11438         * sysdeps/unix/sysv/linux/arm/getuid.c: Likewise.
11439         * sysdeps/unix/sysv/linux/i386/getegid.c: Likewise.
11440         * sysdeps/unix/sysv/linux/i386/geteuid.c: Likewise.
11441         * sysdeps/unix/sysv/linux/i386/getgid.c: Likewise.
11442         * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
11443         * sysdeps/unix/sysv/linux/i386/getresgid.c: Likewise.
11444         * sysdeps/unix/sysv/linux/i386/getresuid.c: Likewise.
11445         * sysdeps/unix/sysv/linux/i386/getuid.c: Likewise.
11446         * sysdeps/unix/sysv/linux/m68k/getegid.c: Likewise.
11447         * sysdeps/unix/sysv/linux/m68k/geteuid.c: Likewise.
11448         * sysdeps/unix/sysv/linux/m68k/getgid.c: Likewise.
11449         * sysdeps/unix/sysv/linux/m68k/getgroups.c: Likewise.
11450         * sysdeps/unix/sysv/linux/m68k/getresgid.c: Likewise.
11451         * sysdeps/unix/sysv/linux/m68k/getresuid.c: Likewise.
11452         * sysdeps/unix/sysv/linux/m68k/getuid.c: Likewise.
11453         * sysdeps/unix/sysv/linux/s390/s390-32/getegid.c: Likewise.
11454         * sysdeps/unix/sysv/linux/s390/s390-32/geteuid.c: Likewise.
11455         * sysdeps/unix/sysv/linux/s390/s390-32/getgid.c: Likewise.
11456         * sysdeps/unix/sysv/linux/s390/s390-32/getgroups.c: Likewise.
11457         * sysdeps/unix/sysv/linux/s390/s390-32/getresgid.c: Likewise.
11458         * sysdeps/unix/sysv/linux/s390/s390-32/getresuid.c: Likewise.
11459         * sysdeps/unix/sysv/linux/s390/s390-32/getuid.c: Likewise.
11460         * sysdeps/unix/sysv/linux/sh/getegid.c: Likewise.
11461         * sysdeps/unix/sysv/linux/sh/geteuid.c: Likewise.
11462         * sysdeps/unix/sysv/linux/sh/getgid.c: Likewise.
11463         * sysdeps/unix/sysv/linux/sh/getgroups.c: Likewise.
11464         * sysdeps/unix/sysv/linux/sh/getresgid.c: Likewise.
11465         * sysdeps/unix/sysv/linux/sh/getresuid.c: Likewise.
11466         * sysdeps/unix/sysv/linux/sh/getuid.c: Likewise.
11467         * sysdeps/unix/sysv/linux/sparc/sparc32/getegid.c: Likewise.
11468         * sysdeps/unix/sysv/linux/sparc/sparc32/geteuid.c: Likewise.
11469         * sysdeps/unix/sysv/linux/sparc/sparc32/getgid.c: Likewise.
11470         * sysdeps/unix/sysv/linux/sparc/sparc32/getgroups.c: Likewise.
11471         * sysdeps/unix/sysv/linux/sparc/sparc32/getuid.c: Likewise.
11472         * sysdeps/unix/sysv/linux/arm/syscalls.list (getegid): Add
11473         syscall.
11474         (geteuid): Likewise.
11475         (getgid): Likewise.
11476         (getuid): Likewise.
11477         (getresgid): Likewise.
11478         (getresuid): Likewise.
11479         (getgroups): Likewise.
11480         * sysdeps/unix/sysv/linux/i386/syscalls.list (getegid): Likewise.
11481         (geteuid): Likewise.
11482         (getgid): Likewise.
11483         (getuid): Likewise.
11484         (getresgid): Likewise.
11485         (getresuid): Likewise.
11486         (getgroups): Likewise.
11487         * sysdeps/unix/sysv/linux/m68k/syscalls.list (getegid): Likewise.
11488         (geteuid): Likewise.
11489         (getgid): Likewise.
11490         (getuid): Likewise.
11491         (getresgid): Likewise.
11492         (getresuid): Likewise.
11493         (getgroups): Likewise.
11494         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (getegid):
11495         Likewise.
11496         (geteuid): Likewise.
11497         (getgid): Likewise.
11498         (getuid): Likewise.
11499         (getresgid): Likewise.
11500         (getresuid): Likewise.
11501         (getgroups): Likewise.
11502         * sysdeps/unix/sysv/linux/sh/syscalls.list (getegid): Likewise.
11503         (geteuid): Likewise.
11504         (getgid): Likewise.
11505         (getuid): Likewise.
11506         (getresgid): Likewise.
11507         (getresuid): Likewise.
11508         (getgroups): Likewise.
11509         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (getegid):
11510         Likewise.
11511         (geteuid): Likewise.
11512         (getgid): Likewise.
11513         (getuid): Likewise.
11514         (getgroups): Likewise.
11516         [BZ #14138]
11517         * sysdeps/unix/sysv/linux/i386/chown.c: Remove file.
11518         * sysdeps/unix/sysv/linux/i386/fchown.c: Likewise.
11519         * sysdeps/unix/sysv/linux/i386/lchown.c: Likewise.
11520         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
11521         * sysdeps/unix/sysv/linux/s390/s390-32/fchown.c: Remove file.
11522         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Likewise.
11523         * sysdeps/unix/sysv/linux/sh/chown.c: Likewise.
11524         * sysdeps/unix/sysv/linux/sh/fchown.c: Likewise.
11525         * sysdeps/unix/sysv/linux/sh/lchown.c: Likewise.
11526         * sysdeps/unix/sysv/linux/sparc/sparc32/chown.c: Likewise.
11527         * sysdeps/unix/sysv/linux/sparc/sparc32/fchown.c: Likewise.
11528         * sysdeps/unix/sysv/linux/sparc/sparc32/lchown.c: Likewise.
11529         * sysdeps/unix/sysv/linux/s390/s390-32/Versions (GLIBC_2.1): Add
11530         __chown.
11531         * sysdeps/unix/sysv/linux/i386/syscalls.list (chown): Add syscall.
11532         (lchown): Likewise.
11533         (fchown): Likewise.
11534         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (chown):
11535         Likewise.
11536         (lchown): Likewise.
11537         (fchown): Likewise.
11538         * sysdeps/unix/sysv/linux/sh/syscalls.list (chown): Likewise.
11539         (lchown): Likewise.
11540         (fchown): Likewise.
11541         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (chown):
11542         Likewise.
11543         (lchown): Likewise.
11544         (fchown): Likewise.
11546 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
11548         * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept):
11549         Simplify logic.
11551 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
11553         * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
11554         Cleanup logic.
11556 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
11558         * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
11559         Remove unused include.
11561 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
11563         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Remove spaces.
11564         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Remove spaces.
11565         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Remove spaces.
11566         * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Remove spaces.
11568 2014-10-23  Carlos O'Donell  <carlos@systemhalted.org>
11569             Helge Deller <deller@gmx.de>
11571         [BZ #17508]
11572         * sysdeps/unix/sysv/linux/hppa/bits/signum.h: Remove SIGEMT.
11573         Define SIGSTKFLT as 7. Define SIGSYS as 31. Define SIGXCPU as 12.
11574         Remove SIGLOST. Define SIGXFSZ as 30. Define __SIGRTMIN as 32.
11576 2014-10-23  Joseph Myers  <joseph@codesourcery.com>
11578         [BZ #14132]
11579         * sysdeps/powerpc/powerpc32/libgcc-compat.S (__ashldi3_v_glibc20):
11580         Remove macro definition.
11581         (__ashrdi3_v_glibc20): Likewise.
11582         (__lshrdi3_v_glibc20): Likewise.
11583         (__cmpdi2_v_glibc20): Likewise.
11584         (__ucmpdi2_v_glibc20): Likewise.
11585         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixdfdi_v_glibc20): Likewise.
11586         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
11587         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
11588         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
11589         [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
11590         [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdisf_v_glibc20): Likewise.
11592 2014-10-22  Roland McGrath  <roland@hack.frob.com>
11594         * inet/netgroup.h (struct name_list): Use C99 [] syntax rather than
11595         old GNU extension [0] syntax.
11596         * nscd/nscd_helper.c (open_socket): Use a flexible array member and
11597         alloca rather than an array member with variable length.
11598         * nscd/netgroupcache.c (addgetnetgrentX): Likewise.
11599         * nscd/nscd.c (invalidate_db): New function, broken out of ...
11600         (parse_opt): ... here.  Likewise use alloca there.
11601         Validate the -i argument before checking for rootness.
11602         (send_shutdown): New function, broken out of ...
11603         (parse_opt): ... here.
11605 2014-10-22  Roland McGrath  <roland@hack.frob.com>
11607         * sysdeps/arm/__longjmp.S [NEED_HWCAP] [IS_IN_rtld]: Use LDST_PCREL
11608         macro to get at the _rt_local_ro field.
11609         [NEED_HWCAP] [!IS_IN_rtld]: Use LDR_GLOBAL to get at _rtld_global_ro
11610         ([PIC] case) or _dl_hwcap ([!PIC] case).
11611         * sysdeps/arm/setjmp.S: Likewise.
11613         * config.h.in (ARM_PCREL_MOVW_OK): New macro.
11614         * sysdeps/arm/configure.ac: New check to define it.
11615         * sysdeps/arm/configure: Regenerated.
11616         * sysdeps/arm/sysdep.h [__ASSEMBLER__]: Include <arm-features.h>.
11617         (LDST_INDEXED_NOINDEX, LDST_INDEXED_INDEX): New macros.
11618         (LDST_INDEXED, LDST_PC_INDEXED): New macros, differing definitions
11619         depending on [ARM_NO_INDEX_REGISTER] and [__thumb2__].
11620         (LDST_PCREL) [!__thumb2__ && ARCH_HAS_T2 && ARM_PCREL_MOVW_OK]:
11621         Use move/movt pair instead of a load.
11622         (LDST_GLOBAL): Macro removed.
11623         (LDR_GLOBAL): New macro replaces it.
11624         (LDR_HIDDEN): New macro.
11625         (PTR_MANGLE_LOAD): Use LDR_GLOBAL rather than LDST_GLOBAL.
11626         Use LDR_HIDDEN instead for __pointer_chk_guard_local.
11628         * setjmp/tst-setjmp-static.c: New file.
11629         * setjmp/Makefile (tests): Add it.
11630         (tests-static): New variable.
11632 2014-10-22  Maciej W. Rozycki  <macro@codesourcery.com>
11634         [BZ #17485]
11635         * sysdeps/unix/sysv/linux/mips/vfork.S (__libc_vfork): Define.
11637 2014-10-21  Joseph Myers  <joseph@codesourcery.com>
11639         [BZ #14132]
11640         * math/s_ldexpf.c (__ldexpf): Do not use INTDEF.
11642 2014-10-21  Roland McGrath  <roland@hack.frob.com>
11644         * nptl/version.c (__nptl_main): Call __libc_write, not __write.
11646 2014-10-20  Roland McGrath  <roland@hack.frob.com>
11648         * io/fts.c (dirent_not_directory): New function.
11649         (fts_build): Call it.
11651 2014-10-20  Roland McGrath  <roland@hack.frob.com>
11653         * nptl/version.c (__nptl_main): Use normal __write rather than
11654         INTERNAL_SYSCALL.
11655         (banner): Update copyright years.
11657         * nptl/pthread_rwlock_timedrdlock.c: #include <sys/time.h> before using
11658         gettimeofday.
11659         * nptl/pthread_rwlock_timedwrlock.c: Likewise.
11660         * nptl/pthread_cond_timedwait.c: Likewise.
11661         * nptl/pthread_mutex_timedlock.c: Likewise.
11662         * nptl/sem_timedwait.c: Likewise.
11664         * sysdeps/nptl/bits/libc-lock.h
11665         [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
11666         (__libc_lock_init_recursive): Return void, not 0.
11667         * sysdeps/nptl/bits/libc-lockP.h (__libc_lock_init): Likewise.
11668         (__libc_rwlock_init): Likewise.
11669         * sysdeps/nptl/bits/stdio-lock.h (_IO_lock_init): Likewise.
11671 2014-10-20  Torvald Riegel  <triegel@redhat.com>
11673         [BZ #15215]
11674         * nptl/pthread_once.c (__pthread_once): Split out fast path to ...
11675         (__pthread_once_slow): ... here.
11676         * sysdeps/unix/sysv/linux/i386/pthread_once.S: Remove file.
11677         * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Remove file.
11679 2014-10-20  Torvald Riegel  <triegel@redhat.com>
11681         [BZ #15215]
11682         * nptl/pthreadP.h (__PTHREAD_ONCE_INPROGRESS, __PTHREAD_ONCE_DONE,
11683         __PTHREAD_ONCE_FORK_GEN_INCR): New.
11684         * sysdeps/nptl/fork.c (__libc_fork): Use them.
11685         * nptl/pthread_once.c (__pthread_once): Likewise.
11686         Update comments.
11688 2014-10-20  Joseph Myers  <joseph@codesourcery.com>
11690         [BZ #14138]
11691         * sysdeps/unix/syscalls.list (readv): Use __libc_readv as strong
11692         name.
11693         (writev): Use __libc_writev as strong name.
11694         * sysdeps/unix/sysv/linux/readv.c: Remove file.
11695         * sysdeps/unix/sysv/linux/writev.c: Likewise.
11697 2014-10-17  Roland McGrath  <roland@hack.frob.com>
11699         * nptl/createthread.c (TLS_DEFINE_INIT_TP, TLS_VALUE): Macros removed.
11701         * sysdeps/i386/nptl/tls.h
11702         (THREAD_SELF_SYSINFO, THREAD_SYSINFO): Macros removed.
11703         [NEED_DL_SYSINFO] (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO):
11704         New macros.
11705         * sysdeps/ia64/nptl/tls.h [NEED_DL_SYSINFO]
11706         (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO): New macros.
11707         * nptl/allocatestack.c (allocate_stack) [NEED_DL_SYSINFO]:
11708         Call SETUP_THREAD_SYSINFO instead of doing an assignment.
11709         * nptl/createthread.c (create_thread) [NEED_DL_SYSINFO]:
11710         Call CHECK_THREAD_SYSINFO instead of doing an assert.
11712         * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
11713         Conditionalize FUTEX_PRIVATE_FLAG and FUTEX_CLOCK_REALTIME probes
11714         on [__NR_futex].
11715         * nptl/pthread_mutex_init.c (prio_inherit_missing): New function,
11716         broken out of ...
11717         (__pthread_mutex_init): ... here.  Call it.
11718         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full):
11719         Conditionalize PI cases on [__NR_futex].
11720         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock): Likewise.
11721         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Likewise.
11722         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
11724         * nptl/nptl-init.c (sighandler_setxid, __xidcmd): Make definitions
11725         conditional on [SIGSETXID].
11726         (sigcancel_handler): Make definition conditional on [SIGCANCEL].
11727         (__pthread_initialize_minimal_internal): Set up SIGCANCEL only if it
11728         is defined.  Likewise for SIGSETXID.
11729         * nptl/allocatestack.c (setxid_mark_thread, setxid_unmark_thread):
11730         Conditionalize definitions on [SIGSETXID].
11731         (setxid_signal_thread, __nptl_setxid_error, __nptl_setxid): Likewise.
11732         * nptl/pthread_create.c (start_thread): Conditionalize SIGCANCEL
11733         unblocking on [SIGCANCEL].
11735         * nptl/nptl-init.c (__nptl_set_robust): Conditionalize body on
11736         [__NR_set_robust_list].
11738 2014-10-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
11740         * string/strcoll_l.c (get_next_seq): Fix up formatting.
11741         (do_compare): Likewise.
11743 2014-10-17  Leonhard Holz  <leonhard.holz@web.de>
11745         [BZ #15884]
11746         * string/strcoll_l.c: Don't include stdio.h.
11747         (coll_seq): Remove members idxarr and rulearr.
11748         (get_next_seq_cached): Remove function.
11749         (get_next_seq): Likewise.
11750         (get_next_seq_nocache): Rename to get_next_seq.
11751         (do_compare): Remove function.
11752         (do_compare_nocache): Rename to do_compare.
11753         (STRCOLL): Remove weight and rules cache.
11755 2014-10-16  Roland McGrath  <roland@hack.frob.com>
11757         * sysdeps/arm/soft-fp/sfp-machine.h: Filed moved ...
11758         * sysdeps/arm/sfp-machine.h: ... to here.
11759         * sysdeps/arm/Implies: Remove arm/soft-fp.
11761 2014-10-14  Joseph Myers  <joseph@codesourcery.com>
11763         * conform/data/sys/utsname.h-data (*_t): Allow.
11764         * conform/data/sys/wait.h-data [POSIX] (uid_t): Do not define.
11765         [POSIX] (WEXITED): Do not expect constant.
11766         [POSIX] (WSTOPPED): Likewise.
11767         [POSIX] (WNOHANG): Likewise.
11768         [POSIX] (WNOWAIT): Likewise.
11769         [POSIX] (siginfo_t): Do not expect type or elements.
11770         [POSIX] (pid_t): Do not expect type.
11771         [POSIX] (signal.h): Do not allow header.
11772         [POSIX] (sys/resource.h): Likewise.
11773         [POSIX] (si_*): Do not allow pattern.
11774         [POSIX] (W*): Likewise.
11775         [POSIX] (P_*): Likewise.
11776         [POSIX] (BUS_*): Likewise.
11777         [POSIX] (CLD_*): Likewise.
11778         [POSIX] (FPE_*): Likewise.
11779         [POSIX] (ILL_*): Likewise.
11780         [POSIX] (POLL_*): Likewise.
11781         [POSIX] (SEGV_*): Likewise.
11782         [POSIX] (SI_*): Likewise.
11783         [POSIX] (TRAP_*): Likewise.
11784         * conform/Makefile (test-xfail-POSIX/sys/wait.h/conform): New
11785         variable.
11787 2014-10-14  Paul Pluzhnikov  <ppluzhnikov@google.com>
11789         [BZ #12926]
11790         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Avoid
11791         infinite loop when __recvmsg returns 0.
11793 2014-10-10  Joseph Myers  <joseph@codesourcery.com>
11795         * CANCEL-FCT-WAIVE: Remove file.
11796         * CANCEL-FILE-WAIVE: Likewise.
11798         [BZ #14132]
11799         * elf/dl-sysdep.c (__libc_enable_secure): Use rtld_hidden_data_def
11800         instead of INTVARDEF.
11801         (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
11802         * sysdeps/mach/hurd/dl-sysdep.c (__libc_enable_secure): Use
11803         rtld_hidden_data_def instead of INTVARDEF.
11804         (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
11805         * elf/dl-deps.c (expand_dst): Likewise.
11806         * elf/dl-load.c (_dl_dst_count): Likewise.
11807         (_dl_dst_substitute): Likewise.
11808         (decompose_rpath): Likewise.
11809         (_dl_init_paths): Likewise.
11810         (open_path): Likewise.
11811         (_dl_map_object): Likewise.
11812         * elf/rtld.c (dl_main): Likewise.
11813         (process_dl_audit): Likewise.
11814         (process_envvars): Likewise.
11815         * include/unistd.h [IS_IN_rtld] (__libc_enable_secure_internal):
11816         Remove declaration.
11817         (__libc_enable_secure): Use rtld_hidden_proto.
11819 2014-10-09  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
11821         * elf/dl-load.c
11822         (add_path): New function broken out of _dl_rtld_di_serinfo.
11823         (_dl_rtld_di_serinfo): Remove that nested function.  Update call sites.
11825 2014-10-09  Joseph Myers  <joseph@codesourcery.com>
11827         * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_D): Use
11828         parentheses around macro arguments.
11829         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_DP): Likewise.
11830         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_D): Likewise.
11831         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_DP): Likewise.
11832         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_D): Likewise.
11833         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_DP): Likewise.
11834         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_D): Likewise.
11835         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
11836         [_FP_W_TYPE_SIZE < 64] (FP_PACK_D): Likewise.
11837         [_FP_W_TYPE_SIZE < 64] (FP_PACK_DP): Likewise.
11838         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_D): Likewise.
11839         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_DP): Likewise.
11840         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_D): Likewise.
11841         [_FP_W_TYPE_SIZE < 64] (FP_CMP_D): Likewise.
11842         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_D): Likewise.
11843         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_D): Likewise.
11844         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_D): Likewise.
11845         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_D): Likewise.
11846         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_D): Likewise.
11847         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_DP): Likewise.
11848         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_D): Likewise.
11849         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_DP): Likewise.
11850         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_D): Likewise.
11851         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_DP): Likewise.
11852         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_D): Likewise.
11853         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
11854         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_D): Likewise.
11855         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_DP): Likewise.
11856         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_D): Likewise.
11857         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_DP): Likewise.
11858         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_D): Likewise.
11859         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_D): Likewise.
11860         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_D): Likewise.
11861         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_D): Likewise.
11862         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_D): Likewise.
11863         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_D): Likewise.
11864         * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_E):
11865         Likewise.
11866         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_EP): Likewise.
11867         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_E): Likewise.
11868         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
11869         [_FP_W_TYPE_SIZE < 64] (FP_PACK_E): Likewise.
11870         [_FP_W_TYPE_SIZE < 64] (FP_PACK_EP): Likewise.
11871         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_E): Likewise.
11872         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_EP): Likewise.
11873         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_E): Likewise.
11874         [_FP_W_TYPE_SIZE < 64] (FP_CMP_E): Likewise.
11875         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_E): Likewise.
11876         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_E): Likewise.
11877         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_E): Likewise.
11878         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_E): Likewise.
11879         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_E): Likewise.
11880         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_EP): Likewise.
11881         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_E): Likewise.
11882         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
11883         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_E): Likewise.
11884         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_EP): Likewise.
11885         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_E): Likewise.
11886         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_EP): Likewise.
11887         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_E): Likewise.
11888         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_E): Likewise.
11889         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_E): Likewise.
11890         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_E): Likewise.
11891         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_E): Likewise.
11892         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_E): Likewise.
11893         * soft-fp/op-1.h (_FP_FRAC_SRST_1): Likewise.
11894         (_FP_FRAC_SRS_1): Likewise.
11895         (_FP_FRAC_CLZ_1): Likewise.
11896         (_FP_MUL_MEAT_1_imm): Likewise.
11897         (_FP_MUL_MEAT_1_wide): Likewise.
11898         (_FP_MUL_MEAT_1_hard): Likewise.
11899         (_FP_SQRT_MEAT_1): Likewise.
11900         (_FP_FRAC_ASSEMBLE_1): Likewise.
11901         (_FP_FRAC_DISASSEMBLE_1): Likewise.
11902         * soft-fp/op-2.h (_FP_FRAC_CLZ_2): Likewise.
11903         (__FP_CLZ_2): Likewise.
11904         (_FP_MUL_MEAT_2_wide): Likewise.
11905         (_FP_MUL_MEAT_2_wide_3mul): Likewise.
11906         (_FP_MUL_MEAT_2_gmp): Likewise.
11907         (_FP_MUL_MEAT_2_120_240_double): Likewise.
11908         (_FP_SQRT_MEAT_2): Likewise.
11909         (_FP_FRAC_ASSEMBLE_2): Likewise.
11910         (_FP_FRAC_DISASSEMBLE_2): Likewise.
11911         * soft-fp/op-4.h (_FP_FRAC_SRS_4): Likewise.
11912         (_FP_FRAC_CLZ_4): Likewise.
11913         (_FP_MUL_MEAT_4_wide): Likewise.
11914         (_FP_MUL_MEAT_4_gmp): Likewise.
11915         (_FP_SQRT_MEAT_4): Likewise.
11916         (_FP_FRAC_ASSEMBLE_4): Likewise.
11917         (_FP_FRAC_DISASSEMBLE_4): Likewise.
11918         * soft-fp/op-common.h (_FP_CMP): Likewise.
11919         (_FP_CMP_EQ): Likewise.
11920         (_FP_CMP_UNORD): Likewise.
11921         (_FP_TO_INT): Likewise.
11922         (_FP_FROM_INT): Likewise.
11923         [!__FP_CLZ] (__FP_CLZ): Likewise.
11924         (_FP_DIV_HELP_imm): Likewise.
11925         * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_Q):
11926         Likewise.
11927         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_QP): Likewise.
11928         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_Q): Likewise.
11929         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_QP): Likewise.
11930         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_Q): Likewise.
11931         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_QP): Likewise.
11932         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
11933         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
11934         [_FP_W_TYPE_SIZE < 64] (FP_PACK_Q): Likewise.
11935         [_FP_W_TYPE_SIZE < 64] (FP_PACK_QP): Likewise.
11936         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_Q): Likewise.
11937         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_QP): Likewise.
11938         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_Q): Likewise.
11939         [_FP_W_TYPE_SIZE < 64] (FP_CMP_Q): Likewise.
11940         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_Q): Likewise.
11941         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_Q): Likewise.
11942         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_Q): Likewise.
11943         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_Q): Likewise.
11944         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_Q): Likewise.
11945         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_QP): Likewise.
11946         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_Q): Likewise.
11947         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_QP): Likewise.
11948         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_Q): Likewise.
11949         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_QP): Likewise.
11950         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
11951         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
11952         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_Q): Likewise.
11953         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_QP): Likewise.
11954         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_Q): Likewise.
11955         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_QP): Likewise.
11956         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_Q): Likewise.
11957         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_Q): Likewise.
11958         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_Q): Likewise.
11959         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_Q): Likewise.
11960         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_Q): Likewise.
11961         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_Q): Likewise.
11962         * soft-fp/single.h (FP_UNPACK_RAW_S): Likewise.
11963         (FP_UNPACK_RAW_SP): Likewise.
11964         (FP_PACK_RAW_S): Likewise.
11965         (FP_PACK_RAW_SP): Likewise.
11966         (FP_UNPACK_S): Likewise.
11967         (FP_UNPACK_SP): Likewise.
11968         (FP_UNPACK_SEMIRAW_S): Likewise.
11969         (FP_UNPACK_SEMIRAW_SP): Likewise.
11970         (FP_PACK_S): Likewise.
11971         (FP_PACK_SP): Likewise.
11972         (FP_PACK_SEMIRAW_S): Likewise.
11973         (FP_PACK_SEMIRAW_SP): Likewise.
11974         (_FP_SQRT_MEAT_S): Likewise.
11975         (FP_CMP_S): Likewise.
11976         (FP_CMP_EQ_S): Likewise.
11977         (FP_CMP_UNORD_S): Likewise.
11978         (FP_TO_INT_S): Likewise.
11979         (FP_FROM_INT_S): Likewise.
11981         * soft-fp/op-common.h (_FP_TO_INT): Handle rsigned == 2.
11983         * soft-fp/soft-fp.h (FP_EX_INVALID_SNAN): New macro.
11984         (FP_EX_INVALID_IMZ): Likewise.
11985         (FP_EX_INVALID_IMZ_FMA): Likewise.
11986         (FP_EX_INVALID_ISI): Likewise.
11987         (FP_EX_INVALID_ZDZ): Likewise.
11988         (FP_EX_INVALID_IDI): Likewise.
11989         (FP_EX_INVALID_SQRT): Likewise.
11990         (FP_EX_INVALID_CVI): Likewise.
11991         (FP_EX_INVALID_VC): Likewise.
11992         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Specify more precise
11993         "invalid" exceptions.
11994         (_FP_CHECK_SIGNAN_SEMIRAW): Likewise.
11995         (_FP_ADD_INTERNAL): Likewise.
11996         (_FP_MUL): Likewise.
11997         (_FP_FMA): Likewise.
11998         (_FP_DIV): Likewise.
11999         (_FP_CMP_CHECK_NAN): Likewise.
12000         (_FP_SQRT): Likewise.
12001         (_FP_TO_INT): Likewise.
12002         (FP_EXTEND): Likewise.
12004 2014-10-09  Allan McRae  <allan@archlinux.org>
12006         * po/fr.po: Update French translation from translation project.
12008 2014-10-09  Joseph Myers  <joseph@codesourcery.com>
12010         [BZ #14132]
12011         * stdlib/cxa_atexit.c (__cxa_atexit): Use libc_hidden_def instead
12012         of INTDEF.
12013         * include/stdlib.h (__cxa_atexit_internal): Remove declaration.
12014         (__cxa_atexit): Use libc_hidden_proto.
12015         [!NOT_IN_libc] (__cxa_atexit): Remove macro definition.
12017         [BZ #14132]
12018         * include/wctype.h [!_ISOMAC] (__iswalpha_l_internal): Remove
12019         declaration.
12020         [!_ISOMAC] (__iswdigit_l_internal): Likewise.
12021         [!_ISOMAC] (__iswspace_l_internal): Likewise.
12022         [!_ISOMAC] (__iswxdigit_l_internal): Likewise.
12023         [!_ISOMAC] (__iswctype_internal): Likewise.
12024         * stdio-common/siglist.c (_sys_siglist_internal): Remove alias.
12025         * sysdeps/unix/syscalls.list (chown): Remove __chown_internal
12026         alias.
12027         (fcntl): Remove __fcntl_internal alias.
12028         * sysdeps/unix/sysv/linux/hppa/syscalls.list (connect): Remove
12029         __connect_internal alias.
12030         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (connect):
12031         Likewise.
12033         * soft-fp/soft-fp.h (FP_DENORM_ZERO): New macro.
12034         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Check
12035         FP_DENORM_ZERO.
12036         (_FP_CHECK_FLUSH_ZERO): New macro.
12037         (_FP_ADD_INTERNAL): Call _FP_CHECK_FLUSH_ZERO.
12038         (_FP_CMP): Likewise.
12039         (_FP_CMP_EQ): Likewise.
12040         (_FP_TO_INT): Do not set inexact for subnormal arguments if
12041         FP_DENORM_ZERO.
12042         (FP_EXTEND): Call _FP_CHECK_FLUSH_ZERO.
12043         (FP_TRUNC): Likewise.
12045         * soft-fp/op-common.h (_FP_TO_INT): Ensure maximum exponent is
12046         treated as invalid conversion, not as normal exponent.
12048         * soft-fp/op-common.h (_FP_CMP_CHECK_NAN): New macro.
12049         (_FP_CMP): Add extra argument EX.  Call _FP_CMP_CHECK_NAN.
12050         (_FP_CMP_EQ): Likewise.
12051         (_FP_CMP_UNORD): Likewise.
12052         * soft-fp/double.h (FP_CMP_D): Add extra argument EX.
12053         (FP_CMP_EQ_D): Likewise.
12054         (FP_CMP_UNORD_D): Likewise.
12055         * soft-fp/extended.h (FP_CMP_E): Likewise.
12056         (FP_CMP_EQ_E): Likewise.
12057         (FP_CMP_UNORD_E): Likewise.
12058         * soft-fp/quad.h (FP_CMP_Q): Likewise.
12059         (FP_CMP_EQ_Q): Likewise.
12060         (FP_CMP_UNORD_Q): Likewise.
12061         * soft-fp/single.h (FP_CMP_S): Likewise.
12062         (FP_CMP_EQ_S): Likewise.
12063         (FP_CMP_UNORD_S): Likewise.
12064         * soft-fp/eqdf2.c (__eqdf2): Update call to FP_CMP_EQ_D.
12065         * soft-fp/eqsf2.c (__eqsf2): Update call to FP_CMP_EQ_S.
12066         * soft-fp/eqtf2.c (__eqtf2): Update call to FP_CMP_EQ_Q.
12067         * soft-fp/gedf2.c (__gedf2): Update call to FP_CMP_D.
12068         * soft-fp/gesf2.c (__gesf2): Update call to FP_CMP_S.
12069         * soft-fp/getf2.c (__getf2): Update call to FP_CMP_Q.
12070         * soft-fp/ledf2.c (__ledf2): Update call to FP_CMP_D.
12071         * soft-fp/lesf2.c (__lesf2): Update call to FP_CMP_S.
12072         * soft-fp/letf2.c (__letf2): Update call to FP_CMP_Q.
12073         * soft-fp/unorddf2.c (__unorddf2): Update call to FP_CMP_UNORD_D.
12074         * soft-fp/unordsf2.c (__unordsf2): Update call to FP_CMP_UNORD_S.
12075         * soft-fp/unordtf2.c (__unordtf2): Update call to FP_CMP_UNORD_Q.
12076         * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Update call
12077         to FP_CMP_Q.
12078         * sysdeps/sparc/sparc32/soft-fp/q_cmp.c (_Q_cmp): Update call to
12079         FP_CMP_Q.
12080         * sysdeps/sparc/sparc32/soft-fp/q_cmpe.c (_Q_cmpe): Likewise.
12081         * sysdeps/sparc/sparc32/soft-fp/q_feq.c (_Q_feq): Update call to
12082         FP_CMP_EQ_Q.
12083         * sysdeps/sparc/sparc32/soft-fp/q_fge.c (_Q_fge): Update call to
12084         FP_CMP_Q.
12085         * sysdeps/sparc/sparc32/soft-fp/q_fgt.c (_Q_fgt): Likewise.
12086         * sysdeps/sparc/sparc32/soft-fp/q_fle.c (_Q_fle): Likewise.
12087         * sysdeps/sparc/sparc32/soft-fp/q_flt.c (_Q_flt): Likewise.
12088         * sysdeps/sparc/sparc32/soft-fp/q_fne.c (_Q_fne): Update call to
12089         FP_CMP_EQ_Q.
12090         * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c (_Qp_cmp): Update call to
12091         FP_CMP_Q.
12092         * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c (_Qp_cmpe): Likewise.
12093         * sysdeps/sparc/sparc64/soft-fp/qp_feq.c (_Qp_feq): Update call to
12094         FP_CMP_EQ_Q.
12095         * sysdeps/sparc/sparc64/soft-fp/qp_fge.c (_Qp_fge): Update call to
12096         FP_CMP_Q.
12097         * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c (_Qp_fgt): Likewise.
12098         * sysdeps/sparc/sparc64/soft-fp/qp_fle.c (_Qp_fle): Likewise.
12099         * sysdeps/sparc/sparc64/soft-fp/qp_flt.c (_Qp_flt): Likewise.
12100         * sysdeps/sparc/sparc64/soft-fp/qp_fne.c (_Qp_fne): Update call to
12101         FP_CMP_EQ_Q.
12103         * soft-fp/op-common.h (FP_EXTEND): When a subnormal input produces
12104         a subnormal result, set the underflow exception if trapping on
12105         underflow is enabled.
12106         * soft-fp/soft-fp.h (FP_INIT_TRAPPING_EXCEPTIONS): New macro.
12107         (FP_INIT_EXCEPTIONS): Default to FP_INIT_TRAPPING_EXCEPTIONS.
12108         [FP_NO_EXACT_UNDERFLOW] (FP_TRAPPING_EXCEPTIONS): Undefine and
12109         redefine to 0.
12110         * soft-fp/extenddftf2.c (FP_NO_EXACT_UNDERFLOW): Define.
12111         * soft-fp/extendsfdf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
12112         * soft-fp/extendsftf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
12113         * soft-fp/extendxftf2.c (__extendxftf2): Use
12114         FP_INIT_TRAPPING_EXCEPTIONS instead of FP_INIT_ROUNDMODE.
12116         * soft-fp/soft-fp.h (FP_CLEAR_EXCEPTIONS): Remove macro.
12117         * sysdeps/sparc/sparc32/soft-fp/q_itoq.c: Define FP_NO_EXCEPTIONS.
12118         (_Q_itoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
12119         FP_HANDLE_EXCEPTIONS.
12120         * sysdeps/sparc/sparc32/soft-fp/q_lltoq.c: Define FP_NO_EXCEPTIONS.
12121         (_Q_lltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
12122         FP_HANDLE_EXCEPTIONS.
12123         * sysdeps/sparc/sparc32/soft-fp/q_ulltoq.c: Define FP_NO_EXCEPTIONS.
12124         (_Q_ulltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
12125         FP_HANDLE_EXCEPTIONS.
12126         * sysdeps/sparc/sparc32/soft-fp/q_utoq.c: Define FP_NO_EXCEPTIONS.
12127         (_Q_utoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
12128         FP_HANDLE_EXCEPTIONS.
12130 2014-10-08  Joseph Myers  <joseph@codesourcery.com>
12132         [BZ #14132]
12133         * sysdeps/unix/sysv/linux/include/sys/timex.h: New file.
12134         * sysdeps/unix/sysv/linux/adjtime.c [!ADJTIMEX] (ADJTIMEX): Do not
12135         use INTUSE.
12136         [!ADJTIMEX] (INTUSE(__adjtimex)): Remove declaration.
12137         * sysdeps/unix/sysv/linux/alpha/adjtime.c (__adjtimex_internal):
12138         Remove alias.
12139         (__adjtimex): Define using libc_hidden_ver.
12140         * sysdeps/unix/sysv/linux/ntp_gettime.c (INTUSE(__adjtimex)):
12141         Remove declaration.
12142         (ntp_gettime): Call __adjtimex directly.
12143         * sysdeps/unix/sysv/linux/ntp_gettimex.c (INTUSE(__adjtimex)):
12144         Remove declaration.
12145         (ntp_gettimex): Call __adjtimex directly.
12146         * sysdeps/unix/sysv/linux/syscalls.list (adjtimex): Remove
12147         __adjtimex_internal alias.
12149 2014-10-08  Roland McGrath  <roland@hack.frob.com>
12151         [BZ #17460]
12152         * nscd/nscd.c (more_help): Rewrite list of tables collection
12153         using xstrdup and asprintf.
12155         * nscd/nscd_conf.c: Remove local xstrdup declaration.
12157 2014-10-08  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
12158             Roland McGrath  <roland@hack.frob.com>
12160         * elf/dl-lookup.c (enter_unique_sym): New function, broken out of ...
12161         (do_lookup_unique): ... local function 'enter' here; update callers.
12163 2014-10-06  Joseph Myers  <joseph@codesourcery.com>
12165         * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Condition
12166         compat_symbol calls on [SHARED].
12167         * sysdeps/unix/sysv/linux/powerpc/lchown.S: Remove file.
12168         * sysdeps/unix/sysv/linux/i386/syscalls.list (oldsetrlimit):
12169         Remove.
12170         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
12171         * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list
12172         (oldsetrlimit): Remove.
12173         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
12174         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
12175         (lchown): New syscall entry.
12176         (oldsetrlimit): Remove.
12177         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
12178         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list
12179         (oldsetrlimit): Remove.
12180         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
12182         [BZ #14138]
12183         * sysdeps/unix/sysv/linux/arm/fchown.c: Remove file.
12184         * sysdeps/unix/sysv/linux/arm/lchown.c: Likewise.
12185         * sysdeps/unix/sysv/linux/m68k/fchown.c: Likewise.
12186         * sysdeps/unix/sysv/linux/m68k/lchown.c: Likewise.
12187         * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
12188         * sysdeps/unix/sysv/linux/arm/syscalls.list (lchown): Add syscall.
12189         (fchown): Likewise.
12190         * sysdeps/unix/sysv/linux/m68k/syscalls.list (lchown): Likewise.
12191         (fchown): Likewise.
12192         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list (chown):
12193         Likewise.
12195 2014-10-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12197         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Remove file.
12198         * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c
12199         (pthread_spin_unlock): Use __ARCH_REL_INSTR instead of
12200         __lll_rel_instr and __ARCH_ACQ_INSTR instead of __lll_acq_instr.
12201         * sysdeps/unix/sysv/linux/powerpc/sem_post.c (__new_sem_post):
12202         Likewise.
12203         (__old_sem_post): Likewise.
12205 2014-10-06  Chris Metcalf  <cmetcalf@tilera.com>
12207         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Define
12208         INLINE_VSYSCALL, INTERNAL_VSYSCALL, and
12209         HAVE_CLOCK_GETTIME_VSYSCALL macros.
12210         * sysdeps/unix/sysv/linux/tile/gettimeofday.c (__gettimeofday):
12211         Use INLINE_VSYSCALL macro.
12212         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso: Add declaration of
12213         __vdso_clock_gettime.
12214         * sysdeps/unix/sysv/linux/tile/init-first.c
12215         (_libc_vdso_platform_setup): Set new __vdso_clock_gettime global.
12216         * sysdeps/unix/sysv/linux/tile/Versions (GLIBC_PRIVATE): Add
12217         __vdso_clock_gettime.
12219         * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Fix code
12220         to set up frame more cleanly.
12222         * sysdeps/tile/memcmp.c: New file.
12224         * sysdeps/unix/sysv/linux/tile/sysconf.c: New file.
12226         * sysdeps/tile/tilegx/string-endian.h (STRSHIFT): New macro.
12227         * sysdeps/tile/tilegx/strcasestr.c: New file.
12228         * sysdeps/tile/tilegx/strnlen.c: New file.
12229         * sysdeps/tile/tilegx/strstr.c: New file.
12231         * sysdeps/tile/tilegx/string-endian.h (copy_byte): Optimize.
12233 2014-10-06  Arjun Shankar  <arjun.is@lostca.se>
12235         * nptl/tst-setuid3.c: Write errors to stdout.
12237 2014-10-01  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
12239         * elf/dl-deps.c
12240         (preload): New functions broken out of _dl_map_object_deps.
12241         (_dl_map_object_deps):  Remove a nested function. Update call sites.
12243 2014-10-01  Joseph Myers  <joseph@codesourcery.com>
12245         [BZ #14138]
12246         * sysdeps/unix/sysv/linux/execve.c: Remove file.
12247         * sysdeps/unix/sysv/linux/syscalls.list (execve): Add syscall.
12249 2014-10-01  Steve Ellcey  <sellcey@mips.com>
12251         * sysdeps/mips/strcmp.S: New.
12253 2014-09-30  Joseph Myers  <joseph@codesourcery.com>
12255         [BZ #14138]
12256         * sysdeps/unix/sysv/linux/syscalls.list (fchownat): New syscall.
12257         (linkat): Likewise.
12258         (mkdirat): Likewise.
12259         (readlinkat): Likewise.
12260         (renameat): Likewise.
12261         (symlinkat): Likewise.
12262         (unlinkat): Likewise.
12263         * sysdeps/unix/sysv/linux/fchownat.c: Remove file.
12264         * sysdeps/unix/sysv/linux/linkat.c: Likewise.
12265         * sysdeps/unix/sysv/linux/mkdirat.c: Likewise.
12266         * sysdeps/unix/sysv/linux/readlinkat.c: Likewise.
12267         * sysdeps/unix/sysv/linux/renameat.c: Likewise.
12268         * sysdeps/unix/sysv/linux/symlinkat.c: Likewise.
12269         * sysdeps/unix/sysv/linux/unlinkat.c: Likewise.
12271 2014-09-30  Will Newton  <will.newton@linaro.org>
12273         * math/math.h: Define long double math functions if
12274         _LIBC_TEST is defined.
12275         * stdlib/tst-strtod-round.c: Define _LIBC_TEST.
12277         * localedata/Makefile: Move assignment to tests-special
12278         into an ifdef testing run-built-tests.
12279         * timezone/Makefile: Likewise.
12281 2014-09-29  Joseph Myers  <joseph@codesourcery.com>
12283         * sysdeps/x86/Makefile ($(objpfx)tst-ld-sse-use.out): Run script
12284         with $(BASH) not $(SHELL).
12286 2014-09-29  Carlos O'Donell  <carlos@redhat.com>
12287             Matthew LeGendre  <legendre1@llnl.gov>
12289         [BZ #17411]
12290         * elf/dl-reloc.c (_dl_relocate_object): Allocate correct amount for
12291         l_reloc_result.
12293 2014-09-29  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
12295         * stdio-common/printf_fp.c
12296         (hack_digit): New function, broken out of ...
12297         (__printf_fp): ... local function here.  Update call sites.
12298         hack_digit now takes an additional parameter that is a pointer
12299         to a struct of the referenced locals.  Those locals moved inside
12300         the struct and references updated.
12302 2014-09-29  H.J. Lu  <hongjiu.lu@intel.com>
12304         * aclocal.m4: Require autoconf 2.69.
12305         * configure: Regenerated.
12306         * sysdeps/aarch64/configure: Likewise.
12307         * sysdeps/alpha/configure: Likewise.
12308         * sysdeps/arm/armv7/configure: Likewise.
12309         * sysdeps/arm/configure: Likewise.
12310         * sysdeps/ia64/configure: Likewise.
12311         * sysdeps/mach/configure: Likewise.
12312         * sysdeps/mips/configure: Likewise.
12313         * sysdeps/s390/configure: Likewise.
12314         * sysdeps/unix/sysv/linux/mips/configure: Likewise.
12315         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Likewise.
12317         * sysdeps/alpha/configure.ac: Avoid empty lines at the end of
12318         file.
12319         * sysdeps/ia64/configure.ac: Likewise.
12321 2014-09-26  Joseph Myers  <joseph@codesourcery.com>
12323         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Do not
12324         specify symbol version for ld.so.  Do not include entry for
12325         libpthread.
12326         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
12327         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
12328         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
12330         [BZ #14171]
12331         * Makeconfig [$(build-shared) = yes]
12332         ($(common-objpfx)soversions.mk): Don't handle SONAMEs specified in
12333         makefiles.
12334         [$(build-shared) = yes && $(soversions.mk-done) = t]
12335         ($(common-objpfx)gnu/lib-names.h): Remove rule.
12336         [$(build-shared) = yes && $(soversions.mk-done) = t]
12337         ($(common-objpfx)gnu/lib-names.stmp): Likewise.  Split and moved
12338         to Makerules.
12339         [$(build-shared) = yes && $(soversions.mk-done) = t]
12340         (before-compile): Don't append $(common-objpfx)gnu/lib-names.h
12341         here.
12342         [$(build-shared) = yes && $(soversions.mk-done) = t]
12343         (common-generated): Don't append gnu/lib-names.h and
12344         gnu/lib-names.stmp here.
12345         * Makerules [$(build-shared) = yes && $(soversions.mk-done) = t]
12346         (lib-names-h-abi): New variable.
12347         [$(build-shared) = yes && $(soversions.mk-done) = t]
12348         (lib-names-stmp-abi): Likewise.
12349         [$(build-shared) = yes && $(soversions.mk-done) = t &&
12350         abi-variants] (before-compile): Append
12351         $(common-objpfx)$(lib-names-h-abi).
12352         [$(build-shared) = yes && $(soversions.mk-done) = t &&
12353         abi-variants] (common-generated): Append gnu/lib-names.h.
12354         [$(build-shared) = yes && $(soversions.mk-done) = t &&
12355         abi-variants] (install-others-nosubdir): Depend on
12356         $(inst_includedir)/$(lib-names-h-abi).
12357         [$(build-shared) = yes && $(soversions.mk-done) = t &&
12358         abi-variants] ($(common-objpfx)gnu/lib-names.h): New rule.
12359         [$(build-shared) = yes && $(soversions.mk-done) = t]
12360         ($(common-objpfx)$(lib-names-h-abi)): New rule.
12361         [$(build-shared) = yes && $(soversions.mk-done) = t]
12362         ($(common-objpfx)$(lib-names-stmp-abi)): Likewise.
12363         [$(build-shared) = yes && $(soversions.mk-done) = t]
12364         (common-generated): Append $(lib-names-h-abi) and
12365         $(lib-names-stmp-abi).
12366         * scripts/lib-names.awk: Do not handle multi being set.
12367         * sysdeps/unix/sysv/linux/aarch64/Makefile (abi-lp64-ld-soname):
12368         Remove variable.
12369         (abi-lp64_be-ld-soname): Likewise.
12370         * sysdeps/unix/sysv/linux/arm/Makefile (abi-soft-ld-soname):
12371         Likewise.
12372         (abi-hard-ld-soname): Likewise.
12373         * sysdeps/unix/sysv/linux/i386/shlib-versions: New file.
12374         * sysdeps/unix/sysv/linux/mips/Makefile (abi-o32_soft-ld-soname):
12375         Remove variable.
12376         (abi-o32_hard-ld-soname): Likewise.
12377         (abi-o32_soft_2008-ld-soname): Likewise.
12378         (abi-o32_hard_2008-ld-soname): Likewise.
12379         (abi-n32_soft-ld-soname): Likewise.
12380         (abi-n32_hard-ld-soname): Likewise.
12381         (abi-n32_soft_2008-ld-soname): Likewise.
12382         (abi-n32_hard_2008-ld-soname): Likewise.
12383         (abi-n64_soft-ld-soname): Likewise.
12384         (abi-n64_hard-ld-soname): Likewise.
12385         (abi-n64_soft_2008-ld-soname): Likewise.
12386         (abi-n64_hard_2008-ld-soname): Likewise.
12387         * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-64-v1-ld-soname):
12388         Likewise.
12389         (abi-64-v2-ld-soname): Likewise.
12390         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Add
12391         ld.so entries.
12392         * sysdeps/unix/sysv/linux/s390/Makefile (abi-64-ld-soname): Remove
12393         variable.
12394         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Add ld.so
12395         entry.
12396         * sysdeps/unix/sysv/linux/x86/Makefile (abi-32-ld-soname): Remove
12397         variable.
12398         (abi-64-ld-soname): Likewise.
12399         (abi-x32-ld-soname): Likewise.
12400         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Add ld.so
12401         entry.
12402         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
12404 2014-09-23  Joseph Myers  <joseph@codesourcery.com>
12406         [BZ #14138]
12407         * sysdeps/unix/sysv/linux/arm/setrlimit.c: Remove file.
12408         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Likewise.
12409         * sysdeps/unix/sysv/linux/m68k/setrlimit.c: Likewise.
12410         * sysdeps/unix/sysv/linux/powerpc/setrlimit.c: Likewise.
12411         * sysdeps/unix/sysv/linux/s390/s390-32/setrlimit.c: Likewise.
12412         * sysdeps/unix/sysv/linux/sh/setrlimit.c: Likewise.
12413         * sysdeps/unix/sysv/linux/i386/syscalls.list (setrlimit): Add
12414         syscall entry for GLIBC_2.2 symbol version.
12415         * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list (setrlimit):
12416         Likewise.
12417         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
12418         (setrlimit): Likewise.
12419         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setrlimit):
12420         Likewise.
12422 2014-09-23  Will Newton  <will.newton@linaro.org>
12424         * sysdeps/unix/sysv/linux/arm/bits/hwcap.h: Check for
12425         _LINUX_ARM_SYSDEP_H include guard too.
12426         * sysdeps/unix/sysv/linux/arm/sysdep.h (_SYS_AUXV_H): Remove
12427         define.
12429 2014-09-20  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
12431         * sysdeps/unix/sysv/linux/eventfd.c:
12432         Make first argument unsigned.
12433         * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h: Likewise.
12434         * sysdeps/unix/sysv/linux/sys/eventfd.h: Likewise.
12436 2014-09-20  Ondřej Bílka  <neleai@seznam.cz>
12438         * socket/recvmmsg.c (recvmmsg): Drop const argument.
12439         * socket/sys/socket.h: Likewise
12440         * sysdeps/unix/sysv/linux/recvmmsg.c: Likewise.
12442 2014-09-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
12444         * stdlib/longlong.h: Add __udiv_w_sdiv prototype.
12446 2014-09-17  Arjun Shankar  <arjun.is@lostca.se>
12448         * time/tst-ftime.c: New test.
12449         * time/Makefile (tests): Add tst-ftime.
12451 2014-09-17  Joseph Myers  <joseph@codesourcery.com>
12453         * soft-fp/extended.h: Fix comment formatting.
12454         * soft-fp/op-1.h: Likewise.
12455         * soft-fp/op-2.h: Likewise.
12456         * soft-fp/op-4.h: Likewise.
12457         * soft-fp/op-8.h: Likewise.
12458         * soft-fp/op-common.h: Likewise.
12459         * soft-fp/soft-fp.h: Likewise.
12461         * soft-fp/op-common.h (_FP_TO_INT): Correct formatting.
12463 2014-09-16  Joseph Myers  <joseph@codesourcery.com>
12465         [BZ #6652]
12466         * Makeconfig (soversions-default-setname): Remove variable.
12467         ($(common-objpfx)soversions.i): Don't pass default_setname to
12468         soversions.awk.
12469         * Makerules ($(common-objpfx)abi-versions.h): Don't pass
12470         oldest_abi to abi-versions.awk.
12471         * config.h.in (GLIBC_OLDEST_ABI): Remove macro undefine.
12472         * config.make.in (oldest-abi): Remove variable.
12473         * configure.ac (--enable-oldest-abi): Remove configure option.
12474         * configure: Regenerated.
12475         * csu/version.c (banner) [GLIBC_OLDEST_ABI]: Remove conditional
12476         text.
12477         * scripts/abi-versions.awk: Do not handle oldest_abi variable.
12478         * scripts/soversions.awk: Do not handle default_setname variable.
12479         * sysdeps/mach/hurd/configure.ac: Do not handle oldest_abi
12480         variable.
12481         * sysdeps/mach/hurd/configure: Regenerated.
12482         * sysdeps/unix/sysv/linux/configure.ac: Do not handle oldest_abi
12483         variable.
12484         * sysdeps/unix/sysv/linux/configure: Regenerated.
12486 2014-09-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
12488         * elf/Makefile (CFLAGS-interp.c): Remove.
12489         ($(elf-objpfx)runtime-linker.h): Generate header with linker
12490         path string.
12491         * elf/interp.c: Include generated runtime-linker.h
12493         * Makerules (lib%.so): Don't include $(+interp) in
12494         prerequisites.
12495         * elf/Makefile (CFLAGS-interp.c): Don't define NOT_IN_libc.
12496         * dlfcn/eval.c: Remove file.
12498         * posix/getconf.c (vars): Don't check for _[SP]C_* and _CS
12499         macros.
12501         [BZ #17266]
12502         * misc/sys/cdefs.h: Define __extern_always_inline for clang
12503         4.2 and newer.
12505         [BZ #17370]
12506         * libio/wfileops.c (do_ftell_wide): Free OUT on error path.
12508 2014-09-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
12509             Jakub Jelinek  <jakub@redhat.com>
12511         [BZ #17266]
12512         * libio/stdio.h: Check definition of __fortify_function
12513         instead of __extern_always_inline to include bits/stdio2.h.
12514         * math/bits/math-finite.h [__USE_XOPEN || __USE_ISOC99]: Also
12515         check if __extern_always_inline is defined.
12516         [__USE_MISC || __USE_XOPEN]: Likewise.
12517         [__USE_ISOC99] Likewise.
12518         * misc/sys/cdefs.h (__fortify_function): Define only if
12519         __extern_always_inline is defined.
12520         [!__cplusplus || __GNUC_PREREQ (4,3)]: Revert to defining
12521         __extern_always_inline and __extern_inline only for g++-4.3
12522         and newer or a compatible gcc.
12524 2014-09-15  Andreas Schwab  <schwab@linux-m68k.org>
12526         [BZ #17371]
12527         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
12528         last change to handle zero prefix length.
12530 2014-09-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
12532         * sysdeps/posix/sysconf.c (__sysconf): Return -1 for
12533         _SC_REGEX_VERSION.
12535         * posix/getconf.c (vars): Add _POSIX_IPV6 and
12536         _POSIX_RAW_SOCKETS.
12538 2014-09-13  Allan McRae  <allan@archlinux.org>
12540         * po/ru.po: Update Russian translation from translation project.
12542 2014-09-12  Roland McGrath  <roland@hack.frob.com>
12544         * locale/programs/locale.c (show_locale_vars): Inline local function
12545         into its sole call site.  Clean up some style nits.
12546         (print_item): New function, broken out of ...
12547         (show_info): ... local function here.  Clean up style nits.
12549         * locale/programs/ld-ctype.c (set_one_default): New function, broken
12550         out of ...
12551         (set_class_defaults): ... local function set_default here.
12552         Define set_default as a macro locally to pass constant parameters.
12553         (allocate_arrays, set_class_defaults): Use C99 for scope for each CNT,
12554         rather than a shared local.
12556         * stdlib/rpmatch.c (try): New function, broken out of ...
12557         (rpmatch): ... local function here.  Also, prototypify definition.
12559 2014-09-12  Joseph Myers  <joseph@codesourcery.com>
12561         * scripts/soversions.awk: Do not handle configuration names.
12562         * Makeconfig ($(common-objpfx)soversions.i): Do not pass cpu,
12563         vendor and os variables to soversions.awk.
12564         * configure.ac: Do not modify gnu-* host_os.
12565         * configure: Regenerated
12566         * shlib-versions: Remove first column with configuration names.
12567         * nptl/shlib-versions: Likewise.
12568         * nptl_db/shlib-versions: Likewise.
12569         * sysdeps/hppa/shlib-versions: Likewise.
12570         * sysdeps/m68k/shlib-versions: Likewise.
12571         * sysdeps/mach/hurd/shlib-versions: Likewise.
12572         * sysdeps/unix/sysv/linux/aarch64/shlib-versions: Likewise.
12573         * sysdeps/unix/sysv/linux/alpha/shlib-versions: Likewise.
12574         * sysdeps/unix/sysv/linux/arm/shlib-versions: Likewise.
12575         * sysdeps/unix/sysv/linux/hppa/shlib-versions: Likewise.
12576         * sysdeps/unix/sysv/linux/ia64/shlib-versions: Likewise.
12577         * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: Likewise.
12578         * sysdeps/unix/sysv/linux/microblaze/shlib-versions: Likewise.
12579         * sysdeps/unix/sysv/linux/mips/shlib-versions: Likewise.
12580         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
12581         Likewise.
12582         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
12583         * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
12584         * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
12585         * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
12586         * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
12587         * sysdeps/unix/sysv/linux/tile/shlib-versions: Likewise.
12588         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
12589         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
12591         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
12592         (HAVE_ELFV2_ABI): AC_DEFINE in ELFv2 case.
12593         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
12594         Regenerated.
12595         * config.h.in (HAVE_ELFV2_ABI): New macro undefine.
12596         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
12597         Condition symbol version definitions on [HAVE_ELFV2_ABI].
12599         * shlib-versions: Remove OS-specific entries.  Moved to files in
12600         sysdeps.
12601         * sysdeps/mach/hurd/shlib-versions: New file.
12602         * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
12604         * nptl/shlib-versions: Remove architecture-specific entries.
12605         Moved to files in sysdeps.
12606         * shlib-versions: Likewise.
12607         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: New
12608         file.
12609         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
12610         * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
12611         * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
12612         * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
12614         * sysdeps/gnu/netinet/udp.h (UDP_NO_CHECK6_TX): New macro.
12615         (UDP_NO_CHECK6_RX): Likewise.
12617 2014-09-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
12619         * sysdeps/posix/sysconf.c (__sysconf): Spell
12620         _POSIX_DEVICE_SPECIFIC and _POSIX_DEVICE_SPECIFIC_R correctly.
12622 2014-08-12  Florian Weimer  <fweimer@redhat.com>
12624         * iconv/gconv_open.c (__gconv_open): Remove transliteration module
12625         loading.
12626         * iconv/Versions (__gconv_transliterate): Export for use from
12627         gconv modules.
12628         * iconv/gconv.h (__GCONV_TRANSLIT): New flag.
12629         (struct __gconv_trans_data, __gconv_trans_fct,
12630         __gconv_trans_context_fct, __gconv_trans_query_fct,
12631         __gconv_trans_init_fct, __gconv_trans_end_fct): Remove type
12632         definitions.
12633         (struct __gconv_step_data): Remove __trans member.
12634         (__gconv_transliterate): Declaration moved from gconv_int.h.  No
12635         longer hidden.  Remove unused trans_data argument.
12636         * iconv/gconv_int.h (struct trans_struct): Remove definition.
12637         (__gconv_translit_find): Remove declaration.
12638         (__gconv_transliterate): Declaration moved to gconv.h.  Add hidden
12639         prototype.
12640         * iconv/gconv_close.c (__gconv_close): Remove __trans cleanup.
12641         * iconv/gconv_trans.c (__gconv_transliterate): Remove unused
12642         trans_data argument.  Add hidden definition.
12643         (__gconv_translit_find): Remove.
12644         * iconv/loop.c (STANDARD_TO_LOOP_ERR_HANDLER): Call
12645         __gconv_transliterate directly if __GCONV_TRANSLIT is set.
12646         * iconv/skeleton.c: Remove transliteration initialization.
12647         * libio/fileops.c (_IO_new_file_fopen): Adjust struct
12648         __gconv_step_data initialization.
12649         * libio/iofwide.c (__libio_translit_): Remove.
12650         (_IO_fwide): Adjust struct __gconv_step_data initialization.
12651         * wcsmbs/btowc.c (__btowc): Likewise.
12652         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
12653         * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
12654         * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Likewise.
12655         * wcsmbs/mbsrtowcs_l.c (__mbsrtowcs_l): Likewise.
12656         * wcsmbs/wcrtomb.c (__wcrtomb): Likewise.
12657         * wcsmbs/wcsnrtombs.c (__wcsnrtombs): Likewise.
12658         * wcsmbs/wcsrtombs.c (__wcsrtombs): Likewise.
12659         * wcsmbs/wctob.c (wctob): Likewise.
12661 2014-09-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
12663         [BZ #16194]
12664         * sysdeps/x86/tst-xmmymm.sh: Rename file to...
12665         * sysdeps/x86/tst-ld-sse-use.sh: ... this.  Check for zmm
12666         register usage.
12667         * sysdeps/x86/Makefile: Adjust.
12669 2014-09-11  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
12670             Roland McGrath  <roland@hack.frob.com>
12672         * locale/weight.h: Add include guard.
12673         (findidx): Make static rather than auto; take new parameters
12674         TABLE, INDIRECT, and EXTRA instead of getting them as outer locals.
12675         * locale/weightwc.h: Likewise.
12676         * posix/fnmatch_loop.c
12677         (FCT): Change type of EXTRA from int32_t to wint_t.
12678         Don't include either header inside the function.
12679         Call FINDIDX rather than findidx, and pass new arguments.
12680         #undef FINDIDX at the end of the file.
12681         * posix/fnmatch.c [_LIBC]: #include <locale/weight.h> and define
12682         FINDIDX before including fnmatch_loop.c for the non-wide version.
12683         [_LIBC] [HANDLE_MULTIBYTE]: #define findidx to findidxwc around
12684         #include <locale/weightwc.h>, and define FINDIDX to findidxwc
12685         for the wide version.
12686         * posix/regcomp.c [_LIBC]: #include <locale/weight.h>.
12687         (build_equiv_class) [_LIBC]: Don't #include it inside the function.
12688         Pass new arguments to findidx.
12689         * posix/regexec.c [RE_ENABLE_I18N] [_LIBC]: #include <locale/weight.h>.
12690         [RE_ENABLE_I18N] (check_node_accept_bytes) [_LIBC]:
12691         Don't #include it inside the function.  Pass new arguments to findidx.
12692         * posix/regex_internal.h
12693         [!NOT_IN_libc] [_LIBC]: #include <locale/weight.h>.
12694         (re_string_elem_size_at): Don't #include it inside the function.
12695         Pass new arguments to findidx.
12696         * string/strcoll_l.c: #include WEIGHT_H at top level.
12697         (get_next_seq): Don't #include it inside the function.
12698         Pass new arguments to findidx.
12699         (get_next_seq_nocache): Likewise.
12700         * string/strxfrm_l.c: #include WEIGHT_H at top level.
12701         (STRXFRM): Don't #include it inside the function.
12702         Pass new arguments to findidx.
12704 2014-09-11  Florian Weimer  <fweimer@redhat.com>
12706         [BZ #17344]
12707         * malloc/malloc.c (unlink): Turn asserts into a call to
12708         malloc_printerr.
12710 2014-09-11  Tim Lammens  <tim.lammens@gmail.com>
12712         [BZ #17370]
12713         * libio/wfileops (do_ftell_wide): Free OUT.
12715 2014-09-10  Chris Metcalf  <cmetcalf@tilera.com>
12717         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Remove file.
12719 2014-09-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
12721         [BZ #17363]
12722         * inet/getnetgrent_r.c (__internal_getnetgrent_r): Try next
12723         group if the current group is empty.
12725 2014-09-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12727         * benchtests/bench-memset.c (test_main): Add more test from size
12728         from 32 to 512 bytes.
12729         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
12730         Add POWER8 memset object.
12731         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12732         (__libc_ifunc_impl_list): Add POWER8 memset and bzero implementations.
12733         * sysdeps/powerpc/powerpc64/multiarch/bzero.c (__bzero): Add POWER8
12734         implementation.
12735         * sysdeps/powerpc/powerpc64/multiarch/memset.c (__libc_memset):
12736         Likewise.
12737         * sysdeps/powerpc/powerpc64/multiarch/memset-power8.S: New file:
12738         multiarch POWER8 memset optimization.
12739         * sysdeps/powerpc/powerpc64/power8/memset.S: New file: optimized
12740         POWER8 memset optimization.
12742         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
12743         Remove bzero multiarch objects.
12744         * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: Remove file.
12745         * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: Likewise.
12746         * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: Likewise.
12747         * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S [NO_BZERO_IMPL]:
12748         Remove define.
12749         [__bzero]: Redefine to specific name.
12750         * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: Likewise.
12751         * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: Likewise.
12752         * sysdeps/powerpc/powerpc64/power4/memset.S [NO_BZERO_IMPL]: Remove
12753         define.
12754         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
12755         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
12757 2014-09-10  Florian Weimer  <fweimer@redhat.com>
12759         * Makeconfig (gccwarn-c): Turn implicit-function-declaration
12760         warnings into errors.
12762         * stdlib/tst-tls-atexit-lib.c: Include <stdlib.h>, for the
12763         __cxa_thread_atexit_impl prototype.
12765 2014-09-09  Steve Ellcey  <sellcey@mips.com>
12767         * sysdeps/mips/preconfigure: Put code inside mips* case statement.
12768         Fix capitalization of error message.
12770 2014-09-09  Steve Ellcey  <sellcey@mips.com>
12772         * sysdeps/mips/preconfigure: Modify ABI tests.
12774 2014-09-07  Carlos O'Donell  <carlos@systemhalted.org>
12776         * sysdeps/unix/sysv/linux/hppa/c++-types.data: New file.
12778 2014-09-07  Roland McGrath  <roland@hack.frob.com>
12779             Carlos O'Donell  <carlos@systemhalted.org>
12781         * sysdeps/unix/sysv/linux/hppa/nptl/libc-lowlevellock.c: File removed.
12782         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Moved ...
12783         * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: ... here.
12784         * sysdeps/unix/sysv/linux/hppa/nptl/pt-vfork.S: Moved ...
12785         * sysdeps/unix/sysv/linux/hppa/pt-vfork.S: ... here.
12786         * sysdeps/unix/sysv/linux/hppa/nptl/pthread.h: Moved ...
12787         * sysdeps/unix/sysv/linux/hppa/pthread.h: ... here.
12788         * sysdeps/unix/sysv/linux/hppa/nptl/pthreadP.h: Moved ...
12789         * sysdeps/unix/sysv/linux/hppa/pthreadP.h: ... here.
12790         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_broadcast.c: Moved ...
12791         * sysdeps/unix/sysv/linux/hppa/pthread_cond_broadcast.c: ... here.
12792         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_destroy.c: Moved ...
12793         * sysdeps/unix/sysv/linux/hppa/pthread_cond_destroy.c: ... here.
12794         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_init.c: Moved ...
12795         * sysdeps/unix/sysv/linux/hppa/pthread_cond_init.c: ... here.
12796         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_signal.c: Moved ...
12797         * sysdeps/unix/sysv/linux/hppa/pthread_cond_signal.c: ... here.
12798         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_timedwait.c: Moved ...
12799         * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c: ... here.
12800         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_wait.c: Moved ...
12801         * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c: ... here.
12802         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Moved ...
12803         * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: ... here.
12804         * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h: Moved ...
12805         * sysdeps/hppa/nptl/bits/pthreadtypes.h: ... here.
12806         * sysdeps/unix/sysv/linux/hppa/nptl/bits/semaphore.h: Moved ...
12807         * sysdeps/hppa/nptl/bits/semaphore.h: ... here.
12808         * sysdeps/unix/sysv/linux/hppa/clone.S: Include <tcb-offsets.h>.
12809         Deconditionalize the code that was previously under [RESET_PID].
12810         * sysdeps/unix/sysv/linux/hppa/nptl/clone.S: File removed.
12811         * sysdeps/unix/sysv/linux/hppa/arch-fork.h: New file.
12812         * sysdeps/unix/sysv/linux/hppa/nptl/fork.c: File removed.
12813         * sysdeps/hppa/nptl/tcb-offsets.sym: Include pthread.h and don't
12814         include sysdep.h.
12816 2014-09-08  Allan McRae  <allan@archlinux.org>
12818         * version.h (RELEASE): Set to "development".
12819         (VERSION): Set to "2.20.90"
12821 2014-09-07  Allan McRae  <allan@archlinux.org
12823         * version.h (RELEASE): Set to "stable".
12824         (VERSION): Set to "2.20"
12825         * include/features.h (__GLIBC_MINOR__): Set to 20.
12827         * manual/contrib.texi: Add entries for Wilco Dijkstra and Stefan
12828         Liebler.
12830         * po/ko.po: Update Korean translation from translation project.
12832 2014-09-06  Chris Metcalf  <cmetcalf@tilera.com>
12834         [BZ #17354]
12835         * sysdeps/tile/dl-machine.h (elf_machine_rela): Add a MUNGE_SIGNED
12836         macro for handling signed relocations.
12838 2014-09-03  Florian Weimer  <fweimer@redhat.com>
12840         [BZ #17325]
12841         * iconvdata/ibm1364.c (BODY): Fix check for sentinel.
12842         * iconvdata/ibm932.c (BODY): Replace invalid sentinel check with
12843         assert.
12844         * iconvdata/ibm933.c (BODY): Fix check for sentinel.
12845         * iconvdata/ibm935.c (BODY): Likewise.
12846         * iconvdata/ibm937.c (BODY): Likewise.
12847         * iconvdata/ibm939.c (BODY): Likewise.
12848         * iconvdata/ibm943.c (BODY): Replace invalid sentinel check with
12849         assert.
12850         * iconvdata/Makefile (iconv-test.out): Pass module list to test
12851         script.
12852         * iconvdata/run-iconv-test.sh: New test loop for checking for
12853         decoder crashers.
12855 2014-09-02  Khem Raj  <raj.khem@gmail.com>
12857         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (fegetenv): Add
12858         libm_hidden_ver.
12860 2014-09-01  Allan McRae  <allan@archlinux.org>
12862         * po/eo.po: Update Esperanto translation from translation project.
12864         * po/ca.po: Update Catalan translation from translation project.
12866 2014-08-28  Samuel Thibault  <samuel.thibault@ens-lyon.org>
12868         * sysdeps/mach/hurd/fork.c (__fork): Lock SS->lock around
12869         __proc_dostop call.
12871 2014-08-27  Mark Wielaard  <mjw@redhat.com>
12873         [BZ #17319]
12874         * sysdeps/i386/nptl/tls.h (TLS_INIT_TP): Use INTERNAL_SYSCALL
12875         to call set_thread_area instead of hand written asm.
12876         (__NR_set_thread_area): Removed define.
12877         (TLS_FLAG_WRITABLE): Likewise.
12878         (__ASSUME_SET_THREAD_AREA): Remove check.
12879         (TLS_EBX_ARG): Remove define.
12880         (TLS_LOAD_EBX): Likewise.
12882 2014-08-27  Samuel Thibault  <samuel.thibault@ens-lyon.org>
12884         Simplify atomicity of socket creation in bind.
12886         * sysdeps/mach/hurd/bind.c (__bind): Use dir_lookup(node, "") instead of
12887         looking up the name after linking the file.
12889 2014-08-27  Allan McRae  <allan@archlinux.org>
12891         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
12893 2014-08-26  Florian Weimer  <fweimer@redhat.com>
12895         [BZ #17187]
12896         * iconv/gconv_trans.c (struct known_trans, search_tree, lock,
12897         trans_compare, open_translit, __gconv_translit_find):
12898         Remove module loading code.
12900 2014-08-26  Allan McRae  <allan@archlinux.org>
12902         * po/vi.po: Update Vietnamese translation from translation project.
12904         * po/uk.po: Update Ukrainian translation from translation project.
12906         * po/fr.po: Update French translation from translation project.
12908         * po/ru.po: Update Russian translation from translation project.
12910         * po/pl.po: Update Polish translation from translation project.
12912         * po/cs.po: Update Czech translation from translation project.
12914         * po/de.po: Update German translation from translation project.
12916         * po/bg.po: Update Bulgarian translation from translation project.
12918         * po/sv.po: Update Sweedish translation from translation project.
12920         * po/nl.po: Update Dutch translation from translation project.
12922         * po/es.po: Update Spanish translation from translation project.
12924 2014-08-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
12926         * nptl/Makefile (CFLAGS-pthread_atfork.c): Remove.
12928         * catgets/Makefile (CPPFLAGS-gencat): Remove.
12929         * iconv/Makefile (CPPFLAGS-iconv_prog): Likewise.
12930         (CPPFLAGS-iconvconfig): Likewise.
12931         * timezone/Makefile (CPPFLAGS-zic): Likewise.
12933         * include/libc-symbols.h: Remove unnecessary check for
12934         NOT_IN_libc.
12935         * nptl/pthreadP.h: Likewise.
12936         * sysdeps/aarch64/setjmp.S: Likewise.
12937         * sysdeps/alpha/setjmp.S: Likewise.
12938         * sysdeps/arm/sysdep.h: Likewise.
12939         * sysdeps/i386/setjmp.S: Likewise.
12940         * sysdeps/m68k/setjmp.c: Likewise.
12941         * sysdeps/posix/getcwd.c: Likewise.
12942         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
12943         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
12944         * sysdeps/s390/s390-32/setjmp.S: Likewise.
12945         * sysdeps/s390/s390-64/setjmp.S: Likewise.
12946         * sysdeps/sh/sh3/setjmp.S: Likewise.
12947         * sysdeps/sh/sh4/setjmp.S: Likewise.
12948         * sysdeps/unix/alpha/sysdep.h: Likewise.
12949         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
12950         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
12951         * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
12952         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
12953         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
12954         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
12955         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
12956         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
12957         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
12958         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
12959         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
12960         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
12961         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
12962         * sysdeps/x86_64/setjmp.S: Likewise.
12964 2014-08-13  Joseph Myers  <joseph@codesourcery.com>
12966         [BZ #17263]
12967         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Include
12968         <stdint.h>.
12969         (__get_clockfreq): Use uint64_t instead of hp_timing_t in
12970         INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK call.
12972 2014-08-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
12974         * sysdeps/x86/fpu/bits/mathinline.h: Fix typo in comment.
12976         [BZ #17262]
12977         * sysdeps/x86/fpu/bits/mathinline.h: Check both __SSE2_MATH__
12978         and __x86_64__ when disabling x87 inline functions.
12980 2014-08-12  H.J. Lu  <hongjiu.lu@intel.com>
12982         [BZ #17259]
12983         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Replace cpuid
12984         asm statement with __cpuid_count.
12986 2014-08-12  Mike Frysinger  <vapier@gentoo.org>
12988         * configure.ac: Change __ehdr_start code to dereference the struct.
12989         Run readelf on the output to look for relocations.
12990         * configure: Regenerated.
12992 2014-08-12  Joseph Myers  <joseph@codesourcery.com>
12994         [BZ #17261]
12995         * sysdeps/powerpc/nofpu/fenv_const.c (__fe_enabled_env): Change
12996         value to 0.
12997         (__fe_nonieee_env): Define as an alias for __fe_dfl_env.
12999 2014-08-12  Roland McGrath  <roland@hack.frob.com>
13001         * NEWS: Mention x86-64 ld.so use of Intel MPX instructions.
13003 2014-08-12  Bernard Ogden  <bernie.ogden@linaro.org>
13005         [BZ #16892]
13006         * sysdeps/nptl/lowlevellock.h (__lll_timedlock): Use
13007         atomic_compare_and_exchange_bool_acq rather than atomic_exchange_acq.
13009 2014-08-12  Sean Anderson  <seanga2@gmail.com>
13011         * malloc/malloc.c: Fix typo in comment.
13013 2014-08-09  Allan McRae  <allan@archlinux.org>
13015         * Regenerate libc.po.
13017 2014-08-08  Mike Frysinger  <vapier@gentoo.org>
13019         * intl/tst-gettext2.sh: Check every lang file for creation.
13021 2014-08-07  Wilco Dijkstra  <wdijkstr@arm.com>
13023         * sysdeps/aarch64/fpu/math_private.h
13024         (libc_feholdsetround_noex_aarch64_ctx): New function.
13026 2014-08-07  Wilco Dijkstra  <wdijkstr@arm.com>
13028         * sysdeps/arm/armv6/strcpy.S (strcpy):
13029         Fix performance issue in misaligned cases.
13031 2014-08-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13033         * sysdeps/unix/sysv/linux/powerpc/bits/ioctl-types.h (struct winsize):
13034         Move definition from termios.h.
13035         (struct termio): Likewise.
13036         (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
13037         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
13038         N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
13039         N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
13040         Likewise.
13041         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (struct winsize):
13042         Move definition to ioctl-types.h
13043         (struct termio): Likewise.
13044         (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
13045         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
13046         N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
13047         N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
13048         Likewise.
13050 2014-08-05  Richard Henderson  <rth@redhat.com>
13052         * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Always raise
13053         exceptions.
13054         * sysdeps/alpha/soft-fp/Makefile [soft-fp] (sysdep_routines):
13055         Add fraiseexcpt.
13056         * sysdeps/alpha/soft-fp/sfp-machine.h (FP_HANDLE_EXCEPTIONS):
13057         Use __feraiseexcept.
13058         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (feraiseexcept):
13059         Protect libm symbols with IS_IN_libm.
13061         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Remove file.
13063 2014-08-04  Bernard Ogden  <bernie.ogden@linaro.org>
13065         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Remove file.
13067 2014-08-04  Will Newton  <will.newton@linaro.org>
13069         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Remove
13070         file.
13072 2014-08-04  Mike Frysinger  <vapier@gentoo.org>
13074         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (PSEUDO): Add nocancel
13075         variants for each function.
13077 2014-08-04  Roland McGrath  <roland@hack.frob.com>
13079         * sysdeps/unix/sysv/linux/ia64/nptl/Makefile: File removed, contents
13080         appended ...
13081         * sysdeps/unix/sysv/linux/ia64/Makefile: ... here.
13082         * sysdeps/unix/sysv/linux/ia64/nptl/Versions: File removed, contents
13083         appended ...
13084         * sysdeps/unix/sysv/linux/ia64/Versions: ... here.
13085         * sysdeps/unix/sysv/linux/ia64/nptl/__ia64_longjmp.S: Moved ...
13086         * sysdeps/unix/sysv/linux/ia64/__ia64_longjmp.S: ... here.
13087         * sysdeps/unix/sysv/linux/ia64/nptl/__sigstack_longjmp.c: Moved ...
13088         * sysdeps/unix/sysv/linux/ia64/__sigstack_longjmp.c: ... here.
13089         * sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data: Moved ...
13090         * sysdeps/unix/sysv/linux/ia64/c++-types.data: ... here.
13091         * sysdeps/unix/sysv/linux/ia64/nptl/dl-sysdep.h: Moved ...
13092         * sysdeps/unix/sysv/linux/ia64/dl-sysdep.h: ... here.
13093         * sysdeps/unix/sysv/linux/ia64/nptl/ld.abilist: Moved ...
13094         * sysdeps/unix/sysv/linux/ia64/ld.abilist: ... here.
13095         * sysdeps/unix/sysv/linux/ia64/nptl/libBrokenLocale.abilist: Moved ...
13096         * sysdeps/unix/sysv/linux/ia64/libBrokenLocale.abilist: ... here.
13097         * sysdeps/unix/sysv/linux/ia64/nptl/libanl.abilist: Moved ...
13098         * sysdeps/unix/sysv/linux/ia64/libanl.abilist: ... here.
13099         * sysdeps/unix/sysv/linux/ia64/nptl/libc.abilist: Moved ...
13100         * sysdeps/unix/sysv/linux/ia64/libc.abilist: ... here.
13101         * sysdeps/unix/sysv/linux/ia64/nptl/libcrypt.abilist: Moved ...
13102         * sysdeps/unix/sysv/linux/ia64/libcrypt.abilist: ... here.
13103         * sysdeps/unix/sysv/linux/ia64/nptl/libdl.abilist: Moved ...
13104         * sysdeps/unix/sysv/linux/ia64/libdl.abilist: ... here.
13105         * sysdeps/unix/sysv/linux/ia64/nptl/libm.abilist: Moved ...
13106         * sysdeps/unix/sysv/linux/ia64/libm.abilist: ... here.
13107         * sysdeps/unix/sysv/linux/ia64/nptl/libnsl.abilist: Moved ...
13108         * sysdeps/unix/sysv/linux/ia64/libnsl.abilist: ... here.
13109         * sysdeps/unix/sysv/linux/ia64/nptl/libpthread.abilist: Moved ...
13110         * sysdeps/unix/sysv/linux/ia64/libpthread.abilist: ... here.
13111         * sysdeps/unix/sysv/linux/ia64/nptl/libresolv.abilist: Moved ...
13112         * sysdeps/unix/sysv/linux/ia64/libresolv.abilist: ... here.
13113         * sysdeps/unix/sysv/linux/ia64/nptl/librt.abilist: Moved ...
13114         * sysdeps/unix/sysv/linux/ia64/librt.abilist: ... here.
13115         * sysdeps/unix/sysv/linux/ia64/nptl/libthread_db.abilist: Moved ...
13116         * sysdeps/unix/sysv/linux/ia64/libthread_db.abilist: ... here.
13117         * sysdeps/unix/sysv/linux/ia64/nptl/libutil.abilist: Moved ...
13118         * sysdeps/unix/sysv/linux/ia64/libutil.abilist: ... here.
13119         * sysdeps/unix/sysv/linux/ia64/nptl/localplt.data: Moved ...
13120         * sysdeps/unix/sysv/linux/ia64/localplt.data: ... here.
13121         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Moved ...
13122         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: ... here.
13123         * sysdeps/unix/sysv/linux/ia64/nptl/sysdep-cancel.h: Moved ...
13124         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: ... here.
13125         * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Moved ...
13126         * sysdeps/unix/sysv/linux/ia64/timer_create.c: ... here.
13127         * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Moved ...
13128         * sysdeps/unix/sysv/linux/ia64/timer_delete.c: ... here.
13129         * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Moved ...
13130         * sysdeps/unix/sysv/linux/ia64/timer_getoverr.c: ... here.
13131         * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Moved ...
13132         * sysdeps/unix/sysv/linux/ia64/timer_gettime.c: ... here.
13133         * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Moved ...
13134         * sysdeps/unix/sysv/linux/ia64/timer_settime.c: ... here.
13135         * sysdeps/unix/sysv/linux/ia64/nptl/unwind-forcedunwind.c: Moved ...
13136         * sysdeps/unix/sysv/linux/ia64/unwind-forcedunwind.c: ... here.
13137         Update #include.
13138         * sysdeps/unix/sysv/linux/ia64/nptl/unwind_longjmp.c: Moved ...
13139         * sysdeps/unix/sysv/linux/ia64/unwind_longjmp.c: ... here.
13141 2014-08-04  Roland McGrath  <roland@hack.frob.com>
13143         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h: Moved ...
13144         * sysdeps/ia64/nptl/bits/pthreadtypes.h: ... here.
13145         * sysdeps/unix/sysv/linux/ia64/nptl/bits/semaphore.h: Moved ...
13146         * sysdeps/ia64/nptl/bits/semaphore.h: ... here.
13147         * sysdeps/unix/sysv/linux/ia64/nptl/bits/local_lim.h: Moved ...
13148         * sysdeps/unix/sysv/linux/ia64/bits/local_lim.h: ... here.
13150 2014-08-04  Roland McGrath  <roland@hack.frob.com>
13152         * nptl/sysdeps/pthread/createthread.c: Include <arch-fork.h>.
13153         * sysdeps/unix/sysv/linux/ia64/arch-fork.h (ARCH_CLONE): New macro.
13154         * sysdeps/ia64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
13155         * sysdeps/unix/sysv/linux/ia64/nptl/createthread.c: File removed.
13157 2014-08-04  Roland McGrath  <roland@hack.frob.com>
13159         * sysdeps/unix/sysv/linux/ia64/nptl/vfork.S: Moved ...
13160         * sysdeps/unix/sysv/linux/ia64/vfork.S: ... here.
13161         (__libc_vfork): Define function under this name.
13162         (__vfork): Define as an alias.
13163         * sysdeps/unix/sysv/linux/ia64/pt-vfork.S: New file.
13164         * sysdeps/unix/sysv/linux/ia64/nptl/pt-vfork.S: File removed.
13166 2014-08-04  Roland McGrath  <roland@hack.frob.com>
13168         * sysdeps/unix/sysv/linux/ia64/clone2.S: Deconditionalize the code
13169         that was previously under [RESET_PID].
13170         * sysdeps/unix/sysv/linux/ia64/nptl/clone2.S: File removed.
13172 2014-08-04  Andreas Schwab  <schwab@suse.de>
13174         * sysdeps/ieee754/ldbl-96/s_fma.c: Include <math_private.h>.
13176 2014-08-03  Mike Frysinger  <vapier@gentoo.org>
13178         * stdlib/tst-setcontext.c (test_stack): Fix coding style.
13179         (main): Likewise.
13181 2014-08-01  Roland McGrath  <roland@hack.frob.com>
13183         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: File removed.
13185 2014-08-01  Richard Henderon  <rth@redhat.com>
13187         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use math_force_eval before
13188         feclearexcept; use math_opt_barrier instead of open-coded asm; fix
13189         typo in exact zero test.
13190         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
13191         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
13192         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
13194 2014-08-01  Roland McGrath  <roland@hack.frob.com>
13196         * sysdeps/unix/sysv/linux/arm/sysdep.h (PTR_MANGLE_LOAD, PTR_MANGLE)
13197         (PTR_MANGLE2, PTR_DEMANGLE, PTR_DEMANGLE2): Move these macros...
13198         * sysdeps/arm/sysdep.h: ... here.
13199         [!__ASSEMBLER__]: Include <stdint.h>.
13201 2014-08-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
13203         * include/libc-symbols.h (HAVE_LIBINTL_H): Define macro.
13204         (HAVE_WCTYPE_H): Likewise.
13205         (HAVE_ISWCTYPE): Likewise.
13206         (ENABLE_NLS): Likewise.
13207         * posix/regex_internal.h [(defined MB_CUR_MAX && HAVE_WCTYPE_H
13208         && HAVE_ISWCTYPE) || _LIBC]: Sync up with gnulib.
13210         * posix/regex_internal.c: Check if DEBUG is defined and is
13211         set.
13213         * include/libc-symbols.h (HAVE_MBSTATE_T): Define macro.
13214         (HAVE_MBSRTOWCS): Likewise.
13215         * posix/fnmatch.c: Include string.h unconditionally.
13217 2014-08-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
13219         * NEWS: Explain the s390 jmp_buf / ucontext_t ABI change
13220         reversal.
13222 2014-07-31  Roland McGrath  <roland@hack.frob.com>
13224         * sysdeps/generic/safe-fatal.h: New file.
13225         * sysdeps/unix/sysv/linux/safe-fatal.h: New file.
13226         * nptl/forward.c: Include it.
13227         (__pthread_unwind): Use __safe_fatal as default action, rather
13228         than a bogus use of INTERNAL_SYSCALL that could never work.
13230         * config.h.in (HAVE_BUILTIN_TRAP): New #define to 0.
13231         * configure.ac (libc_cv_builtin_trap): New test.
13232         * configure: Regenerated.
13233         * sysdeps/generic/abort-instr.h [HAVE_BUILTIN_TRAP]
13234         (ABORT_INSTRUCTION): Define using __builtin_trap.
13236         * nptl/pthreadP.h (SIGCANCEL, SIGTIMER, SIGSETXID, __xidcmd): Moved ...
13237         * sysdeps/unix/sysv/linux/nptl-signals.h: ... to this new file.
13238         * sysdeps/nptl/nptl-signals.h: New file.
13239         * nptl/pthreadP.h: Include <nptl-signals.h>.
13241 2014-07-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
13243         * sysdeps/s390/s390-64/utf16-utf32-z9.c
13244         (ONE_DIRECTION): Define.
13245         * sysdeps/s390/s390-64/utf8-utf16-z9.c
13246         (ONE_DIRECTION): Define.
13247         * sysdeps/s390/s390-64/utf8-utf32-z9.c
13248         (ONE_DIRECTION): Define.
13250 2014-07-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
13252         * sysdeps/s390/Makefile: Delete file.
13253         * sysdeps/s390/Versions (GLIBC_2.19): Remove __setjmp.
13254         * sysdeps/s390/__longjmp.c: Delete file.
13255         * sysdeps/s390/bits/setjmp.h (__s390_jmp_buf):
13256         Remove fields __flags and __reserved.
13257         * sysdeps/s390/longjmp.c: Include setjmp/longjmp.c
13258         and add versioning.
13259         * sysdeps/s390/rtld-__longjmp.c: Delete file.
13260         * sysdeps/s390/rtld-global-offsets.sym: Likewise.
13261         * sysdeps/s390/rtld-setjmp.S: Likewise.
13262         * sysdeps/s390/s390-32/__longjmp-common.c: Move to ...
13263         * sysdeps/s390/s390-32/__longjmp.c: ... here.
13264         * sysdeps/s390/s390-32/setjmp-common.S: Move to ...
13265         * sysdeps/s390/s390-32/setjmp.S: ... here.
13266         Add versioning.
13267         (__sigsetjmp): Remove setting __flags field.
13268         * sysdeps/s390/s390-64/__longjmp-common.c:Move to ...
13269         * sysdeps/s390/s390-64/__longjmp.c: ... here.
13270         * sysdeps/s390/s390-64/setjmp-common.S: Move to ...
13271         * sysdeps/s390/s390-64/setjmp.S: ... here.
13272         Add versioning.
13273         (__sigsetjmp): Remove setting __flags field.
13274         * sysdeps/s390/setjmp.S: Delete file.
13275         * sysdeps/s390/sigjmp.c: Likewise.
13276         * sysdeps/s390/v1-longjmp.c: Likewise.
13277         * sysdeps/s390/v1-setjmp.h: Likewise.
13278         * sysdeps/s390/v1-sigjmp.c: Likewise.
13279         * sysdeps/unix/sysv/linux/s390/Makefile (sysdep_routines):
13280         Remove v1-longjmp_chk.
13281         * sysdeps/unix/sysv/linux/s390/getcontext.S: Delete file.
13282         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c:
13283         Include debug/longjmp_chk.c and add versioning.
13284         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c:
13285         Include nptl/pt-longjmp.c and add versioning.
13286         * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: Delete file.
13287         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c:
13288         Include __longjmp.c.
13289         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
13290         Move to ...
13291         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: ... here.
13292         (__getcontext): Remove setting __flags field.
13293         Add versioning.
13294         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
13295         Don't restore upper high grps.
13296         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S:
13297         Likewise.
13298         (__swapcontext): Remove setting uc_flags field.
13299         * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym:
13300         Delete file.
13301         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
13302         Include __longjmp.c.
13303         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
13304         Move to ...
13305         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: ... here.
13306         (__getcontext): Remove setting __flags field.
13307         Add versioning.
13308         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S:
13309         (__swapcontext): Remove setting uc_flags field.
13310         * unix/sysv/linux/s390/s390-64/ucontext_i.sym: Delete file.
13311         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (ucontext):
13312         Remove fields uc_high_gprs and __reserved.
13313         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym:
13314         New file with reverted content.
13315         * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: Delete file.
13316         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist:
13317         Regenerated.
13318         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist:
13319         Regenerated.
13321 2014-07-31  Andreas Schwab  <schwab@suse.de>
13323         * config.h.in (HAVE_IFUNC): Define to 0.
13324         * rt/clock-compat.c [HAVE_IFUNC]: Check for value, not
13325         definedness.
13327 2014-07-30  Ling Ma  <ling.ml@alibaba-inc.com>
13329         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
13330         memmove-avx-unaligned, memcpy-avx-unaligned and
13331         mempcpy-avx-unaligned.
13332         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
13333         Add tests for AVX memcpy functions.
13334         * sysdeps/x86_64/multiarch/memcpy.S: Add support for AVX memcpy.
13335         * sysdeps/x86_64/multiarch/memcpy_chk.S: Add support for AVX
13336         memcpy_chk.
13337         * sysdeps/x86_64/multiarch/memmove.c: Add support for AVX memmove.
13338         * sysdeps/x86_64/multiarch/memmove_chk.c: Add support for AVX
13339         memmove_chk.
13340         * sysdeps/x86_64/multiarch/mempcpy.S: Add support for AVX mempcpy.
13341         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Add support for AVX
13342         mempcpy_chk.
13343         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: New file.
13344         * sysdeps/x86_64/multiarch/mempcpy-avx-unaligned.S: New file.
13345         * sysdeps/x86_64/multiarch/memmove-avx-unaligned.S: New file.
13347 2013-07-29  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13349         [BZ #17213]
13350         * sysdeps/powerpc/powerpc64/entry.h: Fix TEXT_START definition for
13351         powerpc64le.
13353 2014-07-29  Jeff Layton  <jlayton@poochiereds.net>
13355         [BZ #16839]
13356         * manual/llio.texi: Add section about open file description locks.
13357         * manual/examples/ofdlocks.c: Example of open file description
13358         lock usage.
13359         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Define F_OFD_GETLK,
13360         F_OFD_SETLK, and F_OFD_SETLKW.
13362 2014-07-23  Allan McRae  <allan@archlinux.org>
13364         * po/es.po: Update Spanish translation from translation project.
13366 2014-07-18  Andreas Schwab  <schwab@linux-m68k.org>
13368         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Removed.
13370 2014-07-17  Maciej W. Rozycki  <macro@codesourcery.com>
13372         [BZ #17078]
13373         * sysdeps/arm/dl-machine.h (elf_machine_rela)
13374         [RESOLVE_CONFLICT_FIND_MAP]: Handle R_ARM_TLS_DESC relocation.
13375         (elf_machine_lazy_rel): Handle prelinked R_ARM_TLS_DESC entries.
13377 2014-07-17  Joseph Myers  <joseph@codesourcery.com>
13379         [BZ #17088]
13380         * math/fesetenv.c (__fesetenv)
13381         [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Return 1 for FE_NOMASK_ENV.
13382         * math/feupdateenv.c (__feupdateenv)
13383         [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Likewise.
13385         * sysdeps/unix/sysv/linux/s390/kernel-features.h: New file.
13386         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
13387         (__ASSUME_SOCKETCALL): Do not define.
13389         * sysdeps/unix/sysv/linux/sh/kernel-features.h: New file.
13390         * sysdeps/unix/sysv/linux/kernel-features.h [__sh__]
13391         (__ASSUME_SOCKETCALL): Do not define.
13392         (__ASSUME_ST_INO_64_BIT): Define unconditionally.
13393         [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
13394         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
13395         [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
13396         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
13397         [__LINUX_KERNEL_VERSION >= 0x030000 && __sh__]
13398         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
13399         [__sh__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
13401         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: New file.
13402         * sysdeps/unix/sysv/linux/kernel-features.h [__powerpc__]
13403         (__ASSUME_SOCKETCALL): Do not define.
13404         (__ASSUME_IPC64): Define unconditionally.
13405         [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
13406         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
13407         [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
13408         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
13409         [__LINUX_KERNEL_VERSION >= 0x030000 && __powerpc__]
13410         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
13411         [__powerpc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL):
13412         Likewise.
13414         * sysdeps/unix/sysv/linux/sparc/kernel-features.h: New file.
13415         * sysdeps/unix/sysv/linux/kernel-features.h [__sparc__]
13416         (__ASSUME_SOCKETCALL): Do not define.
13417         (__ASSUME_SET_ROBUST_LIST): Define unconditionally.
13418         (__ASSUME_FUTEX_LOCK_PI): Likewise.
13419         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL): Do not define.
13420         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
13421         (__ASSUME_REQUEUE_PI): Define unconditionally.
13422         [__LINUX_KERNEL_VERSION >= 0x020621 && __sparc__]
13423         (__ASSUME_RECVMMSG_SYSCALL): Do not define.
13424         [__sparc__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
13425         [__LINUX_KERNEL_VERSION >= 0x030000 && __sparc__]
13426         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
13427         [__sparc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
13429         * sysdeps/unix/sysv/linux/i386/kernel-features.h: New file.
13430         * sysdeps/unix/sysv/linux/kernel-features.h [__i386__]
13431         (__ASSUME_SOCKETCALL): Do not define.
13432         [__LINUX_KERNEL_VERSION >= 0x020621 && __i386__]
13433         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
13434         [__i386__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
13435         [__LINUX_KERNEL_VERSION >= 0x030000 && __i386__]
13436         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
13437         [__i386__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
13439         * sysdeps/unix/sysv/linux/x86_64/kernel-features.h: New file.
13440         * sysdeps/unix/sysv/linux/kernel-features.h [__x86_64__]
13441         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
13442         [__LINUX_KERNEL_VERSION >= 0x020621 && __x86_64__]
13443         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
13444         [__LINUX_KERNEL_VERSION >= 0x030000 && __x86_64__]
13445         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
13446         [__x86_64__ && __LINUX_KERNEL_VERSION >= 0x030100]
13447         (__ASSUME_GETCPU_SYSCALL): Likewise.
13449         * aclocal.m4 (LIBC_SLIBDIR_RTLDDIR): New macro.
13450         * sysdeps/gnu/configure.ac: Use LIBC_SLIBDIR_RTLDDIR.  Remove
13451         cases for individual architectures.
13452         * sysdeps/gnu/configure: Regenerated.
13453         * sysdeps/unix/sysv/linux/aarch64/configure.ac: Use
13454         LIBC_SLIBDIR_RTLDDIR.
13455         * sysdeps/unix/sysv/linux/aarch64/configure: Regenerated.
13456         * sysdeps/unix/sysv/linux/mips/configure.ac: Use
13457         LIBC_SLIBDIR_RTLDDIR.
13458         * sysdeps/unix/sysv/linux/mips/configure: Regenerated.
13459         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: Use
13460         LIBC_SLIBDIR_RTLDDIR.
13461         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
13462         Regenerated.
13463         * sysdeps/unix/sysv/linux/s390/s390-64/configure.ac: New file.
13464         * sysdeps/unix/sysv/linux/s390/s390-64/configure: New generated
13465         file.
13466         * sysdeps/unix/sysv/linux/sparc/sparc64/configure.ac: New file.
13467         * sysdeps/unix/sysv/linux/sparc/sparc64/configure: New generated
13468         file.
13469         * sysdeps/unix/sysv/linux/x86_64/64/configure.ac: New file.
13470         * sysdeps/unix/sysv/linux/x86_64/64/configure: New generated file.
13471         * sysdeps/unix/sysv/linux/x86_64/x32/configure.ac: New file.
13472         * sysdeps/unix/sysv/linux/x86_64/x32/configure: Generate.
13474         * sysdeps/aarch64/shlib-versions: Move to ...
13475         * sysdeps/unix/sysv/linux/aarch64/shlib-versions: ... here.
13476         * sysdeps/alpha/shlib-versions: Move to ...
13477         * sysdeps/unix/sysv/linux/alpha/shlib-versions: ... here.
13478         * sysdeps/arm/shlib-versions: Move to ...
13479         * sysdeps/unix/sysv/linux/arm/shlib-versions: ... here.
13480         * sysdeps/hppa/shlib-versions: Move all contents except for
13481         libgcc_s entry to ...
13482         * sysdeps/unix/sysv/linux/hppa/shlib-versions: ... here.  Merge in
13483         entry from ...
13484         * sysdeps/hppa/nptl/shlib-versions: ... here.  Remove file.
13485         * sysdeps/ia64/shlib-versions: Move to ...
13486         * sysdeps/unix/sysv/linux/ia64/shlib-versions: ... here.  Merge in
13487         entry from ...
13488         * sysdeps/ia64/nptl/shlib-versions: ... here.  Remove file.
13489         * sysdeps/m68k/coldfire/shlib-versions: Move to ...
13490         * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: ... here.
13491         * sysdeps/microblaze/shlib-versions: Move to ...
13492         * sysdeps/unix/sysv/linux/microblaze/shlib-versions: ... here.
13493         * sysdeps/mips/shlib-versions: Move to ...
13494         * sysdeps/unix/sysv/linux/mips/shlib-versions: ... here.  Merge in
13495         entry from ...
13496         * sysdeps/mips/nptl/shlib-versions: ... here.  Remove file.
13497         * sysdeps/tile/shlib-versions: Move to ...
13498         * sysdeps/unix/sysv/linux/tile/shlib-versions: ... here.
13499         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Merge in entry
13500         from ...
13501         * sysdeps/x86_64/64/shlib-versions: ... here.  Remove file.
13502         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Merge in
13503         entry from ...
13504         * sysdeps/x86_64/x32/shlib-versions: ... here.  Remove file.
13506 2014-07-17  Will Newton  <will.newton@linaro.org>
13508         * sysdeps/arm/bits/atomic.h
13509         (__arch_compare_and_exchange_bool_8_int): Evaluate to zero.
13510         (__arch_compare_and_exchange_bool_16_int): Likewise.
13511         (__arch_compare_and_exchange_bool_64_int): Likewise.
13513         * iconv/loop.c: Move definition of LOOPFCT and gconv_btowc
13514         into an #else block.
13516 2014-07-16  Roland McGrath  <roland@hack.frob.com>
13518         * sysdeps/arm/preconfigure.ac: Apply EABI sanity check to arm*, not
13519         just Linux configurations.  Test empirically that the compiler sets
13520         __ARM_EABI__, rather than using the tuple to decide.
13521         * sysdeps/arm/preconfigure: Regenerated.
13522         * sysdeps/unix/sysv/linux/arm/configure: File removed.
13523         * sysdeps/unix/sysv/linux/arm/configure.ac: File removed,
13524         contents appended ...
13525         * sysdeps/arm/configure.ac: ... here.
13526         * sysdeps/arm/configure: Regenerated.
13528 2014-07-15  Roland McGrath  <roland@hack.frob.com>
13530         * nptl/pthread_kill.c: New file.
13531         * nptl/pthread_sigmask.c: New file.
13532         * nptl/pthread_sigqueue.c: New file.
13534         * sysdeps/nptl/lowlevellock.h: New file.
13535         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: New file.
13536         * sysdeps/nptl/lowlevellock-futex.h: New file.
13538         * nptl/pthreadP.h (__current_sigrtmin, __current_sigrtmax):
13539         Remove dead declarations.
13541 2014-07-14  H.J. Lu  <hongjiu.lu@intel.com>
13543         * config.h.in (HAVE_AVX2_SUPPORT): New #undef.
13544         * sysdeps/i386/configure.ac: Set HAVE_AVX2_SUPPORT and
13545         config-cflags-avx2.
13546         * sysdeps/x86_64/configure.ac: Likewise.
13547         * sysdeps/i386/configure: Regenerated.
13548         * sysdeps/x86_64/configure: Likewise.
13549         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
13550         memset-avx2 only if config-cflags-avx2 is yes.
13551         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
13552         Tests for memset_chk and memset only if HAVE_AVX2_SUPPORT is
13553         defined.
13554         * sysdeps/x86_64/multiarch/memset.S: Define multiple versions
13555         only if HAVE_AVX2_SUPPORT is defined.
13556         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
13558 2014-07-14  Alan Modra  <amodra@gmail.com>
13560         [BZ #17153]
13561         * elf/elf.h (DT_PPC64_NUM): Correct value.
13562         * NEWS: Add to fixed bug list.
13564 2014-07-13  Jim Meyering  <meyering@fb.com>
13566         [BZ 17150]
13567         regex: don't deref NULL upon heap allocation failure
13568         * posix/regcomp.c: (parse_dup_op): Handle duplicate_tree
13569         failure in one more place.
13570         To trigger the segfault, configure grep -with-included-regex,
13571         build it, and run these commands:
13572         ( ulimit -v 300000; echo a|src/grep -E a+++++++++++++++++++++ )
13574 2014-07-13  Andreas Schwab  <schwab@linux-m68k.org>
13576         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
13578 2014-07-11  Richard Henderson  <rth@redhat.com>
13580         * sysdeps/aarch64/libm-test-ulps: Update.
13582 2014-07-10  Florian Weimer  <fweimer@redhat.com>
13584         [BZ #17135]
13585         * nptl/pthreadP.h (__nptl_setxid_error): Declare function.
13586         * nptl/allocatestack.c (__nptl_setxid_error): New function.
13587         (__nptl_setxid): Initialize error member.  Call
13588         __nptl_setxid_error.
13589         * nptl/nptl-init.c (sighandler_setxid): Call __nptl_setxid_error.
13590         * nptl/descr.h (struct xid_command): Add error member.
13591         * nptl/tst-setuid3.c: New file.
13592         * nptl/Makefile (tests): Add it.
13594 2014-07-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13596         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h (__lll_base_trylock):
13597         New define.
13598         (__lll_trylock): Use __lll_base_trylock.
13599         (__lll_cond_trylock): Likewise.
13601 2014-07-10  Roland McGrath  <roland@hack.frob.com>
13603         * nptl/pthread_create.c (start_thread): Use atomic_or and
13604         lll_futex_wake directly rather than lll_robust_dead.
13605         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
13606         (lll_robust_dead): Macro removed.
13607         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Likewise.
13608         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
13609         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
13610         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
13611         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
13612         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
13613         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
13614         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
13615         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
13616         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
13617         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
13618         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
13619         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
13620         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
13621         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
13623         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
13624         Use atomic_compare_and_exchange_val_acq directly rather than
13625         lll_robust_trylock.
13626         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
13627         (__lll_robust_trylock, lll_robust_trylock): Removed.
13628         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
13629         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
13630         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
13631         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
13632         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
13633         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
13634         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
13635         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
13636         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
13637         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
13638         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
13639         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
13640         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
13641         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
13643 2014-07-02  Florian Weimer  <fweimer@redhat.com>
13645         * manual/locale.texi (Locale Names): New section documenting
13646         locale name syntax.  Adjust menu and node chaining accordingly.
13647         (Choosing Locale): Reference Locale Names, Locale Categories.
13648         Mention setting LC_ALL=C.  Reflect that name syntax is now
13649         documented.
13650         (Locale Categories): New section title.  Reference Locale Names.
13651         LC_ALL is an environment variable, but not a category.
13652         (Setting the Locale): Remove "locale -a" invocation and LOCPATH
13653         description, now in Locale Name.  Reference that section.  Locale
13654         name syntax is now documented.
13656 2014-07-02  Florian Weimer  <fweimer@redhat.com>
13658         [BZ #17137]
13659         * locale/findlocale.c (name_present, valid_locale_name): New
13660         functions.
13661         (_nl_find_locale): Use the loc_name variable to store name
13662         candidates.  Call name_present and valid_locale_name to check and
13663         validate locale names.  Return an error if the locale is invalid.
13665 2014-07-02  Florian Weimer  <fweimer@redhat.com>
13667         * locale/setlocale.c (setlocale): Use strdup for allocating
13668         composite name copy.
13670 2014-07-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
13672         Sync up with gnulib.
13673         * misc/error.c: Use !_LIBC instead of HAVE_CONFIG_H.
13674         [!_LIBC && ENABLE_NLS]: Include gettext.h.
13675         [_LIBC]: Define USE_UNLOCKED_IO, _GL_ATTRIBUTE_FORMAT_PRINTF
13676         and _GL_ARG_NONNULL.
13677         [USE_UNLOCKED_IO]: Include unlocked-io.h.
13678         [!_LIBC]: Include code for Windows and Cygwin.
13679         [!_LIBC && !HAVE_DECL_STRERROR_R && !STRERROR_R_CHAR_P]:
13680         Include prototype for int strerror_r.
13681         [!_LIBC] (is_open): New function.
13682         (flush_stdout): New function.
13683         (print_errno_message): Use it.
13684         (error): Likewise.
13685         (error_at_line): Likewise.
13686         (error_tail) Add function attribute macros.  Use
13687         __builtin_expect.
13689         * time/strptime_l.c [_LIBC]: Define HAVE_LOCALTIME_R.
13691         * time/strftime_l.c [_LIBC]: Define HAVE_STRFTIME.
13693         * io/ftw.c: Include sys/param.h unconditionally.
13695         * locale/programs/simple-hash.c [!HAVE_OBSTACK]: Remove code.
13697         [BZ #17125]
13698         * sysdeps/unix/sysv/linux/check_pf.c (cache): Don't use
13699         libc_freeres_ptr.
13700         (freecache): New function to free CACHE on exit.
13702         * sunrpc/xdr.c (xdr_string): Add comment about SIZE
13703         initialization.
13705 2014-07-09  David S. Miller  <davem@davemloft.net>
13707         * sysdeps/sparc/fpu/libm-test-ulps: Update.
13709         * sysdeps/sparc/nptl/internaltypes.h: Delete.
13710         * sysdeps/sparc/nptl/sparc-nptl.h: New file.
13711         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: Include it.
13712         * sysdeps/sparc/nptl/pthread_barrier_init.c: Likewise.
13713         * sysdeps/sparc/nptl/pthread_barrier_wait.c: Likewise.
13714         * sysdeps/sparc/nptl/sem_init.c: Likewise.
13715         * sysdeps/sparc/nptl/sem_post.c: Likewise.
13716         * sysdeps/sparc/nptl/sem_timedwait.c: Likewise.
13717         * sysdeps/sparc/nptl/sem_wait.c: Likewise.
13718         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Likewise.
13719         * sysdeps/sparc/sparc32/nptl/sem_post.c: Likewise.
13720         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Likewise.
13721         * sysdeps/sparc/sparc32/nptl/sem_wait.c: Likewise.
13723 2014-07-09  Andreas Schwab  <schwab@suse.de>
13725         * sysdeps/powerpc/test-gettimebase.c (do_test): Add newline to
13726         output.
13727         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c
13728         (do_test): Likewise.
13730         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
13732 2014-07-09  Will Newton  <will.newton@linaro.org>
13734         * sysdeps/aarch64/tlsdesc.c (_dl_unmap): Test SHARED with #ifdef.
13735         * sysdeps/arm/tlsdesc.c (_dl_unmap): Likewise.
13736         * sysdeps/i386/tlsdesc.c (_dl_unmap): Likewise.
13737         * sysdeps/x86_64/tlsdesc.c (_dl_unmap): Likewise.
13738         * sysdeps/hppa/start.S (_start): Likewise.
13740 2014-07-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
13742         * sunrpc/xdr.c (xdr_string): Initialize SIZE to 0.
13744         * sysdeps/generic/unwind-pe.h: Only check if __cplusplus is
13745         defined.
13747 2014-07-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
13749         * resolv/res_query.c (__libc_res_nsearch): Dereference resplen2
13750         after checking that it is non-NULL.
13752         * sysdeps/i386/dl-machine.h: Define ELF_MACHINE_NO_REL.
13754 2014-07-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13756         * sysdeps/powerpc/memmove.c: Remove file.
13757         * sysdeps/powerpc/powerpc32/power4/memcopy.h
13758         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Define it to 1.
13759         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
13760         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Remove define.
13761         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c:
13762         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Likewise.
13763         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Include default
13764         string memmove instead of removed powerpc one.
13766         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
13767         [weak_alias]: Fix compiler warning due trailing data.
13768         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S:
13769         [weak_alias]: Likewise.
13770         * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: Fix compile
13771         warnigs due missing definition of __strcpy_power7 and __strlen_power7.
13773         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
13774         (__libc_ifunc_impl_list): Add memmove functions.
13776 2014-07-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
13778         * localedata/tests-mbwc/dat_iswalnum.c [SHOJI_IS_RIGHT]:
13779         Remove code.
13780         * localedata/tests-mbwc/dat_iswalpha.c [SHOJI_IS_RIGHT]:
13781         Likewise
13782         * localedata/tests-mbwc/dat_iswctype.c [SHOJI_IS_RIGHT]:
13783         Likewise
13784         * localedata/tests-mbwc/dat_iswgraph.c [SHOJI_IS_RIGHT]:
13785         Likewise
13786         * localedata/tests-mbwc/dat_iswprint.c [SHOJI_IS_RIGHT]:
13787         Likewise
13788         * localedata/tests-mbwc/dat_iswpunct.c [SHOJI_IS_RIGHT]:
13789         Likewise
13790         * localedata/tests-mbwc/dat_mbrlen.c [SHOJI_IS_RIGHT]:
13791         Likewise
13792         * localedata/tests-mbwc/dat_mbstowcs.c [SHOJI_IS_RIGHT]:
13793         Likewise
13794         * localedata/tests-mbwc/dat_mbtowc.c [SHOJI_IS_RIGHT]:
13795         Likewise
13796         * localedata/tests-mbwc/dat_strcoll.c [SHOJI_IS_RIGHT]:
13797         Likewise
13798         * localedata/tests-mbwc/dat_swscanf.c [SHOJI_IS_RIGHT]:
13799         Likewise
13800         * localedata/tests-mbwc/dat_towctrans.c [SHOJI_IS_RIGHT]:
13801         Likewise
13802         * localedata/tests-mbwc/dat_wcscoll.c [SHOJI_IS_RIGHT]:
13803         Likewise
13804         * localedata/tests-mbwc/dat_wcswidth.c [SHOJI_IS_RIGHT]:
13805         Likewise
13806         * localedata/tests-mbwc/dat_wctob.c [SHOJI_IS_RIGHT]:
13807         Likewise
13808         * localedata/tests-mbwc/dat_wcwidth.c [SHOJI_IS_RIGHT]:
13809         Likewise
13810         * localedata/tests-mbwc/tst_towctrans.c [SHOJI_IS_RIGHT]:
13811         Likewise
13813 2014-07-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13815         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Align VSX copies to 16B
13816         to avoid alignment traps in non-cacheable memory.
13817         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
13819         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memmove
13820         multiarch objects.
13821         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c: New
13822         file: multiarch power7 memmove.
13823         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c: New file:
13824         multiarch default memmove.
13825         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: New file:
13826         multiarch memove for powerpc32/power4.
13828         * string/bcopy.c: Use full path to include memmove.c.
13829         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memmove and bcopy
13830         multiarch objects.
13831         * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c: New file: default
13832         bcopy for powerpc64.
13833         * sysdeps/powerpc/powerpc64/multiarch/bcopy.c: New file: multiarch
13834         bcopy for powerpc64.
13835         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Add bcopy
13836         and memmove implementations.
13837         * sysdeps/powerpc/powerpc64/multiarch/memmove-power7.S: New file:
13838         optimized multiarch memmove for POWER7/powerpc64.
13839         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: New file:
13840         default multiarch memmove for powerpc64.
13841         * sysdeps/powerpc/powerpc64/multiarch/memmove.c: New file: memmove
13842         multiarch for powerpc64.
13843         * sysdeps/powerpc/powerpc64/power7/bcopy.c: New file: optimized bcopy
13844         for POWER7/powerpc64.
13845         * sysdeps/powerpc/powerpc64/power7/memmove.S: New file: optimized
13846         memmove for POWER7/powerpc64.
13848         * sysdeps/powerpc/memmove.c (memmove): Cleanup impplementation to use
13849         glibc default one.
13851         * sysdeps/powerpc/bits/link.h [_CALL_ELF]: Guard check for
13852         __ELF_NATIVE_CLASS equal to 64.
13854 2014-07-07  Roland McGrath  <roland@hack.frob.com>
13856         * sysdeps/nptl/lowlevellock.h: File removed.
13858         * NEWS: NPTL is no longer an add-on!
13859         * nptl/internaltypes.h: Moved ...
13860         * sysdeps/nptl/internaltypes.h: ... here.
13861         * sysdeps/nptl/aio_misc.h: Use <nptl/pthreadP.h> in #include.
13862         * sysdeps/nptl/fork.c: Likewise.
13863         * sysdeps/nptl/gai_misc.h: Likewise.
13864         * sysdeps/nptl/librt-cancellation.c: Likewise.
13865         * sysdeps/nptl/jmp-unwind.c: Likewise.
13866         * sysdeps/nptl/setxid.h: Likewise.
13867         * sysdeps/unix/sysv/linux/aarch64/Implies: New file.
13868         * sysdeps/unix/sysv/linux/alpha/Implies: Add alpha/nptl.
13869         * sysdeps/unix/sysv/linux/arm/Implies: New file.
13870         * sysdeps/unix/sysv/linux/hppa/Implies: New file.
13871         * sysdeps/unix/sysv/linux/i386/Implies: Add i386/nptl.
13872         * sysdeps/unix/sysv/linux/i386/i686/Implies: New file.
13873         * sysdeps/unix/sysv/linux/ia64/Implies: Add ia64/nptl.
13874         * sysdeps/unix/sysv/linux/m68k/Implies: New file.
13875         * sysdeps/unix/sysv/linux/microblaze/Implies: New file.
13876         * sysdeps/unix/sysv/linux/mips/Implies: New file.
13877         * sysdeps/unix/sysv/linux/powerpc/Implies: New file.
13878         * sysdeps/unix/sysv/linux/s390/Implies: Add s390/nptl.
13879         * sysdeps/unix/sysv/linux/sh/Implies: New file.
13880         * sysdeps/unix/sysv/linux/sparc/Implies: New file.
13881         * sysdeps/unix/sysv/linux/tile/Implies: New file.
13882         * sysdeps/unix/sysv/linux/x86_64/Implies: Add x86_64/nptl.
13883         * sysdeps/unix/sysv/linux/x86_64/x32/Implies: New file.
13884         * nptl/Makeconfig: Moved ...
13885         * sysdeps/nptl/Makeconfig: ... here.
13886         * nptl/configure: File removed.
13887         * nptl/ANNOUNCE: File removed.
13888         * sysdeps/unix/sysv/linux/configure.ac: Remove nptl sanity check.
13889         * sysdeps/unix/sysv/linux/configure: Regenerated.
13891         * nptl/Makefile (routines): Add libc_pthread_init,
13892         libc_multiple_threads, register-atfork and unregister-atfork.
13893         (libpthread-routines): Add pthread_mutex_cond_lock and pt-fork here.
13894         (gen-as-const-headers): Add lowlevelcond.sym, lowlevelrwlock.sym,
13895         lowlevelbarrier.sym, unwindbuf.sym, lowlevelrobustlock.sym,
13896         pthread-pi-defines.sym, structsem.sym.
13897         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = posix]
13898         (CFLAGS-fork.c, CFLAGS-getpid.o, CFLAGS-getpid.os): New variables.
13899         [$(subdir) = nptl] (tests): Add tst-setgetname.
13900         * nptl/sysdeps/unix/sysv/linux/Makefile: File removed.
13901         * sysdeps/unix/sysv/linux/sigaction.c: Just include
13902         <nptl/sigaction.c> directly here, instead of WRAPPER_INCLUDE.
13903         [!LIBC_SIGACTION]: Remove aliases.
13904         * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
13905         * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
13906         * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
13907         * sysdeps/unix/sysv/linux/ia64/sigaction.c: Likewise.
13908         * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
13909         * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c: Likewise.
13910         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
13911         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
13912         * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
13913         * nptl/Versions (libc: GLIBC_2.3.2): Add __register_atfork.
13914         (libc: GLIBC_PRIVATE): Add __libc_pthread_init,
13915         __libc_current_sigrtmin_private, __libc_current_sigrtmax_private,
13916         __libc_allocate_rtsig_private.
13917         * nptl/sysdeps/unix/sysv/linux/Versions: File removed.
13918         * sysdeps/unix/sysv/linux/sigtimedwait.c: Include <nptl/pthreadP.h>.
13919         * sysdeps/unix/sysv/linux/sigwait.c: Likewise.
13920         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
13921         * sysdeps/unix/sysv/linux/sleep.c: Likewise.
13922         * nptl/sysdeps/unix/sysv/linux/sigwait.c: File removed.
13923         * nptl/sysdeps/unix/sysv/linux/sigtimedwait.c: File removed.
13924         * nptl/sysdeps/unix/sysv/linux/sigwaitinfo.c: File removed.
13925         * nptl/sysdeps/unix/sysv/linux/sleep.c: File removed.
13926         * nptl/sysdeps/unix/sysv/linux/createthread.c: File removed.
13927         * sysdeps/unix/sysv/linux/ia64/fork.S: File removed.
13928         * nptl/sysdeps/unix/sysv/linux/internaltypes.h: Moved ...
13929         * nptl/internaltypes.h: ... here.
13930         * nptl/sysdeps/unix/sysv/linux/jmp-unwind.c: Moved ...
13931         * sysdeps/nptl/jmp-unwind.c: ... here.
13932         * nptl/sysdeps/unix/sysv/linux/libc-lowlevellock.c: Moved ...
13933         * nptl/libc-lowlevellock.c: ... here.
13934         * nptl/sysdeps/unix/sysv/linux/libc_multiple_threads.c: Moved ...
13935         * nptl/libc_multiple_threads.c: ... here.
13936         * nptl/sysdeps/unix/sysv/linux/libc_pthread_init.c: Moved ...
13937         * nptl/libc_pthread_init.c: ... here.
13938         * nptl/sysdeps/unix/sysv/linux/lowlevelbarrier.sym: Moved ...
13939         * nptl/lowlevelbarrier.sym: ... here.
13940         * nptl/sysdeps/unix/sysv/linux/lowlevelcond.sym: Moved ...
13941         * nptl/lowlevelcond.sym: ... here.
13942         * nptl/sysdeps/unix/sysv/linux/lowlevellock.c: Moved ...
13943         * nptl/lowlevellock.c: ... here.
13944         * nptl/lowlevellock.h: Moved ...
13945         * sysdeps/nptl/lowlevellock.h: ... here.
13946         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Moved ...
13947         * nptl/lowlevelrobustlock.c: ... here.
13948         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.sym: Moved ...
13949         * nptl/lowlevelrobustlock.sym: ... here.
13950         * nptl/sysdeps/unix/sysv/linux/lowlevelrwlock.sym: Moved ...
13951         * nptl/lowlevelrwlock.sym: ... here.
13952         * nptl/sysdeps/unix/sysv/linux/pt-fork.c: Moved ...
13953         * nptl/pt-fork.c: ... here.
13954         * nptl/sysdeps/unix/sysv/linux/pthread-pi-defines.sym: Moved ...
13955         * nptl/pthread-pi-defines.sym: ... here.
13956         * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Moved ...
13957         * nptl/pthread_attr_getaffinity.c: ... here.
13958         * nptl/sysdeps/unix/sysv/linux/pthread_attr_setaffinity.c: Moved ...
13959         * nptl/pthread_attr_setaffinity.c: ... here.
13960         * nptl/sysdeps/unix/sysv/linux/pthread_mutex_cond_lock.c: Moved ...
13961         * nptl/pthread_mutex_cond_lock.c: ... here.
13962         * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
13963         Update #include.
13964         * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Likewise.
13965         * nptl/sysdeps/unix/sysv/linux/pthread_once.c: Moved ...
13966         * nptl/pthread_once.c: ... here, replacing old file.
13967         * nptl/sysdeps/unix/sysv/linux/pthread_yield.c: Moved ...
13968         * nptl/pthread_yield.c: ... here.
13969         * nptl/sysdeps/unix/sysv/linux/register-atfork.c: Moved ...
13970         * nptl/register-atfork.c: ... here.
13971         * nptl/sysdeps/unix/sysv/linux/sem_post.c: Moved ...
13972         * nptl/sem_post.c: ... here.
13973         * sysdeps/unix/sysv/linux/alpha/sem_post.c: Update #include.
13974         * nptl/sysdeps/unix/sysv/linux/sem_timedwait.c: Moved ...
13975         * nptl/sem_timedwait.c: ... here.
13976         * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Moved ...
13977         * nptl/sem_trywait.c: ... here.
13978         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Update #include.
13979         * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Moved ...
13980         * nptl/sem_wait.c: ... here.
13981         * nptl/sysdeps/unix/sysv/linux/structsem.sym: Moved ...
13982         * nptl/structsem.sym: ... here.
13983         * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Moved ...
13984         * sysdeps/unix/sysv/linux/mq_notify.c: ... here, replacing old file.
13985         * nptl/sysdeps/unix/sysv/linux/unregister-atfork.c: Moved ...
13986         * nptl/unregister-atfork.c: ... here.
13987         * nptl/sysdeps/unix/sysv/linux/unwindbuf.sym: Moved ...
13988         * nptl/unwindbuf.sym: ... here.
13989         * nptl/sysdeps/unix/sysv/linux/fork.c: Moved ...
13990         * sysdeps/nptl/fork.c: ... here.
13991         * nptl/sysdeps/unix/sysv/linux/fork.h: Moved ...
13992         * sysdeps/nptl/fork.h: ... here.
13993         * sysdeps/unix/sysv/linux/syscalls.list: Remove fork.
13994         * nptl/sysdeps/unix/sysv/linux/aio_misc.h: Moved ...
13995         * sysdeps/unix/sysv/linux/aio_misc.h: ... here.
13996         * nptl/sysdeps/unix/sysv/linux/allocrtsig.c: Moved ...
13997         * sysdeps/unix/sysv/linux/allocrtsig.c: ... here.
13998         * nptl/sysdeps/unix/sysv/linux/getpid.c: Moved ...
13999         * sysdeps/unix/sysv/linux/getpid.c: ... here.
14000         * nptl/sysdeps/unix/sysv/linux/kernel-posix-timers.h: Moved ...
14001         * sysdeps/unix/sysv/linux/kernel-posix-timers.h: ... here.
14002         * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Moved ...
14003         * sysdeps/unix/sysv/linux/pt-raise.c: ... here.
14004         * nptl/sysdeps/unix/sysv/linux/pthread_getaffinity.c: Moved ...
14005         * sysdeps/unix/sysv/linux/pthread_getaffinity.c: ... here.
14006         * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Moved ...
14007         * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: ... here.
14008         * nptl/sysdeps/unix/sysv/linux/pthread_getname.c: Moved ...
14009         * sysdeps/unix/sysv/linux/pthread_getname.c: ... here.
14010         * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Moved ...
14011         * sysdeps/unix/sysv/linux/pthread_kill.c: ... here.
14012         * nptl/sysdeps/unix/sysv/linux/pthread_setaffinity.c: Moved ...
14013         * sysdeps/unix/sysv/linux/pthread_setaffinity.c: ... here.
14014         * nptl/sysdeps/unix/sysv/linux/pthread_setname.c: Moved ...
14015         * sysdeps/unix/sysv/linux/pthread_setname.c: ... here.
14016         * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Moved ...
14017         * sysdeps/unix/sysv/linux/pthread_sigqueue.c: ... here.
14018         * nptl/sysdeps/unix/sysv/linux/raise.c: Moved ...
14019         * sysdeps/unix/sysv/linux/raise.c: ... here.
14020         * nptl/sysdeps/unix/sysv/linux/timer_create.c: Moved ...
14021         * sysdeps/unix/sysv/linux/timer_create.c: ... here.
14022         * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Moved ...
14023         * sysdeps/unix/sysv/linux/timer_delete.c: ... here.
14024         * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Moved ...
14025         * sysdeps/unix/sysv/linux/timer_getoverr.c: ... here.
14026         * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Moved ...
14027         * sysdeps/unix/sysv/linux/timer_gettime.c: ... here.
14028         * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Moved ...
14029         * sysdeps/unix/sysv/linux/timer_routines.c: ... here.
14030         * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Moved ...
14031         * sysdeps/unix/sysv/linux/timer_settime.c: ... here.
14032         * nptl/sysdeps/unix/sysv/linux/tst-setgetname.c: Moved ...
14033         * sysdeps/unix/sysv/linux/tst-setgetname.c: ... here.
14034         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Update #include.
14036 2014-07-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
14038         * sysdeps/generic/memcopy.h: Add comment for
14039         MEMCPY_OK_FOR_FWD_MEMMOVE.
14041 2014-07-04  Will Newton  <will.newton@linaro.org>
14043         * string/memchr.c: Merge from gnulib.
14044         [_LIBC]: Remove conditionals.
14045         (__ptr_t): Remove define.
14046         (LONG_MAX_32_BITS): Likewise.
14047         (LONG_MAX): Likewise.
14048         (MEMCHR): Use ANSI prototype and optimize algorithm.
14050         * sysdeps/arm/dl-machine.h (ELF_MACHINE_NO_REL): Define.
14052 2014-07-03  Roland McGrath  <roland@hack.frob.com>
14054         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h
14055         (lll_futex_timed_wait_bitset): Fix syscall argument count.
14057         * sysdeps/nptl/configure.ac (libc_cv_forced_unwind):
14058         Use -Dinhibit_libc=1 for unwind.h check to prevent false failure
14059         in a bare environment with no <stdlib.h> installed.
14060         * sysdeps/nptl/configure: Regenerated.
14062         * sysdeps/alpha/fpu/s_nearbyint.c: Include <math_ldbl_opt.h>.
14064         * sysdeps/unix/sysv/linux/configure.ac: Use AC_TRY_COMPILE rather than
14065         AC_EGREP_CPP for kernel header checks, so they only succeed if
14066         including <linux/version.h> actually works right.
14067         * sysdeps/unix/sysv/linux/configure: Regenerated.
14069         * sysdeps/s390/nptl/tls.h (THREAD_SET_POINTER_GUARD): Refer to the
14070         value so it's not diagnosed as unused.
14072         * sysdeps/pthread/Makefile: Conditionalize tst-timer bits (the only
14073         thing) with "ifeq ($(subdir),rt)".
14075 2014-07-03  Richard Henderson  <rth@redhat.com>
14077         * sysdeps/alpha/fpu/s_nearbyintf.c: Remove file.
14078         * sysdeps/alpha/fpu/s_nearbyint.c (__nearbyint): Remove;
14079         include sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c.
14081         * sysdeps/alpha/fpu/math_private.h (math_opt_barrier): New.
14082         (math_force_eval): New.
14084         * sysdeps/alpha/fpu/s_lround.c: Add 0.5 with chopped rounding.
14085         * sysdeps/alpha/fpu/s_lroundf.c: Likewise.
14087         * sysdeps/alpha/fpu/s_round.c: Remove file.
14088         * sysdeps/alpha/fpu/s_roundf.c: Remove file.
14090         * elf/dl-support.c (HP_TIMING_AVAIL): Do not redefine.
14091         (_dl_non_dynamic_init): Check HP_SMALL_TIMING_AVAIL instead.
14092         * elf/rtld.c (HP_TIMING_AVAIL): Do not redefine.
14093         (_dl_start_final): Check HP_SMALL_TIMING_AVAIL instead.
14094         (_dl_start, print_statistics): Likewise.
14095         * sysdeps/generic/ldsodefs.h (struct rtld_global): Only check
14096         HP_SMALL_TIMING_AVAIL in defining _dl_cpuclock_offset.
14098         * sysdeps/aarch64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
14099         * sysdeps/generic/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
14100         * sysdeps/i386/i686/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
14101         * sysdeps/ia64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
14102         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
14103         (HP_SMALL_TIMING_AVAIL): Define.
14104         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
14105         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
14106         (HP_SMALL_TIMING_AVAIL): Define.
14107         * sysdeps/sparc/sparc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
14108         * sysdeps/x86_64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
14110         * sysdeps/aarch64/hp-timing.h: New file.
14112         * sysdeps/generic/hp-timing.h: Remove dead comment.
14113         * sysdeps/generic/hp-timing-common.h: New file.
14114         * sysdeps/alpha/hp-timing.h: Include it.
14115         (HP_TIMING_DIFF, HP_TIMING_ACCUM_NT, HP_TIMING_PRINT): Remove.
14116         * sysdeps/i386/i686/hp-timing.h: Likewise.
14117         * sysdeps/ia64/hp-timing.h: Likewise.
14118         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
14119         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
14120         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
14121         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
14122         * sysdeps/x86_64/hp-timing.h: Don't include the i686 version.
14123         (HP_TIMING_AVAIL, HP_TIMING_INLINE): Define.
14124         (hp_timing_t): New.
14126         * benchtests/bench-string.h (_dl_hp_timing_overhead): Remove.
14127         * benchtests/bench-timing.h (_dl_hp_timing_overhead): Remove.
14128         (TIMING_INIT): Remove call to HP_TIMING_DIFF_INIT.
14129         * elf/rtld.c (_dl_start_final): Likewise.
14130         * sysdeps/generic/ldsodefs.h (_dl_hp_timing_overhead): Remove.
14131         * sysdeps/alpha/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
14132         * sysdeps/generic/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
14133         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
14134         * sysdeps/ia64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
14135         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
14136         (HP_TIMING_DIFF_INIT): Remove.
14137         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
14138         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
14139         (HP_TIMING_DIFF_INIT): Remove.
14140         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
14141         * sysdeps/i386/i686/hp-timing.c: Remove file.
14142         * sysdeps/x86_64/hp-timing.c: Remove file.
14143         * sysdeps/ia64/hp-timing.c: Remove file.
14144         * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Remove file.
14145         * sysdeps/powerpc/powerpc64/hp-timing.c: Remove file.
14146         * sysdeps/sparc/sparc32/sparcv9/hp-timing.c: Remove file.
14147         * sysdeps/sparc/sparc64/hp-timing.c: Remove file.
14149         * sysdeps/alpha/hp-timing.h (HP_TIMING_ACCUM): Remove.
14150         * sysdeps/generic/hp-timing.h (HP_TIMING_ACCUM): Remove.
14151         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ACCUM): Remove.
14152         * sysdeps/ia64/hp-timing.h (HP_TIMING_ACCUM): Remove.
14153         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
14154         (HP_TIMING_ACCUM): Remove.
14155         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
14156         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ACCUM): Remove.
14157         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
14159         * sysdeps/alpha/hp-timing.h (HP_TIMING_ZERO): Remove.
14160         * sysdeps/generic/hp-timing.h (HP_TIMING_ZERO): Remove.
14161         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ZERO): Remove.
14162         * sysdeps/ia64/hp-timing.h (HP_TIMING_ZERO): Remove.
14163         * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_ZERO): Remove.
14164         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ZERO): Remove.
14165         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ZERO): Remove.
14166         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ZERO): Remove.
14168         * sysdeps/powerpc/powerpc32/hp-timing.h: Remove file.
14170 2014-07-03  Maciej W. Rozycki  <macro@codesourcery.com>
14172         * stdlib/tst-strtod-overflow.c (TIMEOUT): Bump up to 30.
14174 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
14176         Sync up with gettext.
14177         * intl/loadmsgcat.c: Define O_BINARY if not defined.
14178         [_MSC_VER]: Include malloc.h
14179         [_LIBC]: Define PRI_MACROS_BROKEN if it is not defined.
14180         (get_sysdep_segment_value) [!__UCLIBC__]: Return "I" flag.
14181         (_nl_load_domain): Open DOMAIN_FILE in binary mode.  Don't use
14182         TEMP_FAILURE_RETRY.  Cast return of alloca.
14183         [!_LIBC] Call gl_rwlock_init.
14184         [IN_LIBGLOCALE]: Call _nl_find_msg with one less argument.
14186 2014-07-02  Roland McGrath  <roland@hack.frob.com>
14188         * misc/sys/cdefs.h: Check if __STDC_VERSION__ is defined
14189         before checking its value.
14191 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
14193         * intl/loadmsgcat.c (_nl_load_domain): Use __builtin_expect.
14195         * debug/memcpy_chk.c: Don't include pagecopy.h.
14196         * debug/mempcpy_chk.c: Likewise.
14197         * string/memcpy.c: Likewise.
14198         * string/memmove.c: Likewise.
14199         * sysdeps/powerpc/memmove.c: Likewise.
14200         * sysdeps/generic/memcopy.h: Include pagecopy.h.  Move
14201         definition of PAGE_COPY_FWD_MAYBE here...
14202         * sysdeps/generic/pagecopy.h: ... from here.
14203         * sysdeps/mach/pagecopy.h: Don't include generic pagecopy.h.
14205 2014-07-02  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
14206             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14208         * sysdeps/powerpc/strcat.c: Using macro to redefine symbol name.
14209         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcat multiarch
14210         optimizations.
14211         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
14212         (__libc_ifunc_impl_list): Likewise.
14213         * sysdeps/powerpc/powerpc64/multiarch/strcat.c: New file:
14214         multiarch strcat for PPC64.
14215         * sysdeps/powerpc/powerpc64/multiarch/strcat-ppc64.c: New file/
14216         * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: New file.
14218 2014-07-02  Roland McGrath  <roland@hack.frob.com>
14220         * sysdeps/unix/sysv/linux/dl-sysdep.c: Include <sys/param.h>.
14222 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
14224         * intl/loadmsgcat.c: Remove declaration of
14225         get_sysdep_segment_value.
14226         (get_sysdep_segment_value): Use ISO C style.
14227         (_nl_load_domain): Use ISO C style.  Get rid of redundant
14228         semicolon.  Fix typo and formatting in comment.
14229         (_nl_unload_domain): Use ISO C style.
14231         * sysdeps/posix/sysconf.c (__sysconf): Fix typo in macro name.
14233 2014-07-02  Will Newton  <will.newton@linaro.org>
14235         * malloc/obstack.c: Merge from gnulib master.
14236         [HAVE_CONFIG_H]: Remove conditional code.
14237         [!_LIBC]: Include config.h.
14238         [!ELIDE_CODE]: Don't include inttypes.h, include
14239         stdint.h unconditionally.
14240         (print_and_abort): Mark as _Noreturn.
14241         (_obstack_allocated_p): Mark as __attribute_pure__.
14242         (obstack_free): Rename to __obstack_free.
14243         [!__attribute__]: Remove conditional code.
14244         * malloc/obstack.h: Merge from gnulib master.
14245         [__cplusplus]: Move conditional down.
14246         [!__attribute_pure__]: Define __attribute_pure__ here
14247         if it is not already defined.
14248         (_obstack_memory_used): Mark as __attribute_pure__.
14249         [!__obstack_free]: Define as obstack_free.
14250         [__GNUC__]: Remove check for ancient NeXT gcc.
14252 2014-07-02  Will Newton  <will.newton@linaro.org>
14253             Paul Eggert  <eggert@cs.ucla.edu>
14255         * misc/sys/cdefs.h (_Noreturn): New macro, for pre-C11 compilers.
14257 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
14259         * resolv/gethnamaddr.c: Add comment warning that the file is
14260         not maintained.
14262 2014-07-01  Carlos O'Donell  <carlos@redhat.com>
14264         * sysdeps/unix/sysv/linux/hppa/librt.abilist: Remove GLIBC_2.3
14265         entries.
14267         * sysdeps/unix/sysv/linux/hppa/Versions: Remove librt GLIBC_2.3
14268         entry for aio_cancel and aio_cancel64.
14269         * sysdeps/unix/sysv/linux/hppa/ld.abilist: New file.
14270         * sysdeps/unix/sysv/linux/hppa/libBrokenLocale.abilist: New file.
14271         * sysdeps/unix/sysv/linux/hppa/libanl.abilist: New file.
14272         * sysdeps/unix/sysv/linux/hppa/libc.abilist: New file.
14273         * sysdeps/unix/sysv/linux/hppa/libcrypt.abilist: New file.
14274         * sysdeps/unix/sysv/linux/hppa/libdl.abilist: New file.
14275         * sysdeps/unix/sysv/linux/hppa/libm.abilist: New file.
14276         * sysdeps/unix/sysv/linux/hppa/libnsl.abilist: New file.
14277         * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: New file.
14278         * sysdeps/unix/sysv/linux/hppa/libresolv.abilist: New file.
14279         * sysdeps/unix/sysv/linux/hppa/librt.abilist: New file.
14280         * sysdeps/unix/sysv/linux/hppa/libthread_db.abilist: New file.
14281         * sysdeps/unix/sysv/linux/hppa/libutil.abilist: New file.
14283 2014-07-01  Roland McGrath  <roland@hack.frob.com>
14285         * sysdeps/unix/sysv/linux/sysconf.c: Include <sys/param.h>.
14286         * nptl/pthread_mutex_lock.c: Likewise.
14287         * nptl/pthread_mutex_timedlock.c: Likewise.
14288         * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Likewise.
14290 2014-07-01  Richard henderson  <rth@redhat.com>
14292         * sysdeps/alpha/fpu/bits/mathinline.h (__isnanf): Remove.
14293         (__isnan, __isnanl): Remove.
14294         * sysdeps/alpha/fpu/s_isnan.c (__isnan): Use integer arithmetic.
14296         * sysdeps/alpha/fpu/libm-test-ulps: Update.
14298 2014-07-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
14300         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
14302 2014-07-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
14304         * resolv/nss_dns/dns-host.c (getanswer_r)
14305         [MULTI_PTRS_ARE_ALIASES]: Remove code.
14307 2014-07-01  Joseph Myers  <joseph@codesourcery.com>
14309         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
14310         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PSELECT): Do not
14311         undefine.
14312         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PREADV): Likewise.
14313         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PWRITEV): Likewise.
14315 2014-07-01  Roland McGrath <roland@hack.frob.com>
14317         * sysdeps/unix/sysv/linux/microblaze/arch-fork.h: New file.
14318         * sysdeps/unix/sysv/linux/microblaze/nptl/fork.c: File removed.
14320         * sysdeps/microblaze/nptl/tls.h: Define TLS_DEFINE_INIT_TP.
14321         * sysdeps/unix/sysv/linux/microblaze/nptl/createthread.c: File removed.
14323         * sysdeps/microblaze/nptl/bits/pthreadtypes.h: Moved ...
14324         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h:
14325         ... here.
14326         * sysdeps/microblaze/nptl/bits/semaphore.h: Moved ...
14327         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/semaphore.h: ... here.
14329         * sysdeps/unix/sysv/linux/microblaze/pt-vfork.S: Moved ...
14330         * sysdeps/unix/sysv/linux/microblaze/nptl/pt-vfork.S: ... here.
14331         * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Moved ...
14332         * sysdeps/unix/sysv/linux/microblaze/vfork.S: ... here.
14334         * sysdeps/unix/sysv/linux/microblaze/c++-types.data: Moved ...
14335         * sysdeps/unix/sysv/linux/microblaze/nptl/c++-types.data: ... here.
14336         * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Moved ...
14337         * sysdeps/unix/sysv/linux/microblaze/nptl/ld.abilist: ... here.
14338         * sysdeps/unix/sysv/linux/microblaze/libBrokenLocale.abilist:
14339         Moved ...
14340         * sysdeps/unix/sysv/linux/microblaze/nptl/libBrokenLocale.abilist:
14341         ... here.
14342         * sysdeps/unix/sysv/linux/microblaze/libanl.abilist: Moved ...
14343         * sysdeps/unix/sysv/linux/microblaze/nptl/libanl.abilist: ... here.
14344         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Moved ...
14345         * sysdeps/unix/sysv/linux/microblaze/nptl/libc.abilist: ... here.
14346         * sysdeps/unix/sysv/linux/microblaze/libcrypt.abilist: Moved ...
14347         * sysdeps/unix/sysv/linux/microblaze/nptl/libcrypt.abilist: ... here.
14348         * sysdeps/unix/sysv/linux/microblaze/libdl.abilist: Moved ...
14349         * sysdeps/unix/sysv/linux/microblaze/nptl/libdl.abilist: ... here.
14350         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Moved ...
14351         * sysdeps/unix/sysv/linux/microblaze/nptl/libm.abilist: ... here.
14352         * sysdeps/unix/sysv/linux/microblaze/libnsl.abilist: Moved ...
14353         * sysdeps/unix/sysv/linux/microblaze/nptl/libnsl.abilist: ... here.
14354         * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Moved ...
14355         * sysdeps/unix/sysv/linux/microblaze/nptl/libpthread.abilist: ... here.
14356         * sysdeps/unix/sysv/linux/microblaze/libresolv.abilist: Moved ...
14357         * sysdeps/unix/sysv/linux/microblaze/nptl/libresolv.abilist: ... here.
14358         * sysdeps/unix/sysv/linux/microblaze/librt.abilist: Moved ...
14359         * sysdeps/unix/sysv/linux/microblaze/nptl/librt.abilist: ... here.
14360         * sysdeps/unix/sysv/linux/microblaze/libthread_db.abilist: Moved ...
14361         * sysdeps/unix/sysv/linux/microblaze/nptl/libthread_db.abilist:
14362         ... here.
14363         * sysdeps/unix/sysv/linux/microblaze/libutil.abilist: Moved ...
14364         * sysdeps/unix/sysv/linux/microblaze/nptl/libutil.abilist: ... here.
14365         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Moved ...
14366         * sysdeps/unix/sysv/linux/microblaze/nptl/localplt.data: ... here.
14367         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Moved ...
14368         * sysdeps/unix/sysv/linux/microblaze/nptl/lowlevellock.h: ... here.
14369         * sysdeps/unix/sysv/linux/microblaze/nptl/pthread_once.c: Moved ...
14370         * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: ... here.
14372 2014-07-01  David Holsgrove  <david.holsgrove@xilinx.com>
14374         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: New file.
14375         * sysdeps/unix/sysv/linux/microblaze/socket.S: Update SINGLE_THREAD_P use.
14376         * sysdeps/unix/sysv/linux/microblaze/Makefile(libpthread-routines):
14377         Add sysdep.
14379 2014-06-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14381         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14383 2014-06-30  Joseph Myers  <joseph@codesourcery.com>
14385         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
14386         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
14388         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
14390         * sysdeps/arm/libm-test-ulps: Regenerated.
14392 2014-06-30  Maciej W. Rozycki  <macro@codesourcery.com>
14393             Roland McGrath <roland@hack.frob.com>
14395         * test-skeleton.c (signal_handler): Kill the whole process group
14396         before killing the child individually.
14397         (main): Report any failure on `setpgid'.
14399 2014-06-30  Roland McGrath  <roland@hack.frob.com>
14401         * sysdeps/arm/nptl/tls.h: Rename the multiple inclusion guard
14402         from _TLS_H to _ARM_NPTL_TLS_H.
14403         (TLS_INIT_TP): Move macro, and #include of <sysdep.h>, to ...
14404         * sysdeps/unix/sysv/linux/arm/tls.h: ... this new file.
14406 2014-06-30  Joseph Myers  <joseph@codesourcery.com>
14408         [BZ #16539]
14409         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Include <float.h>.
14410         (__expm1l): Return argument unchanged when small but not
14411         subnormal.
14413         * soft-fp/op-1.h (_FP_UNPACK_RAW_1): Rename local variables to
14414         include macro name.
14415         (_FP_UNPACK_RAW_1_P): Likewise.
14416         (_FP_PACK_RAW_1): Likewise.
14417         (_FP_PACK_RAW_1_P): Likewise.
14418         (_FP_MUL_MEAT_1_wide): Likewise.
14419         (_FP_MUL_MEAT_DW_1_hard): Likewise.
14420         (_FP_MUL_MEAT_1_hard): Likewise.
14421         (_FP_DIV_MEAT_1_imm): Likewise.
14422         (_FP_DIV_MEAT_1_udiv_norm): Likewise.
14423         (_FP_DIV_MEAT_1_udiv): Likewise.
14424         * soft-fp/op-2.h (__FP_FRAC_DEC_2): Likewise.
14425         (_FP_UNPACK_RAW_2): Likewise.
14426         (_FP_UNPACK_RAW_2_P): Likewise.
14427         (_FP_PACK_RAW_2): Likewise.
14428         (_FP_PACK_RAW_2_P): Likewise.
14429         (_FP_MUL_MEAT_DW_2_wide): Likewise.
14430         (_FP_MUL_MEAT_2_wide): Likewise.
14431         (_FP_MUL_MEAT_DW_2_wide_3mul): Likewise.
14432         (_FP_MUL_MEAT_2_wide_3mul): Likewise.
14433         (_FP_MUL_MEAT_DW_2_gmp): Likewise.
14434         (_FP_MUL_MEAT_2_gmp): Likewise.
14435         (_FP_DIV_MEAT_2_udiv): Likewise.
14436         * soft-fp/op-4.h (_FP_FRAC_SLL_4): Likewise.
14437         (_FP_FRAC_SRL_4): Likewise.
14438         (_FP_FRAC_SRST_4): Likewise.
14439         (_FP_FRAC_SRS_4): Likewise.
14440         (_FP_UNPACK_RAW_4): Likewise.
14441         (_FP_UNPACK_RAW_4_P): Likewise.
14442         (_FP_PACK_RAW_4): Likewise.
14443         (_FP_PACK_RAW_4_P): Likewise.
14444         (_FP_MUL_MEAT_DW_4_wide): Likewise.
14445         (_FP_MUL_MEAT_4_wide): Likewise.
14446         (_FP_MUL_MEAT_4_gmp): Likewise.
14447         (umul_ppppmnnn): Likewise.
14448         (_FP_DIV_MEAT_4_udiv): Likewise.
14449         (__FP_FRAC_ADD_4): Likewise.
14450         (__FP_FRAC_SUB_3): Likewise.
14451         (__FP_FRAC_SUB_4): Likewise.
14452         (__FP_FRAC_DEC_3): Likewise.
14453         (__FP_FRAC_DEC_4): Likewise.
14454         (__FP_FRAC_ADDI_4): Likewise.
14455         * soft-fp/op-8.h (_FP_FRAC_SLL_8): Likewise.
14456         (_FP_FRAC_SRL_8): Likewise.
14457         (_FP_FRAC_SRS_8): Likewise.
14459         * soft-fp/extended.h (FP_UNPACK_RAW_E): Rename local variables to
14460         include macro name.
14461         (FP_UNPACK_RAW_EP): Likewise.
14462         (FP_PACK_RAW_E): Likewise.
14463         (FP_PACK_RAW_EP): Likewise.
14464         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Likewise.
14465         (_FP_ISSIGNAN): Likewise.
14466         (_FP_ADD_INTERNAL): Likewise.
14467         (_FP_FMA): Likewise.
14468         (_FP_CMP): Likewise.
14469         (_FP_SQRT): Likewise.
14470         (_FP_TO_INT): Likewise.
14471         (_FP_FROM_INT): Likewise.
14472         (FP_EXTEND): Likewise.
14473         (_FP_DIV_MEAT_N_loop): Likewise.
14475 2014-06-30  Maciej W. Rozycki  <macro@codesourcery.com>
14477         * sysdeps/unix/sysv/linux/bits/socket.h: Adjust macro formatting
14478         throughout.
14480 2014-06-29  Joseph Myers  <joseph@codesourcery.com>
14482         [BZ #17097]
14483         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Return
14484         result with correct sign in case of exponents that produce
14485         overflow except for X very close to 1.
14487 2014-06-28  Paul Eggert  <eggert@cs.ucla.edu>
14489         mktime: merge #if/#ifdef usage from glibc
14490         * lib/mktime.c: Use "#if defined DEBUG && DEBUG", not "#if DEBUG",
14491         as that works with both Glibc's and Gnulib's style.
14492         See thread starting at Siddhesh Poyarekar's bug report at:
14493         http://lists.gnu.org/archive/html/bug-gnulib/2014-06/msg00102.html
14495 2014-06-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
14497         * sysdeps/generic/memcopy.h: Define MEMCPY_OK_FOR_FWD_MEMMOVE.
14498         * sysdeps/tile/memcopy.h: Redefine MEMCPY_OK_FOR_FWD_MEMMOVE.
14499         * sysdeps/tile/tilegx/memmove.c: Remove file.
14501 2014-06-27  Joseph Myers  <joseph@codesourcery.com>
14503         * Makeconfig ($(common-objpfx)soversions.mk): Do not generate
14504         abi-name definition.
14505         * scripts/soversions.awk: Do not handle or generate ABI lines.
14506         * shlib-versions: Remove ABI entries.
14507         * sysdeps/powerpc/nofpu/shlib-versions: Remove file.
14508         * sysdeps/x86_64/x32/shlib-versions: Remove ABI entry.
14510 2014-06-27  Roland McGrath  <roland@hack.frob.com>
14512         * sysdeps/unix/sysv/linux/mips/mips32/nptl/c++-types.data: Moved ...
14513         * sysdeps/unix/sysv/linux/mips/mips32/c++-types.data: ... here.
14514         * sysdeps/unix/sysv/linux/mips/mips32/fpu/nptl/libc.abilist: Moved ...
14515         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: ... here.
14516         * sysdeps/unix/sysv/linux/mips/mips32/nptl/ld.abilist: Moved ...
14517         * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: ... here.
14518         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libBrokenLocale.abilist:
14519         Moved ...
14520         * sysdeps/unix/sysv/linux/mips/mips32/libBrokenLocale.abilist:
14521         ... here.
14522         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libanl.abilist: Moved ...
14523         * sysdeps/unix/sysv/linux/mips/mips32/libanl.abilist: ... here.
14524         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcidn.abilist: Moved ...
14525         * sysdeps/unix/sysv/linux/mips/mips32/libcidn.abilist: ... here.
14526         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcrypt.abilist: Moved ...
14527         * sysdeps/unix/sysv/linux/mips/mips32/libcrypt.abilist: ... here.
14528         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libdl.abilist: Moved ...
14529         * sysdeps/unix/sysv/linux/mips/mips32/libdl.abilist: ... here.
14530         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libm.abilist: Moved ...
14531         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: ... here.
14532         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnsl.abilist: Moved ...
14533         * sysdeps/unix/sysv/linux/mips/mips32/libnsl.abilist: ... here.
14534         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_compat.abilist:
14535         Moved ...
14536         * sysdeps/unix/sysv/linux/mips/mips32/libnss_compat.abilist: ... here.
14537         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_db.abilist: Moved ...
14538         * sysdeps/unix/sysv/linux/mips/mips32/libnss_db.abilist: ... here.
14539         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_dns.abilist: Moved ...
14540         * sysdeps/unix/sysv/linux/mips/mips32/libnss_dns.abilist: ... here.
14541         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_files.abilist:
14542         Moved ...
14543         * sysdeps/unix/sysv/linux/mips/mips32/libnss_files.abilist: ... here.
14544         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_hesiod.abilist:
14545         Moved ...
14546         * sysdeps/unix/sysv/linux/mips/mips32/libnss_hesiod.abilist: ... here.
14547         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nis.abilist: Moved ...
14548         * sysdeps/unix/sysv/linux/mips/mips32/libnss_nis.abilist: ... here.
14549         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nisplus.abilist:
14550         Moved ...
14551         * sysdeps/unix/sysv/linux/mips/mips32/libnss_nisplus.abilist: ... here.
14552         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libpthread.abilist: Moved ...
14553         * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: ... here.
14554         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libresolv.abilist: Moved ...
14555         * sysdeps/unix/sysv/linux/mips/mips32/libresolv.abilist: ... here.
14556         * sysdeps/unix/sysv/linux/mips/mips32/nptl/librt.abilist: Moved ...
14557         * sysdeps/unix/sysv/linux/mips/mips32/librt.abilist: ... here.
14558         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libthread_db.abilist:
14559         Moved ...
14560         * sysdeps/unix/sysv/linux/mips/mips32/libthread_db.abilist: ... here.
14561         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libutil.abilist: Moved ...
14562         * sysdeps/unix/sysv/linux/mips/mips32/libutil.abilist: ... here.
14563         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/nptl/libc.abilist:
14564         Moved ...
14565         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: ... here.
14566         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/c++-types.data:
14567         Moved ...
14568         * sysdeps/unix/sysv/linux/mips/mips64/n32/c++-types.data: ... here.
14569         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/ld.abilist: Moved ...
14570         * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: ... here.
14571         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libBrokenLocale.abilist:
14572         Moved ...
14573         * sysdeps/unix/sysv/linux/mips/mips64/libBrokenLocale.abilist:
14574         ... here.
14575         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libBrokenLocale.abilist:
14576         Identical file removed.
14577         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libanl.abilist:
14578         Moved ...
14579         * sysdeps/unix/sysv/linux/mips/mips64/libanl.abilist: ... here.
14580         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libanl.abilist:
14581         Identical file removed.
14582         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libc.abilist: Moved ...
14583         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: ... here.
14584         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libcrypt.abilist:
14585         Moved ...
14586         * sysdeps/unix/sysv/linux/mips/mips64/libcrypt.abilist: ... here.
14587         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libcrypt.abilist:
14588         Identical file removed.
14589         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libdl.abilist: Moved ...
14590         * sysdeps/unix/sysv/linux/mips/mips64/libdl.abilist: ... here.
14591         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libdl.abilist:
14592         Identical file removed.
14593         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libm.abilist: Moved ...
14594         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: ... here.
14595         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libm.abilist:
14596         Identical file removed.
14597         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libnsl.abilist: Moved ...
14598         * sysdeps/unix/sysv/linux/mips/mips64/libnsl.abilist: ... here.
14599         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libnsl.abilist:
14600         Identical file removed.
14601         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libpthread.abilist:
14602         Moved ...
14603         * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: ... here.
14604         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libpthread.abilist:
14605         Identical file removed.
14606         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libresolv.abilist:
14607         Moved ...
14608         * sysdeps/unix/sysv/linux/mips/mips64/n32/libresolv.abilist: ... here.
14609         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/librt.abilist: Moved ...
14610         * sysdeps/unix/sysv/linux/mips/mips64/librt.abilist: ... here.
14611         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/librt.abilist:
14612         Identical file removed.
14613         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libthread_db.abilist:
14614         Moved ...
14615         * sysdeps/unix/sysv/linux/mips/mips64/libthread_db.abilist:
14616         ... here.
14617         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libthread_db.abilist:
14618         Identical file removed.
14619         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libutil.abilist:
14620         Moved ...
14621         * sysdeps/unix/sysv/linux/mips/mips64/libutil.abilist: ... here.
14622         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libutil.abilist:
14623         Identical file removed.
14624         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/c++-types.data:
14625         Moved ...
14626         * sysdeps/unix/sysv/linux/mips/mips64/n64/c++-types.data: ... here.
14627         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/ld.abilist: Moved ...
14628         * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: ... here.
14629         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libc.abilist: Moved ...
14630         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: ... here.
14631         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libresolv.abilist:
14632         Moved ...
14633         * sysdeps/unix/sysv/linux/mips/mips64/n64/libresolv.abilist: ... here.
14634         * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h: Moved ...
14635         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: ... here.
14637         * sysdeps/unix/sysv/linux/mips/vfork.S: Incorporate
14638         SAVE_PID and RESTORE_PID blocks from nptl/pt-vfork.S.
14639         * sysdeps/unix/sysv/linux/mips/nptl/vfork.S: File removed.
14640         * sysdeps/unix/sysv/linux/mips/nptl/pt-vfork.S: File removed.
14641         * sysdeps/unix/sysv/linux/mips/pt-vfork.S: New file.
14643 2014-06-27  Arjun Shankar  <arjun.is@lostca.se>
14645         [BZ #17092]
14646         * nscd/nscd.c (monitor_child): Return exit status of child
14647         instead of return value from wait syscall.
14649 2014-06-27  Joseph Myers  <joseph@codesourcery.com>
14651         * configure.ac (libc_commonpagesize): Remove variable.
14652         (libc_relro_required): Likewise.
14653         (libc_cv_z_relro): Remove configure test.
14654         * configure: Regenerated.
14655         * sysdeps/aarch64/preconfigure (libc_commonpagesize): Do not set
14656         variable.
14657         (libc_relro_required): Likewise.
14658         * sysdeps/alpha/preconfigure (libc_commonpagesize): Likewise.
14659         (libc_relro_required): Likewise.
14660         * sysdeps/arm/preconfigure.ac (libc_commonpagesize): Likewise.
14661         (libc_relro_required): Likewise.
14662         * sysdeps/arm/preconfigure: Regenerated.
14663         * sysdeps/ia64/preconfigure: Remove file.
14664         * sysdeps/tile/preconfigure (libc_commonpagesize): Do not set
14665         variable.
14666         (libc_relro_required): Likewise.
14668         [BZ #16561]
14669         [BZ #16562]
14670         * sysdeps/ieee754/dbl-64/e_jn.c: Include <float.h>.
14671         (__ieee754_yn): Set FE_TONEAREST mode internally and then
14672         recompute overflowing results in original rounding mode.
14673         * sysdeps/ieee754/flt-32/e_jnf.c: Include <float.h>.
14674         (__ieee754_ynf): Set FE_TONEAREST mode internally and then
14675         recompute overflowing results in original rounding mode.
14676         * sysdeps/ieee754/ldbl-128/e_jnl.c: Include <float.h>.
14677         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
14678         recompute overflowing results in original rounding mode.
14679         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Include <float.h>.
14680         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
14681         recompute overflowing results in original rounding mode.
14682         * sysdeps/ieee754/ldbl-96/e_jnl.c: Include <float.h>.
14683         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
14684         recompute overflowing results in original rounding mode.
14685         * sysdeps/i386/fpu/fenv_private.h [!__SSE2_MATH__]
14686         (libc_feholdsetround_ctx): New macro.
14687         * math/libm-test.inc (yn_test): Use ALL_RM_TEST.
14688         * sysdeps/i386/fpu/libm-test-ulps: Update.
14689         * sysdeps/x86_64/fpu/libm-test-ulps : Likewise.
14691 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
14693         * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h
14694         [__PIC__] (PSEUDO): Use name of _nocancel entry point in
14695         corresponding .cpsetup call.
14697 2014-06-26  Roland McGrath  <roland@hack.frob.com>
14699         * sysdeps/unix/sysv/linux/arm/libc-aeabi_read_tp.S: Moved ...
14700         * sysdeps/arm/libc-aeabi_read_tp.S: ... here.
14701         * sysdeps/arm/Makefile [$(subdir) = csu]
14702         (aeabi_routines): Add aeabi_read_tp and libc-aeabi_read_tp here.
14703         (static-only-routines): Add aeabi_read_tp here.
14704         (shared-only-routines): Add libc-aeabi_read_tp here.
14705         (CFLAGS-libc-start.c): Add -fexceptions here.
14706         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = csu]
14707         (sysdep_routines, static-only-routines, shared-only-routines):
14708         Don't add to these here.
14709         (CFLAGS-libc-start.c): Likewise.
14711         * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: Moved ...
14712         * sysdeps/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
14713         * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: Moved ...
14714         * sysdeps/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
14715         * sysdeps/arm/Makefile [$(subdir) = rt]
14716         (librt-sysdep_routines, librt-shared-only-routines):
14717         Append rt-aeabi_unwind_cpp_pr1 here.
14718         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = rt]
14719         (librt-sysdep_routines, librt-shared-only-routines): Don't do it here.
14720         * sysdeps/arm/nptl/Makefile [$(subdir) = nptl]
14721         (libpthread-sysdep_routines, libpthread-shared-only-routines):
14722         Append nptl-aeabi_unwind_cpp_pr1 here.
14723         (tests): Filter out tst-cleanupx4 here.
14724         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = nptl]
14725         (libpthread-sysdep_routines, libpthread-shared-only-routines, tests):
14726         Don't do those here.
14728 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
14730         * scripts/list-sources.sh: Do not handle ports specially.
14732 2014-06-26  Roland McGrath  <roland@hack.frob.com>
14734         * sysdeps/arm/fesetenv.c: Include <fpu_control.h>.
14735         * sysdeps/arm/feupdateenv.c: Likewise.
14737         * posix/spawn_faction_addopen.c: Include <stdlib.h> for free decl.
14739 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
14741         * manual/texinfo.tex: Update to version 2014-05-05.10 with
14742         trailing whitespace removed.
14743         * scripts/config.guess: Update to version 2014-03-23.
14744         * scripts/config.sub: Update to version 2014-05-01
14745         * scripts/install-sh: Update to version 2013-12-25.23.
14746         * scripts/move-if-change: Update from gnulib.
14748 2014-06-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
14750         * debug/memmove_chk.c: Remove pagecopy.h include.
14752 2014-06-26  Paul Eggert  <eggert@cs.ucla.edu>
14754         * time/mktime.c (leapyear): Remove inline keyword.  The code is now
14755         identical to gnulib mktime.
14757 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
14759         * configure.ac: Do not test for machine being rs6000.  Do not test
14760         for powerpc*-*soft.
14761         * configure: Regenerated.
14763         [BZ #11505]
14764         * configure.ac (libc_cv_asm_cfi_directives): Remove configure
14765         test.
14766         * configure: Regenerated.
14767         * config.h.in (HAVE_ASM_CFI_DIRECTIVES): Remove macro undefine.
14768         * sysdeps/arm/configure.ac (libc_cv_asm_cfi_directive_sections):
14769         Remove configure test.
14770         * sysdeps/arm/configure: Regenerated.
14771         * sysdeps/nptl/configure.ac: Do not check
14772         libc_cv_asm_cfi_directives.
14773         * sysdeps/nptl/configure: Regenerated.
14774         * sysdeps/x86_64/nptl/configure.ac: Remove file.
14775         * sysdeps/x86_64/nptl/configure: Remove generated file.
14776         * b/sysdeps/generic/sysdep.h [HAVE_ASM_CFI_DIRECTIVES]: Make code
14777         unconditional.
14778         [!HAVE_ASM_CFI_DIRECTIVES]: Remove conditional code.
14780 2014-06-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
14782         * posix/fnmatch.c: Define WIDE_CHAR_VERSION.
14783         * posix/fnmatch_loop.c: Undefine WIDE_CHAR_VERSION.
14784         (FCT): Check value of WIDE_CHAR_VERSION instead of checking if
14785         it is defined.
14787         * elf/dl-runtime.c: Check for value of ELF_MACHINE_NO_RELA
14788         instead of whether it is defined.
14789         * sysdeps/aarch64/dl-machine.h: Define ELF_MACHINE_NO_RELA.
14790         * sysdeps/hppa/dl-machine.h: Likewise.
14791         * sysdeps/ia64/dl-machine.h: Likewise.
14792         * sysdeps/m68k/dl-machine.h: Likewise.
14793         * sysdeps/microblaze/dl-machine.h: Likewise.
14794         * sysdeps/mips/dl-machine.: Likewise.
14795         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
14796         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
14797         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
14798         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
14799         * sysdeps/sh/dl-machine.h: Likewise.
14800         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
14801         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
14802         * sysdeps/tile/dl-machine.h: Likewise.
14803         * sysdeps/x86_64/dl-machine.h: Likewise.
14805         * nscd/connections.c (enum usekey) [SEPARATE_KEY]: Remove
14806         code.
14807         (verify_persistent_db): Likewise.
14809 2014-06-26  Roland McGrath  <roland@hack.frob.com>
14811         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data: Moved ...
14812         * sysdeps/unix/sysv/linux/s390/s390-32/c++-types.data: ... here.
14813         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Moved ...
14814         * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: ... here.
14815         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
14816         Moved ...
14817         * sysdeps/unix/sysv/linux/s390/s390-32/libBrokenLocale.abilist:
14818         ... here.
14819         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: Moved ...
14820         * sysdeps/unix/sysv/linux/s390/libanl.abilist: ... here.
14821         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist:
14822         Identical file removed.
14823         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Moved ...
14824         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: ... here.
14825         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: Moved ...
14826         * sysdeps/unix/sysv/linux/s390/s390-32/libcrypt.abilist: ... here.
14827         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: Moved ...
14828         * sysdeps/unix/sysv/linux/s390/s390-32/libdl.abilist: ... here.
14829         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Moved ...
14830         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: ... here.
14831         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: Moved ...
14832         * sysdeps/unix/sysv/linux/s390/s390-32/libnsl.abilist: ... here.
14833         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
14834         Moved ...
14835         * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: ... here.
14836         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: Moved ...
14837         * sysdeps/unix/sysv/linux/s390/s390-32/libresolv.abilist: ... here.
14838         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Moved ...
14839         * sysdeps/unix/sysv/linux/s390/s390-32/librt.abilist: ... here.
14840         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
14841         Moved ...
14842         * sysdeps/unix/sysv/linux/s390/s390-32/libthread_db.abilist: ... here.
14843         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Moved ...
14844         * sysdeps/unix/sysv/linux/s390/s390-32/libutil.abilist: ... here.
14845         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data: Moved ...
14846         * sysdeps/unix/sysv/linux/s390/localplt.data: ... here.
14847         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
14848         Identical file removed.
14849         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data: Moved ...
14850         * sysdeps/unix/sysv/linux/s390/s390-64/c++-types.data: ... here.
14851         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Moved ...
14852         * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: ... here.
14853         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
14854         Moved ...
14855         * sysdeps/unix/sysv/linux/s390/s390-64/libBrokenLocale.abilist:
14856         ... here.
14857         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Moved ...
14858         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: ... here.
14859         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: Moved ...
14860         * sysdeps/unix/sysv/linux/s390/s390-64/libcrypt.abilist: ... here.
14861         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: Moved ...
14862         * sysdeps/unix/sysv/linux/s390/s390-64/libdl.abilist: ... here.
14863         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Moved ...
14864         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: ... here.
14865         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: Moved ...
14866         * sysdeps/unix/sysv/linux/s390/s390-64/libnsl.abilist: ... here.
14867         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
14868         Moved ...
14869         * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: ... here.
14870         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist:
14871         Moved ...
14872         * sysdeps/unix/sysv/linux/s390/s390-64/libresolv.abilist: ... here.
14873         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: Moved ...
14874         * sysdeps/unix/sysv/linux/s390/s390-64/librt.abilist: ... here.
14875         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
14876         Moved ...
14877         * sysdeps/unix/sysv/linux/s390/s390-64/libthread_db.abilist: ... here.
14878         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: Moved ...
14879         * sysdeps/unix/sysv/linux/s390/s390-64/libutil.abilist: ... here.
14881         * nptl/sysdeps/unix/sysv/linux/s390/Makefile: File removed, contents
14882         folded into ...
14883         * sysdeps/unix/sysv/linux/s390/Makefile [$(subdir) = nptl]: ... here.
14884         * sysdeps/unix/sysv/linux/s390/Versions
14885         (libpthread: GLIBC_2.19): New version set.
14886         * nptl/sysdeps/unix/sysv/linux/s390/Versions: File removed.
14887         * sysdeps/unix/sysv/linux/s390/s390-64/Versions
14888         (librt: GLIBC_2.3.3): New version set.
14889         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/Versions: File removed.
14890         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: Moved ...
14891         * sysdeps/unix/sysv/linux/s390/elision-conf.c: ... here.
14892         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Moved ...
14893         * sysdeps/unix/sysv/linux/s390/elision-conf.h: ... here.
14894         * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Moved ...
14895         * sysdeps/unix/sysv/linux/s390/elision-lock.c: ... here.
14896         * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Moved ...
14897         * sysdeps/unix/sysv/linux/s390/elision-timed.c: ... here.
14898         * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Moved ...
14899         * sysdeps/unix/sysv/linux/s390/elision-trylock.c: ... here.
14900         * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Moved ...
14901         * sysdeps/unix/sysv/linux/s390/elision-unlock.c: ... here.
14902         * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Moved ...
14903         * sysdeps/unix/sysv/linux/s390/force-elision.h: ... here.
14904         * nptl/sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Moved ...
14905         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: ... here.
14906         * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h: Moved ...
14907         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: ... here.
14908         * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: Moved ...
14909         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c: ... here.
14910         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: Moved ...
14911         * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: ... here.
14912         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: Moved ...
14913         * sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: ... here.
14914         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: Moved ...
14915         * sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: ... here.
14916         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: Moved ...
14917         * sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: ... here.
14918         * nptl/sysdeps/unix/sysv/linux/s390/pthread_once.c: Moved ...
14919         * sysdeps/unix/sysv/linux/s390/pthread_once.c: ... here.
14920         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Moved ...
14921         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: ... here.
14922         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Moved ...
14923         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: ... here.
14924         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Moved ...
14925         * sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: ... here.
14926         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Moved ...
14927         * sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: ... here.
14928         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Moved ...
14929         * sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: ... here.
14930         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Moved ...
14931         * sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: ... here.
14932         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Moved ...
14933         * sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: ... here.
14935         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Moved ...
14936         * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: ... here.
14937         (__libc_vfork): Define the function under this name.
14938         [!NOT_IN_libc] (__vfork): Make this an alias.
14939         [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
14940         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Moved ...
14941         * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: ... here.
14942         (__libc_vfork): Define the function under this name.
14943         [!NOT_IN_libc] (__vfork): Make this an alias.
14944         [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
14945         * sysdeps/unix/sysv/linux/s390/pt-vfork.S: New file.
14946         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: File removed.
14947         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: File removed.
14948         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Remove vfork.
14949         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
14951         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Deconditionalize the
14952         code that was previously under [RESET_PID].
14953         * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: Likewise.
14954         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/clone.S: File removed.
14955         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/clone.S: File removed.
14957         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h: Moved ...
14958         * sysdeps/aarch64/nptl/bits/pthreadtypes.h: ... here.
14959         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/semaphore.h: Moved ...
14960         * sysdeps/aarch64/nptl/bits/semaphore.h: ... here.
14961         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/local_lim.h: Moved ...
14962         * sysdeps/unix/sysv/linux/aarch64/bits/local_lim.h: ... here.
14963         * sysdeps/unix/sysv/linux/aarch64/nptl/c++-types.data: Moved ...
14964         * sysdeps/unix/sysv/linux/aarch64/c++-types.data: ... here.
14965         * sysdeps/unix/sysv/linux/aarch64/nptl/ld.abilist: Moved ...
14966         * sysdeps/unix/sysv/linux/aarch64/ld.abilist: ... here.
14967         * sysdeps/unix/sysv/linux/aarch64/nptl/libBrokenLocale.abilist:
14968         Moved ...
14969         * sysdeps/unix/sysv/linux/aarch64/libBrokenLocale.abilist: ... here.
14970         * sysdeps/unix/sysv/linux/aarch64/nptl/libanl.abilist: Moved ...
14971         * sysdeps/unix/sysv/linux/aarch64/libanl.abilist: ... here.
14972         * sysdeps/unix/sysv/linux/aarch64/nptl/libc.abilist: Moved ...
14973         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: ... here.
14974         * sysdeps/unix/sysv/linux/aarch64/nptl/libcrypt.abilist: Moved ...
14975         * sysdeps/unix/sysv/linux/aarch64/libcrypt.abilist: ... here.
14976         * sysdeps/unix/sysv/linux/aarch64/nptl/libdl.abilist: Moved ...
14977         * sysdeps/unix/sysv/linux/aarch64/libdl.abilist: ... here.
14978         * sysdeps/unix/sysv/linux/aarch64/nptl/libm.abilist: Moved ...
14979         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: ... here.
14980         * sysdeps/unix/sysv/linux/aarch64/nptl/libnsl.abilist: Moved ...
14981         * sysdeps/unix/sysv/linux/aarch64/libnsl.abilist: ... here.
14982         * sysdeps/unix/sysv/linux/aarch64/nptl/libpthread.abilist: Moved ...
14983         * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: ... here.
14984         * sysdeps/unix/sysv/linux/aarch64/nptl/libresolv.abilist: Moved ...
14985         * sysdeps/unix/sysv/linux/aarch64/libresolv.abilist: ... here.
14986         * sysdeps/unix/sysv/linux/aarch64/nptl/librt.abilist: Moved ...
14987         * sysdeps/unix/sysv/linux/aarch64/librt.abilist: ... here.
14988         * sysdeps/unix/sysv/linux/aarch64/nptl/libthread_db.abilist: Moved ...
14989         * sysdeps/unix/sysv/linux/aarch64/libthread_db.abilist: ... here.
14990         * sysdeps/unix/sysv/linux/aarch64/nptl/libutil.abilist: Moved ...
14991         * sysdeps/unix/sysv/linux/aarch64/libutil.abilist: ... here.
14992         * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data: Moved ...
14993         * sysdeps/unix/sysv/linux/aarch64/localplt.data: ... here.
14994         * sysdeps/unix/sysv/linux/aarch64/nptl/lowlevellock.h: Moved ...
14995         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: ... here.
14996         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Moved ...
14997         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: ... here.
14999 2014-06-25  Roland McGrath  <roland@hack.frob.com>
15001         * sysdeps/unix/sysv/linux/mips/clone.S: Deconditionalize the code
15002         that was previously under [RESET_PID].
15003         * sysdeps/unix/sysv/linux/mips/nptl/clone.S: File removed.
15005 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
15007         * sysdeps/unix/sysv/linux/dl-opendir.c (__ASSUME_O_CLOEXEC): Do
15008         not undefine and redefine.
15009         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs)
15010         [O_CLOEXEC]: Make code unconditional.
15011         (__get_nprocs) [!O_CLOEXEC]: Remove conditional code.
15012         * sysdeps/unix/sysv/linux/shm_open.c: Do not include
15013         <kernel-features.h>.
15014         [O_CLOEXEC && !__ASSUME_O_CLOEXEC] (have_o_cloexec): Remove
15015         conditional variable definition.
15016         (shm_open) [O_CLOEXEC]: Make code unconditional.
15017         (shm_open) [!O_CLOEXEC || !__ASSUME_O_CLOEXEC]: Remove conditional
15018         code.
15020         * configure.ac (USE_REGPARMS): Don't define here.
15021         * configure: Regenerated.
15022         * sysdeps/i386/configure.ac (USE_REGPARMS): Define here.
15023         * sysdeps/i386/configure: Regenerated.
15025         * nptl/createthread.c: Don't include kernel-features.h.
15026         * nptl/pthread_cancel.c: Likewise.
15027         * nptl/pthread_condattr_setclock.c: Likewise.
15028         * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Likewise.
15029         * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Likewise.
15030         * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Likewise.
15031         * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Likewise.
15032         * nptl/sysdeps/unix/sysv/linux/raise.c: Likewise.
15033         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: Likewise.
15034         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
15035         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: Likewise.
15036         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
15037         * nptl/sysdeps/unix/sysv/linux/timer_create.c: Likewise.
15038         * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Likewise.
15039         * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Likewise.
15040         * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Likewise.
15041         * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Likewise.
15042         * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Likewise.
15043         * nscd/gai.c: Likewise.
15044         * nss/nss_db/db-open.c: Likewise.
15045         * sysdeps/generic/ldsodefs.h: Likewise.
15046         * sysdeps/sh/nptl/tls.h: Likewise.
15047         * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
15048         * sysdeps/unix/sysv/linux/aarch64/sigcontextinfo.h: Likewise.
15049         * sysdeps/unix/sysv/linux/aarch64/vfork.S: Likewise.
15050         * sysdeps/unix/sysv/linux/adjtime.c: Likewise.
15051         * sysdeps/unix/sysv/linux/alpha/xstatconv.h: Likewise.
15052         * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
15053         * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h: Likewise.
15054         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
15055         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
15056         * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
15057         * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
15058         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
15059         * sysdeps/unix/sysv/linux/clock_settime.c: Likewise.
15060         * sysdeps/unix/sysv/linux/dl-execstack.c: Likewise.
15061         * sysdeps/unix/sysv/linux/dl-osinfo.h: Likewise.
15062         * sysdeps/unix/sysv/linux/dl-sysdep.c: Likewise.
15063         * sysdeps/unix/sysv/linux/generic/futimesat.c: Likewise.
15064         * sysdeps/unix/sysv/linux/generic/poll.c: Likewise.
15065         * sysdeps/unix/sysv/linux/generic/wordsize-32/fcntl.c: Likewise.
15066         * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Likewise.
15067         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
15068         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
15069         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c: Likewise.
15070         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c: Likewise.
15071         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
15072         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
15073         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c: Likewise.
15074         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c: Likewise.
15075         * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
15076         * sysdeps/unix/sysv/linux/getpagesize.c: Likewise.
15077         * sysdeps/unix/sysv/linux/getsysstats.c: Likewise.
15078         * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise.
15079         * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise.
15080         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
15081         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
15082         * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
15083         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
15084         * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise.
15085         * sysdeps/unix/sysv/linux/ia64/system.c: Likewise.
15086         * sysdeps/unix/sysv/linux/if_index.c: Likewise.
15087         * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
15088         * sysdeps/unix/sysv/linux/ifreq.c: Likewise.
15089         * sysdeps/unix/sysv/linux/ldsodefs.h: Likewise.
15090         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
15091         * sysdeps/unix/sysv/linux/m68k/vfork.S: Likewise.
15092         * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Likewise.
15093         * sysdeps/unix/sysv/linux/mips/mips32/accept4.c: Likewise.
15094         * sysdeps/unix/sysv/linux/mips/mips32/recvmmsg.c: Likewise.
15095         * sysdeps/unix/sysv/linux/mips/mips32/sendmmsg.c: Likewise.
15096         * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
15097         * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
15098         * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
15099         * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
15100         * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
15101         * sysdeps/unix/sysv/linux/mmap64.c: Likewise.
15102         * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
15103         * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
15104         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Likewise.
15105         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
15106         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c: Likewise.
15107         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c: Likewise.
15108         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Likewise.
15109         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise.
15110         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
15111         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
15112         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
15113         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
15114         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
15115         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Likewise.
15116         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c: Likewise.
15117         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c: Likewise.
15118         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S: Likewise.
15119         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
15120         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
15121         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
15122         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
15123         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
15124         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S: Likewise.
15125         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S: Likewise.
15126         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Likewise.
15127         * sysdeps/unix/sysv/linux/pread.c: Likewise.
15128         * sysdeps/unix/sysv/linux/pread64.c: Likewise.
15129         * sysdeps/unix/sysv/linux/prof-freq.c: Likewise.
15130         * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
15131         * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
15132         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S: Likewise.
15133         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S: Likewise.
15134         * sysdeps/unix/sysv/linux/s390/system.c: Likewise.
15135         * sysdeps/unix/sysv/linux/sh/pread.c: Likewise.
15136         * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
15137         * sysdeps/unix/sysv/linux/sh/pwrite.c: Likewise.
15138         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
15139         * sysdeps/unix/sysv/linux/sigaction.c: Likewise.
15140         * sysdeps/unix/sysv/linux/sigpending.c: Likewise.
15141         * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
15142         * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
15143         * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
15144         * sysdeps/unix/sysv/linux/sparc/system.c: Likewise.
15145         * sysdeps/unix/sysv/linux/syslog.c: Likewise.
15146         * sysdeps/unix/sysv/linux/system.c: Likewise.
15147         * sysdeps/unix/sysv/linux/testrtsig.h: Likewise.
15148         * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
15149         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
15150         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
15151         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
15152         * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
15153         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
15155         * configure.ac (libc_cv_c_asmcr0_bug): Remove configure test.
15156         * configure: Regenerated.
15157         * config.h.in (BROKEN_PPC_ASM_CR0): Remove macro.
15159         * configure.ac (base_machine): Do not set specially for particular
15160         machines here.
15161         * configure: Regenerated.
15162         * sysdeps/powerpc/preconfigure: Move machine and base_machine
15163         settings from configure.ac.
15164         * sysdeps/i386/preconfigure: New file.
15165         * sysdeps/s390/preconfigure: Likewise.
15166         * sysdeps/sh/preconfigure: Likewise.
15167         * sysdeps/sparc/preconfigure: Likewise.
15169 2014-06-25  Roland McGrath  <roland@hack.frob.com>
15171         * sysdeps/sparc/sparc64/nptl/cpu_relax.S: Moved ...
15172         * sysdeps/sparc/sparc64/cpu_relax.S: ... here.
15173         * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: Moved ...
15174         * sysdeps/sparc/sparc64/pthread_spin_init.c: ... here.
15175         * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: Moved ...
15176         * sysdeps/sparc/sparc64/pthread_spin_lock.S: ... here.
15177         * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: Moved ...
15178         * sysdeps/sparc/sparc64/pthread_spin_trylock.S: ... here.
15179         * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: Moved ...
15180         * sysdeps/sparc/sparc64/pthread_spin_unlock.S: ... here.
15181         * sysdeps/sparc/sparc64/nptl/pthreaddef.h: Moved ...
15182         * sysdeps/sparc/sparc64/pthreaddef.h: ... here.
15183         * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: Update #include.
15184         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Likewise.
15185         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Likewise.
15186         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Likewise.
15187         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Likewise.
15188         * sysdeps/sparc/sparc64/nptl/Makefile: File removed, its contents ...
15189         * sysdeps/sparc/sparc64/Makefile: ... appended here.
15191         * sysdeps/sparc/sparc32/nptl/lowlevellock.c: Moved ...
15192         * sysdeps/sparc/sparc32/lowlevellock.c: ... here.
15193         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Moved ...
15194         * sysdeps/sparc/sparc32/pthread_barrier_wait.c: ... here.
15195         * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: Moved ...
15196         * sysdeps/sparc/sparc32/pthread_spin_lock.S: ... here.
15197         * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: Moved ...
15198         * sysdeps/sparc/sparc32/pthread_spin_trylock.S: ... here.
15199         * sysdeps/sparc/sparc32/nptl/pthreaddef.h: Moved ...
15200         * sysdeps/sparc/sparc32/pthreaddef.h: ... here.
15201         * sysdeps/sparc/sparc32/nptl/sem_post.c: Moved ...
15202         * sysdeps/sparc/sparc32/sem_post.c: ... here.
15203         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Moved ...
15204         * sysdeps/sparc/sparc32/sem_timedwait.c: ... here.
15205         * sysdeps/sparc/sparc32/nptl/sem_trywait.c: Moved ...
15206         * sysdeps/sparc/sparc32/sem_trywait.c: ... here.
15207         * sysdeps/sparc/sparc32/nptl/sem_wait.c: Moved ...
15208         * sysdeps/sparc/sparc32/sem_wait.c: ... here.
15209         * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: Moved ...
15210         * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: ... here.
15211         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: Moved ...
15212         * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: ... here.
15213         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: Moved ...
15214         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: ... here.
15215         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: Moved ...
15216         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: ... here.
15217         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: Moved ...
15218         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: ... here.
15219         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Moved ...
15220         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: ... here.
15221         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: Moved ...
15222         * sysdeps/sparc/sparc32/sparcv9/sem_post.c: ... here.
15223         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: Moved ...
15224         * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: ... here.
15225         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: Moved ...
15226         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: ... here.
15227         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: Moved ...
15228         * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: ... here.
15230         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data: Moved ...
15231         * sysdeps/unix/sysv/linux/sparc/sparc32/c++-types.data: ... here.
15232         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: Moved ...
15233         * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: ... here.
15234         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
15235         Moved ...
15236         * sysdeps/unix/sysv/linux/sparc/sparc32/libBrokenLocale.abilist:
15237         ... here.
15238         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: Moved ...
15239         * sysdeps/unix/sysv/linux/sparc/sparc32/libanl.abilist: ... here.
15240         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Moved ...
15241         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: ... here.
15242         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist:
15243         Moved ...
15244         * sysdeps/unix/sysv/linux/sparc/sparc32/libcrypt.abilist: ... here.
15245         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: Moved ...
15246         * sysdeps/unix/sysv/linux/sparc/sparc32/libdl.abilist: ... here.
15247         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: Moved ...
15248         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: ... here.
15249         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: Moved ...
15250         * sysdeps/unix/sysv/linux/sparc/sparc32/libnsl.abilist: ... here.
15251         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
15252         Moved ...
15253         * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: ... here.
15254         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
15255         Moved ...
15256         * sysdeps/unix/sysv/linux/sparc/sparc32/libresolv.abilist: ... here.
15257         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: Moved ...
15258         * sysdeps/unix/sysv/linux/sparc/sparc32/librt.abilist: ... here.
15259         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
15260         Moved ...
15261         * sysdeps/unix/sysv/linux/sparc/sparc32/libthread_db.abilist: ... here.
15262         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: Moved ...
15263         * sysdeps/unix/sysv/linux/sparc/sparc32/libutil.abilist: ... here.
15264         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data: Moved ...
15265         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: ... here.
15266         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data: Moved ...
15267         * sysdeps/unix/sysv/linux/sparc/sparc64/c++-types.data: ... here.
15268         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: Moved ...
15269         * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: ... here.
15270         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
15271         Moved ...
15272         * sysdeps/unix/sysv/linux/sparc/sparc64/libBrokenLocale.abilist:
15273         ... here.
15274         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: Moved ...
15275         * sysdeps/unix/sysv/linux/sparc/sparc64/libanl.abilist: ... here.
15276         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Moved ...
15277         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: ... here.
15278         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist:
15279         Moved ...
15280         * sysdeps/unix/sysv/linux/sparc/sparc64/libcrypt.abilist: ... here.
15281         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: Moved ...
15282         * sysdeps/unix/sysv/linux/sparc/sparc64/libdl.abilist: ... here.
15283         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: Moved ...
15284         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: ... here.
15285         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: Moved ...
15286         * sysdeps/unix/sysv/linux/sparc/sparc64/libnsl.abilist: ... here.
15287         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
15288         Moved ...
15289         * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: ... here.
15290         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
15291         Moved ...
15292         * sysdeps/unix/sysv/linux/sparc/sparc64/libresolv.abilist: ... here.
15293         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: Moved ...
15294         * sysdeps/unix/sysv/linux/sparc/sparc64/librt.abilist: ... here.
15295         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
15296         Moved ...
15297         * sysdeps/unix/sysv/linux/sparc/sparc64/libthread_db.abilist: ... here.
15298         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: Moved ...
15299         * sysdeps/unix/sysv/linux/sparc/sparc64/libutil.abilist: ... here.
15300         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data: Moved ...
15301         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: ... here.
15303 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
15305         * timezone/checktab.awk: Update from tzcode 2014e.
15306         * timezone/private.h: Likewise.
15307         * timezone/tzfile.h: Likewise.
15308         * timezone/zdump.c: Likewise.
15309         * timezone/zic.c: Likewise.
15311         * sysdeps/unix/sysv/linux/kernel-features.h
15312         (__ASSUME_XFS_RESTRICTED_CHOWN): Remove macro.
15313         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_chown_restricted)
15314         [__ASSUME_XFS_RESTRICTED_CHOWN]: Make code unconditional.
15315         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
15316         Remove conditional code.
15318 2014-06-25  Will Newton  <will.newton@linaro.org>
15320         * sysdeps/unix/sysv/linux/arm/dl-procinfo.c
15321         (_dl_arm_cap_flags): Add HWCAP2 values.
15322         * sysdeps/unix/sysv/linux/arm/dl-procinfo.h
15323         (_DL_HWCAP_COUNT): Increase to 37.
15324         (_DL_HWCAP_LAST): New define.
15325         (_DL_HWCAP2_LAST): New define.
15326         (_dl_procinfo): Add support for printing
15327         AT_HWCAP2 entries.
15328         (_dl_string_hwcap): Use _dl_hwcap_string.
15330 2014-06-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15332         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15334 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
15336         * README: Do not mention ports directory.
15338         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMENSAT):
15339         Remove macro.
15340         * sysdeps/unix/sysv/linux/futimes.c: Do not include
15341         <kernel-features.h>.
15342         [__NR_utimensat && !__ASSUME_UTIMENSAT] (miss_utimensat): Remove
15343         conditional variable definition.
15344         (__futimes): Update comment.
15345         (__futimes) [__ASSUME_UTIMENSAT]: Make code unconditional.
15346         (__futimes) [!__ASSUME_UTIMENSAT]: Remove conditional code.
15348         [BZ #16560]
15349         * sysdeps/ieee754/dbl-64/e_exp10.c (__ieee754_exp10): Return 1 for
15350         arguments close to 0.
15351         * sysdeps/ieee754/ldbl-128/e_exp10l.c (__ieee754_exp10l):
15352         Likewise.
15353         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (__ieee754_exp10l):
15354         Likewise.
15355         * math/auto-libm-test-in: Add more tests of exp10.
15356         * math/auto-libm-test-out: Regenerated.
15357         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
15359         * sysdeps/unix/sysv/linux/kernel-features.h
15360         (__ASSUME_COMPLETE_READV_WRITEV): Remove macro.
15361         * sysdeps/unix/sysv/linux/readv.c: Do not include
15362         <kernel-features.h>.
15363         [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
15364         [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
15365         (__libc_readv) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
15366         unconditional.
15367         (__libc_readv) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
15368         conditional code.
15369         * sysdeps/unix/sysv/linux/writev.c: Do not include
15370         <kernel-features.h>.
15371         [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
15372         [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
15373         (__libc_writev) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
15374         unconditional.
15375         (__libc_writev) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
15376         conditional code.
15378 2014-06-25  Will Newton  <will.newton@linaro.org>
15380         * sysdeps/posix/tempname.c: Merge from gnulib, cosmetic
15381         comment changes throughout the file.  Remove checks
15382         for HAVE_*_H definitions that are not required.
15383         (__gen_tempname): Call abort if an unknown kind value is
15384         passed.
15386 2014-06-25  Andreas Schwab  <schwab@suse.de>
15388         [BZ #17086]
15389         * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Add compat symbols for
15390         scalbln, scalblnf, scalblnl in libc.
15392 2014-06-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
15394         [BZ #17086]
15395         * sysdeps/i386/fpu/s_scalbn.S: Add compat symbol for libc.so.
15396         * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
15397         * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
15399 2014-06-24  Roland McGrath  <roland@hack.frob.com>
15401         * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: Moved ...
15402         * sysdeps/i386/i486/pthread_spin_trylock.S: ... here.
15403         * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: Moved ...
15404         * sysdeps/i386/i586/pthread_spin_trylock.S: ... here.
15405         Update #include.
15406         * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: Moved ...
15407         * sysdeps/i386/i686/pthread_spin_trylock.S: ... here.
15408         Update #include.
15409         * sysdeps/x86_64/64/nptl/shlib-versions: Moved ...
15410         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: ... here.
15411         * sysdeps/x86_64/x32/nptl/shlib-versions: Moved ...
15412         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: ... here.
15413         * sysdeps/x86/nptl/bits/pthreadtypes.h: Moved ...
15414         * sysdeps/x86/bits/pthreadtypes.h: ... here.
15415         * sysdeps/x86/nptl/bits/semaphore.h: Moved ...
15416         * sysdeps/x86/bits/semaphore.h: ... here.
15417         * sysdeps/x86/nptl/elide.h: Moved ...
15418         * sysdeps/x86/elide.h: ... here.
15419         * sysdeps/x86_64/nptl/Implies: File removed.
15420         * sysdeps/i386/nptl/Implies: File removed.
15422 2014-06-24  Joseph Myers  <joseph@codesourcery.com>
15424         [BZ #16539]
15425         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Just
15426         return the argument for normal arguments with exponent below -64.
15427         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
15428         Likewise.
15429         * math/auto-libm-test-in: Add another test of expm1.
15430         * math/auto-libm-test-out: Regenerated.
15432         [BZ #16287]
15433         * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Return 1 without
15434         calling __erfcl for arguments at least 16.
15435         * math/auto-libm-test-in: Add more tests of erf.
15436         * math/auto-libm-test-out: Regenerated.
15438         * sysdeps/unix/sysv/linux/configure.ac: Remove cases for
15439         individual architectures.
15440         * sysdeps/unix/sysv/linux/configure: Regenerated.
15441         * sysdeps/unix/sysv/linux/i386/configure.ac: New file.
15442         * sysdeps/unix/sysv/linux/i386/configure: New generated file.
15443         * sysdeps/unix/sysv/linux/powerpc/configure.ac
15444         (ldd_rewrite_script): Define variable.
15445         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
15446         * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure.ac: New
15447         file.
15448         * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure: New
15449         generated file.
15450         * sysdeps/unix/sysv/linux/s390/configure.ac: New file.
15451         * sysdeps/unix/sysv/linux/s390/configure: New generated file.
15452         * sysdeps/unix/sysv/linux/sh/configure.ac: New file.
15453         * sysdeps/unix/sysv/linux/sh/configure: New generated file.
15454         * sysdeps/unix/sysv/linux/sparc/configure.ac: New file.
15455         * sysdeps/unix/sysv/linux/sparc/configure: New generated file.
15456         * sysdeps/unix/sysv/linux/x86_64/configure.ac: New file.
15457         * sysdeps/unix/sysv/linux/x86_64/configure: New generated file.
15459 2014-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
15461         [BZ #17084]
15462         * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_mutex_t):
15463         Rename member __data.d to __data.__elision_data.
15465 2014-06-24  Wilco  <wdijkstr@arm.com>
15467         * NEWS: Add 16918 to fixed bug list.
15469 2014-06-24  Wilco  <wdijkstr@arm.com>
15471         * sysdeps/arm/fesetenv.c (fesetenv): Optimize implementation.
15473 2014-06-24  Wilco  <wdijkstr@arm.com>
15475         * sysdeps/arm/fpu_control.h (_FPU_MASK_RM): Define.
15476         * sysdeps/arm/fenv_private.h (libc_fesetround_vfp)
15477         (libc_feholdexcept_setround_vfp) (libc_feholdsetround_vfp)
15478         (libc_feresetround_vfp) (libc_feholdsetround_vfp_ctx)
15479         (libc_feresetround_vfp_ctx): Use _FPU_MASK_RM.
15480         * sysdeps/arm/fesetround.c (fesetround): Use _FPU_MASK_RM.
15481         * sysdeps/arm/get-rounding-mode.h (get_rounding_mode):
15482         Use _FPU_MASK_RM.
15484 2014-06-24  Wilco  <wdijkstr@arm.com>
15486         * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Remove unused include.
15488 2014-06-24  Wilco  <wdijkstr@arm.com>
15490         * sysdeps/arm/feholdexcpt.c (feholdexcept): Remove space.
15491         * sysdeps/arm/fesetenv.c (fesetenv): Remove space.
15492         * sysdeps/arm/fesetround.c (fesetround): Remove space.
15493         * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Remove space.
15495 2014-06-24  Wilco  <wdijkstr@arm.com>
15497         [BZ #16918]
15498         * sysdeps/arm/feupdateenv.c (feupdateenv):
15499         Rewrite to reduce FPSCR accesses and fix return value.
15501 2014-06-24  Wilco  <wdijkstr@arm.com>
15503         * sysdeps/arm/fclrexcpt.c (feclearexcept):
15504         Optimize to avoid unnecessary FPSCR writes.
15505         * sysdeps/arm/fedisblxcpt.c (fedisableexcept): Likewise.
15506         * sysdeps/arm/feenablxcpt.c (feenableexcept): Likewise.
15507         * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Likewise.
15508         * sysdeps/arm/setfpucw.c (__setfpucw): Likewise.
15510 2014-06-24  Wilco  <wdijkstr@arm.com>
15512         * sysdeps/arm/fegetround.c (fegetround): Call get_rounding_mode.
15513         * sysdeps/arm/feholdexcpt.c (feholdexcept): Call libc_feholdexcept_vfp.
15514         * sysdeps/arm/fesetround.c (fesetround): Call libc_fesetround_vfp.
15515         * sysdeps/arm/fgetexcptflg.c (fegetexceptflag):
15516         Call libc_fetestexcept_vfp.
15517         * sysdeps/arm/ftestexcept.c (fetestexcept): Call libc_fetestexcept_vfp.
15518         * sysdeps/arm/fenv_private.h: Move libc_*_vfp functions outside of
15519         __SOFTFP__ ifdef so that they can be built for softfp.
15521 2014-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
15523         * sysdeps/x86/nptl/elide.h (elision_adapt): Make first
15524         argument type signed char.
15526         * Makerules (check-abi): Dump diff of symlist if the test
15527         fails.
15529 2014-06-23  Roland McGrath  <roland@hack.frob.com>
15531         * sysdeps/generic/get-rounding-mode.h: Include <stdlib.h> before
15532         using abort.
15534         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
15535         Remove unused variable ST.
15537 2014-06-23  Joseph Myers  <joseph@codesourcery.com>
15539         [BZ #16354]
15540         [BZ #17061]
15541         * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Check for
15542         small arguments before calling __expm1.
15543         * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Check for
15544         small arguments before calling __expm1f.
15545         * sysdeps/ieee754/ldbl-128/e_coshl.c (__ieee754_coshl): Check for
15546         small arguments before calling __expm1l.
15547         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
15548         Likewise.
15549         * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Likewise.
15550         * math/auto-libm-test-in: Add more cosh tests.  Do not allow
15551         spurious underflow for some cosh tests.
15552         * math/auto-libm-test-out: Regenerated.
15553         * sysdeps/i386/fpu/libm-test-ulps: Update.
15555         [BZ #17050]
15556         * sysdeps/ieee754/dbl-64/e_j1.c: Include <errno.h>.
15557         (__ieee754_y1): Set errno if return value overflows.
15558         * sysdeps/ieee754/flt-32/e_j1f.c: Include <errno.h>.
15559         (__ieee754_y1f): Set errno if return value overflows.
15560         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <errno.h>.
15561         (__ieee754_y1l): Set errno if return value overflows.
15562         * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <errno.h>.
15563         (__ieee754_y1l): Set errno if return value overflows.
15564         * math/auto-libm-test-in: Add more tests of y0, y1 and yn.
15565         * math/auto-libm-test-out: Regenerated.
15567         * math/gen-auto-libm-tests.c: Document use of
15568         ignore-zero-inf-sign.
15569         (input_flag_type): Add value flag_ignore_zero_inf_sign.
15570         (input_flags): Add ignore-zero-inf-sign.
15571         (output_for_one_input_case): Handle flag_ignore_zero_inf_sign.
15572         * math/gen-libm-test.pl (generate_testfile): Handle
15573         ignore-zero-inf-sign.
15574         * math/auto-libm-test-in: Mark some cpow tests with
15575         ignore-zero-inf-sign and some with xfail-rounding.
15576         * math/auto-libm-test-out: Regenerated.
15577         * math/libm-test.inc (cpow_test): Use ALL_RM_TEST.
15578         * sysdeps/i386/fpu/libm-test-ulps: Update.
15579         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15581         [BZ #16315]
15582         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Ensure possibly
15583         overflowing or underflowing operations take place with sign of
15584         result.
15585         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
15586         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
15587         * sysdeps/ieee754/dbl-64/e_pow.c: Include <math.h>.
15588         (__ieee754_pow): Recompute overflowing and underflowing results in
15589         original rounding mode.
15590         * sysdeps/x86/fpu/powl_helper.c: Include <stdbool.h>.
15591         (__powl_helper): Allow negative argument X and scale negated value
15592         as needed.  Avoid passing value outside [-1, 1] to f2xm1.
15593         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Ensure possibly
15594         overflowing or underflowing operations take place with sign of
15595         result.
15596         * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]:
15597         Include <math.h>.
15598         * math/auto-libm-test-in: Add more tests of pow.
15599         * math/auto-libm-test-out: Regenerated.
15600         * math/libm-test.inc (pow_test): Use ALL_RM_TEST.
15601         (pow_tonearest_test_data): Remove.
15602         (pow_test_tonearest): Likewise.
15603         (pow_towardzero_test_data): Likewise.
15604         (pow_test_towardzero): Likewise.
15605         (pow_downward_test_data): Likewise.
15606         (pow_test_downward): Likewise.
15607         (pow_upward_test_data): Likewise.
15608         (pow_test_upward): Likewise.
15609         (main): Don't call removed functions.
15610         * sysdeps/i386/fpu/libm-test-ulps: Update.
15611         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15613 2014-06-23  Roland McGrath  <roland@hack.frob.com>
15615         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/c++-types.data:
15616         Moved ...
15617         * sysdeps/unix/sysv/linux/powerpc/powerpc32/c++-types.data: ... here.
15618         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
15619         Moved ...
15620         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: ... here.
15621         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
15622         Moved ...
15623         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: ... here.
15624         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
15625         Moved ...
15626         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data: ... here.
15627         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
15628         File removed.
15629         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
15630         File removed.
15631         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libBrokenLocale.abilist:
15632         File removed.
15633         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libanl.abilist:
15634         File removed.
15635         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libcrypt.abilist:
15636         File removed.
15637         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libdl.abilist:
15638         File removed.
15639         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libnsl.abilist:
15640         File removed.
15641         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
15642         File removed.
15643         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libresolv.abilist:
15644         File removed.
15645         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
15646         File removed.
15647         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libthread_db.abilist:
15648         File removed.
15649         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libutil.abilist:
15650         File removed.
15651         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/ld.abilist:
15652         Moved ...
15653         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: ... here.
15654         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libBrokenLocale.abilist:
15655         Moved ...
15656         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libBrokenLocale.abilist:
15657         ... here.
15658         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libanl.abilist:
15659         Moved ...
15660         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libanl.abilist: ... here.
15661         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libcrypt.abilist:
15662         Moved ...
15663         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libcrypt.abilist: ... here.
15664         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libdl.abilist:
15665         Moved ...
15666         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libdl.abilist: ... here.
15667         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libnsl.abilist:
15668         Moved ...
15669         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libnsl.abilist: ... here.
15670         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libpthread.abilist:
15671         Moved ...
15672         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist: ... here.
15673         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libresolv.abilist:
15674         Moved ...
15675         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libresolv.abilist: ... here.
15676         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/librt.abilist:
15677         Moved ...
15678         * sysdeps/unix/sysv/linux/powerpc/powerpc32/librt.abilist: ... here.
15679         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libthread_db.abilist: Moved ...
15680         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libthread_db.abilist:
15681         ... here.
15682         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libutil.abilist:
15683         Moved ...
15684         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libutil.abilist: ... here.
15685         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
15686         Moved ...
15687         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
15688         ... here.
15689         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libm.abilist:
15690         Moved ...
15691         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
15692         ... here.
15693         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
15694         Moved ...
15695         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
15696         ... here.
15697         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
15698         Moved ...
15699         * sysdeps/unix/sysv/linux/powerpc/powerpc64/c++-types.data: ... here.
15700         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
15701         Moved ...
15702         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: ... here.
15703         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: Moved ...
15704         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: ... here.
15705         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
15706         Moved ...
15707         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale-le.abilist:
15708         ... here.
15709         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
15710         Moved ...
15711         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale.abilist:
15712         ... here.
15713         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
15714         Moved ...
15715         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl-le.abilist: ... here.
15716         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
15717         Moved ...
15718         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl.abilist: ... here.
15719         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
15720         Moved ...
15721         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: ... here.
15722         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
15723         Moved ...
15724         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: ... here.
15725         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
15726         Moved ...
15727         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt-le.abilist:
15728         ... here.
15729         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
15730         Moved ...
15731         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt.abilist: ... here.
15732         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
15733         Moved ...
15734         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl-le.abilist: ... here.
15735         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
15736         Moved ...
15737         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl.abilist: ... here.
15738         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
15739         Moved ...
15740         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: ... here.
15741         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: Moved ...
15742         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: ... here.
15743         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
15744         Moved ...
15745         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl-le.abilist: ... here.
15746         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
15747         Moved ...
15748         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl.abilist: ... here.
15749         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
15750         Moved ...
15751         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
15752         ... here.
15753         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
15754         Moved ...
15755         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
15756         ... here.
15757         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
15758         Moved ...
15759         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv-le.abilist:
15760         ... here.
15761         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
15762         Moved ...
15763         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv.abilist: ... here.
15764         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
15765         Moved ...
15766         * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt-le.abilist: ... here.
15767         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
15768         Moved ...
15769         * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt.abilist: ... here.
15770         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
15771         Moved ...
15772         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db-le.abilist:
15773         ... here.
15774         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
15775         Moved ...
15776         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db.abilist:
15777         ... here.
15778         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
15779         Moved ...
15780         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil-le.abilist:
15781         ... here.
15782         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
15783         Moved ...
15784         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil.abilist: ... here.
15785         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
15786         Moved ...
15787         * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: ... here.
15789 2014-06-23  Will Newton  <will.newton@linaro.org>
15790             Wilco  <wdijkstr@arm.com>
15792         * sysdeps/generic/math_private.h: Add generic HAVE_RM_CTX
15793         implementation.  Include get-rounding-mode.h.
15794         [!HAVE_RM_CTX]: Define HAVE_RM_CTX to zero.
15795         [!libc_feholdsetround_noex_ctx]: Define
15796         libc_feholdsetround_noex_ctx.
15797         [!libc_feholdsetround_noexf_ctx]: Define
15798         libc_feholdsetround_noexf_ctx.
15799         [!libc_feholdsetround_noexl_ctx]: Define
15800         libc_feholdsetround_noexl_ctx.
15801         (libc_feholdsetround_ctx): New function.
15802         (libc_feresetround_ctx): New function.
15803         (libc_feholdsetround_noex_ctx): New function.
15804         (libc_feresetround_noex_ctx): New function.
15806 2014-06-23  Roland McGrath  <roland@hack.frob.com>
15808         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h: Moved ...
15809         * sysdeps/mips/nptl/bits/pthreadtypes.h: ... here.
15810         * sysdeps/unix/sysv/linux/mips/nptl/bits/semaphore.h: Moved ...
15811         * sysdeps/mips/nptl/bits/semaphore.h: ... here.
15812         * sysdeps/unix/sysv/linux/mips/nptl/bits/local_lim.h: Moved ...
15813         * sysdeps/unix/sysv/linux/mips/bits/local_lim.h: ... here.
15815         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h: Moved ...
15816         * sysdeps/m68k/nptl/bits/pthreadtypes.h: ... here.
15817         * sysdeps/unix/sysv/linux/m68k/nptl/bits/semaphore.h: Moved ...
15818         * sysdeps/m68k/nptl/bits/semaphore.h: ... here.
15819         * sysdeps/unix/sysv/linux/m68k/nptl/c++-types.data: Moved ...
15820         * sysdeps/unix/sysv/linux/m68k/c++-types.data: ... here.
15821         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/bits/atomic.h: Moved ...
15822         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: ... here.
15823         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/ld.abilist: Moved ...
15824         * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: ... here.
15825         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libBrokenLocale.abilist:
15826         Moved ...
15827         * sysdeps/unix/sysv/linux/m68k/coldfire/libBrokenLocale.abilist:
15828         ... here.
15829         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libanl.abilist: Moved ...
15830         * sysdeps/unix/sysv/linux/m68k/coldfire/libanl.abilist: ... here.
15831         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libc.abilist: Moved ...
15832         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: ... here.
15833         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libcrypt.abilist:
15834         Moved ...
15835         * sysdeps/unix/sysv/linux/m68k/coldfire/libcrypt.abilist: ... here.
15836         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libdl.abilist: Moved ...
15837         * sysdeps/unix/sysv/linux/m68k/coldfire/libdl.abilist: ... here.
15838         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libm.abilist: Moved ...
15839         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: ... here.
15840         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libnsl.abilist: Moved ...
15841         * sysdeps/unix/sysv/linux/m68k/coldfire/libnsl.abilist: ... here.
15842         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libpthread.abilist:
15843         Moved ...
15844         * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: ... here.
15845         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libresolv.abilist:
15846         Moved ...
15847         * sysdeps/unix/sysv/linux/m68k/coldfire/libresolv.abilist: ... here.
15848         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/librt.abilist: Moved ...
15849         * sysdeps/unix/sysv/linux/m68k/coldfire/librt.abilist: ... here.
15850         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libthread_db.abilist:
15851         Moved ...
15852         * sysdeps/unix/sysv/linux/m68k/coldfire/libthread_db.abilist: ... here.
15853         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libutil.abilist: Moved ...
15854         * sysdeps/unix/sysv/linux/m68k/coldfire/libutil.abilist: ... here.
15855         * sysdeps/unix/sysv/linux/m68k/nptl/localplt.data: Moved ...
15856         * sysdeps/unix/sysv/linux/m68k/localplt.data: ... here.
15857         * sysdeps/unix/sysv/linux/m68k/nptl/lowlevellock.h: Moved ...
15858         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: ... here.
15859         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/ld.abilist: Moved ...
15860         * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: ... here.
15861         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libBrokenLocale.abilist:
15862         Moved ...
15863         * sysdeps/unix/sysv/linux/m68k/m680x0/libBrokenLocale.abilist:
15864         ... here.
15865         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libanl.abilist: Moved ...
15866         * sysdeps/unix/sysv/linux/m68k/m680x0/libanl.abilist: ... here.
15867         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libc.abilist: Moved ...
15868         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: ... here.
15869         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libcrypt.abilist: Moved ...
15870         * sysdeps/unix/sysv/linux/m68k/m680x0/libcrypt.abilist: ... here.
15871         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libdl.abilist: Moved ...
15872         * sysdeps/unix/sysv/linux/m68k/m680x0/libdl.abilist: ... here.
15873         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libm.abilist: Moved ...
15874         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: ... here.
15875         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libnsl.abilist: Moved ...
15876         * sysdeps/unix/sysv/linux/m68k/m680x0/libnsl.abilist: ... here.
15877         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libpthread.abilist:
15878         Moved ...
15879         * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: ... here.
15880         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libresolv.abilist: Moved ...
15881         * sysdeps/unix/sysv/linux/m68k/m680x0/libresolv.abilist: ... here.
15882         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/librt.abilist: Moved ...
15883         * sysdeps/unix/sysv/linux/m68k/m680x0/librt.abilist: ... here.
15884         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libthread_db.abilist:
15885         Moved ...
15886         * sysdeps/unix/sysv/linux/m68k/m680x0/libthread_db.abilist: ... here.
15887         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libutil.abilist: Moved ...
15888         * sysdeps/unix/sysv/linux/m68k/m680x0/libutil.abilist: ... here.
15889         * sysdeps/unix/sysv/linux/m68k/nptl/sysdep-cancel.h: Moved ...
15890         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: ... here.
15892         * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: Moved ...
15893         * sysdeps/unix/sysv/linux/sh/c++-types.data: ... here.
15894         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: Moved ...
15895         * sysdeps/unix/sysv/linux/sh/ld.abilist: ... here.
15896         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: Moved ...
15897         * sysdeps/unix/sysv/linux/sh/libBrokenLocale.abilist: ... here.
15898         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: Moved ...
15899         * sysdeps/unix/sysv/linux/sh/libanl.abilist: ... here.
15900         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Moved ...
15901         * sysdeps/unix/sysv/linux/sh/libc.abilist: ... here.
15902         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: Moved ...
15903         * sysdeps/unix/sysv/linux/sh/libcrypt.abilist: ... here.
15904         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: Moved ...
15905         * sysdeps/unix/sysv/linux/sh/libdl.abilist: ... here.
15906         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Moved ...
15907         * sysdeps/unix/sysv/linux/sh/libm.abilist: ... here.
15908         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: Moved ...
15909         * sysdeps/unix/sysv/linux/sh/libnsl.abilist: ... here.
15910         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: Moved ...
15911         * sysdeps/unix/sysv/linux/sh/libpthread.abilist: ... here.
15912         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: Moved ...
15913         * sysdeps/unix/sysv/linux/sh/libresolv.abilist: ... here.
15914         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Moved ...
15915         * sysdeps/unix/sysv/linux/sh/librt.abilist: ... here.
15916         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: Moved ...
15917         * sysdeps/unix/sysv/linux/sh/libthread_db.abilist: ... here.
15918         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: Moved ...
15919         * sysdeps/unix/sysv/linux/sh/libutil.abilist: ... here.
15921 2014-06-23  Joseph Myers  <joseph@codesourcery.com>
15923         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
15924         (FALLOC_FL_COLLAPSE_RANGE): New macro.
15925         [__USE_GNU] (FALLOC_FL_ZERO_RANGE): Likewise.
15926         * sysdeps/unix/sysv/linux/bits/in.h (IP_PMTUDISC_OMIT): Likewise.
15927         (IPV6_PMTUDISC_INTERFACE): Likewise.
15928         (IPV6_PMTUDISC_OMIT): Likewise.
15930 2014-06-23  Andreas Schwab  <schwab@suse.de>
15932         * nptl/sysdeps/unix/sysv/linux/mq_notify.c (init_mq_netlink):
15933         Remove unused errout label.
15935 2014-06-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15937         * sysdeps/powerpc/bits/hwcap.h [PPC_FEATURE2_HAS_VEC_CRYPTO]: New
15938         macro: hardware supports Vector Crypto instructions.
15940 2014-06-23  Will Newton  <will.newton@linaro.org>
15942         * elf/dl-lookup.c: Use __glibc_unlikely and __glibc_likely
15943         rather than __builtin_expect.
15945         * elf/dl-lookup.c (undefined_msg): Remove variable.
15946         (_dl_lookup_symbol_x): Replace undefined_msg with string
15947         literal.
15949         * elf/dl-lookup.c (do_lookup_unique): New function.
15950         (do_lookup_x): Move STB_GNU_UNIQUE handling code
15951         to a separate function.
15953 2014-06-23  Andreas Schwab  <schwab@suse.de>
15955         [BZ #17079]
15956         * nss/nss_files/files-XXX.c (get_contents): Store overflow marker
15957         before reading the next line.
15959 2014-06-23  Will Newton  <will.newton@linaro.org>
15961         * test-skeleton.c (signal_handler): Use printf and %m
15962         rather than perror.  Use printf rather than fprintf to
15963         stderr.  Use puts rather than fputs to stderr.
15964         (main): Likewise.
15966 2014-06-22  Ludovic Courtès  <ludo@gnu.org>
15968         * nscd/nscd.c (thread_info_t): Remove typedef.
15969         (thread_info): Remove variable.
15971 2014-06-21  Allan McRae  <allan@archlinux.org>
15973         * NEWS: Mention CVE-2014-4043.
15975 2014-06-20  Roland McGrath  <roland@hack.frob.com>
15977         * nptl/sysdeps/unix/sysv/linux/smp.h: Moved ...
15978         * nptl/smp.h: ... here.
15980         * nptl/sysdeps/unix/sysv/linux/rtld-lowlevel.h: File removed.
15982         * include/libc-symbols.h (HAVE_CONFIG_H, STDC_HEADERS): New macros.
15983         * catgets/Makefile (catgets-CPPFLAGS): Remove -DHAVE_CONFIG_H.
15984         * locale/Makefile (CPPFLAGS-locale-programs): Likewise.
15985         * stdlib/strtol_l.c [_LIBC] (STDC_HEADERS): Don't define it.
15987         * nptl/allocatestack.c: Include <stack-aliasing.h>.
15988         * nptl/stack-aliasing.h: New file.
15989         * sysdeps/i386/i686/stack-aliasing.h: New file.
15990         * sysdeps/i386/i686/nptl/Makefile: File removed.
15991         * sysdeps/x86_64/stack-aliasing.h: New file.
15992         * sysdeps/x86_64/nptl/Makefile
15993         (CFLAGS-pthread_create.c): Variable removed.
15995         * nptl/sysdeps/unix/sysv/linux/bits/local_lim.h: Moved ...
15996         * sysdeps/unix/sysv/linux/bits/local_lim.h: ... here, replacing the
15997         old file.
15998         * nptl/sysdeps/unix/sysv/linux/bits/posix_opt.h: Moved ...
15999         * sysdeps/unix/sysv/linux/bits/posix_opt.h: ... here, replacing the
16000         old file.
16002 2014-06-21  Joseph Myers  <joseph@codesourcery.com>
16004         * sysdeps/unix/sysv/linux/arm/kernel-features.h
16005         (__ASSUME_SIGFRAME_V2): Remove macro.
16006         * sysdeps/unix/sysv/linux/arm/sigrestorer.S: Update comment.
16007         [!__ASSUME_SIGFRAME_V2]: Remove conditional code.
16008         (__default_sa_restorer_v2): Rename to __default_sa_restorer.
16009         (__default_rt_sa_restorer_v2): Rename to __default_rt_sa_restorer.
16010         * sysdeps/unix/sysv/linux/arm/sigaction.c (__default_sa_restorer):
16011         Declare as function.  Remove conditional macro definitions.
16012         (__default_rt_sa_restorer): Likewise.
16013         (__default_sa_restorer_v1): Remove declaration.
16014         (__default_sa_restorer_v2): Likewise.
16015         (__default_rt_sa_restorer_v1): Likewise.
16016         (__default_rt_sa_restorer_v2): Likewise.
16017         * sysdeps/unix/sysv/linux/arm/Versions (GLIBC_PRIVATE): Remove
16018         __default_sa_restorer_v1, __default_rt_sa_restorer_v1,
16019         __default_sa_restorer_v2 and __default_rt_sa_restorer_v2.
16021 2014-06-20  Roland McGrath  <roland@hack.frob.com>
16023         * sysdeps/unix/sysv/linux/sparc/Makefile [$(subdir) = nptl]
16024         (libpthread-routines): Add sysdep.
16025         * nptl/sysdeps/unix/sysv/linux/sparc/Makefile: File removed.
16026         * sysdeps/unix/sysv/linux/sparc/Versions
16027         (libpthread: GLIBC_2.3.3): New version set.
16028         * nptl/sysdeps/unix/sysv/linux/sparc/Versions: File removed.
16029         * nptl/sysdeps/unix/sysv/linux/sparc/aio_cancel.c: Moved ...
16030         * sysdeps/unix/sysv/linux/sparc/aio_cancel.c: ... here.
16031         * nptl/sysdeps/unix/sysv/linux/sparc/internaltypes.h: Moved ...
16032         * sysdeps/sparc/nptl/internaltypes.h: ... here.  Use #include_next.
16033         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_destroy.c:
16034         Moved ...
16035         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: ... here.
16036         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_init.c: Moved ...
16037         * sysdeps/sparc/nptl/pthread_barrier_init.c: ... here.
16038         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_wait.c: Moved ...
16039         * sysdeps/sparc/nptl/pthread_barrier_wait.c: ... here.
16040         * nptl/sysdeps/unix/sysv/linux/sparc/sem_init.c: Moved ...
16041         * sysdeps/sparc/nptl/sem_init.c: ... here.
16042         * nptl/sysdeps/unix/sysv/linux/sparc/sem_post.c: Moved ...
16043         * sysdeps/sparc/nptl/sem_post.c: ... here.
16044         * nptl/sysdeps/unix/sysv/linux/sparc/sem_timedwait.c: Moved ...
16045         * sysdeps/sparc/nptl/sem_timedwait.c: ... here.
16046         * nptl/sysdeps/unix/sysv/linux/sparc/sem_wait.c: Moved ...
16047         * sysdeps/sparc/nptl/sem_wait.c: ... here.
16048         * nptl/sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Moved ...
16049         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: ... here.
16050         * sysdeps/sparc/sparc32/sparcv9/Makefile [$(subdir) = nptl]
16051         (libpthread-routines): Add cpu_relax.
16052         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/Makefile:
16053         File removed.
16054         * sysdeps/unix/sysv/linux/sparc/sparc64/Versions
16055         (librt: GLIBC_2.3.3): New version set.
16056         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Versions: File removed.
16057         * sysdeps/sparc/sparc64/nptl/Makefile: New file.
16058         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile [$(subdir) = nptl]
16059         (CFLAGS-pause.c, CFLAGS-sigsuspend.c): New variables.
16060         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Makefile: File removed.
16061         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/lowlevellock.c: Moved ...
16062         * sysdeps/sparc/sparc32/nptl/lowlevellock.c: ... here.
16063         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pthread_barrier_wait.c:
16064         Moved ...
16065         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: ... here.
16066         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_post.c: Moved ...
16067         * sysdeps/sparc/sparc32/nptl/sem_post.c: ... here.
16068         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_timedwait.c: Moved ...
16069         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: ... here.
16070         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_trywait.c: Moved ...
16071         * sysdeps/sparc/sparc32/nptl/sem_trywait.c: ... here.
16072         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_wait.c: Moved ...
16073         * sysdeps/sparc/sparc32/nptl/sem_wait.c: ... here.
16074         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/cpu_relax.S:
16075         Moved ...
16076         * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: ... here.
16077         Update #include.
16078         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/pthread_barrier_wait.c:
16079         Moved ...
16080         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: ... here.
16081         Update #include.
16082         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_post.c:
16083         Moved ...
16084         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: ... here.
16085         Update #include.
16086         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_timedwait.c:
16087         Moved ...
16088         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: ... here.
16089         Update #include.
16090         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_trywait.c:
16091         Moved ...
16092         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: ... here.
16093         Update #include.
16094         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_wait.c:
16095         Moved ...
16096         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: ... here.
16097         Update #include.
16098         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/cpu_relax.S: Moved ...
16099         * sysdeps/sparc/sparc64/nptl/cpu_relax.S: ... here.
16100         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Moved ...
16101         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: ... here.
16102         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Moved ...
16103         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: ... here.
16104         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: Moved ...
16105         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: ... here.
16106         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: Moved ...
16107         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: ... here.
16108         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
16109         Moved ...
16110         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c: ... here.
16111         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: Moved ...
16112         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: ... here.
16113         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: Moved ...
16114         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: ... here.
16116 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
16118         * nptl/pthread_cond_wait.c: Include <kernel-features.h>.
16119         * nptl/pthread_rwlock_timedrdlock.c: Likewise.
16120         * nptl/pthread_rwlock_timedwrlock.c: Likewise.
16121         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Likewise.
16122         * nscd/nscd.c: Likewise.
16123         * sysdeps/i386/nptl/tcb-offsets.sym: Likewise.
16124         * sysdeps/powerpc/nptl/tcb-offsets.sym: Likewise.
16125         * sysdeps/sh/nptl/tcb-offsets.sym: Likewise.
16126         * sysdeps/x86_64/nptl/tcb-offsets.sym: Likewise.
16128         * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Do not include
16129         <kernel-features.h>.
16130         (init_mq_netlink): Remove conditional have_sock_cloexec
16131         definitions.  Remove code conditional on have_sock_cloexec < 0.
16132         (init_mq_netlink) [!SOCK_CLOEXEC]: Remove conditional code.
16133         (init_mq_netlink) [!__ASSUME_SOCK_CLOEXEC]: Likewise.
16134         * sysdeps/unix/sysv/linux/opensock.c: Do not include
16135         <kernel-features.h>.
16136         (__opensock) [SOCK_CLOEXEC]: Make code unconditional.
16137         (__opensock) [!__ASSUME_SOCK_CLOEXEC]: Remove conditional code.
16139 2014-06-20  H.J. Lu  <hongjiu.lu@intel.com>
16141         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
16142         Add tests for memset_chk and memset.
16144         * sysdeps/x86_64/multiarch/init-arch.h (HAS_AVX2): Defined
16145         with AVX2_Usable.
16147 2014-06-20  Maciej W. Rozycki  <macro@codesourcery.com>
16149         [BZ #16046]
16150         * elf/tst-dl-iter-static.c: New file.
16151         * elf/Makefile (tests-static): Add tst-dl-iter-static.
16153         * stdlib/tst-qsort2.c (main): Fix off-by-one argc interpretation
16154         error.
16156 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
16158         * sysdeps/unix/sysv/linux/kernel-features.h
16159         (__ASSUME_F_GETOWN_EX): Remove macro.
16160         * sysdeps/unix/sysv/linux/fcntl.c: Do not include
16161         <kernel-features.h>.
16162         (miss_F_GETOWN_EX): Remove variable or macro.
16163         (do_fcntl): Do not check miss_F_GETOWN_EX.
16164         (do_fcntl) [!__ASSUME_F_GETOWN_EX]: Remove conditional code.
16166         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_RANDOM):
16167         Remove macro.
16168         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard)
16169         [!__ASSUME_AT_RANDOM]: Remove conditional code.
16170         (_dl_setup_pointer_guard) [!__ASSUME_AT_RANDOM]: Likewise.
16172         * sysdeps/unix/sysv/linux/kernel-features.h
16173         (__ASSUME_ADJ_OFFSET_SS_READ): Remove macro.
16174         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME)
16175         [ADJ_OFFSET_SS_READ]: Make code unconditional.
16176         (ADJTIME) [!ADJ_OFFSET_SS_READ]: Remove conditional code.
16178 2014-06-20  Maciej W. Rozycki  <macro@codesourcery.com>
16180         [BZ #17075]
16181         * sysdeps/arm/dl-machine.h (elf_machine_rel) <R_ARM_TLS_DESC>:
16182         Fix calculation of the symbol's value.
16183         * sysdeps/arm/tst-armtlsdescloc.c: New file.
16184         * sysdeps/arm/tst-armtlsdesclocmod.c: New file.
16185         * sysdeps/arm/tst-armtlsdescextnow.c: New file.
16186         * sysdeps/arm/tst-armtlsdescextlazymod.c: New file.
16187         * sysdeps/arm/tst-armtlsdescextlazy.c: New file.
16188         * sysdeps/arm/tst-armtlsdescextnowmod.c: New file.
16189         * sysdeps/arm/Makefile (tests): Add `tst-armtlsdesc',
16190         `tst-armtlsdescextnow' and `tst-armtlsdescextlazy'.
16191         (modules-names): Add `tst-armtlsdescmod',
16192         `tst-armtlsdescextlazymod' and `tst-armtlsdescextnowmod'.
16193         (CPPFLAGS-tst-armtlsdescextnowmod.c): New variable.
16194         (CPPFLAGS-tst-armtlsdescextlazymod.c): Likewise.
16195         (CFLAGS-tst-armtlsdesclocmod.c): Likewise.
16196         (CFLAGS-tst-armtlsdescextnowmod.c): Likewise.
16197         (CFLAGS-tst-armtlsdescextlazymod.c): Likewise.
16198         (LDFLAGS-tst-armtlsdescextnowmod.so): Likewise.
16199         ($(objpfx)tst-armtlsdescloc): New dependency.
16200         ($(objpfx)tst-armtlsdescextnow): Likewise.
16201         ($(objpfx)tst-armtlsdescextlazy): Likewise.
16202         * sysdeps/arm/configure.ac: Add a check for tools' GNU descriptor
16203         TLS scheme support.
16204         * sysdeps/arm/configure: Regenerate.
16206 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
16208         * include/fcntl.h (__atfct_seterrno): Remove prototype.
16209         (__atfct_seterrno_2): Likewise.
16210         * sysdeps/unix/sysv/linux/alpha/dl-fxstatat64.c: Do not include
16211         <kernel-features.h>.
16212         (__ASSUME_ATFCTS): Do not undefine and redefine.
16213         * sysdeps/unix/sysv/linux/alpha/fxstatat.c [__ASSUME_ATFCTS]
16214         (__have_atfcts): Remove conditional definition.
16215         (__fxstatat([__NR_fstatat64]: Make code unconditional.
16216         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code and code
16217         unreachable if [__ASSUME_ATFCTS].
16218         * sysdeps/unix/sysv/linux/dl-fxstatat64.c (__ASSUME_ATFCTS): Do
16219         not undefine and redefine.
16220         * sysdeps/unix/sysv/linux/faccessat.c: Do not include
16221         <kernel-features.h>.
16222         (faccessat) [__NR_faccessat]: Make code unconditional.
16223         (faccessat) [!__ASSUME_ATFCTS]: Remove conditional code.
16224         * sysdeps/unix/sysv/linux/fchmodat.c: Do not include
16225         <kernel-features.h>.
16226         (fchmodat) [__NR_fchmodat]: Make code unconditional.
16227         (fchmodat) [!__ASSUME_ATFCTS]: Remove conditional code.
16228         * sysdeps/unix/sysv/linux/fchownat.c: Do not include
16229         <kernel-features.h>.
16230         (fchownat) [__NR_fchownat]: Make code unconditional.
16231         (fchownat) [!__ASSUME_ATFCTS]: Remove conditional code.
16232         * sysdeps/unix/sysv/linux/futimesat.c: Do not include
16233         <kernel-features.h>.
16234         (futimesat) [__NR_futimesat]: Make code unconditional.
16235         (futimesat) [!__ASSUME_ATFCTS]: Remove conditional code.
16236         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
16237         <kernel-features.h>.
16238         (__fxstatat) [__NR_newfstatat]: Make code unconditional.
16239         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
16240         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
16241         <kernel-features.h>.
16242         (__fxstatat64) [__NR_fstatat64]: Make code unconditional.
16243         (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
16244         * sysdeps/unix/sysv/linux/i386/fchownat.c: Remove file.
16245         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
16246         <kernel-features.h>.
16247         (__fxstatat) [__NR_fstatat64]: Make code unconditional.
16248         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
16249         * sysdeps/unix/sysv/linux/linkat.c: Do not include
16250         <kernel-features.h>.
16251         (linkat) [__NR_linkat]: Make code unconditional.
16252         (linkat) [!__ASSUME_ATFCTS]: Remove conditional code.
16253         * sysdeps/unix/sysv/linux/m68k/fchownat.c: Remove file.
16254         * sysdeps/unix/sysv/linux/mips/mips64/fxstatat64.c: Do not include
16255         <kernel-features.h>.
16256         (__fxstatat64) [__NR_newfstatat]: Make code unconditional.
16257         (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
16258         * sysdeps/unix/sysv/linux/mkdirat.c: Do not include
16259         <kernel-features.h>.
16260         (mkdirat) [__NR_mkdirat]: Make code unconditional.
16261         (mkdirat) [!__ASSUME_ATFCTS]: Remove conditional code.
16262         * sysdeps/unix/sysv/linux/openat.c: Do not include
16263         <kernel-features.h>.
16264         [!__ASSUME_ATFCTS] (__atfct_seterrno): Remove function.
16265         [!__ASSUME_ATFCTS] (__have_atfcts): Remove variable.
16266         (OPENAT_NOT_CANCEL) [__NR_openat]: Make code unconditional.
16267         (OPENAT_NOT_CANCEL) [!__ASSUME_ATFCTS]: Remove conditional code.
16268         * sysdeps/unix/sysv/linux/powerpc/fchownat.c: Remove file.
16269         * sysdeps/unix/sysv/linux/readlinkat.c: Do not include
16270         <kernel-features.h>.
16271         (readlinkat) [__NR_readlinkat]: Make code unconditional.
16272         (readlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.  Return
16273         result of INLINE_SYSCALL directly, not via int variable.
16274         * sysdeps/unix/sysv/linux/renameat.c: Do not include
16275         <kernel-features.h>.
16276         [!__ASSUME_ATFCTS] (__atfct_seterrno_2): Remove function.
16277         (renameat) [__NR_renameat]: Make code unconditional.
16278         (renameat) [!__ASSUME_ATFCTS]: Remove conditional code.
16279         * sysdeps/unix/sysv/linux/s390/s390-32/fchownat.c: Remove file.
16280         * sysdeps/unix/sysv/linux/sh/fchownat.c: Remove file.
16281         * sysdeps/unix/sysv/linux/sparc/sparc32/fchownat.c: Remove file.
16282         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c
16283         (__ASSUME_ATFCTS): Do not undefine and redefine.
16284         * sysdeps/unix/sysv/linux/symlinkat.c: Do not include
16285         <kernel-features.h>.
16286         (symlinkat) [__NR_symlinkat]: Make code unconditional.
16287         (symlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
16288         * sysdeps/unix/sysv/linux/unlinkat.c: Do not include
16289         <kernel-features.h>.
16290         (unlinkat) [__NR_unlinkat]: Make code unconditional.
16291         (unlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
16292         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c
16293         (__ASSUME_ATFCTS): Do not undefine and redefine.
16294         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
16295         <kernel-features.h>.
16296         (__fxstatat) [__NR_newfstatat]: Make code unconditional.
16297         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
16298         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
16299         <kernel-features.h>.
16300         (__xmknodat) [__NR_mknodat]: Make code unconditional.
16301         (__xmknodat) [!__ASSUME_ATFCTS]: Remove conditional code.
16303 2014-06-20  H.J. Lu  <hongjiu.lu@intel.com>
16305         * sysdeps/x86_64/multiarch/rtld-strlen.S: Removed.
16307 2014-06-20  Andreas Schwab  <schwab@linux-m68k.org>
16309         [BZ #17069]
16310         * posix/regcomp.c (parse_reg_exp): Deallocate partially
16311         constructed tree before returning error.
16312         * posix/bug-regexp36.c: Expand test case.
16314 2014-06-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
16316         [BZ #6803]
16317         * math/libm-test.inc (scalbln_test_date):
16318         Add errno expectations.
16319         * math/w_scalblnf.c: New File.
16320         Add wrapper which checks for setting errno to ERANGE.
16321         Add weak_alias for corresponding scalbln function.
16322         * math/w_scalbln.c: Likewise.
16323         * math/w_scalblnl.c: Likewise.
16324         * math/Makefile (libm-calls): Add w_scalbln.
16325         * sysdeps/ieee754/flt-32/s_scalblnf.c:
16326         Remove weak_alias for corresponding scalbln function.
16327         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
16328         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
16329         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
16330         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
16331         * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: Likewise.
16332         * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
16333         * sysdeps/i386/fpu/s_scalbn.S: Likewise.
16334         * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
16335         * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Likewise.
16336         * sysdeps/ieee754/ldbl-64-128/s_scalblnl.c:
16337         Remove long_double_symbol for scalblnl function in libm, libc.
16338         * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: New File.
16339         Add wrapper which checks for setting errno to ERANGE.
16340         Add long_double_symbol for scalblnl function in libm, libc.
16341         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c:
16342         Remove long_double_symbol for scalblnl in libm.
16343         * sysdeps/ieee754/ldbl-128ibm/w_scalblnl.c: New File.
16344         Add wrapper which checks for setting errno to ERANGE.
16345         Add long_double_symbol for scalblnl function in libm.
16346         * sysdeps/ia64/fpu/w_scalblnf.c: New File.
16347         Do not use wrapper because of own implementation.
16349 2014-06-19  H.J. Lu  <hongjiu.lu@intel.com>
16351         * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Use
16352         3 bytes for __pad1 for x32.
16353         (__PTHREAD_RWLOCK_ELISION_EXTRA): Likewise.
16355 2014-06-19  Ling Ma  <ling.ml@alibaba-inc.com>
16356             H.J. Lu  <hongjiu.lu@intel.com>
16358         * sysdeps/x86_64/multiarch/Makefile: Add memset-avx2.
16359         * sysdeps/x86_64/multiarch/memset-avx2.S: New file.
16360         * sysdeps/x86_64/multiarch/memset.S: Likewise.
16361         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
16362         * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
16364 2014-06-19  Andreas Schwab  <schwab@linux-m68k.org>
16366         [BZ #17069]
16367         * posix/regcomp.c (parse_expression): Deallocate partially
16368         constructed tree before returning error.
16369         * posix/Makefile.c (tests): Add bug-regex36.
16370         (generated): Add bug-regex36.mtrace.
16371         (tests-special): Add $(objpfx)bug-regex36-mem.out
16372         (bug-regex36-ENV): New variable.
16373         ($(objpfx)bug-regex36-mem.out): New rule.
16374         * posix/bug-regex36.c: New file.
16376 2014-06-19  Will Newton  <will.newton@linaro.org>
16378         * malloc/malloc.c (systrim): If extra is zero then return
16379         early.
16381 2014-06-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
16383         * benchtests/Makefile ($(objpfx)bench-%.c): Remove $(.).
16385 2014-06-19  Richard Earnshaw  <rearnsha@arm.com>
16387         * sysdeps/aarch64/strchr.S: New file.
16389 2014-06-18  Joseph Myers  <joseph@codesourcery.com>
16391         [BZ #17022]
16392         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Do not subtract 1
16393         from arguments -2 or below.
16394         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
16395         * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
16397 2014-06-18  Andreas Schwab  <schwab@suse.de>
16399         [BZ #17062]
16400         * posix/fnmatch_loop.c (FCT): Rerrange loop for skipping over rest
16401         of a bracket expr not to run off the end of the string.
16402         * posix/Makefile (tests): Add tst-fnmatch3.
16403         * posix/tst-fnmatch3.c: New file.
16405 2014-06-18  Joseph Myers  <joseph@codesourcery.com>
16407         * elf/Makefile ($(objpfx)tst-unused-dep.out): Use $(rtld-prefix).
16408         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
16409         [$(cross-compiling) = no]: Likewise.
16410         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
16411         [$(cross-compiling) = no]: Likewise.
16413 2014-16-17  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
16415         [BZ #17031]
16416         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Consider the low
16417         double, adjusted for any remainder from the high double.
16418         * math/libm-test.inc (nearbyint): Add tests.
16419         (rint): Likewise.
16421 2014-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16423         * nptl/sysdeps/powerpc/Makefile: Moved ...
16424         * sysdeps/powerpc/nptl/Makefile: ... here.
16425         * nptl/sysdeps/powerpc/pthread_spin_lock.c: Moved ...
16426         * sysdeps/powerpc/nptl/pthread_spin_lock.c: .. here.
16427         * nptl/sysdeps/powerpc/pthread_spin_trylock.c: Moved ...
16428         * sysdeps/powerpc/nptl/pthread_spin_trylock.c: ... here.
16429         * nptl/sysdeps/powerpc/pthreaddef.h: Moved ...
16430         * sysdeps/powerpc/nptl/pthreaddef.h: ... here.
16431         * nptl/sysdeps/powerpc/tcb-offsets.sym: Moved ...
16432         * sysdeps/powerpc/nptl/tcb-offsets.sym: ... here.
16433         * nptl/sysdeps/powerpc/tls.h: Moved ...
16434         * sysdeps/powerpc/nptl/tls.h: ... here.
16436 2014-06-16  Joseph Myers  <joseph@codesourcery.com>
16438         [BZ #16681]
16439         * sysdeps/i386/fpu/s_ceil.S (__ceil): Add CFI.
16440         * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
16441         * sysdeps/i386/fpu/s_ceill.S (__ceill): Likewise.
16442         * sysdeps/i386/fpu/s_floor.S (__floor): Likewise.
16443         * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
16444         * sysdeps/i386/fpu/s_floorl.S (__floorl): Likewise.
16445         * sysdeps/i386/fpu/s_trunc.S (__trunc): Likewise.
16446         * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
16447         * sysdeps/i386/fpu/s_truncl.S (__truncl): Likewise.
16449 2014-06-17  Andreas Schwab  <schwab@linux-m68k.org>
16451         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
16453 2014-06-16  Andreas Schwab  <schwab@linux-m68k.org>
16455         * sysdeps/m68k/m680x0/bits/huge_vall.h: Fix missing space after
16456         defined operator.
16458         * scripts/cross-test-ssh.sh (timeoutfactor): Default to
16459         $TIMEOUTFACTOR.
16461 2014-06-16  Florian Weimer  <fweimer@redhat.com>
16463         [BZ #17058]
16464         * nptl/tst-setuid2.c (do_test): Fix tautological comparison in
16465         non-executed part of the test.
16467 2014-06-16  Andreas Schwab  <schwab@suse.de>
16469         * string/bits/string2.h (strdup, strndup): Update feature guard.
16471 2014-06-14  David S. Miller  <davem@davemloft.net>
16473         * sysdeps/sparc/fpu/libm-test-ulps: Update.
16475 2014-06-14  Andreas Schwab  <schwab@linux-m68k.org>
16477         * sysdeps/unix/sysv/linux/m68k/clone.S: Deconditionalize the code
16478         that was previously under [RESET_PID].
16479         * sysdeps/unix/sysv/linux/m68k/nptl/clone.S: Remove file.
16481         * sysdeps/unix/sysv/linux/m68k/pt-vfork.c: New file.
16482         * sysdeps/unix/sysv/linux/m68k/nptl/pt-vfork.S: Remove file.
16483         * sysdeps/unix/sysv/linux/m68k/vfork.S: Include <tcb-offsets.h>.
16484         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
16485         (__libc_vfork): New strong alias.
16486         * sysdeps/unix/sysv/linux/m68k/nptl/vfork.S: Remove file.
16488 2014-06-14 Andi Kleen  <ak@linux.intel.com>
16490         * sysdeps/generic/elide.h: New file.
16492 2014-06-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
16494         * Makefile (installed-headers): Adjust path of pthread.h header.
16496 2014-06-13  Roland McGrath  <roland@hack.frob.com>
16498         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h: Moved ...
16499         * sysdeps/s390/nptl/bits/pthreadtypes.h: ... here.
16500         * nptl/sysdeps/unix/sysv/linux/s390/bits/semaphore.h: Moved ...
16501         * sysdeps/s390/nptl/bits/semaphore.h: ... here.
16503         * nptl/sysdeps/s390/Makefile: Moved ...
16504         * sysdeps/s390/nptl/Makefile: ... here.
16505         * nptl/sysdeps/s390/pthread_spin_init.c: Moved ...
16506         * sysdeps/s390/nptl/pthread_spin_init.c: ... here.
16507         * nptl/sysdeps/s390/pthread_spin_lock.c: Moved ...
16508         * sysdeps/s390/nptl/pthread_spin_lock.c: ... here.
16509         * nptl/sysdeps/s390/pthread_spin_trylock.c: Moved ...
16510         * sysdeps/s390/nptl/pthread_spin_trylock.c: ... here.
16511         * nptl/sysdeps/s390/pthread_spin_unlock.c: Moved ...
16512         * sysdeps/s390/nptl/pthread_spin_unlock.c: ... here.
16513         * nptl/sysdeps/s390/pthreaddef.h: Moved ...
16514         * sysdeps/s390/nptl/pthreaddef.h: ... here.
16515         * nptl/sysdeps/s390/tcb-offsets.sym: Moved ...
16516         * sysdeps/s390/nptl/tcb-offsets.sym: ... here.
16517         * nptl/sysdeps/s390/tls.h: Moved ...
16518         * sysdeps/s390/nptl/tls.h: ... here.
16520         * sysdeps/unix/sysv/linux/s390/arch-fork.h: New file.
16521         * nptl/sysdeps/unix/sysv/linux/s390/fork.c: File removed.
16523 2014-06-13  David S. Miller  <davem@davemloft.net>
16525         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Delete.
16526         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pt-vfork.S: Delete.
16527         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Moved ...
16528         * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: ... here.
16529         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Delete.
16530         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/pt-vfork.S: Delete.
16531         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Moved ...
16532         * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: ... here.
16533         * sysdeps/unix/sysv/linux/sparc/fork.S: Delete.
16534         * sysdeps/unix/sysv/linux/sparc/pt-vfork.S: New file.
16535         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__thread_start):
16536         Remove RESET_PID cpp guards.
16537         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__thread_start):
16538         Remove RESET_PID cpp guards.
16539         * sysdeps/unix/sysv/linux/sparc/vfork.S: Delete.
16541 2014-06-13  Andreas Schwab  <schwab@linux-m68k.org>
16543         * sysdeps/m68k/jmpbuf-unwind.h (_JMPBUF_UNWINDS, _jmpbuf_sp): Cast
16544         __sp to uintptr_t.
16546 2014-06-13  Andi Kleen  <ak@linux.intel.com>
16548         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: Remove.
16549         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S: dito.
16550         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S: dito.
16551         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: dito.
16552         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: dito.
16553         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: dito.
16554         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S: dito.
16555         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S: dito.
16556         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: dito.
16557         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: dito.
16558         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: dito.
16559         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S: dito.
16560         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S: dito.
16561         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: dito.
16562         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: dito.
16563         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: dito.
16564         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: dito.
16565         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: dito.
16566         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: dito.
16567         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: dito.
16569         * nptl/pthread_rwlock_rdlock.c: Include elide.h.
16570         (pthread_rwlock_rdlock): Add elision.
16571         * nptl/pthread_rwlock_wrlock.c: Include elide.h.
16572         (pthread_rwlock_wrlock): Add elision.
16573         * nptl/pthread_rwlock_trywrlock.c: Include elide.h.
16574         (pthread_rwlock_trywrlock): Add elision.
16575         * nptl/pthread_rwlock_tryrdlock.c: Include elide.h.
16576         (pthread_rwlock_tryrdlock): Add elision.
16577         * nptl/pthread_rwlock_unlock.c: Include elide.h.
16578         (pthread_rwlock_tryrdlock): Add elision unlock.
16579         * nptl/sysdeps/pthread/pthread.h:
16580         (__PTHREAD_RWLOCK_ELISION_EXTRA): Handle new define
16581         (PTHREAD_RWLOCK_INITIALIZER,
16582         PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP):
16583         Handle new elision field.
16584         * sysdeps/x86/nptl/elide.h: New file. Add generic elision macros.
16585         * sysdeps/arm/nptl/bits/pthreadtypes.h
16586         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
16587         * sysdeps/sh/nptl/bits/pthreadtypes.h
16588         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
16589         * sysdeps/tile/nptl/bits/pthreadtypes.h
16590         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
16591         * sysdeps/a/nptl/bits/pthreadtypes.h
16592         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
16593         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
16594         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
16595         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
16596         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
16597         * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h
16598         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
16599         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
16600         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
16601         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
16602         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
16603         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
16604         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
16605         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
16606         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
16607         * sysdeps/unix/sysv/linux/powerpc/nptl/bits/pthreadtypes.h
16608         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
16609         * sysdeps/unix/sysv/linux/x86/elision-conf.c:
16610         (elision_init): Set try_xbegin to zero when no RTM.
16611         * sysdeps/x86/nptl/bits/pthreadtypes.h
16612         (pthread_rwlock_t): Change __pad1 to __rwelision.
16613         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
16615 2014-06-13  Andi Kleen  <ak@linux.intel.com>
16617         * nptl/pthread_rwlock_rdlock (__pthread_rwlock_rdlock):
16618         Split into __do_pthread_rwlock_rdlock and __pthread_rwlock_rdlock.
16619         * nptl/pthread_rwlock_wrlock (__pthread_rwlock_wrlock):
16620         Split into __do_pthread_rwlock_wrlock and __pthread_wrlock_rdlock.
16622 2014-06-13  Meador Inge  <meadori@codesourcery.com>
16624         [BZ #16996]
16625         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Ensure
16626         that the cached result has been set before returning it.
16628 2014-06-12  Roland McGrath  <roland@hack.frob.com>
16630         * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h: Moved ...
16631         * sysdeps/sparc/nptl/bits/pthreadtypes.h: ... here.
16632         * nptl/sysdeps/unix/sysv/linux/sparc/bits/semaphore.h: Moved ...
16633         * sysdeps/sparc/nptl/bits/semaphore.h: ... here.
16634         * nptl/sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: Moved ...
16635         * sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: ... here.
16637         * nptl/sysdeps/sparc/Makefile: Moved ...
16638         * sysdeps/sparc/nptl/Makefile: ... here.
16639         * nptl/sysdeps/sparc/tcb-offsets.sym: Moved ...
16640         * sysdeps/sparc/nptl/tcb-offsets.sym: ... here.
16641         * nptl/sysdeps/sparc/tls.h: Moved ...
16642         * sysdeps/sparc/nptl/tls.h: ... here.
16643         * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S: Moved ...
16644         * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: ... here.
16645         * nptl/sysdeps/sparc/sparc32/pthread_spin_trylock.S: Moved ...
16646         * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: ... here.
16647         * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Moved ...
16648         * sysdeps/sparc/sparc32/nptl/pthreaddef.h: ... here.
16649         * nptl/sysdeps/sparc/sparc64/pthread_spin_init.c: Moved ...
16650         * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: ... here.
16651         * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S: Moved ...
16652         * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: ... here.
16653         * nptl/sysdeps/sparc/sparc64/pthread_spin_trylock.S: Moved ...
16654         * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: ... here.
16655         * nptl/sysdeps/sparc/sparc64/pthread_spin_unlock.S: Moved ...
16656         * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: ... here.
16657         * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Moved ...
16658         * sysdeps/sparc/sparc64/nptl/pthreaddef.h: ... here.
16659         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Moved ...
16660         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: ... here.
16661         Update #include.
16662         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Moved ...
16663         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: ... here.
16664         Update #include.
16665         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Moved ...
16666         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: ... here.
16667         Update #include.
16668         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: Moved ...
16669         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: ... here.
16670         Update #include.
16672         * nptl/sysdeps/sparc/tls.h (TLS_DEFINE_INIT_TP): New macro.
16674         * sysdeps/unix/sysv/linux/sparc/arch-fork.h: New file.
16675         * nptl/sysdeps/unix/sysv/linux/sparc/fork.c: File removed.
16677         * sysdeps/pthread/posix-timer.h: Include <list.h>.
16678         (struct list_links): Type removed.
16679         (struct thread_node, struct timer_node): Replace struct list_links
16680         with struct list_head.
16681         (list_unlink_ip): Likewise.
16682         * sysdeps/pthread/timer_routines.c
16683         (timer_free_list, thread_free_list, thread_active_list): Likewise.
16684         (list_append, list_insbefore): Likewise.
16685         (list_init): Function removed.
16686         (thread_init, init_module): Use INIT_LIST_HEAD instead.
16687         * sysdeps/nptl/Makefile: Move tst-timer bits to ...
16688         * sysdeps/pthread/Makefile: ... here, new file.
16690         * nptl/sysdeps/unix/sysv/linux/Implies: Moved ...
16691         * sysdeps/nptl/Implies: ... here.
16692         * sysdeps/unix/sysv/linux/Implies: Add nptl.
16693         * nptl/sysdeps/pthread/list.h: Moved ...
16694         * include/list.h: ... here.
16695         * nptl/sysdeps/pthread/createthread.c: Moved ...
16696         * nptl/createthread.c: ... here.
16697         * nptl/sysdeps/unix/sysv/linux/createthread.c: Update #include.
16698         * nptl/sysdeps/pthread/pt-longjmp.c: Moved ...
16699         * nptl/pt-longjmp.c: ... here.
16700         * nptl/sysdeps/pthread/Makefile: Moved ...
16701         * sysdeps/nptl/Makefile: ... here.
16702         * nptl/sysdeps/pthread/Subdirs: Moved ...
16703         * sysdeps/nptl/Subdirs: ... here.
16704         * nptl/sysdeps/pthread/aio_misc.h: Moved ...
16705         * sysdeps/nptl/aio_misc.h: ... here.
16706         * nptl/sysdeps/pthread/bits/libc-lock.h: Moved ...
16707         * sysdeps/nptl/bits/libc-lock.h: ... here.
16708         * nptl/sysdeps/pthread/bits/libc-lockP.h: Moved ...
16709         * sysdeps/nptl/bits/libc-lockP.h: ... here.
16710         * nptl/sysdeps/pthread/bits/stdio-lock.h: Moved ...
16711         * sysdeps/nptl/bits/stdio-lock.h: ... here.
16712         * nptl/sysdeps/pthread/configure: Moved ...
16713         * sysdeps/nptl/configure: ... here.
16714         * nptl/sysdeps/pthread/configure.ac: Moved ...
16715         * sysdeps/nptl/configure.ac: ... here.
16716         * nptl/sysdeps/pthread/gai_misc.h: Moved ...
16717         * sysdeps/nptl/gai_misc.h: ... here.
16718         * nptl/sysdeps/pthread/librt-cancellation.c: Moved ...
16719         * sysdeps/nptl/librt-cancellation.c: ... here.
16720         * nptl/sysdeps/pthread/malloc-machine.h: Moved ...
16721         * sysdeps/nptl/malloc-machine.h: ... here.
16722         * nptl/sysdeps/pthread/pthread-functions.h: Moved ...
16723         * sysdeps/nptl/pthread-functions.h: ... here.
16724         * nptl/sysdeps/pthread/pthread.h: Moved ...
16725         * sysdeps/nptl/pthread.h: ... here.
16726         * nptl/sysdeps/pthread/setxid.h: Moved ...
16727         * sysdeps/nptl/setxid.h: ... here.
16728         * nptl/sysdeps/pthread/sigfillset.c: Moved ...
16729         * sysdeps/nptl/sigfillset.c: ... here.
16730         * nptl/sysdeps/pthread/tcb-offsets.h: Moved ...
16731         * sysdeps/nptl/tcb-offsets.h: ... here.
16732         * nptl/sysdeps/pthread/tst-mqueue8x.c: Moved ...
16733         * sysdeps/nptl/tst-mqueue8x.c: ... here.
16734         * nptl/sysdeps/pthread/unwind-forcedunwind.c: Moved ...
16735         * sysdeps/nptl/unwind-forcedunwind.c: ... here.
16736         * nptl/sysdeps/pthread/allocalim.h: Moved ...
16737         * sysdeps/pthread/allocalim.h: ... here.
16738         * nptl/sysdeps/pthread/bits/sigthread.h: Moved ...
16739         * sysdeps/pthread/bits/sigthread.h: ... here.
16740         * nptl/sysdeps/pthread/flockfile.c: Moved ...
16741         * sysdeps/pthread/flockfile.c: ... here.
16742         * nptl/sysdeps/pthread/ftrylockfile.c: Moved ...
16743         * sysdeps/pthread/ftrylockfile.c: ... here.
16744         * nptl/sysdeps/pthread/funlockfile.c: Moved ...
16745         * sysdeps/pthread/funlockfile.c: ... here.
16746         * nptl/sysdeps/pthread/posix-timer.h: Moved ...
16747         * sysdeps/pthread/posix-timer.h: ... here.
16748         * nptl/sysdeps/pthread/timer_create.c: Moved ...
16749         * sysdeps/pthread/timer_create.c: ... here.
16750         * nptl/sysdeps/pthread/timer_delete.c: Moved ...
16751         * sysdeps/pthread/timer_delete.c: ... here.
16752         * nptl/sysdeps/pthread/timer_getoverr.c: Moved ...
16753         * sysdeps/pthread/timer_getoverr.c: ... here.
16754         * nptl/sysdeps/pthread/timer_gettime.c: Moved ...
16755         * sysdeps/pthread/timer_gettime.c: ... here.
16756         * nptl/sysdeps/pthread/timer_routines.c: Moved ...
16757         * sysdeps/pthread/timer_routines.c: ... here.
16758         * nptl/sysdeps/pthread/timer_settime.c: Moved ...
16759         * sysdeps/pthread/timer_settime.c: ... here.
16760         * nptl/sysdeps/pthread/tst-timer.c: Moved ...
16761         * sysdeps/pthread/tst-timer.c: ... here.
16762         * nptl/sysdeps/pthread/pthread_sigmask.c: Moved ...
16763         * sysdeps/unix/sysv/linux/pthread_sigmask.c: ... here.
16765         * sysdeps/unix/sysv/linux/sigprocmask.c: Include <nptl/pthreadP.h>.
16766         * nptl/sysdeps/pthread/sigprocmask.c: File removed.
16768         * nptl/sysdeps/i386/i486/pthread_spin_trylock.S: Moved ...
16769         * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: ... here.
16770         * nptl/sysdeps/i386/i586/pthread_spin_trylock.S: Moved ...
16771         * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: ... here.
16772         Update #include target.
16773         * nptl/sysdeps/i386/i686/Makefile: Moved ...
16774         * sysdeps/i386/i686/nptl/Makefile: ... here.
16775         * nptl/sysdeps/i386/i686/pthread_spin_trylock.S: Moved ...
16776         * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: ... here.
16777         Update #include target.
16778         * nptl/sysdeps/i386/i686/tls.h: Moved ...
16779         * sysdeps/i386/i686/nptl/tls.h: ... here.  Use #include_next.
16780         * nptl/sysdeps/i386/Makefile: Moved ...
16781         * sysdeps/i386/nptl/Makefile: ... here.
16782         * nptl/sysdeps/i386/pthread_spin_init.c: Moved ...
16783         * sysdeps/i386/nptl/pthread_spin_init.c: ... here.
16784         * sysdeps/x86_64/nptl/pthread_spin_init.c: Update #include target.
16785         * nptl/sysdeps/i386/pthread_spin_lock.S: Moved ...
16786         * sysdeps/i386/nptl/pthread_spin_lock.S: ... here.
16787         * nptl/sysdeps/i386/pthread_spin_unlock.S: Moved ...
16788         * sysdeps/i386/nptl/pthread_spin_unlock.S: ... here.
16789         * nptl/sysdeps/i386/pthreaddef.h: Moved ...
16790         * sysdeps/i386/nptl/pthreaddef.h: ... here.
16791         * nptl/sysdeps/i386/tcb-offsets.sym: Moved ...
16792         * sysdeps/i386/nptl/tcb-offsets.sym: ... here.
16793         * nptl/sysdeps/i386/tls.h: Moved ...
16794         * sysdeps/i386/nptl/tls.h: ... here.
16796         * sysdeps/sh/Makefile [$(subdir) = csu]
16797         (gen-as-const-headers): Add tcb-offsets.sym.
16798         * nptl/sysdeps/sh/Makefile: File removed.
16799         * nptl/sysdeps/sh/pthread_spin_init.c: Moved ...
16800         * sysdeps/sh/nptl/pthread_spin_init.c: ... here.
16801         * nptl/sysdeps/sh/pthread_spin_lock.c: Moved ...
16802         * sysdeps/sh/nptl/pthread_spin_lock.c: ... here.
16803         * nptl/sysdeps/sh/pthread_spin_trylock.S: Moved ...
16804         * sysdeps/sh/nptl/pthread_spin_trylock.S: ... here.
16805         * nptl/sysdeps/sh/pthread_spin_unlock.S: Moved ...
16806         * sysdeps/sh/nptl/pthread_spin_unlock.S: ... here.
16807         * nptl/sysdeps/sh/pthreaddef.h: Moved ...
16808         * sysdeps/sh/nptl/pthreaddef.h: ... here.
16809         * nptl/sysdeps/sh/tcb-offsets.sym: Moved ...
16810         * sysdeps/sh/nptl/tcb-offsets.sym: ... here.
16811         * nptl/sysdeps/sh/tls.h: Moved ...
16812         * sysdeps/sh/nptl/tls.h: ... here.
16813         * nptl/sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Moved ...
16814         * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: ... here.
16815         * nptl/sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: Moved ...
16816         * sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: ... here.
16817         * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.S: Moved ...
16818         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: ... here.
16819         * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.h: Moved ...
16820         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: ... here.
16821         * nptl/sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Moved ...
16822         * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: ... here.
16823         * nptl/sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Moved ...
16824         * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: ... here.
16825         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Moved ...
16826         * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: ... here.
16827         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Moved ...
16828         * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: ... here.
16829         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Moved ...
16830         * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: ... here.
16831         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Moved ...
16832         * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: ... here.
16833         * nptl/sysdeps/unix/sysv/linux/sh/pthread_once.S: Moved ...
16834         * sysdeps/unix/sysv/linux/sh/pthread_once.S: ... here.
16835         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Moved ...
16836         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: ... here.
16837         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S:
16838         Moved ...
16839         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: ... here.
16840         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S:
16841         Moved ...
16842         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: ... here.
16843         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Moved ...
16844         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: ... here.
16845         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Moved ...
16846         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: ... here.
16847         * nptl/sysdeps/unix/sysv/linux/sh/sem_post.S: Moved ...
16848         * sysdeps/unix/sysv/linux/sh/sem_post.S: ... here.
16849         * nptl/sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Moved ...
16850         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: ... here.
16851         * nptl/sysdeps/unix/sysv/linux/sh/sem_trywait.S: Moved ...
16852         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: ... here.
16853         * nptl/sysdeps/unix/sysv/linux/sh/sem_wait.S: Moved ...
16854         * sysdeps/unix/sysv/linux/sh/sem_wait.S: ... here.
16855         * nptl/sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Moved ...
16856         * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: ... here.
16857         * nptl/sysdeps/unix/sysv/linux/sh/smp.h: Moved ...
16858         * sysdeps/unix/sysv/linux/sh/smp.h: ... here.
16859         * nptl/sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Moved ...
16860         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: ... here.
16862 2014-06-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
16864         * posix/spawn_faction_addopen.c: Include string.h.
16866 2014-06-11  Roland McGrath  <roland@hack.frob.com>
16868         * nptl/sysdeps/x86_64/64/shlib-versions: Moved ...
16869         * sysdeps/x86_64/64/nptl/shlib-versions: ... here.
16870         * nptl/sysdeps/x86_64/Makefile: Moved ...
16871         * sysdeps/x86_64/nptl/Makefile: ... here.
16872         * nptl/sysdeps/x86_64/configure: Moved ...
16873         * sysdeps/x86_64/nptl/configure: ... here.
16874         * nptl/sysdeps/x86_64/configure.ac: Moved ...
16875         * sysdeps/x86_64/nptl/configure.ac: ... here.
16876         * nptl/sysdeps/x86_64/pthread_spin_init.c: Moved ...
16877         * sysdeps/x86_64/nptl/pthread_spin_init.c: ... here.
16878         * nptl/sysdeps/x86_64/pthread_spin_lock.S: Moved ...
16879         * sysdeps/x86_64/nptl/pthread_spin_lock.S: ... here.
16880         * nptl/sysdeps/x86_64/pthread_spin_trylock.S: Moved ...
16881         * sysdeps/x86_64/nptl/pthread_spin_trylock.S: ... here.
16882         * nptl/sysdeps/x86_64/pthread_spin_unlock.S: Moved ...
16883         * sysdeps/x86_64/nptl/pthread_spin_unlock.S: ... here.
16884         * nptl/sysdeps/x86_64/pthreaddef.h: Moved ...
16885         * sysdeps/x86_64/nptl/pthreaddef.h: ... here.
16886         * nptl/sysdeps/x86_64/tcb-offsets.sym: Moved ...
16887         * sysdeps/x86_64/nptl/tcb-offsets.sym: ... here.
16888         * nptl/sysdeps/x86_64/tls.h: Moved ...
16889         * sysdeps/x86_64/nptl/tls.h: ... here.
16890         * nptl/sysdeps/x86_64/x32/shlib-versions: Moved ...
16891         * sysdeps/x86_64/x32/nptl/shlib-versions: ... here.
16892         * nptl/sysdeps/x86_64/x32/tls.h: Moved ...
16893         * sysdeps/x86_64/x32/nptl/tls.h: ... here.
16895         * sysdeps/x86_64/x32/nptl/tls.h: Use #include_next.
16897 2014-06-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16899         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16901 2014-06-11  Joseph Myers  <joseph@codesourcery.com>
16903         * conform/data/sys/mman.h-data [POSIX] (size_t): Do not require
16904         type.
16905         [POSIX] (off_t): Likewise.
16906         * conform/data/sys/stat.h-data (S_IRGRP): Require constant.
16907         [POSIX] (S_ISBLK): Require macro.
16908         [POSIX] (S_ISCHR): Likewise.
16909         [POSIX] (S_ISDIR): Likewise.
16910         [POSIX] (S_ISFIFO): Likewise.
16911         [POSIX] (S_ISREG): Likewise.
16912         [POSIX || XPG3 || XPG4 || UNIX98] (S_TYPEISTMO): Do not list
16913         optional-macro.
16914         * conform/data/sys/types.h-data [POSIX] (blkcnt_t): Do not require
16915         type.
16916         [POSIX] (time_t): Likewise.
16917         [POSIX] (timer_t): Likewise.
16919 2014-06-11  Florian Weimer  <fweimer@redhat.com>
16921         [BZ #17048]
16922         * posix/spawn_int.h (struct __spawn_action): Make the path string
16923         non-const to support deallocation.
16924         * posix/spawn_faction_addopen.c
16925         (posix_spawn_file_actions_addopen): Make a copy of the pathname.
16926         * posix/spawn_faction_destroy.c
16927         (posix_spawn_file_actions_destroy): Adjust comment.  Deallocate
16928         path in all spawn_do_open actions.
16929         * posix/tst-spawn.c (do_test): Exercise the copy operation in
16930         posix_spawn_file_actions_addopen.
16932 2014-06-11  Chris Metcalf  <cmetcalf@tilera.com>
16934         * sysdeps/unix/sysv/linux/tile/pt-vfork.c: New file.
16935         * sysdeps/unix/sysv/linux/tile/pt-vfork.S: Remove file.
16936         * sysdeps/unix/sysv/linux/tile/vfork.S (__vfork): Make PT_VFORK
16937         conditional code always true.
16938         (__libc_vfork): New alias.
16940 2014-06-11  Roland McGrath  <roland@hack.frob.com>
16942         * sysdeps/tile/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
16943         * sysdeps/unix/sysv/linux/tile/createthread.c: File removed.
16945         * nptl/sysdeps/s390/tls.h (TLS_DEFINE_INIT_TP): New macro.
16947         * sysdeps/alpha/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
16948         * sysdeps/unix/sysv/linux/alpha/createthread.c: File removed.
16950         * nptl/sysdeps/powerpc/tls.h (TLS_DEFINE_INIT_TP): New macro.
16951         * sysdeps/unix/sysv/linux/powerpc/createthread.c: File removed.
16953         * sysdeps/aarch64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
16954         * sysdeps/unix/sysv/linux/aarch64/nptl/createthread.c: File removed.
16956 2014-06-11  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
16958         * sysdeps/powerpc/powerpc64/power7/strcmp.S: New file: Optimization.
16959         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: New file:
16960         multiarch strcmp for PPC64.
16961         * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: New file.
16962         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: New file.
16963         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcmp
16964         multiarch optimizations.
16965         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
16966         (__libc_ifunc_impl_list): Likewise.
16968 2014-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
16970         * benchtests/scripts/validate_benchout.py: New script.
16971         * benchtests/Makefile (bench-func): Call it.
16972         * benchtests/scripts/benchout.schema.json: New file.
16974 2014-06-10  Chris Metcalf  <cmetcalf@tilera.com>
16976         * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h: Moved ...
16977         * sysdeps/tile/nptl/bits/pthreadtypes.h: ... here.
16978         * sysdeps/unix/sysv/linux/tile/nptl/bits/semaphore.h: Moved ...
16979         * sysdeps/tile/nptl/bits/semaphore.h: ... here.
16980         * sysdeps/unix/sysv/linux/tile/nptl/Makefile: Removed, merged into ...
16981         * sysdeps/unix/sysv/linux/tile/Makefile: ... here.
16982         * sysdeps/unix/sysv/linux/tile/nptl/clone.S: Moved ...
16983         * sysdeps/unix/sysv/linux/tile/clone.S: ... here.
16984         * sysdeps/unix/sysv/linux/tile/nptl/createthread.c: Moved ...
16985         * sysdeps/unix/sysv/linux/tile/createthread.c: ... here.
16986         * sysdeps/unix/sysv/linux/tile/nptl/lowlevellock.h: Moved ...
16987         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: ... here.
16988         * sysdeps/unix/sysv/linux/tile/nptl/pt-vfork.S: Moved ...
16989         * sysdeps/unix/sysv/linux/tile/pt-vfork.S: ... here.
16990         * sysdeps/unix/sysv/linux/tile/nptl/sysdep-cancel.h: Moved ...
16991         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: ... here.
16992         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/c++-types.data:
16993         Moved ...
16994         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/c++-types.data:
16995         ... here.
16996         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/ld.abilist:
16997         Moved ...
16998         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/ld.abilist: ... here.
16999         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libBrokenLocale.abilist:
17000         Moved ...
17001         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libBrokenLocale.abilist:
17002         ... here.
17003         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libanl.abilist:
17004         Moved ...
17005         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libanl.abilist:
17006         ... here.
17007         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libc.abilist:
17008         Moved ...
17009         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: ... here.
17010         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libcrypt.abilist:
17011         Moved ...
17012         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libcrypt.abilist:
17013         ... here.
17014         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libdl.abilist:
17015         Moved ...
17016         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libdl.abilist:
17017         ... here.
17018         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libm.abilist:
17019         Moved ...
17020         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: ... here.
17021         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libnsl.abilist:
17022         Moved ...
17023         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libnsl.abilist:
17024         ... here.
17025         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libpthread.abilist:
17026         Moved ...
17027         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libpthread.abilist:
17028         ... here.
17029         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libresolv.abilist:
17030         Moved ...
17031         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libresolv.abilist:
17032         ... here.
17033         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/librt.abilist:
17034         Moved ...
17035         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/librt.abilist: ... here.
17036         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libthread_db.abilist:
17037         Moved ...
17038         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libthread_db.abilist:
17039         ... here.
17040         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libutil.abilist:
17041         Moved ...
17042         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libutil.abilist:
17043         ... here.
17044         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/c++-types.data:
17045         Moved ...
17046         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/c++-types.data:
17047         ... here.
17048         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/ld.abilist:
17049         Moved ...
17050         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/ld.abilist: ... here.
17051         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libBrokenLocale.abilist:
17052         Moved ...
17053         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libBrokenLocale.abilist:
17054         ... here.
17055         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libanl.abilist:
17056         Moved ...
17057         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libanl.abilist:
17058         ... here.
17059         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libc.abilist:
17060         Moved ...
17061         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: ... here.
17062         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libcrypt.abilist:
17063         Moved ...
17064         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libcrypt.abilist:
17065         ... here.
17066         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libdl.abilist:
17067         Moved ...
17068         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libdl.abilist: ... here.
17069         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libm.abilist:
17070         Moved ...
17071         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: ... here.
17072         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libnsl.abilist:
17073         Moved ...
17074         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libnsl.abilist:
17075         ... here.
17076         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libpthread.abilist:
17077         Moved ...
17078         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libpthread.abilist:
17079         ... here.
17080         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libresolv.abilist:
17081         Moved ...
17082         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libresolv.abilist:
17083         ... here.
17084         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/librt.abilist:
17085         Moved ...
17086         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/librt.abilist: ... here.
17087         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libthread_db.abilist:
17088         Moved ...
17089         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libthread_db.abilist:
17090         ... here.
17091         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libutil.abilist:
17092         Moved ...
17093         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libutil.abilist:
17094         ... here.
17095         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/c++-types.data: Moved ...
17096         * sysdeps/unix/sysv/linux/tile/tilepro/c++-types.data: ... here.
17097         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/ld.abilist: Moved ...
17098         * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: ... here.
17099         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libBrokenLocale.abilist:
17100         Moved ...
17101         * sysdeps/unix/sysv/linux/tile/tilepro/libBrokenLocale.abilist:
17102         ... here.
17103         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libanl.abilist: Moved ...
17104         * sysdeps/unix/sysv/linux/tile/tilepro/libanl.abilist: ... here.
17105         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libc.abilist: Moved ...
17106         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: ... here.
17107         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libcrypt.abilist: Moved ...
17108         * sysdeps/unix/sysv/linux/tile/tilepro/libcrypt.abilist: ... here.
17109         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libdl.abilist: Moved ...
17110         * sysdeps/unix/sysv/linux/tile/tilepro/libdl.abilist: ... here.
17111         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libm.abilist: Moved ...
17112         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: ... here.
17113         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libnsl.abilist: Moved ...
17114         * sysdeps/unix/sysv/linux/tile/tilepro/libnsl.abilist: ... here.
17115         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libpthread.abilist:
17116         Moved ...
17117         * sysdeps/unix/sysv/linux/tile/tilepro/libpthread.abilist: ... here.
17118         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libresolv.abilist:
17119         Moved ...
17120         * sysdeps/unix/sysv/linux/tile/tilepro/libresolv.abilist: ... here.
17121         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/librt.abilist: Moved ...
17122         * sysdeps/unix/sysv/linux/tile/tilepro/librt.abilist: ... here.
17123         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libthread_db.abilist:
17124         Moved ...
17125         * sysdeps/unix/sysv/linux/tile/tilepro/libthread_db.abilist: ... here.
17126         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libutil.abilist: Moved ...
17127         * sysdeps/unix/sysv/linux/tile/tilepro/libutil.abilist: ... here.
17128         * sysdeps/unix/sysv/linux/tile/nptl/vfork.S: Moved ...
17129         * sysdeps/unix/sysv/linux/tile/vfork.S: ... here.
17130         * sysdeps/unix/sysv/linux/tile/nptl/waitpid.S: Moved ...
17131         * sysdeps/unix/sysv/linux/tile/waitpid.S: ... here.
17133 2014-06-10  Wilco  <wdijkstr@arm.com>
17135         * math/test-fenv-return.c: New file.
17136         * math/Makefile: Add new test test-fenv-return.
17138 2014-06-10  Joseph Myers  <joseph@codesourcery.com>
17140         [BZ #17042]
17141         * sysdeps/i386/fpu/e_log2.S (__ieee754_log2): Take absolete value
17142         when x - 1 is zero.
17143         * sysdeps/i386/fpu/e_log2f.S (__ieee754_log2f): Likewise.
17144         * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Likewise.
17145         * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Return
17146         0.0L for an argument of 1.0L.
17147         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
17148         Likewise.
17149         * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Take absolute
17150         value when x - 1 is zero.
17151         * math/libm-test.inc (log2_test): Use ALL_RM_TEST.
17152         * sysdeps/i386/fpu/libm-test-ulps: Update.
17153         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17155 2014-06-09  Bernard Ogden  <bernie.ogden@linaro.org>
17157         [BZ #15119]
17158         * ports/sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.c: Remove file.
17160 2014-06-09  Roland McGrath  <roland@hack.frob.com>
17162         * nptl/sysdeps/sh/tls.h (TLS_DEFINE_INIT_TP): New macro.
17163         * nptl/sysdeps/unix/sysv/linux/sh/createthread.c: File removed.
17165 2014-06-09  Roland McGrath  <roland@hack.frob.com>
17167         * sysdeps/m68k/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
17168         * sysdeps/unix/sysv/linux/m68k/nptl/createthread.c: File removed.
17170         * sysdeps/hppa/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
17171         * sysdeps/unix/sysv/linux/hppa/nptl/createthread.c: File removed.
17173         * sysdeps/mips/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
17174         * sysdeps/unix/sysv/linux/mips/nptl/createthread.c: File removed.
17176         * sysdeps/arm/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
17177         * sysdeps/unix/sysv/linux/arm/createthread.c: File removed.
17179         * nptl/sysdeps/pthread/createthread.c (TLS_DEFINE_INIT_TP): New macro,
17180         if not already defined.
17181         (do_clone): Use that in place of PREPARE_CREATE and TLS_VALUE.
17182         * nptl/sysdeps/x86_64/tls.h (TLS_DEFINE_INIT_TP): New macro.
17183         * nptl/sysdeps/i386/tls.h (tls_fill_user_desc): New function.
17184         (TLS_INIT_TP): Use it.
17185         (TLS_DEFINE_INIT_TP): New macro.
17186         * sysdeps/unix/sysv/linux/i386/createthread.c: File removed.
17188 2014-06-09  Joseph Myers  <joseph@codesourcery.com>
17190         * conform/data/termios.h-data [POSIX] (IUCLC): Do not expect
17191         constant.
17192         [POSIX] (IXANY): Likewise.
17193         [POSIX] (OLCUC): Likewise.
17194         [POSIX || POSIX2008] (CBAUD): Do not allow.
17195         [POSIX || POSIX2008] (DEFECHO): Likewise.
17196         [POSIX || POSIX2008] (ECHOCTL): Likewise.
17197         [POSIX || POSIX2008] (ECHOKE): Likewise.
17198         [POSIX || POSIX2008] (ECHOPRT): Likewise.
17199         [POSIX || POSIX2008] (EXTA): Likewise.
17200         [POSIX || POSIX2008] (EXTB): Likewise.
17201         [POSIX || POSIX2008] (FLUSHO): Likewise.
17202         [POSIX || POSIX2008] (LOBLK): Likewise.
17203         [POSIX || POSIX2008] (PENDIN): Likewise.
17204         [POSIX || POSIX2008] (SWTCH): Likewise.
17205         [POSIX || POSIX2008] (VDISCARD): Likewise.
17206         [POSIX || POSIX2008] (VDSUSP): Likewise.
17207         [POSIX || POSIX2008] (VLNEXT): Likewise.
17208         [POSIX || POSIX2008] (VREPRINT): Likewise.
17209         [POSIX || POSIX2008] (VSTATUS): Likewise.
17210         [POSIX || POSIX2008] (VWERASE): Likewise.
17211         (B*): Change to B[0123456789]*.
17212         * conform/data/time.h-data [POSIX || UNIX98]
17213         (CLOCK_PROCESS_CPUTIME_ID): Do not expect constant.
17214         [POSIX || UNIX98] (CLOCK_THREAD_CPUTIME_ID): Likewise.
17215         [POSIX || UNIX98] (CLOCK_MONOTONIC): Likewise.
17216         [POSIX] (tm_*): Do not allow.
17218 2014-06-07  Joseph Myers  <joseph@codesourcery.com>
17220         * Makefile (install): Don't set LANGUAGE.
17221         * Makefile.in (install): Likewise.
17222         * assert/Makefile (test-assert-ENV): Remove variable.
17223         (test-assert-perr-ENV): Likewise.
17224         * elf/Makefile (neededtest4-ENV): Likewise.
17225         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
17226         [$(cross-compiling) = no]: Don't set LANGUAGE.
17227         * io/ftwtest-sh (LANG): Remove variable.
17228         * libio/Makefile (tst-widetext-ENV): Likewise.
17229         * manual/install.texi (Running make install): Don't refer to
17230         environment settings for make install.
17231         * INSTALL: Regenerated.
17232         * nptl/tst-tls6.sh: Don't set LANG.
17233         * posix/globtest.sh (LANG): Remove variable.
17234         * string/Makefile (tester-ENV): Likewise.
17235         (inl-tester-ENV): Likewise.
17236         (noinl-tester-ENV): Likewise.
17237         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
17238         [$(cross-compiling) = no]: Don't set LANGUAGE.
17239         * timezone/Makefile (build-testdata): Use $(built-program-cmd)
17240         without explicit environment settings.
17242 2014-06-06  Roland McGrath  <roland@hack.frob.com>
17244         * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h: Moved ...
17245         * sysdeps/sh/nptl/bits/pthreadtypes.h: ... here.
17246         * nptl/sysdeps/unix/sysv/linux/sh/bits/semaphore.h: Moved ...
17247         * sysdeps/sh/nptl/bits/semaphore.h: ... here.
17249 2014-06-06  Chris Metcalf  <cmetcalf@tilera.com>
17251         * crypt/crypt-private.h [DOS]: Add some includes taken from the
17252         other files in the crypt directory.
17253         * crypt/crypt.c: Remove duplicate includes.
17254         * crypt/crypt-entry.c: Likewise.
17255         * crypt/crypt_util.c: Likewise.
17257 2014-06-06  Joseph Myers  <joseph@codesourcery.com>
17259         * Makeconfig (run-program-env): New variable.
17260         (run-program-prefix-before-env): Likewise.
17261         (run-program-prefix-after-env): Likewise.
17262         (run-program-prefix): Define in terms of new variables.
17263         (built-program-cmd-before-env): New variable.
17264         (built-program-cmd-after-env): Likewise.
17265         (built-program-cmd): Define in terms of new variables.
17266         (test-program-prefix-before-env): New variable.
17267         (test-program-prefix-after-env): Likewise.
17268         (test-program-prefix): Define in terms of new variables.
17269         (test-program-cmd-before-env): New variable.
17270         (test-program-cmd-after-env): Likewise.
17271         (test-program-cmd): Define in terms of new variables.
17272         * Rules (make-test-out): Use $(run-program-env).
17273         * scripts/cross-test-ssh.sh (env_blacklist): Remove variable.
17274         (help): Do not mention environment variables.  Mention
17275         --timeoutfactor option.
17276         (timeoutfactor): New variable.
17277         (blacklist_exports): Remove function.
17278         (exports): Remove variable.
17279         (command): Do not include ${exports}.
17280         * manual/install.texi (Configuring and compiling): Do not mention
17281         test wrappers preserving environment variables.  Mention that last
17282         assignment to a variable must take precedence.
17283         * INSTALL: Regenerated.
17284         * benchtests/Makefile (run-bench): Use $(run-program-env).
17285         * catgets/Makefile ($(objpfx)test1.cat): Use
17286         $(built-program-cmd-before-env), $(run-program-env) and
17287         $(built-program-cmd-after-env).
17288         ($(objpfx)test2.cat): Do not specify environment variables
17289         explicitly.
17290         ($(objpfx)de/libc.cat): Use $(built-program-cmd-before-env),
17291         $(run-program-env) and $(built-program-cmd-after-env).
17292         ($(objpfx)test-gencat.out): Use $(test-program-cmd-before-env),
17293         $(run-program-env) and $(test-program-cmd-after-env).
17294         ($(objpfx)sample.SJIS.cat): Do not specify environment variables
17295         explicitly.
17296         * catgets/test-gencat.sh: Use test_program_cmd_before_env,
17297         run_program_env and test_program_cmd_after_env arguments.
17298         * elf/Makefile ($(objpfx)tst-pathopt.out): Use $(run-program-env).
17299         * elf/tst-pathopt.sh: Use run_program_env argument.
17300         * iconvdata/Makefile ($(objpfx)iconv-test.out): Use
17301         $(test-wrapper-env) and $(run-program-env).
17302         * iconvdata/run-iconv-test.sh: Use test_wrapper_env and
17303         run_program_env arguments.
17304         * iconvdata/tst-table.sh: Do not set GCONV_PATH explicitly.
17305         * intl/Makefile ($(objpfx)tst-gettext.out): Use
17306         $(test-program-prefix-before-env), $(run-program-env) and
17307         $(test-program-prefix-after-env).
17308         ($(objpfx)tst-gettext2.out): Likewise.
17309         * intl/tst-gettext.sh: Use test_program_prefix_before_env,
17310         run_program_env and test_program_prefix_after_env arguments.
17311         * intl/tst-gettext2.sh: Likewise.
17312         * intl/tst-gettext4.sh: Do not set environment variables
17313         explicitly.
17314         * intl/tst-gettext6.sh: Likewise.
17315         * intl/tst-translit.sh: Likewise.
17316         * malloc/Makefile ($(objpfx)tst-mtrace.out): Use
17317         $(test-program-prefix-before-env), $(run-program-env) and
17318         $(test-program-prefix-after-env).
17319         * malloc/tst-mtrace.sh: Use test_program_prefix_before_env,
17320         run_program_env and test_program_prefix_after_env arguments.
17321         * math/Makefile (run-regen-ulps): Use $(run-program-env).
17322         * nptl/Makefile ($(objpfx)tst-tls6.out): Use $(run-program-env).
17323         * nptl/tst-tls6.sh: Use run_program_env argument.  Set LANG=C
17324         explicitly with each use of ${test_wrapper_env}.
17325         * posix/Makefile ($(objpfx)wordexp-tst.out): Use
17326         $(test-program-prefix-before-env), $(run-program-env) and
17327         $(test-program-prefix-after-env).
17328         * posix/tst-getconf.sh: Do not set environment variables
17329         explicitly.
17330         * posix/wordexp-tst.sh: Use test_program_prefix_before_env,
17331         run_program_env and test_program_prefix_after_env arguments.
17332         * stdio-common/tst-printf.sh: Do not set environment variables
17333         explicitly.
17334         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Use
17335         $(test-program-prefix-before-env), $(run-program-env) and
17336         $(test-program-prefix-after-env).
17337         * stdlib/tst-fmtmsg.sh: Use test_program_prefix_before_env,
17338         run_program_env and test_program_prefix_after_env arguments.
17339         Split $test calls into $test_pre and $test.
17340         * timezone/Makefile (build-testdata): Use
17341         $(built-program-cmd-before-env), $(run-program-env) and
17342         $(built-program-cmd-after-env).
17344 2014-06-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17346         * sysdeps/powerpc/powerpc64/power7/strncat.S [STRLEN]: Define it as
17347         strlen for non SHARED builds.
17349 2014-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
17351         * nptl/allocatestack.c (check_list): Inlined function...
17352         (__reclaim_stacks): ... here.
17354 2014-06-05  Ondřej Bílka  <neleai@seznam.cz>
17356         [BZ #15698]
17357         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
17358         memory overrun.
17360 2014-06-05  Joseph Myers  <joseph@codesourcery.com>
17362         * Rules (make-test-out): Include
17363         LOCPATH=$(common-objpfx)localedata in default environment.
17364         * debug/Makefile (tst-chk1-ENV): Remove variable.
17365         (tst-chk2-ENV): Likewise.
17366         (tst-chk3-ENV): Likewise.
17367         (tst-chk4-ENV): Likewise.
17368         (tst-chk5-ENV): Likewise.
17369         (tst-chk6-ENV): Likewise.
17370         (tst-lfschk1-ENV): Likewise.
17371         (tst-lfschk2-ENV): Likewise.
17372         (tst-lfschk3-ENV): Likewise.
17373         (tst-lfschk4-ENV): Likewise.
17374         (tst-lfschk5-ENV): Likewise.
17375         (tst-lfschk6-ENV): Likewise.
17376         * iconvdata/Makefile (bug-iconv6-ENV): Likewise.
17377         (tst-iconv7-ENV): Likewise.
17378         * intl/Makefile (LOCPATH-ENV): Likewise.
17379         (tst-codeset-ENV): Likewise.
17380         (tst-gettext3-ENV): Likewise.
17381         (tst-gettext5-ENV): Likewise.
17382         * libio/Makefile (tst-widetext-ENV): Don't set LOCPATH.
17383         (tst-fopenloc-ENV): Likewise.
17384         (tst-fgetws-ENV): Remove variable.
17385         (tst-ungetwc1-ENV): Likewise.
17386         (tst-ungetwc2-ENV): Likewise.
17387         (bug-ungetwc2-ENV): Likewise.
17388         (tst-swscanf-ENV): Likewise.
17389         (bug-ftell-ENV): Likewise.
17390         (tst-fgetwc-ENV): Likewise.
17391         (tst-fseek-ENV): Likewise.
17392         (tst-ftell-partial-wide-ENV): Likewise.
17393         (tst-ftell-active-handler-ENV): Likewise.
17394         (tst-ftell-append-ENV): Likewise.
17395         * posix/Makefile (tst-fnmatch-ENV): Likewise.
17396         (tst-regexloc-ENV): Likewise.
17397         (bug-regex1-ENV): Likewise.
17398         (tst-regex-ENV): Likewise.
17399         (tst-regex2-ENV): Likewise.
17400         (bug-regex5-ENV): Likewise.
17401         (bug-regex6-ENV): Likewise.
17402         (bug-regex17-ENV): Likewise.
17403         (bug-regex18-ENV): Likewise.
17404         (bug-regex19-ENV): Likewise.
17405         (bug-regex20-ENV): Likewise.
17406         (bug-regex22-ENV): Likewise.
17407         (bug-regex23-ENV): Likewise.
17408         (bug-regex25-ENV): Likewise.
17409         (bug-regex26-ENV): Likewise.
17410         (bug-regex30-ENV): Likewise.
17411         (bug-regex32-ENV): Likewise.
17412         (bug-regex33-ENV): Likewise.
17413         (bug-regex34-ENV): Likewise.
17414         (bug-regex35-ENV): Likewise.
17415         (tst-rxspencer-ENV): Likewise.
17416         (tst-rxspencer-no-utf8-ENV): Likewise.
17417         * stdio-common/Makefile (tst-sprintf-ENV): Likewise.
17418         (tst-sscanf-ENV): Likewise.
17419         (tst-swprintf-ENV): Likewise.
17420         (tst-swscanf-ENV): Likewise.
17421         (test-vfprintf-ENV): Likewise.
17422         (scanf13-ENV): Likewise.
17423         (bug14-ENV): Likewise.
17424         (tst-grouping-ENV): Likewise.
17425         * stdlib/Makefile (tst-strtod-ENV): Likewise.
17426         (tst-strtod3-ENV): Likewise.
17427         (tst-strtod4-ENV): Likewise.
17428         (tst-strtod5-ENV): Likewise.
17429         (testmb2-ENV): Likewise./
17430         * string/Makefile (tst-strxfrm-ENV): Likewise.
17431         (tst-strxfrm2-ENV): Likewise.
17432         (bug-strcoll1-ENV): Likewise.
17433         (test-strcasecmp-ENV): Likewise.
17434         (test-strncasecmp-ENV): Likewise.
17435         * time/Makefile (tst-strptime-ENV): Likewise.
17436         (tst-ftime_l-ENV): Likewise.
17437         * wcsmbs/Makefile (tst-btowc-ENV): Likewise.
17438         (tst-mbrtowc-ENV): Likewise.
17439         (tst-wcrtomb-ENV): Likewise.
17440         (tst-mbrtowc2-ENV): Likewise.
17441         (tst-c16c32-1-ENV): Likewise.
17442         (tst-mbsnrtowcs-ENV): Likewise.
17444 2014-06-05  Ondřej Bílka  <neleai@seznam.cz>
17446         * manual/resource.texi (How to get information about the memory
17447         subsystem?): Fix typo.
17448         Reported by Peon de la Parra Ivan <peon@keba.com>
17450 2014-06-03  Guo Yixuan  <culu.gyx@gmail.com>
17452         [BZ #16882]
17453         * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S
17454         (pthread_spin_lock): Branch out of spin loop to proper location.
17455         * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S
17456         (pthread_spin_lock): Likewise.
17458         * nptl/tst-spin4.c: New test.
17459         * nptl/Makefile (tests): Add tst-spin4.
17461 2014-06-03  Andreas Schwab  <schwab@suse.de>
17463         [BZ #15946]
17464         * resolv/res_send.c (send_dg): Reload file descriptor after
17465         calling reopen.
17467 2014-06-03  Stefan Liebler  <stli@linux.vnet.ibm.com>
17469         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
17471 2014-06-03  Richard Henderson  <rth@redhat.com>
17473         * sysdeps/unix/sysv/linux/aarch64/pt-vfork.c: New file.
17474         * sysdeps/unix/sysv/linux/aarch64/nptl/pt-vfork.S: Remove file.
17475         * sysdeps/unix/sysv/linux/aarch64/vfork.S (__vfork): Incorporate
17476         SAVE_PID and RESTORE_PID blocks from pt-vfork.S.  Map 0 to INT_MIN
17477         in the SAVE_PID block.
17478         (__libc_vfork): New alias.
17479         * sysdeps/unix/sysv/linux/aarch64/nptl/vfork.S: Remove file.
17481         * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Save args for
17482         child in registers, not on the stack.  Remove RESET_PID conditionals.
17483         * sysdeps/unix/sysv/linux/aarch64/nptl/clone.S: Remove file.
17485 2014-06-03  Marcus Shawcroft  <marcus.shawcroft@arm.com>
17487         * sysdeps/aarch64/libm-test-ulps: Regenerate.
17489 2014-06-03  Wilco  <wdijkstr@arm.com>
17491         * sysdeps/aarch64/fpu/math_private.h (libc_fesetround_aarch64)
17492         (libc_feholdexcept_setround_aarch64) (libc_feholdsetround_aarch64)
17493         (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
17494         Use _FPU_FPCR_RM_MASK for rounding mask rather than FE_TOWARDZERO.
17495         * sysdeps/aarch64/fpu/get-rounding-mode.h (get_rounding_mode):
17496         Likewise.
17498 2014-06-03  Wilco  <wdijkstr@arm.com>
17500         * sysdeps/aarch64/fpu/math_private.h
17501         (libc_feholdexcept_aarch64) (libc_feholdexcept_setround_aarch64)
17502         (libc_fetestexcept_aarch64) (libc_fesetenv_aarch64)
17503         (libc_feupdateenv_test_aarch64) (libc_feholdsetround_aarch64)
17504         (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
17505         Fix declarations.
17507 2014-06-03  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
17509         * crypt/crypt-private.h: Include ufc-crypt.h.
17510         (__b64_from_24bit): Declare extern.
17511         * crypt/crypt_util.c(__b64_from_24bit): New function.
17512         (b64t): New static const variable.
17513         * crypt/md5-crypt.c (b64_from_24bit): Remove function.
17514         (b64t): Remove variable.
17515         (__md5_crypt_r): Replace b64_from_24bit with __b64_from_24bit.
17516         * crypt/sha256-crypt.c: Include crypt-private.h.
17517         (b64t): Remove variable.
17518         (__sha256_crypt_r): Remove b64_from_24bit and replace
17519         with __b64_from_24bit.
17520         * crypt/sha512-crypt.c: Likewise.
17522 2014-06-02  Roland McGrath  <roland@hack.frob.com>
17524         * nptl/sysdeps/unix/sysv/linux/sh/vfork.S: Moved ...
17525         * sysdeps/unix/sysv/linux/sh/vfork.S: ... here.
17526         Label the code __libc_vfork rather than __vfork.
17527         [!NOT_IN_libc] (vfork): Define as weak alias.
17528         [!NOT_IN_libc] (__vfork): Define as strong alias, and libc_hidden_def.
17529         * sysdeps/unix/sysv/linux/sh/pt-vfork.S: New file.
17530         * nptl/sysdeps/unix/sysv/linux/sh/pt-vfork.S: File removed.
17532 2014-06-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
17534         * malloc/malloc.c (malloc_info): Fix format specifier for
17535         n_mmaps.
17537 2014-06-02  Wilco  <wdijkstr@arm.com>
17539         * sysdeps/aarch64/fpu/fpu_control.h (_FPU_SETCW): Remove ISB after
17540         FPCR write.
17542 2014-06-02  Wilco  <wdijkstr@arm.com>
17544         [BZ #17009]
17545         * sysdeps/aarch64/fpu/feupdateenv (feupdateenv):
17546         Rewrite to reduce FPCR/FPSR accesses.
17548 2014-06-01  David S. Miller  <davem@davemloft.net>
17550         * sysdeps/sparc/fpu/libm-test-ulps: Update.
17552 2014-05-31  David S. Miller  <davem@davemloft.net>
17554         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Force computations
17555         to occur in round to nearest mode when |x| >= 2.0
17557 2014-05-30  Richard Henderson  <rth@twiddle.net>
17559         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Remove.
17560         (PSEUDO_RET_NOERRNO): Remove.
17561         (ret): Don't redefine.
17562         (ret_NOERRNO): Define in terms of ret.
17563         (ret_ERRVAL): Likewise.
17565         * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Remove the
17566         use of PSEUDO_RET; perform the error check directly.
17568 2014-05-30 Marko Myllynen  <myllynen@redhat.com>
17570         * sysdeps/x86_64/link-defines.sym (BND_SIZE): Replace __int128
17571         with __int128_t.
17573 2014-05-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
17575         * malloc/malloc (malloc_info): Fix formatting.
17577 2014-05-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
17578             Roland McGrath  <roland@hack.frob.com>
17580         * malloc/malloc (malloc_info): Also print mmapped statistics.
17582 2014-05-30  Roland McGrath  <roland@hack.frob.com>
17584         * sysdeps/unix/sysv/linux/m68k/arch-fork.h: New file.
17585         * sysdeps/unix/sysv/linux/m68k/nptl/fork.c: File removed.
17587 2014-05-30  Ondřej Bílka  <neleai@seznam.cz>
17589         * malloc/malloc.c (malloc_info): Inline mi_arena.
17591 2014-05-29  Richard Henderson  <rth@twiddle.net>
17593         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INTERNAL_VSYSCALL_NCS):
17594         Remove comma before expanding ASM_ARGS_##nr.
17595         (INTERNAL_SYSCALL_RAW): Make _sys_result signed, instead of casting.
17596         Make _x0 a strict output; make _x8 a strict input; adjust expansion
17597         of ASM_ARGS_##nr.
17598         (CLOBBER_ARGS_0, CLOBBER_ARGS_1, CLOBBER_ARGS_2): Remove.
17599         (CLOBBER_ARGS_3, CLOBBER_ARGS_4, CLOBBER_ARGS_5): Remove.
17600         (CLOBBER_ARGS_6, CLOBBER_ARGS_7): Remove.
17601         (ASM_ARGS_1): Add leading comma.
17603         * sysdeps/unix/sysv/linux/aarch64/sysdep.h [NOT_IN_libc]
17604         (SYSCALL_ERROR_HANDLER): Use tpidr_el0 instead of a call
17605         to __errno_location.
17606         * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data (libpthread.so):
17607         Remove the expected plt for __errno_location.
17609         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
17610         [NOT_IN_libc] (SINGLE_THREAD_P): Use tpidr_el0 instead of a
17611         call to __read_tp.
17613         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
17614         Always allocate 64 bytes of stack frame.  Use ldp/stp to create
17615         it and break it down.
17616         (DOCARGS_0, DOCARGS_1): Do nothing.
17617         (DOCARGS_2): Update to store into the new stack frame.
17618         (DOCARGS_3, DOCARGS_4, DOCARGS_5, DOCARGS_6): Likewise.
17619         (UNDOCARGS_1): Update to restore from the new stack frame.
17620         (UNDOCARGS_2, UNDOCARGS_3, UNDOCARGS_4): Likewise.
17621         (UNDOCARGS_5, UNDOCARGS_6): Likewise.
17623         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
17624         (SINGLE_THREAD_P): New parameter for result regno.
17625         (PSEUDO): Update to match; use cbz instead of beq.
17627         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
17628         Use ENTRY to define the _nocancel entry point.  Share the syscall
17629         and syscall error check paths with the cancel path.
17630         (PSEUDO_END): New.
17632         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Adjust
17633         whitespace; tabs before and after asm mnemonics.
17635 2014-05-29  Eric Wong  <normalperson@yhbt.net>
17637         [BZ #15132]
17638         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
17639         Call fstat64 or stat64 internally, depending on arguments passed.
17640         Replace stat buffer argument with file descriptor argument.
17641         (INTERNAL_STATVFS): Update arguments to match __statvfs_getflags.
17642         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
17643         Pass fd to __internal_statvfs instead of calling fstat64.
17644         * sysdeps/unix/sysv/linux/fstatvfs64.c (__fstatvfs64):
17645         Pass fd to __internal_statvfs64 instead of calling fstat64.
17646         * sysdeps/unix/sysv/linux/statvfs.c (statvfs):
17647         Pass -1 to __internal_statvfs instead of calling stat64.
17648         * sysdeps/unix/sysv/linux/statvfs64.c (__statvfs64):
17649         Pass -1 to __internal_statvfs64 instead of calling stat64.
17651 2014-05-28  Roland McGrath  <roland@hack.frob.com>
17653         * sysdeps/unix/sysv/linux/sh/clone.S: Deconditionalize the code
17654         that was previously under [RESET_PID].
17655         * nptl/sysdeps/unix/sysv/linux/sh/clone.S: File removed.
17657         * sysdeps/unix/sysv/linux/tile/arch-fork.h: New file.
17658         * sysdeps/unix/sysv/linux/tile/nptl/fork.c: File removed.
17660 2014-05-27  Roland McGrath  <roland@hack.frob.com>
17662         * sysdeps/unix/sysv/linux/ia64/arch-fork.h: New file.
17664         * sysdeps/unix/sysv/linux/sh/arch-fork.h: New file.
17665         * nptl/sysdeps/unix/sysv/linux/sh/fork.c: File removed.
17667 2014-05-27  Ondřej Bílka  <neleai@seznam.cz>
17669         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate code.
17671 2014-05-27  Andreas Schwab  <schwab@suse.de>
17673         * csu/libc-tls.c (__libc_setup_tls): Remove second argument from
17674         TLS_INIT_TP macro.
17675         * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
17676         * elf/rtld.c (init_tls, dl_main): Likewise.
17677         * nptl/sysdeps/i386/tls.h (TLS_INIT_TP): Likewise.
17678         * nptl/sysdeps/powerpc/tls.h (TLS_INIT_TP): Likewise.
17679         * nptl/sysdeps/s390/tls.h (TLS_INIT_TP): Likewise.
17680         * nptl/sysdeps/sh/tls.h (TLS_INIT_TP): Likewise.
17681         * nptl/sysdeps/sparc/tls.h (TLS_INIT_TP): Likewise.
17682         * nptl/sysdeps/x86_64/tls.h (TLS_INIT_TP): Likewise.
17683         * sysdeps/aarch64/nptl/tls.h (TLS_INIT_TP): Likewise.
17684         * sysdeps/alpha/nptl/tls.h (TLS_INIT_TP): Likewise.
17685         * sysdeps/arm/nptl/tls.h (TLS_INIT_TP): Likewise.
17686         * sysdeps/hppa/nptl/tls.h (TLS_INIT_TP): Likewise.
17687         * sysdeps/ia64/nptl/tls.h (TLS_INIT_TP): Likewise.
17688         * sysdeps/m68k/nptl/tls.h (TLS_INIT_TP): Likewise.
17689         * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Likewise.
17690         * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Likewise.
17691         * sysdeps/mips/nptl/tls.h (TLS_INIT_TP): Likewise.
17692         * sysdeps/tile/nptl/tls.h (TLS_INIT_TP): Likewise.
17693         * sysdeps/generic/tls.h: Update description.
17695 2014-05-27  Will Newton  <will.newton@linaro.org>
17697         [BZ #16990]
17698         * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save
17699         and restore r2 rather than just restoring.
17701 2014-05-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
17703         [BZ #16724]
17704         * libio/tst-ftell-append.c: New test case.
17705         * libio/Makefile (tests): Add test case.
17706         * libio/fileops.c (do_ftell): Don't trust _IO_read_end when in
17707         append mode.
17708         * libio/wfileops.c (do_ftell_wide): Likewise.
17710 2014-05-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17712         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17714         * nptl/sysdeps/unix/sysv/linux/powerpc/Versions: Remove, merge into
17715         ...
17716         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions: ... here.
17717         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
17718         * nptl/sysdeps/unix/sysv/linux/powerpc/Makefile: Moved rules to ...
17719         * sysdeps/unix/sysv/linux/powerpc/Makefile: ... here.
17720         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: Moved ...
17721         * sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: ... here.
17722         * nptl/sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Moved ...
17723         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: ...here.
17724         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
17725         Moved ...
17726         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: ... here.
17727         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
17728         Moved ...
17729         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: ... here.
17730         * nptl/sysdeps/unix/sysv/linux/powerpc/createthread.c: Moved ...
17731         * sysdeps/unix/sysv/linux/powerpc/createthread.c: ... here.
17732         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Moved ...
17733         * sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: ... here.
17734         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: Moved
17735         ...
17736         * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: ... here.
17737         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c:
17738         Moved ...
17739         * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c: ...
17740         here.
17741         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Moved
17742         ...
17743         * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: ... here.
17744         * nptl/sysdeps/unix/sysv/linux/powerpc/sem_post.c: Moved ...
17745         * sysdeps/unix/sysv/linux/powerpc/sem_post.c: ... here.
17747         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Moved ...
17748         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: ... here.
17749         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: Moved ...
17750         * sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: ... here.
17752         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Remove,
17753         merge into ...
17754         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: ... here.
17755         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: Moved
17756         ...
17757         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: ... here.
17758         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: Moved
17759         ...
17760         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: ... here.
17761         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
17762         Moved ...
17763         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c: ...
17764         here.
17765         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
17766         Moved ...
17767         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c: ... here.
17768         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
17769         Moved ...
17770         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c: ... here.
17772         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Remove
17773         conditional [RESET_PID].
17774         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
17775         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: File
17776         removed.
17777         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: File
17778         removed.
17780         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Include
17781         <tcb-offsets.h>.
17782         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
17783         (__libc_vfork): New strong alias.
17784         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/pt-vfork.S: File
17785         removed.
17786         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: File
17787         Removed.
17789         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Include
17790         <tcb-offsets.h>.
17791         (__vfork): Incorporate save/retore of PID from nptl/vfork.S here.
17792         (__libc_vfork): New strong alias.
17793         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/pt-vfork.S: File
17794         removed.
17795         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: File
17796         removed.
17798 2014-05-26  Carlos O'Donell  <carlos@redhat.com>
17800         * malloc/malloc.c (mi_arena): New function.
17801         (malloc_info): Remove nested function mi_arena. Call non-nosted
17802         function mi_arena.
17804 2014-05-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17806         * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Replace insrdi
17807         by insrwi.
17808         * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
17809         * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
17810         * sysdeps/powerpc/powerpc32/power7/memchr.S (memchr): Likewise.
17811         * sysdeps/powerpc/powerpc32/power7/memrchr.S (memrchr): Likewise.
17812         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S (rawmemchr): Likewise.
17813         * sysdeps/powerpc/powerpc32/power7/strchr.S (strchr): Likewise.
17814         * sysdeps/powerpc/powerpc32/power7/strchrnul.S (strchrnul): Likewise.
17816 2014-05-26  Andreas Schwab  <schwab@suse.de>
17818         [BZ #16984]
17819         * locale/programs/repertoire.c (repertoire_read): Add slash
17820         between I18NPATH element and file name.
17821         * locale/programs/locfile.c (locfile_read): Likewise.
17823 2014-05-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
17825         * nptl/pthread_mutexattr_settype.c
17826         (__pthread_mutexattr_settype):
17827         Disable lock elision for PTHREAD_MUTEX_NORMAL.
17829 2014-05-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
17831         * nptl/tst-mutex5 (do_test):
17832         Use #ifndef ENABLE_LOCK_ELISION instead of #ifdef.
17834 2014-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
17836         * benchtests/README: Document 'init' directive.
17837         * benchtests/bench-skeleton.c (main) [BENCH_INIT]: Call
17838         BENCH_INIT.
17839         * scripts/bench.py (gen_source): Define BENCH_INIT macro.
17840         (parse_file): Recognize 'init' directive.
17842 2014-05-26  Kyle McMartin  <kyle@redhat.com>
17844         [BZ #16796]
17845         * sysdeps/aarch64/nptl/tls.h: increase TCB alignment to the
17846         alignment of struct pthread.
17848 2014-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
17850         [BZ #16878]
17851         * nscd/netgroupcache.c (addgetnetgrentX): Look for
17852         NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
17853         * nscd/nss_files/files-netgrp.c (_nss_netgroup_parseline): Use
17854         NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
17856 2014-05-25  Richard Henderson  <rth@twiddle.net>
17858         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
17859         (SINGLE_THREAD_P_PIC): Remove.
17860         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h
17861         (SINGLE_THREAD_P_PIC): Remove.
17863         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Move
17864         branch to syscall error ...
17865         (PSEUDO): ... here.
17866         [NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Rename the label
17867         from __local_syscall_error to .Lsyscall_error.
17868         [!NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Branch to __syscall_error.
17869         (SYSCALL_ERROR): Update label name.
17871         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
17872         Do not use DOARGS/UNDOARGS.
17873         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Likewise.
17874         (DOARGS_0, DOARGS_1, DOARGS_2, DOARGS_3): Remove.
17875         (DOARGS_4, DOARGS_5, DOARGS_6, DOARGS_7): Remove.
17876         (UNDOARGS_0, UNDOARGS_1, UNDOARGS_2, UNDOARGS_3): Remove.
17877         (UNDOARGS_4, UNDOARGS_5, UNDOARGS_6, UNDOARGS_7): Remove.
17879         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Fix
17880         block comment.
17882         * sysdeps/unix/sysv/linux/alpha/vfork.S (vfork, __vfork): Only
17883         define if !NOT_IN_libc.
17884         * sysdeps/unix/sysv/linux/alpha/pt-vfork.S (vfork, __vfork): Only
17885         define with non-default symbol versions.
17887 2014-05-23  Richard Henderson  <rth@twiddle.net>
17889         * nptl/pt-vfork.c (vfork_resolve): Rename from vfork_ifunc.
17890         (vfork, __vfork): Define via compat_symbol.
17892         * nptl/pt-vfork.c: Error if !HAVE_IFUNC.
17893         [!HAVE_IFUNC] (vfork_compat): Remove.
17894         [!HAVE_IFUNC] (DEFINE_VFORK): Remove.
17896 2014-05-23  Joseph Myers  <joseph@codesourcery.com>
17898         [BZ #16978]
17899         * posix/tar.h [!__USE_XOPEN2K] (TSVTX): Define macro.
17900         * conform/Makefile (test-xfail-POSIX/tar.h/conform): Remove
17901         variable.
17903 2014-05-23  Richard Henderson  <rth@twiddle.net>
17905         * sysdeps/unix/sysv/linux/alpha/nptl/Makefile: Merge into...
17906         * sysdeps/unix/sysv/linux/alpha/Makefile: ... here.
17907         * sysdeps/unix/sysv/linux/alpha/nptl/Versions: Merge into...
17908         * sysdeps/unix/sysv/linux/alpha/Versions: ... here.
17910         * sysdeps/unix/sysv/linux/alpha/nptl/aio_cancel.c: Moved ...
17911         * sysdeps/unix/sysv/linux/alpha/aio_cancel.c: ... here.
17912         * sysdeps/unix/sysv/linux/alpha/nptl/bits/local_lim.h: Moved ...
17913         * sysdeps/unix/sysv/linux/alpha/bits/local_lim.h: ... here.
17914         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h: Moved ...
17915         * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h: ... here.
17916         * sysdeps/unix/sysv/linux/alpha/nptl/bits/semaphore.h: Moved ...
17917         * sysdeps/unix/sysv/linux/alpha/bits/semaphore.h: ... here.
17918         * sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data: Moved ...
17919         * sysdeps/unix/sysv/linux/alpha/c++-types.data: ... here.
17920         * sysdeps/unix/sysv/linux/alpha/nptl/createthread.c: Moved ...
17921         * sysdeps/unix/sysv/linux/alpha/createthread.c: ... here.
17922         * sysdeps/unix/sysv/linux/alpha/nptl/ld.abilist: Moved ...
17923         * sysdeps/unix/sysv/linux/alpha/ld.abilist: ... here.
17924         * sysdeps/unix/sysv/linux/alpha/nptl/libBrokenLocale.abilist: Moved ...
17925         * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: ... here.
17926         * sysdeps/unix/sysv/linux/alpha/nptl/libanl.abilist: Moved ...
17927         * sysdeps/unix/sysv/linux/alpha/libanl.abilist: ... here.
17928         * sysdeps/unix/sysv/linux/alpha/nptl/libc.abilist: Moved ...
17929         * sysdeps/unix/sysv/linux/alpha/libc.abilist: ... here.
17930         * sysdeps/unix/sysv/linux/alpha/nptl/libcrypt.abilist: Moved ...
17931         * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: ... here.
17932         * sysdeps/unix/sysv/linux/alpha/nptl/libdl.abilist: Moved ...
17933         * sysdeps/unix/sysv/linux/alpha/libdl.abilist: ... here.
17934         * sysdeps/unix/sysv/linux/alpha/nptl/libm.abilist: Moved ...
17935         * sysdeps/unix/sysv/linux/alpha/libm.abilist: ... here.
17936         * sysdeps/unix/sysv/linux/alpha/nptl/libnsl.abilist: Moved ...
17937         * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: ... here.
17938         * sysdeps/unix/sysv/linux/alpha/nptl/libpthread.abilist: Moved ...
17939         * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: ... here.
17940         * sysdeps/unix/sysv/linux/alpha/nptl/libresolv.abilist: Moved ...
17941         * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: ... here.
17942         * sysdeps/unix/sysv/linux/alpha/nptl/librt.abilist: Moved ...
17943         * sysdeps/unix/sysv/linux/alpha/librt.abilist: ... here.
17944         * sysdeps/unix/sysv/linux/alpha/nptl/libthread_db.abilist: Moved ...
17945         * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: ... here.
17946         * sysdeps/unix/sysv/linux/alpha/nptl/libutil.abilist: Moved ...
17947         * sysdeps/unix/sysv/linux/alpha/libutil.abilist: ... here.
17948         * sysdeps/unix/sysv/linux/alpha/nptl/localplt.data: Moved ...
17949         * sysdeps/unix/sysv/linux/alpha/localplt.data: ... here.
17950         * sysdeps/unix/sysv/linux/alpha/nptl/lowlevellock.h: Moved ...
17951         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: ... here.
17952         * sysdeps/unix/sysv/linux/alpha/nptl/sem_post.c: Moved ...
17953         * sysdeps/unix/sysv/linux/alpha/sem_post.c: ... here.
17954         * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h: Moved ...
17955         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: ... here.
17956         * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Moved ...
17957         * sysdeps/unix/sysv/linux/alpha/timer_create.c: ... here.
17958         * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Moved ...
17959         * sysdeps/unix/sysv/linux/alpha/timer_delete.c: ... here.
17960         * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Moved ...
17961         * sysdeps/unix/sysv/linux/alpha/timer_getoverr.c: ... here.
17962         * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Moved ...
17963         * sysdeps/unix/sysv/linux/alpha/timer_gettime.c: ... here.
17964         * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Moved ...
17965         * sysdeps/unix/sysv/linux/alpha/timer_settime.c: ... here.
17967         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove vfork.
17968         * sysdeps/unix/sysv/linux/alpha/nptl/vfork.S: Move file ...
17969         * sysdeps/unix/sysv/linux/alpha/vfork.S: ... here.  Restore PID
17970         before exiting on error.
17971         (__libc_vfork): New strong alias.
17972         * sysdeps/unix/sysv/linux/alpha/nptl/pt-vfork.S: Remove file.
17973         * sysdeps/unix/sysv/linux/alpha/pt-vfork.S: New file.
17975         * sysdeps/unix/sysv/linux/alpha/clone.S: Deconditionalize the code
17976         that was previously under [RESET_PID].
17977         * sysdeps/unix/sysv/linux/alpha/nptl/clone.S: File removed.
17979         * sysdeps/unix/sysv/linux/alpha/nptl/fork.c: Remove file.
17981 2014-05-23  Joseph Myers  <joseph@codesourcery.com>
17983         [BZ #16977]
17984         * sysdeps/i386/fpu/e_log10.S (__ieee754_log10): Take absolute
17985         value when x - 1 is zero.
17986         * sysdeps/i386/fpu/e_log10f.S (__ieee754_log10f): Likewise.
17987         * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Likewise.
17988         * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Return
17989         0.0L for an argument of 1.0L.
17990         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l):
17991         Likewise.
17992         * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Take absolute
17993         value when x - 1 is zero.
17994         * math/libm-test.inc (log10_test): Use ALL_RM_TEST.
17995         * sysdeps/i386/fpu/libm-test-ulps: Update.
17996         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17998 2014-05-23  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
18000         * manual/filesys.texi (Scanning Directory Content): Fix prototype of
18001         alphasort and versionsort.
18003 2014-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18005         * sysdeps/powerpc/fpu/math_private.h [copysign]: Remove unneeded
18006         macro.
18007         [copysignf]: Likewise.
18009 2014-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
18011         * crypt/md5-crypt.c: Fix formatting.
18013 2014-05-22  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
18015         * crypt/md5-crypt.c (__md5_crypt_r): Remove a nested function.
18016         (b64_from_24bit): New function.
18018 2014-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18020         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c (memchr): Remove
18021         libc_hidden_builtin_def to ifunc.
18022         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
18023         [libc_hidden_builtin_def]: Define hidden definition to __memchr_ppc32.
18025 2014-05-21  Roland McGrath  <roland@hack.frob.com>
18027         * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: New file.
18028         * sysdeps/unix/sysv/linux/aarch64/nptl/fork.c: File removed.
18030 2014-05-21  Joseph Myers  <joseph@codesourcery.com>
18032         * nscd/Depend (linuxthreads): Remove.
18033         (nptl): Add.
18034         * resolv/Depend (linuxthreads): Remove.
18035         * rt/Depend (linuxthreads): Remove.
18037         * Makeconfig [$(build-hardcoded-path-in-tests) = yes]
18038         (rtld-tests-LDFLAGS): Use $(elf-objpfx) instead of
18039         $(common-objpfx)elf/.
18040         (link-libc-before-gnulib): Likewise.
18041         (elfobjdir): Remove variable.
18042         * Makefile (install): Use $(elf-objpfx) instead of
18043         $(common-objpfx)elf/.
18044         * Makerules (link-libc-args): Use $(elf-objpfx) instead of
18045         $(elfobjdir)/.
18046         (link-libc-deps): Likewise.
18047         ($(common-objpfx)libc.so): Likewise.
18048         ($(common-objpfx)linkobj/libc.so): Likewise.
18049         [$(cross-compiling) = no] (symbolic-link-prog): Use $(elf-objpfx)
18050         instead of $(common-objpfx)elf/.
18051         (symbolic-link-list): Likewise.
18052         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
18053         [$(cross-compiling) = no]: Likewise.
18054         * sysdeps/arm/Makefile (gnulib-arch): Use $(elf-objpfx) instead of
18055         $(elfobjdir)/.
18056         (static-gnulib-arch): Likewise.
18057         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
18058         [$(cross-compiling) = no]: Use $(elf-objpfx) instead of
18059         $(common-objpfx)elf/.
18061 2014-05-21  Richard Henderson  <rth@redhat.com>
18063         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
18064         (SINGLE_THREAD_P): Use the correct width load.  Fold
18065         into the ldr offset.
18067         * sysdeps/unix/sysv/linux/aarch64/sysdep.h [RTLD_PRIVATE_ERRNO]
18068         (SYSCALL_ERROR_HANDLER): Fold add insn into str offset.
18070 2014-05-20  Joseph Myers  <joseph@codesourcery.com>
18072         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c
18073         (libgcc_s_resume): Use __attribute_used__.
18074         * sysdeps/unix/sysv/linux/arm/unwind-resume.c (libgcc_s_resume):
18075         Likewise.
18077 2014-05-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18079         * sysdeps/powerpc/fpu/math_private.h [__copysignf]: Fix copysign macro
18080         optimization when used with float constants.
18082         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18084 2014-05-20  Aurelien Jarno  <aurelien@aurel32.net>
18086         [BZ #16915]
18087         * locale/nl_langinfo_l.c: Make direct reference to every
18088         _nl_current_CATEGORY symbol.
18089         * localedata/Makefile (test-srcs): Add tst-langinfo-static.
18090         (tests-static): Add tst-langinfo-static.
18091         (tests-special): Add tst-langinfo-static.out.
18092         ($(objpfx)tst-langinfo.out): Redirect output.
18093         ($(objpfx)tst-langinfo-static.out): New.
18094         * localedata/tst-langinfo.sh: Send output to stdout.
18095         * localedata/tst-langinfo-static.c: New file.
18097         [BZ #16965]
18098         * stdlib/strtod_l.c (round_and_return): Add code to shift limbs
18099         when the shift amount is modulo the limb size.
18101 2014-05-20  Richard Henderson  <rth@redhat.com>
18103         [BZ #16967]
18104         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h (struct sigaction):
18105         Change type of sa_flags from unsigned int to int.
18107         [BZ #16966]
18108         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Remove file.
18110         * sysdeps/alpha/dl-machine.h (ELF_MACHINE_NO_RELA): Define.
18112 2014-05-20  Will Newton  <will.newton@linaro.org>
18114         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
18115         Test the return value of the system call in the nocancel case.
18117 2014-05-20  Will Newton  <will.newton@linaro.org>
18118             Yvan Roux  <yvan.roux@linaro.org>
18120         * sysdeps/unix/sysv/linux/aarch64/sys/user.h: Remove unused
18121         #include of asm/ptrace.h.
18122         (PTRACE_GET_THREAD_AREA): Remove #undef.
18123         (PTRACE_GETHBPREGS): Likewise.
18124         (PTRACE_SETHBPREGS): Likewise.
18125         (struct user_regs_struct): New structure.
18126         (struct user_fpsimd_struct): New structure.
18127         * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove unused
18128         #include of asm/ptrace.h and second #include of sys/user.h.
18129         (PTRACE_GET_THREAD_AREA): Remove #undef.
18130         (PTRACE_GETHBPREGS): Likewise.
18131         (PTRACE_SETHBPREGS): Likewise.
18132         (ELF_NGREG): Use new struct user_regs_struct.
18133         (elf_fpregset_t): Use new struct user_fpsimd_struct.
18135 2014-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18137         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypof.c: Moved ...
18138         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c: ... here.
18140 2014-05-17  Jose E. Marchesi  <jose.marchesi@oracle.com>
18142         [BZ #16958]
18143         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Add missing
18144         membar to avoid block loads/stores to overlap previous stores.
18146 2014-05-17  Richard Henderson  <rth@redhat.com>
18148         * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h (PSEUDO):
18149         Create the __##syscall_name##_nocancel entry point.
18150         * sysdeps/unix/sysv/linux/alpha/sigsuspend.S (__sigsuspend_nocancel):
18151         Remove; let the sysdep-cancel.h code create it.
18153 2014-05-17  David S. Miller  <davem@davemloft.net>
18155         * sysdeps/unix/sysv/linux/sparc/bits/termios.h (PAGEOUT, WRAP):
18156         Protect with __USE_GNU.
18157         (TIOCSET_TEMPT): Likewise.
18158         (TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
18159         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI): Remove as
18160         these are already provided in bits/ioctl-types.h
18162 2014-05-16  Roland McGrath  <roland@hack.frob.com>
18164         * sysdeps/unix/sysv/linux/alpha/arch-fork.h: New file.
18165         * sysdeps/unix/sysv/linux/ia64/nptl/fork.c: File removed.
18167         * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel):
18168         Use wait4 regardless of [__NR_waitpid].
18170 2014-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
18172         PR libgcc/60166
18173         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
18174         (_FP_NANSIGN_Q): Set the quiet bit.
18176 2014-05-16  Joseph Myers  <joseph@codesourcery.com>
18178         * benchtests/Makefile
18179         ($(addprefix $(objpfx)bench-,$(bench-math))): Depend on $(libm),
18180         not $(common-objpfx)math/libm.so.
18181         ($(addprefix $(objpfx)bench-,$(bench-pthread))): Depend on
18182         $(shared-thread-library), not $(common-objpfx)nptl/libpthread.so.
18183         * elf/Makefile ($(objpfx)noload): Depend on $(libdl), not
18184         $(common-objpfx)dlfcn/libdl.so.
18185         ($(objpfx)tst-audit8): Depend on $(libm), not
18186         $(common-objpfx)math/libm.so.
18187         * malloc/Makefile ($(objpfx)libmemusage.so): Depend on $(libdl),
18188         not $(common-objpfx)dlfcn/libdl.so.
18189         * math/Makefile
18190         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
18191         Depend on $(libm), not $(objpfx)libm.so.  Do not condition on
18192         [$(build-shared) = yes].
18193         ($(objpfx)test-fenv-tls): Depend on $(shared-thread-library), not
18194         $(common-objpfx)nptl/libpthread.so.
18195         * misc/Makefile ($(objpfx)tst-tsearch): Depend on $(libm), not
18196         $(common-objpfx)math/libm.so$(libm.so-version) or
18197         $(common-objpfx)math/libm.a depending on [$(build-shared) = yes].
18198         * nptl/Makefile ($(objpfx)tst-unload): Depend on $(libdl), not
18199         $(common-objpfx)dlfcn/libdl.so.
18200         * setjmp/Makefile (link-libm): Remove variable.
18201         ($(objpfx)tst-setjmp-fp): Depend on $(libm), not $(link-libm).
18202         * stdio-common/Makefile (link-libm): Remove variable.
18203         ($(objpfx)tst-printf-round): Depend on $(libm), not $(link-libm).
18204         * stdlib/Makefile (link-libm): Remove variable.
18205         ($(objpfx)bug-getcontext): Depend on $(libm), not $(link-libm).
18206         ($(objpfx)tst-strtod-round): Likewise.
18207         ($(objpfx)tst-tininess): Likewise.
18208         ($(objpfx)tst-strtod-underflow): Likewise.
18209         ($(objpfx)tst-strtod6): Likewise.
18210         ($(objpfx)tst-tls-atexit): Depend on $(shared-thread-library) and
18211         $(libdl), not $(common-objpfx)nptl/libpthread.so and
18212         $(common-objpfx)dlfcn/libdl.so.
18214 2014-05-16  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18216         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]: Guard
18217         BSD terminal modes definitions.
18219 2014-05-16  Roland McGrath  <roland@hack.frob.com>
18221         * sysdeps/unix/sysv/linux/arm/arch-fork.h: New file.
18222         * sysdeps/unix/sysv/linux/arm/fork.c: File removed.
18224         * sysdeps/unix/sysv/linux/arch-fork.h: New file.
18225         * sysdeps/unix/sysv/linux/i386/fork.h: Moved ...
18226         * sysdeps/unix/sysv/linux/i386/arch-fork.h: ... here.
18227         Don't do #include_next.
18228         * sysdeps/unix/sysv/linux/x86_64/fork.h: Moved ...
18229         * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: ... here.
18230         Don't do #include_next.
18231         * sysdeps/unix/sysv/linux/mips/arch-fork.h: New file.
18232         * sysdeps/unix/sysv/linux/mips/fork.h: File removed.
18233         * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: New file.
18234         * sysdeps/unix/sysv/linux/powerpc/fork.h: File removed.
18236 2014-05-16  Allan McRae  <allan@archlinux.org>
18238         * po/sv.po: Update Swedish translation from translation project.
18240         * timezone/Makefile ($(objpfx)tzselect): Use correct variable
18241         in sed expression.
18243 2014-05-16  Aurelien Jarno  <aurelien@aurel32.net>
18245         [BZ #16917]
18246         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal): Return
18247         errno if the TIOCGPTN ioctl fails with an error different than
18248         EINVAL.
18249         * login/tst-ptsname.c: New file.
18250         * login/Makefile (tests): Add tst-ptsname.
18252         [BZ #16943]
18253         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Declare prlimit
18254         and prlimit64.
18256 2014-05-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
18258         [BZ #16849]
18259         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only check for
18260         herrno to return EAI_AGAIN.
18262 2014-05-14  Roland McGrath  <roland@hack.frob.com>
18264         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: Moved ...
18265         * sysdeps/unix/sysv/linux/i386/c++-types.data: ... here.
18266         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: Moved ...
18267         * sysdeps/unix/sysv/linux/i386/ld.abilist: ... here.
18268         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: Moved ...
18269         * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: ... here.
18270         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: Moved ...
18271         * sysdeps/unix/sysv/linux/i386/libanl.abilist: ... here.
18272         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Moved ...
18273         * sysdeps/unix/sysv/linux/i386/libc.abilist: ... here.
18274         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: Moved ...
18275         * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: ... here.
18276         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: Moved ...
18277         * sysdeps/unix/sysv/linux/i386/libdl.abilist: ... here.
18278         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: Moved ...
18279         * sysdeps/unix/sysv/linux/i386/libm.abilist: ... here.
18280         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: Moved ...
18281         * sysdeps/unix/sysv/linux/i386/libnsl.abilist: ... here.
18282         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Moved ...
18283         * sysdeps/unix/sysv/linux/i386/libpthread.abilist: ... here.
18284         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: Moved ...
18285         * sysdeps/unix/sysv/linux/i386/libresolv.abilist: ... here.
18286         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: Moved ...
18287         * sysdeps/unix/sysv/linux/i386/librt.abilist: ... here.
18288         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: Moved ...
18289         * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: ... here.
18290         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: Moved ...
18291         * sysdeps/unix/sysv/linux/i386/libutil.abilist: ... here.
18292         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: Moved ...
18293         * sysdeps/unix/sysv/linux/i386/localplt.data: ... here.
18294         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: Moved ...
18295         * sysdeps/unix/sysv/linux/x86_64/64/c++-types.data: ... here.
18296         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Moved ...
18297         * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: ... here.
18298         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
18299         Moved ...
18300         * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: ... here.
18301         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Moved ...
18302         * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: ... here.
18303         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Moved ...
18304         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: ... here.
18305         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Moved ...
18306         * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: ... here.
18307         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Moved ...
18308         * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: ... here.
18309         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Moved ...
18310         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: ... here.
18311         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Moved ...
18312         * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: ... here.
18313         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist: Moved ...
18314         * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: ... here.
18315         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist: Moved ...
18316         * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: ... here.
18317         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Moved ...
18318         * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: ... here.
18319         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist: Moved ...
18320         * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: ... here.
18321         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Moved ...
18322         * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: ... here.
18323         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data: Moved ...
18324         * sysdeps/unix/sysv/linux/x86_64/x32/c++-types.data: ... here.
18325         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: Moved ...
18326         * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: ... here.
18327         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
18328         Moved ...
18329         * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: ... here.
18330         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist: Moved ...
18331         * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: ... here.
18332         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Moved ...
18333         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: ... here.
18334         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist: Moved ...
18335         * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: ... here.
18336         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist: Moved ...
18337         * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: ... here.
18338         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist: Moved ...
18339         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: ... here.
18340         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist: Moved ...
18341         * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: ... here.
18342         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist: Moved ...
18343         * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: ... here.
18344         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist: Moved ...
18345         * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: ... here.
18346         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist: Moved ...
18347         * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: ... here.
18348         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
18349         Moved ...
18350         * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: ... here.
18351         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist: Moved ...
18352         * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: ... here.
18354         * nptl/sysdeps/unix/sysv/linux/x86/Makefile: File removed.
18355         * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = nptl]
18356         (libpthread-sysdep_routines): Add elision-related stuff here instead.
18357         * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.c: Moved ...
18358         * sysdeps/unix/sysv/linux/x86/elision-conf.c: ... here.
18359         * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.h: Moved ...
18360         * sysdeps/unix/sysv/linux/x86/elision-conf.h: ... here.
18361         * nptl/sysdeps/unix/sysv/linux/x86/elision-lock.c: Moved ...
18362         * sysdeps/unix/sysv/linux/x86/elision-lock.c: ... here.
18363         * nptl/sysdeps/unix/sysv/linux/x86/elision-timed.c: Moved ...
18364         * sysdeps/unix/sysv/linux/x86/elision-timed.c: ... here.
18365         * nptl/sysdeps/unix/sysv/linux/x86/elision-trylock.c: Moved ...
18366         * sysdeps/unix/sysv/linux/x86/elision-trylock.c: ... here.
18367         * nptl/sysdeps/unix/sysv/linux/x86/elision-unlock.c: Moved ...
18368         * sysdeps/unix/sysv/linux/x86/elision-unlock.c: ... here.
18369         * nptl/sysdeps/unix/sysv/linux/x86/force-elision.h: Moved ...
18370         * sysdeps/unix/sysv/linux/x86/force-elision.h: ... here.
18371         * nptl/sysdeps/unix/sysv/linux/x86/hle.h: Moved ...
18372         * sysdeps/unix/sysv/linux/x86/hle.h: ... here.
18373         * nptl/sysdeps/unix/sysv/linux/x86/init-arch.c: Moved ...
18374         * sysdeps/unix/sysv/linux/x86/init-arch.c: ... here.
18375         * nptl/sysdeps/unix/sysv/linux/x86/init-arch.h: Moved ...
18376         * sysdeps/unix/sysv/linux/x86/init-arch.h: ... here.
18377         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Moved ...
18378         * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: ... here.
18379         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: Moved ...
18380         * sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: ... here.
18381         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: Moved ...
18382         * sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: ... here.
18383         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: Moved ...
18384         * sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: ... here.
18386         * sysdeps/unix/sysv/linux/mips/fork.h: New file.
18387         * sysdeps/unix/sysv/linux/mips/nptl/fork.c: File removed.
18389         * nptl/sysdeps/unix/sysv/linux/i386/Implies: File removed.
18390         * nptl/sysdeps/unix/sysv/linux/i386/i786/Implies: Moved ...
18391         * sysdeps/unix/sysv/linux/i386/i786/Implies: ... here.
18392         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Moved ...
18393         * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: ... here.
18394         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S:
18395         Moved ...
18396         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: ... here.
18397         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
18398         Moved ...
18399         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: ... here.
18400         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
18401         Moved ...
18402         * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S: ... here.
18403         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S:
18404         Moved ...
18405         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: ... here.
18406         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Moved ...
18407         * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: ... here.
18408         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
18409         Moved ...
18410         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: ... here.
18411         * nptl/sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: Moved ...
18412         * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: ... here.
18413         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Moved ...
18414         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: ... here.
18415         * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: Moved ...
18416         * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: ... here.
18417         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
18418         Moved ...
18419         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: ... here.
18420         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
18421         Moved ...
18422         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
18423         ... here.
18424         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Moved ...
18425         * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: ... here.
18426         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Moved ...
18427         * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: ... here.
18428         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
18429         Moved ...
18430         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
18431         ... here.
18432         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S:
18433         Moved ...
18434         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: ... here.
18435         * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Moved ...
18436         * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: ... here.
18437         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Moved ...
18438         * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: ... here.
18439         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S:
18440         Moved ...
18441         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: ... here.
18442         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
18443         Moved ...
18444         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: ... here.
18445         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
18446         Moved ...
18447         * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S: ... here.
18448         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S:
18449         Moved ...
18450         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: ... here.
18451         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Moved ...
18452         * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: ... here.
18453         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S:
18454         Moved ...
18455         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: ... here.
18456         * nptl/sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved ...
18457         * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: ... here.
18458         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved ...
18459         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: ... here.
18460         * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved ...
18461         * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: ... here.
18462         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
18463         Moved ...
18464         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: ... here.
18465         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
18466         Moved ...
18467         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
18468         ... here.
18469         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Moved ...
18470         * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: ... here.
18471         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Moved ...
18472         * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: ... here.
18473         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
18474         Moved ...
18475         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
18476         ... here.
18477         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S:
18478         Moved ...
18479         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: ... here.
18480         * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved ...
18481         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: ... here.
18482         * nptl/sysdeps/unix/sysv/linux/i386/dl-sysdep.h: Moved ...
18483         * sysdeps/unix/sysv/linux/i386/dl-sysdep.h: ... here.
18484         * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h: Moved ...
18485         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.
18486         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Moved ...
18487         * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: ... here.
18488         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S:
18489         Moved ...
18490         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: ... here.
18491         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
18492         Moved ...
18493         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: ... here.
18494         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
18495         Moved ...
18496         * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S: ... here.
18497         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S:
18498         Moved ...
18499         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: ... here.
18500         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Moved ...
18501         * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: ... here.
18502         * nptl/sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: Moved ...
18503         * sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: ... here.
18504         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
18505         Moved ...
18506         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: ... here.
18507         * nptl/sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: Moved ...
18508         * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: ... here.
18509         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Moved ...
18510         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: ... here.
18511         * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: Moved ...
18512         * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: ... here.
18513         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
18514         Moved ...
18515         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: ... here.
18516         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
18517         Moved ...
18518         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
18519         ... here.
18520         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Moved ...
18521         * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: ... here.
18522         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Moved ...
18523         * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: ... here.
18524         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
18525         Moved ...
18526         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
18527         ... here.
18528         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S:
18529         Moved ...
18530         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: ... here.
18531         * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Moved ...
18532         * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: ... here.
18533         * nptl/sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Moved ...
18534         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: ... here.
18535         * nptl/sysdeps/unix/sysv/linux/i386/smp.h: Moved ...
18536         * sysdeps/unix/sysv/linux/i386/smp.h: ... here.
18537         * nptl/sysdeps/unix/sysv/linux/i386/pthread_once.S: Moved ...
18538         * sysdeps/unix/sysv/linux/i386/pthread_once.S: ... here.
18539         * nptl/sysdeps/unix/sysv/linux/i386/createthread.c: Moved ...
18540         * sysdeps/unix/sysv/linux/i386/createthread.c: ... here.
18542         * sysdeps/unix/sysv/linux/powerpc/fork.h: New file.
18543         * nptl/sysdeps/unix/sysv/linux/powerpc/fork.c: File removed.
18545         * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_init.c: File removed.
18546         * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_unlock.S: File removed.
18548         * nptl/sysdeps/unix/sysv/linux/x86_64/Implies: File removed.
18549         * nptl/sysdeps/unix/sysv/linux/x86_64/cancellation.S: Moved ...
18550         * sysdeps/unix/sysv/linux/x86_64/cancellation.S: ... here.
18551         * nptl/sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: Moved ...
18552         * sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: ... here.
18553         * nptl/sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: Moved ...
18554         * sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: ... here.
18555         * nptl/sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: Moved ...
18556         * sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: ... here.
18557         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Moved ...
18558         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: ... here.
18559         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Moved ...
18560         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: ... here.
18561         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: Moved ...
18562         * sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: ... here.
18563         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Moved ...
18564         * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: ... here.
18565         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S:
18566         Moved ...
18567         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: ... here.
18568         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Moved ...
18569         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: ... here.
18570         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:
18571         Moved ...
18572         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: ... here.
18573         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Moved ...
18574         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: ... here.
18575         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Moved ...
18576         * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: ... here.
18577         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: Moved ...
18578         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: ... here.
18579         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S:
18580         Moved ...
18581         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: ... here.
18582         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S:
18583         Moved ...
18584         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: ... here.
18585         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: Moved ...
18586         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: ... here.
18587         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: Moved ...
18588         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: ... here.
18589         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: Moved ...
18590         * sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: ... here.
18591         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_post.S: Moved ...
18592         * sysdeps/unix/sysv/linux/x86_64/sem_post.S: ... here.
18593         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Moved ...
18594         * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: ... here.
18595         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Moved ...
18596         * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: ... here.
18597         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Moved ...
18598         * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: ... here.
18599         * nptl/sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Moved ...
18600         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: ... here.
18602         * nptl/sysdeps/unix/sysv/linux/fork.c: Use <> for fork.h #include.
18603         * nptl/sysdeps/unix/sysv/linux/x86_64/fork.c: File removed.
18604         * sysdeps/unix/sysv/linux/x86_64/fork.h: New file.
18605         * nptl/sysdeps/unix/sysv/linux/i386/fork.c: File removed.
18606         * sysdeps/unix/sysv/linux/i386/fork.h: New file.
18608         * nptl/sysdeps/unix/sysv/linux/i386/not-cancel.h: Moved ...
18609         * sysdeps/unix/sysv/linux/not-cancel.h: ... here.
18610         * nptl/sysdeps/unix/sysv/linux/sparc/not-cancel.h: File removed.
18611         * nptl/sysdeps/unix/sysv/linux/sh/not-cancel.h: File removed.
18612         * nptl/sysdeps/unix/sysv/linux/powerpc/not-cancel.h: File removed.
18613         * nptl/sysdeps/unix/sysv/linux/x86_64/not-cancel.h: File removed.
18614         * nptl/sysdeps/unix/sysv/linux/s390/not-cancel.h: File removed.
18615         * sysdeps/unix/sysv/linux/generic/not-cancel.h: File removed.
18616         * sysdeps/unix/sysv/linux/generic/nptl/not-cancel.h: File removed.
18617         * sysdeps/unix/sysv/linux/m68k/nptl/not-cancel.h: File removed.
18619         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_init.c: File removed.
18620         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_unlock.S: Likewise.
18622         * nptl/sysdeps/unix/sysv/linux/x86_64/compat-timer.h: Moved ...
18623         * sysdeps/unix/sysv/linux/x86_64/compat-timer.h: ... here.
18624         * nptl/sysdeps/unix/sysv/linux/x86_64/Versions: Remove, merge into ...
18625         * sysdeps/unix/sysv/linux/x86_64/Versions: ... here.
18626         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_create.c: Moved ...
18627         * sysdeps/unix/sysv/linux/x86_64/timer_create.c: here.
18628         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_delete.c: Moved ...
18629         * sysdeps/unix/sysv/linux/x86_64/timer_delete.c: ... here
18630         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: Moved ...
18631         * sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: ... here
18632         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: Moved ...
18633         * sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: ... here
18634         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_settime.c: Moved ...
18635         * sysdeps/unix/sysv/linux/x86_64/timer_settime.c: ... here
18636         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c:
18637         Update #include.
18638         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c:
18639         Likewise.
18640         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
18641         Likewise.
18642         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
18643         Likewise.
18644         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
18645         Likewise.
18646         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c:
18647         Likewise.
18648         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c:
18649         Likewise.
18650         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
18651         Likewise.
18652         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c:
18653         Likewise.
18654         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c:
18655         Likewise.
18656         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Likewise.
18657         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Likewise.
18658         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Likewise.
18659         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Likewise.
18660         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Likewise.
18661         * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Likewise.
18662         * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Likewise.
18663         * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Likewise.
18664         * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Likewise.
18665         * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Likewise.
18666         * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Likewise.
18667         * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Likewise.
18668         * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Likewise.
18669         * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c:  Likewise.
18670         * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c:  Likewise.
18672         * sysdeps/unix/sysv/linux/x86_64/clone.S: Deconditionalize the code
18673         that was previously under [RESET_PID].
18674         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
18675         * nptl/sysdeps/unix/sysv/linux/x86_64/clone.S: File removed.
18676         * nptl/sysdeps/unix/sysv/linux/i386/clone.S: File removed.
18678         * sysdeps/i386/nptl/Implies: New file.
18679         * sysdeps/x86_64/nptl/Implies: New file.
18680         * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h: Moved ...
18681         * sysdeps/x86/nptl/bits/pthreadtypes.h: ... here.
18682         * nptl/sysdeps/unix/sysv/linux/x86/bits/semaphore.h: Moved ...
18683         * sysdeps/x86/nptl/bits/semaphore.h: ... here.
18685         * sysdeps/unix/sysv/linux/i386/vfork.S: Include <tcb-offsets.h>.
18686         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
18687         (__libc_vfork): New strong alias.
18688         * nptl/sysdeps/unix/sysv/linux/i386/vfork.S: File removed.
18689         * nptl/sysdeps/unix/sysv/linux/i386/pt-vfork.S: File removed.
18691         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Include <tcb-offsets.h>.
18692         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
18693         (__libc_vfork): New strong alias.
18694         * nptl/sysdeps/unix/sysv/linux/x86_64/vfork.S: File removed.
18695         * nptl/sysdeps/unix/sysv/linux/x86_64/pt-vfork.S: File removed.
18697         * sysdeps/unix/sysv/linux/arm/vfork.S: Include <tcb-offsets.h>.
18698         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
18699         (__libc_vfork): New strong alias.
18700         * sysdeps/unix/sysv/linux/arm/nptl/vfork.S: File removed.
18701         * sysdeps/unix/sysv/linux/arm/nptl/pt-vfork.S: File removed.
18702         * nptl/pt-vfork.c: New file.
18703         * nptl/Versions (libc: GLIBC_PRIVATE): Add __libc_vfork.
18704         (libpthread: GLIBC_2.20): New version set (empty).
18706 2014-05-14  Will Newton  <will.newton@linaro.org>
18708         * stdlib/gmp-impl.h: Test USE_STACK_ALLOC #ifdef
18709         rather than #if.
18711 2014-05-14  Joseph Myers  <joseph@codesourcery.com>
18713         [BZ #16564]
18714         * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Do not add 1 to positive
18715         arguments with exponent 65 or above.
18716         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Do not add 1 to
18717         arguments 0x1p113L or above.
18718         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Do not add 1
18719         to arguments 0x1p107L or above.
18720         * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Do not add 1 to
18721         positive arguments with exponent 65 or above.
18722         * math/auto-libm-test-in: Add more tests of log1p.
18723         * math/auto-libm-test-out: Regenerated.
18725         [BZ #16928]
18726         * math/s_cacos.c (__cacos): Ensure zero real part of result from
18727         non-finite arguments is +0.
18728         * math/s_cacosf.c (__cacosf): Likewise.
18729         * math/s_cacosl.c (__cacosl): Likewise.
18730         * math/libm-test.inc (cacos_test): Use ALL_RM_TEST.
18731         * sysdeps/i386/fpu/libm-test-ulps: Update.
18732         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18734         [BZ #16927]
18735         * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): Use fabs on x-1
18736         value.
18737         * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
18738         * sysdeps/i386/fpu/e_acoshl.S (__ieee754_acoshl): Likewise.
18739         * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Correct
18740         for explicit high bit of mantissa when testing for argument equal
18741         to 1.
18742         * math/libm-test.inc (acosh_test): Use ALL_RM_TEST.
18743         * sysdeps/i386/fpu/libm-test-ulps: Update.
18744         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18746         [BZ #16516]
18747         * sysdeps/ieee754/dbl-64/s_erf.c (efx8): Remove variable.
18748         (__erf): Scale by 16 instead of 8 in potentially underflowing
18749         case.  Ensure exception if result actually underflows.
18750         * sysdeps/ieee754/flt-32/s_erff.c (efx8): Remove variable.
18751         (__erff): Scale by 16 instead of 8 in potentially underflowing
18752         case.  Ensure exception if result actually underflows.
18753         * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <float.h>.
18754         (efx8): Remove variable.
18755         (__erfl): Scale by 16 instead of 8 in potentially underflowing
18756         case.  Ensure exception if result actually underflows.
18757         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <float.h>.
18758         (efx8): Remove variable.
18759         (__erfl): Scale by 16 instead of 8 in potentially underflowing
18760         case.  Ensure exception if result actually underflows.
18761         * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <float.h>.
18762         (efx8): Remove variable.
18763         (__erfl): Scale by 16 instead of 8 in potentially underflowing
18764         case.  Ensure exception if result actually underflows.
18765         * math/auto-libm-test-in: Add more tests of erf.
18766         * math/auto-libm-test-out: Regenerated.
18768 2014-05-14  Andreas Schwab  <schwab@suse.de>
18770         * elf/rtld.c (_dl_start_final, _dl_start, init_tls, dl_main):
18771         Remove code conditionalized on USE___THREAD.
18773         * config.h.in (HAVE_PT_CHOWN): Define as 0.
18774         * sysdeps/unix/grantpt.c (grantpt): Check HAVE_PT_CHOWN for value,
18775         not definedness.
18777 2014-05-14  Joseph Myers  <joseph@codesourcery.com>
18779         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES):
18780         Define unconditionally.
18781         (__ASSUME_O_CLOEXEC): Likewise.
18782         (__ASSUME_SOCK_CLOEXEC): Likewise.
18783         (__ASSUME_IN_NONBLOCK): Likewise.
18784         (__ASSUME_PIPE2): Likewise.
18785         (__ASSUME_EVENTFD2): Likewise.
18786         (__ASSUME_SIGNALFD4): Likewise.
18787         (__ASSUME_DUP3): Likewise.
18788         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
18789         (__ASSUME_DUP3): Do not define.
18790         (__ASSUME_EVENTFD2): Likewise.
18791         (__ASSUME_IN_NONBLOCK): Likewise.
18792         (__ASSUME_O_CLOEXEC): Likewise.
18793         (__ASSUME_PIPE2): Likewise.
18794         (__ASSUME_SIGNALFD4): Likewise.
18795         (__ASSUME_SOCK_CLOEXEC): Likewise.
18796         (__ASSUME_UTIMES): Undefine.
18797         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
18798         (__ASSUME_UTIMES): Do not define.
18799         (__ASSUME_O_CLOEXEC): Likewise.
18800         (__ASSUME_SOCK_CLOEXEC): Likewise.
18801         (__ASSUME_IN_NONBLOCK): Undefine if [__LINUX_KERNEL_VERSION <
18802         0x020621] instead of defining if [__LINUX_KERNEL_VERSION >=
18803         0x020621].
18804         (__ASSUME_PIPE2): Likewise.
18805         (__ASSUME_EVENTFD2): Likewise.
18806         (__ASSUME_SIGNALFD4): Likewise.
18807         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_DUP3): Undefine.
18808         * sysdeps/unix/sysv/linux/arm/kernel-features.h (__ASSUME_UTIMES):
18809         Do not define.
18810         (__ASSUME_EVENTFD2): Likewise.
18811         (__ASSUME_SIGNALFD4): Likewise.
18812         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
18813         (__ASSUME_32BITUIDS): Likewise.
18814         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
18815         (__ASSUME_IPC64): Likewise.
18816         (__ASSUME_ST_INO_64_BIT): Likewise.
18817         (__ASSUME_GETDENTS64_SYSCALL): Likewise.
18818         [__LINUX_KERNEL_VERSION < 0x030e00] (__ASSUME_UTIMES): Undefine.
18819         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
18820         (__ASSUME_UTIMES): Do not define.
18821         (__ASSUME_PSELECT): Likewise.
18822         (__ASSUME_PPOLL): Likewise.
18823         (__ASSUME_O_CLOEXEC): Likewise.
18824         (__ASSUME_SOCK_CLOEXEC): Likewise.
18825         (__ASSUME_IN_NONBLOCK): Likewise.
18826         (__ASSUME_PIPE2): Likewise.
18827         (__ASSUME_EVENTFD2): Likewise.
18828         (__ASSUME_SIGNALFD4): Likewise.
18829         (__ASSUME_DUP3): Likewise.
18830         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
18831         (__ASSUME_UTIMES): Likewise.
18832         (__ASSUME_O_CLOEXEC): Likewise.
18833         (__ASSUME_SOCK_CLOEXEC): Likewise.
18834         (__ASSUME_IN_NONBLOCK): Likewise.
18835         (__ASSUME_PIPE2): Likewise.
18836         (__ASSUME_EVENTFD2): Likewise.
18837         (__ASSUME_SIGNALFD4): Likewise.
18838         (__ASSUME_DUP3): Likewise.
18839         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
18840         (__ASSUME_UTIMES): Likewise.
18841         (__ASSUME_O_CLOEXEC): Likewise.
18842         (__ASSUME_SOCK_CLOEXEC): Likewise.
18843         (__ASSUME_IN_NONBLOCK): Likewise.
18844         (__ASSUME_PIPE2): Likewise.
18845         (__ASSUME_EVENTFD2): Likewise.
18846         (__ASSUME_SIGNALFD4): Likewise.
18847         (__ASSUME_DUP3): Likewise.
18848         * sysdeps/unix/sysv/linux/mips/kernel-features.h (__ASSUME_IPC64):
18849         Likewise.
18850         (__ASSUME_UTIMES): Likewise.
18851         (__ASSUME_EVENTFD2): Likewise.
18852         (__ASSUME_SIGNALFD4): Likewise.
18853         * sysdeps/unix/sysv/linux/tile/kernel-features.h
18854         (__ASSUME_O_CLOEXEC): Likewise.
18855         (__ASSUME_SOCK_CLOEXEC): Likewise.
18856         (__ASSUME_IN_NONBLOCK): Likewise.
18857         (__ASSUME_PIPE2): Likewise.
18858         (__ASSUME_EVENTFD2): Likewise.
18859         (__ASSUME_SIGNALFD4): Likewise.
18860         (__ASSUME_DUP3): Likewise.
18861         (__ASSUME_UTIMES): Undefine.
18863         * sysdeps/arm/fclrexcpt.c (__feclearexcept): Rename to
18864         feclearexcept.  Remove symbol versioning code.
18865         * sysdeps/arm/fegetenv.c (__fegetenv): Rename to fegetenv.  Remove
18866         symbol versioning code.
18867         * sysdeps/arm/fesetenv.c (__fesetenv): Rename to fesetenv.  Remove
18868         symbol versioning code.
18869         * sysdeps/arm/feupdateenv.c (__feupdateenv): Rename to
18870         feupdateenv.  Remove symbol versioning code.
18871         * sysdeps/arm/fgetexcptflg.c (__fegetexceptflag): Rename to
18872         fegetexceptflag.  Remove symbol versioning code.
18873         * sysdeps/arm/fsetexcptflg.c (__fesetexceptflag): Rename to
18874         fesetexceptflag.  Remove symbol versioning code.
18875         * sysdeps/unix/sysv/linux/arm/Versions (libc): Remove GLIBC_2.0,
18876         GLIBC_2.2 and GLIBC_2.3.3 entries.  Change GLIBC_2.1 to GLIBC_2.4.
18877         * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c
18878         (__posix_fadvise64_l32): Remove prototype.
18879         [SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)]: Remove conditional
18880         code.
18882 2014-05-13  Roland McGrath  <roland@hack.frob.com>
18884         * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h: Moved ...
18885         * sysdeps/arm/nptl/bits/pthreadtypes.h: ... here.
18886         * sysdeps/unix/sysv/linux/arm/nptl/bits/semaphore.h: Moved ...
18887         * sysdeps/arm/nptl/bits/semaphore.h: ... here.
18889 2014-05-13  Sami Kerola  <kerolasa@iki.fi>
18891         * timezone/Makefile ($(objpfx)tzselect): Use zonedir instead
18892         current working directory
18894 2014-05-13  Roland McGrath  <roland@hack.frob.com>
18896         * sysdeps/unix/sysv/linux/arm/nptl/c++-types.data: Moved ...
18897         * sysdeps/unix/sysv/linux/arm/c++-types.data: ... here.
18898         * sysdeps/unix/sysv/linux/arm/nptl/createthread.c: Moved ...
18899         * sysdeps/unix/sysv/linux/arm/createthread.c: ... here.
18900         * sysdeps/unix/sysv/linux/arm/nptl/fork.c: Moved ...
18901         * sysdeps/unix/sysv/linux/arm/fork.c: ... here.
18902         * sysdeps/unix/sysv/linux/arm/nptl/ld.abilist: Moved ...
18903         * sysdeps/unix/sysv/linux/arm/ld.abilist: ... here.
18904         * sysdeps/unix/sysv/linux/arm/nptl/libBrokenLocale.abilist: Moved ...
18905         * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: ... here.
18906         * sysdeps/unix/sysv/linux/arm/nptl/libanl.abilist: Moved ...
18907         * sysdeps/unix/sysv/linux/arm/libanl.abilist: ... here.
18908         * sysdeps/unix/sysv/linux/arm/nptl/libc.abilist: Moved ...
18909         * sysdeps/unix/sysv/linux/arm/libc.abilist: ... here.
18910         * sysdeps/unix/sysv/linux/arm/nptl/libcrypt.abilist: Moved ...
18911         * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: ... here.
18912         * sysdeps/unix/sysv/linux/arm/nptl/libdl.abilist: Moved ...
18913         * sysdeps/unix/sysv/linux/arm/libdl.abilist: ... here.
18914         * sysdeps/unix/sysv/linux/arm/nptl/libm.abilist: Moved ...
18915         * sysdeps/unix/sysv/linux/arm/libm.abilist: ... here.
18916         * sysdeps/unix/sysv/linux/arm/nptl/libnsl.abilist: Moved ...
18917         * sysdeps/unix/sysv/linux/arm/libnsl.abilist: ... here.
18918         * sysdeps/unix/sysv/linux/arm/nptl/libpthread.abilist: Moved ...
18919         * sysdeps/unix/sysv/linux/arm/libpthread.abilist: ... here.
18920         * sysdeps/unix/sysv/linux/arm/nptl/libresolv.abilist: Moved ...
18921         * sysdeps/unix/sysv/linux/arm/libresolv.abilist: ... here.
18922         * sysdeps/unix/sysv/linux/arm/nptl/librt.abilist: Moved ...
18923         * sysdeps/unix/sysv/linux/arm/librt.abilist: ... here.
18924         * sysdeps/unix/sysv/linux/arm/nptl/libthread_db.abilist: Moved ...
18925         * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: ... here.
18926         * sysdeps/unix/sysv/linux/arm/nptl/libutil.abilist: Moved ...
18927         * sysdeps/unix/sysv/linux/arm/libutil.abilist: ... here.
18928         * sysdeps/unix/sysv/linux/arm/nptl/localplt.data: Moved ...
18929         * sysdeps/unix/sysv/linux/arm/localplt.data: ... here.
18930         * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.h: Moved ...
18931         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: ... here.
18932         * sysdeps/unix/sysv/linux/arm/nptl/sysdep-cancel.h: Moved ...
18933         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: ... here.
18934         * sysdeps/unix/sysv/linux/arm/nptl/unwind-forcedunwind.c: Moved ...
18935         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: ... here.
18936         * sysdeps/unix/sysv/linux/arm/nptl/unwind-resume.c: Moved ...
18937         * sysdeps/unix/sysv/linux/arm/unwind-resume.c: ... here.
18939         * sysdeps/unix/sysv/linux/arm/Versions (libc: GLIBC_PRIVATE): New set.
18940         * sysdeps/unix/sysv/linux/arm/nptl/Versions: File removed.
18942         * sysdeps/unix/sysv/linux/arm/Makefile
18943         [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
18944         Add rt-aeabi_unwind_cpp_pr1.
18945         [$(subdir) = nptl] (librt-sysdep_routines, librt-shared-only-routines):
18946         Add nptl-aeabi_unwind_cpp_pr1.
18947         [$(subdir) = nptl] (tests): Filter out tst-cleanupx4.
18948         * sysdeps/unix/sysv/linux/arm/nptl/Makefile: File removed.
18949         * sysdeps/unix/sysv/linux/arm/nptl/rt-aeabi_unwind_cpp_pr1.c: Move ...
18950         * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
18951         * sysdeps/unix/sysv/linux/arm/nptl/nptl-aeabi_unwind_cpp_pr1.c: Move ...
18952         * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
18954         * sysdeps/unix/sysv/linux/arm/configure.ac: Force -fexceptions here.
18955         * sysdeps/unix/sysv/linux/arm/configure: Regenerated.
18956         * sysdeps/unix/sysv/linux/arm/nptl/configure.ac: File removed.
18957         * sysdeps/unix/sysv/linux/arm/nptl/configure: File removed.
18959         * sysdeps/unix/sysv/linux/arm/clone.S: Include <tcb-offsets.h>.
18960         Deconditionalize the code that was previously under [RESET_PID].
18961         * sysdeps/unix/sysv/linux/arm/nptl/clone.S: File removed.
18963         * sysdeps/generic/exit-thread.h: New file.
18964         * sysdeps/unix/sysv/linux/exit-thread.h: New file.
18965         * include/unistd.h (__exit_thread): Remove declaration.
18966         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Drop exit-thread.
18967         * sysdeps/unix/sysv/linux/exit-thread.S: File removed.
18968         * csu/libc-start.c: Include <exit-thread.h>.
18969         (LIBC_START_MAIN): Pass no argument to __exit_thread.
18970         * nptl/pthread_create.c: Include <exit-thread.h>.
18971         (start_thread): Call __exit_thread in place of __exit_thread_inline.
18972         * nptl/sysdeps/i386/pthreaddef.h (__exit_thread_inline): Macro removed.
18973         * nptl/sysdeps/powerpc/pthreaddef.h: Likewise.
18974         * nptl/sysdeps/s390/pthreaddef.h: Likewise.
18975         * nptl/sysdeps/sh/pthreaddef.h: Likewise.
18976         * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Likewise.
18977         * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Likewise.
18978         * nptl/sysdeps/x86_64/pthreaddef.h: Likewise.
18979         * sysdeps/aarch64/nptl/pthreaddef.h: Likewise.
18980         * sysdeps/alpha/nptl/pthreaddef.h: Likewise.
18981         * sysdeps/arm/nptl/pthreaddef.h: Likewise.
18982         * sysdeps/hppa/nptl/pthreaddef.h: Likewise.
18983         * sysdeps/ia64/nptl/pthreaddef.h: Likewise.
18984         * sysdeps/m68k/nptl/pthreaddef.h: Likewise.
18985         * sysdeps/microblaze/nptl/pthreaddef.h: Likewise.
18986         * sysdeps/mips/nptl/pthreaddef.h: Likewise.
18987         * sysdeps/tile/nptl/pthreaddef.h: Likewise.
18989 2014-05-13  Andreas Schwab  <schwab@suse.de>
18991         * sysdeps/unix/grantpt.c (grantpt): Fix typo in assertion.
18993 2014-05-12  Joseph Myers  <joseph@codesourcery.com>
18995         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
18996         (__ASSUME_UTIMES): Do not condition on kernel version.
18997         (__ASSUME_PSELECT): Define unconditionally.
18998         (__ASSUME_PPOLL): Likewise.
18999         (__ASSUME_ATFCTS): Likewise.
19000         (__ASSUME_SET_ROBUST_LIST): Do not condition on kernel version.
19001         (__ASSUME_COMPLETE_READV_WRITEV): Define unconditionally.
19002         (__ASSUME_FUTEX_LOCK_PI): Do not condition on kernel version.
19003         (__ASSUME_UTIMENSAT): Define unconditionally.
19004         (__ASSUME_PRIVATE_FUTEX): Likewise.
19005         (__ASSUME_FALLOCATE): Likewise.
19006         (__ASSUME_O_CLOEXEC): Likewise.
19007         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Remove.
19008         (__ASSUME_ARG_MAX_STACK_BASED): Likewise.
19009         (__ASSUME_ADJ_OFFSET_SS_READ): Define unconditionally.
19010         (__ASSUME_SOCK_CLOEXEC): Do not condition on kernel version.
19011         (__ASSUME_IN_NONBLOCK): Likewise.
19012         (__ASSUME_PIPE2): Likewise.
19013         (__ASSUME_EVENTFD2): Likewise.
19014         (__ASSUME_SIGNALFD4): Likewise.
19015         (__ASSUME_DUP3): Likewise.
19016         [__x86_64__ || __sparc__] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
19017         (__ASSUME_FUTEX_CLOCK_REALTIME): Define unconditionally.
19018         (__ASSUME_AT_RANDOM): Likewise.
19019         (__ASSUME_PREADV): Likewise.
19020         (__ASSUME_PWRITEV): Likewise.
19021         (__ASSUME_REQUEUE_PI): Do not condition on kernel version.
19022         (__ASSUME_F_GETOWN_EX): Define unconditionally.
19023         (__ASSUME_XFS_RESTRICTED_CHOWN): Likewise.
19024         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
19025         [!__ASSUME_ARG_MAX_STACK_BASED]: Remove conditional code.
19026         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
19027         (__ASSUME_O_CLOEXEC): Define unconditionally.
19028         (__ASSUME_PSELECT): Do not undefine conditionally.
19029         (__ASSUME_PPOLL): Likewise.
19030         (__ASSUME_ATFCTS): Likewise.
19031         (__ASSUME_SET_ROBUST_LIST): Likewise.
19032         (__ASSUME_UTIMENSAT): Likewise.
19033         (__ASSUME_FDATASYNC): Define unconditionally.
19034         * sysdeps/unix/sysv/linux/arm/kernel-features.h
19035         (__ASSUME_SIGFRAME_V2): Likewise.
19036         )__ASSUME_EVENTFD2): Likewise.
19037         (__ASSUME_SIGNALFD4): Likewise.
19038         (__ASSUME_PSELECT): Do not undefine conditionally.
19039         (__ASSUME_PPOLL): Likewise.
19040         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
19041         (__ASSUME_PSELECT): Define unconditionally.
19042         (__ASSUME_PPOLL): Likewise.
19043         (__ASSUME_O_CLOEXEC): Likewise.
19044         (__ASSUME_SOCK_CLOEXEC): Likewise.
19045         (__ASSUME_IN_NONBLOCK): Likewise.
19046         (__ASSUME_PIPE2): Likewise.
19047         (__ASSUME_EVENTFD2): Likewise.
19048         (__ASSUME_SIGNALFD4): Likewise.
19049         (__ASSUME_DUP3): Likewise.
19050         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
19051         (__ASSUME_O_CLOEXEC): Likewise.
19052         (__ASSUME_SOCK_CLOEXEC): Likewise.
19053         (__ASSUME_IN_NONBLOCK): Likewise.
19054         (__ASSUME_PIPE2): Likewise.
19055         (__ASSUME_EVENTFD2): Likewise.
19056         (__ASSUME_SIGNALFD4): Likewise.
19057         (__ASSUME_DUP3): Likewise.
19058         * sysdeps/unix/sysv/linux/mips/kernel-features.h
19059         (__ASSUME_EVENTFD2): Likewise.
19060         (__ASSUME_SIGNALFD4): Likewise.
19061         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
19063 2014-05-12  Andreas Schwab  <schwab@suse.de>
19065         [BZ #16932]
19066         * nis/nss_nis/nis-hosts.c (internal_gethostbyname2_r)
19067         (_nss_nis_gethostbyname4_r): Return error if item length is larger
19068         than maximum RPC packet size.
19069         * nis/nss_nis/nis-initgroups.c (initgroups_netid): Likewise.
19070         * nis/nss_nis/nis-network.c (_nss_nis_getnetbyname_r): Likewise.
19071         * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r)
19072         (_nss_nis_getservbyport_r): Likewise.
19074 2014-05-12  Will Newton  <will.newton@linaro.org>
19076         * malloc/Makefile (tests): Add tst-mallopt.
19077         * malloc/tst-mallopt.c: New file.
19079 2014-05-09  Roland McGrath  <roland@hack.frob.com>
19081         * sysdeps/arm/armv7/strcmp.S: Use sfi_breg prefix on loads not from sp.
19082         [NO_THUMB]: Cope without cbz, cnbz, and orn instructions.
19084 2014-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19086         * elf/Makefile (tst-tlsmod5.so): Add $(no-as-needed).
19087         (tst-tlsmod6.so): Likewise.
19089 2014-05-09  Roland McGrath  <roland@hack.frob.com>
19091         * sysdeps/gnu/unwind-resume.c (libgcc_s_resume): Mark as noreturn.
19093 2014-05-09  Joseph Myers  <joseph@codesourcery.com>
19095         [BZ #16064]
19096         * sysdeps/i386/fpu/fegetenv.c: Include <unistd.h>, <ldsodefs.h>
19097         and <dl-procinfo.h>.
19098         (__fegetenv): Save SSE state in envp->__eip if supported.
19099         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Save SSE state in
19100         envp->__eip if supported.
19101         * sysdeps/i386/fpu/fesetenv.c: Include <unistd.h>, <ldsodefs.h>
19102         and <dl-procinfo.h>.
19103         (__fesetenv): Always set __eip, __cs_selector, __opcode,
19104         __data_offset and __data_selector in environment to 0.  Set SSE
19105         state if supported.
19106         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
19107         test-fenv-sse.
19108         [$(subdir) = math] (CFLAGS-test-fenv-sse.c): Add -msse2
19109         -mfpmath=sse.
19110         * sysdeps/x86/fpu/test-fenv-sse.c: New file.
19112 2014-05-09  Will Newton  <will.newton@linaro.org>
19114         * sysdeps/arm/preconfigure.ac: Set libc_commonpagesize
19115         and libc_relro_required for ARM.
19116         * sysdeps/arm/preconfigure: Regenerate.
19118 2014-05-09  Dominik Vogt  <vogt@linux.vnet.ibm.com>
19119             Stefan Liebler  <stli@linux.vnet.ibm.com>
19121         * config.make.in (enable-lock-elision): New Makefile variable.
19122         * configure.ac: Likewise.
19123         * configure: Regenerate.
19124         * sysdeps/s390/configure.ac:
19125         Add check for gcc transactions support.
19126         * sysdeps/s390/configure: Regenerate.
19127         * nptl/sysdeps/unix/sysv/linux/s390/Makefile: New file.
19128         Build elision files if enabled.
19129         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: New file.
19130         Add lock elision support for s390.
19131         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
19132         * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Likewise.
19133         * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Likewise.
19134         * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
19135         * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
19136         * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
19137         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
19138         Likewise.
19139         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c:
19140         Likewise.
19141         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c:
19142         Likewise.
19143         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c:
19144         Likewise.
19145         * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h:
19146         (__lll_timedlock_elision, __lll_lock_elision)
19147         (__lll_unlock_elision, __lll_trylock_elision)
19148         (lll_timedlock_elision, lll_lock_elision)
19149         (lll_unlock_elision, lll_trylock_elision): Add.
19150         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
19151         (pthread_mutex_t): Add lock elision support for s390.
19153 2014-05-14  Wilco  <wdijkstr@arm.com>
19155         * sysdeps/arm/fclrexcpt.c: Cleanup.
19156         * sysdeps/arm/fedisblxcpt.c: Cleanup.
19157         * sysdeps/arm/feenablxcpt.c: Cleanup.
19158         * sysdeps/arm/fegetenv.c: Cleanup.
19159         * sysdeps/arm/fegetexcept.c: Cleanup.
19160         * sysdeps/arm/fegetround.c: Cleanup.
19161         * sysdeps/arm/feholdexcpt.c: Cleanup.
19162         * sysdeps/arm/fesetenv.c: Cleanup.
19163         * sysdeps/arm/fesetround.c: Cleanup.
19164         * sysdeps/arm/feupdateenv.c: Cleanup.
19165         * sysdeps/arm/fgetexcptflg.c: Cleanup.
19166         * sysdeps/arm/fraiseexcpt.c: Cleanup.
19167         * sysdeps/arm/fsetexcptflg.c: Cleanup.
19168         * sysdeps/arm/ftestexcept.c: Cleanup.
19169         * sysdeps/arm/get-rounding-mode.h: Cleanup.
19170         * sysdeps/arm/setfpucw.c: Cleanup.
19172 2014-05-09  Will Newton  <will.newton@linaro.org>
19174         * sysdeps/arm/armv7/strcmp.S: New file.
19175         * NEWS: Mention addition of ARMv7 optimized strcmp.
19177 2014-05-08  Roland McGrath  <roland@hack.frob.com>
19179         * Makeconfig ($(common-objpfx)config.status): Fix patsubst uses to
19180         look for %.ac rather than %.in.
19182         * sysdeps/mach/hurd/configure.ac (inhibit_glue): Remove variable.
19183         * sysdeps/unix/sysv/linux/configure.ac: Likewise.
19184         * sysdeps/mach/hurd/configure: Regenerated.
19185         * sysdeps/unix/sysv/linux/configure: Regenerated.
19187         * bits/utsname.h (_UTSNAME_DOMAIN_LENGTH): New macro, set to 0.
19189 2014-05-07  Steve Ellcey  <sellcey@mips.com>
19191         [BZ# 16922]
19192         * sysdeps/mips/sys/asm.h (INT_SUB): Fix definition.
19193         (LONG_SUB): Ditto.
19194         (PTR_SUB): Ditto.
19196 2014-05-07  Andreas Schwab  <schwab@suse.de>
19198         * sysdeps/posix/getaddrinfo.c (gaih_inet): Advance address pointer
19199         when skipping over non-matching result from nscd.
19201 2014-05-07  Ondřej Bílka  <neleai@seznam.cz>
19203         [BZ #16876]
19204         * nptl/sockperf.c (client): Check socket return value.
19206         [BZ #16877]
19207         * nscd/selinux.c (nscd_request_avc_has_perm): Check if there is
19208         nscd security class.
19210 2014-05-06  Roland McGrath  <roland@hack.frob.com>
19212         * sysdeps/unix/sysv/linux/arm/nptl/unwind.h: File moved to ...
19213         * sysdeps/arm/unwind.h: ... here.
19215 2014-05-06  Aurelien Jarno  <aurelien@aurel32.net>
19217         [BZ# 16916]
19218         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h (EFD_SEMAPHORE):
19219         Define.
19221 2014-05-06  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
19223         * sysdeps/powerpc/powerpc64/power7/strncpy.S: New file: Optimization.
19224         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: New file:
19225         multiarch strncpy for PPC64.
19226         * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: New file
19227         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: New file
19228         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpcpy, stpncpy
19229         multiarch optimizations.
19230         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
19231         (__libc_ifunc_impl_list): Likewise.
19232         * sysdeps/powerpc/powerpc64/power7/stpncpy.S: New file: Optimization.
19233         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: New file:
19234         multiarch stpncpy for PPC64.
19235         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-ppc64.c: New file
19236         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: New file
19238 2014-05-06  Andreas Schwab  <schwab@suse.de>
19240         [BZ #16912]
19241         * gmon/mcount.c (_MCOUNT_DECL): Use
19242         atomic_compare_and_exchange_bool_acq instead of
19243         catomic_compare_and_exchange_bool_acq.
19245 2014-05-05  Roland McGrath  <roland@hack.frob.com>
19247         * elf/Makefile (others, install-bin): Remove pldd.
19248         (pldd-modules): Variable removed.
19249         ($(objpfx)pldd): Target removed.
19250         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = elf]
19251         (others, install-bin): Append pldd here.
19252         ($(objpfx)pldd): New target.
19254         * sysdeps/gnu/errlist.awk (BEGIN): Emit an initial #define of ERR_MAX
19255         to 0, so the first #if test emitted later doesn't see it undefined.
19256         (END): Emit "!defined ERRLIST_NO_COMPAT" to match what BEGIN does.
19257         * sysdeps/gnu/errlist.c: Regenerated.
19259 2014-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19261         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
19262         [libc_hidden_builtin_def]: Define to empty value.
19263         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S:
19264         [libc_hidden_builtin_def]: Likewise.
19265         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S:
19266         [libc_hidden_builtin_def]: Likewise.
19267         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S:
19268         [libc_hidden_builtin_def]: Likewise.
19269         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c (memcpy): Redefined to
19270         __redirect_memcpy and define ifunc as default hidden symbol.
19271         * sysdeps/powerpc/powerpc64/multiarch/memset.c (memset): Likewise.
19272         * sysdeps/powerpc/powerpc64/multiarch/strlen.c (strlen): Likewise.
19274 2014-05-04  Adam Conrad  <adconrad@0c3.net>
19276         * locale/iso-4217.def: Reintroduce XDR currency.
19278 2014-05-04  Allan McRae  <allan@archlinux.org>
19280         * po/eo.po: Update Esperanto translation from translation project.
19282 2014-05-02  Carlos O'Donell  <carlos@redhat.com>
19284         * sysdeps/x86_64/multiarch/init-arch.h: Define FEATURE_INDEX_1 to 0,
19285         and FEATURE_INDEX_MAX to 1.
19286         [!__ASSEMBLER__]: Remove anonymous enum for FEATURE_INDEX_*.
19288 2014-05-01  Steve Ellcey  <sellcey@mips.com>
19290         * iconvdata/ansi_x3.110.c (ONE_DIRECTION): Define.
19291         * iconvdata/armscii-8.c (ONE_DIRECTION): Define.
19292         * iconvdata/big5.c (ONE_DIRECTION): Define.
19293         * iconvdata/big5hkscs.c (ONE_DIRECTION): Define.
19294         * iconvdata/cp1255.c (ONE_DIRECTION): Define.
19295         * iconvdata/cp1258.c (ONE_DIRECTION): Define.
19296         * iconvdata/cp932.c (ONE_DIRECTION): Define.
19297         * iconvdata/euc-cn.c (ONE_DIRECTION): Define.
19298         * iconvdata/euc-jisx0213.c (ONE_DIRECTION): Define.
19299         * iconvdata/euc-jp-ms.c (ONE_DIRECTION): Define.
19300         * iconvdata/euc-jp.c (ONE_DIRECTION): Define.
19301         * iconvdata/euc-kr.c (ONE_DIRECTION): Define.
19302         * iconvdata/euc-tw.c (ONE_DIRECTION): Define.
19303         * iconvdata/gb18030.c (ONE_DIRECTION): Define.
19304         * iconvdata/gbbig5.c (ONE_DIRECTION): Define.
19305         * iconvdata/gbgbk.c (ONE_DIRECTION): Define.
19306         * iconvdata/gbk.c (ONE_DIRECTION): Define.
19307         * iconvdata/ibm1364.c (ONE_DIRECTION): Define.
19308         * iconvdata/ibm930.c (ONE_DIRECTION): Define.
19309         * iconvdata/ibm932.c (ONE_DIRECTION): Define.
19310         * iconvdata/ibm933.c (ONE_DIRECTION): Define.
19311         * iconvdata/ibm935.c (ONE_DIRECTION): Define.
19312         * iconvdata/ibm937.c (ONE_DIRECTION): Define.
19313         * iconvdata/ibm939.c (ONE_DIRECTION): Define.
19314         * iconvdata/ibm943.c (ONE_DIRECTION): Define.
19315         * iconvdata/iso-2022-cn-ext.c (ONE_DIRECTION): Define.
19316         * iconvdata/iso-2022-cn.c (ONE_DIRECTION): Define.
19317         * iconvdata/iso-2022-jp-3.c (ONE_DIRECTION): Define.
19318         * iconvdata/iso-2022-jp.c (ONE_DIRECTION): Define.
19319         * iconvdata/iso-2022-kr.c (ONE_DIRECTION): Define.
19320         * iconvdata/iso646.c (ONE_DIRECTION): Define.
19321         * iconvdata/iso8859-1.c (ONE_DIRECTION): Define.
19322         * iconvdata/iso_11548-1.c (ONE_DIRECTION): Define.
19323         * iconvdata/iso_6937-2.c (ONE_DIRECTION): Define.
19324         * iconvdata/iso_6937.c (ONE_DIRECTION): Define.
19325         * iconvdata/johab.c (ONE_DIRECTION): Define.
19326         * iconvdata/shift_jisx0213.c (ONE_DIRECTION): Define.
19327         * iconvdata/sjis.c (ONE_DIRECTION): Define.
19328         * iconvdata/t.61.c (ONE_DIRECTION): Define.
19329         * iconvdata/tcvn5712-1.c (ONE_DIRECTION): Define.
19330         * iconvdata/tscii.c (ONE_DIRECTION): Define.
19331         * iconvdata/uhc.c (ONE_DIRECTION): Define.
19332         * iconvdata/unicode.c (ONE_DIRECTION): Define.
19333         * iconvdata/utf-16.c (ONE_DIRECTION): Define.
19334         * iconvdata/utf-32.c (ONE_DIRECTION): Define.
19335         * iconvdata/utf-7.c (ONE_DIRECTION): Define.
19337 2014-05-01  Roland McGrath  <roland@hack.frob.com>
19339         * libio/libioP.h [!_IO_USE_OLD_IO_FILE && !_G_IO_NO_BACKWARD_COMPAT]
19340         (_IO_JUMPS_OFFSET): Define to 0.
19342         * nptl/sysdeps/pthread/bits/libc-lock.h
19343         [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
19344         (__libc_lock_define_initialized_recursive): Always define using
19345         initializer.  Modern compilers treat uninitialized (implicit zero) and
19346         explicit zero initializers the same (i.e. put the datum in bss).
19348 2014-05-01  Andreas Schwab  <schwab@linux-m68k.org>
19350         * nscd/nscd-client.h: Include <string.h>.
19352 2014-05-01  David S. Miller  <davem@davemloft.net>
19354         [BZ #16885]
19355         * sysdeps/sparc/sparc64/strcmp.S: Fix end comparison handling when
19356         multiple zero bytes exist at the end of a string.
19357         Reported by Aurelien Jarno <aurelien@aurel32.net>
19359         * string/test-strcmp.c (check): Add explicit test for situations where
19360         there are multiple zero bytes after the first.
19362 2014-05-01  Andreas Schwab  <schwab@linux-m68k.org>
19364         [BZ #16890]
19365         * stdio-common/vfprintf.c (process_arg) [%p]: Mark string as wide
19366         when compiling wprintf.
19367         * stdio-common/tstdiomisc.c (t3): New function.
19368         (main): Call it.
19370 2014-05-01  Steve Ellcey  <sellcey@mips.com>
19372         * intl/iconv/skeleton.c (ONE_DIRECTION): Remove define.
19373         * iconv/gconv_simple.c (ONE_DIRECTION): Define.
19374         * iconvdata/8bit-gap.c (ONE_DIRECTION): Ditto.
19375         * iconvdata/8bit-generic.c (ONE_DIRECTION): Ditto.
19377 2014-05-01  Steve Ellcey  <sellcey@mips.com>
19379         * stdlib/longlong.h: Updated from GCC.
19381 2014-05-01  Will Newton  <will.newton@linaro.org>
19382             Bernard Ogden  <bernie.ogden@linaro.org>
19384         * NEWS: Update fixed bug list.
19386         [BZ #15119]
19387         * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.c: Remove file.
19389 2014-04-30  David S. Miller  <davem@davemloft.net>
19391         * sysdeps/sparc/fpu/fenv_private.h (HAVE_RM_CTX): Define.
19392         (libc_feholdexcept_setround_sparc_ctx): New function.
19393         (libc_fesetenv_sparc_ctx): Likewise.
19394         (libc_feupdateenv_sparc_ctx): Likewise.
19395         (libc_feholdsetround_sparc_ctx): Likewise.
19396         (libc_feholdexcept_setround_ctx): Define.
19397         (libc_feholdexcept_setroundf_ctx): Likewise.
19398         (libc_feholdexcept_setroundl_ctx): Likewise.
19399         (libc_fesetenv_ctx): Likewise.
19400         (libc_fesetenvf_ctx): Likewise.
19401         (libc_fesetenvl_ctx): Likewise.
19402         (libc_feupdateenv_ctx): Likewise.
19403         (libc_feupdateenvf_ctx): Likewise.
19404         (libc_feupdateenvl_ctx): Likewise.
19405         (libc_feresetround_ctx): Likewise.
19406         (libc_feresetroundf_ctx): Likewise.
19407         (libc_feresetroundl_ctx): Likewise.
19408         (libc_feholdsetround_ctx): Likewise.
19409         (libc_feholdsetroundf_ctx): Likewise.
19410         (libc_feholdsetroundl_ctx): Likewise.
19412         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
19413         with __USE_GNU instead of XOPEN cpp guards.
19415         * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Define to
19416         0.
19418         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
19419         with XOPEN cpp guards.
19421 2014-04-30  Julian Brown  <julian@codesourcery.com>
19423         [BZ #16888]
19424         * sysdeps/arm/dl-machine.h (elf_machine_rela): Fix R_ARM_IRELATIVE
19425         handling.
19427 2014-04-30  Joseph Myers  <joseph@codesourcery.com>
19429         [BZ #9894]
19430         * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
19431         Change to 2.6.32.
19432         (arch_minimum_kernel): Change all 2.6.16 settings to 2.6.32.
19433         * sysdeps/unix/sysv/linux/configure: Regenerated.
19434         * sysdeps/unix/sysv/linux/microblaze/configure.ac: Remove file.
19435         * sysdeps/unix/sysv/linux/microblaze/configure: Likewise.
19436         * sysdeps/unix/sysv/linux/tile/configure.ac: Likewise.
19437         * sysdeps/unix/sysv/linux/tile/configure: Likewise.
19438         * README: Update reference to required Linux kernel version.
19439         * manual/install.texi (Linux): Update reference to required Linux
19440         kernel headers version.
19441         * INSTALL: Regenerated.
19443         * conform/data/stdlib.h-data [POSIX] (stddef.h): Do not allow
19444         header inclusion.
19445         [POSIX] (limits.h): Likewise.
19446         [POSIX] (math.h): Likewise.
19447         [POSIX] (sys/wait.h): Likewise.
19448         * conform/data/string.h-data [POSIX || UNIX98] (strtok_r): Require
19449         function.
19450         [POSIX] (stddef.h): Do not allow header inclusion.
19452 2014-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19454         * sysdeps/generic/symbol-hacks.h (memcpy): Add internal alias.
19456 2014-04-30  Yang Yingliang  <yangyingliang@huawei.com>
19458         * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
19459         Return immediately after lll_futex_wake.
19461 2014-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
19463         [BZ #16791]
19464         * nscd/nscd-client.h (datahead_init_common): Initialize entire
19465         structure.
19466         (datahead_init_pos): Call datahead_init_common early.
19467         (datahead_init_neg): Likewise.
19469         * nscd/nscd-client.h (datahead_init_common, datahead_init_pos,
19470         datahead_init_neg): New functions.
19471         * nscd/aicache.c (addhstaiX): Use them.
19472         * nscd/grpcache.c (cache_addgr): Likewise.
19473         * nscd/hstcache.c (cache_addhst): Likewise.
19474         * nscd/initgrcache.c (addinitgroupsX): Likewise.
19475         * nscd/netgroupcache.c (do_notfound): Likewise.
19476         (addgetnetgrentX): Likewise.
19477         (addinnetgrX): Likewise.
19478         * nscd/pwdcache.c (cache_addpw): Likewise.
19479         * nscd/servicescache.c (cache_addserv): Likewise.
19481 2014-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
19482             Atsushi Onoe  <atsushi@onoe.org>
19484         [BZ #14308]
19485         [BZ #12994]
19486         [BZ #13651]
19487         * resolv/res_query.c (__libc_res_nsearch): Return if at least
19488         one response is valid.
19489         * resolv/res_send.c (send_dg): Check for validity of other
19490         response if the current response is a referral.
19492 2014-04-29  Steve Ellcey  <sellcey@mips.com>
19494         * iconv/skeleton.c (ONE_DIRECTION): Set default value if not set.
19496 2014-04-29  Stefan Liebler  <stli@linux.vnet.ibm.com>
19498         [BZ #16823]
19499         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl):
19500         Always divide by positive zero when computing -Inf result.
19501         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
19502         * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
19504 2014-04-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19506         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Do not update
19507         FPSCR if value do not change.
19508         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
19509         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Likewise.
19510         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
19511         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
19512         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Likewise.
19513         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_reg_to_exceptions): New helper
19514         function.
19516 2014-05-29  Carlos O'Donell  <carlos@systemhalted.org>
19518         * sysdeps/hppa: Move directory from ports/sysdeps/hppa.
19519         * sysdeps/unix/sysv/linux/hppa: Move directory from
19520         ports/systeps/unix/sysv/linux/hppa.
19521         * README: Update listing for hppa-*-linux-gnu.
19523 2014-04-28  Ondřej Bílka  <neleai@seznam.cz>
19525         [BZ #16754]
19526         * manual/stdio.texi (Hook functions): Fix types of stream hook
19527         functions.
19528         [BZ #16854]
19529         * socket/sys/socket.h: Fix typo in comment.
19531 2014-04-28  Wilco  <wdijkstr@arm.com>
19533         * sysdeps/arm/fenv_private.h: New file.
19534         * sysdeps/arm/math_private.h: New file.
19535         * sysdeps/arm/fpu_control.h: Add _FPU_MASK_NCZV and _FPU_MASK_EXCEPT.
19537 2014-04-25  H.J. Lu  <hongjiu.lu@intel.com>
19539         * sysdeps/x86/bits/link.h (La_x86_64_regs): Replace __int128
19540         with __int128_t.
19541         (La_x86_64_retval): Likewise.
19543 2014-04-24  Ian Bolton  <ian.bolton@arm.com>
19545         * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept): Don't write to
19546         fpsr if value didn't change.
19547         * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept): Don't write
19548         to fpcr if value didn't change.
19549         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Likewise.
19550         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Don't write to
19551         fpsr or fpcr if value didn't change.
19552         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
19553         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Don't write to
19554         fpcr if value didn't change.
19555         * sysdeps/aarch64/fpu/fsetexcptflg.c (fesetexceptflag): Don't write
19556         to fpsr if value didn't change.
19558 2014-02-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
19560         * nptl/tst-sem3.c: Use test-skeleton.c
19561         (main): Rename to do_test.  Use return instead of
19562         exit.
19563         * nptl/tst-sem4.c: Use test-skeleton.c
19564         (main): Rename to do_test.
19566 2014-04-22  David S. Miller  <davem@davemloft.net>
19568         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
19569         (struct sigaction): New struct member __glibc_reserved0, change
19570         type of sa_flags to int.
19572 2014-04-22  Yufeng Zhang  <yufeng.zhang@arm.com>
19574         * stdlib/longlong.h (count_leading_zeros, count_trailing_zeros)
19575         (COUNT_LEADING_ZEROS_0): Define for AArch64.
19577 2014-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
19579         * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Include atomic.h.
19580         * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Likewise.
19582 2014-04-22  Will Newton  <will.newton@linaro.org>
19583             Venkataramanan Kumar  <venkataramanan.kumar@linaro.org>
19585         * sysdeps/aarch64/__longjmp.S: Include stap-probe.h.
19586         (__longjmp): Add longjmp and longjmp_target SystemTap
19587         probes.
19588         * sysdeps/aarch64/setjmp.S: Include stap-probe.h.
19589         (__sigsetjmp): Add setjmp SystemTap probe.
19591 2014-04-17  Carlos O'Donell  <carlos@redhat.com>
19593         * manual/intro.texi (Roadmap to the manual): Sort chapter listing to
19594         match manual order.
19596 2014-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19598         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_once.c: Remove file.
19600         * sysdeps/powerpc/fpu/fenv_private.h
19601         (libc_feholdexcept_setroundl_ctx): Define to
19602         libc_feholdexcept_setround_ppc_ctx.
19603         (libc_fesetenvl_ctx): Define to libc_fesetenv_ppc_ctx.
19604         (libc_feholdsetroundl_ctx): Define to libc_feholdsetround_ppc_ctx.
19605         (libc_feresetroundl_ctx): Define to libc_feresetround_ppc_ctx.
19606         (libc_feupdateenvl_ctx): libc_feupdateenv_ppc_ctx.
19608 2014-04-17  Ian Bolton  <ian.bolton@arm.com>
19610         * sysdeps/aarch64/math-tests.h: New file.
19612 2014-04-17  Sihai Yao  <sihai.ysh@alibaba-inc.com>
19614         * sysdeps/x86_64/multiarch/ifunc-defines.sym (COMMON_CPUID_INDEX_7):
19615         New.
19616         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
19617         Check and set bit_AVX2_Usable.
19618         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX2_Usable): New
19619         macro.
19620         (bit_AVX2): Likewise.
19621         (index_AVX2_Usable): Likewise.
19622         (CPUID_AVX2): Likewise.
19623         (HAS_AVX2): Likewise.
19625 2014-04-17  Will Newton  <will.newton@linaro.org>
19627         * manual/setjmp.texi (System V contexts): Add note that
19628         calling setcontext on a context created by a call to a
19629         signal handler is undefined.  Update text to note that
19630         setcontext from a signal handler is possible but not
19631         recommended.
19633         [BZ #16629]
19634         * stdlib/tst-setcontext.c: Include signal.h.
19635         (main): Check that the signal stack before and
19636         after swapcontext is the same.
19638         * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext):
19639         Re-implement to restore registers in user code and avoid
19640         rt_sigreturn system call.
19642 2014-04-17  Wilco  <wdijkstr@arm.com>
19644         * sysdeps/arm/math-tests.h: New file: Set ARM math-test settings.
19645         * sysdeps/generic/math-tests.h: Add macro (EXCEPTION_ENABLE_SUPPORTED).
19646         * math/test-fenv.c: Skip exception trap tests on targets which only
19647         support non-stop mode.
19649 2014-04-17  Ian Bolton  <ian.bolton@arm.com>
19650             Wilco Dijkstra  <wilco.dijkstra@arm.com>
19652         * sysdeps/aarch64/fpu/math_private.h (HAVE_RM_CTX)
19653         (libc_feholdsetround_aarch64_ctx)
19654         (libc_feholdsetround_ctx, libc_feholdsetroundf_ctx)
19655         (libc_feholdsetroundl_ctx, libc_feresetround_aarch64_ctx)
19656         (libc_feresetround_ctx, libc_feresetroundf_ctx)
19657         (libc_feresetroundl_ctx, libc_feresetround_noex_aarch64_ctx)
19658         (libc_feresetround_noex_ctx, libc_feresetround_noexf_ctx)
19659         (libc_feresetround_noexl_ctx): Define.
19661 2014-04-16  Richard Henderson  <rth@redhat.com>
19663         * sysdeps/unix/sysv/linux/alpha/nptl/pthread_once.c: Remove.
19665         * sysdeps/alpha/Makefile [debug] (CFLAGS-backtrace.c): Enable
19666         unwind tables.
19668         * sysdeps/unix/alpha/sysdep.h (__pointer_chk_guard): Remove
19669         const from the non-libc, non-ldso copy.
19671         * sysdeps/alpha/libm-test-ulps: Regenerate.
19673 2014-04-16  Ian Bolton  <ian.bolton@arm.com>
19674             Wilco Dijkstra  <wilco.dijkstra@arm.com>
19676         * sysdeps/aarch64/fpu/math_private.h: New file.
19678 2014-04-16  Marcus Shawcroft  <marcus.shawcroft@arm.com>
19680         * sysdeps/aarch64/libm-test-ulps: Regenerate.
19682 2014-04-16  Igor Zamyatin  <igor.zamyatin@intel.com>
19684         [BZ #16275]
19685         * sysdeps/x86_64/bits/link.h (La_x86_64_regs): Add lr_bnd.
19686         (La_x86_64_retval): Add lrv_bnd0 and lrv_bnd1.
19687         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Save
19688         Intel MPX bound registers before _dl_profile_fixup.
19689         * sysdeps/x86_64/dl-trampoline.h: Restore Intel MPX bound
19690         registers after _dl_profile_fixup.  Save and restore bound
19691         registers bnd0/bnd1 when calling _dl_call_pltexit.
19692         * sysdeps/x86_64/link-defines.sym (BND_SIZE): New.
19693         (LR_BND_OFFSET): Likewise.
19694         (LRV_BND0_OFFSET): Likewise.
19695         (LRV_BND1_OFFSET): Likewise.
19697 2014-04-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
19699         * sysdeps/mach/hurd/tls.h (dtv, dtv_t, tcbhead_t): Move declarations
19700         to...
19701         * sysdeps/mach/hurd/i386/tls.h: ... here.
19702         (tcbhead_t): Add multiple_threads, sysinfo, stack_guard,
19703         pointer_guard, gscope_flag, private_futex, __private_tm, __private_ss
19704         fields.
19706 2014-04-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
19708         * sysdeps/mach/munmap.c (__munmap): Return EINVAL if `addr' is 0.
19710 2014-04-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
19712         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
19714 2014-04-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
19716         [BZ #14770]
19717         * sysdeps/s390/configure.ac: Check for Binutils >= 2.24.
19718         * sysdeps/s390/configure: Regenerate.
19720         [BZ #16824]
19721         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l):
19722         Set round-to-nearest internally to reduce error accumulation.
19724 2014-04-16  Alan Modra  <amodra@gmail.com>
19726         [BZ #16740]
19727         [BZ #16619]
19728         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Rewrite.
19729         * math/libm-test.inc (frexp_test_data): Add tests.
19730         * NEWS: Update fixed bug list.
19732 2014-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
19734         * benchtests/Makefile: Depend on libraries in build directory.
19735         (bench-math): Separate out math tests.
19736         (bench-pthread): Separate out pthread tests.
19737         (bench): Include math and pthread tests.
19739 2014-04-14  Carlos O'Donell  <carlos@redhat.com>
19741         [BZ #16831]
19742         * csu/libc-start.c (LIBC_START_MAIN) [!SHARED]: Call
19743         _dl_debug_initialize.
19745         * configure.ac: Remove SELinux header check.
19746         * configure: Regenerate.
19747         * nscd/selinux.c (perms): Array of const char* to permission names.
19748         (nscd_request_avc_has_perm): Call security_deny_unknown to find
19749         default policy. Call string_to_security_class and string_to_av_perm to
19750         translate strings. Enforce default policy and call avs_has_perm with
19751         results of translated strings.
19753 2014-04-13  David S. Miller  <davem@davemloft.net>
19755         * sysdeps/sparc/fpu/libm-test-ulps: Update.
19757 2014-04-12  Allan McRae  <allan@archlinux.org>
19759         [BZ #16838]
19760         * manual/string.texi (Collation Functions): Fix qsort argument
19761         order in example.
19762         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
19764 2014-04-11  Chris Metcalf  <cmetcalf@tilera.com>
19766         * math/test-fenv-preserve.c [FE_ALL_EXCEPT == 0] (do_test):
19767         Make the test a no-op if there are no exceptions defined.
19769 2014-04-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
19771         * elf/Makefile (tests): make tst-dlopen-aout conditional on
19772         enable-hardcoded-path-in-tests
19774 2014-04-11  Will Newton  <will.newton@linaro.org>
19776         * benchtests/Makefile (extra-objs): Add json-lib.o.
19777         (bench-func): Tidy up JSON output.
19778         * benchtests/bench-skeleton.c: Include json-lib.h.
19779         (main): Use JSON library functions to do output of
19780         benchmark results.
19781         * benchtests/bench-timing-type.c (main): Output the
19782         timing type simply, leaving formatting to the user.
19783         * benchtests/json-lib.c: New file.
19784         * benchtests/json-lib.h: Likewise.
19786 2014-04-11  Torvald Riegel  <triegel@redhat.com>
19788         [BZ #15215]
19789         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_once.c: Moved to ...
19790         * nptl/sysdeps/unix/sysv/linux/pthread_once.c: ... here.  Add missing
19791         memory barriers.  Add comments.
19792         * sysdeps/unix/sysv/linux/aarch64/nptl/pthread_once.c: Remove file.
19793         * sysdeps/unix/sysv/linux/arm/nptl/pthread_once.c: Remove file.
19794         * sysdeps/unix/sysv/linux/ia64/nptl/pthread_once.c: Remove file.
19795         * sysdeps/unix/sysv/linux/m68k/nptl/pthread_once.c: Remove file.
19796         * sysdeps/unix/sysv/linux/mips/nptl/pthread_once.c: Remove file.
19797         * sysdeps/unix/sysv/linux/tile/nptl/pthread_once.c: Remove file.
19799 2014-04-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
19801         * sysdeps/s390/s390-32/configure.ac: Unify file with ...
19802         * sysdeps/s390/s390-64/configure.ac: ... this ...
19803         * sysdeps/s390/configure.ac: ... to here.
19804         * sysdeps/s390/s390-32/configure: Delete file.
19805         * sysdeps/s390/s390-64/configure: Delete file.
19806         * sysdeps/s390/configure: Regenerate.
19808 2014-04-11  Joseph Anthony Pasquale Holsten  <joseph@josephholsten.com>
19810         * resolv/res_query.c (__libc_res_nsearch): Fix typo in comment.
19812 2014-04-11  Will Newton  <will.newton@linaro.org>
19814         * malloc/malloc.c [!MALLOC_DEBUG]: #define MALLOC_DEBUG
19815         to zero if it is not defined elsewhere.  (mtrim): Test
19816         the value of MALLOC_DEBUG with #if rather than #ifdef.
19818 2014-04-10 Torvald Riegel  <triegel@redhat.com>
19820         * benchtests/pthread_once-inputs: New file.
19821         * benchtests/pthread_once-source.c: New file.
19822         * benchtests/README: Update documentation.
19824 2014-04-09  Igor Zamyatin  <igor.zamyatin@intel.com>
19825             H.J. Lu  <hongjiu.lu@intel.com>
19827         [BZ #16275]
19828         * config.h.in (HAVE_MPX_SUPPORT): New #undef.
19829         * sysdeps/x86_64/configure.ac: Set HAVE_MPX_SUPPORT.
19830         * sysdeps/x86_64/configure: Regenerated.
19831         * sysdeps/x86_64/dl-trampoline.S (REGISTER_SAVE_AREA): New
19832         macro.
19833         (REGISTER_SAVE_RAX): Likewise.
19834         (REGISTER_SAVE_RCX): Likewise.
19835         (REGISTER_SAVE_RDX): Likewise.
19836         (REGISTER_SAVE_RSI): Likewise.
19837         (REGISTER_SAVE_RDI): Likewise.
19838         (REGISTER_SAVE_R8): Likewise.
19839         (REGISTER_SAVE_R9): Likewise.
19840         (REGISTER_SAVE_BND0): Likewise.
19841         (REGISTER_SAVE_BND1): Likewise.
19842         (REGISTER_SAVE_BND2): Likewise.
19843         (_dl_runtime_resolve): Use them.  Save and restore Intel MPX
19844         bound registers when calling _dl_fixup.
19846 2014-04-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19848         * bits/string.h (_STRING_ARCH_unaligned): Define it to 0.
19849         * crypt/sha256.c (_STRING_ARCH_unaligned): Check its value instead
19850         of its definition.
19851         * iconv/gconv_simple.c (_STRING_ARCH_unaligned): Likewise.
19852         * iconv/loop.c (_STRING_ARCH_unaligned): Likewise.
19853         * iconv/skeleton.c (_STRING_ARCH_unaligned): Likewise.
19854         * nscd/nscd_gethst_r.c (_STRING_ARCH_unaligned): Likewise.
19855         * nscd/nscd_getserv_r.c (_STRING_ARCH_unaligned): Likewise.
19856         * nscd/nscd_helper.c (_STRING_ARCH_unaligned): Likewise.
19857         * resolv/res_send.c (_STRING_ARCH_unaligned): Likewise.
19859 2014-04-09  Peter Brett  <peter@peter-b.co.uk>
19861         [BZ #15514]
19862         * sysdeps/posix/pathconf.c (__pathconf): Use statvfs64() for
19863         pathconf(_PC_NAME_MAX).
19865 2014-04-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19867         * nptl/sysdeps/pthread/pthread.h (__PTHREAD_MUTEX_HAVE_ELISION):
19868         Remove macro usage.
19869         (__PTHREAD_SPINS): Move definition to ...
19870         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
19871         (__PTHREAD_SPINS): ... here.
19872         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
19873         (__PTHREAD_SPIN): Likewise.
19874         * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h
19875         (__PTHREAD_SPIN): Likewise.
19876         * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h
19877         (__PTHREAD_SPIN): Likewise.
19878         * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h
19879         (__PTHREAD_SPIN): Likewise.
19880         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
19881         (__PTHREAD_SPIN): Likewise.
19882         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
19883         (__PTHREAD_SPIN): Likewise.
19884         * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h
19885         (__PTHREAD_SPIN): Likewise.
19886         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
19887         (__PTHREAD_SPIN): Likewise.
19888         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
19889         (__PTHREAD_SPIN): Likewise.
19890         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
19891         (__PTHREAD_SPIN): Likewise.
19892         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
19893         (__PTHREAD_SPIN): Likewise.
19894         * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h
19895         (__PTHREAD_SPIN): Likewise.
19897         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: New file.
19898         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: new file.
19899         * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: New file.
19900         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove multiarch
19901         imply folder.
19902         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
19903         * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
19904         * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
19905         * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Adjust
19906         correct imply path.
19907         * sysdeps/powerpc/powerpc64/power7/strncat.S (STRLEN): Define correct
19908         strlen symbol for non multi-arch builds.
19909         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (__isnan): Add
19910         missing hidden_def and weak_alias.
19912 2014-04-08  Carlos O'Donell  <carlos@redhat.com>
19914         * manual/ipc.texi (sem_close): AC-unsafe because of aculock.
19916 2014-04-07  Will Newton  <will.newton@linaro.org>
19918         * string/basename.c [HAVE_CONFIG_H]: Remove #ifdef and
19919         and contents.  [!_LIBC] Remove #ifndef and contents.
19920         (basename): Use ANSI prototype.  [_LIBC] Remove #idef.
19921         * string/memccpy.c (__memccpy): Use ANSI prototype.
19922         * string/memfrob.c (memfrob): Likewise.
19923         * string/strcoll.c (STRCOLL): Likewise.
19924         * string/strlen.c (strlen): Likewise.
19925         * string/strtok.c (STRTOK): Likewise.
19926         * string/strcat.c: Remove unused #include of memcopy.h.
19927         (strcat): Use ANSI prototype.
19928         * string/strchr.c: Remove unused #include of memcopy.h.
19929         (strchr): Use ANSI prototype.
19930         * string/strcmp.c: Remove unused #include of memcopy.h.
19931         (strcmp): Use ANSI prototype.
19932         * string/strcpy.c: Remove unused #include of memcopy.h.
19933         (strcpy): Use ANSI prototype.
19935 2014-04-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19937         * Makeconfig (CPPFLAGS): Add config-extra-cppflags to list.
19938         * config.make.in (config-extra-cppflags): Set it from
19939         libc_extra_cppflags.
19940         * configure.ac (libc_extra_cflags): Make it accumulate over
19941         configure fragments.
19942         (libc_extra_cppflags): New flag.
19943         * configure. Regenerate.
19944         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
19945         (libc_cv_ppc64_def_call_elf): Define it to yes if compiler does
19946         not set _CALL_ELF and add -D_CALL_ELF=1 to libc_extra_cppflags.
19947         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
19949         [BZ #16815]
19950         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Fix
19951         result for FE_DOWNWARD rounding mode.
19952         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
19953         Likewise.
19954         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19956 2014-04-04  Chris Metcalf  <cmetcalf@tilera.com>
19958         * sysdeps/tile/dl-runtime.c (_dl_unmap): Fix cut-and-paste bug
19959         in function argument name.
19961 2014-04-03  David Svoboda  <svoboda@cert.org>
19963         [BZ #5666]
19964         * manual/stdio.texi (Line-Oriented Input): Document buffer allocation
19965         explicitly.
19967 2014-04-03  Roland McGrath  <roland@hack.frob.com>
19969         * elf/dl-unmap-segments.h: New file.
19970         * sysdeps/generic/ldsodefs.h
19971         (DL_UNMAP): Use _dl_unmap_segments in place of __munmap.
19972         * elf/dl-close.c: Include <dl-unmap-segments.h>.
19973         * elf/dl-fptr.c: Likewise.
19974         (_dl_unmap): Use _dl_unmap_segments in place of __munmap.
19975         * sysdeps/aarch64/tlsdesc.c: Likewise.
19976         * sysdeps/arm/tlsdesc.c: Likewise.
19977         * sysdeps/i386/tlsdesc.c: Likewise.
19978         * sysdeps/tile/dl-runtime.c: Likewise.
19979         * sysdeps/x86_64/tlsdesc.c: Likewise.
19980         * elf/dl-load.h: New file.
19981         * elf/dl-load.c: Include it.
19982         (MAP_FILE, MAP_COPY, MAP_BASE_ADDR):
19983         Macros moved to dl-load.h.
19984         (ELF_PREFERRED_ADDRESS_DATA, ELF_PREFERRED_ADDRESS): Likewise.
19985         (_dl_map_object_from_fd): Type 'struct loadcmd' moved to dl-load.h.
19986         Use _dl_unmap_segments in place of __munmap.
19987         Break out segment-mapping loop into ...
19988         * elf/dl-map-segments.h (_dl_map_segments): ... here, in new file.
19990 2014-04-03  Will Newton  <will.newton@linaro.org>
19992         * elf/dl-lookup.c (do_lookup_x): Remove comment
19993         referring to nested function and move variable
19994         declarations down to before first use.
19996 2014-04-02  Joseph Myers  <joseph@codesourcery.com>
19998         [BZ #16799]
19999         [BZ #16800]
20000         * math/s_catan.c (__catan): Avoid passing -0 denominator to atan2
20001         with 0 numerator.
20002         * math/s_catanf.c (__catanf): Likewise.
20003         * math/s_catanh.c (__catanh): Likewise.
20004         * math/s_catanhf.c (__catanhf): Likewise.
20005         * math/s_catanhl.c (__catanhl): Likewise.
20006         * math/s_catanl.c (__catanl): Likewise.
20007         * sysdeps/ieee754/flt-32/e_logf.c (__ieee754_logf): Always divide
20008         by positive zero when computing -Inf result.
20009         * math/libm-test.inc (catan_test): Use ALL_RM_TEST.
20010         (catanh_test): Likewise.
20011         * sysdeps/i386/fpu/libm-test-ulps: Update.
20012         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20014         [BZ #16789]
20015         * math/s_clog.c (__clog): Use math_force_eval to ensure underflow
20016         instead of using underflowing value in computing result.
20017         * math/s_clog10.c (__clog10): Likewise.
20018         * math/s_clog10f.c (__clog10f): Likewise.
20019         * math/s_clog10l.c (__clog10l): Likewise.
20020         * math/s_clogf.c (__clogf): Likewise.
20021         * math/s_clogl.c (__clogl): Likewise.
20022         * math/libm-test.inc (clog_test): Use ALL_RM_TEST.
20023         (clog10_test): Likewise.
20024         * sysdeps/i386/fpu/libm-test-ulps: Update.
20025         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20027 2014-04-02  Alan Modra  <amodra@gmail.com>
20029         [BZ #16739]
20030         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Correct
20031         output when value is near a power of two.  Use int64_t for lx and
20032         remove casts.  Use decimal rather than hex exponent constants.
20033         Don't use long double multiplication when double will suffice.
20034         * math/libm-test.inc (nextafter_test_data): Add tests.
20035         * NEWS: Add 16739 and 16786 to bug list.
20037         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Correct stream hint.
20039         * sysdeps/powerpc/powerpc64/start.S: Add @toc to toc symbol reference.
20041 2014-04-01  Will Newton  <will.newton@linaro.org>
20043         * benchtests/Makefile (CFLAGS-bench-ffs.c): Add
20044         -fno-builtin.  (CFLAGS-bench-ffsll.c): Likewise.
20046 2014-04-01  Florian Weimer  <fweimer@redhat.com>
20048         [BZ #13347]
20049         * nptl/nptl-init.c (sighandler_setxid): Check system call result.
20050         * nptl/tst-setuid2.c: New file.
20051         * nptl/Makefile (xtests): Add tst-setuid2.
20053 2014-04-01  Alan Modra  <amodra@gmail.com>
20055         [BZ #16786]
20056         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Don't trash stack.
20058 2014-03-31  Joseph Myers  <joseph@codesourcery.com>
20060         [BZ #6803]
20061         [BZ #6804]
20062         * math/w_scalb.c (__scalb): For non-SVID mode, check result and
20063         set errno as appropriate.
20064         * math/w_scalbf.c (__scalbf): Likewise.
20065         * math/w_scalbl.c (__scalbl): Likewise.
20066         * math/gen-libm-test.pl (parse_args): Handle ERRNO_PLUS_OFLOW,
20067         ERRNO_MINUS_OFLOW, ERRNO_PLUS_UFLOW and ERRNO_MINUS_UFLOW.
20068         * math/libm-test.inc (scalb_test_data): Add errno expectations.
20069         Add more NaN tests.
20071         [BZ #16349]
20072         * math/w_atan2.c: Include <errno.h>.
20073         (__atan2): Set errno for result underflowing to zero.
20074         * math/w_atan2f.c: Include <errno.h>.
20075         (__atan2f): Set errno for result underflowing to zero.
20076         * math/w_atan2l.c: Include <errno.h>.
20077         (__atan2l): Set errno for result underflowing to zero.
20078         * math/auto-libm-test-in: Don't allow missing errno for some atan2
20079         tests.
20080         * math/auto-libm-test-out: Regenerated.
20082 2014-03-31  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20084         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
20085         Encode instruction correctly in little endian.
20086         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
20087         Likewise.
20088         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
20089         Likewise.
20090         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
20091         Likewise.
20092         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
20093         Likewise.
20095 2014-03-31  Joseph Myers  <joseph@codesourcery.com>
20097         [BZ #9894]
20098         * sysdeps/unix/sysv/linux/kernel-features.h
20099         [__sparc__ && !__arch64__ && !__sparc_v9__]
20100         (__ASSUME_SET_ROBUST_LIST): Do not define.
20101         [__sparc__ && !__arch64__ && !__sparc_v9__]
20102         (__ASSUME_FUTEX_LOCK_PI): Likewise.
20103         [__sparc__ && !__arch64__ && !__sparc_v9__] (__ASSUME_REQUEUE_PI):
20104         Likewise.
20105         * sysdeps/unix/sysv/linux/arm/kernel-features.h
20106         (__ASSUME_FUTEX_LOCK_PI): Undefine.
20107         (__ASSUME_REQUEUE_PI): Likewise.
20108         (__ASSUME_SET_ROBUST_LIST): Likewise.
20109         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
20110         [__LINUX_KERNEL_VERSION < 0x030a00] (__ASSUME_FUTEX_LOCK_PI):
20111         Undefine.
20112         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
20113         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_FUTEX_LOCK_PI):
20114         Likewise.
20115         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_REQUEUE_PI):
20116         Likewise.
20117         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_SET_ROBUST_LIST):
20118         Likewise.
20119         * sysdeps/unix/sysv/linux/mips/kernel-features.h
20120         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_FUTEX_LOCK_PI):
20121         Undefine.
20122         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_REQUEUE_PI): Likewise.
20123         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_SET_ROBUST_LIST):
20124         Likewise.
20126         [BZ #16648]
20127         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
20128         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_FUTIMESAT): Define.
20129         * sysdeps/unix/sysv/linux/microblaze/futimesat.c: New file.
20131 2014-03-31  Will Newton  <will.newton@linaro.org>
20133         * benchtests/Makefile (bench): Add ffs and ffsll to list
20134         of tests.
20135         * benchtests/ffs-inputs: New file.
20136         * benchtests/ffsll-inputs: Likewise.
20138 2014-03-29  Joseph Myers  <joseph@codesourcery.com>
20140         [BZ #16770]
20141         * math/e_scalb.c (__ieee754_scalb): Check second argument is not
20142         too large before casting to int.
20143         * math/e_scalbf.c (__ieee754_scalbf): Likewise.
20144         * math/e_scalbl.c (__ieee754_scalbl): Likewise.
20145         * math/libm-test.inc (scalb_test_data): Add more tests.
20147 2014-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
20149         * benchtests/Makefile (DETAILED_OPT): New make option.
20150         (bench-func): Run benchmark program with -d if DETAILED_OPT is
20151         set.
20152         * benchtests/bench-skeleton.c: Include stdbool.h.
20153         (main): Store and print timings per input.
20154         * benchtests/scripts/bench.py (STRUCT_TEMPLATE): Add timing
20155         member to each argument value.
20156         (EPILOGUE): Define new macros RESULT and RESULT_ACCUM.
20157         (_print_arg_data): Initialize per-input timing to 0.
20159         * benchtests/Makefile (timing-type): New binary.
20160         (bench-clean): Also remove bench-timing-type.
20161         (bench): New target for timing-type.
20162         (bench-func): Print output in JSON format.
20163         * benchtests/bench-skeleton.c (main): Print output in JSON
20164         format.
20165         * benchtests/bench-timing-type.c: New file.
20166         * benchtests/bench-timing.h (TIMING_TYPE): New macro.
20167         (TIMING_PRINT_STATS): Remove.
20168         * benchtests/scripts/bench.py (_print_arg_data): Store variant
20169         name separately.
20171         * benchtests/bench-modf.c: Remove.
20172         * benchtests/modf-inputs: New inputs file.
20174 2014-03-28  Joseph Myers  <joseph@codesourcery.com>
20176         [BZ #16362]
20177         * math/s_clog10.c (M_PI_LOG10E): New macro.
20178         (__clog10): Use M_PI_LOG10E instead of M_PI when real and
20179         imaginary parts are 0.
20180         * math/s_clog10f.c (M_PI_LOG10Ef): New macro.
20181         (__clog10f): Use M_PI_LOG10Ef instead of M_PI when real and
20182         imaginary parts are 0.
20183         * math/s_clog10l.c (M_PI_LOG10El): New macro.
20184         (__clog10l): Use M_PI_LOG10El instead of M_PIl when real and
20185         imaginary parts are 0.
20186         * math/libm-test.inc (clog10_test_data): Update expected results
20187         for when real and imaginary parts are 0.
20189 2014-03-27  Paul Pluzhnikov  <ppluzhnikov@google.com>
20191         * elf/dl-load.c: Finish conversion of __builtin_expect into
20192         __glibc_{un}likely.
20194 2014-03-27  Joseph Myers  <joseph@codesourcery.com>
20196         [BZ #16348]
20197         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]: Use
20198         1+x for argument with exponent below -67.
20199         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]:
20200         Likewise.
20201         * math/auto-libm-test-in: Add more tests of exp.
20202         * math/auto-libm-test-out: Regenerated.
20204 2014-03-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
20206         [BZ #16759]
20207         * inet/getnetgrent_r.c (get_nonempty_val): New function.
20208         (nscd_getnetgrent): Use it.
20210         [BZ #16760]
20211         * nscd/netgroupcache.c (addgetnetgrentX): Use memmove instead
20212         of stpcpy.
20214 2014-03-27  Andi Kleen  <ak@linux.intel.com>
20216         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_lock)
20217         (lll_robust_lock, lll_cond_lock, lll_timedlock)
20218         (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
20219         (lll_robust_unlock): Remove out of line section. Use cfi
20220         intrinsics.
20221         (LLL_STUB_UNWIND_INFO*): Remove.
20222         * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_lock)
20223         (lll_robust_lock, lll_cond_lock, lll_timedlock)
20224         (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
20225         (lll_robust_unlock): Remove out of line section. Use cfi
20226         intrinsics.
20227         (LLL_STUB_UNWIND_INFO*): Remove.
20229 2014-03-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
20231         [BZ #16758]
20232         * nscd/netgroupcache.c (addinnetgrX): Succeed if triplet has
20233         blank values.
20235 2014-03-26  Paul Pluzhnikov  <ppluzhnikov@google.com>
20237         * elf/dl-load.c: Convert __builtin_expect into __glibc_{un}likely.
20239 2014-03-26  Joseph Myers  <joseph@codesourcery.com>
20241         [BZ #16198]
20242         * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Use fldenv after
20243         fnstenv.
20244         * math/test-fenv-preserve.c: New file.
20245         * math/Makefile (tests): Add test-fenv-preserve.
20247 2014-03-26  Will Newton <will.newton@linaro.org>
20249         * benchtests/bench-strtod.c (TIMEOUT): Define to 10.
20251 2014-03-25  Roland McGrath  <roland@hack.frob.com>
20253         * scripts/versionlist.awk: Partition the version sets and emit all
20254         GLIBC_* (sorted) before all others (sorted).
20256 2014-03-25  Joseph Myers  <joseph@codesourcery.com>
20258         * elf/Versions (libc) [EXPORT_UNWIND_FIND_FDE]: Add empty
20259         GLIBC_2.2.5 version.
20261 2014-03-25 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20263         * scripts/localplt.awk: Check for PLT generated by internal IFUNC
20264         calls.
20266         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Revert
20267         previous change.
20269         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20271 2014-03-25  Andreas Schwab  <schwab@suse.de>
20273         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Add out_fail2
20274         label to be used after in6ailist is initialized.
20276 2014-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20278         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
20279         (__PTHREAD_MUTEX_HAVE_ELISION): New define.
20281 2014-03-25  Joseph Myers  <joseph@codesourcery.com>
20283         [BZ #16357]
20284         [BZ #16599]
20285         * math/gen-auto-libm-tests.c (fp_format_desc): Add field
20286         min_plus_half.
20287         (fp_formats): Update initializers.
20288         (init_fp_formats): Initialize new field.
20289         (output_for_one_input_case): Allow underflow for results up to
20290         min_plus_half.
20291         * math/libm-test.inc (log1p_test): Use ALL_RM_TEST.
20292         * math/auto-libm-test-in: Don't mark some underflows from asin and
20293         atanh as spurious.
20294         * math/auto-libm-test-out: Regenerated.
20295         * sysdeps/i386/fpu/libm-test-ulps: Update.
20296         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20298 2014-03-25  Andreas Schwab  <schwab@suse.de>
20300         * libio/Makefile (tst-ftell-partial-wide-ENV)
20301         (tst-ftell-active-handler-ENV): Define.
20303 2014-03-25  Stefan Liebler <stli@linux.vnet.ibm.com>
20305         * NEWS: Add 16712, 16713, 16714 to fixed bug list.
20307 2014-03-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
20309         * elf/tst-dlopen-aout.c: Adjust comments. Use test-skeleton.c
20311 2014-03-24  Joseph Myers  <joseph@codesourcery.com>
20313         * sysdeps/ieee754/dbl-64/e_exp.c: Include <math.h>.
20314         * sysdeps/x86_64/fpu/multiarch/e_exp.c
20315         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
20317 2014-03-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
20319         [BZ #16634]
20320         * elf/dl-load.c (open_verify): Add mode parameter.
20321         Error early when ET_EXEC and mode does not have __RTLD_OPENEXEC.
20322         (open_path): Change from boolean 'secure' to complete flag 'mode'
20323         (_dl_map_object): Adjust.
20324         * elf/Makefile (tests): Add tst-dlopen-aout.
20325         * elf/tst-dlopen-aout.c: New test.
20327 2014-03-24  Stefan Liebler <stli@linux.vnet.ibm.com>
20329         [BZ #16714]
20330         * sysdeps/unix/sysv/linux/s390/bits/stat.h
20331         (struct stat): Rename member pad0 to __glibc_reserved0.
20333         [BZ #16712]
20334         * sysdeps/s390/s390-32/bits/wordsize.h
20335         (__WORDSIZE32_SIZE_ULONG): New define.
20336         * sysdeps/s390/s390-64/bits/wordsize.h
20337         (__WORDSIZE32_SIZE_ULONG): Likewise.
20338         * sysdeps/generic/stdint.h (SIZE_MAX):
20339         Define as UL if __WORDSIZE32_SIZE_ULONG.
20341         [BZ #16713]
20342         * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
20343         (__glibc_reserved0): New variable.
20344         (sa_flags): Change type to int.
20346         * posix/Makefile (before-compile): Use += before-compile instead
20347         of a :=.
20349         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
20350         (__PTHREAD_MUTEX_HAVE_ELISION): New define.
20352 2014-03-20  Andreas Schwab  <schwab@suse.de>
20354         [BZ #16743]
20355         * sysdeps/posix/getaddrinfo.c (gaih_inet): Properly skip over
20356         non-matching result from nscd.
20358 2014-03-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
20360         * scripts/bench.py: Moved to ...
20361         * benchtests/scripts/bench.py: ... here.
20362         * benchtests/Makefile ($(objpfx)bench-%.c): Adjust.
20364 2014-03-24  Andreas Schwab  <schwab@suse.de>
20366         [BZ #16002]
20367         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Use
20368         alloca_account and account alloca use for struct in6ailist.
20370 2014-03-24  Joseph Myers  <joseph@codesourcery.com>
20372         [BZ #16284]
20373         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use original
20374         rounding mode to recompute results that overflow to infinity or
20375         underflow to zero.
20376         * math/auto-libm-test-in: Don't mark tests as expected to fail for
20377         bug 16284.
20378         * math/auto-libm-test-out: Regenerated.
20379         * math/libm-test.inc (ccos_test): Use ALL_RM_TEST.
20380         (ccosh_test): Likewise.
20381         (csin_test_data): Use plus_oflow.
20382         (csin_test): Use ALL_RM_TEST.
20383         (csinh_test_data): Use plus_oflow.
20384         (csinh_test): Use ALL_RM_TEST.
20385         * sysdeps/i386/fpu/libm-test-ulps: Update.
20386         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20388 2014-03-21  Joseph Myers  <joseph@codesourcery.com>
20390         * sysdeps/mips/bits/wordsize.h: Include <sgidefs.h>.
20391         * sysdeps/unix/sysv/linux/mips/getrlimit64.c: Likewise.
20392         * sysdeps/unix/sysv/linux/mips/setrlimit64.c: Likewise.
20394         [BZ #16731]
20395         * sysdeps/i386/fpu/e_log.S (__ieee754_log): Take absolute value
20396         when x - 1 is zero.
20397         * sysdeps/i386/fpu/e_logf.S (__ieee754_logf): Likewise.
20398         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Likewise.
20399         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
20400         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Return +0 when
20401         argument is 1.
20402         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Likewise.
20403         * sysdeps/x86_64/fpu/e_logl.S: Take absolute value when x - 1 is
20404         zero.
20405         * math/libm-test.inc (log_test): Use ALL_RM_TEST.
20406         * sysdeps/i386/fpu/libm-test-ulps: Update.
20407         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20409 2014-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
20411         * scripts/bench.pl: Remove file.
20412         * scripts/bench.py: New benchmark script.
20413         * benchtests/Makefile ($(objpfx)bench-%.c): Use it.
20414         * benchtests/README: Mention python dependency.
20415         * scripts/pylintrc: New file.
20416         * scripts/pylint: New file.
20418         * bits/mathdef.h: Use #ifdef instead of #if.
20419         * sysdeps/arm/bits/mathdef.h [defined __USE_ISOC99 && defined
20420         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
20421         * sysdeps/tile/bits/mathdef.h [defined __USE_ISOC99 && defined
20422         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
20423         * sysdeps/x86/bits/mathdef.h [defined __USE_ISOC99 && defined
20424         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
20426 2014-03-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20427             Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
20429         * string/strpbrk.c (strpbrk): Using macro to redefine symbol name.
20430         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpbrk-power7
20431         and strpbrk-ppc64 objects.
20432         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
20433         (__libc_ifunc_impl_list): Add new strpbrk optimized symbols.
20434         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-power7.S: New file:
20435         multiarch strpbrk for POWER7.
20436         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: New file:
20437         multiarch strpbrk for PPC64.
20438         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: New file: strpbrk
20439         ifunc selector.
20440         * sysdeps/powerpc/powerpc64/power7/strpbrk.S: New file: optimited
20441         strpbrk for POWER7.
20443 2014-03-20  Joseph Myers  <joseph@codesourcery.com>
20445         * math/libm-test.inc (asinh_test): Use ALL_RM_TEST.
20446         (atan_test): Likewise.
20447         (atanh_test_data): Use NO_TEST_INLINE for two tests.
20448         (atanh_test): Use ALL_RM_TEST.
20449         (atan2_test_data): Likewise.
20450         (cabs_test): Likewise.
20451         (cacosh_test): Likewise.
20452         (carg_test): Likewise.
20453         (casin_test): Likewise.
20454         (casinh_test): Likewise.
20455         (cbrt_test): Likewise.
20456         (csqrt_test): Likewise.
20457         (erf_test): Likewise.
20458         (erfc_test): Likewise.
20459         (pow10_test): Likewise.
20460         (exp2_test): Likewise.
20461         (hypot_test): Likewise.
20462         (j0_test): Likewise.
20463         (j1_test): Likewise.
20464         (lgamma_test): Likewise.
20465         (gamma_test): Likewise.
20466         (sincos_test): Likewise.
20467         (tanh_test): Likewise.
20468         (y0_test): Likewise.
20469         (y1_test): Likewise.
20470         * sysdeps/i386/fpu/libm-test-ulps: Update.
20471         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20473 2014-03-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20475         * string/strcspn.c (strcspn): Using macro to redefine symbol name.
20476         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcspn-power7
20477         and strcspn-ppc64 objects.
20478         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
20479         (__libc_ifunc_impl_list): Add new strcspn optimized symbols.
20480         * sysdeps/powerpc/powerpc64/multiarch/strcspn-power7.S: New file:
20481         multiarch strcspn for POWER7.
20482         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: New file:
20483         multiarch strcspn for PPC64.
20484         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: New file: strcspn
20485         ifunc selector.
20486         * sysdeps/powerpc/powerpc64/power7/strcspn.S: New file: optimited
20487         strcspn for POWER7.
20489 2014-03-20  Joseph Myers  <joseph@codesourcery.com>
20491         * math/gen-libm-test.pl (generate_testfile): Expect only function
20492         name as argument to AUTO_TESTS_* and pass results for all rounding
20493         modes to parse_args.
20494         (parse_auto_input): Separate inputs of automatic tests from
20495         outputs before storing in %auto_tests.
20496         * math/libm-test.inc (acos_test_data): Update call to
20497         AUTO_TESTS_f_f.
20498         (acos_test): Use ALL_RM_TEST.
20499         (acos_tonearest_test_data): Remove.
20500         (acos_test_tonearest): Likewise.
20501         (acos_towardzero_test_data): Likewise.
20502         (acos_test_towardzero): Likewise.
20503         (acos_downward_test_data): Likewise.
20504         (acos_test_downward): Likewise.
20505         (acos_upward_test_data): Likewise.
20506         (acos_test_upward): Likewise.
20507         (acosh_test_data): Update call to AUTO_TESTS_f_f.
20508         (asin_test_data): Likewise.
20509         (asin_test): Use ALL_RM_TEST.
20510         (asin_tonearest_test_data): Remove.
20511         (asin_test_tonearest): Likewise.
20512         (asin_towardzero_test_data): Likewise.
20513         (asin_test_towardzero): Likewise.
20514         (asin_downward_test_data): Likewise.
20515         (asin_test_downward): Likewise.
20516         (asin_upward_test_data): Likewise.
20517         (asin_test_upward): Likewise.
20518         (asinh_test_data): Update call to AUTO_TESTS_f_f.
20519         (atan_test_data): Likewise.
20520         (atanh_test_data): Likewise.
20521         (atan2_test_data): Update call to AUTO_TESTS_ff_f.
20522         (cabs_test_data): Update call to AUTO_TESTS_c_f.
20523         (carg_test_data): Likewise.
20524         (cbrt_test_data): Update call to AUTO_TESTS_f_f.
20525         (ccos_test_data): Update call to AUTO_TESTS_c_c.
20526         (ccosh_test_data): Likewise.
20527         (cexp_test_data): Likewise.
20528         (clog_test_data): Likewise.
20529         (clog10_test_data): Likewise.
20530         (cos_test_data): Update call to AUTO_TESTS_f_f.
20531         (cos_test): Use ALL_RM_TEST.
20532         (cos_tonearest_test_data): Remove.
20533         (cos_test_tonearest): Likewise.
20534         (cos_towardzero_test_data): Likewise.
20535         (cos_test_towardzero): Likewise.
20536         (cos_downward_test_data): Likewise.
20537         (cos_test_downward): Likewise.
20538         (cos_upward_test_data): Likewise.
20539         (cos_test_upward): Likewise.
20540         (cosh_test_data): Update call to AUTO_TESTS_f_f.
20541         (cosh_test): Use ALL_RM_TEST.
20542         (cosh_tonearest_test_data): Remove.
20543         (cosh_test_tonearest): Likewise.
20544         (cosh_towardzero_test_data): Likewise.
20545         (cosh_test_towardzero): Likewise.
20546         (cosh_downward_test_data): Likewise.
20547         (cosh_test_downward): Likewise.
20548         (cosh_upward_test_data): Likewise.
20549         (cosh_test_upward): Likewise.
20550         (cpow_test_data): Update call to AUTO_TESTS_cc_c.
20551         (csqrt_test_data): Update call to AUTO_TESTS_c_c.
20552         (ctan_test_data): Likewise.
20553         (ctan_test): Use ALL_RM_TEST.
20554         (ctan_tonearest_test_data): Remove.
20555         (ctan_test_tonearest): Likewise.
20556         (ctan_towardzero_test_data): Likewise.
20557         (ctan_test_towardzero): Likewise.
20558         (ctan_downward_test_data): Likewise.
20559         (ctan_test_downward): Likewise.
20560         (ctan_upward_test_data): Likewise.
20561         (ctan_test_upward): Likewise.
20562         (ctanh_test_data): Update call to AUTO_TESTS_c_c.
20563         (ctanh_test): Use ALL_RM_TEST.
20564         (ctanh_tonearest_test_data): Remove.
20565         (ctanh_test_tonearest): Likewise.
20566         (ctanh_towardzero_test_data): Likewise.
20567         (ctanh_test_towardzero): Likewise.
20568         (ctanh_downward_test_data): Likewise.
20569         (ctanh_test_downward): Likewise.
20570         (ctanh_upward_test_data): Likewise.
20571         (ctanh_test_upward): Likewise.
20572         (erf_test_data): Update call to AUTO_TESTS_f_f.
20573         (erfc_test_data): Likewise.
20574         (exp_test_data): Likewise.
20575         (exp_test): Use ALL_RM_TEST.
20576         (exp_tonearest_test_data): Remove.
20577         (exp_test_tonearest): Likewise.
20578         (exp_towardzero_test_data): Likewise.
20579         (exp_test_towardzero): Likewise.
20580         (exp_downward_test_data): Likewise.
20581         (exp_test_downward): Likewise.
20582         (exp_upward_test_data): Likewise.
20583         (exp_test_upward): Likewise.
20584         (exp10_test_data): Update call to AUTO_TESTS_f_f.
20585         (exp10_test): Use ALL_RM_TEST.
20586         (exp10_tonearest_test_data): Remove.
20587         (exp10_test_tonearest): Likewise.
20588         (exp10_towardzero_test_data): Likewise.
20589         (exp10_test_towardzero): Likewise.
20590         (exp10_downward_test_data): Likewise.
20591         (exp10_test_downward): Likewise.
20592         (exp10_upward_test_data): Likewise.
20593         (exp10_test_upward): Likewise.
20594         (exp2_test_data): Update call to AUTO_TESTS_f_f.
20595         (expm1_test_data): Likewise.
20596         (expm1_test): Use ALL_RM_TEST.
20597         (expm1_tonearest_test_data): Remove.
20598         (expm1_test_tonearest): Likewise.
20599         (expm1_towardzero_test_data): Likewise.
20600         (expm1_test_towardzero): Likewise.
20601         (expm1_downward_test_data): Likewise.
20602         (expm1_test_downward): Likewise.
20603         (expm1_upward_test_data): Likewise.
20604         (expm1_test_upward): Likewise.
20605         (fma_test_data): Update call to AUTO_TESTS_fff_f.
20606         (fma_test): Use ALL_RM_TEST.
20607         (fma_towardzero_test_data): Remove.
20608         (fma_test_towardzero): Likewise.
20609         (fma_downward_test_data): Likewise.
20610         (fma_test_downward): Likewise.
20611         (fma_upward_test_data): Likewise.
20612         (fma_test_upward): Likewise.
20613         (hypot_test_data): Update call to AUTO_TESTS_ff_f.
20614         (j0_test_data): Update call to AUTO_TESTS_f_f.
20615         (j1_test_data): Likewise.
20616         (jn_test_data): Update call to AUTO_TESTS_if_f.
20617         (lgamma_test_data): Update call to AUTO_TESTS_f_f1.
20618         (log_test_data): Update call to AUTO_TESTS_f_f.
20619         (log10_test_data): Likewise.
20620         (log1p_test_data): Likewise.
20621         (log2_test_data): Likewise.
20622         (pow_test_data): Update call to AUTO_TESTS_ff_f.
20623         (pow_tonearest_test_data): Likewise.
20624         (sin_test_data): Update call to AUTO_TESTS_f_f.
20625         (sin_test): Use ALL_RM_TEST.
20626         (sin_tonearest_test_data): Remove.
20627         (sin_test_tonearest): Likewise.
20628         (sin_towardzero_test_data): Likewise.
20629         (sin_test_towardzero): Likewise.
20630         (sin_downward_test_data): Likewise.
20631         (sin_test_downward): Likewise.
20632         (sin_upward_test_data): Likewise.
20633         (sin_test_upward): Likewise.
20634         (sincos_test_data): Update call to AUTO_TESTS_fFF_11.
20635         (sinh_test_data): Update call to AUTO_TESTS_f_f.
20636         (sinh_test): Use ALL_RM_TEST.
20637         (sinh_tonearest_test_data): Remove.
20638         (sinh_test_tonearest): Likewise.
20639         (sinh_towardzero_test_data): Likewise.
20640         (sinh_test_towardzero): Likewise.
20641         (sinh_downward_test_data): Likewise.
20642         (sinh_test_downward): Likewise.
20643         (sinh_upward_test_data): Likewise.
20644         (sinh_test_upward): Likewise.
20645         (sqrt_test_data): Update call to AUTO_TESTS_f_f.
20646         (sqrt_test): Use ALL_RM_TEST.
20647         (sqrt_tonearest_test_data): Remove.
20648         (sqrt_test_tonearest): Likewise.
20649         (sqrt_towardzero_test_data): Likewise.
20650         (sqrt_test_towardzero): Likewise.
20651         (sqrt_downward_test_data): Likewise.
20652         (sqrt_test_downward): Likewise.
20653         (sqrt_upward_test_data): Likewise.
20654         (sqrt_test_upward): Likewise.
20655         (tan_test_data): Update call to AUTO_TESTS_f_f.
20656         (tan_test): Use ALL_RM_TEST.
20657         (tan_tonearest_test_data): Remove.
20658         (tan_test_tonearest): Likewise.
20659         (tan_towardzero_test_data): Likewise.
20660         (tan_test_towardzero): Likewise.
20661         (tan_downward_test_data): Likewise.
20662         (tan_test_downward): Likewise.
20663         (tan_upward_test_data): Likewise.
20664         (tan_test_upward): Likewise.
20665         (tanh_test_data): Update call to AUTO_TESTS_f_f.
20666         (tgamma_test_data): Likewise.
20667         (y0_test_data): Likewise.
20668         (y1_test_data): Likewise.
20669         (yn_test_data): Update call to AUTO_TESTS_if_f.
20670         (main): Do not call removed functions.
20672 2014-03-19  Joseph Myers  <joseph@codesourcery.com>
20674         * math/libm-test.inc (fdim_test): Use ALL_RM_TEST.
20675         (ldexp_test_data): Remove.
20676         (ldexp_test): Move to after scalbn_test.  Use ALL_RM_TEST with
20677         scalbn_test_data.
20678         (scalb_test): Use ALL_RM_TEST.
20680 2014-03-19  Andreas Schwab  <schwab@suse.de>
20682         * nscd/nscd.service: Also invalidate netgroup cache on reload.
20684 2014-03-19  Joseph Myers  <joseph@codesourcery.com>
20686         [BZ #16649]
20687         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
20688         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PREADV): Undefine.
20689         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PWRITEV): Likewise.
20690         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
20691         (__ASSUME_PREADV): Undefine.
20692         (__ASSUME_PWRITEV): Likewise.
20694 2014-03-18  Roland McGrath  <roland@hack.frob.com>
20696         * bits/mman-linux.h: Add comment about non-Linux use.
20697         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add comment about
20698         bits/mman-linux.h resting place.
20700         * sysdeps/unix/sysv/linux/bits/mman-linux.h: Moved to ...
20701         * bits/mman-linux.h: ... here.
20703 2014-03-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20705         * conform/conformtest.pl: Add standard definition when calling C
20706         preprocessor on data files.
20707         (checknamespace): Remove unused variable.
20709 2014-03-18  Joseph Myers  <joseph@codesourcery.com>
20711         * math/gen-libm-test.pl (parse_args): Handle plus_oflow,
20712         minus_oflow, plus_uflow and minus_uflow in expected results.
20713         * math/libm-test.inc (scalbn_test_data): Add more tests of
20714         negative arguments.  Use plus_oflow, minus_oflow, plus_uflow and
20715         minus_uflow.
20716         (scalbn_test): Use ALL_RM_TEST.
20717         (scalbln_test_data): Add more tests of negative arguments.  Use
20718         plus_oflow, minus_oflow, plus_uflow and minus_uflow.
20719         (scalbln_test): Use ALL_RM_TEST.
20721 2014-03-18  Roland McGrath  <roland@hack.frob.com>
20723         * scripts/abilist.awk: Ignore symbols marked with .hidden.
20725 2014-03-18  Will Newton  <will.newton@linaro.org>
20727         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Remove
20728         inaccurate comment.
20730 2014-03-18  Joseph Myers  <joseph@codesourcery.com>
20732         * Makerules [!subdir] (check-abi): Exit with error status if a
20733         test failed.
20735 2014-03-17  Joseph Myers  <joseph@codesourcery.com>
20737         * math/libm-test.inc (nearbyint_test_data): Include all tests used
20738         for rint.  Include results for all rounding modes.
20739         (nearbyint_test): Use ALL_RM_TEST.
20740         (rint_test_data): Include all tests used for nearbyint.
20742 2014-03-17  Will Newton  <will.newton@linaro.org>
20744         * nptl/sysdeps/pthread/pthread.h: Revert previous
20745         change.
20747         * sysdeps/generic/ldsodefs.h: Revert previous
20748         change.
20750         * libio/genops.c: Revert previous change.
20751         * libio/libioP.h: Likewise.
20752         * stdio-common/vfprintf.c: Likewise.
20754         * sysdeps/generic/math_private.h: Revert previous
20755         change.
20757         * sysdeps/generic/math_private.h: Check whether
20758         HAVE_RM_CTX is defined with #ifdef rather
20759         than #if.
20761         * argp/argp-fmtstream.h: Check whether
20762         __STRICT_ANSI__ is defined with #ifdef rather
20763         than #if.
20764         * argp/argp.h: Likewise.
20766         * libio/genops.c: Check whether
20767         _IO_JUMPS_OFFSET is defined with #ifdef rather
20768         than #if.
20769         * libio/libioP.h: Likewise.
20770         * stdio-common/vfprintf.c: Likewise.
20772         * sysdeps/generic/ldsodefs.h: Check whether
20773         HP_SMALL_TIMING_AVAIL is defined with #ifdef rather
20774         than #if.
20776         * nptl/sysdeps/pthread/pthread.h: Check
20777         __PTHREAD_MUTEX_HAVE_ELISION is defined before testing
20778         its value.
20780 2014-03-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
20782         * libio/iofdopen.c (_IO_new_fdopen): Seek to end only if
20783         setting O_APPEND.
20784         * libio/tst-ftell-active-handler.c (do_append_test): Add a
20785         test case.
20787         [BZ #16680]
20788         * libio/fileops.c (_IO_file_open): Seek to end of file but
20789         don't cache the offset.
20790         (get_file_offset): Remove function.
20791         (do_ftell): Use cached offset when available.
20792         * libio/iofdopen.c (_IO_new_fdopen): Seek to end of file but
20793         don't cache the offset.
20794         * libio/tst-ftell-active-handler.c (do_rewind_test): New test
20795         case.
20796         (do_one_test): Call it.
20797         (do_ftell_test): Fix up expected old offset for a+ mode.
20798         * libio/wfileops.c (do_ftell_wide): Used cached offset when
20799         available.
20801         * libio/tst-ftell-active-handler.c (do_ftell_test): Don't mix
20802         up test status with function return status.
20803         (do_write_test): Likewise.
20804         (do_append_test): Likewise.
20806         * nptl/sysdeps/pthread/bits/libc-lockP.h [defined NOT_IN_libc
20807         && !defined IS_IN_libpthread && __LT_SPINNOCK_INIT != 0]:
20808         Remove.
20810 2014-03-17  Joseph Myers  <joseph@codesourcery.com>
20812         * math/gen-libm-test.pl (parse_args): Handle results specified for
20813         each rounding mode separately.
20814         * math/libm-test.inc (lrint_test_data): Merge in per-rounding-mode
20815         tests and results from lrint_tonearest_test_data,
20816         lrint_towardzero_test_data, lrint_downward_test_data and
20817         lrint_upward_test_data.
20818         (lrint_test): Use ALL_RM_TEST.
20819         (lrint_tonearest_test_data): Remove.
20820         (lrint_test_tonearest): Likewise.
20821         (lrint_towardzero_test_data): Likewise.
20822         (lrint_test_towardzero): Likewise.
20823         (lrint_downward_test_data): Likewise.
20824         (lrint_test_downward): Likewise.
20825         (lrint_upward_test_data): Likewise.
20826         (lrint_test_upward): Likewise.
20827         (llrint_test_data): Merge in per-rounding-mode tests and results
20828         from llrint_tonearest_test_data, llrint_towardzero_test_data,
20829         llrint_downward_test_data and llrint_upward_test_data.
20830         (llrint_test): Use ALL_RM_TEST.
20831         (llrint_tonearest_test_data): Remove.
20832         (llrint_test_tonearest): Likewise.
20833         (llrint_towardzero_test_data): Likewise.
20834         (llrint_test_towardzero): Likewise.
20835         (llrint_downward_test_data): Likewise.
20836         (llrint_test_downward): Likewise.
20837         (llrint_upward_test_data): Likewise.
20838         (llrint_test_upward): Likewise.
20839         (rint_test_data): Merge in per-rounding-mode tests and results
20840         from rint_tonearest_test_data, rint_towardzero_test_data,
20841         rint_downward_test_data and rint_upward_test_data.  Add
20842         per-rounding-mode results for tests not in those arrays.
20843         (rint_test): Use ALL_RM_TEST.
20844         (rint_tonearest_test_data): Remove.
20845         (rint_test_tonearest): Likewise.
20846         (rint_towardzero_test_data): Likewise.
20847         (rint_test_towardzero): Likewise.
20848         (rint_downward_test_data): Likewise.
20849         (rint_test_downward): Likewise.
20850         (rint_upward_test_data): Likewise.
20851         (rint_test_upward): Likewise.
20852         (main): Don't call removed functions.
20854 2014-03-14  Roland McGrath  <roland@hack.frob.com>
20856         * csu/Makefile ($(objpfx)version-info.h): Remove linux-specific
20857         "Compiled on ..." crapola.  It is anti-useful.
20859 2014-03-14  Joseph Myers  <joseph@codesourcery.com>
20861         * scripts/evaluate-test.sh: Handle fourth argument to determine
20862         whether test run should stop on failure.
20863         * Makeconfig (stop-on-test-failure): New variable.
20864         (evaluate-test): Pass fourth argument to evaluate-test.sh based on
20865         $(stop-on-test-failure).
20866         * Makefile (tests): Give a summary of results from testing and
20867         exit with failure status if they include an ERROR or FAIL.
20868         (xtests): Likewise.
20869         * manual/install.texi (Configuring and compiling): Mention
20870         stop-on-test-failure=y.
20871         * INSTALL: Regenerated.
20873 2014-03-14  Roland McGrath  <roland@hack.frob.com>
20875         * scripts/versionlist.awk: New file.
20876         * Makerules [$(build-shared) = yes]
20877         (postclean-generated): Add Versions.def, not Versions.def.v and
20878         Versions.def.v.i.
20879         ($(common-objpfx)Versions.def.v.i): Target removed.
20880         ($(common-objpfx)Versions.def): New target.
20881         ($(common-objpfx)Versions.all): Depend on that rather that
20882         $(common-objpfx)Versions.def.v.
20883         * Versions.def: File removed.
20885         * Makeconfig (+gccwarn): Add -Wundef.
20886         * include/errno.h [IS_IN_rtld] [!RTLD_PRIVATE_ERRNO]: #error to catch
20887         a dl-sysdep.h breaking its contract.
20888         [!IS_IN_rtld] (RTLD_PRIVATE_ERRNO): Define it to 0.
20889         * include/stackinfo.h: New file.
20890         * nptl/sysdeps/i386/tls.h (TLS_DTV_AT_TP): New macro.
20891         * nptl/sysdeps/powerpc/tls.h (TLS_TCB_AT_TP): New macro.
20892         * nptl/sysdeps/s390/tls.h (TLS_DTV_AT_TP): New macro.
20893         * nptl/sysdeps/sh/tls.h (TLS_TCB_AT_TP): New macro.
20894         * nptl/sysdeps/sparc/tls.h (TLS_DTV_AT_TP): New macro.
20895         * nptl/sysdeps/x86_64/tls.h (TLS_DTV_AT_TP): New macro.
20896         * sysdeps/aarch64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
20897         * sysdeps/alpha/nptl/tls.h (TLS_TCB_AT_TP): New macro.
20898         * sysdeps/arm/nptl/tls.h (TLS_TCB_AT_TP): New macro.
20899         * sysdeps/ia64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
20900         * sysdeps/m68k/nptl/tls.h (TLS_TCB_AT_TP): New macro.
20901         * sysdeps/mach/hurd/i386/tls.h (TLS_DTV_AT_TP): New macro.
20902         * sysdeps/microblaze/nptl/tls.h (TLS_TCB_AT_TP): New macro.
20903         * sysdeps/mips/nptl/tls.h (TLS_TCB_AT_TP): New macro.
20904         * sysdeps/tile/nptl/tls.h (TLS_TCB_AT_TP): New macro.
20906 2014-03-14  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20908         [BZ #16707]
20909         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Remove wrong
20910         implementation.
20911         * math/libm-test.inc (round_test_data): Add more tests.
20913         [BZ #16706]
20914         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Remove wrong
20915         implementation.
20916         * math/libm-test.inc (nearbyint_test_data): Add more tests.
20918         [BZ #16701]
20919         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Remove wrong
20920         implementation.
20921         * math/libm-test.inc (ceil_test_data): Add more tests.
20923         * math/libm-test.inc (trunc_test_data): Add more tests related to
20924         BZ#16414.
20926 2014-03-14  Roland McGrath  <roland@hack.frob.com>
20928         * nptl/pthread_create.c (__pthread_create_2_1): Test TLS_TCB_AT_TP
20929         with #if rather than #ifdef.
20930         * nptl/sysdeps/pthread/createthread.c (create_thread): Likewise.
20932 2014-03-14  H.J. Lu  <hongjiu.lu@intel.com>
20934         * sysdeps/x86_64/configure.ac: Check AVX-512 assembler support
20935         first.  Disable AVX-512 GCC support if assembler doesn't support
20936         it.
20937         * sysdeps/x86_64/configure: Regenerated.
20939 2014-03-13  Carlos O'Donell  <carlos@redhat.com>
20941         * nptl/pthread_attr_setstack.c (__pthread_attr_setstack)
20942         [!_STACK_GROWS_DOWN]: Don't add stacksize to stackaddr.
20943         (__old_pthread_attr_setstack): Likewise.
20944         * nptl/pthread_attr_getstack.c (__pthread_attr_getstack)
20945         [!_STACK_GROWS_DOWN]: Likewise.
20947 2014-03-13  Mike Frysinger  <vapier@gentoo.org>
20949         * config.make.in (have-bash2): Delete.
20950         * configure.ac (libc_cv_have_bash2): Delete.
20951         * configure: Regenerate.
20952         * elf/Makefile (common-ldd-rewrite): Rename to ...
20953         (ldd-rewrite): ... this.  Move bash-ldd-rewrite content to end.
20954         (sh-ldd-rewrite): Delete.
20955         (bash-ldd-rewrite): Delete.
20956         (have-bash2): Delete checks.
20957         [ldd-rewrite-script]: Change $(ldd-shell)-ldd-rewrite to
20958         ldd-rewrite.
20960         * config.make.in (have-ksh): Delete.
20961         (KSH): Delete.
20962         * configure.ac (libc_cv_have_ksh): Delete.
20963         * configure: Regenerate.
20965         * elf/Makefile: Delete $(have-ksh) check.
20966         ($(objpfx)sotruss): Change KSH to BASH.
20967         * elf/sotruss.ksh: Rename to ...
20968         * elf/sotruss.sh: ... this.  Change @KSH@ to @BASH@.  Change
20969         function style to match POSIX.  Drop ksh vim mode setting.
20971         * manual/time.texi (Specifying the Time Zone with TZ): Change
20972         Tuesday to Thursday.
20974         * debug/tst-longjmp_chk2.c: Update header comment.
20975         (stackoverflow_handler): Add comment.  Call assert on pass value.
20977 2014-03-13  Igor Zamyatin  <igor.zamyatin@intel.com>
20979         [BZ #16194]
20980         * config.h.in (HAVE_AVX512_SUPPORT): New #undef.
20981         (HAVE_AVX512_ASM_SUPPORT): Likewise.
20982         * sysdeps/x86_64/bits/link.h (La_x86_64_zmm): New.
20983         (La_x86_64_vector): Add zmm.
20984         * sysdeps/x86_64/Makefile (tests): Add tst-audit10.
20985         (modules-names): Add tst-auditmod10a and tst-auditmod10b.
20986         ($(objpfx)tst-audit10): New target.
20987         ($(objpfx)tst-audit10.out): Likewise.
20988         (tst-audit10-ENV): New.
20989         (AVX512-CFLAGS): Likewise.
20990         (CFLAGS-tst-audit10.c): Likewise.
20991         (CFLAGS-tst-auditmod10a.c): Likewise.
20992         (CFLAGS-tst-auditmod10b.c): Likewise.
20993         * sysdeps/x86_64/configure.ac: Set config-cflags-avx512,
20994         HAVE_AVX512_SUPPORT and HAVE_AVX512_ASM_SUPPORT.
20995         * sysdeps/x86_64/configure: Regenerated.
20996         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Add
20997         AVX-512 zmm register support.
20998         (_dl_x86_64_save_sse): Likewise.
20999         (_dl_x86_64_restore_sse): Likewise.
21000         * sysdeps/x86_64/dl-trampoline.h: Updated to support different
21001         size vector registers.
21002         * sysdeps/x86_64/link-defines.sym (YMM_SIZE): New.
21003         (ZMM_SIZE): Likewise.
21004         * sysdeps/x86_64/tst-audit10.c: New file.
21005         * sysdeps/x86_64/tst-auditmod10a.c: Likewise.
21006         * sysdeps/x86_64/tst-auditmod10b.c: Likewise.
21008 2014-03-13  Roland McGrath  <roland@hack.frob.com>
21010         * configure.ac (HAVE_EHDR_START): New check.
21011         * configure: Regenerated.
21012         * config.h.in (HAVE_EHDR_START): New #undef.
21013         * elf/rtld.c (dl_main) [HAVE_EHDR_START]: Use __ehdr_start rather than
21014         assuming the lowest-addressed segment maps the start of the file.
21016 2014-03-13  Joseph Myers  <joseph@codesourcery.com>
21018         * INSTALL: Regenerated.
21020 2014-03-13  Will Newton  <will.newton@linaro.org>
21022         * manual/setjmp.texi (System V contexts): Improve
21023         clarity and grammar of documentation.
21025 2014-03-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
21027         [BZ #16381]
21028         * elf/Makefile (tests): Add tst-pie2.
21029         (tests-pie): Add tst-pie2.
21030         * elf/tst-pie2.c: New file.
21031         * elf/dl-load.c (_dl_map_object_from_fd): Assert correct l_type
21032         for ET_EXEC.
21033         * elf/rtld.c (map_doit): Load executable as lt_executable.
21034         (dl_main): Likewise.
21036 2014-03-12  Joseph Myers  <joseph@codesourcery.com>
21038         [BZ #16642]
21039         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
21040         (__ASSUME_PSELECT): Undefine.
21042 2014-03-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21044         [BZ #16689]
21045         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S
21046         (__bzero_ppc): Call memset@local instead of __memset_ppc@local for
21047         static build.
21048         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Build IFUNC
21049         selector for static builds.
21051 2014-03-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
21053         [BZ #16695]
21054         * nscd/netgroupcache.c (addgetnetgrentX): Factor in space for
21055         key in the buffer.
21057 2014-03-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21059         * sysdeps/powerpc/powerpc64/multiarch/strspn.c (strspn): Build
21060         IFUNC selector for static builds.
21062 2014-03-11  Joseph Myers  <joseph@codesourcery.com>
21064         * sysdeps/mips/math_private.h [__mips_hard_float]
21065         (libc_feresetround_ctx): Define to libc_feupdateenv_mips_ctx not
21066         libc_feresetround_mips_ctx.
21067         [__mips_hard_float] (libc_feresetroundf_ctx): Likewise.
21068         [__mips_hard_float] (libc_feresetroundl_ctx): Likewise.
21069         [__mips_hard_float] (libc_feresetround_mips_ctx): Remove.
21071         [BZ #16677]
21072         * math/s_nextafter.c (__nextafter): Do not return value from
21073         overflowing computation.
21074         * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
21075         * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise.
21076         * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
21077         Likewise.
21078         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
21079         Likewise.
21080         * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
21081         * math/libm-test.inc (nextafter_test): Use ALL_RM_TEST.
21083 2014-03-11  Roland McGrath  <roland@hack.frob.com>
21085         * sysdeps/arm/setjmp.S: Use sfi_breg on stores of mangled registers.
21086         * sysdeps/arm/__longjmp.S: Use sfi_breg on loads of mangled registers.
21087         Move sfi_sp use from the load-multiple (that no longer sets sp) to
21088         the new mov targetting sp.
21090 2014-03-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21092         [BZ #16683]
21093         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S (__bzero_ppc):
21094         Define it for static builds as well.
21095         (NO_BZERO_IMPL): Likewise.
21097 2014-03-11  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
21099         * sysdeps/powerpc/powerpc64/power7/strspn.S: New file: Optimization.
21100         * sysdeps/powerpc/powerpc64/multiarch/strspn.c: New file:
21101         multiarch strspn for PPC64.
21102         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: New file
21103         * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: New file
21104         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
21105         (__libc_ifunc_impl_list): Likewise.
21106         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strspn
21107         multiarch optimizations
21108         * string/strspn.c (strspn): Using macro to redefine symbol name.
21110 2014-03-10  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
21111             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21113         * sysdeps/powerpc/powerpc64/power7/strncat.S: New file: Optimization.
21114         * sysdeps/powerpc/powerpc64/multiarch/strncat.c: New file:
21115         multiarch strncat for PPC64.
21116         * sysdeps/powerpc/powerpc64/multiarch/strncat-ppc64.c: New file
21117         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: New file
21118         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
21119         (__libc_ifunc_impl_list): Likewise.
21120         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncat
21121         multiarch optimizations
21123 2014-03-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
21125         [BZ #16639]
21126         * nscd/nscd.service: Make service type forking.
21128 2014-03-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21130         * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Fix to return correct
21131         sign in non default rounding modes.
21132         * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
21134 2014-03-08  Joseph Myers  <joseph@codesourcery.com>
21136         * math/libm-test.inc (ALL_RM_TEST): New macro.
21137         (ceil_test): Use ALL_RM_TEST.
21138         (cimag_test): Likewise.
21139         (conj_test): Likewise.
21140         (copysign_test): Likewise.
21141         (cproj_test): Likewise.
21142         (creal_test): Likewise.
21143         (fabs_test): Likewise.
21144         (floor_test): Likewise.
21145         (fmax_test): Likewise.
21146         (fmin_test): Likewise.
21147         (fmod_test): Likewise.
21148         (fpclassify_test): Likewise.
21149         (frexp_test): Likewise.
21150         (ilogb_test): Likewise.
21151         (isfinite_test): Likewise.
21152         (finite_test): Likewise.
21153         (isgreater_test): Likewise.
21154         (isgreaterequal_test): Likewise.
21155         (isinf_test): Likewise.
21156         (isless_test): Likewise.
21157         (islessequal_test): Likewise.
21158         (islessgreater_test): Likewise.
21159         (isnan_test): Likewise.
21160         (isnormal_test): Likewise.
21161         (issignaling_test): Likewise.
21162         (isunordered_test): Likewise.
21163         (logb_test): Likewise.
21164         (logb_downward_test_data): Remove.
21165         (logb_test_downward): Likewise.
21166         (lround_test): Use ALL_RM_TEST.
21167         (llround_test): Likewise.
21168         (modf_test): Likewise.
21169         (nexttoward_test): Likewise.
21170         (remainder_test): Likewise.
21171         (drem_test): Likewise.
21172         (remainder_tonearest_test_data): Likewise.
21173         (remainder_test_tonearest): Likewise.
21174         (drem_test_tonearest): Likewise.
21175         (remainder_towardzero_test_data): Likewise.
21176         (remainder_test_towardzero): Likewise.
21177         (drem_test_towardzero): Likewise.
21178         (remainder_downward_test_data): Likewise.
21179         (remainder_test_downward): Likewise.
21180         (drem_test_downward): Likewise.
21181         (remainder_upward_test_data): Likewise.
21182         (remainder_test_upward): Likewise.
21183         (drem_test_upward): Likewise.
21184         (remquo_test): Use ALL_RM_TEST.  Remove comment about x.
21185         (round_test): Use ALL_RM_TEST.
21186         (signbit_test): Likewise.
21187         (trunc_test): Likewise.
21188         (significand_test): Likewise.
21189         (main): Don't call removed functions.
21191 2014-03-07  Joseph Myers  <joseph@codesourcery.com>
21193         [BZ #16674]
21194         * bits/siginfo.h (ILL_ILLOPC): Condition on [__USE_XOPEN_EXTENDED
21195         || __USE_XOPEN2K8].
21196         (ILL_ILLOPN): Likewise.
21197         (ILL_ILLADR): Likewise.
21198         (ILL_ILLTRP): Likewise.
21199         (ILL_PRVOPC): Likewise.
21200         (ILL_PRVREG): Likewise.
21201         (ILL_COPROC): Likewise.
21202         (ILL_BADSTK): Likewise.
21203         (FPE_INTDIV): Likewise.
21204         (FPE_INTOVF): Likewise.
21205         (FPE_FLTDIV): Likewise.
21206         (FPE_FLTOVF): Likewise.
21207         (FPE_FLTUND): Likewise.
21208         (FPE_FLTRES): Likewise.
21209         (FPE_FLTINV): Likewise.
21210         (FPE_FLTSUB): Likewise.
21211         (SEGV_MAPERR): Likewise.
21212         (SEGV_ACCERR): Likewise.
21213         (BUS_ADRALN): Likewise.
21214         (BUS_ADRERR): Likewise.
21215         (BUS_OBJERR): Likewise.
21216         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
21217         (TRAP_TRACE): Likewise.
21218         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
21219         __USE_XOPEN2K8].
21220         (CLD_KILLED): Likewise.
21221         (CLD_DUMPED): Likewise.
21222         (CLD_TRAPPED): Likewise.
21223         (CLD_STOPPED): Likewise.
21224         (CLD_CONTINUED): Likewise.
21225         (POLL_IN): Likewise.
21226         (POLL_OUT): Likewise.
21227         (POLL_MSG): Likewise.
21228         (POLL_ERR): Likewise.
21229         (POLL_PRI): Likewise.
21230         (POLL_HUP): Likewise.
21231         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h (ILL_ILLOPC):
21232         Likewise.
21233         (ILL_ILLOPN): Likewise.
21234         (ILL_ILLADR): Likewise.
21235         (ILL_ILLTRP): Likewise.
21236         (ILL_PRVOPC): Likewise.
21237         (ILL_PRVREG): Likewise.
21238         (ILL_COPROC): Likewise.
21239         (ILL_BADSTK): Likewise.
21240         (FPE_INTDIV): Likewise.
21241         (FPE_INTOVF): Likewise.
21242         (FPE_FLTDIV): Likewise.
21243         (FPE_FLTOVF): Likewise.
21244         (FPE_FLTUND): Likewise.
21245         (FPE_FLTRES): Likewise.
21246         (FPE_FLTINV): Likewise.
21247         (FPE_FLTSUB): Likewise.
21248         (SEGV_MAPERR): Likewise.
21249         (SEGV_ACCERR): Likewise.
21250         (BUS_ADRALN): Likewise.
21251         (BUS_ADRERR): Likewise.
21252         (BUS_OBJERR): Likewise.
21253         (BUS_MCEERR_AR): Likewise.
21254         (BUS_MCEERR_AO): Likewise.
21255         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
21256         (TRAP_TRACE): Likewise.
21257         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
21258         __USE_XOPEN2K8].
21259         (CLD_KILLED): Likewise.
21260         (CLD_DUMPED): Likewise.
21261         (CLD_TRAPPED): Likewise.
21262         (CLD_STOPPED): Likewise.
21263         (CLD_CONTINUED): Likewise.
21264         (POLL_IN): Likewise.
21265         (POLL_OUT): Likewise.
21266         (POLL_MSG): Likewise.
21267         (POLL_ERR): Likewise.
21268         (POLL_PRI): Likewise.
21269         (POLL_HUP): Likewise.
21270         * sysdeps/unix/sysv/linux/bits/siginfo.h (ILL_ILLOPC): Likewise.
21271         (ILL_ILLOPN): Likewise.
21272         (ILL_ILLADR): Likewise.
21273         (ILL_ILLTRP): Likewise.
21274         (ILL_PRVOPC): Likewise.
21275         (ILL_PRVREG): Likewise.
21276         (ILL_COPROC): Likewise.
21277         (ILL_BADSTK): Likewise.
21278         (FPE_INTDIV): Likewise.
21279         (FPE_INTOVF): Likewise.
21280         (FPE_FLTDIV): Likewise.
21281         (FPE_FLTOVF): Likewise.
21282         (FPE_FLTUND): Likewise.
21283         (FPE_FLTRES): Likewise.
21284         (FPE_FLTINV): Likewise.
21285         (FPE_FLTSUB): Likewise.
21286         (SEGV_MAPERR): Likewise.
21287         (SEGV_ACCERR): Likewise.
21288         (BUS_ADRALN): Likewise.
21289         (BUS_ADRERR): Likewise.
21290         (BUS_OBJERR): Likewise.
21291         (BUS_MCEERR_AR): Likewise.
21292         (BUS_MCEERR_AO): Likewise.
21293         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
21294         (TRAP_TRACE): Likewise.
21295         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
21296         __USE_XOPEN2K8].
21297         (CLD_KILLED): Likewise.
21298         (CLD_DUMPED): Likewise.
21299         (CLD_TRAPPED): Likewise.
21300         (CLD_STOPPED): Likewise.
21301         (CLD_CONTINUED): Likewise.
21302         (POLL_IN): Likewise.
21303         (POLL_OUT): Likewise.
21304         (POLL_MSG): Likewise.
21305         (POLL_ERR): Likewise.
21306         (POLL_PRI): Likewise.
21307         (POLL_HUP): Likewise.
21308         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (ILL_ILLOPC):
21309         Likewise.
21310         (ILL_ILLOPN): Likewise.
21311         (ILL_ILLADR): Likewise.
21312         (ILL_ILLTRP): Likewise.
21313         (ILL_PRVOPC): Likewise.
21314         (ILL_PRVREG): Likewise.
21315         (ILL_COPROC): Likewise.
21316         (ILL_BADSTK): Likewise.
21317         (ILL_BADIADDR): Likewise.
21318         (ILL_BREAK): Likewise.
21319         (FPE_INTDIV): Likewise.
21320         (FPE_INTOVF): Likewise.
21321         (FPE_FLTDIV): Likewise.
21322         (FPE_FLTOVF): Likewise.
21323         (FPE_FLTUND): Likewise.
21324         (FPE_FLTRES): Likewise.
21325         (FPE_FLTINV): Likewise.
21326         (FPE_FLTSUB): Likewise.
21327         (FPE_DECOVF): Likewise.
21328         (FPE_DECDIV): Likewise.
21329         (FPE_DECERR): Likewise.
21330         (FPE_INVASC): Likewise.
21331         (FPE_INVDEC): Likewise.
21332         (SEGV_MAPERR): Likewise.
21333         (SEGV_ACCERR): Likewise.
21334         (SEGV_PSTKOVF): Likewise.
21335         (BUS_ADRALN): Likewise.
21336         (BUS_ADRERR): Likewise.
21337         (BUS_OBJERR): Likewise.
21338         (BUS_MCEERR_AR): Likewise.
21339         (BUS_MCEERR_AO): Likewise.
21340         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
21341         (TRAP_TRACE): Likewise.
21342         (TRAP_BRANCH): Likewise.
21343         (TRAP_HWBKPT): Likewise.
21344         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
21345         __USE_XOPEN2K8].
21346         (CLD_KILLED): Likewise.
21347         (CLD_DUMPED): Likewise.
21348         (CLD_TRAPPED): Likewise.
21349         (CLD_STOPPED): Likewise.
21350         (CLD_CONTINUED): Likewise.
21351         (POLL_IN): Likewise.
21352         (POLL_OUT): Likewise.
21353         (POLL_MSG): Likewise.
21354         (POLL_ERR): Likewise.
21355         (POLL_PRI): Likewise.
21356         (POLL_HUP): Likewise.
21357         * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (ILL_ILLOPC): Likewise.
21358         (ILL_ILLOPN): Likewise.
21359         (ILL_ILLADR): Likewise.
21360         (ILL_ILLTRP): Likewise.
21361         (ILL_PRVOPC): Likewise.
21362         (ILL_PRVREG): Likewise.
21363         (ILL_COPROC): Likewise.
21364         (ILL_BADSTK): Likewise.
21365         (FPE_INTDIV): Likewise.
21366         (FPE_INTOVF): Likewise.
21367         (FPE_FLTDIV): Likewise.
21368         (FPE_FLTOVF): Likewise.
21369         (FPE_FLTUND): Likewise.
21370         (FPE_FLTRES): Likewise.
21371         (FPE_FLTINV): Likewise.
21372         (FPE_FLTSUB): Likewise.
21373         (SEGV_MAPERR): Likewise.
21374         (SEGV_ACCERR): Likewise.
21375         (BUS_ADRALN): Likewise.
21376         (BUS_ADRERR): Likewise.
21377         (BUS_OBJERR): Likewise.
21378         (BUS_MCEERR_AR): Likewise.
21379         (BUS_MCEERR_AO): Likewise.
21380         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
21381         (TRAP_TRACE): Likewise.
21382         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
21383         __USE_XOPEN2K8].
21384         (CLD_KILLED): Likewise.
21385         (CLD_DUMPED): Likewise.
21386         (CLD_TRAPPED): Likewise.
21387         (CLD_STOPPED): Likewise.
21388         (CLD_CONTINUED): Likewise.
21389         (POLL_IN): Likewise.
21390         (POLL_OUT): Likewise.
21391         (POLL_MSG): Likewise.
21392         (POLL_ERR): Likewise.
21393         (POLL_PRI): Likewise.
21394         (POLL_HUP): Likewise.
21395         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (ILL_ILLOPC): Likewise.
21396         (ILL_ILLOPN): Likewise.
21397         (ILL_ILLADR): Likewise.
21398         (ILL_ILLTRP): Likewise.
21399         (ILL_PRVOPC): Likewise.
21400         (ILL_PRVREG): Likewise.
21401         (ILL_COPROC): Likewise.
21402         (ILL_BADSTK): Likewise.
21403         (FPE_INTDIV): Likewise.
21404         (FPE_INTOVF): Likewise.
21405         (FPE_FLTDIV): Likewise.
21406         (FPE_FLTOVF): Likewise.
21407         (FPE_FLTUND): Likewise.
21408         (FPE_FLTRES): Likewise.
21409         (FPE_FLTINV): Likewise.
21410         (FPE_FLTSUB): Likewise.
21411         (SEGV_MAPERR): Likewise.
21412         (SEGV_ACCERR): Likewise.
21413         (BUS_ADRALN): Likewise.
21414         (BUS_ADRERR): Likewise.
21415         (BUS_OBJERR): Likewise.
21416         (BUS_MCEERR_AR): Likewise.
21417         (BUS_MCEERR_AO): Likewise.
21418         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
21419         (TRAP_TRACE): Likewise.
21420         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
21421         __USE_XOPEN2K8].
21422         (CLD_KILLED): Likewise.
21423         (CLD_DUMPED): Likewise.
21424         (CLD_TRAPPED): Likewise.
21425         (CLD_STOPPED): Likewise.
21426         (CLD_CONTINUED): Likewise.
21427         (POLL_IN): Likewise.
21428         (POLL_OUT): Likewise.
21429         (POLL_MSG): Likewise.
21430         (POLL_ERR): Likewise.
21431         (POLL_PRI): Likewise.
21432         (POLL_HUP): Likewise.
21433         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (ILL_ILLOPC): Likewise.
21434         (ILL_ILLOPN): Likewise.
21435         (ILL_ILLADR): Likewise.
21436         (ILL_ILLTRP): Likewise.
21437         (ILL_PRVOPC): Likewise.
21438         (ILL_PRVREG): Likewise.
21439         (ILL_COPROC): Likewise.
21440         (ILL_BADSTK): Likewise.
21441         (FPE_INTDIV): Likewise.
21442         (FPE_INTOVF): Likewise.
21443         (FPE_FLTDIV): Likewise.
21444         (FPE_FLTOVF): Likewise.
21445         (FPE_FLTUND): Likewise.
21446         (FPE_FLTRES): Likewise.
21447         (FPE_FLTINV): Likewise.
21448         (FPE_FLTSUB): Likewise.
21449         (SEGV_MAPERR): Likewise.
21450         (SEGV_ACCERR): Likewise.
21451         (BUS_ADRALN): Likewise.
21452         (BUS_ADRERR): Likewise.
21453         (BUS_OBJERR): Likewise.
21454         (BUS_MCEERR_AR): Likewise.
21455         (BUS_MCEERR_AO): Likewise.
21456         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
21457         (TRAP_TRACE): Likewise.
21458         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
21459         __USE_XOPEN2K8].
21460         (CLD_KILLED): Likewise.
21461         (CLD_DUMPED): Likewise.
21462         (CLD_TRAPPED): Likewise.
21463         (CLD_STOPPED): Likewise.
21464         (CLD_CONTINUED): Likewise.
21465         (POLL_IN): Likewise.
21466         (POLL_OUT): Likewise.
21467         (POLL_MSG): Likewise.
21468         (POLL_ERR): Likewise.
21469         (POLL_PRI): Likewise.
21470         (POLL_HUP): Likewise.
21471         * sysdeps/unix/sysv/linux/tile/bits/siginfo.h (ILL_ILLOPC): Likewise.
21472         (ILL_ILLOPN): Likewise.
21473         (ILL_ILLADR): Likewise.
21474         (ILL_ILLTRP): Likewise.
21475         (ILL_PRVOPC): Likewise.
21476         (ILL_PRVREG): Likewise.
21477         (ILL_COPROC): Likewise.
21478         (ILL_BADSTK): Likewise.
21479         (ILL_DBLFLT): Likewise.
21480         (ILL_HARDWALL): Likewise.
21481         (FPE_INTDIV): Likewise.
21482         (FPE_INTOVF): Likewise.
21483         (FPE_FLTDIV): Likewise.
21484         (FPE_FLTOVF): Likewise.
21485         (FPE_FLTUND): Likewise.
21486         (FPE_FLTRES): Likewise.
21487         (FPE_FLTINV): Likewise.
21488         (FPE_FLTSUB): Likewise.
21489         (SEGV_MAPERR): Likewise.
21490         (SEGV_ACCERR): Likewise.
21491         (BUS_ADRALN): Likewise.
21492         (BUS_ADRERR): Likewise.
21493         (BUS_OBJERR): Likewise.
21494         (BUS_MCEERR_AR): Likewise.
21495         (BUS_MCEERR_AO): Likewise.
21496         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
21497         (TRAP_TRACE): Likewise.
21498         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
21499         __USE_XOPEN2K8].
21500         (CLD_KILLED): Likewise.
21501         (CLD_DUMPED): Likewise.
21502         (CLD_TRAPPED): Likewise.
21503         (CLD_STOPPED): Likewise.
21504         (CLD_CONTINUED): Likewise.
21505         (POLL_IN): Likewise.
21506         (POLL_OUT): Likewise.
21507         (POLL_MSG): Likewise.
21508         (POLL_ERR): Likewise.
21509         (POLL_PRI): Likewise.
21510         (POLL_HUP): Likewise.
21511         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (ILL_ILLOPC): Likewise.
21512         (ILL_ILLOPN): Likewise.
21513         (ILL_ILLADR): Likewise.
21514         (ILL_ILLTRP): Likewise.
21515         (ILL_PRVOPC): Likewise.
21516         (ILL_PRVREG): Likewise.
21517         (ILL_COPROC): Likewise.
21518         (ILL_BADSTK): Likewise.
21519         (FPE_INTDIV): Likewise.
21520         (FPE_INTOVF): Likewise.
21521         (FPE_FLTDIV): Likewise.
21522         (FPE_FLTOVF): Likewise.
21523         (FPE_FLTUND): Likewise.
21524         (FPE_FLTRES): Likewise.
21525         (FPE_FLTINV): Likewise.
21526         (FPE_FLTSUB): Likewise.
21527         (SEGV_MAPERR): Likewise.
21528         (SEGV_ACCERR): Likewise.
21529         (BUS_ADRALN): Likewise.
21530         (BUS_ADRERR): Likewise.
21531         (BUS_OBJERR): Likewise.
21532         (BUS_MCEERR_AR): Likewise.
21533         (BUS_MCEERR_AO): Likewise.
21534         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
21535         (TRAP_TRACE): Likewise.
21536         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
21537         __USE_XOPEN2K8].
21538         (CLD_KILLED): Likewise.
21539         (CLD_DUMPED): Likewise.
21540         (CLD_TRAPPED): Likewise.
21541         (CLD_STOPPED): Likewise.
21542         (CLD_CONTINUED): Likewise.
21543         (POLL_IN): Likewise.
21544         (POLL_OUT): Likewise.
21545         (POLL_MSG): Likewise.
21546         (POLL_ERR): Likewise.
21547         (POLL_PRI): Likewise.
21548         (POLL_HUP): Likewise.
21549         * conform/Makefile (test-xfail-POSIX/signal.h/conform): Remove.
21550         (test-xfail-POSIX/sys/wait.h/conform): Likewise.
21552         [BZ #16670]
21553         * posix/sched.h [!__USE_XOPEN2K] (__need_time_t): Don't define
21554         before #include of <time.h>.
21555         [!__USE_XOPEN2K] (__need_timespec): Likewise.
21556         * conform/Makefile (test-xfail-POSIX/sched.h/conform): Remove.
21557         (test-xfail-UNIX98/sched.h/conform): Likewise.
21559 2014-03-07  Marcus Shawcroft  <marcus.shawcroft@arm.com>
21561         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Detect and
21562         error absence of trapping exception support.
21563         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
21565 2014-03-07  Joseph Myers  <joseph@codesourcery.com>
21567         * catgets/Makefile (tests-special): Add $(objpfx)sample.SJIS.cat.
21568         ($(objpfx)sample.SJIS.cat): Use $(evaluate-test).
21569         * timezone/Makefile (testdata): Move definition above include of
21570         Rules.
21571         (test-zones): New variable.
21572         (tests-special): Add zone files.
21573         (build-testdata): Use $(evaluate-test).
21575         * elf/Makefile (tests-special): Rename tests to end with .out.
21576         ($(objpfx)noload-mem): Likewise.
21577         ($(objpfx)tst-leaks1-mem): Likewise.
21578         ($(objpfx)tst-leaks1-static-mem.out): Likewise.
21579         * iconv/Makefile (xtests-special): Change test-iconvconfig to
21580         $(objpfx)test-iconvconfig.out.
21581         (test-iconvconfig): Change to $(objpfx)test-iconvconfig.out.  Use
21582         set -e inside subshell and redirect output to file.
21583         * iconvdata/Makefile (generated): Rename tests to end with .out.
21584         Correct type.
21585         (tests-special): Rename tests to end with .out.
21586         ($(objpfx)mtrace-tst-loading): Likewise.
21587         * intl/Makefile (generated): Likewise.
21588         (tests-special): Likewise.
21589         ($(objpfx)mtrace-tst-gettext): Likewise.
21590         * misc/Makefile (generated): Likewise.
21591         (tests-special): Likewise.
21592         ($(objpfx)tst-error1-mem): Likewise.
21593         * nptl/Makefile (tests-special): Likewise.
21594         ($(objpfx)tst-stack3-mem): Likewise.
21595         (generated): Likewise.
21596         * posix/Makefile (generated): Likewise.
21597         (tests-special): Likewise.
21598         (xtests-special): Likewise.
21599         ($(objpfx)tst-fnmatch-mem): Likewise.
21600         ($(objpfx)bug-regex2-mem): Likewise.
21601         ($(objpfx)bug-regex14-mem): Likewise.
21602         ($(objpfx)bug-regex21-mem): Likewise.
21603         ($(objpfx)bug-regex31-mem): Likewise.
21604         ($(objpfx)tst-vfork3-mem): Likewise.
21605         ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
21606         ($(objpfx)tst-pcre-mem): Likewise.
21607         ($(objpfx)tst-boost-mem): Likewise.
21608         ($(objpfx)bug-ga2-mem): Likewise.
21609         ($(objpfx)bug-glob2-mem): Likewise.
21610         * resolv/Makefile (generate): Likewise.
21611         (tests-special): Likewise.
21612         (xtests-special): Likewise.
21613         (generated): Likewise.
21614         ($(objpfx)mtrace-tst-leaks): Likewise.
21615         ($(objpfx)mtrace-tst-leaks2): Likewise.
21617         * scripts/merge-test-results.sh: New file.
21618         * Makefile (tests-special-notdir): New variable.
21619         (tests): Run merge-test-results.sh.
21620         (xtests): Likewise.
21621         * Rules (tests-special-notdir): New variable.
21622         (xtests-special-notdir): Likewise.
21623         (tests): Run merge-test-results.sh
21624         (xtests): Likewise.
21626         * Makeconfig (test-xfail-name): New variable.
21627         (evaluate-test): Use $(test-xfail-name) instead of $(@F:.out=) to
21628         compute variable name for expected failures.
21629         * conform/Makefile (conformtest-headers-data): New variable.
21630         (conformtest-standards): Likewise.
21631         (conformtest-headers-ISO): Likewise.
21632         (conformtest-headers-ISO99): Likewise.
21633         (conformtest-headers-ISO11): Likewise.
21634         (conformtest-headers-POSIX): Likewise.
21635         (conformtest-headers-XPG3): Likewise.
21636         (conformtest-headers-XPG4): Likewise.
21637         (conformtest-headers-UNIX98): Likewise.
21638         (conformtest-headers-XOPEN2K): Likewise.
21639         (conformtest-headers-POSIX2008): Likewise.
21640         (conformtest-headers-XOPEN2K8): Likewise.
21641         (conformtest-header-list-base): Likewise.
21642         (conformtest-header-list-tests): Likewise.
21643         (conformtest-header-base): Likewise.
21644         (conformtest-header-tests): Likewise.
21645         (tests-special): Add $(conformtest-header-list-tests).  If
21646         [$(fast-check) && !$(cross-compiling)], add
21647         $(conformtest-header-tests) instead of
21648         $(objpfx)run-conformtest.out.
21649         (generated): Add $(conformtest-header-list-base).  If
21650         [$(fast-check) && !$(cross-compiling)], add
21651         $(conformtest-header-base).  Remove previous setting.
21652         ($(conformtest-header-list-tests)): New target.
21653         (test-xfail-run-conformtest): Remove variable.
21654         ($(objpfx)run-conformtest.out): Remove target.
21655         (test-xfail-ISO11/complex.h/conform): New variable.
21656         (test-xfail-ISO11/stdalign.h/conform): Likewise.
21657         (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
21658         (test-xfail-XPG3/varargs.h/conform): Likewise.
21659         (test-xfail-XPG4/varargs.h/conform): Likewise.
21660         (test-xfail-UNIX98/varargs.h/conform): Likewise.
21661         (test-xfail-XPG4/ndbm.h/conform): Likewise.
21662         (test-xfail-UNIX98/ndbm.h/conform): Likewise.
21663         (test-xfail-XOPEN2K/ndbm.h/conform): Likewise.
21664         (test-xfail-XOPEN2K8/ndbm.h/conform): Likewise.
21665         (test-xfail-XPG3/fcntl.h/conform): Likewise.
21666         (test-xfail-XPG3/ftw.h/conform): Likewise.
21667         (test-xfail-XPG3/grp.h/conform): Likewise.
21668         (test-xfail-XPG3/langinfo.h/conform): Likewise.
21669         (test-xfail-XPG3/limits.h/conform): Likewise.
21670         (test-xfail-XPG3/pwd.h/conform): Likewise.
21671         (test-xfail-XPG3/search.h/conform): Likewise.
21672         (test-xfail-XPG3/signal.h/conform): Likewise.
21673         (test-xfail-XPG3/stdio.h/conform): Likewise.
21674         (test-xfail-XPG3/stdlib.h/conform): Likewise.
21675         (test-xfail-XPG3/string.h/conform): Likewise.
21676         (test-xfail-XPG3/sys/ipc.h/conform): Likewise.
21677         (test-xfail-XPG3/sys/msg.h/conform): Likewise.
21678         (test-xfail-XPG3/sys/sem.h/conform): Likewise.
21679         (test-xfail-XPG3/sys/shm.h/conform): Likewise.
21680         (test-xfail-XPG3/sys/stat.h/conform): Likewise.
21681         (test-xfail-XPG3/sys/types.h/conform): Likewise.
21682         (test-xfail-XPG3/sys/wait.h/conform): Likewise.
21683         (test-xfail-XPG3/termios.h/conform): Likewise.
21684         (test-xfail-XPG3/time.h/conform): Likewise.
21685         (test-xfail-XPG3/unistd.h/conform): Likewise.
21686         (test-xfail-XPG4/arpa/inet.h/conform): Likewise.
21687         (test-xfail-XPG4/fcntl.h/conform): Likewise.
21688         (test-xfail-XPG4/langinfo.h/conform): Likewise.
21689         (test-xfail-XPG4/netdb.h/conform): Likewise.
21690         (test-xfail-XPG4/netinet/in.h/conform): Likewise.
21691         (test-xfail-XPG4/signal.h/conform): Likewise.
21692         (test-xfail-XPG4/stdio.h/conform): Likewise.
21693         (test-xfail-XPG4/stdlib.h/conform): Likewise.
21694         (test-xfail-XPG4/stropts.h/conform): Likewise.
21695         (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
21696         (test-xfail-XPG4/sys/msg.h/conform): Likewise.
21697         (test-xfail-XPG4/sys/sem.h/conform): Likewise.
21698         (test-xfail-XPG4/sys/shm.h/conform): Likewise.
21699         (test-xfail-XPG4/sys/socket.h/conform): Likewise.
21700         (test-xfail-XPG4/sys/stat.h/conform): Likewise.
21701         (test-xfail-XPG4/sys/time.h/conform): Likewise.
21702         (test-xfail-XPG4/sys/types.h/conform): Likewise.
21703         (test-xfail-XPG4/sys/wait.h/conform): Likewise.
21704         (test-xfail-XPG4/termios.h/conform): Likewise.
21705         (test-xfail-XPG4/ucontext.h/conform): Likewise.
21706         (test-xfail-XPG4/unistd.h/conform): Likewise.
21707         (test-xfail-XPG4/utmpx.h/conform): Likewise.
21708         (test-xfail-POSIX/sched.h/conform): Likewise.
21709         (test-xfail-POSIX/signal.h/conform): Likewise.
21710         (test-xfail-POSIX/sys/wait.h/conform): Likewise.
21711         (test-xfail-POSIX/tar.h/conform): Likewise.
21712         (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
21713         (test-xfail-UNIX98/fcntl.h/conform): Likewise.
21714         (test-xfail-UNIX98/langinfo.h/conform): Likewise.
21715         (test-xfail-UNIX98/netdb.h/conform): Likewise.
21716         (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
21717         (test-xfail-UNIX98/sched.h/conform): Likewise.
21718         (test-xfail-UNIX98/signal.h/conform): Likewise.
21719         (test-xfail-UNIX98/stdio.h/conform): Likewise.
21720         (test-xfail-UNIX98/stdlib.h/conform): Likewise.
21721         (test-xfail-UNIX98/stropts.h/conform): Likewise.
21722         (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
21723         (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
21724         (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
21725         (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
21726         (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
21727         (test-xfail-UNIX98/sys/time.h/conform): Likewise.
21728         (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
21729         (test-xfail-UNIX98/ucontext.h/conform): Likewise.
21730         (test-xfail-UNIX98/unistd.h/conform): Likewise.
21731         (test-xfail-UNIX98/utmpx.h/conform): Likewise.
21732         (test-xfail-XOPEN2K/aio.h/conform): Likewise.
21733         (test-xfail-XOPEN2K/arpa/inet.h/conform): Likewise.
21734         (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
21735         (test-xfail-XOPEN2K/langinfo.h/conform): Likewise.
21736         (test-xfail-XOPEN2K/math.h/conform): Likewise.
21737         (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
21738         (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
21739         (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
21740         (test-xfail-XOPEN2K/semaphore.h/conform): Likewise.
21741         (test-xfail-XOPEN2K/signal.h/conform): Likewise.
21742         (test-xfail-XOPEN2K/stdarg.h/conform): Likewise.
21743         (test-xfail-XOPEN2K/stdio.h/conform): Likewise.
21744         (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
21745         (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
21746         (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
21747         (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
21748         (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
21749         (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
21750         (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
21751         (test-xfail-XOPEN2K/termios.h/conform): Likewise.
21752         (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
21753         (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
21754         (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
21755         (test-xfail-POSIX2008/arpa/inet.h/conform): Likewise.
21756         (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
21757         (test-xfail-POSIX2008/netdb.h/conform): Likewise.
21758         (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
21759         (test-xfail-POSIX2008/signal.h/conform): Likewise.
21760         (test-xfail-POSIX2008/stropts.h/conform): Likewise.
21761         (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
21762         (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
21763         (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
21764         (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
21765         (test-xfail-XOPEN2K8/limits.h/conform): Likewise.
21766         (test-xfail-XOPEN2K8/math.h/conform): Likewise.
21767         (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
21768         (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
21769         (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
21770         (test-xfail-XOPEN2K8/stdio.h/conform): Likewise.
21771         (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
21772         (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
21773         (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
21774         (test-xfail-XOPEN2K8/sys/select.h/conform): Likewise.
21775         (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
21776         (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
21777         (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
21778         (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
21779         (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
21780         (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
21781         (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
21782         (test-xfail-XOPEN2K8/utmpx.h/conform): Likewise.
21783         (conformtest-cc-flags): Likewise.
21784         ($(conformtest-header-tests): New target.
21785         * conform/check-header-lists.sh: New file.
21786         * conform/run-conformtest.sh: Remove.
21788         * conform/conformtest.pl: Allow ' and \ in values given for
21789         constants.
21790         * conform/data/semaphore.h-data [POSIX] (fcntl.h): Allow header
21791         inclusion.
21792         [POSIX] (sys/types.h): Likewise.
21793         [POSIX2008 || XOPEN2K8] (sys/types.h): Don't allow header
21794         inclusion.
21795         [POSIX || UNIX98 || XOPEN2K] (time.h): Don't allow header
21796         inclusion.
21797         * conform/data/signal.h-data (SIGIO): Remove expectation.
21798         [XPG3] (SIGBUS): Do not expect.
21799         [POSIX || XPG3] (SIGPOLL): Likewise.
21800         [POSIX || XPG3] (SIGPROF): Likewise.
21801         [POSIX || XPG3] (SIGSYS): Likewise.
21802         [XPG3] (SIGTRAP): Likewise.
21803         [POSIX || XPG3] (SIGURG): Likewise.
21804         [POSIX || XPG3] (SIGVTALRM): Likewise.
21805         [POSIX || XPG3] (SIGXCPU): Likewise.
21806         [POSIX || XPG3] (SIGXFSZ): Likewise.
21807         [POSIX] (SA_SIGINFO): Expect.
21808         [XPG3] (siginfo_t): Do not expect type or contents.
21809         [POSIX] (si_pid): Do not expect element.
21810         [POSIX] (si_uid): Likewise.
21811         [POSIX] (si_addr): Likewise.
21812         [POSIX] (si_status): Likewise.
21813         [POSIX] (si_band): Likewise.
21814         [XPG4] (si_value): Likewise.
21815         [POSIX || XPG3] (ILL_ILLOPC): Do not expect.
21816         [POSIX || XPG3] (ILL_ILLOPN): Likewise.
21817         [POSIX || XPG3] (ILL_ILLADR): Likewise.
21818         [POSIX || XPG3] (ILL_ILLTRP): Likewise.
21819         [POSIX || XPG3] (ILL_PRVOPC): Likewise.
21820         [POSIX || XPG3] (ILL_PRVREG): Likewise.
21821         [POSIX || XPG3] (ILL_COPROC): Likewise.
21822         [POSIX || XPG3] (ILL_BADSTK): Likewise.
21823         [POSIX || XPG3] (FPE_INTDIV): Likewise.
21824         [POSIX || XPG3] (FPE_INTOVF): Likewise.
21825         [POSIX || XPG3] (FPE_FLTDIV): Likewise.
21826         [POSIX || XPG3] (FPE_FLTOVF): Likewise.
21827         [POSIX || XPG3] (FPE_FLTUND): Likewise.
21828         [POSIX || XPG3] (FPE_FLTRES): Likewise.
21829         [POSIX || XPG3] (FPE_FLTINV): Likewise.
21830         [POSIX || XPG3] (FPE_FLTSUB): Likewise.
21831         [POSIX || XPG3] (SEGV_MAPERR): Likewise.
21832         [POSIX || XPG3] (SEGV_ACCERR): Likewise.
21833         [POSIX || XPG3] (BUS_ADRALN): Likewise.
21834         [POSIX || XPG3] (BUS_ADRERR): Likewise.
21835         [POSIX || XPG3] (BUS_OBJERR): Likewise.
21836         [POSIX || XPG3] (CLD_EXITED): Likewise.
21837         [POSIX || XPG3] (CLD_KILLED): Likewise.
21838         [POSIX || XPG3] (CLD_DUMPED): Likewise.
21839         [POSIX || XPG3] (CLD_TRAPPED): Likewise.
21840         [POSIX || XPG3] (CLD_STOPPED): Likewise.
21841         [POSIX || XPG3] (CLD_CONTINUED): Likewise.
21842         [POSIX || XPG3] (POLL_IN): Likewise.
21843         [POSIX || XPG3] (POLL_OUT): Likewise.
21844         [POSIX || XPG3] (POLL_MSG): Likewise.
21845         [POSIX || XPG3] (POLL_ERR): Likewise.
21846         [POSIX || XPG3] (POLL_PRI): Likewise.
21847         [POSIX || XPG3] (POLL_HUP): Likewise.
21848         [POSIX || XPG3 || POSIX2008] (TRAP_BRKPT): Likewise.
21849         [POSIX || XPG3 || POSIX2008] (TRAP_TRACE): Likewise.
21850         (SIG*): Do not allow.
21851         [XPG3] (si_*): Likewise.
21852         [XPG3] (SI_*): Likewise.
21853         [XPG3 || XPG4] (sigev_*): Likewise.
21854         [XPG3 || XPG4] (SIGEV_*): Likewise.
21855         [XPG3 || XPG4] (sival_*): Likewise.
21856         [POSIX || XPG3 || XPG4] (uc_*): Likewise.
21857         [POSIX || XPG3] (BUS_*): Likewise.
21858         [POSIX || XPG3] (CLD_*): Likewise.
21859         [POSIX || XPG3] (FPE_*): Likewise.
21860         [POSIX || XPG3] (ILL_*): Likewise.
21861         [POSIX || XPG3] (POLL_*): Likewise.
21862         [POSIX || XPG3] (SEGV_*): Likewise.
21863         [POSIX || XPG3 || POSIX2008] (SS_*): Likewise.
21864         [POSIX || XPG3 || POSIX2008] (SV_*): Likewise.
21865         [POSIX || XPG3 || POSIX2008] (TRAP_*): Likewise.
21866         [POSIX || XPG3 || POSIX2008] (ss_*): Likewise.
21867         [POSIX || XPG3 || POSIX2008] (sv_*): Likewise.
21868         * conform/data/tar.h-data (TMAGLEN): Use macro-int-constant.
21869         Specify type and value.
21870         (TVERSLEN): Likewise.
21871         (REGTYPE): Likewise.
21872         (AREGTYPE): Likewise.
21873         (LNKTYPE): Likewise.
21874         (SYMTYPE): Likewise.
21875         (CHRTYPE): Likewise.
21876         (BLKTYPE): Likewise.
21877         (DIRTYPE): Likewise.
21878         (FIFOTYPE): Likewise.
21879         (CONTTYPE): Likewise.
21880         (TSUID): Likewise.
21881         (TSGID): Likewise.
21882         (TSVTX): Likewise.
21883         (TUREAD): Likewise.
21884         (TUWRITE): Likewise.
21885         (TUEXEC): Likewise.
21886         (TGREAD): Likewise.
21887         (TGWRITE): Likewise.
21888         (TGEXEC): Likewise.
21889         (TOREAD): Likewise.
21890         (TOWRITE): Likewise.
21891         (TOEXEC): Likewise.
21892         [POSIX] (TSVTX): Expect constant.
21894 2014-03-06  Joseph Myers  <joseph@codesourcery.com>
21896         * Makefile (tests): Change dependencies to ....
21897         (tests-special): ... additions to this variable.
21898         (tests): Depend on $(tests-special).
21899         * Makerules (check-abi-list): New variable.
21900         (check-abi): Depend on $(check-abi-list).
21901         [$(subdir) = elf] (tests-special): Add
21902         $(objpfx)check-abi-libc.out.
21903         [$(build-shared) = yes && subdir] (tests-special): Add
21904         $(check-abi-list).
21905         [$(build-shared) = yes && subdir] (tests): Do not depend on
21906         check-abi.
21907         * Rules (tests): Depend on $(tests-special).
21908         (xtests): Depend on $(xtests-special).
21909         * catgets/Makefile (tests): Change dependencies to ....
21910         (tests-special): ... additions to this variable.
21911         * conform/Makefile (tests): Change dependencies to ....
21912         (tests-special): ... additions to this variable.
21913         * elf/Makefile (tests): Change dependencies to ....
21914         (tests-special): ... additions to this variable.
21915         * grp/Makefile (tests): Change dependencies to ....
21916         (tests-special): ... additions to this variable.
21917         * iconv/Makefile (xtests): Change dependencies to ....
21918         (xtests-special): ... additions to this variable.
21919         * iconvdata/Makefile (tests): Change dependencies to ....
21920         (tests-special): ... additions to this variable.
21921         * intl/Makefile (tests): Change dependencies to ....
21922         (tests-special): ... additions to this variable.  Also add
21923         $(objpfx)tst-gettext.out.
21924         * io/Makefile (tests): Change dependencies to ....
21925         (tests-special): ... additions to this variable.
21926         * libio/Makefile (tests): Change dependencies to ....
21927         (tests-special): ... additions to this variable.
21928         * malloc/Makefile (tests): Change dependencies to ....
21929         (tests-special): ... additions to this variable.
21930         * misc/Makefile (tests): Change dependencies to ....
21931         (tests-special): ... additions to this variable.
21932         * nptl/Makefile (tests): Change dependencies to ....
21933         (tests-special): ... additions to this variable.
21934         * nptl_db/Makefile (tests): Change dependencies to ....
21935         (tests-special): ... additions to this variable.
21936         * posix/Makefile (tests): Change dependencies to ....
21937         (tests-special): ... additions to this variable.
21938         (xtests): Change dependencies to ....
21939         (xtests-special): ... additions to this variable.
21940         * resolv/Makefile (tests): Change dependencies to ....
21941         (tests-special): ... additions to this variable.
21942         (xtests): Change dependencies to ....
21943         (xtests-special): ... additions to this variable.
21944         * stdio-common/Makefile (tests): Change dependencies to ....
21945         (tests-special): ... additions to this variable.
21946         (do-tst-unbputc): Remove target.
21947         (do-tst-printf): Likewise.
21948         * stdlib/Makefile (tests): Change dependencies to ....
21949         (tests-special): ... additions to this variable.
21950         * string/Makefile (tests): Change dependencies to ....
21951         (tests-special): ... additions to this variable.
21952         * sysdeps/x86/Makefile (tests): Change dependencies to ....
21953         (tests-special): ... additions to this variable.
21955         * conform/data/netinet/tcp.h-data [POSIX2008 || XOPEN2K8]: Enable
21956         whole file.
21957         * conform/data/sys/timeb.h-data [POSIX2008 || XOPEN2K8]: Disable
21958         whole file.
21959         * conform/data/sys/uio.h-data [POSIX2008]: Likewise.
21960         * conform/data/ucontext.h-data [POSIX2008 || XOPEN2K8]: Likewise.
21962         * conform/data/aio.h-data [XPG3 || XPG4]: Disable whole file.
21963         * conform/data/arpa/inet.h-data [XPG3]: Likewise.
21964         * conform/data/dlfcn.h-data [XPG3 || XPG4]: Likewise.
21965         * conform/data/fmtmsg.h-data [XPG3]: Likewise.
21966         * conform/data/libgen.h-data [XPG3]: Likewise.
21967         * conform/data/mqueue.h-data [XPG3 || XPG4]: Likewise.
21968         * conform/data/ndbm.h-data [XPG3]: Likewise.
21969         * conform/data/net/if.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
21970         * conform/data/netdb.h-data [XPG3]: Likewise.
21971         * conform/data/netinet/in.h-data [XPG3]: Likewise.
21972         * conform/data/poll.h-data [XPG3]: Likewise.
21973         * conform/data/spawn.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
21974         * conform/data/strings.h-data [XPG3]: Likewise.
21975         * conform/data/stropts.h-data [XPG3]: Likewise.
21976         * conform/data/sys/mman.h-data [XPG3]: Likewise.
21977         * conform/data/sys/resource.h-data [XPG3]: Likewise.
21978         * conform/data/sys/select.h-data [XPG3 || XPG4 || UNIX98]:
21979         Likewise.
21980         * conform/data/sys/statvfs.h-data [XPG3]: Likewise.
21981         * conform/data/sys/time.h-data [XPG3]: Likewise.
21982         * conform/data/sys/timeb.h-data [XPG3]: Likewise.
21983         * conform/data/sys/uio.h-data [XPG3]: Likewise.
21984         * conform/data/sys/un.h-data [XPG3]: Likewise.
21985         * conform/data/syslog.h-data [XPG3]: Likewise.
21986         * conform/data/ucontext.h-data [XPG3]: Likewise.
21987         * conform/data/utmpx.h-data [XPG3]: Likewise.
21988         * conform/data/varargs.h-data [UNIX98]: Enable file.
21990         * manual/Makefile (INSTALL_INFO): Remove variable setting.
21992         * math/libm-test.inc (struct test_f_f_data): Move expected results
21993         into structure for each rounding mode.
21994         (struct test_ff_f_data): Likewise.
21995         (struct test_ff_f_data_nexttoward): Likewise.
21996         (struct test_fi_f_data): Likewise.
21997         (struct test_fl_f_data): Likewise.
21998         (struct test_if_f_data): Likewise.
21999         (struct test_fff_f_data): Likewise.
22000         (struct test_c_f_data): Likewise.
22001         (struct test_f_f1_data): Likewise.
22002         (struct test_fF_f1_data): Likewise.
22003         (struct test_ffI_f1_data): Likewise.
22004         (struct test_c_c_data): Likewise.
22005         (struct test_cc_c_data): Likewise.
22006         (struct test_f_i_data): Likewise.
22007         (struct test_ff_i_data): Likewise.
22008         (struct test_f_l_data): Likewise.
22009         (struct test_f_L_data): Likewise.
22010         (struct test_fFF_11_data): Likewise.
22011         (RM_): New macro.
22012         (RM_FE_DOWNWARD): Likewise.
22013         (RM_FE_TONEAREST): Likewise.
22014         (RM_FE_TOWARDZERO): Likewise.
22015         (RM_FE_UPWARD): Likewise.
22016         (RUN_TEST_LOOP_f_f): Update references to expected results.
22017         (RUN_TEST_LOOP_2_f): Likewise.
22018         (RUN_TEST_LOOP_fff_f): Likewise.
22019         (RUN_TEST_LOOP_c_f): Likewise.
22020         (RUN_TEST_LOOP_f_f1): Likewise.
22021         (RUN_TEST_LOOP_fF_f1): Likewise.
22022         (RUN_TEST_LOOP_fI_f1): Likewise.
22023         (RUN_TEST_LOOP_ffI_f1): Likewise.
22024         (RUN_TEST_LOOP_c_c): Likewise.
22025         (RUN_TEST_LOOP_cc_c): Likewise.
22026         (RUN_TEST_LOOP_f_i): Likewise.
22027         (RUN_TEST_LOOP_f_i_tg): Likewise.
22028         (RUN_TEST_LOOP_ff_i_tg): Likewise.
22029         (RUN_TEST_LOOP_f_b): Likewise.
22030         (RUN_TEST_LOOP_f_b_tg): Likewise.
22031         (RUN_TEST_LOOP_f_l): Likewise.
22032         (RUN_TEST_LOOP_f_L): Likewise.
22033         (RUN_TEST_LOOP_fFF_11): Likewise.
22034         * math/gen-libm-test.pl (parse_args): Output four copies of
22035         expected results for each test.
22037         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
22038         (__ASSUME_UTIMES): Remove.
22039         * sysdeps/unix/sysv/linux/tile/kernel-features.h
22040         (__ASSUME_UTIMES): Likewise.
22042         * math/gen-auto-libm-tests.c: Update comment on output format.
22043         (output_for_one_input_case): Generate before-rounding and
22044         after-rounding information as conditions on output flags not
22045         floating-point format.
22046         * math/auto-libm-test-out: Regenerated.
22047         * math/gen-libm-test.pl (cond_value): New function.
22048         (or_cond_value): Use cond_value.
22049         (generate_testfile): Handle conditional exceptions.
22051 2014-03-05  Joseph Myers  <joseph@codesourcery.com>
22053         * math/libm-test.inc (max_valid_error): New variable.
22054         (init_max_error): Take new argument specifying whether function
22055         results are exactly determined.  Set max_valid_error and bound
22056         other variables for errors based on this argument.
22057         (set_max_error): Do not record results above max_valid_error.
22058         (check_float_internal): Only accept errors of up to 0.5ulps if
22059         also at most max_valid_error.
22060         (START): Take new argument EXACT and pass it to init_max_error.
22061         (acos_test): Update call to START.
22062         (acos_test_tonearest): Likewise.
22063         (acos_test_towardzero): Likewise.
22064         (acos_test_downward): Likewise.
22065         (acos_test_upward): Likewise.
22066         (acosh_test): Likewise.
22067         (asin_test): Likewise.
22068         (asin_test_tonearest): Likewise.
22069         (asin_test_towardzero): Likewise.
22070         (asin_test_downward): Likewise.
22071         (asin_test_upward): Likewise.
22072         (asinh_test): Likewise.
22073         (atan_test): Likewise.
22074         (atanh_test): Likewise.
22075         (atan2_test): Likewise.
22076         (cabs_test): Likewise.
22077         (cacos_test): Likewise.
22078         (cacosh_test): Likewise.
22079         (carg_test): Likewise.
22080         (casin_test): Likewise.
22081         (casinh_test): Likewise.
22082         (catan_test): Likewise.
22083         (catanh_test): Likewise.
22084         (cbrt_test): Likewise.
22085         (ccos_test): Likewise.
22086         (ccosh_test): Likewise.
22087         (ceil_test): Likewise.
22088         (cexp_test): Likewise.
22089         (cimag_test): Likewise.
22090         (clog_test): Likewise.
22091         (clog10_test): Likewise.
22092         (conj_test): Likewise.
22093         (copysign_test): Likewise.
22094         (cos_test): Likewise.
22095         (cos_test_tonearest): Likewise.
22096         (cos_test_towardzero): Likewise.
22097         (cos_test_downward): Likewise.
22098         (cos_test_upward): Likewise.
22099         (cosh_test): Likewise.
22100         (cosh_test_tonearest): Likewise.
22101         (cosh_test_towardzero): Likewise.
22102         (cosh_test_downward): Likewise.
22103         (cosh_test_upward): Likewise.
22104         (cpow_test): Likewise.
22105         (cproj_test): Likewise.
22106         (creal_test): Likewise.
22107         (csin_test): Likewise.
22108         (csinh_test): Likewise.
22109         (csqrt_test): Likewise.
22110         (ctan_test): Likewise.
22111         (ctan_test_tonearest): Likewise.
22112         (ctan_test_towardzero): Likewise.
22113         (ctan_test_downward): Likewise.
22114         (ctan_test_upward): Likewise.
22115         (ctanh_test): Likewise.
22116         (ctanh_test_tonearest): Likewise.
22117         (ctanh_test_towardzero): Likewise.
22118         (ctanh_test_downward): Likewise.
22119         (ctanh_test_upward): Likewise.
22120         (erf_test): Likewise.
22121         (erfc_test): Likewise.
22122         (exp_test): Likewise.
22123         (exp_test_tonearest): Likewise.
22124         (exp_test_towardzero): Likewise.
22125         (exp_test_downward): Likewise.
22126         (exp_test_upward): Likewise.
22127         (exp10_test): Likewise.
22128         (exp10_test_tonearest): Likewise.
22129         (exp10_test_towardzero): Likewise.
22130         (exp10_test_downward): Likewise.
22131         (exp10_test_upward): Likewise.
22132         (pow10_test): Likewise.
22133         (exp2_test): Likewise.
22134         (expm1_test): Likewise.
22135         (expm1_test_tonearest): Likewise.
22136         (expm1_test_towardzero): Likewise.
22137         (expm1_test_downward): Likewise.
22138         (expm1_test_upward): Likewise.
22139         (fabs_test): Likewise.
22140         (fdim_test): Likewise.
22141         (floor_test): Likewise.
22142         (fma_test): Likewise.
22143         (fma_test_towardzero): Likewise.
22144         (fma_test_downward): Likewise.
22145         (fma_test_upward): Likewise.
22146         (fmax_test): Likewise.
22147         (fmin_test): Likewise.
22148         (fmod_test): Likewise.
22149         (fpclassify_test): Likewise.
22150         (frexp_test): Likewise.
22151         (hypot_test): Likewise.
22152         (ilogb_test): Likewise.
22153         (isfinite_test): Likewise.
22154         (finite_test): Likewise.
22155         (isgreater_test): Likewise.
22156         (isgreaterequal_test): Likewise.
22157         (isinf_test): Likewise.
22158         (isless_test): Likewise.
22159         (islessequal_test): Likewise.
22160         (islessgreater_test): Likewise.
22161         (isnan_test): Likewise.
22162         (isnormal_test): Likewise.
22163         (issignaling_test): Likewise.
22164         (isunordered_test): Likewise.
22165         (j0_test): Likewise.
22166         (j1_test): Likewise.
22167         (jn_test): Likewise.
22168         (ldexp_test): Likewise.
22169         (lgamma_test): Likewise.
22170         (gamma_test): Likewise.
22171         (lrint_test): Likewise.
22172         (lrint_test_tonearest): Likewise.
22173         (lrint_test_towardzero): Likewise.
22174         (lrint_test_downward): Likewise.
22175         (lrint_test_upward): Likewise.
22176         (llrint_test): Likewise.
22177         (llrint_test_tonearest): Likewise.
22178         (llrint_test_towardzero): Likewise.
22179         (llrint_test_downward): Likewise.
22180         (llrint_test_upward): Likewise.
22181         (log_test): Likewise.
22182         (log10_test): Likewise.
22183         (log1p_test): Likewise.
22184         (log2_test): Likewise.
22185         (logb_test): Likewise.
22186         (logb_test_downward): Likewise.
22187         (lround_test): Likewise.
22188         (llround_test): Likewise.
22189         (modf_test): Likewise.
22190         (nearbyint_test): Likewise.
22191         (nextafter_test): Likewise.
22192         (nexttoward_test): Likewise.
22193         (pow_test): Likewise.
22194         (pow_test_tonearest): Likewise.
22195         (pow_test_towardzero): Likewise.
22196         (pow_test_downward): Likewise.
22197         (pow_test_upward): Likewise.
22198         (remainder_test): Likewise.
22199         (drem_test): Likewise.
22200         (remainder_test_tonearest): Likewise.
22201         (drem_test_tonearest): Likewise.
22202         (remainder_test_towardzero): Likewise.
22203         (drem_test_towardzero): Likewise.
22204         (remainder_test_downward): Likewise.
22205         (drem_test_downward): Likewise.
22206         (remainder_test_upward): Likewise.
22207         (drem_test_upward): Likewise.
22208         (remquo_test): Likewise.
22209         (rint_test): Likewise.
22210         (rint_test_tonearest): Likewise.
22211         (rint_test_towardzero): Likewise.
22212         (rint_test_downward): Likewise.
22213         (rint_test_upward): Likewise.
22214         (round_test): Likewise.
22215         (scalb_test): Likewise.
22216         (scalbn_test): Likewise.
22217         (scalbln_test): Likewise.
22218         (signbit_test): Likewise.
22219         (sin_test): Likewise.
22220         (sin_test_tonearest): Likewise.
22221         (sin_test_towardzero): Likewise.
22222         (sin_test_downward): Likewise.
22223         (sin_test_upward): Likewise.
22224         (sincos_test): Likewise.
22225         (sinh_test): Likewise.
22226         (sinh_test_tonearest): Likewise.
22227         (sinh_test_towardzero): Likewise.
22228         (sinh_test_downward): Likewise.
22229         (sinh_test_upward): Likewise.
22230         (sqrt_test): Likewise.
22231         (sqrt_test_tonearest): Likewise.
22232         (sqrt_test_towardzero): Likewise.
22233         (sqrt_test_downward): Likewise.
22234         (sqrt_test_upward): Likewise.
22235         (tan_test): Likewise.
22236         (tan_test_tonearest): Likewise.
22237         (tan_test_towardzero): Likewise.
22238         (tan_test_downward): Likewise.
22239         (tan_test_upward): Likewise.
22240         (tanh_test): Likewise.
22241         (tgamma_test): Likewise.
22242         (trunc_test): Likewise.
22243         (y0_test): Likewise.
22244         (y1_test): Likewise.
22245         (yn_test): Likewise.
22246         (significand_test): Likewise.
22248         * math/libm-test.inc (struct ulp_data): Don't refer to ulps for
22249         individual tests in comment.
22250         (libm-test-ulps.h): Don't refer to test_ulps in #include comment.
22251         (prev_max_error): New variable.
22252         (prev_real_max_error): Likewise.
22253         (prev_imag_max_error): Likewise.
22254         (compare_ulp_data): Don't refer to test names in comment.
22255         (find_test_ulps): Remove function.
22256         (find_function_ulps): Likewise.
22257         (find_complex_function_ulps): Likewise.
22258         (init_max_error): Take function name as argument.  Look up ulps
22259         for that function.
22260         (print_ulps): Remove function.
22261         (print_max_error): Use prev_max_error instead of calling
22262         find_function_ulps.
22263         (print_complex_max_error): Use prev_real_max_error and
22264         prev_imag_max_error instead of calling find_complex_function_ulps.
22265         (check_float_internal): Take max_ulp parameter instead of calling
22266         find_test_ulps.  Don't call print_ulps.
22267         (check_float): Update call to check_float_internal.
22268         (check_complex): Update calls to check_float_internal.
22269         (START): Pass argument to init_max_error.
22270         * math/gen-libm-test.pl (%results): Don't include "kind"
22271         information.
22272         (parse_ulps): Don't handle ulps of individual tests.
22273         (print_ulps_file): Likewise.
22274         (output_ulps): Likewise.
22275         * math/README.libm-test: Update.
22276         * manual/libm-err-tab.pl (parse_ulps): Don't handle ulps of
22277         individual tests.
22278         * sysdeps/aarch64/libm-test-ulps: Remove individual test ulps.
22279         * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
22280         * sysdeps/arm/libm-test-ulps: Likewise.
22281         * sysdeps/i386/fpu/libm-test-ulps: Likewise.
22282         * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
22283         * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
22284         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
22285         * sysdeps/microblaze/libm-test-ulps: Likewise.
22286         * sysdeps/mips/mips32/libm-test-ulps: Likewise.
22287         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
22288         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
22289         * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
22290         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
22291         * sysdeps/sh/libm-test-ulps: Likewise.
22292         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
22293         * sysdeps/tile/libm-test-ulps: Likewise.
22294         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22296 2014-03-04  Joseph Myers  <joseph@codesourcery.com>
22298         * math/libm-test.inc (print_complex_max_error): Check separately
22299         whether real and imaginary errors are within allowed range and
22300         pass 0 to print_complex_function_ulps instead of value within
22301         allowed range.
22303 2014-03-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
22305         * libio/tst-ftell-active-handler.c (get_handles_fdopen): Fix
22306         formatting.
22307         (get_handles_fopen): Likewise.
22308         (do_write_test): Likewise.
22310         * libio/wfileops.c (do_ftell_wide): Fix up formatting.
22312         * libio/fileops.c (do_ftell): Use cached offset when
22313         available.
22314         * libio/iofwide.c (do_ftell_wide): Likewise.
22315         * libio/iofdopen.c (_IO_new_fdopen): Don't use
22316         _IO_file_attach.
22317         * libio/wfileops.c (_IO_fwide): Don't cache offset.
22319         [BZ #16532]
22320         * libio/libioP.h (get_file_offset): New function.
22321         * libio/fileops.c (get_file_offset): Likewise.
22322         (do_ftell): Likewise.
22323         (_IO_new_file_seekoff): Split out ftell logic.
22324         * libio/wfileops.c (do_ftell_wide): Likewise.
22325         (_IO_wfile_seekoff): Split out ftell logic.
22326         * libio/tst-ftell-active-handler.c: New test case.
22327         * libio/Makefile (tests): Add it.
22329 2014-03-03  Roland McGrath  <roland@hack.frob.com>
22331         * nptl/ChangeLog: Renamed to nptl/ChangeLog.old, no longer used.
22332         * nptl_db/ChangeLog: Renamed to nptl_db/ChangeLog.old, no longer used.
22334 2014-03-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
22336         [BZ #16639]
22337         * nscd/connections.c (nscd_init): Call do_exit.
22338         (start_threads): Call do_exit and notify_parent.
22339         (begin_drop_privileges): Call do_exit.
22340         (finish_drop_privileges): Likewise.
22341         * nscd/selinux.c (preserve_capabilities): Likewise.
22342         (install_real_capabilities): Likewise.
22343         (nscd_selinux_enabled): Likewise.
22344         (avc_create_thread): Likewise.
22345         (avc_alloc_lock): Likewise.
22346         (nscd_avc_init): Likewise.
22347         * nscd/nscd.c (parent_fd): New static variable.
22348         (main): Create a pipe between parent and child processes.
22349         Skip closing parent_fd.
22350         (monitor_child): New function.
22351         (do_exit): Likewise.
22352         (notify_parent): Likewise.
22353         * nscd/nscd.h (notify_parent): Likewise.
22354         (do_exit): Likewise.
22356 2014-03-03  Carlos O'Donell  <carlos@redhat.com>
22358         * malloc/malloc.c (__libc_calloc): Revert last change.
22360 2014-03-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22362         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22364 2014-03-03  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
22366         * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file.
22367         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch
22368         implementation.
22369         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
22370         (__libc_ifunc_impl_list): Likewise.
22371         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file.
22372         * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file.
22373         * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file.
22374         * string/strrchr.c: Define STRRCHR.
22376 2014-02-28  Ondřej Bílka  <neleai@seznam.cz>
22378         * benchtest/bench-strtok.c (simple_strtok): Delete.
22379         (strtok_string): Use as benchmark.
22380         * string/strtok (STRTOK): New macro.
22382 2014-02-28  Carlos O'Donell  <carlos@redhat.com>
22384         * manual/threads.texi: Add header and standard comments to all
22385         functions.
22387         * elf/dl-lookup.c (check_match): New function.
22388         (ELF_MACHINE_SYM_NO_MATCH): Adjust comment.
22389         (do_lookup_x): Remove nested function check_match. Use non-nested
22390         function check_match.
22392 2014-02-28  Roland McGrath  <roland@hack.frob.com>
22394         * csu/Makefile (generated, before-compile): Use += rather than =.
22395         * catgets/Makefile (generated, generated-dirs): Likewise.
22396         * debug/Makefile (generated): Likewise.
22397         * dlfcn/Makefile (generated): Likewise.
22398         * elf/Makefile (before-compile, generated, generated-dirs): Likewise.
22399         * iconvdata/Makefile (before-compile, generated): Likewise.
22400         * intl/Makefile (before-compile, generated, generated-dirs): Likewise.
22401         * libio/Makefile (generated): Likewise.
22402         * malloc/Makefile (generated): Likewise.
22403         * manual/Makefile (generated, generated-dirs): Likewise.
22404         * misc/Makefile (generated): Likewise.
22405         * posix/Makefile (generated): Likewise.
22406         * resolv/Makefile (generated): Likewise.
22407         * sunrpc/Makefile (generated, generated-dirs): Likewise.
22408         * timezone/Makefile (generated, generated-dirs): Likewise.
22410         * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }.
22412 2014-02-27  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22414         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
22415         power8 implementation.
22416         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New
22417         file: POWER8 llround ifunc implementation.
22418         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
22419         (__lllround): Add POWER8 implementation.
22420         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
22421         POWER8 llround implementation.
22423         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint
22424         power8 implementation.
22425         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New
22426         file: POWER8 llrint ifunc implementation.
22427         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint):
22428         Add POWER8 implementation.
22429         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
22430         POWER8 llrint implementation.
22432         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite
22433         power8 implementation.
22434         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New
22435         file: POWER8 finite ifunc implementation.
22436         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite):
22437         Add POWER8 implementation.
22438         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
22439         Likewise.
22440         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
22441         POWER8 finite implementation.
22442         * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
22444         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf
22445         power8 implementation.
22446         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New
22447         file: POWER8 isinf ifunc implementation.
22448         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
22449         POWER8 implementation.
22450         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
22451         Likewise.
22452         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file: POWER8
22453         isinf implementation.
22454         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
22456         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
22457         (INIT_ARCH): Add hwcap2 initialization.
22458         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
22459         power8 implementation.
22460         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New
22461         file: POWER8 isnan ifunc implementation.
22462         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
22463         POWER8 implementation.
22464         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
22465         Likewise.
22466         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file: POWER8
22467         isnan implementation.
22468         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
22470 2014-02-27  Joey Ye  <joey.ye@arm.com>
22472         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
22473         (_FP_NANFRAC_Q): Set to zero.
22475 2014-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
22477         [BZ #16623]
22478         * math/auto-libm-test-in: New test inputs.
22479         * math/auto-libm-test-out: Regenerate.
22480         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A
22481         and DA.
22482         (__cos): Likewise.
22483         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
22485 2014-02-27  Joseph Myers  <joseph@codesourcery.com>
22487         * scripts/evaluate-test.sh: Take new argument indicating whether
22488         failure is expected.
22489         * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh
22490         indicating whether failure is expected.
22491         * conform/Makefile (test-xfail-run-conformtest): New variable.
22492         ($(objpfx)run-conformtest.out): Don't expect to fail at makefile
22493         level.
22494         * posix/Makefile (test-xfail-annexc): New variable.
22495         ($(objpfx)annexc.out): Don't expect to fail at makefile level.
22497 2014-02-26  Joseph Myers  <joseph@codesourcery.com>
22499         * argp/Makefile: Include Makeconfig immediately after defining
22500         subdir.
22501         * assert/Makefile: Likewise.
22502         * benchtests/Makefile: Likewise.
22503         * catgets/Makefile: Likewise.
22504         * conform/Makefile: Likewise.
22505         * crypt/Makefile: Likewise.
22506         * csu/Makefile: Likewise.
22507         (all): Remove target.
22508         * ctype/Makefile: Include Makeconfig immediately after defining
22509         subdir.
22510         * debug/Makefile: Likewise.
22511         * dirent/Makefile: Likewise.
22512         * dlfcn/Makefile: Likewise.
22513         * gmon/Makefile: Likewise.
22514         * gnulib/Makefile: Likewise.
22515         * grp/Makefile: Likewise.
22516         * gshadow/Makefile: Likewise.
22517         * hesiod/Makefile: Likewise.
22518         * hurd/Makefile: Likewise.
22519         (all): Remove target.
22520         * iconvdata/Makefile: Include Makeconfig immediately after
22521         defining subdir.
22522         * inet/Makefile: Likewise.
22523         * intl/Makefile: Likewise.
22524         * io/Makefile: Likewise.
22525         * libio/Makefile: Likewise.
22526         (all): Remove target.
22527         * locale/Makefile: Include Makeconfig immediately after defining
22528         subdir.
22529         * login/Makefile: Likewise.
22530         * mach/Makefile: Likewise.
22531         (all): Remove target.
22532         * malloc/Makefile: Include Makeconfig immediately after defining
22533         subdir.
22534         (all): Remove target.
22535         * manual/Makefile: Include Makeconfig immediately after defining
22536         subdir.
22537         * math/Makefile: Likewise.
22538         * misc/Makefile: Likewise.
22539         * nis/Makefile: Likewise.
22540         * nss/Makefile: Likewise.
22541         * po/Makefile: Likewise.
22542         (all): Remove target.
22543         * posix/Makefile: Include Makeconfig immediately after defining
22544         subdir.
22545         * pwd/Makefile: Likewise.
22546         * resolv/Makefile: Likewise.
22547         * resource/Makefile: Likewise.
22548         * rt/Makefile: Likewise.
22549         * setjmp/Makefile: Likewise.
22550         * shadow/Makefile: Likewise.
22551         * signal/Makefile: Likewise.
22552         * socket/Makefile: Likewise.
22553         * soft-fp/Makefile: Likewise.
22554         * stdio-common/Makefile: Likewise.
22555         * stdlib/Makefile: Likewise.
22556         * streams/Makefile: Likewise.
22557         * string/Makefile: Likewise.
22558         * sunrpc/Makefile: Likewise.
22559         (all): Remove target.
22560         * sysvipc/Makefile: Include Makeconfig immediately after defining
22561         subdir.
22562         * termios/Makefile: Likewise.
22563         * time/Makefile: Likewise.
22564         * timezone/Makefile: Likewise.
22565         (all): Remove target.
22566         * wcsmbs/Makefile: Include Makeconfig immediately after defining
22567         subdir.
22568         * wctype/Makefile: Likewise.
22570 2014-02-26  Steve Ellcey  <sellcey@mips.com>
22572         * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
22573         (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
22574         (libc_feholdexcept_setround_mips): Ditto.
22575         (libc_feholdsetround): New.
22576         (libc_feholdsetroundf): New.
22577         (libc_feholdsetroundl): New.
22578         (libc_feupdateenv_test_mips): New.
22579         (libc_feupdateenv_test): New.
22580         (libc_feupdateenv_testf): New.
22581         (libc_feupdateenv_testl): New.
22582         (libc_feresetround): New.
22583         (libc_feresetroundf): New.
22584         (libc_feresetroundl): New.
22585         (libc_fetestexcept_mips): New.
22586         (libc_fetestexcept): New.
22587         (libc_fetestexceptf): New.
22588         (libc_fetestexceptl): New.
22589         (HAVE_RM_CTX): New.
22590         (libc_feholdexcept_setround_mips_ctx): New.
22591         (libc_feholdexcept_setround_ctx): New.
22592         (libc_feholdexcept_setroundf_ctx): New.
22593         (libc_feholdexcept_setroundl_ctx): New.
22594         (libc_fesetenv_mips_ctx): New.
22595         (libc_fesetenv_ctx): New.
22596         (libc_fesetenv_ctxf): New.
22597         (libc_fesetenv_ctxl): New.
22598         (libc_feupdateenv_mips_ctx): New.
22599         (libc_feupdateenv_ctx): New.
22600         (libc_feupdateenvf_ctx): New.
22601         (libc_feupdateenvl_ctx): New.
22602         (libc_feholdsetround_mips_ctx): New.
22603         (libc_feholdsetround_ctx): New.
22604         (libc_feholdsetroundf_ctx): New.
22605         (libc_feholdsetroundl_ctx): New.
22606         (libc_feresetround_mips_ctx): New.
22607         (libc_feresetround_ctx): New.
22608         (libc_feresetroundf_ctx): New.
22609         (libc_feresetroundl_ctx): New.
22611 2014-02-26  Carlos O'Donell  <carlos@redhat.com>
22613         * manual/ipc.texi (Semaphores): Use @Theglibc{}.
22615         * manual/ipc.texi: New file.
22616         * manual/Makefile (chapters): Add ipc.
22617         * manual/job.texi: Add "Inter-Process Communication" to next.
22618         * manual/process.texi: Add "Inter-Process Communication" to prev.
22620 2014-02-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22622         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22624 2014-02-26  Ondřej Bílka  <neleai@seznam.cz>
22626         * malloc/malloc.c (__libc_calloc): Simplify implementation.
22628         * manual/arith.texi: Fix spaces after sentences.
22629         * manual/charset.texi: Likewise.
22630         * manual/errno.texi: Likewise.
22631         * manual/install.texi: Likewise.
22632         * manual/llio.texi: Likewise.
22633         * manual/locale.texi: Likewise.
22634         * manual/maint.texi: Likewise.
22635         * manual/math.texi: Likewise.
22636         * manual/memory.texi: Likewise.
22637         * manual/message.texi: Likewise.
22638         * manual/probes.texi: Likewise.
22639         * manual/resource.texi: Likewise.
22640         * manual/signal.texi: Likewise.
22641         * manual/socket.texi: Likewise.
22642         * manual/stdio.texi: Likewise.
22643         * manual/string.texi: Likewise.
22644         * manual/time.texi: Likewise.
22645         * manual/users.texi: Likewise.
22647 2014-02-25  Carlos O'Donell  <carlos@redhat.com>
22649         [BZ #16632]
22650         * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
22651         _DEFAULT_SOURCE is defined.
22653 2014-02-25  Ulrich Drepper  <drepper@gmail.com>
22654             Carlos O'Donell  <carlos@redhat.com>
22656         [BZ #16613]
22657         * elf/dl-tls.c (_dl_count_modids): New function.
22658         * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
22659         * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
22660         audit library and increment generation counter.
22661         (_dl_allocate_tls_init): Add assertion to check TLS generation count.
22662         * elf/tst-audit9.c: New file.
22663         * elf/tst-auditmod9a.c: New file.
22664         * elf/tst-auditmod9b.c: New file.
22665         * elf/Makefile: Add rules to build and run tst-audit9.
22667 2014-02-25  Florian Weimer  <fweimer@redhat.com>
22669         [BZ #15347]
22670         * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
22672 2014-02-25  Will Newton  <will.newton@linaro.org>
22674         * sysdeps/arm/__longjmp.S: Include stap-probe.h.
22675         (__longjmp): Restore sp and lr before restoring callee
22676         saved registers.  Add longjmp and longjmp_target
22677         SystemTap probe point.
22678         * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
22679         * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
22680         Define to zero to match jmpbuf layout.
22681         * sysdeps/arm/setjmp.S: Include stap-probe.h.
22682         (__sigsetjmp): Save sp and lr before saving callee
22683         saved registers.  Add setjmp SystemTap probe point.
22685 2014-02-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
22687         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
22689 2014-02-24  Andreas Schwab  <schwab@suse.de>
22691         [BZ #15804]
22692         * elf/pldd.c (wait_for_ptrace_stop): New function.
22693         (main): Call it after attaching.
22695 2014-02-22  Roland McGrath  <roland@hack.frob.com>
22697         * Makerules ($(common-objpfx)Versions.v.i): No longer depend
22698         on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
22699         Versions files is now verboten.
22700         * hurd/Versions (libc: GLIBC_2.0):
22701         Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
22702         (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
22703         [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
22704         * mach/Versions: Likewise.
22706         * csu/Versions: Remove unused %include.
22707         * resolv/Versions: Likewise.
22709 2014-02-21  Joseph Myers  <joseph@codesourcery.com>
22711         * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
22712         ($(objpfx)check-local-headers.out): Likewise.
22713         ($(objpfx)begin-end-check.out): Likewise.
22714         * Makerules (check-abi-%.out): Likewise.
22715         * catgets/Makefile ($(objpfx)test1.cat): Likewise.
22716         ($(objpfx)test2.cat): Likewise.
22717         ($(objpfx)de/libc.cat): Likewise.
22718         ($(objpfx)test-gencat.out): Likewise.
22719         * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
22720         * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
22721         ($(objpfx)noload-mem): Likewise.
22722         ($(objpfx)tst-pathopt.out): Likewise.
22723         ($(objpfx)tst-rtld-load-self.out): Likewise.
22724         ($(objpfx)tst-array1-cmp.out): Likewise.
22725         ($(objpfx)tst-array1-static-cmp.out): Likewise.
22726         ($(objpfx)tst-array2-cmp.out): Likewise.
22727         ($(objpfx)tst-array3-cmp.out): Likewise.
22728         ($(objpfx)tst-array4-cmp.out): Likewise.
22729         ($(objpfx)tst-array5-cmp.out): Likewise.
22730         ($(objpfx)tst-array5-static-cmp.out): Likewise.
22731         ($(objpfx)check-textrel.out): Likewise.
22732         ($(objpfx)check-execstack.out): Likewise.
22733         ($(objpfx)check-localplt.out): Likewise.
22734         ($(objpfx)order2-cmp.out): Likewise.
22735         ($(objpfx)tst-leaks1-mem): Likewise.
22736         ($(objpfx)tst-leaks1-static-mem): Likewise.
22737         ($(objpfx)tst-initorder-cmp.out): Likewise.
22738         ($(objpfx)tst-initorder2-cmp.out): Likewise.
22739         ($(objpfx)tst-unused-dep.out): Likewise.
22740         ($(objpfx)tst-unused-dep-cmp.out): Likewise.
22741         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
22742         * iconv/Makefile (test-iconvconfig): Likewise.
22743         * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
22744         ($(objpfx)iconv-test.out): Likewise.
22745         ($(objpfx)tst-tables.out): Likewise.
22746         * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
22747         ($(objpfx)tst-gettext.out): Likewise.
22748         ($(objpfx)tst-translit.out): Likewise.
22749         ($(objpfx)tst-gettext2.out): Likewise.
22750         ($(objpfx)tst-gettext4.out): Likewise.
22751         ($(objpfx)tst-gettext6.out): Likewise.
22752         * io/Makefile ($(objpfx)ftwtest.out): Likewise.
22753         * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
22754         ($(objpfx)tst-fopenloc-cmp.out): Likewise.
22755         ($(objpfx)tst-fopenloc-mem.out): Likewise.
22756         * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
22757         * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
22758         * posix/Makefile ($(objpfx)globtest.out): Likewise.
22759         ($(objpfx)wordexp-tst.out): Likewise.
22760         ($(objpfx)annexc.out): Likewise.
22761         ($(objpfx)tst-fnmatch-mem): Likewise.
22762         ($(objpfx)bug-regex2-mem): Likewise.
22763         ($(objpfx)bug-regex14-mem): Likewise.
22764         ($(objpfx)bug-regex21-mem): Likewise.
22765         ($(objpfx)bug-regex31-mem): Likewise.
22766         ($(objpfx)tst-vfork3-mem): Likewise.
22767         ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
22768         ($(objpfx)tst-pcre-mem): Likewise.
22769         ($(objpfx)tst-boost-mem): Likewise.
22770         ($(objpfx)tst-getconf.out): Likewise.
22771         ($(objpfx)bug-ga2-mem): Likewise.
22772         ($(objpfx)bug-glob2-mem): Likewise.
22773         * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
22774         ($(objpfx)mtrace-tst-leaks2): Likewise.
22775         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
22776         ($(objpfx)tst-printf.out): Likewise.
22777         ($(objpfx)tst-setvbuf1.out): Likewise.
22778         ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
22779         * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
22780         ($(objpfx)tst-fmtmsg.out): Likewise.
22781         * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
22782         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
22784         * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
22785         * bits/sigaction.h [__USE_MISC]: Likewise.
22786         * bits/waitstatus.h: Update #endif comments.
22787         * ctype/ctype.h: Likewise.
22788         * dirent/dirent.h: Likewise.
22789         [__USE_MISC]: Remove redundant conditionals.
22790         * grp/grp.h: Update #endif comments.
22791         [__USE_GNU]: Remove redundant conditionals.
22792         [__USE_MISC]: Likewise.
22793         * inet/netinet/in.h [__USE_GNU]: Likewise.
22794         * io/sys/stat.h [__USE_MISC]: Likewise.
22795         * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
22796         * libio/bits/stdio.h: Update #endif comments.
22797         [__USE_MISC]: Remove redundant conditionals.
22798         * libio/bits/stdio2.h [__USE_MISC]: Likewise.
22799         * libio/stdio.h: Update #endif comments.
22800         [__USE_MISC]: Remove redundant conditionals.
22801         * math/bits/math-finite.h [__USE_MISC]: Likewise.
22802         * math/bits/mathcalls.h [__USE_MISC]: Likewise.
22803         * math/math.h: Update #else and #endif comments.
22804         [__USE_MISC]: Remove redundant conditionals.
22805         * misc/sys/uio.h: Update #endif comments.
22806         * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
22807         * posix/glob.h [__USE_MISC]: Likewise.
22808         * posix/sys/types.h: Update #endif comments.
22809         [__USE_MISC]: Remove redundant conditionals.
22810         * posix/sys/wait.h: Update #endif comments.
22811         [__USE_MISC]: Remove redundant conditionals.
22812         * posix/unistd.h: Update #endif comments.
22813         [__USE_MISC]: Remove redundant conditionals.
22814         * pwd/pwd.h [__USE_GNU]: Likewise.
22815         [__USE_MISC]: Likewise.
22816         * resolv/netdb.h [__USE_GNU]: Likewise.
22817         * signal/signal.h: Update #endif comments.
22818         [__USE_MISC]: Remove redundant conditionals.
22819         * stdlib/stdlib.h: Update #else and #endif comments.
22820         [__USE_MISC]: Remove redundant conditionals.
22821         [__USE_GNU]: Likewise.
22822         * string/bits/string2.h [__USE_MISC]: Likewise.
22823         * string/string.h: Update #endif comments.
22824         [__USE_MISC]: Remove redundant conditionals.
22825         * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
22826         Likewise.
22827         * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
22828         * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
22829         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
22830         Likewise.
22831         * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
22832         Likewise.
22833         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
22834         comments.
22835         [__USE_MISC]: Remove redundant conditionals.
22836         * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
22837         * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
22838         * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
22839         * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
22840         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
22841         Likewise.
22842         * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
22843         * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
22844         Likewise.
22845         * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
22846         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
22847         Likewise.
22848         * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
22849         Likewise.
22850         * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
22851         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
22852         Likewise.
22853         * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
22854         Likewise.
22855         * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
22856         * sysdeps/x86/bits/string.h: Update #endif comments.
22857         * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
22858         conditionals.
22859         * time/sys/time.h: Update #endif comments.
22860         * time/time.h: Likewise.
22861         [__USE_MISC]: Remove redundant conditionals.
22863 2014-02-21  Yury Gribov  <y.gribov@samsung.com>
22865         [BZ #16600]
22866         * sysdeps/arm/libm-test-ulps: Update for VFPv4.
22868 2014-02-21  Andreas Schwab  <schwab@linux-m68k.org>
22870         * Versions.def (librt): Add GLIBC_2.17.
22872 2014-02-21  Adam Conrad  <adconrad@0c3.net>
22874         * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
22875         synonym for _SYS_AUXV_H to allow direct inclusion.
22876         * sysdeps/sparc/bits/hwcap.h: Likewise.
22877         * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
22878         _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
22879         * sysdeps/sparc/sysdep.h: Likewise.
22881 2014-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
22883         * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
22885 2014-02-21  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
22887         * benchtests/bench-strrchr.c: Print length instead of position.
22889 2014-02-20  Joseph Myers  <joseph@codesourcery.com>
22891         [BZ #16611]
22892         * sysdeps/unix/sysv/linux/kernel-features.h
22893         [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
22894         (__ASSUME_SENDMMSG_SOCKETCALL): Define.
22895         [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
22896         __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
22897         Likewise.
22898         [__i386__ || __powerpc__ || __sh__ || __sparc__]
22899         (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
22900         [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
22901         (__ASSUME_SENDMMSG): Define instead of using previous
22902         [__LINUX_KERNEL_VERSION >= 0x020627] condition.
22903         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
22904         (__ASSUME_SENDMMSG_SYSCALL): Define.
22905         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
22906         [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
22907         Likewise.
22908         * sysdeps/unix/sysv/linux/arm/kernel-features.h
22909         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
22910         Likewise.
22911         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
22912         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
22913         Likewise.
22914         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
22915         && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
22916         !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
22917         [__ASSUME_SENDMMSG]: Change conditionals to
22918         [__ASSUME_SENDMMSG_SOCKETCALL].
22919         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
22920         [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
22921         Define.
22922         * sysdeps/unix/sysv/linux/mips/kernel-features.h
22923         [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
22924         Likewise.
22925         * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
22926         !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
22927         !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
22928         [!__ASSUME_SENDMMSG]: Change conditional to
22929         [!__ASSUME_SENDMMSG_SOCKETCALL].
22930         * sysdeps/unix/sysv/linux/tile/kernel-features.h
22931         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
22932         Define.
22934         [BZ #16610]
22935         * sysdeps/unix/sysv/linux/kernel-features.h
22936         [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
22937         (__ASSUME_RECVMMSG_SOCKETCALL): Define.
22938         [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
22939         __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
22940         || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
22941         [__i386__ || __sparc__]
22942         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
22943         [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
22944         (__ASSUME_RECVMMSG): Define instead of using previous
22945         [__LINUX_KERNEL_VERSION >= 0x020621] condition.
22946         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
22947         (__ASSUME_RECVMMSG_SYSCALL): Define.
22948         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
22949         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
22950         Likewise.
22951         * sysdeps/unix/sysv/linux/arm/kernel-features.h
22952         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
22953         Likewise.
22954         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
22955         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
22956         Likewise.
22957         * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
22958         && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
22959         !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
22960         [__ASSUME_RECVMMSG]: Change condition to
22961         [__ASSUME_RECVMMSG_SOCKETCALL].
22962         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
22963         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
22964         Define.
22965         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
22966         * sysdeps/unix/sysv/linux/mips/kernel-features.h
22967         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
22968         Likewise.
22969         * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
22970         !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
22971         !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
22972         [!__ASSUME_RECVMMSG]: Change condition to
22973         [!__ASSUME_RECVMMSG_SOCKETCALL].
22974         * sysdeps/unix/sysv/linux/tile/kernel-features.h
22975         (__ASSUME_RECVMMSG_SYSCALL): Define.
22977         [BZ #16609]
22978         * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
22979         __powerpc__ || __s390__ || __sh__ || __sparc__]
22980         (__ASSUME_SOCKETCALL): Define.
22981         [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
22982         (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
22983         [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
22984         || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
22985         __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
22986         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
22987         [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
22988         (__ASSUME_ACCEPT4): Define instead of using previous
22989         [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
22990         __powerpc__ || __sparc__ || __s390__)] condition.
22991         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
22992         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
22993         * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
22994         !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
22995         !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
22996         [!__ASSUME_ACCEPT4]: Change condition to
22997         [!__ASSUME_ACCEPT4_SOCKETCALL].
22998         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
22999         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.  Correct
23000         condition to [__LINUX_KERNEL_VERSION >= 0x030200].
23001         * sysdeps/unix/sysv/linux/arm/kernel-features.h
23002         [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
23003         __ASSUME_ACCEPT4_SYSCALL.
23004         * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
23005         Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
23006         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
23007         [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
23008         __ASSUME_ACCEPT4_SYSCALL.
23009         * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
23010         && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
23011         !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
23012         [__ASSUME_ACCEPT4]: Change condition to
23013         [__ASSUME_ACCEPT4_SOCKETCALL].
23014         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
23015         (__ASSUME_SOCKETCALL): Define.
23016         [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
23017         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
23018         (__ASSUME_SOCKETCALL): Define.
23019         (__ASSUME_ACCEPT4): Remove.
23020         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
23021         Define.
23022         * sysdeps/unix/sysv/linux/mips/kernel-features.h
23023         [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
23024         Likewise.
23025         * sysdeps/unix/sysv/linux/tile/kernel-features.h
23026         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
23028         * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
23029         macro.
23030         (HWCAP_ARM_LPAE): Likewise.
23031         (HWCAP_ARM_EVTSTRM): Likewise.
23032         * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
23033         Add vpfd32, lpae and evtstrm.
23034         * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
23035         Increase to 22.
23037 2014-02-19  Joseph Myers  <joseph@codesourcery.com>
23039         * math/auto-libm-test-in: Add tests of clog10.
23040         * math/auto-libm-test-out: Regenerated.
23041         * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
23042         * sysdeps/i386/fpu/libm-test-ulps: Update.
23043         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23045 2014-02-18  Andreas Schwab  <schwab@suse.de>
23047         [BZ #16574]
23048         * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
23049         Store non-zero if the second buffer was newly allocated.
23050         (send_dg): Likewise.
23051         (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
23052         to send_vc and send_dg.
23053         (res_nsend): Pass NULL for ansp2_malloced.
23054         * resolv/res_query.c (__libc_res_nquery): Add parameter
23055         answerp2_malloced and pass it down to __libc_res_nsend.
23056         (res_nquery): Pass additional NULL to __libc_res_nquery.
23057         (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
23058         down to __libc_res_nquery and __libc_res_nquerydomain.  Deallocate
23059         second answer buffer if answerp2_malloced was set.
23060         (res_nsearch): Pass additional NULL to __libc_res_nsearch.
23061         (__libc_res_nquerydomain): Add parameter
23062         answerp2_malloced and pass it down to __libc_res_nquery.
23063         (res_nquerydomain): Pass additional NULL to
23064         __libc_res_nquerydomain.
23065         * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
23066         additional NULL to __libc_res_nsend and __libc_res_nquery.
23067         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
23068         additional NULL to __libc_res_nsearch.
23069         (_nss_dns_gethostbyname4_r): Revert last change.  Use new
23070         parameter of __libc_res_nsearch to check for separately allocated
23071         second buffer.
23072         (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
23073         __libc_res_nquery.
23074         * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
23075         additional NULL to __libc_res_nquery.
23076         * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
23077         __libc_res_nsearch.
23078         (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
23079         * include/resolv.h: Update prototypes of __libc_res_nquery,
23080         __libc_res_nsearch, __libc_res_nsend.
23082 2014-02-18  Joseph Myers  <joseph@codesourcery.com>
23084         * math/auto-libm-test-in: Add tests of fma.
23085         * math/auto-libm-test-out: Regenerated.
23086         * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
23087         (fma_towardzero_test_data): Likewise.
23088         (fma_downward_test_data): Likewise.
23089         (fma_upward_test_data): Likewise.
23090         * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
23091         mpc_mode.
23092         (rounding_modes): Add values for new field.
23093         (func_calc_method): Add value mpfr_fff_f.
23094         (func_calc_desc): Add mpfr_fff_f union field.
23095         (test_function): Add field exact_args.
23096         (FUNC): Add macro argument EXACT_ARGS.
23097         (FUNC_mpfr_f_f): Update call to FUNC.
23098         (FUNC_mpfr_f_f): Likewise.
23099         (FUNC_mpfr_ff_f): Likewise.
23100         (FUNC_mpfr_if_f): Likewise.
23101         (FUNC_mpc_c_f): Likewise.
23102         (FUNC_mpc_c_c): Likewise.
23103         (test_functions): Add fma.  Update calls to FUNC.
23104         (handle_input_arg): Add argument exact_args.
23105         (add_test): Update call to handle_input_arg.
23106         (calc_generic_results): Add argument mode.  Handle mpfr_fff_f.
23107         (output_for_one_input_case): Update call to calc_generic_results.
23108         Recalculate exact zero results in each rounding mode.
23110         * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
23111         non-negative before setting low bit.
23112         * math/auto-libm-test-in: Mark one asin test possibly having
23113         spurious underflow.
23114         * math/auto-libm-test-out: Regenerated.
23115         * sysdeps/i386/fpu/libm-test-ulps: Update.
23116         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23118 2014-02-17  David Holsgrove <david.holsgrove@xilinx.com>
23120         * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
23121         * sysdeps/unix/sysv/linux/microblaze: Move directory from
23122         ports/sysdeps/unix/sysv/linux/microblaze.
23123         * README: Add missing listing for microblaze*-*-linux-gnu.
23125 2014-02-16  Ondřej Bílka  <neleai@seznam.cz>
23127         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Remove
23128         duplicate code
23130 2014-02-16  Mike Frysinger  <vapier@gentoo.org>
23132         * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
23133         * sysdeps/unix/sysv/linux/ia64: Move directory from
23134         ports/sysdeps/unix/sysv/linux/ia64.
23135         * README: Update listing for ia64-*-linux-gnu.
23137 2014-02-14  Tomas Dohnalek  <tdohnale@redhat.com>
23138             Joseph Myers  <joseph@codesourcery.com>
23140         * Makeconfig (test-name): New variable.
23141         (evaluate-test): Likewise.
23142         * Makerules (do-test-clean): Remove .test-result files.
23143         (common-mostlyclean): Likewise.
23144         * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
23145         * scripts/evaluate-test.sh: New file.
23147 2014-02-14  Joseph Myers  <joseph@codesourcery.com>
23149         * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
23150         separate $(objpfx)tst-fopenloc-cmp.out and
23151         $(objpfx)tst-fopenloc-mem.out targets.
23152         (tests): Update dependencies.
23153         * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
23154         (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
23155         tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
23156         (tst-rxspencer-no-utf8-ARGS): New variable.
23157         (tst-rxspencer-no-utf8-ENV): Likewise.
23158         (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
23159         instead of $(objpfx)tst-rxspencer-mem.
23160         ($(objpfx)tst-rxspencer-mem): Change target to
23161         $(objpfx)tst-rxspencer-no-utf8-mem.  Depend on
23162         $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
23163         * posix/tst-rxspencer-no-utf8.c: New file.
23165         * elf/Makefile ($(objpfx)order.out): Remove rule.
23166         [$(run-built-tests) = yes] (tests): Depend on
23167         $(objpfx)order-cmp.out.
23168         ($(objpfx)order-cmp.out): New rule.
23169         [$(run-built-tests) = yes] (tests): Depend on
23170         $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
23171         $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
23172         $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
23173         $(objpfx)tst-array5-static-cmp.out.
23174         ($(objpfx)tst-array1.out): Remove rule.
23175         ($(objpfx)tst-array1-cmp.out): New rule.
23176         ($(objpfx)tst-array1-static.out): Remove rule.
23177         ($(objpfx)tst-array1-static-cmp.out): New rule.
23178         ($(objpfx)tst-array2.out): Remove rule.
23179         ($(objpfx)tst-array2-cmp.out): New rule.
23180         ($(objpfx)tst-array3.out): Remove rule.
23181         ($(objpfx)tst-array3-cmp.out): New rule.
23182         ($(objpfx)tst-array4.out): Remove rule.
23183         ($(objpfx)tst-array4-cmp.out): New rule.
23184         ($(objpfx)tst-array5.out): Remove rule.
23185         ($(objpfx)tst-array5-cmp.out): New rule.
23186         ($(objpfx)tst-array5-static.out): Remove rule.
23187         ($(objpfx)tst-array5-static-cmp.out): New rule.
23188         [$(run-built-tests) = yes] (tests): Depend on
23189         $(objpfx)order2-cmp.out.
23190         ($(objpfx)order2.out): Remove rule.
23191         ($(objpfx)order2-cmp.out): New rule.
23192         ($(objpfx)tst-initorder.out): Remove rule.
23193         [$(run-built-tests) = yes] (tests): Depend on
23194         $(objpfx)tst-initorder-cmp.out.
23195         ($(objpfx)tst-initorder-cmp.out): New rule.
23196         ($(objpfx)tst-initorder2.out): Remove rule.
23197         [$(run-built-tests) = yes] (tests): Depend on
23198         $(objpfx)tst-initorder2-cmp.out.
23199         ($(objpfx)tst-initorder2-cmp.out): New rule.
23200         [$(run-built-tests) = yes] (tests): Depend on
23201         $(objpfx)tst-unused-dep-cmp.out.
23202         ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
23203         ($(objpfx)tst-unused-dep-cmp.out): New rule.
23204         * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
23205         on $(objpfx)tst-setvbuf1-cmp.out.
23206         ($(objpfx)tst-setvbuf1.out): Do not run cmp.
23207         ($(objpfx)tst-setvbuf1-cmp.out): New rule.
23208         * string/Makefile [$(run-built-tests) = yes] (tests): Depend
23209         $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
23210         ($(objpfx)tst-svc.out): Remove rule.
23211         ($(objpfx)tst-svc-cmp.out): New rule.
23213 2014-02-13  Joseph Myers  <joseph@codesourcery.com>
23215         * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
23216         * ctype/ctype.h [__USE_MISC]: Likewise.
23217         * dirent/dirent.h [__USE_MISC]: Likewise.
23218         * grp/grp.h [__USE_MISC]: Likewise.
23219         * io/fcntl.h [__USE_MISC]: Likewise.
23220         * io/sys/stat.h [__USE_MISC]: Likewise.
23221         * libio/stdio.h [__USE_MISC]: Likewise.
23222         * posix/unistd.h [__USE_MISC]: Likewise.
23223         * pwd/pwd.h [__USE_MISC]: Likewise.
23224         * stdlib.h [__USE_MISC]: Likewise.
23225         * string/bits/string2.h [__USE_MISC]: Likewise.
23226         * string/string.h [__USE_MISC]: Likewise.
23227         * time/time.h [__USE_MISC]: Likewise.
23229 2014-02-13  Andreas Schwab  <schwab@suse.de>
23231         [BZ #16574]
23232         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
23233         second answer buffer if it was separately allocated.
23235 2014-02-12  Joseph Myers  <joseph@codesourcery.com>
23237         * sysdeps/mips/math-tests.h: Include <features.h>.
23238         [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
23239         (ROUNDING_TESTS_long_double): Do not define.
23240         [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
23241         (EXCEPTION_TESTS_long_double): Likewise.
23242         * sysdeps/mips/mips64/libm-test-ulps: Update.
23244         * include/features.h (__USE_BSD): Remove macro definitions.
23245         (__USE_SVID): Likewise.
23246         (_BSD_SOURCE): Likewise.
23247         (_SVID_SOURCE): Likewise.
23248         [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
23249         from definition of _DEFAULT_SOURCE.
23250         [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
23251         [_DEFAULT_SOURCE].
23252         * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
23253         * bits/mman.h [__USE_BSD]: Likewise.
23254         * bits/termios.h [__USE_BSD]: Likewise.
23255         * bits/waitstatus.h [__USE_BSD]: Likewise.
23256         * ctype/ctype.h [__USE_SVID]: Likewise.
23257         * dirent/dirent.h [__USE_BSD]: Likewise.
23258         * grp/grp.h [__USE_SVID]: Likewise.
23259         [__USE_BSD]: Likewise.
23260         * inet/netinet/igmp.h [__USE_BSD]: Likewise.
23261         * io/fcntl.h [__USE_BSD]: Likewise.
23262         * io/ftw.h [__USE_BSD]: Likewise.
23263         * io/sys/stat.h [__USE_BSD]: Likewise.
23264         * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
23265         * libio/bits/stdio2.h [__USE_BSD]: Likewise.
23266         * libio/stdio.h [__USE_SVID]: Likewise.
23267         [__USE_BSD]: Likewise.
23268         * math/math.h [__USE_SVID]: Likewise.
23269         [__USE_BSD]: Likewise.
23270         * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
23271         * misc/bits/syslog.h [__USE_BSD]: Likewise.
23272         * misc/search.h [__USE_SVID]: Likewise.
23273         * misc/sys/mman.h [__USE_BSD]: Likewise.
23274         * misc/sys/syslog.h [__USE_BSD]: Likewise.
23275         * misc/sys/uio.h [__USE_BSD]: Likewise.
23276         * posix/bits/unistd.h [__USE_BSD]: Likewise.
23277         * posix/glob.h [__USE_BSD]: Likewise.
23278         * posix/regex.h [__USE_BSD]: Likewise.
23279         * posix/sys/types.h [__USE_BSD]: Likewise.
23280         [__USE_SVID]: Likewise.
23281         * posix/sys/utsname.h [__USE_SVID]: Likewise.
23282         * posix/sys/wait.h [__USE_BSD]: Likewise.
23283         [__USE_SVID]: Likewise.
23284         * posix/unistd.h [__USE_BSD]: Likewise.
23285         [__USE_SVID]: Likewise.
23286         * pwd/pwd.h [__USE_SVID]: Likewise.
23287         * resolv/netdb.h [__USE_BSD]: Likewise.
23288         * setjmp/setjmp.h [__USE_BSD]: Likewise.
23289         * signal/signal.h [__USE_BSD]: Likewise.
23290         [__USE_SVID]: Likewise.
23291         * socket/sys/socket.h [__USE_BSD]: Likewise.
23292         * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
23293         * stdlib/stdlib.h [__USE_BSD]: Likewise.
23294         [__USE_SVID]: Likewise.
23295         * string/bits/string2.h [__USE_BSD]: Likewise.
23296         [__USE_SVID]: Likewise.
23297         * string/bits/string3.h [__USE_BSD]: Likewise.
23298         * string/endian.h [__USE_BSD]: Likewise.
23299         * string/string.h [__USE_SVID]: Likewise.
23300         [__USE_BSD]: Likewise.
23301         * string/strings.h [__USE_BSD]: Likewise.
23302         * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
23303         * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
23304         * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
23305         * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
23306         * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
23307         * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
23308         Likewise.
23309         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
23310         Likewise.
23311         * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
23312         * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
23313         Likewise.
23314         * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
23315         * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
23316         Likewise.
23317         * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
23318         Likewise.
23319         * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
23320         * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
23321         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
23322         Likewise.
23323         * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
23324         Likewise.
23325         * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
23326         * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
23327         * termios/termios.h [__USE_BSD]: Likewise.
23328         * time/sys/time.h [__USE_BSD]: Likewise.
23329         * time/time.h [__USE_BSD]: Likewise.
23330         [__USE_SVID]: Likewise.
23332         * Makefile (subdir_targets): Remove subdir_lint.out.
23334         * stdio-common/Makefile (do-tst-unbputc): Remove target.
23335         (do-tst-printf): Likewise.
23336         (tests): Depend directly on $(objpfx)tst-unbputc.out and
23337         $(objpfx)tst-printf.out.
23339         * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
23341         * Makerules (check-abi-%): Change target to
23342         $(objpfx)check-abi-%.out.
23343         (check-abi target): Update dependencies.
23344         (check-abi-pattern variable): Redirect output of diff to $@.
23345         (check-abi variable): Likewise.
23346         * elf/Makefile (check-abi): Update dependencies.
23348         * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
23349         unused.
23350         (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
23351         value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
23352         subnormal range.
23353         (_FP_PACK_CANONICAL): Determine tininess based on rounding to
23354         normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
23355         value has largest subnormal exponent.
23356         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
23357         (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
23358         * sysdeps/aarch64/soft-fp/sfp-machine.h
23359         (_FP_TININESS_AFTER_ROUNDING): New macro.
23360         * sysdeps/alpha/soft-fp/sfp-machine.h
23361         (_FP_TININESS_AFTER_ROUNDING): Likewise.
23362         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
23363         Likewise.
23364         * sysdeps/mips/mips64/soft-fp/sfp-machine.h
23365         (_FP_TININESS_AFTER_ROUNDING): Likewise.
23366         * sysdeps/mips/soft-fp/sfp-machine.h
23367         (_FP_TININESS_AFTER_ROUNDING): Likewise.
23368         * sysdeps/powerpc/soft-fp/sfp-machine.h
23369         (_FP_TININESS_AFTER_ROUNDING): Likewise.
23370         * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
23371         Likewise.
23372         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
23373         (_FP_TININESS_AFTER_ROUNDING): Likewise.
23374         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
23375         (_FP_TININESS_AFTER_ROUNDING): Likewise.
23376         * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
23377         Likewise.
23379 2014-02-12  Dylan Alex Simon  <dylan@dylex.net>
23381         [BZ #16545]
23382         * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
23383         model 1.
23385 2014-02-12  Richard Henderson  <rth@redhat.com>
23387         * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
23388         * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
23389         * sysdeps/unix/sysv/linux/alpha: Move directory from
23390         ports/sysdeps/unix/sysv/linux/alpha.
23391         * README: Update listing for alpha-*-linux-gnu.
23393 2014-02-11  Joseph Myers  <joseph@codesourcery.com>
23395         * include/features.h: Update comment documenting feature test
23396         macros.
23397         [_BSD_SOURCE || _SVID_SOURCE]: Give #warning.  Define
23398         _DEFAULT_SOURCE.
23399         * manual/creature.texi (_BSD_SOURCE): Remove documentation.
23400         (_SVID_SOURCE): Likewise.
23401         (_DEFAULT_SOURCE): Update description of default features.
23402         (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
23403         with _GNU_SOURCE.
23404         * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
23405         (S_ISVTX): Likewise.
23406         * manual/math.texi (Mathematical Constants): Likewise.
23407         * manual/signal.texi (Interrupted Primitives): Likewise.
23408         * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
23409         * math/test-matherr.c (_SVID_SOURCE): Do not define.
23410         * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
23411         Don't refer to _SVID_SOURCE in warning text.
23413         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
23415         * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
23416         already defined.
23417         (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
23418         * sysdeps/mips/dl-lookup.c: Remove.
23419         * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
23421 2014-02-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
23423         [BZ #16447]
23424         * math/auto-libm-test-in: Add testcase for expl.
23425         * math/auto-libm-test-out: Regenerate.
23426         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
23427         calculation of unsafe.
23428         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
23430 2014-02-11  Marcus Shawcroft  <marcus.shawcroft@arm.com>
23432         * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
23433         * sysdeps/unix/sysv/linux/aarch64: Move directory from
23434         ports/sysdeps/unix/sysv/linux/aarch64.
23435         * README: Update listing for aarch64*-*-linux-gnu.
23437 2014-02-11  Will Newton  <will.newton@linaro.org>
23439         * manual/probes.texi (Mathematical Function Probes): Use
23440         "triggered" instead of "hit".
23442         * manual/probes.texi (Internal Probes): Add documentation
23443         of setjmp, longjmp and longjmp_target probes.
23445         * include/stap-probe.h: Add comment about probe argument
23446         format.
23448         * malloc/mtrace.c (attribute_hidden): Remove unused macro
23449         definition.  (tr_where, tr_freehook, tr_mallochook,
23450         tr_reallochook, tr_memalignhook): Use ANSI protoype.
23452 2014-02-11  David S. Miller  <davem@davemloft.net>
23454         * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
23455         processing int_tests.
23457 2014-02-10  Joseph Myers  <joseph@codesourcery.com>
23459         * sysdeps/mips: Move directory from ports/sysdeps/mips.
23460         * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
23461         * sysdeps/unix/sysv/linux/mips: Move directory from
23462         ports/sysdeps/unix/sysv/linux/mips.
23463         * README: Update listing for mips-*-linux-gnu and
23464         mips64-*-linux-gnu.
23466 2014-02-10  Andreas Schwab  <schwab@linux-m68k.org>
23468         * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
23469         * sysdeps/unix/sysv/linux/m68k: Move directory from
23470         ports/sysdeps/unix/sysv/linux/m68k.
23471         * README: Update listing for m68k-*-linux-gnu.
23473 2014-02-10  Chris Metcalf  <cmetcalf@tilera.com>
23475         * sysdeps/tile: Move directory from ports/sysdeps/tile.
23476         * sysdeps/unix/sysv/linux/generic: Move directory from
23477         ports/sysdeps/unix/sysv/linux/generic.
23478         * sysdeps/unix/sysv/linux/tile: Move directory from
23479         ports/sysdeps/unix/sysv/linux/tile.
23480         * README: Update listing for tile*-*-linux-gnu.
23482 2014-02-10  Ondřej Bílka  <neleai@seznam.cz>
23484         * assert/assert.c (__assert_fail_base): Use glibc_likely instead
23485         __builtin_expect.
23486         * benchtests/bench-memmem.c (simple_memmem): Likewise.
23487         * catgets/open_catalog.c (__open_catalog): Likewise.
23488         * csu/libc-start.c (LIBC_START_MAIN): Likewise.
23489         * debug/confstr_chk.c: Likewise.
23490         * debug/fread_chk.c (__fread_chk): Likewise.
23491         * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
23492         * debug/getgroups_chk.c: Likewise.
23493         * debug/mbsnrtowcs_chk.c: Likewise.
23494         * debug/mbsrtowcs_chk.c: Likewise.
23495         * debug/mbstowcs_chk.c: Likewise.
23496         * debug/memcpy_chk.c: Likewise.
23497         * debug/memmove_chk.c: Likewise.
23498         * debug/mempcpy_chk.c: Likewise.
23499         * debug/memset_chk.c: Likewise.
23500         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
23501         * debug/strcat_chk.c (__strcat_chk): Likewise.
23502         * debug/strcpy_chk.c (__strcpy_chk): Likewise.
23503         * debug/strncat_chk.c (__strncat_chk): Likewise.
23504         * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
23505         * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
23506         * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
23507         * debug/wcpncpy_chk.c: Likewise.
23508         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
23509         * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
23510         * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
23511         * debug/wcsncpy_chk.c: Likewise.
23512         * debug/wcsnrtombs_chk.c: Likewise.
23513         * debug/wcsrtombs_chk.c: Likewise.
23514         * debug/wcstombs_chk.c: Likewise.
23515         * debug/wmemcpy_chk.c: Likewise.
23516         * debug/wmemmove_chk.c: Likewise.
23517         * debug/wmempcpy_chk.c: Likewise.
23518         * debug/wmemset_chk.c: Likewise.
23519         * dirent/scandirat.c (SCANDIRAT): Likewise.
23520         * dlfcn/dladdr1.c (dladdr1): Likewise.
23521         * dlfcn/dladdr.c (dladdr): Likewise.
23522         * dlfcn/dlclose.c (dlclose_doit): Likewise.
23523         * dlfcn/dlerror.c (__dlerror): Likewise.
23524         * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
23525         * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
23526         * dlfcn/dlopen.c (dlopen_doit): Likewise.
23527         * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
23528         * dlfcn/dlsym.c (dlsym_doit): Likewise.
23529         * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
23530         * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
23531         * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
23532         Likewise.
23533         * elf/dl-conflict.c: Likewise.
23534         * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
23535         * elf/dl-dst.h: Likewise.
23536         * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
23537         * elf/dl-fptr.c (_dl_make_fptr): Likewise.
23538         * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
23539         * elf/dl-init.c (call_init, _dl_init): Likewise.
23540         * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
23541         * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths)
23542         (_dl_map_object_from_fd, open_verify, open_path, _dl_map_object):
23543         Likewise.
23544         * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
23545         Likewise.
23546         * elf/dl-minimal.c (__libc_memalign): Likewise.
23547         * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
23548         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
23549         * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
23550         * elf/dl-sym.c (do_sym): Likewise.
23551         * elf/dl-tls.c (tls_get_addr_tail, update_get_addr)
23552         (__tls_get_addr, _dl_tls_get_addr_soft): Likewise.
23553         * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
23554         * elf/dl-writev.h (_dl_writev): Likewise.
23555         * elf/ldconfig.c (search_dir): Likewise.
23556         * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload)
23557         (dl_main): Likewise.
23558         * elf/setup-vdso.h (setup_vdso): Likewise.
23559         * grp/compat-initgroups.c (compat_call): Likewise.
23560         * grp/fgetgrent.c (fgetgrent): Likewise.
23561         * grp/initgroups.c (getgrouplist, initgroups): Likewise.
23562         * grp/putgrent.c (putgrent): Likewise.
23563         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
23564         Likewise.
23565         * hurd/hurdinit.c: Likewise.
23566         * iconvdata/8bit-gap.c (struct): Likewise.
23567         * iconvdata/ansi_x3.110.c : Likewise.
23568         * iconvdata/big5.c : Likewise.
23569         * iconvdata/big5hkscs.c : Likewise.
23570         * iconvdata/cp1255.c: Likewise.
23571         * iconvdata/cp1258.c : Likewise.
23572         * iconvdata/cp932.c : Likewise.
23573         * iconvdata/euc-cn.c: Likewise.
23574         * iconvdata/euc-jisx0213.c : Likewise.
23575         * iconvdata/euc-jp.c: Likewise.
23576         * iconvdata/euc-jp-ms.c : Likewise.
23577         * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
23578         * iconvdata/gb18030.c : Likewise.
23579         * iconvdata/gbbig5.c (const): Likewise.
23580         * iconvdata/gbgbk.c: Likewise.
23581         * iconvdata/gbk.c : Likewise.
23582         * iconvdata/ibm1364.c : Likewise.
23583         * iconvdata/ibm930.c : Likewise.
23584         * iconvdata/ibm932.c: Likewise.
23585         * iconvdata/ibm933.c : Likewise.
23586         * iconvdata/ibm935.c : Likewise.
23587         * iconvdata/ibm937.c : Likewise.
23588         * iconvdata/ibm939.c : Likewise.
23589         * iconvdata/ibm943.c: Likewise.
23590         * iconvdata/iso_11548-1.c: Likewise.
23591         * iconvdata/iso-2022-cn.c : Likewise.
23592         * iconvdata/iso-2022-cn-ext.c : Likewise.
23593         * iconvdata/iso-2022-jp-3.c: Likewise.
23594         * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
23595         * iconvdata/iso-2022-kr.c : Likewise.
23596         * iconvdata/iso646.c (gconv_end): Likewise.
23597         * iconvdata/iso_6937-2.c : Likewise.
23598         * iconvdata/iso_6937.c : Likewise.
23599         * iconvdata/iso8859-1.c: Likewise.
23600         * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
23601         * iconvdata/shift_jisx0213.c : Likewise.
23602         * iconvdata/sjis.c : Likewise.
23603         * iconvdata/t.61.c : Likewise.
23604         * iconvdata/tcvn5712-1.c : Likewise.
23605         * iconvdata/tscii.c: Likewise.
23606         * iconvdata/uhc.c : Likewise.
23607         * iconvdata/unicode.c (gconv_end): Likewise.
23608         * iconvdata/utf-16.c (gconv_end): Likewise.
23609         * iconvdata/utf-32.c (gconv_end): Likewise.
23610         * iconvdata/utf-7.c (base64): Likewise.
23611         * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
23612         * iconv/gconv_close.c (__gconv_close): Likewise.
23613         * iconv/gconv_open.c (__gconv_open): Likewise.
23614         * iconv/gconv_simple.c (internal_ucs4_loop_single)
23615         (ucs4_internal_loop, ucs4_internal_loop_unaligned)
23616         (ucs4_internal_loop_single, internal_ucs4le_loop_single)
23617         (ucs4le_internal_loop, ucs4le_internal_loop_unaligned)
23618         (ucs4le_internal_loop_single): Likewise.
23619         * iconv/iconv.c (iconv): Likewise.
23620         * iconv/iconv_close.c: Likewise.
23621         * iconv/loop.c (SINGLE): Likewise.
23622         * iconv/skeleton.c (FUNCTION_NAME): Likewise.
23623         * include/atomic.h: Likewise.
23624         * inet/inet6_option.c (option_alloc): Likewise.
23625         * intl/bindtextdom.c (set_binding_values): Likewise.
23626         * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
23627         * intl/loadmsgcat.c (_nl_load_domain): Likewise.
23628         * intl/localealias.c (read_alias_file): Likewise.
23629         * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
23630         * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap)
23631         (_IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
23632         * libio/fmemopen.c (fmemopen): Likewise.
23633         * libio/iofgets.c (_IO_fgets): Likewise.
23634         * libio/iofgets_u.c (fgets_unlocked): Likewise.
23635         * libio/iofgetws.c (fgetws): Likewise.
23636         * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
23637         * libio/iogetdelim.c (_IO_getdelim): Likewise.
23638         * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap)
23639         (adjust_wide_data, _IO_wfile_seekoff): Likewise.
23640         * locale/findlocale.c (_nl_find_locale): Likewise.
23641         * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
23642         * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
23643         Likewise.
23644         * locale/setlocale.c (setlocale): Likewise.
23645         * login/programs/pt_chown.c (main): Likewise.
23646         * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
23647         * malloc/malloc.c (_int_malloc, _int_free): Likewise.
23648         * malloc/memusage.c (update_data, malloc, realloc, calloc, free)
23649         (mmap, mmap64, mremap, munmap): Likewise.
23650         * math/e_exp2l.c: Likewise.
23651         * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
23652         * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
23653         * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
23654         * math/s_catan.c (__catan): Likewise.
23655         * math/s_catanf.c (__catanf): Likewise.
23656         * math/s_catanh.c (__catanh): Likewise.
23657         * math/s_catanhf.c (__catanhf): Likewise.
23658         * math/s_catanhl.c (__catanhl): Likewise.
23659         * math/s_catanl.c (__catanl): Likewise.
23660         * math/s_ccosh.c (__ccosh): Likewise.
23661         * math/s_ccoshf.c (__ccoshf): Likewise.
23662         * math/s_ccoshl.c (__ccoshl): Likewise.
23663         * math/s_cexp.c (__cexp): Likewise.
23664         * math/s_cexpf.c (__cexpf): Likewise.
23665         * math/s_cexpl.c (__cexpl): Likewise.
23666         * math/s_clog10.c (__clog10): Likewise.
23667         * math/s_clog10f.c (__clog10f): Likewise.
23668         * math/s_clog10l.c (__clog10l): Likewise.
23669         * math/s_clog.c (__clog): Likewise.
23670         * math/s_clogf.c (__clogf): Likewise.
23671         * math/s_clogl.c (__clogl): Likewise.
23672         * math/s_csin.c (__csin): Likewise.
23673         * math/s_csinf.c (__csinf): Likewise.
23674         * math/s_csinh.c (__csinh): Likewise.
23675         * math/s_csinhf.c (__csinhf): Likewise.
23676         * math/s_csinhl.c (__csinhl): Likewise.
23677         * math/s_csinl.c (__csinl): Likewise.
23678         * math/s_csqrt.c (__csqrt): Likewise.
23679         * math/s_csqrtf.c (__csqrtf): Likewise.
23680         * math/s_csqrtl.c (__csqrtl): Likewise.
23681         * math/s_ctan.c (__ctan): Likewise.
23682         * math/s_ctanf.c (__ctanf): Likewise.
23683         * math/s_ctanh.c (__ctanh): Likewise.
23684         * math/s_ctanhf.c (__ctanhf): Likewise.
23685         * math/s_ctanhl.c (__ctanhl): Likewise.
23686         * math/s_ctanl.c (__ctanl): Likewise.
23687         * math/w_pow.c: Likewise.
23688         * math/w_powf.c: Likewise.
23689         * math/w_powl.c: Likewise.
23690         * math/w_scalb.c (sysv_scalb): Likewise.
23691         * math/w_scalbf.c (sysv_scalbf): Likewise.
23692         * math/w_scalbl.c (sysv_scalbl): Likewise.
23693         * misc/error.c (error_tail): Likewise.
23694         * misc/pselect.c (__pselect): Likewise.
23695         * nis/nis_callback.c (__nis_create_callback): Likewise.
23696         * nis/nis_call.c (__nisfind_server): Likewise.
23697         * nis/nis_creategroup.c (nis_creategroup): Likewise.
23698         * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
23699         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
23700         * nis/nis_getservlist.c (nis_getservlist): Likewise.
23701         * nis/nis_lookup.c (nis_lookup): Likewise.
23702         * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
23703         * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry)
23704         (nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
23705         * nis/nis_xdr.c (xdr_endpoint): Likewise.
23706         * nis/nss_compat/compat-grp.c (getgrent_next_file)
23707         (internal_getgrnam_r, internal_getgrgid_r): Likewise.
23708         * nis/nss_compat/compat-initgroups.c (add_group)
23709         (internal_getgrent_r): Likewise.
23710         * nis/nss_compat/compat-pwd.c (getpwent_next_file)
23711         (internal_getpwnam_r, internal_getpwuid_r): Likewise.
23712         * nis/nss_compat/compat-spwd.c (getspent_next_file)
23713         (internal_getspnam_r): Likewise.
23714         * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r)
23715         (_nss_nis_getaliasbyname_r): Likewise.
23716         * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r)
23717         (_nss_nis_getntohost_r): Likewise.
23718         * nis/nss_nis/nis-grp.c (internal_nis_setgrent)
23719         (internal_nis_getgrent_r, _nss_nis_getgrnam_r)
23720         (_nss_nis_getgrgid_r): Likewise.
23721         * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent)
23722         (internal_nis_gethostent_r, internal_gethostbyname2_r)
23723         (_nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r)
23724         (_nss_nis_gethostbyname4_r): Likewise.
23725         * nis/nss_nis/nis-initgroups.c (internal_getgrent_r)
23726         (initgroups_netid): Likewise.
23727         * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
23728         * nis/nss_nis/nis-network.c (internal_nis_getnetent_r)
23729         (_nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
23730         * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r)
23731         (_nss_nis_getprotobynumber_r): Likewise.
23732         * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey)
23733         (_nss_nis_getsecretkey): Likewise.
23734         * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent)
23735         (internal_nis_getpwent_r, _nss_nis_getpwnam_r)
23736         (_nss_nis_getpwuid_r): Likewise.
23737         * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r)
23738         (_nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
23739         * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r)
23740         (_nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
23741         * nis/nss_nis/nis-spwd.c (_nss_nis_setspent)
23742         (internal_nis_getspent_r, _nss_nis_getspnam_r): Likewise.
23743         * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
23744         Likewise.
23745         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r)
23746         (_nss_nisplus_getntohost_r): Likewise.
23747         * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r)
23748         (_nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
23749         * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r)
23750         (_nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r):
23751         Likewise.
23752         * nis/nss_nisplus/nisplus-initgroups.c
23753         (_nss_nisplus_initgroups_dyn): Likewise.
23754         * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r)
23755         (_nss_nisplus_getnetbyaddr_r): Likewise.
23756         * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r)
23757         (_nss_nisplus_getprotobynumber_r): Likewise.
23758         * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r)
23759         (_nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
23760         * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
23761         Likewise.
23762         * nis/nss_nisplus/nisplus-service.c
23763         (internal_nisplus_getservent_r, _nss_nisplus_getservbyname_r)
23764         (_nss_nisplus_getservbyport_r): Likewise.
23765         * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r)
23766         (_nss_nisplus_getspnam_r): Likewise.
23767         * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist):
23768         Likewise.
23769         * nscd/aicache.c (addhstaiX): Likewise.
23770         * nscd/cache.c (cache_search, prune_cache): Likewise.
23771         * nscd/connections.c (register_traced_file, send_ro_fd)
23772         (handle_request, nscd_run_prune, nscd_run_worker, fd_ready)
23773         (main_loop_epoll): Likewise.
23774         * nscd/grpcache.c (addgrbyX): Likewise.
23775         * nscd/hstcache.c (addhstbyX): Likewise.
23776         * nscd/initgrcache.c (addinitgroupsX): Likewise.
23777         * nscd/mem.c (gc, mempool_alloc): Likewise.
23778         * nscd/netgroupcache.c (do_notfound, addgetnetgrentX)
23779         (addinnetgrX): Likewise.
23780         * nscd/nscd-client.h (__nscd_acquire_maplock)
23781         (__nscd_drop_map_ref): Likewise.
23782         * nscd/nscd_getai.c (__nscd_getai): Likewise.
23783         * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
23784         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
23785         Likewise.
23786         * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
23787         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
23788         * nscd/nscd_helper.c (__readvall, open_socket, __nscd_get_mapping)
23789         (__nscd_get_map_ref): Likewise.
23790         * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
23791         * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr):
23792         Likewise.
23793         * nscd/pwdcache.c (addpwbyX): Likewise.
23794         * nscd/selinux.c (preserve_capabilities): Likewise.
23795         * nscd/servicescache.c (addservbyX): Likewise.
23796         * nss/nss_files/files-XXX.c (internal_getent): Likewise.
23797         * posix/fnmatch.c (fnmatch): Likewise.
23798         * posix/getopt.c (_getopt_internal_r): Likewise.
23799         * posix/glob.c (glob, glob_in_dir): Likewise.
23800         * posix/wordexp.c (exec_comm_child): Likewise.
23801         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r)
23802         (getanswer_r, gaih_getanswer_slice): Likewise.
23803         * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
23804         * resolv/res_init.c: Likewise.
23805         * resolv/res_mkquery.c (res_nmkquery): Likewise.
23806         * resolv/res_query.c (__libc_res_nquery): Likewise.
23807         * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
23808         Likewise.
23809         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
23810         * stdio-common/perror.c (perror): Likewise.
23811         * stdio-common/printf_fp.c (___printf_fp): Likewise.
23812         * stdio-common/tmpnam.c (tmpnam): Likewise.
23813         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
23814         * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
23815         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
23816         Likewise.
23817         * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
23818         * stdlib/putenv.c (putenv): Likewise.
23819         * stdlib/setenv.c (__add_to_environ): Likewise.
23820         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
23821         * stdlib/strtol_l.c (INTERNAL): Likewise.
23822         * string/memmem.c (memmem): Likewise.
23823         * string/strerror.c (strerror): Likewise.
23824         * string/strnlen.c (__strnlen): Likewise.
23825         * string/test-memmem.c (simple_memmem): Likewise.
23826         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
23827         * sunrpc/pm_getport.c (__get_socket): Likewise.
23828         * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
23829         * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
23830         * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup)
23831         (elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
23832         Likewise.
23833         * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
23834         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
23835         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
23836         * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
23837         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
23838         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1):
23839         Likewise.
23840         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn):
23841         Likewise.
23842         * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
23843         * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
23844         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
23845         * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
23846         * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
23847         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
23848         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
23849         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
23850         * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
23851         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
23852         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
23853         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
23854         Likewise.
23855         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
23856         Likewise.
23857         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
23858         Likewise.
23859         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
23860         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
23861         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
23862         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
23863         * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
23864         * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
23865         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
23866         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
23867         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
23868         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
23869         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
23870         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
23871         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
23872         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
23873         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
23874         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
23875         Likewise.
23876         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
23877         Likewise.
23878         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
23879         Likewise.
23880         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
23881         Likewise.
23882         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
23883         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
23884         * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
23885         Likewise.
23886         * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
23887         * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
23888         * sysdeps/posix/opendir.c (__opendirat): Likewise.
23889         * sysdeps/posix/sleep.c: Likewise.
23890         * sysdeps/posix/tempname.c: Likewise.
23891         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
23892         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
23893         Likewise.
23894         * sysdeps/powerpc/powerpc32/dl-machine.h
23895         (elf_machine_runtime_setup, elf_machine_rela): Likewise.
23896         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
23897         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
23898         * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
23899         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
23900         Likewise.
23901         * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
23902         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup)
23903         (elf_machine_rela, elf_machine_lazy_rel): Likewise.
23904         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup)
23905         (elf_machine_rela, elf_machine_lazy_rel): Likewise.
23906         * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
23907         * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
23908         * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
23909         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
23910         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
23911         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela)
23912         (elf_machine_lazy_rel): Likewise.
23913         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
23914         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela)
23915         (elf_machine_lazy_rel): Likewise.
23916         * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
23917         * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
23918         * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
23919         * sysdeps/unix/grantpt.c (grantpt): Likewise.
23920         * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
23921         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
23922         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
23923         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
23924         Likewise.
23925         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
23926         * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
23927         * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
23928         * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
23929         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
23930         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
23931         * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
23932         * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
23933         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
23934         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
23935         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
23936         Likewise.
23937         * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
23938         (__posix_fallocate64_l64): Likewise.
23939         * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
23940         (posix_fallocate): Likewise.
23941         * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
23942         Likewise.
23943         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
23944         * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request)
23945         (getifaddrs_internal): Likewise.
23946         * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
23947         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
23948         * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
23949         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
23950         * sysdeps/unix/sysv/linux/posix_fallocate64.c
23951         (__posix_fallocate64_l64): Likewise.
23952         * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
23953         Likewise.
23954         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
23955         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
23956         (__get_clockfreq): Likewise.
23957         * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
23958         * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
23959         * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
23960         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
23961         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
23962         * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
23963         * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
23964         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
23965         Likewise.
23966         * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
23967         * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
23968         * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
23969         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
23970         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
23971         * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
23972         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
23973         Likewise.
23974         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
23975         (posix_fallocate): Likewise.
23976         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
23977         * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
23978         * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
23979         * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup)
23980         (elf_machine_rela, elf_machine_rela_relative)
23981         (elf_machine_lazy_rel): Likewise.
23982         * time/asctime.c (asctime_internal): Likewise.
23983         * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
23984         * time/tzset.c (__tzset_parse_tz): Likewise.
23985         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
23986         * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
23987         * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
23988         * wcsmbs/wcsmbsload.h: Likewise.
23990         [BZ #15894]
23991         * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
23993         * malloc/arena.c (grow_heap, get_free_list, reused_arena)
23994         (arena_get2): Remove THREAD_STATS conditionals.
23995         * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free)
23996         (__malloc_stats, int): Likewise.
23998 2014-02-08  Mike Frysinger  <vapier@gentoo.org>
24000         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
24001         f.f_type to RAMFS_MAGIC too.  Compare mp->mnt_type to shm too.
24003         * manual/setjmp.texi: Fix typos/grammar errors.
24005         * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
24006         Only return early when n is <= 0.  Delete unused return statement.
24008         * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
24009         (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
24010         * debug/tst-longjmp_chk3.c: New file.
24012         * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
24013         (test_main): Replace code with set_fortify_handler call.
24014         * debug/test-strcpy_chk.c: Likewise.
24015         * debug/tst-chk1.c: Likewise.
24016         * debug/tst-longjmp_chk.c: Likewise.
24017         * test-skeleton.c: Include fcntl.h & paths.h
24018         (set_fortify_handler): Define.
24020         * debug/tst-longjmp_chk.c: Add header comment and include
24021         ../test-skeleton.c.
24022         (do_test): Mark static.
24023         (TEST_FUNCTION): Define.
24025         * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
24026         (IP_PMTUDISC_INTERFACE): Likewise.
24027         (IP_MULTICAST_IF): Likewise.
24028         (IP_MULTICAST_TTL): Likewise.
24029         (IP_MULTICAST_LOOP): Likewise.
24030         (IP_ADD_MEMBERSHIP): Likewise.
24031         (IP_DROP_MEMBERSHIP): Likewise.
24032         (IP_UNBLOCK_SOURCE): Likewise.
24033         (IP_BLOCK_SOURCE): Likewise.
24034         (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
24035         (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
24036         (IP_MSFILTER): Likewise.
24037         (MCAST_JOIN_GROUP): Likewise.
24038         (MCAST_BLOCK_SOURCE): Likewise.
24039         (MCAST_UNBLOCK_SOURCE): Likewise.
24040         (MCAST_LEAVE_GROUP): Likewise.
24041         (MCAST_JOIN_SOURCE_GROUP): Likewise.
24042         (MCAST_LEAVE_SOURCE_GROUP): Likewise.
24043         (MCAST_MSFILTER): Likewise.
24044         (IP_MULTICAST_ALL): Likewise.
24045         (IP_UNICAST_IF): Likewise.
24047         * timezone/Makefile: Delete $(have-ksh) check.
24048         ($(objpfx)tzselect): Change $(KSH) to $(BASH).
24049         * timezone/tzselect.ksh: Add +x mode bits.
24051         * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
24052         (ANON_INODE_FS_MAGIC): Likewise.
24053         (BDEVFS_MAGIC): Likewise.
24054         (BINFMTFS_MAGIC): Likewise.
24055         (BTRFS_TEST_MAGIC): Likewise.
24056         (CRAMFS_MAGIC_WEND): Likewise.
24057         (DEBUGFS_MAGIC): Likewise.
24058         (ECRYPTFS_SUPER_MAGIC): Likewise.
24059         (EXT3_SUPER_MAGIC): Likewise.
24060         (EXT4_SUPER_MAGIC): Likewise.
24061         (FUTEXFS_SUPER_MAGIC): Likewise.
24062         (HOSTFS_SUPER_MAGIC): Likewise.
24063         (HUGETLBFS_MAGIC): Likewise.
24064         (MINIX3_SUPER_MAGIC): Likewise.
24065         (MTD_INODE_FS_MAGIC): Likewise.
24066         (NILFS_SUPER_MAGIC): Likewise.
24067         (OPENPROM_SUPER_MAGIC): Likewise.
24068         (PIPEFS_MAGIC): Likewise.
24069         (PSTOREFS_MAGIC): Likewise.
24070         (QNX6_SUPER_MAGIC): Likewise.
24071         (RAMFS_MAGIC): Likewise.
24072         (REISERFS_SUPER_MAGIC_STRING): Likewise.
24073         (REISER2FS_SUPER_MAGIC_STRING): Likewise.
24074         (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
24075         (SECURITYFS_MAGIC): Likewise.
24076         (SELINUX_MAGIC): Likewise.
24077         (SMACK_MAGIC): Likewise.
24078         (SOCKFS_MAGIC): Likewise.
24079         (SQUASHFS_MAGIC): Likewise.
24080         (STACK_END_MAGIC): Likewise.
24081         (TMPFS_MAGIC): Likewise.
24082         (USBDEVICE_SUPER_MAGIC): Likewise.
24083         (V9FS_MAGIC): Likewise.
24084         (XENFS_SUPER_MAGIC): Likewise.
24085         (CRAMFS_MAGIC): Fix typo in comment.
24086         (EXT2_SUPER_MAGIC): Update comment.
24087         (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
24089 2014-02-08  Joseph Myers  <joseph@codesourcery.com>
24091         * sysdeps/arm: Move directory from ports/sysdeps/arm.
24092         * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
24093         * sysdeps/unix/sysv/linux/arm: Move directory from
24094         ports/sysdeps/unix/sysv/linux/arm.
24095         * README: Update listing for arm-*-linux-gnueabi.
24097         * README: Remove mention of am33.
24099 2014-02-07  Roland McGrath  <roland@hack.frob.com>
24101         * bits/sigset.h (__sigemptyset): Use a statement expression rather
24102         than the comma operator, to avoid "rhs of comma has no effect"
24103         compiler warnings.
24104         (__sigfillset, __sigandset, __sigorset): Likewise.
24105         * include/signal.h (__sigemptyset): Likewise.
24106         * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
24108 2014-02-07  Allan McRae  <allan@archlinux.org>
24110         * version.h (RELEASE): Set to "development".
24111         (VERSION): Set to "2.19.90"
24112         * NEWS: Add 2.20 section.
24114 2014-02-06  Carlos O'Donell  <carlos@redhat.com>
24116         [BZ #16529]
24117         * inet/netinet/in.h: Remove comma after IPPROTO_MH.
24119 2014-02-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
24121         * manual/contrib.texi: Update entry for Carlos O'Donell,
24122         Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
24124 2014-02-05  Carlos O'Donell  <carlos@rehdat.com>
24126         * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
24128         * sysdeps/unix/sysv/linux/kernel-features.h
24129         [__LINUX_KERNEL_VERSION >= 0x020621]
24130         (__ASSUME_PROC_PID_TASK_COMM): Define.
24132 2014-02-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
24134         [BZ #16398]
24135         * libio/wfileops.c (_IO_wfile_seekoff): Break out form
24136         conversion when destination buffer does not have enough space.
24137         * libio/tst-ftell-partial-wide.c: New test case.
24138         * libio/Makefile (tests): Add tst-ftell-partial-wide.
24140         * manual/contrib.texi: Update entry for Ondrej Bilka, Will
24141         Newton and Alexandre Oliva.  Add entries for Steve Ellcey, Chris
24142         Leonard and Allan McRae.
24144 2014-02-04  David S. Miller  <davem@davemloft.net>
24146         * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
24147         32-bit.
24149 2014-02-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24151         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
24152         New file
24153         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
24154         New file
24155         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
24156         New file.
24157         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
24158         New file.
24159         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
24160         New file.
24161         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
24162         New file.
24163         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
24164         New file.
24165         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
24166         New file.
24167         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
24168         New file.
24169         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
24170         New file.
24171         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
24172         New file.
24173         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
24174         New file.
24175         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
24176         New file.
24178 2014-02-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24180         * nptl/shlib-versions: Change powerpc*le start to 2.17.
24181         * shlib-versions: Likewise.
24183 2014-02-04  Roland McGrath  <roland@hack.frob.com>
24184             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24186         * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
24187         (abilist-pattern): New variable, set to %-le.abilist.
24189         * Makerules (abilist-pattern): New variable.
24190         (vpath): Use $(abilist-pattern) in place of %.abilist.
24191         (check-abi-% pattern rule): Likewise.
24192         (check-abi, update-abi): Likewise.
24194 2014-02-04  Eric Wong  <normalperson@yhbt.net>
24196         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
24198 2014-02-03  Carlos O'Donell  <carlos@redhat.com>
24200         * manual/startup.texi: Add next, previous, and top entries for
24201         the `Program Arguments' and `Environment Variables' nodes.
24203 2014-02-03  Alexandre Oliva <aoliva@redhat.com>
24205         * manual/macros.texi: Add comments before MTASC-safety macros.
24207         * manual/users.texi: Document MTASC-safety properties.
24209         * manual/threads.texi (pthread_key_create, pthread_key_delete)
24210         (pthread_getspecific, pthread_setspecific): Format with
24211         @deftypefun, and add @safety note.
24212         * manual/signal.texi: Move comments that analyze the above
24213         functions to their home place.
24215 2014-02-03  Allan McRae  <allan@archlinux.org>
24217         * po/sl.po: Update Slovenian translation from translation project.
24219 2014-02-02  Alexandre Oliva <aoliva@redhat.com>
24221         * manual/time.texi (timegm): Add missing blank after @c.
24222         Reported by Joseph Myers <joseph@codesourcery.com>.
24224 2014-02-01  Alexandre Oliva <aoliva@redhat.com>
24226         * manual/check-safety.sh: New.
24227         * manual/Makefile ($(objpfx)stamp-summary): Run it.
24229         * manual/terminal.texi: Document MTASC-safety properties.
24231         * manual/filesys.texi: Document MTASC-safety properties.
24233         * manual/errno.texi: Document MTASC-safety properties.
24235         * manual/intro.texi: Document safety identifiers and
24236         conditionals.
24238         * manual/string.texi (wcstok): Fix prototype.
24239         (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
24241         * manual/time.texi: Document MTASC-safety properties.
24243         * manual/string.texi: Document MTASC-safety properties.
24245         * manual/threads.texi: Document MTASC-safety properties.
24247         * manual/stdio.texi: Document MTASC-safety properties.
24249         * manual/syslog.texi: Document MTASC-safety properties.
24251         * manual/sysinfo.texi: Document MTASC-safety properties.
24253         * manual/startup.texi: Document MTASC-safety properties.
24255         * manual/socket.texi: Document MTASC-safety properties.
24257         * manual/signal.texi: Document MTASC-safety properties.
24259 2014-01-31  Alexandre Oliva <aoliva@redhat.com>
24261         * manual/setjmp.texi: Document MTASC-safety properties.
24263         * manual/search.texi: Document MTASC-safety properties.
24265         * manual/resource.texi: Document MTASC-safety properties.
24267         * manual/process.texi: Document MTASC-safety properties.
24269         * manual/platform.texi: Document MTASC-safety properties.
24271         * manual/pipe.texi: Document MTASC-safety properties.
24273         * manual/pattern.texi: Document MTASC-safety properties.
24275         * manual/message.texi: Document MTASC-safety properties.
24277         [BZ #12751]
24278         * manual/memory.texi: Document MTASC-safety properties.
24280         * manual/math.texi: Document MTASC-safety properties.
24282         * manual/locale.texi: Document MTASC-safety properties.
24284         * manual/llio.texi: Document MTASC-safety properties.
24286         * manual/libdl.texi: New.
24288         * manual/lang.texi: Document MTASC-safety properties.
24290         * manual/job.texi: Document MTASC-safety properties.
24292         * manual/getopt.texi: Document MTASC-safety properties.
24294         * manual/ctype.texi: Document MTASC-safety properties.
24296 2014-01-31  Maciej W. Rozycki  <macro@codesourcery.com>
24298         [BZ #16046]
24299         * csu/libc-tls.c (static_map): Remove variable.
24300         (__libc_setup_tls): Use main executable's link map for TLS data.
24301         * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
24302         casing for LM_ID_BASE and GL(dl_nns).
24303         * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
24304         function.  Alias dl_iterate_phdr to __dl_iterate_phdr.
24305         * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
24306         casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
24307         * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
24308         member.
24309         (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
24310         l_phnum members.
24312 2014-01-30  Alexandre Oliva <aoliva@redhat.com>
24314         * manual/debug.texi: Document MTASC-safety properties.
24316 2014-01-29  H.J. Lu  <hongjiu.lu@intel.com>
24318         [BZ #16510]
24319         * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
24320         of __x86_64__ when disabling x87 inline functions.
24322 2014-01-29  Alexandre Oliva <aoliva@redhat.com>
24324         * manual/charset.texi: Document MTASC-safety properties.
24326         * manual/crypt.texi: Document MTASC-safety properties.
24328         * manual/conf.texi: Document MTASC-safety properties.
24330         * manual/arith.texi: Document MTASC-safety properties.
24332         * manual/argp.texi: Document MTASC-safety properties.
24334         * manual/macros.texi: Introduce macros to document multi
24335         thread, asynchronous signal and asynchronous cancellation
24336         safety properties.
24337         * manual/intro.texi: Introduce the properties themselves.
24339 2014-01-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
24341         * sysdeps/sh/sh4/Makefile: New file.
24343 2014-01-27  Andreas Schwab  <schwab@linux-m68k.org>
24345         * math/gen-libm-test.pl ($srcdir): New variable.
24346         ($auto_input): Use it.
24348 2014-01-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
24350         [BZ #16506]
24351         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
24352         access beyond array bounds when parsing netgroups file.
24354         * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
24355         the old buffer before realloc.
24357 2014-01-27  Allan McRae  <allan@archlinux.org>
24359         * po/fr.po: Update French translation from translation project.
24361 2014-01-26  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
24363         * sysdeps/sh/libm-test-ulps: Regenerate.
24365 2014-01-24  David S. Miller  <davem@davemloft.net>
24367         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
24369 2014-01-25  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
24371         * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
24372         * sysdeps/sh/libm-test-ulps: ... here and regenerated.
24374 2013-01-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
24376         [BZ #16474]
24377         * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
24378         string pointers after reallocation.
24380 2014-01-24  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
24382         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
24383         __SH4A__ instead of __SH_FPU_ANY__.
24385 2014-01-23  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
24387         * sysdeps/sh/fpu_control.h: New file.
24388         * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
24389         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
24390         * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
24391         * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
24392         * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
24393         * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
24394         * sysdeps/sh/sys/ucontext.h: Remove.
24395         * sysdeps/sh/sys: Remove directory.
24397 2014-01-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
24399         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
24400         s390/sys/ucontext.h.
24401         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
24402         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
24404 2014-01-20  H.J. Lu  <hongjiu.lu@intel.com>
24406         [BZ #15605]
24407         * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
24409 2014-01-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24411         [BZ#16431]
24412         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
24413         Adjust the vDSO correctly for internal calls.
24414         * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
24416 2014-01-20  Allan McRae  <allan@archlinux.org>
24418         * po/ca.po: Update Catalan translation from translation project.
24420 2014-01-16  Mike Frysinger  <vapier@gentoo.org>
24422         * sysdeps/s390/sotruss-lib.c: New file.
24424 2014-01-16  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24426         [BZ#16430]
24427         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
24428         (__GI___gettimeofday): Alias for a different internal symbol to avoid
24429         local calls issues by not having a PLT stub required for IFUNC calls.
24430         * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
24432 2014-01-16 Joseph Myers  <joseph@codesourcery.com>
24434         * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
24435         * math/test-fpucw-static.c: Likewise.
24437 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
24439         [BZ #16453]
24440         * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
24442 2014-01-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24444         * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
24445         implementation for powerpc.
24447 2014-01-15  Ondřej Bílka  <neleai@seznam.cz>
24449         [BZ #14782]
24450         * sysdeps/posix/system.c (__libc_system): Do not enable
24451         asynchronous cancellation.
24453 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
24455         [BZ #16427]
24456         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
24457         handling only for numbers special also in the IEEE case.
24459 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
24461         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
24463 2014-01-11  Allan McRae  <allan@archlinux.org>
24465         * po/bg.po: Update Bulgarian translation from translation project.
24467         * po/de.po: Update German translation from translation project.
24469 2014-01-10  Roland McGrath  <roland@hack.frob.com>
24471         * sysdeps/generic/gcc-compat.h: New file.
24473 2014-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
24475         * benchtests/asin-inputs: Correct slow inputs.
24476         * benchtests/acos-inputs: Likewise.
24478 2014-01-10  Allan McRae  <allan@archlinux.org>
24480         * po:sv.po: Update Swedish translation from translation project.
24482         * po/vi.po: Update Vietnamese translation from translation project.
24484         * po/eo.po: Update Esperanto translation from translation project.
24486         * po/cs.po: Update Czech translation from translation project.
24488         * po/nl.po: Update Dutch translation from translation project.
24490         * po/pl.po: Update Polish translation from translation project.
24492         * po/ru.po: Update Russian translation from translation project.
24494         * po/uk.po: Update Ukrainian translation from translation project.
24496 2014-01-08  Brooks Moses  <bmoses@google.com>
24498         * elf/dl-load.c: Fix comment typo.
24500 2014-01-08  Carlos O'Donell  <carlos@redhat.com>
24502         * po/header.pot: Rename to...
24503         * po/pot.header: ... this.
24504         * po/Makefile: Use pot.header.
24506 2014-01-08  Yuriy Kaminskiy  <yumkam@gmail.com>
24507             Maxim Kuvyrkov  <maxim@kugelworks.com>
24509         [BZ #16394]
24510         * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
24511         SRC and DEST against LEN.
24513 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24515         [BZ #16414]
24516         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
24517         implementation.
24518         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
24520 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24522         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
24524 2014-01-08  Joseph Myers  <joseph@codesourcery.com>
24526         [BZ #16408]
24527         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
24528         for large positive arguments.
24530 2014-01-07  Joseph Myers  <joseph@codesourcery.com>
24532         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
24534         * math/auto-libm-test-in: Mark various tests with
24535         xfail-rounding:ldbl-128ibm.
24536         * math/auto-libm-test-out: Regenerated.
24538         [BZ #16407]
24539         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
24540         Increase overflow threshold.
24542 2014-01-07  Ondřej Bílka  <neleai@seznam.cz>
24544         [BZ #14286]
24545         * stdio-common/vfprintf.c: Check for integer overflow.
24547 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
24549         * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
24550         the first argument and return value of __tls_get_addr_internal.
24552 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
24554         * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
24555         also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
24557 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
24559         * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
24560         * sysdeps/s390/rtld-global-offsets.sym: New file.
24561         * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
24562         GLIBC_2.19 symbol.
24563         * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
24564         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
24565         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
24566         ... this.
24567         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
24568         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
24569         ... this.
24570         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
24571         Regenerate.
24572         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
24573         Regenerate.
24574         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
24575         halfs of GPRs for high_gprs contexts.
24576         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
24577         restore upper halfs of GPRs for high_gprs contexts.  Copy uc_flags
24578         field.
24579         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
24580         uc_flags field.
24581         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
24582         64 bit versions:
24583         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
24584         for high GPRs (uc_high_gprs) and for future extensions
24585         (__reserved).
24586         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
24587         for future extensions (__reserved).
24588         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
24589         64 bit versions:
24590         * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
24591         SC_HIGHGPRS offset definition.
24592         * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
24593         * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
24595         * Versions.def: Add GLIBC_2.19 for libpthread.
24596         * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
24597         siglongjmp for libpthread with GLIBC_2.19 symver.
24598         * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
24599         * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
24600         * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
24601         * sysdeps/s390/__longjmp.c: New file.
24602         * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
24603         * sysdeps/s390/longjmp.c: New file.
24604         * sysdeps/s390/setjmp.S: New file.
24605         * sysdeps/s390/sigjmp.S: New file.
24606         * sysdeps/s390/v1-longjmp.c: New file.
24607         * sysdeps/s390/v1-setjmp.h: New file.
24608         * sysdeps/s390/v1-sigjmp.c: New file.
24609         * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
24610         * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
24611         GLIBC_2.19 version.
24612         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
24613         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
24614         versioned symbols for ____longjmp_chk.
24615         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
24616         Likewise.
24617         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
24618         Regenerate.
24619         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
24620         Regenerate.
24621         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
24622         Regenerate.
24623         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
24624         Regenerate.
24625         * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
24626         * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
24627         * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
24628         * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
24629         * sysdeps/s390/s390-32/setjmp-common.S: ... this.
24630         * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
24631         * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
24632         * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
24633         * sysdeps/s390/s390-64/setjmp-common.S: ... this.
24634         * sysdeps/s390/rtld-__longjmp.c: New file.
24635         * sysdeps/s390/rtld-setjmp.S: New file.
24637 2014-01-06  Joseph Myers  <joseph@codesourcery.com>
24639         [BZ #16400]
24640         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
24641         Return -__logl (x) for small positive arguments without evaluating
24642         a polynomial.
24644 2014-01-06  Mike Frysinger  <vapier@gentoo.org>
24646         * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
24647         Rename to ...
24648         (__ptrace_peeksiginfo_args): ... this.
24649         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
24650         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
24651         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
24653 2014-01-06  Allan McRae  <allan@archlinux.org>
24655         * inet/netinet/in.h: Fix typo in comment.
24657 2014-01-05  Andreas Jaeger  <aj@suse.de>
24659         * sysdeps/i386/fpu/libm-test-ulps: Update.
24661 2014-01-05  Allan McRae  <allan@archlinux.org>
24663         * po/libc.pot: Regenerated.
24665         * malloc/memusagestat.c: Fix gettext call formatting.
24667 2014-01-04  Sami Kerola  <kerolasa@iki.fi>
24669         * nscd/nscd.c: Improve usage() output.
24671 2014-01-04  Mike Frysinger  <vapier@gentoo.org>
24673         * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
24674         * sysdeps/unix/sysv/linux/configure: Regenerated.
24675         * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
24676         * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
24678 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
24680         [BZ #16390]
24681         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
24682         (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
24684 2014-01-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24686         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
24687         extra tokens at end of #undef directive.
24688         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
24689         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
24690         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
24692 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
24694         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
24696         * math/auto-libm-test-in: Mark various tests with
24697         xfail-rounding:ldbl-128ibm.
24698         * math/auto-libm-test-out: Regenerated.
24700 2014-01-02  Joseph Myers  <joseph@codesourcery.com>
24702         [BZ #16386]
24703         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
24704         numbers with subnormal high part when calculating exponent.
24706         [BZ #16385]
24707         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
24708         fabs.
24710         [BZ #16384]
24711         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
24712         M_LN2l.
24713         (__ieee754_acoshl): Use __log1pl not __log1p.
24715 2013-01-02  Ondřej Bílka  <neleai@seznam.cz>
24717         * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all)
24718         (ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry)
24719         (__failing_morecore, ptmalloc_init, dump_heap, new_heap)
24720         (grow_heap, heap_trim, _int_new_arena, get_free_list)
24721         (reused_arena, arena_get2): Convert to GNU style.
24722         * malloc/hooks.c (memalign_hook_ini, __malloc_check_init)
24723         (mem2mem_check, mem2chunk_check, top_check, realloc_check)
24724         (memalign_check, __malloc_set_state): Likewise.
24725         * malloc/mallocbug.c (main): Likewise.
24726         * malloc/malloc.c (__malloc_assert, malloc_init_state)
24727         (free_perturb, do_check_malloced_chunk, do_check_malloc_state)
24728         (sysmalloc, systrim, mremap_chunk, __libc_malloc, __libc_free)
24729         (__libc_realloc, _mid_memalign, _int_malloc, malloc_consolidate)
24730         (_int_realloc, _int_memalign, mtrim, musable, __libc_mallopt)
24731         (__posix_memalign, malloc_info): Likewise.
24732         * malloc/malloc.h: Likewise.
24733         * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook)
24734         (mallochook, memalignhook, reallochook, mabort): Likewise.
24735         * malloc/mcheck.h: Likewise.
24736         * malloc/memusage.c (update_data, me, malloc, realloc, calloc)
24737         (free, mmap, mmap64, mremap, munmap, dest): Likewise.
24738         * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
24739         * malloc/morecore.c (__default_morecore): Likewise.
24740         * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
24741         * malloc/obstack.c (_obstack_begin, _obstack_newchunk)
24742         (_obstack_allocated_p, obstack_free, _obstack_memory_used)
24743         (print_and_abort): Likewise.
24744         * malloc/obstack.h: Likewise.
24745         * malloc/set-freeres.c (__libc_freeres): Likewise.
24746         * malloc/tst-mallocstate.c (main): Likewise.
24747         * malloc/tst-mtrace.c (main): Likewise.
24748         * malloc/tst-realloc.c (do_test): Likewise.
24750 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
24752         [BZ #16366]
24753         * nscd/netgroupcache.c (do_notfound): New function.
24754         (addgetnetgrentX): Use it.
24756         [BZ # 16365]
24757         * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
24758         NSS_STATUS_NOTFOUND.
24760 2014-01-01  Joseph Myers  <joseph@codesourcery.com>
24762         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
24763         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24765 2014-01-01  Allan McRae  <allan@archlinux.org>
24767         * scripts/update-copyrights: Update configure input file suffix.
24769         * NEWS: Update copyright year.
24770         * catgets/gencat.c: Likewise.
24771         * csu/version.c: Likewise.
24772         * debug/catchsegv.sh: Likewise.
24773         * debug/pcprofiledump.c: Likewise.
24774         * debug/xtrace.sh: Likewise.
24775         * elf/ldconfig.c: Likewise.
24776         * elf/ldd.bash.in: Likewise.
24777         * elf/pldd.c: Likewise.
24778         * elf/sotruss.ksh: Likewise.
24779         * elf/sprof.c: Likewise.
24780         * iconv/iconv_prog.c: Likewise.
24781         * iconv/iconvconfig.c: Likewise.
24782         * locale/programs/locale.c: Likewise.
24783         * locale/programs/localedef.c: Likewise.
24784         * login/programs/pt_chown.c: Likewise.
24785         * malloc/memusage.sh: Likewise.
24786         * malloc/memusagestat.c: Likewise.
24787         * malloc/mtrace.pl: Likewise.
24788         * manual/libc.texinfo: Likewise.
24789         * nscd/nscd.c: Likewise.
24790         * nss/getent.c: Likewise.
24791         * nss/makedb.c: Likewise.
24792         * posix/getconf.c: Likewise.
24793         * scripts/test-installation.pl: Likewise.
24795         * All files with FSF copyright notices: Update copyright dates
24796         using scripts/update-copyrights.
24797         * intl/plural.c: Regenerated.
24798         * locale/programs/charmap-kw.h: Likewise.
24799         * locale/programs/locfile-kw.h: Likewise.
24801 2013-12-31  Mike Frysinger  <vapier@gentoo.org>
24803         * sysdeps/unix/sysv/linux/configure: Regenerated.
24804         * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
24805         the linux/fanotify.h header.
24806         * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
24807         HAVE_LINUX_FANOTIFY_H is defined.
24809 2013-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
24811         * benchtests/cos-inputs: New inputs.
24812         * benchtests/sin-inputs: Likewise.
24814         * benchtests/atan-inputs: New inputs. Fix name of multiple
24815         precision fallback inputs.
24817         * benchtests/atanh-inputs: New inputs.
24818         * benchtests/tanh-inputs: Likewise.
24820         * benchtests/acosh-inputs: New inputs.
24821         * benchtests/asinh-inputs: Likewise.
24823         * benchtests/cosh-inputs: New inputs.
24824         * benchtests/sinh-inputs: Likewise.
24826         * benchtests/acos-inputs: Add more inputs.
24827         * benchtests/asin-inputs: Likewise.
24829 2013-12-30  Ville Skytta  <ville.skytta@iki.fi>
24831         [BZ #16375]
24832         * manual/arith.texi: Fix spelling.
24833         * manual/charset.texi: Likewise.
24834         * manual/errno.texi: Likewise.
24835         * manual/filesys.texi: Likewise.
24836         * manual/lang.texi: Likewise.
24837         * manual/llio.texi: Likewise.
24838         * manual/locale.texi: Likewise.
24839         * manual/message.texi: Likewise.
24840         * manual/resource.texi: Likewise.
24841         * manual/search.texi: Likewise.
24842         * manual/setjmp.texi: Likewise.
24843         * manual/stdio.texi: Likewise.
24844         * manual/string.texi: Likewise.
24845         * manual/sysinfo.texi: Likewise.
24846         * manual/time.texi: Likewise.
24848 2013-12-27  Carlos O'Donell  <carlos@redhat.com>
24850         * po/sl.po: New file.
24852 2013-12-27  Mike Frysinger  <vapier@gentoo.org>
24854         * .gitignore: Add core/.gdbinit/.gdb_history.
24856 2013-12-27  Allan McRae  <allan@archlinux.org>
24858         [BZ #16369]
24859         * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
24860         Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
24862 2013-12-24  Brooks Moses  <bmoses@google.com>
24864         * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
24865         all compilers that claim C++98 compliance, not just GCC.
24866         * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
24867         Likewise.
24869 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
24871         * NEWS: Restore accidentally deleted bug-fix entries.
24873 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
24874             Ondřej Bílka  <neleai@seznam.cz>
24876         [BZ #15073]
24877         * malloc/malloc.c (_int_free): Perform sanity check only if we
24878         have_lock.
24880 2013-12-23  Ondřej Bílka  <neleai@seznam.cz>
24882         [BZ #12986]
24883         * manual/stdio.texi (String Input Conversions): Clarify that character
24884         classes are not supported.
24886 2013-12-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24888         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
24890 2013-12-22  Joseph Myers  <joseph@codesourcery.com>
24892         [BZ #16337]
24893         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
24894         Calculate results for small negative arguments directly rather
24895         than using reflection formula with special underflow handling.
24897         * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
24898         * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
24899         sysdeps/unix/bsd/bsd4.4/syscalls.list.
24900         (fchflags): Likewise.
24901         (revoke): Likewise.
24902         (setlogin): Likewise.
24903         (sigaltstack): Likewise.
24904         (wait4): Likewise.
24905         (sigblock): Remove.
24906         (sigsetmask): Likewise.
24907         (wait3): Likewise.
24908         (waitpid): Likewise.
24909         * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
24910         * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
24911         file.
24912         * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
24913         * sysdeps/unix/bsd/Makefile: ... here.
24914         * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
24915         * sysdeps/unix/bsd/Versions: ... here.
24916         * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
24917         * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
24918         * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
24919         * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
24920         * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
24921         * sysdeps/unix/bsd/sigblock.c: ... here.
24922         * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
24923         * sysdeps/unix/bsd/sigsetmask.c: ... here.
24924         * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
24925         * sysdeps/unix/bsd/sigvec.c: ... here.
24926         * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
24927         * sysdeps/unix/bsd/tcdrain.c: ... here.
24928         * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
24929         * sysdeps/unix/bsd/tcgetattr.c: ... here.
24930         * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
24931         * sysdeps/unix/bsd/tcsetattr.c: ... here.
24932         * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
24933         * sysdeps/unix/bsd/wait.c: ... here.
24934         * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
24935         * sysdeps/unix/bsd/wait3.c: ... here.
24936         * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
24937         * sysdeps/unix/bsd/waitpid.c: ... here.
24939 2013-12-21  Joseph Myers  <joseph@codesourcery.com>
24941         [BZ #16356]
24942         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
24943         round-to-nearest for [!USE_AS_EXPM1L].
24944         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
24945         * math/auto-libm-test-in: Do not expect cosh tests to fail.  Add
24946         more tests of exp and exp10.  Expect some exp10 tests to miss
24947         exceptions or fail in directed rounding modes.
24948         * math/auto-libm-test-out: Regenerated.
24949         * math/libm-test.inc (exp10_tonearest_test_data): New array.
24950         (exp10_test_tonearest): New function.
24951         (exp10_towardzero_test_data): New array.
24952         (exp10_test_towardzero): New function.
24953         (exp10_downward_test_data): New array.
24954         (exp10_test_downward): New function.
24955         (exp10_upward_test_data): New array.
24956         (exp10_test_upward): New function.
24957         (main): Call the new functions.
24958         * sysdeps/i386/fpu/libm-test-ulps: Update.
24959         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24961 2013-12-20  Joseph Myers  <joseph@codesourcery.com>
24963         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
24964         asinh, atan, atan2, atanh, cbrt, cos and cosh.
24965         * math/auto-libm-test-out: Regenerated.
24966         * math/libm-test.inc (acosh_test_data): Add more tests.
24967         (atanh_test_data): Likewise.
24968         (ceil_test_data): Likewise.
24969         (copysign_test_data): Likewise.
24970         * sysdeps/i386/fpu/libm-test-ulps: Update.
24971         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24973         * timezone/checktab.awk: Update from tzcode 2013i.
24974         * timezone/private.h: Likewise.
24975         * timezone/scheck.c: Likewise.
24976         * timezone/tzfile.h: Likewise.
24977         * timezone/tzselect.ksh: Likewise.
24978         * timezone/zdump.c: Likewise.
24979         * timezone/zic.c: Likewise.
24981         * math/auto-libm-test-in: Add tests of cpow.
24982         * math/auto-libm-test-out: Regenerated.
24983         * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
24984         * math/gen-auto-libm-tests.c (func_calc_method): Add value
24985         mpc_cc_c.
24986         (func_calc_desc): Add mpc_cc_c union field.
24987         (test_functions): Add cpow.
24988         (special_fill_2pi): New function.
24989         (special_real_inputs): Add 2pi.
24990         (calc_generic_results): Handle mpc_cc_c.
24991         * sysdeps/i386/fpu/libm-test-ulps: Update.
24992         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24994         * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
24995         csqrt, ctan and ctanh.
24996         * math/auto-libm-test-out: Regenerated.
24997         * math/libm-test.inc (TEST_COND_x86_64): New macro.
24998         (TEST_COND_x86): Likewise.
24999         (ccos_test_data): Use AUTO_TESTS_c_c.
25000         (ccosh_test_data): Likewise.
25001         (cexp_test_data): Likewise.
25002         (clog_test_data): Likewise.
25003         (csqrt_test_data): Likewise.
25004         (ctan_test_data): Likewise.
25005         (ctan_tonearest_test_data): Likewise.
25006         (ctan_towardzero_test_data): Likewise.
25007         (ctan_downward_test_data): Likewise.
25008         (ctan_upward_test_data): Likewise.
25009         (ctanh_test_data): Likewise.
25010         (ctanh_tonearest_test_data): Likewise.
25011         (ctanh_towardzero_test_data): Likewise.
25012         (ctanh_downward_test_data): Likewise.
25013         (ctanh_upward_test_data): Likewise.
25014         * math/gen-auto-libm-tests.c (func_calc_method): Add value
25015         mpc_c_c.
25016         (func_calc_desc): Add mpc_c_c union field.
25017         (FUNC_mpc_c_c): New macro.
25018         (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
25019         ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
25020         ctanh.
25021         (special_fill_min_subnorm_p120): New function.
25022         (special_real_inputs): Add min_subnorm_p120.
25023         (calc_generic_results): Handle mpc_c_c.
25024         * sysdeps/i386/fpu/libm-test-ulps: Update.
25025         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25027 2013-12-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
25029         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin)
25030         (do_sin_slow): New functions.
25031         (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2)
25032         (cslow2, csloww1, csloww2): Use the new functions.
25034         * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
25035         Use M to change sign of result instead of X.  Assume X is
25036         positive.
25037         (csloww1): Likewise.
25038         (__sin): Adjust.
25039         (__cos): Adjust.
25041         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
25042         arguments A and DA.
25043         (__sin): Adjust.
25044         (__cos): Likewise.
25046         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
25047         (__cos): Likewise.
25048         (sloww1): Don't adjust sign of DX.
25049         (csloww1): Likewise.
25050         (sloww2): Use X directly and don't adjust sign of DX.
25051         (csloww2): Likewise.
25053 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
25055         * math/auto-libm-test-in: Add tests of cabs and carg.
25056         * math/auto-libm-test-out: Regenerated.
25057         * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
25058         (carg_test_data): Likewise.
25059         * math/gen-auto-libm-tests.c (func_calc_method): Add value
25060         mpc_c_f.
25061         (func_calc_desc): Add mpc_c_f union field.
25062         (test_functions): Add cabs and carg.
25063         (calc_generic_results): Handle mpc_c_f.
25065         * sysdeps/powerpc/powerpc32/libgcc-compat.S
25066         [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
25067         as a macro and a compat symbol.
25068         [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
25069         [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
25070         [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
25071         [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
25072         [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
25073         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
25074         not use .hidden.
25075         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
25076         Likewise.
25077         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
25078         Likewise.
25079         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
25080         Likewise.
25081         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
25082         Likewise.
25083         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
25084         Likewise.
25085         * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
25086         __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
25087         from GLIBC_2.3.2.
25089 2013-12-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25091         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25093 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
25095         * manual/texinfo.tex: Update to version 2013-11-26.10 with
25096         trailing whitespace removed.
25097         * scripts/config.guess: Update to version 2013-11-29.
25098         * scripts/config.sub: Update to version 2013-10-01.
25100         * math/auto-libm-test-in: Add tests of sincos.
25101         * math/auto-libm-test-out: Regenerated.
25102         * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
25103         * math/gen-auto-libm-tests.c (func_calc_method): Add value
25104         mpfr_f_11.
25105         (func_calc_desc): Add mpfr_f_11 union field.
25106         (test_functions): Add sincos.
25107         (calc_generic_results): Handle mpfr_f_11.
25108         * sysdeps/i386/fpu/libm-test-ulps: Update.
25109         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25111 2013-12-19  Andreas Schwab  <schwab@suse.de>
25113         * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
25114         CALL_MCOUNT.
25115         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
25116         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
25117         [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
25119 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
25121         * math/gen-libm-test.pl (%beautify): Remove M_* constants.
25122         * sysdeps/i386/fpu/libm-test-ulps: Update.
25123         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25125         [BZ #16293]
25126         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
25127         round-to-nearest mode when using frndint.
25128         * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
25129         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
25130         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
25131         Likewise.
25132         * math/auto-libm-test-in: Add more tests of expm1.  Do not expect
25133         sinh test to fail.
25134         * math/auto-libm-test-out: Regenerated.
25135         * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
25136         (TEST_COND_x86): Likewise.
25137         (expm1_tonearest_test_data): New array.
25138         (expm1_test_tonearest): New function.
25139         (expm1_towardzero_test_data): New array.
25140         (expm1_test_towardzero): New function.
25141         (expm1_downward_test_data): New array.
25142         (expm1_test_downward): New function.
25143         (expm1_upward_test_data): New array.
25144         (expm1_test_upward): New function.
25145         (main): Run the new test functions.
25146         * sysdeps/i386/fpu/libm-test-ulps: Update.
25147         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25149         * include/features.h: Update comment documenting feature test
25150         macros.  Mention _DEFAULT_SOURCE in comment.
25151         [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
25152         [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
25153         _BSD_SOURCE and _SVID_SOURCE.
25154         [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
25155         !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
25156         !_SVID_SOURCE]: Likewise.
25157         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
25158         (__USE_POSIX_IMPLICITLY): Define.
25159         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
25160         (_POSIX_SOURCE): Undefine and redefine.
25161         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
25162         (_POSIX_C_SOURCE): Likewise.
25163         * manual/creature.texi (_DEFAULT_SOURCE): Document.
25164         (Feature Test Macros): Update documentation of default features.
25166 2013-12-19  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
25168         * benchtests/Makefile: Add bench-strtok.
25169         * benchtests/bench-strtok.c: New file: strtok benchtest.
25171 2013-12-19  Allan McRae  <allan@archlinux.org>
25173         * manual/install.texi: Suppress menu for plain text output.
25174         * INSTALL: Regenerated.
25176 2013-12-18  Brooks Moses  <bmoses@google.com>
25178         [BZ #15846]
25179         * misc/getauxval.c: Include errno.h.
25180         (__getauxval): Set errno to ENOENT if the requested type is not
25181         found.
25182         * misc/sys/auxv.h (getauxval): Document that it may set errno;
25183         don't declare with __attribute_const__.
25184         * elf/tst-auxv.c: Add tests for errno and type-not-found case.
25185         * manual/startup.texi: Document that getauxval sets errno.
25187 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
25189         * math/auto-libm-test-in: Add tests of jn and yn.
25190         * math/auto-libm-test-out: Regenerated.
25191         * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
25192         (yn_test_data): Likewise.
25193         * math/gen-auto-libm-tests.c (func_calc_method): Add value
25194         mpfr_if_f.
25195         (func_calc_desc): Add mpfr_if_f union field.
25196         (FUNC_mpfr_if_f): New macro.
25197         (test_functions): Add jn and yn.
25198         (calc_generic_results): Assert type of second input for
25199         mpfr_ff_f.  Handle mpfr_if_f.
25200         (output_for_one_input_case): Disable all checking for arguments
25201         fitting floating-point types in case of an integer argument.
25202         * sysdeps/i386/fpu/libm-test-ulps: Update.
25203         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25205         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
25206         Don't expect fegetround reference in libm.so.
25208 2013-12-17  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
25210         * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
25211         $(config-cflags-nofma).
25213 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
25215         * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
25216         * math/auto-libm-test-out: Regenerated.
25218         [BZ #16338]
25219         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
25220         to determine exponent and adjust argument to have exponent of -1.
25221         * math/auto-libm-test-in: Add more tests of log, log10, log1p and
25222         log2.
25223         * math/auto-libm-test-out: Regenerated.
25224         * sysdeps/i386/fpu/libm-test-ulps: Update.
25225         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25227 2013-12-18  Ondřej Bílka  <neleai@seznam.cz>
25229         * manual/probes.texi: Remove cases when per-thread arenas are
25230         disabled.
25232 2013-12-18  Andreas Schwab  <schwab@suse.de>
25234         * sysdeps/i386/i686/multiarch/strstr.c: Remove.
25235         * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
25236         * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
25237         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
25238         * sysdeps/i386/i686/multiarch/Makefile: Update.
25239         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
25241 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
25243         * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
25244         * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
25246 2013-12-17  Paul Eggert  <eggert@cs.ucla.edu>
25248         [BZ #15968]
25249         Support TZ transition times < 00:00:00.
25250         This is needed for version-3 tz-format files; it supports time
25251         stamps past 2037 for America/Godthab (the only entry in the tz
25252         database for which this change is relevant).
25253         * manual/time.texi (TZ Variable): Document transition times
25254         from -167:59:59 through -00:00:01.
25255         * time/tzset.c (tz_rule): Time of day is now signed.
25256         (__tzset_parse_tz): Parse negative time of day.
25258         Document TZ transition times >= 25:00:00.
25259         * manual/time.texi (TZ Variable): Document transition times from
25260         25:00:00 through 167:59:59.  These are already supported, and this
25261         support will help with version-3 tz-format files.
25263         * manual/time.texi (TZ Variable): Modernize North America example
25264         to reflect current (i.e., 2007-and-later) daylight saving rules.
25266         * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
25268 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
25270         * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
25271         * sysdeps/unix/bsd/bits/stat.h: Likewise.
25272         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
25273         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
25274         * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
25275         * sysdeps/unix/bsd/bsdstat.h: Likewise.
25276         * sysdeps/unix/bsd/clock.c: Likewise.
25277         * sysdeps/unix/bsd/i386/vfork.S: Likewise.
25278         * sysdeps/unix/bsd/i386/wait3.S: Likewise.
25279         * sysdeps/unix/bsd/init-posix.c: Likewise.
25280         * sysdeps/unix/bsd/poll.c: Likewise.
25281         * sysdeps/unix/bsd/ptsname.c: Likewise.
25282         * sysdeps/unix/bsd/seekdir.c: Likewise.
25283         * sysdeps/unix/bsd/setegid.c: Likewise.
25284         * sysdeps/unix/bsd/seteuid.c: Likewise.
25285         * sysdeps/unix/bsd/setgid.c: Likewise.
25286         * sysdeps/unix/bsd/setrgid.c: Likewise.
25287         * sysdeps/unix/bsd/setruid.c: Likewise.
25288         * sysdeps/unix/bsd/setsid.c: Likewise.
25289         * sysdeps/unix/bsd/setuid.c: Likewise.
25290         * sysdeps/unix/bsd/sigaction.c: Likewise.
25291         * sysdeps/unix/bsd/sigprocmask.c: Likewise.
25292         * sysdeps/unix/bsd/sigsuspend.c: Likewise.
25293         * sysdeps/unix/bsd/sys/reboot.h: Likewise.
25294         * sysdeps/unix/bsd/telldir.c: Likewise.
25295         * sysdeps/unix/bsd/times.c: Likewise.
25296         * sysdeps/unix/bsd/usleep.c: Likewise.
25298         * misc/Makefile (install-lib): Remove libbsd-compat.a.
25299         ($(objpfx)libbsd-compat.a): Remove rule.
25301         * include/features.h (__FAVOR_BSD): Do not define.
25302         * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
25303         features conflicting with POSIX.
25304         (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
25305         (_BSD_SOURCE): Remove description of not being a subset of other
25306         feature test macros.
25307         * manual/job.texi (getpgrp): Do not document BSD version.
25308         (getpgid): Do not document by reference to BSD getpgrp.
25309         * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
25310         * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
25311         * signal/signal.h [__FAVOR_BSD]: Likewise.
25312         * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
25313         instead of making contents conditional on [__FAVOR_BSD].
25314         * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
25316 2013-12-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25318         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25320 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
25322         [BZ #16314]
25323         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
25324         values below 2**-450, not 2**-500.
25325         * math/auto-libm-test-in: Don't allow spurious underflow from
25326         hypot.
25327         * math/auto-libm-test-out: Regenerated.
25329         [BZ #16316]
25330         [BZ #16330]
25331         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
25332         values of ha and hb and sort them after adjusting subnormal
25333         arguments.
25334         * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
25335         Likewise.
25336         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
25337         values of ea and eb and sort them after adjusting subnormal
25338         arguments.
25339         * math/auto-libm-test-in: Do not expect some hypot tests of
25340         subnormals to fail.  Add more hypot tests.
25341         * math/auto-libm-test-out: Regenerated.
25343 2013-12-16  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
25345         [BZ #13304]
25346         * sysdeps/sh/s_fma.c: New file.
25347         * sysdeps/sh/s_fmaf.c: New file.
25348         * sysdeps/sh/soft-fp/sfp-machine.h: New file.  Based on arm
25349         version.
25350         * sysdeps/sh/Implies: Add sh/soft-fp.
25352 2013-12-16  Roland McGrath  <roland@hack.frob.com>
25354         * elf/dl-error.c (struct catch): Add new member `errcode'.  Add a
25355         level of indirection to members `objname', `errstring', `malloced'.
25356         (_dl_signal_error): Store through pointers in *LCATCH rather modifying
25357         *LCATCH itself.  Set *LCATCH->errcode to ERRCODE rather than passing
25358         it as the __longjmp argument (just pass 1 instead).
25359         (_dl_catch_error): Initialize C with argument pointers and address of
25360         volatile local ERRCODE rather than copying values out of C at return.
25362 2013-12-16  Joseph Myers  <joseph@codesourcery.com>
25364         * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
25365         * math/auto-libm-test-out: Regenerated.
25366         * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
25367         (hypot_test_data): Likewise.
25368         (pow_test_data): Likewise.
25369         (pow_tonearest_test_data): Likewise.
25370         * math/gen-auto-libm-tests.c (func_calc_method): Add value
25371         mpfr_ff_f.
25372         (func_calc_desc): Add mpfr_ff_f union field.
25373         (FUNC_mpfr_ff_f): New macro.
25374         (test_functions): Add atan2, hypot and pow.
25375         (special_fill_min): New function.
25376         (special_fill_minus_min): Likewise.
25377         (special_fill_min_subnorm): Likewise.
25378         (special_fill_minus_min_subnorm): Likewise.
25379         (special_real_inputs): Add min, -min, min_subnorm and
25380         -min_subnorm.
25381         (calc_generic_results): Handle mpfr_ff_f.
25382         * sysdeps/i386/fpu/libm-test-ulps: Update.
25383         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25385 2013-12-16  Will Newton  <will.newton@linaro.org>
25387         * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
25388         (Aligned Memory Blocks): Add documentation for aligned_alloc
25389         and suggest it as an alternative to posix_memalign.
25390         (Hooks for Malloc): Document __memalign_hook is also called
25391         for aligned_alloc.  (Summary of Malloc): Add summary for
25392         aligned alloc.  Document __memalign_hook is also called
25393         for aligned_alloc.
25395 2013-12-16  Will Newton  <will.newton@linaro.org>
25397         * manual/memory.texi (Malloc Examples): Clarify default
25398         alignment documentation.  Suggest posix_memalign rather
25399         than memalign or valloc.
25400         (Aligned Memory Blocks): Remove suggestion to use memalign
25401         or valloc.  Remove obsolete comment about BSD.
25402         Document memalign errno values and mark the function obsolete.
25403         Document posix_memalign returned error codes.  Mark valloc
25404         as obsolete.  (Hooks for Malloc): __memalign_hook is also
25405         called for posix_memalign and valloc.
25406         (Summary of Malloc): Add posix_memalign to function summary.
25407         __memalign_hook is also called for posix_memalign and valloc.
25409 2013-12-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
25411         * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
25412         TAYLOR_SIN.
25413         (__sin): Adjust.
25414         (__cos): Likewise.
25415         (sloww): Use mynumber union.  Expand ternary operator into
25416         if-else statements.
25417         (cslow): use mynumber union.
25419 2013-12-16  Allan McRae  <allan@archlinux.org>
25421         * configure.ac: Set AUTOCONF when maintainer-mode is not used.
25422         * configure: Regenerated.
25424         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
25426         [BZ #14120]
25427         * configure.ac: Added --enable-maintainer-mode. Check for
25428         autoconf when enabled.
25429         * configure: Regenerated.
25431         * nscd/nscd.service: New file.
25432         * nscd/nscd.tmpfiles: New file.
25434 2013-12-14  Ondřej Bílka  <neleai@seznam.cz>
25436         [BZ #12100]
25437         * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
25438         * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
25439         * sysdeps/x86_64/multiarch/strstr.c: ... here.
25440         (strstr): Add __strstr_sse2_unaligned ifunc.
25441         * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
25442         * sysdeps/x86_64/multiarch/strcasestr.c ... here.
25443         (strcasestr): Remove __strcasestr_sse42 ifunc.
25444         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
25445         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
25446         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
25448 2013-12-14  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
25450         * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
25451         * sysdeps/sh/bits/fenv.h: ... here.
25452         * sysdeps/sh/sh4/fpu/bits: Remove directory.
25454 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25456         * NEWS: Mention ppc64 STT_GNU_IFUNC support.
25458         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
25459         hypotf multiarch implementations.
25460         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
25461         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
25462         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
25463         multiarch hypot for PPC64.
25464         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
25465         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
25466         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
25467         multiarch hypotf for PPC64.
25469         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
25470         modff multiarch implementations.
25471         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
25472         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
25473         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
25474         multiarch modf for PPC64.
25475         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
25476         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
25477         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
25478         multiarch modff for PPC64.
25480         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
25481         and logl multiarch implementations.
25482         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
25483         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
25484         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
25485         multiarch logb for PPC64.
25486         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
25487         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
25488         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
25489         multiarch logb for PPC64.
25490         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
25491         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
25492         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
25493         multiarch logb for PPC64.
25495         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
25496         isinff multiarch implementation.
25497         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
25498         file.
25499         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
25500         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
25501         multiarch isinf for PPC64.
25502         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
25503         file.
25504         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
25505         multiarch isinff for PPC64.
25507         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
25508         finitef multiarch implementation.
25509         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
25510         file.
25511         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
25512         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
25513         multiarch finite for PPC64.
25514         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
25515         file.
25516         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
25517         multiarch finitef for PPC64.
25519         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
25520         lrint multiarch implementation.
25521         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
25522         file.
25523         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
25524         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
25525         multiarch llrint for PPC64.
25526         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
25527         multiarch lrint for PPC64.
25529         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
25530         copysignf multiarch implementation.
25531         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
25532         file.
25533         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
25534         file.
25535         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
25536         multiarch copysign for PPC64.
25537         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
25538         multiarch copysignf for PPC64.
25540         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
25541         multiarch implementation.
25542         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
25543         file.
25544         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
25545         file.
25546         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
25547         file.
25548         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
25549         file.
25550         multiarch llround for PPC64.
25551         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
25552         multiarch trunc for PPC64.
25553         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
25554         multiarch truncf for PPC64.
25556         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
25557         multiarch implementation.
25558         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
25559         file.
25560         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
25561         file.
25562         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
25563         file.
25564         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
25565         file.
25566         multiarch llround for PPC64.
25567         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
25568         multiarch round for PPC64.
25569         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
25570         multiarch roundf for PPC64.
25572         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
25573         multiarch implementation.
25574         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
25575         file.
25576         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
25577         file.
25578         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
25579         file.
25580         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
25581         file.
25582         multiarch llround for PPC64.
25583         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
25584         multiarch floor for PPC64.
25585         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
25586         multiarch floorf for PPC64.
25588         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
25589         multiarch implementation.
25590         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
25591         file.
25592         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
25593         file.
25594         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
25595         file.
25596         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
25597         file.
25598         multiarch llround for PPC64.
25599         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
25600         multiarch ceil for PPC64.
25601         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
25602         multiarch ceilf for PPC64.
25604         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
25605         multiarch implementation.
25606         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
25607         file.
25608         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
25609         file.
25610         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
25611         file.
25612         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
25613         multiarch llround for PPC64.
25614         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
25615         multiarch lround for PPC64.
25617         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
25618         multiarch implementation.
25619         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
25620         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
25621         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
25622         file.
25623         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
25624         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
25625         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
25626         multiarch isnan for PPC64.
25627         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
25628         multiarch isnanf for PPC64.
25630         * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
25631         * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
25632         * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
25633         * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
25634         * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
25635         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
25637         * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
25638         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
25639         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
25640         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
25642         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
25643         multiarch implementations.
25644         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
25645         (__libc_ifunc_impl_list): Likewise.
25646         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
25647         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
25648         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
25649         multiarch stpcpy for PPC64.
25651         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
25652         multiarch implementations.
25653         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
25654         (__libc_ifunc_impl_list): Likewise.
25655         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
25656         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
25657         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
25658         multiarch strcpy for PPC64.
25660         * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
25661         redefine function name.
25662         (_wordcopy_fwd_dest_aligned): Likewise.
25663         (_wordcopy_bwd_aligned): Likewise.
25664         (_wordcopy_bwd_dest_aligned): Likewise.
25665         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
25666         multiarch implementations.
25667         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
25668         (__libc_ifunc_impl_list): Likewise.
25669         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
25670         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
25671         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
25672         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
25673         multiarch wcscpy for PPC64.
25675         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
25676         multiarch implementations.
25677         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
25678         (__libc_ifunc_impl_list): Likewise.
25679         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
25680         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
25681         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
25682         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
25683         multiarch wcscpy for PPC64.
25685         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
25686         multiarch implementations.
25687         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
25688         (__libc_ifunc_impl_list): Likewise.
25689         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
25690         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
25691         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
25692         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
25693         multiarch wcsrchr for PPC64.
25695         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
25696         multiarch implementations.
25697         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
25698         (__libc_ifunc_impl_list): Likewise.
25699         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
25700         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
25701         * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
25702         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
25703         multiarch wcschr for PPC64.
25705         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
25706         multiarch implementations.
25707         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
25708         (__libc_ifunc_impl_list): Likewise.
25709         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
25710         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
25711         * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
25712         multiarch strchrnul for PPC64.
25714         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
25715         implementations.
25716         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
25717         (__libc_ifunc_impl_list): Likewise.
25718         * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
25719         * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
25720         * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
25721         * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
25722         strchr for PPC64.
25724         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
25725         implementations.
25726         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
25727         (__libc_ifunc_impl_list): Likewise.
25728         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
25729         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
25730         * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
25731         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
25732         strncmp for PPC64.
25734         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
25735         multiarch implementations.
25736         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
25737         (__libc_ifunc_impl_list): Likewise.
25738         * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
25739         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
25740         strncasecmp for PPC64.
25741         * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
25742         * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
25743         multiarch strncasecmp_l for PPC64.
25745         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
25746         multiarch implementations.
25747         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
25748         (__libc_ifunc_impl_list): Likewise.
25749         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
25750         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
25751         multiarch strcasecmp for PPC64.
25752         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
25753         file.
25754         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
25755         multiarch strcasecmp_l for PPC64.
25757         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
25758         implementations.
25759         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
25760         (__libc_ifunc_impl_list): Likewise.
25761         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
25762         * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
25763         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
25764         strnlen for PPC64.
25766         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
25767         implementations.
25768         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
25769         (__libc_ifunc_impl_list): Likewise.
25770         * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
25771         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
25772         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
25773         strlen for PPC64.
25775         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
25776         implementations.
25777         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
25778         (__libc_ifunc_impl_list): Likewise.
25779         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
25780         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
25781         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
25782         rawmemrchr for PPC64.
25784         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
25785         implementation.
25786         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
25787         (__libc_ifunc_impl_list): Likewise.
25788         * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
25789         * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
25790         * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
25791         memrchr for PPC64.
25793         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
25794         implementation.
25795         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
25796         (__libc_ifunc_impl_list): Likewise.
25797         * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
25798         * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
25799         * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
25800         memchr for PPC64.
25802         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
25803         implementation.
25804         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
25805         (__libc_ifunc_impl_list): Likewise.
25806         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
25807         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
25808         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
25809         mempcpy for PPC64.
25811         * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
25812         avoid cretion of __bzero symbol.
25813         * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
25814         Likewise.
25815         * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
25816         Likewise.
25817         * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
25818         Likewise.
25819         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
25820         multiarch implementations.
25821         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
25822         (__libc_ifunc_impl_list): Likewise.
25823         * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
25824         * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
25825         * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
25826         * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
25827         bzero for PPC32.
25828         * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
25829         * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
25830         * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
25831         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
25832         * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
25833         memset for PPC64.
25834         * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
25836         * string/memcmp.c (memcmp): Using macro to redefine symbol name.
25837         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
25838         implementations.
25839         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
25840         (__libc_ifunc_impl_list): Likewise.
25841         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
25842         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
25843         * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
25844         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
25845         memcmp for PPC64.
25847         * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
25848         multiarch for POWER/PPC64.
25849         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
25850         * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
25851         * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
25852         * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
25853         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
25854         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
25855         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
25856         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
25857         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
25858         memcpy for PPC64.
25860         * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
25861         * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
25862         * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
25863         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
25864         * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
25865         * sysdeps/powerpc/powerpc64/power5/Implies: New File.
25866         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
25867         * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
25868         * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
25869         * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
25870         * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
25871         * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
25872         * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
25873         * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
25874         * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
25875         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
25876         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
25877         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
25878         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
25879         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
25880         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
25881         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
25883 2013-12-12  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
25885         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
25887 2013-12-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
25889         * benchtests/Makefile (bench): Add exp2 and log2.
25890         (LDLIBS-bench-exp2): Add -lm.
25891         (LDLIBS-bench-log2): Likewise.
25892         * benchtests/exp2-inputs: New inputs file.
25893         * benchtests/log2-inputs: New inputs file.
25894         * benchtests/log-inputs: Add new inputs.
25895         * benchtests/tan-inputs: Likewise.
25897 2013-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
25899         * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
25900         definition...
25901         (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2, csloww1)
25902         (csloww2): ... from here.
25904         * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
25905         instead of structures.
25906         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
25907         (POLYNOMIAL): Likewise.
25908         (TAYLOR_SLOW): Likewise.
25909         (__sin): Likewise.
25910         (__cos): Likewise.
25911         (slow1): Likewise.
25912         (slow2): Likewise.
25913         (sloww): Likewise.
25914         (sloww1); Likewise.
25915         (sloww2): Likewise.
25916         (bsloww1): Likewise.
25917         (bsloww2): Likewise.
25918         (cslow2): Likewise.
25919         (csloww): Likewise.
25920         (csloww1): Likewise.
25921         (csloww2): Likewise.
25923 2013-12-10  Ondřej Bílka  <neleai@seznam.cz>
25925         * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
25926         (__malloc_assert, __libc_realloc, __libc_calloc, _int_realloc):
25927         Expand MALLOC_COPY and MALLOC_ZERO to memcpy and memset.
25928         * malloc/hooks.c (realloc_check): Likewise.
25930         * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
25931         * malloc/arena.c: Remove PER_THREAD conditional.
25932         [!PER_THREAD]: Remove code.
25933         (ptmalloc_unlock_all2): Likewise.
25934         (ptmalloc_init): Likewise.
25935         (_int_new_arena): Likewise.
25936         (arena_get2): Likewise.
25937         * malloc/hooks.c (__malloc_get_state): Likewise.
25938         (__malloc_set_state): Likewise.
25939         * malloc/malloc.c: Likewise.
25940         (struct malloc_state): Likewise.
25941         (struct malloc_par): Likewise.
25942         (__libc_realloc): Likewise.
25943         (__libc_mallopt): Likewise.
25945 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25947         * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
25949 2013-12-09  Ondřej Bílka  <neleai@seznam.cz>
25951         * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
25952         macro to a function.  Check for zero perturb_byte.
25953         (_int_malloc, _int_free): Remove zero perturb_byte checks.
25955         * malloc/malloc.c: (force_reg): Remove.
25956         (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc)
25957         (_mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
25958         force_reg by atomic_forced_read.
25959         * malloc/arena.c (ptmalloc_init): Likewise.
25960         * malloc/hooks.c (top_check): Likewise.
25962 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25964         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25966 2013-12-09  Markus Trippelsdorf  <markus@trippelsdorf.de>
25968         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
25970 2013-12-08  Joseph Myers  <joseph@codesourcery.com>
25972         * math/auto-libm-test-in: Add tests of lgamma.
25973         * math/auto-libm-test-out: Regenerated.
25974         * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
25975         (M_LOG_2_SQRT_PIl): Likewise.
25976         (lgamma_test_data): Use AUTO_TESTS_f_f1.
25977         * math/gen-auto-libm-tests.c (func_calc_method): Add value
25978         mpfr_f_f1.
25979         (func_calc_desc): Add mpfr_f_f1 union field.
25980         (ARGS1): New macro.
25981         (ARGS2): Likewise.
25982         (ARGS3): Likewise.
25983         (ARGS4): Likewise.
25984         (RET1): Likewise.
25985         (RET2): Likewise.
25986         (CALC): Likewise.
25987         (FUNC): Likewise.
25988         (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
25989         (test_functions): Add lgamma.
25990         (calc_generic_results): Handle mpfr_f_f1.
25991         * sysdeps/i386/fpu/libm-test-ulps: Update.
25992         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25994 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25996         * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
25997         __mpn_add_n for PowerPC64/POWER7.
25998         * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
25999         __mpn_sub_n for PowerPC64/POWER7.
26001         * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
26002         __mpn_addmul_1 for PowerPC64.
26003         * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
26004         __mpn_submul_1 for PowerPC64.
26005         * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
26006         for PowerPC64.
26007         * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
26008         for PowerPC64.
26010 2013-12-06  Fernando J. V. da Silva  <fernandojvdasilva@gmail.com>
26012         [BZ #15089]
26013         * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
26015 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26017         * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
26019         * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
26020         add multiarch folders.
26021         * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
26022         * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
26023         * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
26024         * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
26025         * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
26026         * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
26027         * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
26028         * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
26029         * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
26030         * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
26031         * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
26032         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
26033         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
26034         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
26035         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
26036         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
26037         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
26039         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
26040         __ieee754_hypot and __ieee754_hypotf multiarch implementations.
26041         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
26042         New file.
26043         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
26044         New file.
26045         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
26046         multiarch __ieee754_hypot for PowerPC32.
26047         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
26048         New file.
26049         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
26050         New file.
26051         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
26052         multiarch __ieee754_hypotf for PowerPC32.
26054         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
26055         long_double_symbol only if __logbl is defined.
26056         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
26057         * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
26058         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
26059         * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
26060         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
26061         * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
26062         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
26063         path for implementation.
26064         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
26065         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
26066         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
26067         logb, and logbl multiarch implementations for PowerPC32.
26068         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
26069         file.
26070         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
26071         file.
26072         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
26073         multiarch logb for PowerPC32.
26074         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
26075         file.
26076         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
26077         file.
26078         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
26079         multiarch logbf for PowerPC32.
26080         * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
26081         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
26082         file.
26083         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
26084         multiarch logbl implementation for PowerPC32.
26086         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
26087         and modff multiarch implementations.
26088         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
26089         New file.
26090         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
26091         New file.
26092         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
26093         multiarch modf for PowerPC32.
26094         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
26095         New file.
26096         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
26097         New file.
26098         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
26099         multiarch modff for PowerPC32.
26101         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
26102         and lrintf multiarch implementations.
26103         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
26104         New file.
26105         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
26106         New file.
26107         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
26108         multiarch lrint for PowerPC32.
26109         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
26110         file: multiarch lrintf for PowerPC32.
26112         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
26113         and lroundf multiarch implementations.
26114         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
26115         New file.
26116         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
26117         New file.
26118         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
26119         New file.
26120         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
26121         multiarch lround for PowerPC32.
26122         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
26123         file: multiarch lroundf for PowerPC32.
26125         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
26126         copysign and copysignf multiarch implementations.
26127         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
26128         New file.
26129         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
26130         New file.
26131         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
26132         file: multiarch copysign for PowerPC32.
26133         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
26134         file: multiarch copysignf for PowerPC32.
26136         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
26137         and truncf multiarch implementations.
26138         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
26139         New file.
26140         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
26141         file.
26142         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
26143         multiarch trunc for PowerPC32.
26144         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
26145         New file.
26146         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
26147         New file.
26148         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
26149         multiarch truncf for PowerPC32.
26151         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
26152         and roundf multiarch implementations.
26153         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
26154         New file.
26155         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
26156         file.
26157         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
26158         multiarch round for PowerPC32.
26159         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
26160         New file.
26161         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
26162         New file.
26163         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
26164         multiarch roundf for PowerPC32.
26166         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
26167         and floorf multiarch implementations.
26168         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
26169         New file.
26170         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
26171         file.
26172         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
26173         multiarch floor for PowerPC32.
26174         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
26175         New file.
26176         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
26177         New file.
26178         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
26179         multiarch floorf for PowerPC32.
26181         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
26182         and ceilf multiarch implementations.
26183         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
26184         New file.
26185         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
26186         file.
26187         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
26188         multiarch ceil for PowerPC32.
26189         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
26190         New file.
26191         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
26192         file.
26193         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
26194         multiarch ceilf for PowerPC32.
26196         * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
26197         is defined.
26198         * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
26199         FINITEF is defined.
26200         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
26201         and finitef multiarch implementations.
26202         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
26203         New file.
26204         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
26205         file.
26206         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
26207         multiarch finite for PowerPC32.
26208         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
26209         New file.
26210         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
26211         file: multiarch finitef for PowerPC32.
26213         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
26214         and isinff multiarch implementations.
26215         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
26216         file.
26217         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
26218         file.
26219         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
26220         multiarch isinf for PowerPC32.
26221         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
26222         New file.
26223         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
26224         multiarch isinff for PowerPC32.
26226         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
26227         alias when __isnan is defined.
26228         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
26229         and isnanf multiarch implementations.
26230         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
26231         file.
26232         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
26233         file.
26234         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
26235         file.
26236         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
26237         file.
26238         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
26239         multiarch isnan for PowerPC32.
26240         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
26241         New file.
26242         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
26243         New file.
26244         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
26245         multiarch isnanf for PowerPC32.
26247         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
26248         and sqrtf multiarch implementations.
26249         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
26250         file.
26251         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
26252         file.
26253         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
26254         multiarch sqrt for PowerPC32.
26255         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
26256         file.
26257         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
26258         file.
26259         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
26260         multiarch sqrtf for PowerPC32.
26262         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
26263         and llroundf multiarch implementations.
26264         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
26265         New file.
26266         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
26267         New file.
26268         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
26269         New file.
26270         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
26271         file: multiarch llround for PowerPC32.
26272         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
26273         file: multiarch llroundf for PowerPC32.
26275         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
26276         multiarch PowerPC32 fpu implementations.
26277         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
26278         New file.
26279         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
26280         New file.
26281         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
26282         multiarch llrint for PowerPC32.
26283         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
26284         New file.
26285         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
26286         New file.
26287         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
26288         file.
26290         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
26292         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
26293         file.
26294         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
26295         file.
26296         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
26297         file.
26298         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
26299         multiarch wordcopy for PPC32.
26300         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
26301         wordcopy objects.
26302         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
26303         (__libc_ifunc_impl_list): Likewise.
26304         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
26305         * sysdeps/powerpc/power4/wordcopy.c: ... to here.
26306         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
26307         * sysdeps/powerpc/power6/wordcopy.c: ... to here.
26308         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
26309         * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
26311         * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
26312         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
26313         file.
26314         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
26315         file.
26316         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
26317         file.
26318         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
26319         multiarch wcscpy for PPC32.
26320         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
26321         multiarch objects.
26322         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
26323         (__libc_ifunc_impl_list): Likewise.
26324         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
26325         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
26326         * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
26327         sysdeps/powerpc/power6/wcscpy.c.
26329         * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
26330         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
26331         file.
26332         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
26333         file.
26334         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
26335         file.
26336         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
26337         multiarch wcsrchr for PPC32.
26338         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
26339         multiarch objects.
26340         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
26341         (__libc_ifunc_impl_list): Likewise.
26342         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
26343         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
26344         * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
26345         sysdeps/powerpc/power6/wcsrchr.c.
26347         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
26348         file.
26349         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
26350         file.
26351         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
26352         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
26353         multiarch wcschr for PPc32.
26354         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
26355         multiarch objects.
26356         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
26357         (__libc_ifunc_impl_list): Likewise.
26358         * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
26359         * sysdeps/powerpc/power6/wcschr.c: ... to here.
26360         * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
26361         sysdeps/powerpc/power6/wcschr.c.
26363         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
26364         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
26365         file.
26366         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
26367         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
26368         file: multiarch strchr for PPC32.
26369         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
26370         multiarch objects.
26371         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
26372         (__libc_ifunc_impl_list): Likewise.
26374         * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
26375         name.
26376         * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
26377         file.
26378         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
26379         file.
26380         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
26381         multiarch strchrnul for PPC32.
26382         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
26383         multiarch objects.
26384         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
26385         (__libc_ifunc_impl_list): Likewise.
26387         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
26388         file.
26389         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
26390         multiarch strncasecmp for PPC32.
26391         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
26392         file.
26393         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
26394         multiarch strncasecmp_l for PPC32.
26395         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
26396         strncasecmp multiarch objects.
26397         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
26398         (__libc_ifunc_impl_list): Likewise.
26400         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
26401         file.
26402         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
26403         multiarch strncasecmp for PPC32.
26404         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
26405         New file.
26406         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
26407         multiarch strcasecmp_l for PPC32.
26408         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
26409         multiarch objects.
26410         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
26411         (__libc_ifunc_impl_list): Likewise.
26413         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
26414         file.
26415         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
26416         file.
26417         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
26418         multiarch strncmp for PPC32.
26419         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
26420         multiarch objects.
26421         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
26422         (__libc_ifunc_impl_list): Likewise.
26424         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
26425         * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
26426         file.
26427         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
26428         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
26429         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
26430         multiarch objects.
26431         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
26432         (__libc_ifunc_impl_list): Likewise.
26434         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
26435         file.
26436         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
26437         file.
26438         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
26439         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
26440         multiarch objects.
26441         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
26442         (__libc_ifunc_impl_list): Likewise.
26444         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
26445         file.
26446         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
26447         file.
26448         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
26449         multiarch rawmemchr for PPC32.
26450         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
26451         multiarch objects.
26452         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
26453         (__libc_ifunc_impl_list): Likewise.
26455         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
26456         file.
26457         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
26458         file.
26459         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
26460         file: memrchr multiarch for PPC32.
26461         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
26462         multiarch objects.
26463         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
26464         (__libc_ifunc_impl_list): Likewise.
26466         * string/memchr.c (__memchr): Using macro to redefine symbol name.
26467         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
26468         file.
26469         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
26470         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
26471         multiarch memchr for PPC32.
26472         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
26473         multiarch objects.
26474         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
26475         (__libc_ifunc_impl_list): Likewise.
26477         * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
26478         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
26479         file.
26480         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
26481         file.
26482         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
26483         file: multiarch mempcpy for PPC32.
26484         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
26485         multiarch objects.
26486         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
26487         (__libc_ifunc_impl_list): Likewise.
26489         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
26490         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
26491         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
26492         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
26493         multiarch bzero for PPC32.
26494         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
26495         file.
26496         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
26497         file.
26498         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
26499         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
26500         file: multiarch memset for PPC32.
26501         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
26502         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
26503         memset multiarch objects.
26504         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
26505         (__libc_ifunc_impl_list): Likewise.
26507         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
26508         file.
26509         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
26510         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
26511         memcmp for PPC32.
26512         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
26513         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
26514         multiarch objects.
26515         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
26516         (__libc_ifunc_impl_list): Likewise.
26518         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
26519         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
26520         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
26521         file.
26522         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
26523         file.
26524         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
26525         file.
26526         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
26527         multiarch memcpy for PPC32.
26528         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
26529         multiarch objects.
26530         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
26531         (__libc_ifunc_impl_list): Likewise.
26533         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
26534         support multiarch for POWER/PPC32.
26535         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
26536         Likewise.
26537         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
26538         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
26539         Implies file to make multiarch folder appers before the fpu and
26540         default folder for power4 configuration.
26542 2013-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
26544         * scripts/bench.pl: Append volatile keyword to type.
26546 2013-12-05  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
26548         * sysdeps/sh/sotruss-lib.c: New file.
26549         * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
26551 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26553         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
26555 2013-12-05  Joseph Myers  <joseph@codesourcery.com>
26557         [BZ #6810]
26558         * math/w_tgamma.c: Include <errno.h>.
26559         (__tgamma): Use __glibc_unlikely.  Set errno on underflow to 0.
26560         * math/w_tgammaf.c: Include <errno.h>.
26561         (__tgammaf): Use __glibc_unlikely.  Set errno on underflow to 0.
26562         * math/w_tgammal.c: Include <errno.h>.
26563         (__tgammal): Use __glibc_unlikely.  Set errno on underflow to 0.
26564         * math/auto-libm-test-in: Do not allow missing errno on tgamma
26565         underflow.  Add more tgamma tests.
26566         * math/auto-libm-test-out: Regenerated.
26567         * sysdeps/i386/fpu/libm-test-ulps: Update.
26568         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26570         * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
26571         sin, sinh, tan, tanh, tgamma, y0 and y1.
26572         * math/auto-libm-test-out: Regenerated.
26573         * math/libm-test.inc (TEST_COND_x86_64): New macro.
26574         (TEST_COND_x86): Likewise.
26575         (M_E2l): Remove macro.
26576         (M_E3l): Likewise.
26577         (M_2_SQRT_PIl): Likewise.
26578         (M_SQRT_PIl): Likewise.
26579         (M_1_DIV_El): Likewise.
26580         (log_test_data): Use AUTO_TESTS_f_f.
26581         (log10_test_data): Likewise.
26582         (log1p_test_data): Likewise.
26583         (log2_test_data): Likewise.
26584         (sin_test_data): Likewise.
26585         (sin_tonearest_test_data): Likewise.
26586         (sin_towardzero_test_data): Likewise.
26587         (sin_downward_test_data): Likewise.
26588         (sin_upward_test_data): Likewise.
26589         (sinh_test_data): Likewise.
26590         (sinh_tonearest_test_data): Likewise.
26591         (sinh_towardzero_test_data): Likewise.
26592         (sinh_downward_test_data): Likewise.
26593         (sinh_upward_test_data): Likewise.
26594         (tan_test_data): Likewise.
26595         (tan_tonearest_test_data): Likewise.
26596         (tan_towardzero_test_data): Likewise.
26597         (tan_downward_test_data): Likewise.
26598         (tan_upward_test_data): Likewise.
26599         (tanh_test_data): Likewise.
26600         (tgamma_test_data): Likewise.
26601         (y0_test_data): Likewise.
26602         (y1_test_data): Likewise.
26603         * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
26604         (special_real_inputs): Add pi/4.
26605         * sysdeps/i386/fpu/libm-test-ulps: Update.
26606         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26608 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26610         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
26611         "longjmp_target" static probes.
26612         (__longjmp): Rename to __longjmp_symbol.
26613         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
26614         * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
26615         on which longjmp to generate.
26616         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
26617         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
26618         probe.
26619         (__sigsetjmp): Rename to __sigsetjmp_symbol.
26620         (__sigjmp_save): Rename to __sigjmp_save_symbol.
26621         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
26622         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
26623         and __sigjmp_save_symbol based on which sigsetjmp to generated.
26624         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise
26625         * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
26626         __longjmp_symbol based on which __longjmp to generate.
26627         * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
26628         probe.
26629         (setjmp): Rename to setjmp_symbol.
26630         (__sigsetjmp): Rename to __sigsetjmp_symbol.
26631         (_setjmp): Rename to _setjmp_symbol.
26632         (__sigsetjmp): Rename to __sigsetjmp_symbol.
26633         * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
26634         _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
26635         which setjmp to generate.
26636         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
26637         "longjmp_target" static probes.
26639 2013-12-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
26641         * benchtests/README: Add note about output arguments.
26642         * benchtests/bench-sincos.c: Remove file.
26643         * benchtests/sincos-inputs: New file.
26644         * scripts/bench.pl: Identify output arguments and define
26645         static variables for them.
26647         * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
26649         [BZ #15941]
26650         * Makefile (INSTALL): Add install-plain.texi as the primary
26651         dependency.
26652         * manual/install-plain.texi: New file.
26653         * manual/install.texi: Include node directive only for
26654         non-plaintext output.
26656 2013-12-04  Joseph Myers  <joseph@codesourcery.com>
26658         * stdlib/longlong.h: Update from GCC.
26660         [BZ #6807]
26661         [BZ #15901]
26662         * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
26663         * math/w_j0f.c (y0f): Likewise.
26664         * math/w_j0l.c (__y0l): Likewise.
26665         * math/w_j1.c (y1): Likewise.
26666         * math/w_j1f.c (y1f): Likewise.
26667         * math/w_j1l.c (__y1l): Likewise
26668         * math/w_jn.c (yn): Likewise.
26669         * math/w_jnf.c (ynf): Likewise.
26670         * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
26671         Bessel function pole errors in _POSIX_ mode.  Use NAN as return
26672         value for Bessel function domain errors outside _SVID_ mode.
26673         Adjust sign of return value for yn (negative integer, 0).
26674         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
26675         by zero in return for negative x and set sign appropriately for
26676         negative n.
26677         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
26678         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
26679         * math/libm-test.inc (y0_test_data): Add more tests and adjust
26680         expectations in error cases.
26681         (y1_test_data): Likewise.
26682         (yn_test_data): Likewise.
26683         * sysdeps/i386/fpu/libm-test-ulps: Update.
26684         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26686 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
26688         * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
26689         "64" to "64-v1".  Add "64-v2".
26690         (abi-64-options): Rename to ...
26691         (abi-64-v1-options): ... this.   Redefine _CALL_ELF.
26692         (abi-64-condition): Rename to ...
26693         (abi-64-v1-condition): ... this.  Add _CALL_ELF check.,
26694         (abi-64-ld-soname): Rename to ...
26695         (abi-64-v1-ld-soname): ... this.
26696         (abi-64-v2-options): Define.
26697         (abi-64-v2-condition): Likewise.
26698         (abi-64-v2-ld-soname): Likewise.
26699         * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
26700         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
26701         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
26702         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
26703         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
26705 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
26706             Alan Modra  <amodra@gmail.com>
26708         * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
26709         New versions for use with the ELFv2 ABI.
26710         (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
26711         * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
26712         declaration.
26713         (struct La_ppc64v2_retval): Likewise.
26714         (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
26715         (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
26716         * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
26717         to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
26718         (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
26719         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
26720         Do not save or restore CR.
26721         (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
26722         (_dl_profile_resolve): Do no save or restore CR.  Support extended
26723         return values for ELFv2 ABI.  Fix location of FPR return registers.
26724         * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
26725         updated values for _CALL_ELF == 2.
26726         (La_regs, La_retval, int_retval): Likewise.
26728 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
26730         * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
26731         (FRAME_MIN_SIZE_PARM): Likewise.
26732         (FRAME_BACKCHAIN): Likewise.
26733         (FRAME_CR_SAVE): Likewise.
26734         (FRAME_LR_SAVE): Likewise.
26735         (FRAME_TOC_SAVE): Likewise.
26736         (FRAME_PARM_SAVE): Likewise.
26737         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
26738         FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
26739         FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
26740         (call_mcount_parm_offset): New macro.
26741         (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
26742         (PROF): Use symbolic stack frame offsets.
26743         (TAIL_CALL_SYSCALL_ERROR): Likewise.
26744         * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
26745         Redefine in terms of FRAME_MIN_SIZE.
26746         (_dl_runtime_resolve): Use symbolic stack frame offsets.
26747         (_dl_profile_resolve): Likewise.  Update comment.
26748         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
26749         symbols stack frame offsets.
26750         (__sigsetjmp): Likewise.
26751         * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
26752         * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
26753         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
26754         * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
26756         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
26757         (FRAME_BACKCHAIN): Remove.
26758         (FRAME_CR_SAVE): Likewise.
26759         (FRAME_LR_SAVE): Likewise.
26760         (FRAME_COMPILER_DW): Likewise.
26761         (FRAME_LINKER_DW): Likewise.
26762         (FRAME_TOC_SAVE): Likewise.
26763         (FRAME_PARM_SAVE): Likewise.
26764         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE)
26765         (FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE)
26766         (FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
26767         * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
26768         (CHECK_SP): Use symbolic stack frame offsets.
26769         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
26770         zone" instead of caller's parameter save area for temp storage.
26771         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
26772         Likewise.  Also, use symbolic stack frame offsets.
26773         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
26774         stackblock): Redefine for _CALL_ELF == 2 to save parameters into
26775         our own stack frame instead of the caller's.
26776         (__socket): Use symbolic stack frame offsets.
26778 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
26779             Alan Modra  <amodra@gmail.com>
26781         * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
26782         Define.
26783         (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK)
26784         (PPC64_LOCAL_ENTRY_OFFSET): Define.
26785         * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
26786         New function.
26787         (elf_machine_fixup_plt): Call it.
26788         (elf_machine_plt_conflict): Likewise.  Add map, sym_map, and
26789         reloc arguments.
26790         (elf_machine_rela): Update call to elf_machine_plt_conflict.
26791         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
26792         (_dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
26793         r2 before calling target.
26795 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
26796             Alan Modra  <amodra@gmail.com>
26798         * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
26799         (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
26800         versions of macros to support ELFv2 ABI.
26801         (LOCALENTRY): New macro.
26802         (ENTRY, EALIGN): Use it.
26803         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
26804         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
26805         fall through into ENTRY entry point.
26806         * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
26807         Only define if _CALL_ELF != 2.
26809         (elf_machine_matches_host): Verify ABI version matches.
26810         (RTLD_START): Use LOCALENTRY.
26811         (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
26812         (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
26813         (PLT_ENTRY_WORDS): New macro.
26814         (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
26815         (elf_machine_runtime_setup): Support ELFv2 ABI.
26816         (elf_machine_fixup_plt): Likewise.
26817         (elf_machine_plt_conflict): Likewise.
26818         (resolve_ifunc): Likewise.
26819         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
26820         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
26821         Likewise.
26822         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
26823         (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
26824         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
26825         (makecontext): Support ELFv2 ABI.
26826         * elf/elf.h (EF_PPC64_ABI): Define.
26828 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
26830         * sysdeps/powerpc/powerpc64/sysdep.h
26831         (PPC64_LOAD_FUNCPTR) [ASSEMBLER]: New assembler macro.
26832         (ENTRY_1) [ASSEMBLER]: Do not switch to .text section here ...
26833         (ENTRY) [ASSEMBLER]: ... but instead here ...
26834         (EALIGN) [ASSEMBLER]: ... and here.
26835         (PPC64_LOAD_FUNCPTR) [!ASSEMBLER]: New macro.
26836         (ENTRY_1) [!ASSEMBLER]: New macro; set up .opd entry.
26837         (ENTRY_2) [!ASSEMBLER]: Use it.
26838         * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
26839         ENTRY_2 changes.  Use PPC64_LOAD_FUNCPTR.
26840         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
26841         (_dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
26842         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
26843         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
26844         Use PPC64_LOAD_FUNCPTR.
26846         * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
26848 2013-12-04  Alan Modra  <amodra@gmail.com>
26850         * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
26851         (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
26852         (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
26853         (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
26855         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
26856         overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
26857         R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
26858         Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
26859         R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
26860         Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
26862 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
26864         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
26865         (__makecontext): Fix incorrect CFI when backtracing out of
26866         context created via makecontext.
26867         * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
26868         (__setcontext): Fix incorrect CFI during switch to new context.
26869         (__novec_setcontext): Likewise.
26871 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
26873         [BZ #4772]
26874         * time/strptime_l.c (__strptime_internal): Allow modifiers
26875         in strptime.
26876         * time/tst-strptime.c (day_tests): Add testcase.
26878 2013-12-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
26880         * scripts/bench.pl: Skip over blank lines.
26882 2013-12-04  Paul Eggert  <eggert@cs.ucla.edu>
26884         [BZ #926]
26885         * manual/time.texi (Calendar Time): Clarify what timezone functions
26886         use.
26888 2013-12-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26890         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
26892 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
26894         * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
26895         implementation.
26896         * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
26897         * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
26898         * debug/memset_chk.c (__memset_chk): Likewise.
26899         * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
26900         * debug/strncpy_chk.c: Likewise.
26902 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
26904         [BZ #15268]
26905         [BZ #15425]
26906         * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
26907         (__ieee754_exp): For possibly underflowing results, check size of
26908         result and force underflow exception if required.
26909         * math/auto-libm-test-in: Add more tests of exp.
26910         * math/auto-libm-test-out: Regenerated.
26911         * sysdeps/i386/fpu/libm-test-ulps: Update.
26912         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26914         [BZ #16283]
26915         * math/w_exp2.c (__exp2): Handle a zero result as underflow.
26916         * math/w_exp2f.c (__exp2f): Likewise.
26917         * math/w_exp2l.c (__exp2l): Likewise.
26918         * math/auto-libm-test-in: Do not allow missing errno on exp2
26919         underflow.
26920         * math/auto-libm-test-out: Regenerated.
26922 2013-12-03  Ondřej Bílka  <neleai@seznam.cz>
26924         [BZ #16274]
26925         * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
26926         handle filename validation.
26927         * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
26928         (do_open): Delete.
26930 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
26932         [BZ #6786]
26933         * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
26934         (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
26935         * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
26936         <float.h>.
26937         (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
26938         * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
26939         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
26940         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
26941         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
26942         * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
26943         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
26944         * math/auto-libm-test-in: Don't allow missing errno from erfc.
26945         Add more erfc tests.
26946         * math/auto-libm-test-out: Regenerated.
26947         * sysdeps/i386/fpu/libm-test-ulps: Update.
26948         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26950         * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
26951         exp2, expm1, j0 and j1.
26952         * math/auto-libm-test-out: Regenerated.
26953         * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
26954         (erfc_test_data): Likewise.
26955         (exp_test_data): Likewise.
26956         (exp_tonearest_test_data): Likewise.
26957         (exp_towardzero_test_data): Likewise.
26958         (exp_downward_test_data): Likewise.
26959         (exp_upward_test_data): Likewise.
26960         (exp10_test_data): Likewise.
26961         (exp2_test_data): Likewise.
26962         (expm1_test_data): Likewise.
26963         (j0_test_data): Likewise.
26964         (j1_test_data): Likewise.
26965         * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
26966         (input_flag_type): Add flag_xfail_rounding.
26967         (input_flags): Add xfail-rounding.
26968         (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
26969         (output_for_one_input_case): Handle flag_xfail_rounding.
26970         * sysdeps/i386/fpu/libm-test-ulps: Update.
26971         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26973 2013-12-03  Aurelien Jarno  <aurelien@aurel32.net>
26975         [BZ #16289]
26976         * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
26977         division by 0.
26979 2013-12-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
26981         [BZ #16195]
26982         * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
26983         (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
26984         (STAP_PROBE0): New macro.
26985         (STAP_PROBE1): Likewise.
26986         (STAP_PROBE2): Likewise.
26987         (STAP_PROBE3): Likewise.
26988         (STAP_PROBE4): Likewise.
26990 2013-12-02  Ondřej Bílka  <neleai@seznam.cz>
26992         * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
26994 2013-12-02  Steve Ellcey  <sellcey@mips.com>
26996         * benchtests/Makefile (bench): Add sqrt.
26997         (LDLIBS-bench-sqrt): New.
26998         * benchtests/sqrt-input: New.
27000 2013-12-02  Pavel Simerda  <psimerda@redhat.com>
27002         * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
27003         (GAIH_EAI): Likewise.
27004         (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
27005         (gaih_inet): Likewise.
27006         (getaddrinfo): Don't use GAIH_EAI.
27008         * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
27009         (struct gaih): Remove definition.
27011 2013-12-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
27013         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
27014         Use HERRNOP directly.
27016 2013-12-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27018         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
27020 2013-11-30  Joseph Myers  <joseph@codesourcery.com>
27022         * math/gen-auto-libm-tests.c (test_functions): Add more
27023         single-argument functions.
27024         (special_fill_pi_2): New function.
27025         (special_fill_minus_pi_2): Likewise.
27026         (special_fill_pi_6): Likewise.
27027         (special_fill_minus_pi_6): Likewise.
27028         (special_fill_pi_3): Likewise.
27029         (special_fill_2pi_3): Likewise.
27030         (special_fill_e): Likewise.
27031         (special_fill_1_e): Likewise.
27032         (special_fill_e_minus_1): Likewise.
27033         (special_real_inputs): Add more special inputs.
27034         (output_for_one_input_case): Do not require ERANGE on underflow to
27035         zero if round-to-nearest result does not underflow to zero, unless
27036         exact results required.
27037         * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
27038         atan, atanh, cbrt, cos and cosh.
27039         * math/auto-libm-test-out: Regenerated.
27040         * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
27041         (acos_tonearest_test_data): Likewise.
27042         (acos_towardzero_test_data): Likewise.
27043         (acos_downward_test_data): Likewise.
27044         (acos_upward_test_data): Likewise.
27045         (acosh_test_data): Likewise.
27046         (asin_test_data): Likewise.
27047         (asin_tonearest_test_data): Likewise.
27048         (asin_towardzero_test_data): Likewise.
27049         (asin_upward_test_data): Likewise.
27050         (asinh_test_data): Likewise.
27051         (atan_test_data): Likewise.
27052         (atanh_test_data): Likewise.
27053         (cbrt_test_data): Likewise.
27054         (cos_test_data): Likewise.
27055         (cos_tonearest_test_data): Likewise.
27056         (cos_towardzero_test_data): Likewise.
27057         (cos_downward_test_data): Likewise.
27058         (cos_upward_test_data): Likewise.
27059         (cosh_test_data): Likewise.
27060         (cosh_tonearest_test_data): Likewise.
27061         (cosh_towardzero_test_data): Likewise.
27062         (cosh_downward_test_data): Likewise.
27063         (cosh_upward_test_data): Likewise.
27064         * sysdeps/i386/fpu/libm-test-ulps: Update.
27065         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27067 2013-11-29  Joseph Myers  <joseph@codesourcery.com>
27069         [BZ #6787]
27070         * math/w_exp10.c (__exp10): Handle a zero result as underflow.
27071         * math/w_exp10f.c (__exp10f): Likewise.
27072         * math/w_exp10l.c (__exp10l): Likewise.
27073         * math/libm-test.inc (exp10_test_data): Add more tests and expect
27074         errno settings in existing tests.
27076         [BZ #14032]
27077         * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
27078         precision control set to double precision.
27079         * sysdeps/i386/fpu/w_sqrt.c: New file.
27080         * math/auto-libm-test-in: Add more tests.
27081         * math/auto-libm-test-out: Update.
27083         * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
27084         (sqrt_test_tonearest): New function.
27085         (sqrt_towardzero_test_data): New variable.
27086         (sqrt_test_towardzero): New function.
27087         (sqrt_downward_test_data): New variable.
27088         (sqrt_test_downward): New function.
27089         (sqrt_upward_test_data): New variable.
27090         (sqrt_test_upward): New function.
27091         (main): Call the new functions.
27093         * math/gen-auto-libm-tests.c: New file.
27094         * math/auto-libm-test-in: Likewise.
27095         * math/auto-libm-test-out: New generated file.
27096         * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
27097         variables.
27098         (%beautify): Add generated representations of zero.
27099         (top level): Set $auto_input and call parse_auto_input.
27100         (beautify): Remove trailing "f" from hex float constants.
27101         (parse_args): Handle XFAIL_TEST.
27102         (convert_condition): New function.
27103         (or_value): Likewise.
27104         (or_cond_value): Likewise.
27105         (generate_testfile): Handle AUTO_TESTS_* lines.
27106         (parse_auto_input): New function.
27107         * math/libm-test.inc (XFAIL_TEST): New macro.
27108         (ERRNO_UNCHANGED): Update value.
27109         (ERRNO_EDOM): Likewise.
27110         (ERRNO_ERANGE): Likewise.
27111         (IGNORE_RESULT): Likewise.
27112         (TEST_COND_flt_32): New macro.
27113         (TEST_COND_dbl_64): Likewise.
27114         (TEST_COND_ldbl_96_intel): Likewise.
27115         (TEST_COND_ldbl_96_m68k): Likewise.
27116         (TEST_COND_ldbl_128): Likewise.
27117         (TEST_COND_ldbl_128ibm): Likewise.
27118         (TEST_COND_long32): Likewise.
27119         (TEST_COND_long64): Likewise.
27120         (TEST_COND_before_rounding): Likewise.
27121         (TEST_COND_after_rounding): Likewise.
27122         (enable_test): Handle XFAIL_TEST flag.
27123         (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
27124         with finite results.
27125         * math/Makefile ($(objpfx)libm-test.stmp): Depend on
27126         auto-libm-test-out.
27128 2013-11-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
27129             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
27131         [BZ #16214]
27132         * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
27133         __tls_get_addr_internal instead of __tls_get_offset in order to
27134         avoid GOT pointer dependency.  Make rtld export
27135         __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
27136         __tls_get_addr since we are a __tls_get_offset platform.
27137         * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
27138         GOT pointer being set up before.
27139         * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
27141 2013-11-28  Joseph Myers  <joseph@codesourcery.com>
27143         * manual/math.texi (Errors in Math Functions): Document accuracy
27144         goals.
27146         [BZ #15004]
27147         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
27148         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
27149         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
27150         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
27151         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
27152         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
27153         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
27154         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
27155         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
27156         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
27157         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
27158         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
27159         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
27160         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
27161         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
27162         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
27164         * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
27165         * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
27166         * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
27167         * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
27168         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
27169         Likewise.
27170         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
27171         Likewise.
27172         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
27173         Likewise.
27174         * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
27175         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
27176         (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
27177         atomic-feupdateenv and flt-rounds.
27178         * sysdeps/powerpc/nofpu/Versions (libc): Add
27179         __atomic_feholdexcept, __atomic_feclearexcept,
27180         __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
27181         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
27182         (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
27183         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
27184         (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
27185         here.
27186         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
27187         Update.
27189         * manual/arith.texi (FP Exceptions): Document that exceptions may
27190         not be raised when matherr is used.
27191         (Math Error Reporting): Document overflow in directed rounding
27192         modes.  Document that errno may not be set when finite values are
27193         returned on overflow.  Document intent to set errno on underflow
27194         only for underflow to zero.
27196         [BZ #16271]
27197         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
27198         round-to-nearest then adjust result for other rounding modes.
27199         * include/fenv.h (fegetround): Use libm_hidden_proto.
27200         * math/fegetround.c (fegetround): Use libm_hidden_def.
27201         * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
27202         * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
27203         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
27204         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
27205         Likewise.
27206         * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
27207         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
27208         * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
27209         * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
27211 2013-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
27213         [BZ #16077]
27214         * nss/Versions (libnss_files): Add
27215         _nss_files_gethostbyname3_r.
27216         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
27217         New function.
27218         (HOST_DB_LOOKUP): Remove macro.
27219         (_nss_files_gethostbyname_r): Implement function without the
27220         HOST_DB_LOOKUP macro.
27221         (_nss_files_gethostbyname2_r): Likewise.
27223 2013-11-28  Ondřej Bílka  <neleai@seznam.cz>
27225         * malloc/malloc.c (__libc_calloc): Make memset a tail call.
27227 2013-11-26  Uros Bizjak  <ubizjak@gmail.com>
27229         * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
27230         _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
27231         warning.
27233 2013-11-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27235         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
27236         __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
27237         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
27238         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
27239         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
27240         __fe_nomask_env_priv and attribute_hidden.
27241         * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
27242         (libc_feupdateenv_test_ppc): Likewise.
27243         (libc_feresetround_ppc): Likewise.
27244         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
27245         (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
27246         compat_symbol macro.
27247         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
27248         (__fe_nomask_env): Likewise.
27249         * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
27251 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
27253         * string/Makefile: Remove ifunc tests.
27254         * string/test-string.h: Define TEST_IFUNC.
27255         * string/test-bcopy-ifunc.c: Remove.
27256         * string/test-bzero-ifunc.c: Likewise.
27257         * string/test-memccpy-ifunc.c: Likewise.
27258         * string/test-memchr-ifunc.c: Likewise.
27259         * string/test-memcmp-ifunc.c: Likewise.
27260         * string/test-memcpy-ifunc.c: Likewise.
27261         * string/test-memmem-ifunc.c: Likewise.
27262         * string/test-memmove-ifunc.c: Likewise.
27263         * string/test-mempcpy-ifunc.c: Likewise.
27264         * string/test-memrchr-ifunc.c: Likewise.
27265         * string/test-memset-ifunc.c: Likewise.
27266         * string/test-rawmemchr-ifunc.c: Likewise.
27267         * string/test-stpcpy-ifunc.c: Likewise.
27268         * string/test-stpncpy-ifunc.c: Likewise.
27269         * string/test-strcasecmp-ifunc.c: Likewise.
27270         * string/test-strcasestr-ifunc.c: Likewise.
27271         * string/test-strcat-ifunc.c: Likewise.
27272         * string/test-strchr-ifunc.c: Likewise.
27273         * string/test-strchrnul-ifunc.c: Likewise.
27274         * string/test-strcmp-ifunc.c: Likewise.
27275         * string/test-strcpy-ifunc.c: Likewise.
27276         * string/test-strcspn-ifunc.c: Likewise.
27277         * string/test-strlen-ifunc.c: Likewise.
27278         * string/test-strncasecmp-ifunc.c: Likewise.
27279         * string/test-strncat-ifunc.c: Likewise.
27280         * string/test-strncmp-ifunc.c: Likewise.
27281         * string/test-strncpy-ifunc.c: Likewise.
27282         * string/test-strnlen-ifunc.c: Likewise.
27283         * string/test-strpbrk-ifunc.c: Likewise.
27284         * string/test-strrchr-ifunc.c: Likewise.
27285         * string/test-strspn-ifunc.c: Likewise.
27286         * string/test-strstr-ifunc.c: Likewise.
27288 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
27290         * benchtests/Makefile: Remove ifunc tests.
27291         * benchtests/bench-string.h: Define TEST_IFUNC.
27292         * benchtests/bench-bcopy-ifunc.c: Remove.
27293         * benchtests/bench-bzero-ifunc.c: Likewise.
27294         * benchtests/bench-memccpy-ifunc.c: Likewise.
27295         * benchtests/bench-memchr-ifunc.c: Likewise.
27296         * benchtests/bench-memcmp-ifunc.c: Likewise.
27297         * benchtests/bench-memcpy-ifunc.c: Likewise.
27298         * benchtests/bench-memmem-ifunc.c: Likewise.
27299         * benchtests/bench-memmove-ifunc.c: Likewise.
27300         * benchtests/bench-mempcpy-ifunc.c: Likewise.
27301         * benchtests/bench-memrchr-ifunc.c: Likewise.
27302         * benchtests/bench-memset-ifunc.c: Likewise.
27303         * benchtests/bench-rawmemchr-ifunc.c: Likewise.
27304         * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
27305         * benchtests/bench-stpcpy-ifunc.c: Likewise.
27306         * benchtests/bench-stpncpy-ifunc.c: Likewise.
27307         * benchtests/bench-strcasecmp-ifunc.c: Likewise.
27308         * benchtests/bench-strcasestr-ifunc.c: Likewise.
27309         * benchtests/bench-strcat-ifunc.c: Likewise.
27310         * benchtests/bench-strchr-ifunc.c: Likewise.
27311         * benchtests/bench-strchrnul-ifunc.c: Likewise.
27312         * benchtests/bench-strcmp-ifunc.c: Likewise.
27313         * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
27314         * benchtests/bench-strcpy-ifunc.c: Likewise.
27315         * benchtests/bench-strcspn-ifunc.c: Likewise.
27316         * benchtests/bench-strlen-ifunc.c: Likewise.
27317         * benchtests/bench-strncasecmp-ifunc.c: Likewise.
27318         * benchtests/bench-strncat-ifunc.c: Likewise.
27319         * benchtests/bench-strncmp-ifunc.c: Likewise.
27320         * benchtests/bench-strncpy-ifunc.c: Likewise.
27321         * benchtests/bench-strnlen-ifunc.c: Likewise.
27322         * benchtests/bench-strpbrk-ifunc.c: Likewise.
27323         * benchtests/bench-strrchr-ifunc.c: Likewise.
27324         * benchtests/bench-strsep-ifunc.c: Likewise.
27325         * benchtests/bench-strspn-ifunc.c: Likewise.
27326         * benchtests/bench-strstr-ifunc.c: Likewise.
27328 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
27330         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
27332 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
27334         * resolv/netdb.h: Use __glibc_reserved instead __unused.
27335         * rt/aio.h: Likewise.
27336         * sysdeps/gnu/bits/utmp.h: Likewise.
27337         * sysdeps/gnu/bits/utmpx.h: Likewise.
27338         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
27339         * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
27340         * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
27341         * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
27342         * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
27343         * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
27344         * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
27345         * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
27346         * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
27347         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
27348         * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
27349         * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
27350         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
27351         * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
27352         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
27353         * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
27354         * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
27355         * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
27356         * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
27357         * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
27358         * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
27359         * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
27360         * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
27361         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
27362         * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
27363         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
27364         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
27365         * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
27366         * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
27367         * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
27368         * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
27369         * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
27370         * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
27371         * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
27372         * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
27373         * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
27374         * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
27375         * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
27376         * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
27377         * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
27378         * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
27379         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
27381 2013-11-25  Carlos O'Donell  <carlos@redhat.com>
27383         [BZ #16245]
27384         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
27385         Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
27387 2013-11-25  Joseph Myers  <joseph@codesourcery.com>
27389         * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
27390         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
27391         Likewise.
27393 2013-11-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27395         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
27396         SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
27397         * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
27398         (__fesetround): Remove define.
27399         * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
27400         rounding and exceptions handling.
27401         * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
27402         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
27403         (__fe_nomask_env): Likewise.
27404         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
27405         __fegetround instead of fegetround.
27406         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
27407         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
27409 2013-11-21  Roland McGrath  <roland@hack.frob.com>
27411         * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
27412         it's there.
27414         * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
27416 2013-11-21  Meador Inge  <meadori@codesourcery.com>
27418         [BZ #11157]
27419         * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
27420         (encrypt_r): Likewise.
27421         * malloc/obstack.h (obstack_free): Likewise.
27422         * posix/unistd.h (encrypt): Likewise.
27424 2013-11-21  Guy Martin  <gmsoft@tuxicoman.be>
27426         * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
27427         DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
27428         DL_CALL_DT_FINI() that call the functions directly.
27429         * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
27430         * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
27431         * elf/dl-fini.c: Likewise.
27433 2013-11-20  Ondřej Bílka  <neleai@seznam.cz>
27435         * malloc/hooks.c (memalign_check): Add alignment rounding.
27436         * malloc/malloc.c (_mid_memalign): New function.
27437         (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
27438         Implement by calling _mid_memalign.
27439         * manual/probes.texi (Memory Allocation Probes): Remove
27440         memory_valloc_retry and memory_pvalloc_retry.
27442 2013-11-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
27444         * locale/programs/locarchive.c (open_archive): Add const
27445         qualifier to ARCHIVEFNAME and copy default fname to
27446         DEFAULT_FNAME.
27448         [BZ #15601]
27449         * libio/tst-widetext.input: Rename Oriya to Odia.
27450         * locale/iso-639.def: Likewise.
27452         * manual/probes.texi (Mathematical Function Probes): Add
27453         documentation for sin, cos, asin and acos probes.
27454         * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
27455         (__sin32): Add slowasin probe.
27456         (__cos32): Add slowacos probe.
27457         (__mpsin): Add slowsin probe.
27458         (__mpcos): Add slowcos probe.
27460 2013-11-19  Joseph Myers  <joseph@codesourcery.com>
27462         [BZ #15483]
27463         * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
27464         thread-local __sim_exceptions_thread and global
27465         __sim_exceptions_global.
27466         (__sim_disabled_exceptions): Change to thread-local
27467         __sim_disabled_exceptions_thread and global
27468         __sim_disabled_exceptions_global.
27469         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
27470         and global __sim_round_mode_global.
27471         (__simulate_exceptions): Use thread-local floating-point state and
27472         set global state from it as needed.
27473         * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
27474         __sim_exceptions_thread, __sim_disabled_exceptions_thread and
27475         __sim_round_mode_thread.
27476         * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
27477         (__sim_exceptions): Change to thread-local __sim_exceptions_thread
27478         and global __sim_exceptions_global.
27479         (__sim_disabled_exceptions): Change to thread-local
27480         __sim_disabled_exceptions_thread and global
27481         __sim_disabled_exceptions_global.
27482         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
27483         and global __sim_round_mode_global.
27484         [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
27485         (SIM_SET_GLOBAL): Likewise.
27486         * sysdeps/powerpc/soft-fp/sfp-machine.h
27487         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
27488         __sim_round_mode_thread.
27489         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
27490         __sim_disabled_exceptions_thread.
27491         (__sim_exceptions): Change to __sim_exceptions_thread.
27492         (__sim_disabled_exceptions): Change to
27493         __sim_disabled_exceptions_thread.
27494         (__sim_round_mode): Change to __sim_round_mode_thread.
27495         * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
27496         thread-local floating-point state and set global state from it as
27497         needed.
27498         * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
27499         * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
27500         (__sim_disabled_exceptions): Remove extern declaration.
27501         (feenableexcept): Use thread-local floating-point state and set
27502         global state from it as needed.
27503         * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
27504         extern declaration.
27505         (__sim_disabled_exceptions): Likewise.
27506         (__sim_round_mode): Likewise.
27507         (__fegetenv): Use thread-local floating-point state.
27508         * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
27509         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
27510         * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
27511         floating-point state and set global state from it as needed.
27512         * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
27513         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
27514         * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
27515         Likewise.
27516         * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
27517         * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
27518         Likewise.
27519         sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
27520         * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
27521         Use __sim_round_mode_thread.
27522         * math/test-fenv-tls.c: New file.
27523         * math/Makefile (tests): Add test-fenv-tls.
27524         ($(objpfx)test-fenv-tls): Depend on
27525         $(common-objpfx)nptl/libpthread.so.
27527 2013-11-19  Andreas Schwab  <schwab@suse.de>
27529         * locale/programs/locale.c (show_info): Decode wordarray elements.
27530         * locale/categories.def (LC_MONETARY): Add element for
27531         _NL_MONETARY_CRNCYSTR.
27532         * locale/C-monetary.c (conversion_rate): New variable.
27533         (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
27534         element.
27536 2013-11-18  Chris Metcalf  <cmetcalf@tilera.com>
27538         * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
27539         Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
27541 2013-11-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
27543         * elf/Makefile (tst-auxv): New test.
27544         * elf/tst-auxv.c: New
27545         * elf/rtld.c (dl_main): Adjust AT_EXECFN
27547 2013-11-18  Joseph Myers  <joseph@codesourcery.com>
27549         * include/libc-symbols.h (__hidden_proto): Add argument "thread".
27550         (hidden_proto): Caller changed.
27551         (hidden_tls_proto): New macro.
27552         (libc_hidden_tls_proto): Likewise.
27553         (rtld_hidden_tls_proto): Likewise.
27554         (libm_hidden_tls_proto): Likewise.
27555         (libresolv_hidden_tls_proto): Likewise.
27556         (librt_hidden_tls_proto): Likewise.
27557         (libdl_hidden_tls_proto): Likewise.
27558         (libnss_files_hidden_tls_proto): Likewise.
27559         (libnsl_hidden_tls_proto): Likewise.
27560         (libnss_nisplus_hidden_tls_proto): Likewise.
27561         (libutil_hidden_tls_proto): Likewise.
27563 2013-11-18  Ondřej Bílka  <neleai@seznam.cz>
27565         [BZ #10253]
27566         * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
27567         (decompose_rpath): Defer expansion to fillin_rpath.
27568         (_dl_init_paths): Pass linkmap to fillin_rpath.
27570 2013-11-18  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
27572         * benchtests/Makefile: Add strsep.
27573         * benchtests/bench-strsep.c: New file: strsep benchtest.
27574         * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
27576 2013-11-18  Andreas Schwab  <schwab@suse.de>
27578         * locale/programs/locale.c (show_info) [case byte]: Check for
27579         '\377' instead of '\177'.
27580         * locale/C-monetary.c (not_available): Always use "\377".
27581         * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
27582         unspecified p_sign_posn and n_sign_posn.  Check for '\377' to
27583         detect unavailable sign_posn locale elements.
27584         * locale/localeconv.c (__localeconv): For grouping and
27585         mon_grouping handle "\177" and "\377" like no grouping.
27586         (INT_ELEM): New macro.  Use it to set all numeric members.
27587         * locale/programs/ld-monetary.c (monetary_read)
27588         <tok_mon_grouping>: Normalize single -1 to the empty string.
27589         * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
27590         Likewise.
27592 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
27594         [BZ #16055]
27595         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
27596         when we match (nil).
27597         * stdio-common/tst-sscanf.c (struct test): Add testcase.
27599 2013-11-16  Joseph Myers  <joseph@codesourcery.com>
27601         * math/libm-test.inc (TEST_NAN_SIGN): New macro.
27602         (NO_TEST_INLINE): Update value.
27603         (ERRNO_UNCHANGED): Likewise.
27604         (ERRNO_EDOM): Likewise.
27605         (ERRNO_ERANGE): Likewise.
27606         (IGNORE_RESULT): Likewise.
27607         (check_float_internal): Check signs of NaN results if
27608         TEST_NAN_SIGN used.
27609         (check_complex): Pass TEST_NAN_SIGN flag through to second
27610         check_float_internal call.
27611         (copysign_test_data): Add tests with quiet NaNs as second
27612         argument.  Use TEST_NAN_SIGN.
27613         (fabs_test_data): Add test of negative quiet NaN argument.  Use
27614         TEST_NAN_SIGN.
27615         (signbit_test_data): Add tests of quiet NaN argument.
27616         * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
27618         * math/gen-libm-test.pl (show_exceptions): Take extra argument
27619         $ignore_result.
27620         (parse_args): Handle function results specified as IGNORE.
27621         * math/libm-test.inc (IGNORE_RESULT): New macro.
27622         (check_float_internal): Do not check numerical result if flag
27623         IGNORE_RESULT set.
27624         (check_complex): Pass through IGNORE_RESULT to second
27625         check_float_internal call.
27626         (check_int): Do not check numerical result if flag IGNORE_RESULT
27627         set.
27628         (check_long): Likewise.
27629         (check_bool): Likewise.
27630         (check_longlong): Likewise.
27631         (lrint_test_data): Add tests of infinite and NaN arguments.
27632         (lrint_tonearest_test_data): Likewise.
27633         (lrint_towardzero_test_data): Likewise.
27634         (lrint_downward_test_data): Likewise.
27635         (lrint_upward_test_data): Likewise.
27636         (llrint_test_data): Likewise.
27637         (llrint_tonearest_test_data): Likewise.
27638         (llrint_towardzero_test_data): Likewise.
27639         (llrint_downward_test_data): Likewise.
27640         (llrint_upward_test_data): Likewise.
27641         (lround_test_data): Likewise.
27642         (llround_test_data): Likewise.
27644         * math/libm-test.inc (NO_TEST_INLINE): New macro.
27645         (ERRNO_UNCHANGED): Update value.
27646         (ERRNO_EDOM): Likewise.
27647         (ERRNO_ERANGE): Likewise.
27648         (NO_TEST_INLINE_FLOAT): New macro.
27649         (NO_TEST_INLINE_DOUBLE): Likewise.
27650         (enable_test): New function.
27651         (RUN_TEST_f_f): Check enable_test before running test.
27652         (RUN_TEST_2_f): Likewise.
27653         (RUN_TEST_fff_f): Likewise.
27654         (RUN_TEST_c_f): Likewise.
27655         (RUN_TEST_f_f1): Likewise.
27656         (RUN_TEST_fF_f1): Likewise.
27657         (RUN_TEST_fI_f1): Likewise.
27658         (RUN_TEST_ffI_f1): Likewise.
27659         (RUN_TEST_c_c): Likewise.
27660         (RUN_TEST_cc_c): Likewise.
27661         (RUN_TEST_f_i): Likewise.
27662         (RUN_TEST_f_i_tg): Likewise.
27663         (RUN_TEST_ff_i_tg): Likewise.
27664         (RUN_TEST_f_b): Likewise.
27665         (RUN_TEST_f_b_tg): Likewise.
27666         (RUN_TEST_f_l): Likewise.
27667         (RUN_TEST_f_L): Likewise.
27668         (RUN_TEST_fFF_11): Likewise.
27669         (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
27670         conditionals.
27671         (cosh_test_data): Likewise.
27672         (exp_test_data): Likewise.
27673         (expm1_test_data): Likewise.
27674         (hypot_test_data): Likewise.
27675         (pow_test_data): Likewise.
27676         (sinh_test_data): Likewise.
27677         (tanh_test_data): Likewise.
27678         * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
27679         flags argument.
27681         * libm-test.inc (acos_test_data): Disallow inexact exceptions for
27682         tests with quiet NaN input and output.
27683         (acosh_test_data): Likewise.
27684         (asin_test_data): Likewise.
27685         (asinh_test_data): Likewise.
27686         (atan_test_data): Likewise.
27687         (atanh_test_data): Likewise.
27688         (atan2_test_data): Likewise.
27689         (cbrt_test_data): Likewise.
27690         (cos_test_data): Likewise.
27691         (cosh_test_data): Likewise.
27692         (erf_test_data): Likewise.
27693         (erfc_test_data): Likewise.
27694         (exp_test_data): Likewise.
27695         (exp10_test_data): Likewise.
27696         (exp2_test_data): Likewise.
27697         (expm1_test_data): Likewise.
27698         (hypot_test_data): Likewise.
27699         (j0_test_data): Likewise.
27700         (j1_test_data): Likewise.
27701         (jn_test_data): Likewise.
27702         (lgamma_test_data): Likewise.
27703         (log_test_data): Likewise.
27704         (log10_test_data): Likewise.
27705         (log1p_test_data): Likewise.
27706         (log2_test_data): Likewise.
27707         (pow_test_data): Likewise.
27708         (scalb_test_data): Likewise.
27709         (sin_test_data): Likewise.
27710         (sincos_test_data): Likewise.
27711         (sinh_test_data): Likewise.
27712         (tan_test_data): Likewise.
27713         (tanh_test_data): Likewise.
27714         (tgamma_test_data): Likewise.
27715         (y0_test_data): Likewise.
27716         (y1_test_data): Likewise.
27717         (yn_test_data): Likewise.
27719         [BZ #16167]
27720         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
27721         argument being NaN and avoid computations with second argument in
27722         that case.
27723         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
27724         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
27725         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
27727 2013-11-15  Arun Kumar Pyasi <arun@chitwanix.com>
27729         * locale/iso-639.def: Add Chitwani Tharu (the).
27731 2013-11-14  Andreas Schwab  <schwab@suse.de>
27733         * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
27734         word instead of empty string.
27736 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27738         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
27739         (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
27740         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
27741         (__fe_nomask_env): Likewise.
27743 2013-11-13  Steve Ellcey  <sellcey@mips.com>
27745         * benchtests/bench-timing.h: Include time.h.
27747 2013-11-13  H.J. Lu  <hongjiu.lu@intel.com>
27749         [BZ #15997]
27750         * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
27751         to 3.4.0 for x32.
27752         * sysdeps/unix/sysv/linux/configure: Regenerated.
27754 2013-11-13  Joseph Myers  <joseph@codesourcery.com>
27756         [BZ #16151]
27757         * stdlib/strtod_l.c (round_and_return): Do not consider
27758         retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
27759         exponent one less than half the least subnormal exponent.
27760         * stdlib/test-strtod-round-data: Add more tests.
27761         * stdlib/tst-strtod-round.c (tests): Regenerated.
27763 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27765         [BZ #14143]
27766         * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
27767         (__fe_mask_env): Likewise.
27768         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
27769         libm_hidden_proto and add function prototype.
27770         (__fe_mask_env): Add function prototype.
27771         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
27772         (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
27773         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
27774         (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
27775         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
27776         (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
27778 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
27780         * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
27781         set reference_name to "" to avoid passing NULL to DSO_FILENAME.
27783 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
27785         * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
27786         of htab_find_slot().
27788 2013-11-11  David S. Miller  <davem@davemloft.net>
27790         [BZ #16150]
27791         * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
27792         symbol in the non-vis3 case in static builds.
27793         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
27794         * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
27795         * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
27796         * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
27798 2013-11-11  Jan Kratochvil  <jan.kratochvil@redhat.com>
27800         [BZ #387]
27801         * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
27802         it is empty.
27804 2013-11-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27806         * benchtests/Makefile: Add bench-strtod.
27807         * benchtests/bench-strtod.c: New file: strtod benchtest
27809 2013-11-11  Andreas Schwab  <schwab@suse.de>
27811         [BZ #16153]
27812         * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
27813         terminating NUL in key length.
27815 2013-11-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27817         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
27818         Add artificial ODP entry for vDSO symbol for PPC64.
27819         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
27820         * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
27822 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
27824         [BZ #15374]
27825         * nss/getent.c (services_keys): Recognize services starting with digit.
27827 2013-11-06  David S. Miller  <davem@davemloft.net>
27829         [BZ #15985]
27830         * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
27831         on pre-v9 cpus, use a fnegs+fmovs sequence instead.
27833 2013-11-06  Will Newton  <will.newton@linaro.org>
27835         * manual/memory.texi (Malloc Examples): Remove register
27836         keyword from examples.
27838 2013-11-04  Chris Leonard  <cjl@sugarlabs.org>
27840         * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
27842 2013-11-04  Joseph Myers  <joseph@codesourcery.com>
27844         [BZ #6981]
27845         * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
27846         depending on [__GCC_IEC_559 > 0].
27847         [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
27848         depending on [__GCC_IEC_559_COMPLEX > 0].
27850 2013-11-03  Chris Leonard  <cjl@sugarlabs.org>
27852         * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
27853         to iso-639.def.
27855 2013-11-03  Ondřej Bílka  <neleai@seznam.cz>
27857         * elf/rtld.c: Remove unused NONTLS_INIT_TP.
27859 2013-11-01  Ondřej Bílka  <neleai@seznam.cz>
27861         [BZ #16112]
27862         * malloc/malloc (malloc_info): Do not handle first bin as
27863         special case.
27865 2013-11-01  Chris Leonard  <cjl@sugarlabs.org>
27867         * locale/iso-639.def: Add Central Nahuatl (nhn).
27869 2013-11-01  Bruno Haible  <bruno@clisp.org>
27871         [BZ #7003]
27872         * manual/math.texi (BSD Random): Specify range upper bound as
27873         in POSIX.
27875 2013-10-31  Chris Leonard  <cjl@sugarlabs.org>
27877         * locale/iso-639.def: Add Meadow Mari (mhr).
27879 2013-10-31  Ondřej Bílka  <neleai@seznam.cz>
27881         [BZ #14752], [BZ #15763]
27882         * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
27883         Validate name.
27884         * rt/tst_shm.c: Add test for escaping directory.
27886 2013-10-31  Andreas Schwab  <schwab@suse.de>
27888         [BZ #15917]
27889         * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
27890         followed by 'x' as part of digit sequence.
27891         * stdio-common/tst-sscanf.c (double_tests2): New tests.
27893 2013-10-31  Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
27895         [BZ #16037]
27896         * configure.ac: allow GNU Make 4.0 and greater.
27897         * configure: Regenerated.
27899 2013-10-30  Will Newton  <will.newton@linaro.org>
27901         [BZ #16038]
27902         * malloc/hooks.c (memalign_check): Limit alignment to the
27903         maximum representable power of two.
27904         * malloc/malloc.c (__libc_memalign): Likewise.
27905         * malloc/tst-memalign.c (do_test): Add test for very
27906         large alignment values.
27907         * malloc/tst-posix_memalign.c (do_test): Likewise.
27909 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
27911         [BZ #11087]
27912         * malloc/malloc.c (sysmalloc): Compute statistics atomically.
27913         (munmap_chunk): Likewise.
27914         (mremap_chunk): Likewise.
27916 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
27918         [BZ #15799]
27919         * stdlib/div.c (div): Remove obsolete code.
27920         * stdlib/ldiv.c (ldiv): Likewise.
27921         * stdlib/lldiv.c (lldiv): Likewise.
27923 2013-10-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
27925         [BZ #16071]
27926         * nss/nss_files/files-XXX.c (get_contents_ret): New
27927         enumerator.
27928         (get_contents): New function.
27929         (internal_getent): Use it.  Expand size of LINEBUFLEN.
27931 2013-10-30  Mike Frysinger  <vapier@gentoo.org>
27933         * configure.in: Moved to ...
27934         * configure.ac: ... here. Change reference to configure.in
27935         to configure.ac.
27936         * sysdeps/arm/preconfigure.ac: ... here.
27937         configure.in to configure.ac.
27938         * sysdeps/gnu/configure.in: Moved to ...
27939         * sysdeps/gnu/configure.ac: ... here.
27940         * sysdeps/i386/configure.in: Moved to ...
27941         * sysdeps/i386/configure.ac: ... here.
27942         * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
27943         * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
27944         * sysdeps/mach/configure.in: Moved to ...
27945         * sysdeps/mach/configure.ac: ... here.
27946         * sysdeps/mach/hurd/configure.in: Moved to ...
27947         * sysdeps/mach/hurd/configure.ac: ... here.
27948         * sysdeps/powerpc/configure.in: Moved to ...
27949         * sysdeps/powerpc/configure.ac: ... here.
27950         * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
27951         * sysdeps/powerpc/powerpc32/configure.ac: ... here.
27952         * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
27953         * sysdeps/powerpc/powerpc64/configure.ac: ... here.
27954         * sysdeps/s390/s390-32/configure.in: Moved to ...
27955         * sysdeps/s390/s390-32/configure.ac: ... here.
27956         * sysdeps/s390/s390-64/configure.in: Moved to ...
27957         * sysdeps/s390/s390-64/configure.ac: ... here.
27958         * sysdeps/sh/configure.in: Moved to ...
27959         * sysdeps/sh/configure.ac: ... here.
27960         * sysdeps/sparc/configure.in: Moved to ...
27961         * sysdeps/sparc/configure.ac: ... here.
27962         * sysdeps/unix/sysv/linux/configure.in: Moved to ...
27963         * sysdeps/unix/sysv/linux/configure.ac: ... here.
27964         * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
27965         * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
27966         * sysdeps/x86_64/configure.in: Moved to ...
27967         * sysdeps/x86_64/configure.ac: ... here.
27968         * sysdeps/x86_64/preconfigure.in: Moved to ...
27969         * sysdeps/x86_64/preconfigure.ac: ... here.
27970         * aclocal.m4: Change reference to configure.in to configure.ac.
27971         * config.h.in: Likewise.
27972         * manual/install.texi: Likewise.
27973         * manual/maint.texi: Likewise.
27974         * Makefile: Likewise.
27975         * malloc/Makefile: Likewise.
27976         * nscd/Makefile: Likewise.
27977         * Makeconfig: Change reference to configure.in and
27978         preconfigure.in to configure.ac and preconfigure.ac
27979         respectively.
27980         * INSTALL: Regenerated.
27981         * configure: Likewise.
27982         * sysdeps/gnu/configure: Likewise.
27983         * sysdeps/i386/configure: Likewise.
27984         * sysdeps/ieee754/ldbl-opt/configure: Likewise.
27985         * sysdeps/mach/configure: Likewise.
27986         * sysdeps/mach/hurd/configure: Likewise.
27987         * sysdeps/powerpc/configure: Likewise.
27988         * sysdeps/powerpc/powerpc32/configure: Likewise.
27989         * sysdeps/powerpc/powerpc64/configure: Likewise.
27990         * sysdeps/s390/s390-32/configure: Likewise.
27991         * sysdeps/s390/s390-64/configure: Likewise.
27992         * sysdeps/sh/configure: Likewise.
27993         * sysdeps/sparc/configure: Likewise.
27994         * sysdeps/unix/sysv/linux/configure: Likewise.
27995         * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
27996         * sysdeps/x86_64/configure: Likewise.
27997         * sysdeps/x86_64/preconfigure: Likewise.
27999 2013-10-29  Andreas Schwab  <schwab@suse.de>
28001         * stdio-common/Makefile (tst-swscanf-ENV): Define.
28003 2013-10-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
28005         * benchtests/pow-inputs: Add new inputs.
28007         * benchtests/exp-inputs: Add new inputs.
28009         * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
28010         conditional check for return value.
28011         (__cos32): Likewise.
28013 2013-10-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28015         * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
28016         to provide a boost for large inputs with word alignment.
28017         * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
28018         implementation based on optimized PPC64 strcpy.
28019         * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
28020         strcpy for PPC64/POWER7 based on both doubleword and word load/store.
28021         * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
28022         stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
28024 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
28026         [BZ #2801]
28027         * manual/socket.texi (Host Names): Fix gethostbyname_r example.
28029 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
28031         [BZ #14876]
28032         * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
28033         * time/tst-strptime.c (day_tests): Add testcase.
28035 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
28037         [BZ #14029]
28038         * manual/pattern.texi: Acknowledge that fnmatch can fail.
28040 2013-10-25  Fabrice Bauzac  <fbauzac@debian71.nce.amadeus.net>
28042         [BZ #16074]
28043         * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
28044         MAP_FAILED on error.
28046 2013-10-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
28048         [BZ #16072]
28049         * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
28050         heap for large requests.
28052 2013-10-25  Aurelien Jarno  <aurelien@aurel32.net>
28054         [BZ #9954]
28055         * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
28056         result if the result has no associated interface.
28057         * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
28058         interface for all 127.X.Y.Z addresses.
28060 2013-10-24  Chris Leonard  <cjl@sugarlabs.org>
28062         * locale/iso-639.def: Add Ligurian (lij)
28064 2013-10-21  Ondřej Bílka  <neleai@seznam.cz>
28066         [BZ #15825]
28067         * sunrpc/rpc_main.c: Document rpcgen -5.
28069 2013-10-19  Michael Stahl  <mstahl@redhat.com>
28071         * elf/rtld.c (do_preload): Print the reason why preloading failed.
28073 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
28075         [BZ #10278]
28076         * posix/glob.c: Match only directories when trailing slash is present.
28077         * posix/tst-gnuglob.c (my_opendir): Do not open files.
28078         (main): Add testcase.
28080 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
28082         [BZ #15670]
28083         * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
28085 2013-10-18  Carlos O'Donell  <carlos@redhat.com>
28087         * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
28088         AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
28089         AUTH_DES and cindex for FIPS 140-2.
28090         (DES Encryption): Add cindex FIPS 46-3.
28092         * locale/locarchive.h (struct locarhandle): Add fname.
28093         * locale/programs/localedef.c (main): Pass ARGV[remaining]
28094         if an optional argument was specified to --list-archive,
28095         otherwise NULL.
28096         * locale/programs/locarchive.c (show_archive_content): Take new
28097         argument fname and pass it via ah.fname to open_archive.
28098         * locale/programs/localedef.h: Update decl.
28099         (open_archive): If AH->fname is non-null, open that file
28100         rather than the default file name, and don't ignore ENOENT.
28101         (create_archive): Set AH.fname to NULL.
28102         (delete_locales_from_archive): Likewise.
28103         (add_locales_to_archive): Likewise.
28104         * locale/programs/locfile.c (write_all_categories): Likewise.
28106 2013-10-18  Joseph Myers  <joseph@codesourcery.com>
28107             Aldy Hernandez  <aldyh@redhat.com>
28109         * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
28110         * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
28111         * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
28112         * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
28113         * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
28114         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
28115         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
28116         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
28117         * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
28118         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
28119         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
28120         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
28121         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
28122         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
28123         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
28124         Likewise.
28125         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
28126         Likewise.
28127         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
28128         Likewise.
28129         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
28130         Likewise.
28131         * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
28132         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
28133         Likewise.
28134         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
28135         * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
28136         * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
28137         * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
28138         Likewise.
28139         * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
28140         * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
28141         * sysdeps/powerpc/preconfigure: Likewise.
28142         * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
28143         Likewise.
28144         * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
28145         Replace contents of file by #include of <fenv_libc.h>.
28146         * sysdeps/powerpc/soft-fp/sfp-machine.h
28147         [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
28148         and <sys/prctl.h>.
28149         [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
28150         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
28151         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
28152         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
28153         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
28154         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
28155         [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
28156         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
28157         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
28158         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
28159         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
28160         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
28161         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
28162         Allow copysignl PLT reference to be missing.
28164 2013-10-18  Richard Sandiford  <richard@codesourcery.com>
28165             Joseph Myers  <joseph@codesourcery.com
28167         [BZ #15948]
28168         * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
28169         single character.
28170         (add_to_tablewc): Assert sequence of wide characters is nonempty.
28172 2013-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
28174         * elf/tst-tls-dlinfo.c: Don't include tls.h.
28175         * elf/tst-tls1.c: Likewise.
28176         * elf/tst-tls10.h: Likewise.
28177         * elf/tst-tls14.c: Likewise.
28178         * elf/tst-tls2.c: Likewise.
28179         * elf/tst-tls3.c: Likewise.
28180         * elf/tst-tls4.c: Likewise.
28181         * elf/tst-tls5.c: Likewise.
28182         * elf/tst-tls6.c: Likewise.
28183         * elf/tst-tls7.c: Likewise.
28184         * elf/tst-tls8.c: Likewise.
28185         * elf/tst-tls9.c: Likewise.
28186         * elf/tst-tlsmod1.c: Likewise.
28187         * elf/tst-tlsmod13.c: Likewise.
28188         * elf/tst-tlsmod13a.c: Likewise.
28189         * elf/tst-tlsmod14a.c: Likewise.
28190         * elf/tst-tlsmod16a.c: Likewise.
28191         * elf/tst-tlsmod16b.c: Likewise.
28192         * elf/tst-tlsmod2.c: Likewise.
28193         * elf/tst-tlsmod3.c: Likewise.
28194         * elf/tst-tlsmod4.c: Likewise.
28195         * elf/tst-tlsmod5.c: Likewise.
28196         * elf/tst-tlsmod6.c: Likewise.
28198 2013-10-18  Ondřej Bílka  <neleai@seznam.cz>
28200         [BZ #12486]
28201         * malloc/malloc.c: remove checks for statistics.
28203 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
28205         [BZ #15277]
28206         * inet/inet_net.c (inet_network): Detect additional invalid strings.
28207         * inet/tst-network.c: Add testcase.
28209 2013-10-17  Andreas Schwab  <schwab@suse.de>
28211         [BZ #15218]
28212         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
28213         to determine canonical name.
28215 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
28217         * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
28218         * sysdeps/ieee754/dbl-64/dla.h: Likewise.
28219         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
28220         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
28221         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
28222         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
28223         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
28224         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
28225         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
28226         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
28227         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
28228         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
28229         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
28230         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
28231         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
28232         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
28233         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
28234         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
28235         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
28236         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
28237         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
28238         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
28239         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
28240         * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
28241         * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
28242         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
28243         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
28244         * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
28245         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
28246         * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
28247         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
28248         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
28249         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
28250         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
28251         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
28252         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
28253         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
28254         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
28255         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
28256         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
28257         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
28258         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
28259         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
28260         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
28261         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
28262         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
28263         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
28264         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
28265         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
28266         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
28267         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
28268         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
28269         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
28270         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
28271         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
28272         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
28273         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
28274         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
28276 2013-10-17  Joseph Myers  <joseph@codesourcery.com>
28278         [BZ #16041]
28279         * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
28280         make result into a quiet NaN.
28282 2013-10-16  Joseph Myers  <joseph@codesourcery.com>
28284         * soft-fp/adddf3.c: Fix horizontal whitespace.
28285         * soft-fp/addsf3.c: Likewise.
28286         * soft-fp/addtf3.c: Likewise.
28287         * soft-fp/divdf3.c: Likewise.
28288         * soft-fp/divsf3.c: Likewise.
28289         * soft-fp/divtf3.c: Likewise.
28290         * soft-fp/double.h: Likewise.
28291         * soft-fp/eqdf2.c: Likewise.
28292         * soft-fp/eqsf2.c: Likewise.
28293         * soft-fp/eqtf2.c: Likewise.
28294         * soft-fp/extenddftf2.c: Likewise.
28295         * soft-fp/extended.h: Likewise.
28296         * soft-fp/extendsfdf2.c: Likewise.
28297         * soft-fp/extendsftf2.c: Likewise.
28298         * soft-fp/extendxftf2.c: Likewise.
28299         * soft-fp/fixdfdi.c: Likewise.
28300         * soft-fp/fixdfsi.c: Likewise.
28301         * soft-fp/fixdfti.c: Likewise.
28302         * soft-fp/fixsfdi.c: Likewise.
28303         * soft-fp/fixsfsi.c: Likewise.
28304         * soft-fp/fixsfti.c: Likewise.
28305         * soft-fp/fixtfdi.c: Likewise.
28306         * soft-fp/fixtfsi.c: Likewise.
28307         * soft-fp/fixtfti.c: Likewise.
28308         * soft-fp/fixunsdfdi.c: Likewise.
28309         * soft-fp/fixunsdfsi.c: Likewise.
28310         * soft-fp/fixunsdfti.c: Likewise.
28311         * soft-fp/fixunssfdi.c: Likewise.
28312         * soft-fp/fixunssfsi.c: Likewise.
28313         * soft-fp/fixunssfti.c: Likewise.
28314         * soft-fp/fixunstfdi.c: Likewise.
28315         * soft-fp/fixunstfsi.c: Likewise.
28316         * soft-fp/fixunstfti.c: Likewise.
28317         * soft-fp/floatdidf.c: Likewise.
28318         * soft-fp/floatdisf.c: Likewise.
28319         * soft-fp/floatditf.c: Likewise.
28320         * soft-fp/floatsidf.c: Likewise.
28321         * soft-fp/floatsisf.c: Likewise.
28322         * soft-fp/floatsitf.c: Likewise.
28323         * soft-fp/floattidf.c: Likewise.
28324         * soft-fp/floattisf.c: Likewise.
28325         * soft-fp/floattitf.c: Likewise.
28326         * soft-fp/floatundidf.c: Likewise.
28327         * soft-fp/floatundisf.c: Likewise.
28328         * soft-fp/floatunditf.c: Likewise.
28329         * soft-fp/floatunsidf.c: Likewise.
28330         * soft-fp/floatunsisf.c: Likewise.
28331         * soft-fp/floatunsitf.c: Likewise.
28332         * soft-fp/floatuntidf.c: Likewise.
28333         * soft-fp/floatuntisf.c: Likewise.
28334         * soft-fp/floatuntitf.c: Likewise.
28335         * soft-fp/fmadf4.c: Likewise.
28336         * soft-fp/fmasf4.c: Likewise.
28337         * soft-fp/fmatf4.c: Likewise.
28338         * soft-fp/gedf2.c: Likewise.
28339         * soft-fp/gesf2.c: Likewise.
28340         * soft-fp/getf2.c: Likewise.
28341         * soft-fp/ledf2.c: Likewise.
28342         * soft-fp/lesf2.c: Likewise.
28343         * soft-fp/letf2.c: Likewise.
28344         * soft-fp/muldf3.c: Likewise.
28345         * soft-fp/mulsf3.c: Likewise.
28346         * soft-fp/multf3.c: Likewise.
28347         * soft-fp/negdf2.c: Likewise.
28348         * soft-fp/negsf2.c: Likewise.
28349         * soft-fp/negtf2.c: Likewise.
28350         * soft-fp/op-1.h: Likewise.
28351         * soft-fp/op-2.h: Likewise.
28352         * soft-fp/op-4.h: Likewise.
28353         * soft-fp/op-8.h: Likewise.
28354         * soft-fp/op-common.h: Likewise.
28355         * soft-fp/quad.h: Likewise.
28356         * soft-fp/single.h: Likewise.
28357         * soft-fp/soft-fp.h: Likewise.
28358         * soft-fp/sqrtdf2.c: Likewise.
28359         * soft-fp/sqrtsf2.c: Likewise.
28360         * soft-fp/sqrttf2.c: Likewise.
28361         * soft-fp/subdf3.c: Likewise.
28362         * soft-fp/subsf3.c: Likewise.
28363         * soft-fp/subtf3.c: Likewise.
28364         * soft-fp/truncdfsf2.c: Likewise.
28365         * soft-fp/trunctfdf2.c: Likewise.
28366         * soft-fp/trunctfsf2.c: Likewise.
28367         * soft-fp/trunctfxf2.c: Likewise.
28368         * soft-fp/unorddf2.c: Likewise.
28369         * soft-fp/unordsf2.c: Likewise.
28370         * soft-fp/unordtf2.c: Likewise.
28372 2013-10-15  Joseph Myers  <joseph@codesourcery.com>
28374         * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
28375         * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
28377 2013-10-15   Ondřej Bílka  <neleai@seznam.cz>
28379         * elf/dl-libc.c: Clear initfini list after freeing.
28381 2013-10-14  Joseph Myers  <joseph@codesourcery.com>
28383         * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
28384         * soft-fp/addsf3.c: Likewise.
28385         * soft-fp/addtf3.c: Likewise.
28386         * soft-fp/divdf3.c: Likewise.
28387         * soft-fp/divsf3.c: Likewise.
28388         * soft-fp/divtf3.c: Likewise.
28389         * soft-fp/double.h: Likewise.
28390         * soft-fp/eqdf2.c: Likewise.
28391         * soft-fp/eqsf2.c: Likewise.
28392         * soft-fp/eqtf2.c: Likewise.
28393         * soft-fp/extenddftf2.c: Likewise.
28394         * soft-fp/extended.h: Likewise.
28395         * soft-fp/extendsfdf2.c: Likewise.
28396         * soft-fp/extendsftf2.c: Likewise.
28397         * soft-fp/extendxftf2.c: Likewise.
28398         * soft-fp/fixdfdi.c: Likewise.
28399         * soft-fp/fixdfsi.c: Likewise.
28400         * soft-fp/fixdfti.c: Likewise.
28401         * soft-fp/fixsfdi.c: Likewise.
28402         * soft-fp/fixsfsi.c: Likewise.
28403         * soft-fp/fixsfti.c: Likewise.
28404         * soft-fp/fixtfdi.c: Likewise.
28405         * soft-fp/fixtfsi.c: Likewise.
28406         * soft-fp/fixtfti.c: Likewise.
28407         * soft-fp/fixunsdfdi.c: Likewise.
28408         * soft-fp/fixunsdfsi.c: Likewise.
28409         * soft-fp/fixunsdfti.c: Likewise.
28410         * soft-fp/fixunssfdi.c: Likewise.
28411         * soft-fp/fixunssfsi.c: Likewise.
28412         * soft-fp/fixunssfti.c: Likewise.
28413         * soft-fp/fixunstfdi.c: Likewise.
28414         * soft-fp/fixunstfsi.c: Likewise.
28415         * soft-fp/fixunstfti.c: Likewise.
28416         * soft-fp/floatdidf.c: Likewise.
28417         * soft-fp/floatdisf.c: Likewise.
28418         * soft-fp/floatditf.c: Likewise.
28419         * soft-fp/floatsidf.c: Likewise.
28420         * soft-fp/floatsisf.c: Likewise.
28421         * soft-fp/floatsitf.c: Likewise.
28422         * soft-fp/floattidf.c: Likewise.
28423         * soft-fp/floattisf.c: Likewise.
28424         * soft-fp/floattitf.c: Likewise.
28425         * soft-fp/floatundidf.c: Likewise.
28426         * soft-fp/floatundisf.c: Likewise.
28427         * soft-fp/floatunsidf.c: Likewise.
28428         * soft-fp/floatunsisf.c: Likewise.
28429         * soft-fp/floatuntidf.c: Likewise.
28430         * soft-fp/floatuntisf.c: Likewise.
28431         * soft-fp/floatuntitf.c: Likewise.
28432         * soft-fp/fmadf4.c: Likewise.
28433         * soft-fp/fmasf4.c: Likewise.
28434         * soft-fp/fmatf4.c: Likewise.
28435         * soft-fp/gedf2.c: Likewise.
28436         * soft-fp/gesf2.c: Likewise.
28437         * soft-fp/getf2.c: Likewise.
28438         * soft-fp/ledf2.c: Likewise.
28439         * soft-fp/lesf2.c: Likewise.
28440         * soft-fp/letf2.c: Likewise.
28441         * soft-fp/muldf3.c: Likewise.
28442         * soft-fp/mulsf3.c: Likewise.
28443         * soft-fp/multf3.c: Likewise.
28444         * soft-fp/negdf2.c: Likewise.
28445         * soft-fp/negsf2.c: Likewise.
28446         * soft-fp/negtf2.c: Likewise.
28447         * soft-fp/op-1.h: Likewise.
28448         * soft-fp/op-2.h: Likewise.
28449         * soft-fp/op-4.h: Likewise.
28450         * soft-fp/op-8.h: Likewise.
28451         * soft-fp/op-common.h: Likewise.
28452         * soft-fp/quad.h: Likewise.
28453         * soft-fp/single.h: Likewise.
28454         * soft-fp/soft-fp.h: Likewise.
28455         * soft-fp/sqrtdf2.c: Likewise.
28456         * soft-fp/sqrtsf2.c: Likewise.
28457         * soft-fp/sqrttf2.c: Likewise.
28458         * soft-fp/subdf3.c: Likewise.
28459         * soft-fp/subsf3.c: Likewise.
28460         * soft-fp/subtf3.c: Likewise.
28461         * soft-fp/truncdfsf2.c: Likewise.
28462         * soft-fp/trunctfdf2.c: Likewise.
28463         * soft-fp/trunctfsf2.c: Likewise.
28464         * soft-fp/trunctfxf2.c: Likewise.
28465         * soft-fp/unorddf2.c: Likewise.
28466         * soft-fp/unordsf2.c: Likewise.
28467         * soft-fp/unordtf2.c: Likewise.
28469 2013-10-14   Ondřej Bílka  <neleai@seznam.cz>
28471         [BZ #15672]
28472         * misc/error.c (error_tail): Fix possible buffer overflow.
28474 2013-10-14  Aurelien Jarno  <aurelien@aurel32.net>
28476         [BZ #13028]
28477         * res_send.c(__libc_res_nsend): Correctly copy the nameserver
28478         address.
28480 2013-10-14  P. J. McDermott  <pj@pehjota.net>
28482         [BZ #832]
28483         * elf/ldd.bash.in (try_trace): New function.  Delete previous code
28484         testing pipefail option.
28486 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
28488         * soft-fp/double.h: Indent preprocessor directives inside #if.
28489         * soft-fp/extended.h: Likewise.
28490         * soft-fp/op-2.h: Likewise.
28491         * soft-fp/op-4.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.
28497 2013-10-12   Yuri Chornoivan <yurchor@ukr.net>
28499         * iconv/iconv_prog.c: Fix typos.
28500         * stdio-common/psiginfo-data.h: Likewise.
28502 2013-10-12   Reuben Thomas <rrt@sc3d.org>
28504         [BZ #15764]
28505         * locale/setlocale.c: Fix typo.
28507 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
28509         [BZ #16036]
28510         * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
28511         signaling NaN arguments.
28512         * soft-fp/unordsf2.c (__unordsf2): Likewise.
28513         * soft-fp/unordtf2.c (__unordtf2): Likewise.
28515         [BZ #14910]
28516         * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
28517         unordered operands.
28518         * soft-fp/gesf2.c (__gesf2): Likewise.
28519         * soft-fp/getf2.c (__getf2): Likewise.
28520         * soft-fp/ledf2.c (__ledf2): Likewise.
28521         * soft-fp/lesf2.c (__lesf2): Likewise.
28522         * soft-fp/letf2.c (__letf2): Likewise.
28524         * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
28525         * soft-fp/eqsf2.c (__eqsf2): Likewise.
28526         * soft-fp/eqtf2.c (__eqtf2): Likewise.
28527         * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
28528         * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
28529         * soft-fp/fixdfti.c (__fixdfti): Likewise.
28530         * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
28531         * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
28532         * soft-fp/fixsfti.c (__fixsfti): Likewise.
28533         * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
28534         * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
28535         * soft-fp/fixtfti.c (__fixtfti): Likewise.
28536         * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
28537         * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
28538         * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
28539         * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
28540         * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
28541         * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
28542         * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
28543         * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
28544         * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
28545         * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
28546         * soft-fp/floatdisf.c (__floatdisf): Likewise.
28547         * soft-fp/floatsisf.c (__floatsisf): Likewise.
28548         * soft-fp/floattidf.c (__floattidf): Likewise.
28549         * soft-fp/floattisf.c (__floattisf): Likewise.
28550         * soft-fp/floattitf.c (__floattitf): Likewise.
28551         * soft-fp/floatundidf.c (__floatundidf): Likewise.
28552         * soft-fp/floatundisf.c (__floatundisf): Likewise.
28553         * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
28554         * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
28555         * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
28556         * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
28557         * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
28558         * soft-fp/gesf2.c (__gesf2): Likewise.
28559         * soft-fp/getf2.c (__getf2): Likewise.
28560         * soft-fp/ledf2.c (__ledf2): Likewise.
28561         * soft-fp/lesf2.c (__lesf2): Likewise.
28562         * soft-fp/letf2.c (__letf2): Likewise.
28564         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
28565         Undefine and redefine.
28566         [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
28567         [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
28568         [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
28569         * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
28570         (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
28571         * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
28572         (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
28573         * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
28574         (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
28575         * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
28576         (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
28577         * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
28578         (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
28579         * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
28580         (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
28582         [BZ #16032]
28583         * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
28584         without decrementing exponent if mantissa >= that for the
28585         denominator, not >.
28586         (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
28587         denominator, not >.  Decrement exponent in < case instead of
28588         incrementing in >= case.
28589         * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
28590         without decrementing exponent if mantissa >= that for the
28591         denominator, not >.
28593         * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
28594         computing saturated result for unsigned overflow.
28596 2013-10-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
28597             Jeff Law  <law@redhat.com>
28599         * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
28600         (atan2Mp): Add systemtap probe marker.
28601         * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
28602         (__ieee754_log): Add systemtap probe marker.
28603         * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
28604         (atanMp): Add systemtap probe marker.
28605         * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
28606         (tanMp): Add systemtap probe marker.
28607         * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
28608         (__slowexp): Add systemtap probe marker.
28609         * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
28610         (__slowpow): Add systemtap probe marker.
28611         * manual/probes.texi: Document probes.
28613 2013-10-11  Eric Biggers  <ebiggers3@gmail.com>
28615         [BZ #15362]
28616         * libio/fileops.c (_IO_new_file_write): Return count of bytes
28617         written.
28618         (_IO_new_file_xsputn): Don't return EOF if nothing has been
28619         written.
28620         * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
28621         written to buffer but not flushed.
28622         * libio/iofwrite_u.c:  Likewise.
28623         * libio/iopadn.c:  Return bytes returned even if EOF was
28624         encountered.
28625         * libio/iowpadn.c:  Likewise.
28626         * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
28627         if _IO_padn does not write the whole buffer.
28628         [!COMPILE_WPRINTF] (PAD): Likewise.
28630 2013-10-10  David S. Miller  <davem@davemloft.net>
28632         * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
28633         directory block.
28635 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
28637         * soft-fp/extendxftf2.c: Use copyright year range.  Use URL
28638         instead of FSF address.
28639         * soft-fp/fixdfti.c: Likewise.
28640         * soft-fp/fixsfti.c: Likewise.
28641         * soft-fp/fixtfti.c: Likewise.
28642         * soft-fp/fixunsdfti.c: Likewise.
28643         * soft-fp/fixunssfti.c: Likewise.
28644         * soft-fp/fixunstfti.c: Likewise.
28645         * soft-fp/floattidf.c: Likewise.
28646         * soft-fp/floattisf.c: Likewise.
28647         * soft-fp/floattitf.c: Likewise.
28648         * soft-fp/floatuntidf.c: Likewise.
28649         * soft-fp/floatuntisf.c: Likewise.
28650         * soft-fp/floatuntitf.c: Likewise.
28651         * soft-fp/trunctfxf2.c: Likewise.
28653         * soft-fp/extendxftf2.c: New file.  Copied from libgcc.
28654         * soft-fp/fixdfti.c: Likewise.
28655         * soft-fp/fixsfti.c: Likewise.
28656         * soft-fp/fixtfti.c: Likewise.
28657         * soft-fp/fixunsdfti.c: Likewise.
28658         * soft-fp/fixunssfti.c: Likewise.
28659         * soft-fp/fixunstfti.c: Likewise.
28660         * soft-fp/floattidf.c: Likewise.
28661         * soft-fp/floattisf.c: Likewise.
28662         * soft-fp/floattitf.c: Likewise.
28663         * soft-fp/floatuntidf.c: Likewise.
28664         * soft-fp/floatuntisf.c: Likewise.
28665         * soft-fp/floatuntitf.c: Likewise.
28666         * soft-fp/trunctfxf2.c: Likewise.
28668 2013-10-10  David S. Miller  <davem@davemloft.net>
28670         * sysdeps/sparc/fpu/libm-test-ulps: Update.
28672 2013-10-10  Joseph Myers  <joseph@codsourcery.com>
28674         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
28675         (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
28676         [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
28677         [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
28678         [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
28679         [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
28680         [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
28682         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
28683         for NaNs before doing comparisons on argument.
28684         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
28685         Likewise.
28687 2013-10-10  Will Newton  <will.newton@linaro.org>
28689         * malloc/hooks.c (memalign_check): Ensure the value of bytes
28690         passed to _int_memalign does not overflow.
28692 2013-10-10  Torvald Riegel  <triegel@redhat.com>
28694         * scripts/bench.pl: Add include-sources directive.
28695         * benchtests/README: Update documentation.
28697 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
28699         * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
28700         * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
28701         instead of FP_INIT_ROUNDMODE.
28702         * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
28703         * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
28705         [BZ #16034]
28706         * soft-fp/op-common.h (_FP_NEG): Document input as raw.  Do not
28707         copy class of input value.
28708         * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing.  Do
28709         not handle exceptions.
28710         * soft-fp/negsf2.c (__negsf2): Likewise.
28711         * soft-fp/negtf2.c (__negtf2): Likewise.
28712         * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
28714 2013-10-09  Joseph Myers  <joseph@codesourcery.com>
28716         * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
28717         semicolon.  From Linux kernel.
28719 2013-10-09  Adam Buchbinder  <adam.buchbinder@gmail.com>
28721         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
28723 2013-10-08  Yogesh Chaudhari  <mr.yogesh@gmail.com>
28725         [BZ #156]
28726         * manual/socket.texi: Added statement about buffer
28727         for gethostbyname2_r.
28729 2013-10-08  Ondřej Bílka  <neleai@seznam.cz>
28731         * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
28732         Use .p2align directive instead, throughout.
28733         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
28734         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
28735         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
28736         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
28737         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
28738         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
28739         * sysdeps/x86_64/strchr.S: Likewise.
28740         * sysdeps/x86_64/strrchr.S: Likewise.
28742 2013-10-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
28744         * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
28746         * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
28748         * sysdeps/generic/math_private.h (__mpsin1): Remove
28749         declaration.
28750         (__mpcos1): Likewise.
28751         (__mpsin): New argument __range_reduce.
28752         (__mpcos): Likewise.
28753         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
28754         (slow): Use __mpsin and __mpcos.
28755         (slow1): Likewise.
28756         (slow2): Likewise.
28757         (sloww): Likewise.
28758         (sloww1): Likewise.
28759         (sloww2): Likewise.
28760         (bsloww): Likewise.
28761         (bsloww1): Likewise.
28762         (bsloww2): Likewise.
28763         (cslow2): Likewise.
28764         (csloww): Likewise.
28765         (csloww1): Likewise.
28766         (csloww2): Likewise.
28767         * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
28768         range_reduce.  Merge in __mpsin1.
28769         (__mpcos): Likewise.
28770         (__mpsin1): Remove.
28771         (__mpcos1): Likewise.
28773 2013-10-07  Joseph Myers  <joseph@codesourcery.com>
28775         * locale/loadlocale.c (_nl_intern_locale_data): Use
28776         LOCFILE_ALIGNED_P.
28777         * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
28778         LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
28779         * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
28780         obstack data is appropriately aligned.
28781         (obstack_int32_grow_fast): Likewise.
28782         * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
28783         * locale/programs/locfile.c (add_locale_uint32): Likewise.
28784         (add_locale_uint32_array): Likewise.
28786 2013-10-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
28788         * benchtests/Makefile: Remove ARGLIST and RET variables.
28789         ($(objpfx)bench-%.c): Pass only function name to the script.
28790         * benchtests/README: Update documentation.
28791         * benchtests/acos-inputs: Add new directives.
28792         * benchtests/acosh-inputs: Likewise.
28793         * benchtests/asin-inputs: Likewise.
28794         * benchtests/asinh-inputs: Likewise.
28795         * benchtests/atan-inputs: Likewise.
28796         * benchtests/atanh-inputs: Likewise.
28797         * benchtests/cos-inputs: Likewise.
28798         * benchtests/cosh-inputs: Likewise.
28799         * benchtests/exp-inputs: Likewise.
28800         * benchtests/log-inputs: Likewise.
28801         * benchtests/pow-inputs: Likewise.
28802         * benchtests/rint-inputs: Likewise.
28803         * benchtests/sin-inputs: Likewise.
28804         * benchtests/sinh-inputs: Likewise.
28805         * benchtests/tan-inputs: Likewise.
28806         * benchtests/tanh-inputs: Likewise.
28807         * scripts/bench.pl: Add support for new directives.
28809 2013-10-07  Alan Modra  <amodra@gmail.com>
28811         * README: Fix careless merge.
28813 2013-10-05  Alan Modra  <amodra@gmail.com>
28815         * NEWS: Mention powerpc64le support and bugs fixed.
28816         * README: Both big-endian and little-endian powerpc64 supported.
28818 2013-10-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
28820         * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook)
28821         (_hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
28822         (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
28823         _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
28825 2013-10-04  Ryan S. Arnold  <ryan.arnold@linaro.org>
28827         * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
28828         match prototype.
28830 2013-10-04  Joseph Myers  <joseph@codesourcery.com>
28832         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
28833         Move -mhard-float appending from
28834         ports/sysdeps/powerpc/powerpc32/Makefile.
28835         [$(with-fp) = yes] (ASFLAGS): Likewise.
28836         [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
28837         * sysdeps/powerpc/nofpu: Move directory from
28838         ports/sysdeps/powerpc/nofpu.
28839         * sysdeps/powerpc/soft-fp: Move directory from
28840         ports/sysdeps/powerpc/soft-fp.
28841         * sysdeps/powerpc/powerpc32/405: Move directory from
28842         ports/sysdeps/powerpc/powerpc32/405.
28843         * sysdeps/powerpc/powerpc32/440: Move directory from
28844         ports/sysdeps/powerpc/powerpc32/440.
28845         * sysdeps/powerpc/powerpc32/464: Move directory from
28846         ports/sysdeps/powerpc/powerpc32/464.
28847         * sysdeps/powerpc/powerpc32/476: Move directory from
28848         ports/sysdeps/powerpc/powerpc32/476.
28849         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
28850         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
28851         * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
28852         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
28853         * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
28854         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
28855         * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
28856         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
28857         * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
28858         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
28859         * README: Update for powerpc-*-linux-gnu software floating point
28860         support in libc.
28862         * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
28863         case to powerpc/powerpc32*.
28864         * sysdeps/unix/sysv/linux/configure: Regenerated.
28866         * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
28867         (_FPU_MASK_OM): Define as 0x04.
28868         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
28869         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
28870         0x00c10080.
28871         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
28872         0x0000003c.
28873         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
28875         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
28876         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
28877         getcontext_e500.
28878         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
28879         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
28880         setcontext_e500.
28881         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
28882         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
28883         and setcontext_e500.
28885 2013-10-04  Chris Leonard  <cjl@sugarlabs,.org>
28887         * locale/iso-3166.def: Update iso-1366.def and related occurrences
28889 2013-10-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
28891         * manual/threads.texi (Default Thread Attributes): Fix typo.
28893 2013-10-04  Will Newton  <will.newton@linaro.org>
28895         * malloc/Makefile: Add tst-memalign.
28896         * malloc/tst-memalign.c: New file.
28898         * malloc/tst-posix_memalign.c: Add comments.
28899         (do_test): Add comments and call free on all potentially
28900         allocated pointers. Add space after cast.
28902         * malloc/tst-pvalloc.c: Add comments.
28903         (do_test): Add comments and call free on all potentially
28904         allocated pointers. Remove duplicate check for NULL pointer.
28905         Add space after cast.
28907         * malloc/tst-valloc.c: Add comments.
28908         (do_test): Add comments and call free on all potentially
28909         allocated pointers. Remove duplicate check for NULL pointer.
28910         Add space after cast.
28912 2013-10-04  Alan Modra  <amodra@gmail.com>
28914         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
28915         Use stdint types in rather than __attribute__((mode())).
28916         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
28918 2013-10-04  Alan Modra  <amodra@gmail.com>
28920         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
28921         Correct handling of unaligned relocs for little-endian.
28922         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
28924 2013-10-04  Alan Modra  <amodra@gmail.com>
28926         * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
28927         * configure: Regenerate.
28928         * nptl/shlib-versions: Powerpc*le starts at 2.18.
28929         * shlib-versions: Likewise.
28931 2013-10-04  Alan Modra  <amodra@gmail.com>
28933         * string/tester.c (test_memrchr): Increment reported test cycle.
28935 2013-10-04  Alan Modra  <amodra@gmail.com>
28937         * string/test-memcpy.c (do_one_test): When reporting errors, print
28938         string address and don't overrun end of string.
28940 2013-10-04  Alan Modra  <amodra@gmail.com>
28942         * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
28943         insrdi.  Make better use of reg selection to speed exit slightly.
28944         Schedule entry path a little better.  Remove useless "are we done"
28945         checks on entry to main loop.  Handle wrapping around zero address.
28946         Correct main loop count.  Handle single left-over word from main
28947         loop inline rather than by using loop_small.  Remove extra word
28948         case in loop_small caused by wrong loop count.  Add little-endian
28949         support.
28950         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
28951         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.  Use proper
28952         cache hint.
28953         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
28954         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
28955         support.  Avoid rlwimi.
28956         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
28958 2013-10-04  Alan Modra  <amodra@gmail.com>
28960         * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
28961         insrdi.  Formatting.
28962         * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
28963         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
28964         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
28965         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
28966         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
28967         * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
28969 2013-10-04  Alan Modra  <amodra@gmail.com>
28971         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
28972         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
28973         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
28974         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
28975         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
28976         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
28977         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
28978         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
28979         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise.  Make better
28980         use of regs.  Use power7 mtocrf.  Tidy function tails.
28982 2013-10-04  Alan Modra  <amodra@gmail.com>
28984         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
28985         Formatting.  Consistently use rXXX register defines or rN defines.
28986         Use early exit labels that avoid restoring unused non-volatile regs.
28987         Make cr field use more consistent with rWORDn compares.  Rename
28988         regs used as shift registers for unaligned loop, using rN defines
28989         for short lifetime/multiple use regs.
28990         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
28991         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.  Exit with
28992         addi 1,1,64 to pop stack frame.  Simplify return value code.
28993         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
28995 2013-10-04  Alan Modra  <amodra@gmail.com>
28997         * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
28998         support.  Correct typos, formatting.  Optimize tail.  Use insrdi
28999         rather than rlwimi.
29000         * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
29001         * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
29002         little-endian support.  Correct typos.
29003         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise.  Use insrdi
29004         rather than rlwimi.
29005         * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define.  Use
29006         in loop and entry code to keep "and." results.
29007         (strchr): Add little-endian support.  Comment.  Move cntlzd
29008         earlier in tail.
29009         * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
29011 2013-10-04  Alan Modra  <amodra@gmail.com>
29013         * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
29014         * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
29015         * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
29016         * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
29018 2013-10-04  Alan Modra  <amodra@gmail.com>
29020         * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
29021         (rTMP): Define as r11.
29022         (strcmp): Add little-endian support.  Optimise tail.
29023         * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
29024         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
29025         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
29026         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
29027         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
29028         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
29029         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
29031 2013-10-04  Alan Modra  <amodra@gmail.com>
29033         * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
29034         little-endian support.  Remove unnecessary "are we done" tests.
29035         Handle "s" wrapping around zero and extremely large "size".
29036         Correct main loop count.  Handle single left-over word from main
29037         loop inline rather than by using small_loop.  Correct comments.
29038         Delete "zero" tail, use "end_max" instead.
29039         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
29041 2013-10-04  Alan Modra  <amodra@gmail.com>
29043         * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
29044         support.  Don't branch over align.
29045         * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
29046         * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
29047         support.  Rearrange tmp reg use to suit.  Comment.
29048         * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
29050 2013-10-04  Alan Modra  <amodra@gmail.com>
29052         * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
29054 2013-10-04  Alan Modra  <amodra@gmail.com>
29056         * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
29057         conditional form of branch and link when obtaining pc.
29058         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
29060 2013-10-04  Alan Modra  <amodra@gmail.com>
29062         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
29063         HIWORD/LOWORD.
29064         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
29065         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
29067 2013-10-04  Alan Modra  <amodra@gmail.com>
29069         * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
29070         * sysdeps/powerpc/novmx-longjmp.c: Likewise.
29071         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
29072         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
29073         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
29074         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
29075         * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
29076         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
29077         * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
29078         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
29080 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
29081             Alistair Popple <alistair@ozlabs.au.ibm.com>
29082             Alan Modra <amodra@gmail.com>
29084         [BZ #15723]
29085         * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
29086         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
29087         _dl_hwcap access for little-endian.
29088         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.  Don't
29089         destroy vmx regs when saving unaligned.
29090         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
29091         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save.  Don't
29092         destroy vmx regs when saving unaligned.
29094 2013-10-04  Alan Modra  <amodra@gmail.com>
29096         * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
29097         Don't use a union to pack hi/low value.
29099 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
29101         * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
29102         for little-endian.
29103         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
29104         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
29105         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
29106         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
29107         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
29109 2013-10-04  Alan Modra  <amodra@gmail.com>
29111         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
29112         constants to usual value for .cst8 section, and remove redundant
29113         high address load.
29114         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
29115         constant for 0x1p52.  Load little-endian words of double from
29116         correct stack offsets.
29118 2013-10-04  Alan Modra  <amodra@gmail.com>
29120         * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
29121         * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
29122         words of double from correct stack offsets.
29123         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
29124         * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
29125         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
29126         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
29127         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
29128         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
29129         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
29130         * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
29131         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
29132         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
29133         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
29134         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
29135         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
29136         * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
29137         * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
29138         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
29139         * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
29141 2013-10-04  Alan Modra  <amodra@gmail.com>
29143         * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
29144         64-bit int/double union.
29145         (_FPU_SETCW): Likewise.
29146         * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
29147         (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
29149 2013-10-04  Alan Modra  <amodra@gmail.com>
29151         * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
29152         * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
29154 2013-10-04  Alan Modra  <amodra@gmail.com>
29156         * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
29157         use vector int constants.
29158         (__float_and_test24, __float_and8, __float_get_exp): Likewise.
29160 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
29162         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
29163         array with long long.
29164         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
29165         * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
29166         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
29167         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
29168         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
29169         * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
29170         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
29171         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
29172         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
29173         * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
29174         * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
29175         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
29176         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
29178 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
29180         * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
29181         (__signbit): Likewise.  Correct for little-endian.
29182         (__signbitl): Call __signbit.
29183         (lrint): Correct for little-endian.
29184         (lrintf): Call lrint.
29186 2013-10-04  Alan Modra  <amodra@gmail.com>
29188         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
29189         union 32-bit int array member with 64-bit int array.
29190         (t515, tm256): Double rather than long double.
29191         (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
29193 2013-10-04  Alan Modra  <amodra@gmail.com>
29195         * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
29196         Delete.
29197         (IEEE854_LONG_DOUBLE_BIAS): Delete.
29198         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
29199         version of math_ldbl.h.
29201 2013-10-04  Alan Modra  <amodra@gmail.com>
29203         [BZ #15734], [BZ #15735]
29204         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
29205         all uses of ieee875 long double macros and unions.  Simplify test
29206         for 0.0L.  Correct |x|<|y| and |x|=|y| test.  Use
29207         ldbl_extract_mantissa value for ix,iy exponents.  Properly
29208         normalize after ldbl_extract_mantissa, and don't add hidden bit
29209         already handled.  Don't treat low word of ieee854 mantissa like
29210         low word of IBM long double and mask off bit when testing for
29211         zero.
29212         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
29213         all uses of ieee875 long double macros and unions.  Simplify tests
29214         for 0.0L and inf.  Correct double adjustment of k.  Delete dead code
29215         adjusting ha,hb.  Simplify code setting kld.  Delete two600 and
29216         two1022, instead use their values.  Recognise that tests for large
29217         "a" and small "b" are mutually exclusive.  Rename vars.  Comment.
29218         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
29219         Rewrite all uses of ieee875 long double macros and unions.  Simplify
29220         test for 0.0L and nan.  Correct negation.
29221         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
29222         ieee875 long double macros and unions.  Correct output for large
29223         magnitude x.  Correct absolute value calculation.
29224         (__erfcl): Likewise.
29225         * math/libm-test.inc: Add tests for errors discovered in IBM long
29226         double versions of fmodl, remainderl, erfl and erfcl.
29228 2013-10-04  Alan Modra  <amodra@gmail.com>
29230         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
29231         all uses of ieee854 long double macros and unions.  Simplify tests
29232         for long doubles that are fully specified by the high double.
29233         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
29234         Likewise.
29235         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
29236         Remove dead code too.
29237         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
29238         (__ieee754_ynl): Likewise.
29239         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
29240         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
29241         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
29242         Remove dead code too.
29243         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
29244         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
29245         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
29246         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
29247         Simplify.
29248         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
29249         Simplify.
29250         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
29251         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
29252         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
29253         Comment on variable precision.
29254         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
29255         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
29256         Likewise.
29257         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
29258         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
29259         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
29260         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
29261         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
29263 2013-10-04  Alan Modra  <amodra@gmail.com>
29265         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
29266         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
29267         all uses of ieee854 long double macros and unions.
29268         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
29269         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
29270         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
29271         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
29272         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
29273         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
29274         Likewise.
29275         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
29276         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
29277         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
29278         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
29279         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
29280         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
29281         Simplify sign and nan test too.
29282         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
29283         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
29284         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
29285         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
29286         Likewise.
29287         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
29288         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
29289         Likewise.
29290         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
29291         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
29292         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
29293         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
29294         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
29295         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
29297 2013-10-04  Alan Modra  <amodra@gmail.com>
29299         * stdio-common/printf_size.c (__printf_size): Don't use
29300         union ieee854_long_double in fpnum union.
29301         * stdio-common/printf_fphex.c (__printf_fphex): Likewise.  Use
29302         signbit macro to retrieve sign from long double.
29303         * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
29304         retrieve sign from long double.
29305         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
29306         * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
29307         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
29308         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
29309         * math/test-misc.c (main): Don't use union ieee854_long_double.
29311 2013-10-04  Alan Modra  <amodra@gmail.com>
29313         [BZ #15680]
29314         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
29315         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
29316         (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
29317         calculation.  Remove unnecessary test for denormal exponent.
29318         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
29319         Correct handling of denormals.  Avoid undefined shift behaviour.
29320         Correct normalisation of low mantissa when low double is denormal.
29321         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
29322         (ldbl_extract_mantissa): Likewise.  Comment.  Use uint64_t* for hi64.
29323         (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
29324         Correct normalisation of low mantissa.  Test for overflow of high
29325         mantissa and normalise.
29326         (ldbl_nearbyint): Use more readable constant for two52.
29327         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
29328         (__mpn_construct_long_double): Fix test for overflow of high
29329         mantissa and correct normalisation.  Avoid undefined shift.
29331 2013-10-04  Alan Modra  <amodra@gmail.com>
29333         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
29334         (union ibm_extended_long_double): Define as an array of ieee754_double.
29335         (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
29336         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
29337         to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
29338         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
29339         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
29340         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
29341         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
29342         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
29343         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
29344         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
29345         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
29347 2013-10-03  Joseph Myers  <joseph@codesourcery.com>
29349         * locale/programs/locarchive.c (add_locale): Use constant 4096 for
29350         page size instead of calling getpagesize.
29352         * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
29353         (LOCFILE_ALIGN_MASK): Likewise.
29354         (LOCFILE_ALIGN_UP): Likewise.
29355         (LOCFILE_ALIGNED_P): Likewise.
29356         * locale/programs/ld-collate.c (collate_output): Use the new
29357         macros instead of __alignof__ (int32_t).
29358         * locale/weight.h (findidx): Likewise.
29360 2013-10-03  Ondřej Bílka  <neleai@seznam.cz>
29362         [BZ #431]
29363         * manual/string.texi: Fix strncat and wcsncat.
29365 2013-10-03  Brooks Moses  <bmoses@google.com>
29367         [BZ #15915]
29368         * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
29369         * Makerules: ...here, and adjust associated comments.
29371 2013-10-02  Will Newton  <will.newton@linaro.org>
29373         * malloc/Makefile: Add tst-pvalloc.
29374         * malloc/tst-pvalloc.c: New file.
29376 2013-10-02  Will Newton  <will.newton@linaro.org>
29378         * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
29379         improve test coverage.
29381 2013-10-02  Will Newton  <will.newton@linaro.org>
29383         * malloc/Makefile: Add tst-posix_memalign.
29384         * malloc/tst-posix_memalign.c: New file.
29386 2013-10-01  Eric Blake  <eblake@redhat.com>
29388         * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
29389         Use __THROWNL rather than __THROW on static functions.
29391 2013-09-30  Petr Machata  <pmachata@redhat.com>
29393         * elf/elf.h (R_AARCH64_ABS16): New macro.
29394         (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
29395         (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
29396         (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
29397         (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
29398         (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
29399         (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
29400         (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
29401         (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
29402         (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
29403         (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
29404         (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
29405         (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
29406         (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
29407         (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
29408         (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
29409         (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
29410         (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
29411         (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
29412         (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
29413         (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
29414         (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
29415         (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
29416         (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
29417         (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
29418         (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
29419         (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
29420         (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
29421         (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
29422         (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
29423         (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
29424         (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
29425         (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
29426         (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
29427         (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
29428         (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
29429         (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
29430         (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
29431         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
29432         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
29433         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
29434         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
29435         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
29436         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
29437         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
29438         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
29439         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
29440         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
29441         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
29442         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
29443         (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
29444         (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
29445         (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
29446         (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
29447         (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
29448         (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
29449         (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
29450         (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
29451         (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
29452         (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
29453         (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
29454         (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
29455         (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
29456         (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
29457         (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
29458         (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
29459         (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
29460         (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
29461         (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
29462         (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
29463         (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
29464         (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
29465         (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
29466         (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
29467         (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
29468         (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
29469         (R_AARCH64_TLSDESC_OFF_G1): Likewise.
29470         (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
29471         (R_AARCH64_TLSDESC_LDR): Likewise.
29472         (R_AARCH64_TLSDESC_ADD): Likewise.
29473         (R_AARCH64_TLSDESC_CALL): Likewise.
29475 2013-09-30  Andreas Schwab  <schwab@suse.de>
29477         [BZ #15048]
29478         * nscd/aicache.c (addhstaiX): Properly use the cache variable for
29479         the nss database lookup.
29480         * nscd/initgrcache.c (addinitgroupsX): Likewise.
29481         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
29483 2013-09-28  Mike Frysinger  <vapier@gentoo.org>
29485         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
29487 2013-09-28  P. J. McDermott  <pj@pehjota.net>
29489         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
29490         ${Bash-specific parameter/pattern/string} parameter expansion.
29491         * sysdeps/unix/make-syscalls.sh: Likewise.
29493 2013-09-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
29495         * sysdeps/sh/stackguard-macros.h: New file.
29497 2013-09-26  Ondřej Bílka  <neleai@seznam.cz>
29499         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
29500         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
29501         * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
29502         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
29503         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
29504         * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
29506 2013-09-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29508         * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
29509         Fix thread ID register.
29511 2013-09-25  Joseph Myers  <joseph@codesourcery.com>
29513         * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
29514         [POSIX || UNIX98]: Require rather than permitting all symbols from
29515         <time.h>.
29516         [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
29517         element of struct sched_param.
29518         [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
29519         [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
29520         [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
29521         [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
29522         constant.
29524 2013-09-24  Olivier Langlois  <olivier@olivierlanglois.net>
29526         * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
29527         argument calculation.
29529 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
29531         * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
29532         Expect macro.
29533         [POSIX] (pthread_attr_t): Do not require type.
29534         [POSIX] (pthread_cond_t): Likewise.
29535         [POSIX] (pthread_condattr_t): Likewise.
29536         [POSIX] (pthread_key_t): Likewise.
29537         [POSIX] (pthread_mutex_t): Likewise.
29538         [POSIX] (pthread_mutexattr_t): Likewise.
29539         [POSIX] (pthread_once_t): Likewise.
29540         [POSIX] (pthread_t): Likewise.
29541         [POSIX-based standards] (pthread_atfork): Expect function.
29543 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
29544             Richard Sandiford  <richard@codesourcery.com>
29546         * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
29547         (swap_endianness_p): New extern variable.
29548         (set_big_endian): New inline function.
29549         (maybe_swap_uint32): Likewise.
29550         (maybe_swap_uint32_array): Likewise.
29551         (maybe_swap_uint32_obstack): Likewise.
29552         * locale/programs/locfile.c: Include <stdbool.h>.
29553         (swap_endianness_p): New variable.
29554         (add_locale_uint32): Call maybe_swap_uint32.
29555         (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
29556         (write_locale_data): Call maybe_swap_uint32_array.
29557         * locale/programs/ld-collate.c (obstack_int32_grow): Call
29558         maybe_swap_uint32.
29559         (obstack_int32_grow_fast): Likewise.
29560         (output_weightwc): Call maybe_swap_uint32_obstack.
29561         (collate_output): Likewise.
29562         * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
29563         (OPT_LITTLE_ENDIAN): Likewise.
29564         (options): Add --little-endian and --big-endian options.
29565         (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
29566         * locale/programs/locarchive.c: Include "locfile.h".
29567         (GET): New macro.
29568         (SET): Likewise.
29569         (INC): Likewise.
29570         (create_archive): Use the new macros to access fields of
29571         structures directly mapped from or written to locale archives.
29572         (oldlocrecentcmp): Likewise.
29573         (enlarge_archive): Likewise.
29574         (insert_name): Likewise.
29575         (add_alias): Likewise.
29576         (add_locale): Likewise.
29577         (delete_locales_from_archive): Likewise.
29578         (show_archive_content): Likewise.
29579         (add_locale_to_archive): Likewise.  Use maybe_swap_uint32 on
29580         locale data.
29582 2013-09-24  Roland McGrath  <roland@hack.frob.com>
29584         * manual/freemanuals.texi: Updated from (newly) canonical copy at
29585         http://www.gnu.org/doc/freemanuals.texi.
29586         * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
29588 2013-09-24  Will Newton  <will.newton@linaro.org>
29590         * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
29591         macro.
29593 2013-09-23  Joseph Myers  <joseph@codesourcery.com>
29595         * locale/hashval.h (compute_hashval): Interpret bytes of key as
29596         unsigned char.
29598 2013-09-23  Maciej W. Rozycki  <macro@codesourcery.com>
29600         * manual/threads.texi (POSIX Threads): Fix a typo.
29602 2013-09-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
29604         [BZ #14547]
29605         * string/tst-strcoll-overflow.c: New test case.
29606         * string/Makefile (xtests): Add tst-strcoll-overflow.
29607         * string/strcoll_l.c (STRCOLL): Skip allocating memory for
29608         cache if string sizes may cause integer overflow.
29610         [BZ #14547]
29611         * string/strcoll_l.c (coll_seq): New members rule, idx,
29612         save_idx and back_us.
29613         (get_next_seq_nocache): New function.
29614         (do_compare_nocache): New function.
29615         (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
29616         when malloc fails.
29618 2013-09-23  Carlos O'Donell  <carlos@redhat.com>
29620         [BZ #15754]
29621         * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
29622         __pointer_chk_guard_local, otherwise __pointer_chk_guard.
29623         * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
29625         [BZ #15754]
29626         * elf/Makefile (tests): Add tst-ptrguard1.
29627         (tests-static): Add tst-ptrguard1-static.
29628         (tst-ptrguard1-ARGS): Define.
29629         (tst-ptrguard1-static-ARGS): Define.
29630         * elf/tst-ptrguard1.c: New file.
29631         * elf/tst-ptrguard1-static.c: New file.
29632         * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
29633         * sysdeps/i386/stackguard-macros.h: Likewise.
29634         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
29635         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
29636         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
29637         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
29638         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
29639         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
29641 2013-09-23  Hector Marco  <hecmargi@upv.es>
29642             Ismael Ripoll  <iripoll@disca.upv.es>
29643             Carlos O'Donell  <carlos@redhat.com>
29645         [BZ #15754]
29646         * sysdeps/generic/stackguard-macros.h: Define
29647         __pointer_chk_guard_local and POINTER_CHK_GUARD.
29648         * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
29649         Define __pointer_chk_guard_local.
29650         (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
29651         Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
29653 2013-09-15  Vinitha Vijayan <vinitha.vijayann@gmail.com>
29655         [BZ #15859]
29656         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
29658 2013-09-20  Andreas Schwab  <schwab@linux-m68k.org>
29660         * include/string.h (__ffs): Declare as hidden.
29661         * string/ffs.c (__ffs): Define as hidden.
29662         * sysdeps/i386/ffs.c (__ffs): Likewise.
29663         * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
29664         * sysdeps/powerpc/ffs.c (__ffs): Likewise.
29665         * sysdeps/s390/ffs.c (__ffs): Likewise.
29666         * sysdeps/x86_64/ffs.c (__ffs): Likewise.
29668 2013-09-20  Alexandre Oliva <aoliva@redhat.com>
29670         * NEWS: Mention malloc probes.
29672         * malloc/arena.c (new_heap): New memory_heap_new probe.
29673         (grow_heap): New memory_heap_more probe.
29674         (shrink_heap): New memory_heap_less probe.
29675         (heap_trim): New memory_heap_free probe.
29676         * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
29677         (systrim): New memory_sbrk_less probe.
29678         * manual/probes.texi: Document them.
29680         * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
29681         * manual/probes.texi: Document it.
29683         * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
29684         (__libc_realloc): Add memory_realloc_retry probe.
29685         (__libc_memalign): Add memory_memalign_retry probe.
29686         (__libc_valloc): Add memory_valloc_retry probe.
29687         (__libc_pvalloc): Add memory_pvalloc_retry probe.
29688         (__libc_calloc): Add memory_calloc_retry probe.
29689         * manual/probes.texi: Document them.
29691         * malloc/arena.c (get_free_list): Add probe
29692         memory_arena_reuse_free_list.
29693         (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
29694         and memory_arena_reuse.
29695         (arena_get2) [!PER_THREAD]: Likewise.
29696         * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
29697         memory_arena_reuse_realloc.
29698         * manual/probes.texi: Document them.
29700         * malloc/malloc.c (__libc_free): Add
29701         memory_mallopt_free_dyn_thresholds probe.
29702         (__libc_mallopt): Add multiple memory_mallopt probes.
29703         * manual/probes.texi: Document them.
29705         * malloc/malloc.c: Include stap-probe.h.
29706         (__libc_mallopt): Add memory_mallopt probe.
29707         * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
29708         * manual/probes.texi: New.
29709         * manual/Makefile (chapters): Add probes.
29710         * manual/threads.texi: Set next node.
29712 2013-09-19  Wei-Lun Chao  <bluebat@member.fsf.org>
29714         [BZ #15963, #13985]
29715         * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
29716         czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
29717         Add `Chinese' to `nan' entry name.
29719 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
29721         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
29722         (POLYNOMIAL): Likewise.
29723         (TAYLOR_SINCOS): Likewise.
29724         (TAYLOR_SLOW): Likewise.
29725         (__sin): Use TAYLOR_SINCOS.
29726         (__cos): Likewise.
29727         (slow): Use TAYLOR_SLOW.
29728         (sloww): Likewise.
29729         (bsloww): Likewise.
29730         (csloww): Likewise.
29732 2013-09-19  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
29734         * stdlib/strtod_l.c: Fix buffer overrun.
29736 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
29738         * benchtests/Makefile (bench): Add sincos.
29739         * benchtests/bench-sincos.c: New file.
29741         * math/libm-test.inc (cos_test_data): New test inputs.
29742         (sin_test_data): Likewise.
29744         * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
29745         macro.
29746         (__sin): Use it.
29747         (__cos): Likewise.
29748         (slow1): Likewise.
29749         (slow2): Likewise.
29750         (sloww1): Likewise.
29751         (sloww2): Likewise.
29752         (bsloww1): Likewise.
29753         (bsloww2): Likewise.
29754         (cslow2): Likewise.
29755         (csloww1): Likewise.
29756         (csloww2): Likewise.
29758         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
29759         function.
29760         (__sin): Use it.
29761         (__cos): Likewise.
29763         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
29764         gotos.
29765         (__cos): Likewise.
29767 2013-09-18  Maciej W. Rozycki  <macro@codesourcery.com>
29769         * config.h.in (HAVE_MIPS_NAN2008): New macro.
29770         * elf/elf.h (EF_MIPS_NAN2008): Likewise.
29771         * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
29772         (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
29773         (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
29774         * elf/cache.c (print_entry): Handle the new cache flags.
29776 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
29777             Aldy Hernandez  <aldyh@redhat.com>
29779         * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
29780         Change condition to [_SOFT_FLOAT].
29781         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
29782         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
29783         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
29784         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
29785         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
29786         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
29787         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
29788         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
29789         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
29790         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
29791         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
29792         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
29793         [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
29794         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
29795         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
29796         [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
29797         declaration.
29799 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
29801         * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
29802         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
29803         (__longjmp): Use LOAD_GP to load saved GPRs.
29804         * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
29805         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
29806         (__sigsetjmp): Use SAVE_GP to save GPRs.
29808         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
29809         Do not append -msoft-float.
29810         [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
29812 2013-09-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
29814         * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
29816 2013-09-17  Joseph Myers  <joseph@codesourcery.com>
29818         [BZ #15966]
29819         * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
29820         (_FPU_GETCW): Use initial "__" on variable and field names but not
29821         on macro parameter name.
29822         [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise.  Use
29823         parentheses around reference to macro parameter.
29825 2013-09-13  Richard Sandiford  <richard@codesourcery.com>
29827         * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
29828         prototype.
29829         (ctype_startup): Use uint32_t in cast and sizeof for
29830         ctype->charnames.
29832 2013-09-11  Jia Liu  <proljc@gmail.com>
29834         * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
29835         __daddr_t_defined.
29836         [__FreeBSD__]: Likewise.
29838 2013-09-11  Ondřej Bílka  <neleai@seznam.cz>
29840         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
29841         (__libc_ifunc_impl_list): Remove: __strchr_sse42.
29842         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
29843         (strchr): Remove __strchr_sse42 ifunc selection.
29844         * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
29845         * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
29847 2013-09-11  Will Newton  <will.newton@linaro.org>
29849         * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
29850         parameter to RES. Remove hardcoded 1000 value.
29851         * benchtests/bench-skeleton.c (main): Pass RES parameter
29852         to TIMING_INIT and multiply result by 1000.
29854 2013-09-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29856         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
29858 2013-09-11  Andreas Schwab  <schwab@suse.de>
29860         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
29861         if not defined.
29862         (O_TMPFILE) [__USE_GNU]: Define.
29863         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
29864         Define.
29866 2013-09-11  Will Newton  <will.newton@linaro.org>
29868         [BZ #15857]
29869         * malloc/malloc.c (__libc_memalign): Check the value of bytes
29870         does not overflow.
29872 2013-09-11  Will Newton  <will.newton@linaro.org>
29874         [BZ #15856]
29875         * malloc/malloc.c (__libc_valloc): Check the value of bytes
29876         does not overflow.
29878 2013-09-11  Will Newton  <will.newton@linaro.org>
29880         [BZ #15855]
29881         * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
29882         does not overflow.
29884 2013-09-10  Ondřej Bílka  <neleai@seznam.cz>
29886         * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
29887         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
29888         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
29889         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
29890         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
29892 2013-09-10  Allan McRae  <allan@archlinux.org>
29894         [BZ #15748]
29895         * manual/arith.texi (Parsing of Floats): Clarify
29896         cross-reference.
29898         [BZ #15849]
29899         * manual/install.texi (Running make install): Mention
29900         --enable-pt-chown.
29901         * INSTALL: Regenerated.
29903 2013-09-09  Maciej W. Rozycki  <macro@codesourcery.com>
29905         * csu/init-first.c (_init): Remove the !SHARED condition around
29906         FPU control word initialization.
29907         * elf/dl-support.c (_dl_fpu_control): New variable.
29908         (_dl_aux_init) <AT_FPUCW>: Initialize it.
29909         * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
29910         (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
29911         * math/test-fpucw-static.c: New file.
29912         * math/test-fpucw-ieee.c: New file.
29913         * math/test-fpucw-ieee-static.c: New file.
29914         * math/Makefile (tests): Add `test-fpucw-ieee' and
29915         `$(tests-static)'.
29916         (tests-static): New variable.
29917         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
29918         dependency to...
29919         [($(build-shared),yes)]
29920         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
29921         ... this.
29922         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
29923         New dependency.
29925 2013-09-09  Allan McRae  <allan@archlinux.org>
29927         [BZ #15939]
29928         * manual/string.texi (Collation Functions): Fix typo in
29929         strcoll example.
29930         Reported by Suren Karapetyan <me@suren.karapetyan.name>.
29932         [BZ #15893]
29933         * stdlib/isomac.c (get_null_defines): Fix memory leak.
29935         [BZ #15892]
29936         * libio/memstream.c (open_memstream): Fix memory leak.
29937         * libio/wmemstream.c (open_wmemstream): Likewise.
29939         [BZ #15895]
29940         * nscd/netgroupcache.c: Fix nesting of ifdefs.
29942 2013-09-09  Will Newton  <will.newton@linaro.org>
29944         * malloc/Makefile: Add tst-realloc to tests.
29945         * malloc/tst-realloc.c: New file.
29947 2013-09-09  Allan McRae  <allan@archlinux.org>
29949         [BZ #15844]
29950         * COPYING: Update from GNU website to fix FSF address.
29951         * COPYING.LIB: Likewise.
29953 2013-09-06  David S. Miller  <davem@davemloft.net>
29955         * po/zh_TW.po: Update Chinese (traditional) translation from
29956         translation project.
29958 2013-09-06  Richard Sandiford  <richard@codesourcery.com>
29959             Joseph Myers  <joseph@codesourcery.com>
29961         * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
29962         "localeinfo.h".
29963         (obstack_chunk_alloc): New macro.
29964         (obstack_chunk_free): Likewise.
29965         (record_offset): New function.
29966         (init_locale_data): Likewise.
29967         (align_locale_data): Likewise.
29968         (add_locale_empty): Likewise.
29969         (add_locale_raw_data): Likewise.
29970         (add_locale_raw_obstack): Likewise.
29971         (add_locale_string): Likewise.
29972         (add_locale_wstring): Likewise.
29973         (add_locale_uint32): Likewise.
29974         (add_locale_uint32_array): Likewise.
29975         (add_locale_char): Likewise.
29976         (start_locale_structure): Likewise.
29977         (end_locale_structure): Likewise.
29978         (start_locale_prelude): Likewise.
29979         (end_locale_prelude): Likewise.
29980         (write_locale_data): Take locale_file structure rather than an
29981         iovec.
29982         * locale/programs/locfile.h: Include "obstack.h".
29983         (struct locale_file): Change to store locale file contents instead
29984         of header.
29985         (init_locale_data): New prototype.
29986         (align_locale_data): Likewise.
29987         (add_locale_empty): Likewise.
29988         (add_locale_raw_data): Likewise.
29989         (add_locale_raw_obstack): Likewise.
29990         (add_locale_string): Likewise.
29991         (add_locale_wstring): Likewise.
29992         (add_locale_uint32): Likewise.
29993         (add_locale_uint32_array): Likewise.
29994         (add_locale_char): Likewise.
29995         (start_locale_structure): Likewise.
29996         (end_locale_structure): Likewise.
29997         (start_locale_prelude): Likewise.
29998         (end_locale_prelude): Likewise.
29999         (write_locale_data): Update prototype.
30000         * locale/programs/3level.h (struct TABLE): Remove result field.
30001         (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
30002         Use new locale_file interface.
30003         [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
30004         (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
30005         * locale/programs/ld-address.c (address_output): Use new
30006         locale_file interface.
30007         * locale/programs/ld-collate.c (NO_FINALIZE): Change to
30008         NO_ADD_LOCALE.
30009         (collate_finish): Don't call collseq_table_finalize.
30010         (collate_output): Use new locale_file interface.
30011         * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
30012         in file.
30013         (NO_FINALIZE): Change to NO_ADD_LOCALE.
30014         (TABLE): Move defines earlier in file.
30015         (ELEMENT): Likewise.
30016         (DEFAULT): Likewise.
30017         (wctrans_table_add): Move macro and inline function earlier in
30018         file.
30019         (struct wctype_table): Move type earlier in file.
30020         (add_locale_wctype_table): New static prototype.
30021         (struct locale_ctype_t): Use logical types instead of struct iovec
30022         pointers for members.
30023         (ctype_output): Use new locale_file interface.
30024         (wctype_table_finalize): Change to add_locale_wctype_table.  Use
30025         new locale_file interface.
30026         (allocate_arrays): Update for use of new locale_file interface.
30027         * locale/programs/ld-identification.c (identification_output): Use
30028         new locale_file interface.
30029         * locale/programs/ld-measurement.c (measurement_output): Likewise.
30030         * locale/programs/ld-messages.c (messages_output): Likewise.
30031         * locale/programs/ld-monetary.c (monetary_output): Likewise.
30032         * locale/programs/ld-name.c (name_output): Likewise.
30033         * locale/programs/ld-numeric.c (numeric_output): Likewise.
30034         * locale/programs/ld-paper.c (paper_output): Likewise.
30035         * locale/programs/ld-telephone.c (telephone_output): Likewise.
30036         * locale/programs/ld-time.c (time_output): Likewise.
30038 2013-09-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30040         * benchtests/Makefile: Add memrchr benchmark.
30041         * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
30042         benchmark as memrchr.
30043         * benchtests/bench-memrchr-ifunc.c: New file.
30044         * benchtests/bench-memrchr.c: New file.
30046 2013-09-06   Will Newton  <will.newton@linaro.org>
30048         * benchtests/Makefile (string-bench): Add memcpy.
30050 2013-09-05  Carlos O'Donell  <carlos@redhat.com>
30051             Cong Wang  <amwang@redhat.com>
30053         [BZ #15850]
30054         * sysdeps/unix/sysv/linux/bits/in.h
30055         [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
30056         * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
30057         before __USE_KERNEL_IPV6_DEFS uses.
30058         * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
30059         IPPROTO_BEETPH.
30060         [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
30061         sockaddr_in6, or ipv6_mreq.
30063 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30065         * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
30066         memory access for final bytes in some large inputs.
30067         * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
30069 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30071         * string/test-memrchr.c: New file.
30072         * string/test-memrchr-ifunc.c: New file.
30073         * string/Makefile: Add new memrchr testcase.
30075 2013-09-05  Mike Frysinger  <vapier@gentoo.org>
30077         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
30078         fanotify_init returns EPERM.
30080 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
30082         * conform/conformtest.pl (newtoken): Treat tokens not allowed as
30083         errors.
30084         (top level): Treat second token from macro or constant entries for
30085         allowed headers as allowed.
30086         * include/complex.h: Condition internal declarations on
30087         [!_ISOMAC].
30088         * include/fenv.h: Condition include of <stdbool.h> and internal
30089         declarations on [!_ISOMAC].
30091 2013-09-04  Chris Leonard  <cjl@sugarlabs,.org>
30093         [BZ #15923]
30094         * locale/iso-4217.def: Update iso-1427.def and related occurrences.
30096 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
30098         * configure.in (--enable-versioning): Remove configure option.
30099         (libc_cv_asm_symver_directive): Remove configure test.
30100         (libc_cv_ld_version_script_option): Likewise.
30101         (VERSIONING): Remove variable and AC_SUBST.
30102         (DO_VERSIONING): Remove AC_DEFINE.
30103         * configure: Regenerated.
30104         * config.h.in (DO_VERSIONING): Remove macro.
30105         * Makerules [$(versioning) = yes]: Change conditionals to
30106         [$(build-shared) = yes].
30107         * config.make.in (versioning): Remove variable.
30108         * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
30109         [$(build-shared) = yes].
30110         * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
30111         * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
30112         * elf/Makefile [$(versioning) = yes]: Change conditionals to
30113         [$(build-shared) = yes].
30114         * extra-lib.mk [$(versioning) = yes]: Likewise.
30115         * hurd/Makefile [$(versioning) = yes]: Likewise.
30116         * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
30117         [SHARED].
30118         * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
30119         [SHARED].
30120         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
30121         [SHARED && !NO_HIDDEN].
30122         * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
30123         [SHARED].
30124         [SHARED && DO_VERSIONING]: Likewise..
30125         * libio/Makefile [$(versioning) = yes]: Change conditionals to
30126         [$(build-shared) = yes].
30127         * manual/install.texi (--disable-versioning): Remove
30128         documentation.
30129         * INSTALL: Regenerated.
30130         * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
30131         to [SHARED].
30132         * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
30133         [$(build-shared) = yes].
30134         * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
30135         * sysdeps/i386/i686/multiarch/strstr-c.c
30136         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
30137         [SHARED && !NO_HIDDEN].
30138         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
30139         [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
30140         * sysdeps/powerpc/powerpc32/dl-machine.c
30141         [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
30142         * sysdeps/powerpc/powerpc32/sysdep.h
30143         [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
30144         to [SHARED && PIC && !NO_HIDDEN].
30145         * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
30146         conditional to [SHARED].
30148 2013-09-04   Will Newton  <will.newton@linaro.org>
30150         * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
30151         * benchtests/bench-string.h: Include bench-timing.h instead
30152         of including hp-timing.h directly. (INNER_LOOP_ITERS): New
30153         define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
30154         call to HP_TIMING_DIFF_INIT.
30155         * benchtests/bench-memccpy.c: Use bench-timing.h macros
30156         instead of hp-timing.h macros.
30157         * benchtests/bench-memchr.c: Likewise.
30158         * benchtests/bench-memcmp.c: Likewise.
30159         * benchtests/bench-memcpy.c: Likewise.
30160         * benchtests/bench-memmem.c: Likewise.
30161         * benchtests/bench-memmove.c: Likewise.
30162         * benchtests/bench-memset.c: Likewise.
30163         * benchtests/bench-rawmemchr.c: Likewise.
30164         * benchtests/bench-strcasecmp.c: Likewise.
30165         * benchtests/bench-strcasestr.c: Likewise.
30166         * benchtests/bench-strcat.c: Likewise.
30167         * benchtests/bench-strchr.c: Likewise.
30168         * benchtests/bench-strcmp.c: Likewise.
30169         * benchtests/bench-strcpy.c: Likewise.
30170         * benchtests/bench-strcpy_chk.c: Likewise.
30171         * benchtests/bench-strlen.c: Likewise.
30172         * benchtests/bench-strncasecmp.c: Likewise.
30173         * benchtests/bench-strncat.c: Likewise.
30174         * benchtests/bench-strncmp.c: Likewise.
30175         * benchtests/bench-strncpy.c: Likewise.
30176         * benchtests/bench-strnlen.c: Likewise.
30177         * benchtests/bench-strpbrk.c: Likewise.
30178         * benchtests/bench-strrchr.c: Likewise.
30179         * benchtests/bench-strspn.c: Likewise.
30180         * benchtests/bench-strstr.c: Likewise.
30182 2013-09-04  Will Newton  <will.newton@linaro.org>
30184         * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
30186 2013-09-03  Joseph Myers  <joseph@codesourcery.com>
30188         [BZ #15427]
30189         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
30190         2**-30 instead of 2**-70 as threshold for returning -log(|x|).
30191         * math/libm-test.inc (lgamma_test_data): Add more tests.
30192         * sysdeps/i386/fpu/libm-test-ulps: Update.
30193         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30195 2013-09-03   Ondřej Bílka  <neleai@seznam.cz>
30197         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
30198         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
30199         Add ifunc.
30200         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
30201         Add strcmp-sse2-unaligned
30202         * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
30204 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
30206         * Versions.def (libc): Add GLIBC_2.19.
30208 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
30210         * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
30211         * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
30213 2013-09-02  Joseph Myers  <joseph@codesourcery.com>
30215         [BZ #14155]
30216         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
30217         intermediate calculations in recurrence.
30218         (__ieee754_ynf): Likewise.
30219         * math/libm-test.inc (jn_test_data): Do not allow spurious
30220         underflow exception.  Add more tests.
30221         (yn_test_data): Add more tests.
30222         * sysdeps/i386/fpu/libm-test-ulps: Update.
30223         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30225 2013-09-02   Ondřej Bílka  <neleai@seznam.cz>
30227         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
30229 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
30231         * csu/init-first.c: Fix then/than typos.
30232         * locale/programs/ld-collate.c: Likewise.
30233         * locale/programs/linereader.h: Likewise.
30234         * manual/charset.texi: Likewise.
30235         * manual/filesys.texi: Likewise.
30236         * manual/stdio.texi: Likewise.
30237         * manual/string.texi: Likewise.
30238         * stdlib/fmtmsg.c: Likewise.
30239         * sysdeps/i386/stpncpy.S: Likewise.
30240         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
30241         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
30242         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
30243         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
30245 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
30247         * elf/dl-open.c: Fix typos.
30248         * iconvdata/gbbig5.c: Likewise.
30249         * iconvdata/iso-2022-jp.c: Likewise.
30250         * iconv/gconv_int.h: Likewise.
30251         * iconv/loop.c: Likewise.
30252         * nis/rpcsvc/nis.h: Likewise.
30253         * resolv/ns_name.c: Likewise.
30254         * stdio-common/vfscanf.c: Likewise.
30255         * streams/stropts.h: Likewise.
30256         * sunrpc/rpc_thread.c: Likewise.
30257         * sysdeps/i386/strpbrk.S: Likewise.
30258         * sysdeps/ieee754/k_standard.c: Likewise.
30259         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
30260         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
30261         * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
30262         * sysdeps/mach/hurd/profil.c: Likewise.
30263         * sysdeps/s390/dl-procinfo.h: Likewise.
30264         * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
30265         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
30266         * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
30267         * sysdeps/x86_64/dl-trampoline.S: Likewise.
30268         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
30270 2013-08-30  Ondřej Bílka  <neleai@seznam.cz>
30272         * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
30273         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
30275 2013-08-29  Ondřej Bílka  <neleai@seznam.cz>
30277         * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
30278         aix specific files.
30279         * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
30280         * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
30281         * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
30282         * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
30283         * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
30284         * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
30285         * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
30286         * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
30288 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
30289             Roland McGrath  <roland@hack.frob.com>
30291         * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
30292         * sysdeps/mach/hurd/bits/errno.h: Regenerate.
30294 2013-08-29  Samuel Thibault  <samuel.thibault@ens-lyon.org>
30296         * sysdeps/mach/hurd/i386/init-first.c (init1): Use
30297         __executable_start symbol instead of _start.
30299 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
30301         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
30302         (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
30303         Move macros to...
30304         * sysdeps/gnu/ldsodefs.h: ... this new file.
30306         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
30307         (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
30308         instead of ELFOSABI_LINUX.
30310         [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
30311         * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
30312         * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
30313         * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
30314         Likewise.
30315         * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
30316         * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
30317         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
30318         Likewise.
30319         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
30320         (ibm_extended_long_double): Add ieee_nan member.
30321         * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
30322         (do_test): New function.
30324         * math/basic-test.c (TEST_CONVERT): New macro, renamed from
30325         TEST_TRUNC.
30326         (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
30327         functions, renamed from truncdfsf_test, trunctfsf_test,
30328         trunctfdf_test.
30329         (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
30330         functions.
30331         (do_test): Run all these.
30333 2013-08-29   Ondřej Bílka  <neleai@seznam.cz>
30335         * argp/argp-help.c: Fix typos.
30336         * argp/argp-parse.c: Likewise.
30337         * debug/backtracesyms.c: Likewise.
30338         * elf/elf.h: Likewise.
30339         * malloc/malloc.c: Likewise.
30340         * nis/nis_print.c: Likewise.
30341         * resolv/res_comp.c: Likewise.
30342         * stdlib/stdlib.h: Likewise.
30343         * sunrpc/clnt_tcp.c: Likewise.
30344         * sunrpc/clnt_udp.c: Likewise.
30345         * sunrpc/clnt_unix.c: Likewise.
30346         * sysdeps/unix/bsd/ptsname.c: Likewise.
30347         * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
30348         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
30349         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
30350         Likewise.
30351         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
30352         Likewise.
30353         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
30354         Likewise.
30355         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
30357 2013-08-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
30359         * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
30360         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
30362 2013-08-27  Mike Frysinger  <vapier@gentoo.org>
30364         [BZ #15897]
30365         * dlfcn/Makefile (tests): Add bug-dl-leaf.
30366         (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
30367         ($(objpfx)bug-dl-leaf): New rule.
30368         ($(objpfx)bug-dl-leaf.so): Likewise.
30369         ($(objpfx)bug-dl-leaf.out): Likewise.
30370         ($(objpfx)bug-dl-leaf-lib.so): Likewise.
30371         ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
30372         * dlfcn/bug-dl-leaf.c: New test.
30373         * dlfcn/bug-dl-leaf-lib.c: Likewise.
30374         * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
30375         * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
30376         (dlclose): Likewise.
30377         (dlmopen): Likewise.
30379 2013-08-27  Roland McGrath  <roland@hack.frob.com>
30381         * include/netdb.h [!_ISOMAC]:
30382         Don't include <tls.h>.
30383         (h_errno, __libc_h_errno): Move declaration and macros out of
30384         [_LIBC_REENTRANT].
30386         * include/resolv.h [_RESOLV_H_]:
30387         Don't include <tls.h>.
30388         (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
30389         * resolv/res_libc.c: Don't include <tls.h>.
30390         (_res): Use __attribute__ ((nocommon)) in place of
30391         __attribute__ ((section (".bss"))).
30393         * Makefile ($(common-objpfx)linkobj/libc_pic.a):
30394         If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
30396         * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
30398         * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
30399         only under [SIOCGIFCONF && SIOCGIFNETMASK].
30401         * resolv/res_mkquery.c: Include <sys/time.h>.
30403         * inet/ifreq.c: Moved to ...
30404         * sysdeps/unix/ifreq.c: ... here.
30405         * inet/ifreq.c: New file, true stub version.
30407         * socket/sa_len.c: New file.
30408         * socket/Makefile (aux): Add it.
30409         * sysdeps/unix/sysv/linux/Makefile
30410         [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
30411         * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
30412         and #include <socket/sa_len.c>.
30413         * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
30414         HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
30416         * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
30417         * bits/socket.h: ... here.
30419         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
30420         Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
30421         (SOCK_MAX, SOCK_TYPE_MASK): New macros.
30423 2013-08-27  Andreas Schwab  <schwab@suse.de>
30425         [BZ #15736]
30426         * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
30427         * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
30428         (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
30429         * string/test-strcasecmp.c (test_main): Run tests in several
30430         locales.
30431         * string/test-strncasecmp.c (test_main): Likewise.
30433         * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
30434         (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
30435         to __strcasecmp_nonascii and __strncasecmp_nonascii.
30436         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
30437         (__strncasecmp_ssse3) [PIC]: Likewise.
30439 2013-08-26  Roland McGrath  <roland@hack.frob.com>
30441         * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
30443         * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
30444         instead of explicitly declaring xdecrypt.
30445         * nis/nss_nis/nis-publickey.c: Likewise.
30447 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
30449         [BZ #15890]
30450         * nscd/aicache.c: Include res_hconf.h.
30451         (addhstaiX): Initialize res_hconf.
30453 2013-08-26  Andreas Schwab  <schwab@suse.de>
30455         * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
30456         ($(objpfx)tst-tls-atexit): Add dependencies here instead.
30458 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
30460         * nscd/aicache.c (addhstaiX): Fix indentation.
30462 2013-08-25  Mike Frysinger  <vapier@gentoo.org>
30464         * configure.ac: Quote $build_pt_chown test.
30465         * configure: Regenerated.
30467 2013-08-23  Joseph Myers  <joseph@codesourcery.com>
30469         [BZ #15532]
30470         * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
30471         * math/s_cexpf.c (__cexpf): Likewise.
30472         * math/s_cexpl.c (__cexpl): Likewise.
30473         * math/libm-test.inc (cexp_test_data): Correct expected return
30474         value for NaN + i0.  Add another test.
30476 2013-08-22  David S. Miller  <davem@davemloft.net>
30478         * po/ca.po: Update Catalan translation from translation project.
30479         * po/uk.po: Add Ukrainian translations from translation project.
30481 2013-08-21  Joseph Myers  <joseph@codesourcery.com>
30483         [BZ #15797]
30484         * math/s_fdim.c (__fdim): Check for infinite arguments if result
30485         is infinite, not alongside NaN test.
30486         * math/s_fdimf.c (__fdimf): Likewise.
30487         * math/s_fdiml.c (__fdiml): Likewise.
30488         * math/libm-test.inc (fdim_test_data): Add more tests.  Test that
30489         errno is unchanged.
30491 2013-08-21   Ondřej Bílka  <neleai@seznam.cz>
30493         * argp/argp-help.c: Fix typos.
30494         * crypt/speeds.c: Likewise.
30495         * csu/check_fds.c: Likewise.
30496         * elf/dl-load.c: Likewise.
30497         * elf/dl-open.c: Likewise.
30498         * elf/reldep3.c: Likewise.
30499         * elf/reldep.c: Likewise.
30500         * elf/sprof.c: Likewise.
30501         * iconv/iconv_charmap.c: Likewise.
30502         * iconv/skeleton.c: Likewise.
30503         * iconv/strtab.c: Likewise.
30504         * io/lockf64.c: Likewise.
30505         * libio/libioP.h: Likewise.
30506         * resolv/gai_notify.c: Likewise.
30507         * resolv/ns_name.c: Likewise.
30508         * resolv/ns_samedomain.c: Likewise.
30509         * resolv/res_send.c: Likewise.
30510         * stdlib/random.c: Likewise.
30511         * sunrpc/rpc/xdr.h: Likewise.
30512         * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
30513         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
30514         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
30515         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
30516         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
30517         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
30518         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
30519         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
30520         * sysdeps/mach/hurd/check_fds.c: Likewise.
30521         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
30522         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
30523         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
30524         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
30525         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
30526         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
30527         * sysdeps/pthread/aio_notify.c: Likewise.
30528         * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
30529         * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
30530         * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
30531         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
30532         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
30534 2013-08-21  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
30536         * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
30537         version if bit_Slow_SSE4_2 is set.
30538         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
30539         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
30541 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30543         [BZ #15867]
30544         * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
30545         trampoline stack frame information.
30546         * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
30547         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
30548         (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
30549         (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
30550         (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
30551         * sysdeps/unix/sysv/linux/powerpc/init-first.c
30552         (_libc_vdso_platform_setup): Initialize the signal trampolines.
30553         * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
30554         sa_flags value.
30555         * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
30556         interrupting a syscall and set with option SA_SIGINFO.
30558 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
30560         [BZ #15531]
30561         * math/s_cproj.c (__cproj): Only return an infinity if one part of
30562         argument is infinite.
30563         * math/s_cprojf.c (__cprojf): Likewise.
30564         * math/s_cprojl.c (__cprojl): Likewise.
30565         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
30566         * math/libm-test.inc (cproj_test_data): Add more tests.
30568         * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
30570         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
30571         [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
30572         size.  Use __ffs to determine corresponding shift.
30574 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
30575             Roland McGrath  <roland@hack.frob.com>
30577         * Makefile (INSTALL): Remove trailing blank lines from output of
30578         makeinfo.
30580 2013-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
30582         * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
30583         Align 32 bit compat elf_greg to 8 bytes.
30585 2013-08-20  Andreas Arnez  <arnez@linux.vnet.ibm.com>
30587         * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
30589 2013-08-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
30591         * string/strcoll_l.c (coll_seq): New structure.
30592         (get_next_seq_cached): New function.
30593         (get_next_seq): New function.
30594         (do_compare): New function.
30595         (STRCOLL): Use GNU style definition.  Simplify implementation
30596         by using get_next_seq, get_next_seq_cached and do_compare.
30598 2013-08-16  Florian Weimer  <fweimer@redhat.com>
30600         [BZ #14699]
30601         CVE-2013-4237
30602         * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
30603         member.
30604         * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
30605         member.
30606         * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
30607         * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
30608         Return delayed error code.  Remove GETDENTS_64BIT_ALIGNED
30609         conditional.
30610         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
30611         GETDENTS_64BIT_ALIGNED.
30612         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
30613         * manual/filesys.texi (Reading/Closing Directory): Document
30614         ENAMETOOLONG return value of readdir_r.  Recommend readdir more
30615         strongly.
30616         * manual/conf.texi (Limits for Files): Add portability note to
30617         NAME_MAX, PATH_MAX.
30618         (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
30620 2013-08-13  Andreas Schwab  <schwab@suse.de>
30622         [BZ #15749]
30623         * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
30624         of fabs.
30625         * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
30626         LDBL_MAX_EXP >= 16384]: Add tests for it.
30628 2013-08-12  David S. Miller  <davem@davemloft.net>
30630         * version.h (RELEASE): Set to "development".
30631         (VERSION): Set to "2.18.90".
30632         * NEWS: Add 2.19 section.
30634 2013-08-03  David S. Miller  <davem@davemloft.net>
30636         * po/ko.po: Update Korean translation from translation project.
30638 2013-08-01  David S. Miller  <davem@davemloft.net>
30640         * manual/contrib.texi: Update entry for Siddhesh Poyarekar.  Add
30641         entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
30642         Bilka.
30644 2013-07-30  David S. Miller  <davem@davemloft.net>
30646         * po/fr.po: Update French translation from translation project.
30648 2013-07-28  David S. Miller  <davem@davemloft.net>
30650         * po/cs.po: Update Czech translation from translation project.
30652         * po/sv.po: Update Swedish translation from translation project.
30654 2013-07-27  David S. Miller  <davem@davemloft.net>
30656         * po/eo.po: Update Esperanto translation from translation project.
30658         * po/vi.po: Update Vietnamese translation from translation project.
30660         * po/de.po: Update German translation from translation project.
30662 2013-07-26  David S. Miller  <davem@davemloft.net>
30664         * po/bg.po: Update Bulgarian translation from translation project.
30666         * po/nl.po: Update Dutch translation from translation project.
30667         * po/pl.po: Update Polish translation from translation project.
30668         * po/ru.po: Update Russian translation from translation project.
30670 2013-07-24  David S. Miller  <davem@davemloft.net>
30672         * po/libc.pot: Update.
30674 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30676         * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
30677         variable page size.
30678         * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
30679         * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
30680         * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
30682 2013-07-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
30684         * sysdeps/s390/fpu/libm-test-ulps: Refresh.
30686 2013-07-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
30687             Andreas Schwab  <schwab@suse.de>
30688             Roland McGrath  <roland@hack.frob.com>
30689             Joseph Myers  <joseph@codesourcery.com>
30690             Carlos O'Donell  <carlos@redhat.com>
30692         [BZ #15755]
30693         * config.h.in: Define HAVE_PT_CHOWN.
30694         * config.make.in (build-pt-chown): New variable.
30695         * configure.in (--enable-pt_chown): New configure option.
30696         * configure: Regenerate.
30697         * login/Makefile: Include Makeconfig.  Build pt_chown only if
30698         build-pt-chown is enabled.
30699         * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
30700         pt_chown to fix pty ownership.
30701         * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
30702         CLOSE_ALL_FDS.
30703         * manual/install.texi (Configuring and compiling): Mention
30704         --enable-pt_chown. Add @findex for grantpt.
30705         * INSTALL: Regenerate.
30707 2013-07-20  David S. Miller  <davem@davemloft.net>
30709         * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
30710         difference between 32-bit and 64-bit.
30712 2013-07-15  Carlos O'Donell  <carlos@redhat.com>
30714         [BZ #15711]
30715         * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
30716         Avoid system header dependency with -ffreestanding.
30717         ($(objpfx)bits/syscall%d): Likewise.
30719 2013-07-13  David S. Miller  <davem@davemloft.net>
30721         * math/libm-test.inc (casin_test_data): Annotate more cases of missing
30722         underflows from atanl/atan2l due to bug 15319.
30723         (casinh_test_data): Likewise.
30725 2013-07-07  David S. Miller  <davem@davemloft.net>
30727         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
30729 2013-07-05  Jeroen Albers  <_jeroen_@yahoo.com>
30731         * sysdeps/i386/fpu/libm-test-ulps: Update.
30732         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30734 2013-07-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
30736         * configure.in (--enable-lock-elision): Fix message text.
30737         * INSTALL: Regenerate.
30738         * configure: Regenerate.
30740 2013-07-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30742         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
30744 2013-07-03  Andreas Jaeger  <aj@suse.de>
30746         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
30747         define.
30748         (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
30749         (ptrace_peeksiginfo_args): Add.
30750         (__ptrace_peeksiginfo_flags): Add.
30751         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
30752         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
30753         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
30755 2013-07-03  Allan McRae  <allan@archlinux.org>
30757         * sysdeps/i386/fpu/libm-test-ulps: Update.
30759 2013-07-02  David S. Miller  <davem@davemloft.net>
30761         * sysdeps/sparc/fpu/libm-test-ulps: Update.
30763 2013-07-02  Markus Trippelsdorf  <markus@trippelsdorf.de>
30765         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
30767 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
30769         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
30770         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30772 2013-07-02  Andi Kleen <ak@linux.intel.com>
30774         * config.h.in (ENABLE_LOCK_ELISION): Add.
30775         * configure.in (--enable-lock-elision): Add option.
30776         * manual/install.texi: Document --enable lock elision.
30777         * configure: Regenerate
30778         * INSTALL: Regenerate.
30780 2013-07-02  H.J. Lu  <hongjiu.lu@intel.com>
30782         * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
30783         SSE4.2 strcasecmp for libc.a.
30784         * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
30786 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
30788         [BZ #13304]
30789         * soft-fp/op-common.h (_FP_FMA): New macro.
30790         * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
30791         (_FP_MUL_MEAT_DW_1_imm): Likewise.  Split out of ...
30792         (_FP_MUL_MEAT_1_imm): ... here.
30793         (_FP_MUL_MEAT_DW_1_wide): New macro.  Split out of ...
30794         (_FP_MUL_MEAT_1_wide): ... here.
30795         (_FP_MUL_MEAT_DW_1_hard): Likewise.  Split out of ...
30796         (_FP_MUL_MEAT_1_hard): ... here.
30797         * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
30798         (_FP_MUL_MEAT_DW_2_wide): Likewise.  Split out of ...
30799         (_FP_MUL_MEAT_2_wide): ... here.
30800         (_FP_MUL_MEAT_DW_2_wide_3mul): New macro.  Split out of ...
30801         (_FP_MUL_MEAT_2_wide_3mul): ... here.
30802         (_FP_MUL_MEAT_DW_2_gmp): New macro.  Split out of ...
30803         (_FP_MUL_MEAT_2_gmp): ... here.
30804         * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
30805         (_FP_MUL_MEAT_DW_4_wide): Likewise.  Split out of ...
30806         (_FP_MUL_MEAT_4_wide): ... here.
30807         (_FP_MUL_MEAT_DW_4_gmp): New macro.  Split out of ...
30808         (_FP_MUL_MEAT_4_gmp): ... here.
30809         * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
30810         (_FP_WFRACBITS_DW_S): Likewise.
30811         (_FP_WFRACXBITS_DW_S): Likewise.
30812         (_FP_HIGHBIT_DW_S): Likewise.
30813         (FP_FMA_S): Likewise.
30814         (_FP_FRAC_HIGH_DW_S): Likewise.
30815         * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
30816         (_FP_WFRACBITS_DW_D): Likewise.
30817         (_FP_WFRACXBITS_DW_D): Likewise.
30818         (_FP_HIGHBIT_DW_D): Likewise.
30819         (FP_FMA_D): Likewise.
30820         (_FP_FRAC_HIGH_DW_D): Likewise.
30821         * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
30822         (_FP_WFRACBITS_DW_E): Likewise.
30823         (_FP_WFRACXBITS_DW_E): Likewise.
30824         (_FP_HIGHBIT_DW_E): Likewise.
30825         (FP_FMA_E): Likewise.
30826         (_FP_FRAC_HIGH_DW_E): Likewise.
30827         * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
30828         (_FP_WFRACBITS_DW_Q): Likewise.
30829         (_FP_WFRACXBITS_DW_Q): Likewise.
30830         (_FP_HIGHBIT_DW_Q): Likewise.
30831         (FP_FMA_Q): Likewise.
30832         (_FP_FRAC_HIGH_DW_Q): Likewise.
30833         * soft-fp/fmasf4.c: New file.
30834         * soft-fp/fmadf4.c: Likewise.
30835         * soft-fp/fmatf4.c: Likewise.
30837 2013-06-28  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
30839         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
30840         bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
30841         Silvermont.
30842         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
30843         macro.
30844         (index_Slow_SSE4_2): Likewise.
30845         (index_Prefer_PMINUB_for_stringop): Likewise.
30846         * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
30847         bit_Slow_SSE4_2 is set.
30848         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
30849         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
30851 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
30853         * sysdeps/powerpc/Makefile: Add comment about generating an offset to
30854         rtld_global._dl_hwcap2.
30855         * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
30856         POWER8.
30857         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
30858         POWER8 feature descriptions defined in _dl_hwcap2.
30859         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
30860         string handling for POWER8 feature bits.
30861         (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
30862         (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
30863         _dl_powerpc_cap_flags.
30864         (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
30865         * sysdeps/powerpc/rtld-global-offsets.sym
30866         (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
30867         _dl_hwcap2 in the rtld_global_ro structure.
30869 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
30871         * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
30872         hardware capabilities in support of AT_HWCAP2.
30873         (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
30874         * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
30875         GLRO(dl_hwcap2).
30876         (_dl_show_auxv): Add support for calling _dl_procinfo to display
30877         AT_HWCAP2.  If a platform doesn't chose to handle displaying AT_HWCAP2
30878         explicitly the unknown a_type display mechanism is used.
30879         * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
30880         * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
30881         struct member.
30882         * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
30883         to macro prototype for AT_HWCAP2 support.
30884         * sysdeps/i386/dl-procinfo.h: Likewise.
30885         * sysdeps/s390/dl-procinfo.h: Likewise.
30886         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
30887         macro prototype for AT_HWCAP2 support.  Make WORD unsigned long int
30888         rather than signed int.  Stub in handler for TYPE == AT_HWCAP2 to
30889         return -1 for unknown a_type display fallback.
30890         * sysdeps/sparc/dl-procinfo.h: Likewise.
30891         * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
30892         * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
30894 2013-06-28  Joseph Myers  <joseph@codesourcery.com>
30896         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
30897         instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
30899 2013-06-28  Pierre Ynard  <linkfanel@yahoo.fr>
30901         [BZ #12492]
30902         * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
30903         mprotect making __stack_prot writable.
30905 2013-06-28  Nathan Froyd  <froydnj@codesourcery.com>
30906             Joseph Myers  <joseph@codesourcery.com>
30908         * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
30909         as being properly aligned.
30911 2013-06-28  Maciej W. Rozycki  <macro@codesourcery.com>
30913         * dlfcn/modstatic5.c: New file.
30914         * dlfcn/tststatic5.c: New file.
30915         * dlfcn/Makefile (tests): Add tststatic5.
30916         (tests-static): Likewise.
30917         (modules-names): Add modstatic5.
30918         (tststatic5-ENV): New variable.
30919         ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
30921         [BZ #15022]
30922         * elf/dl-support.c (_dl_main_map): New variable.
30923         (_dl_ns): Use it to initialize [LM_ID_BASE] element.
30924         (_dl_nns, _dl_load_adds): Set to 1.
30925         (_dl_initial_searchlist): Refer to _dl_main_map.
30926         (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
30927         * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
30928         call to _dl_get_origin.
30929         * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
30930         around call_map.
30931         (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
30932         * dlfcn/modstatic3.c: New file.
30933         * dlfcn/tststatic3.c: New file.
30934         * dlfcn/tststatic4.c: New file.
30935         * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
30936         (tests-static): Likewise.
30937         (modules-names): Add modstatic3.
30938         (tststatic3-ENV, tststatic4-ENV): New variables.
30939         ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
30940         ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
30942 2013-06-26  Joseph Myers  <joseph@codesourcery.com>
30944         * configure.in (CC): Require GCC version 4.4 or later.
30945         * configure: Regenerated.
30946         * manual/install.texi (Tools for Compilation): Update GCC version
30947         requirement.
30948         * INSTALL: Regenerated.
30950 2013-06-26  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
30952         [BZ #15674]
30953         * string/test-memcmp.c (check2): New.
30954         (main): Call check2.
30956         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
30958 2013-06-26  Maciej W. Rozycki  <macro@codesourcery.com>
30960         [BZ #15022]
30961         * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
30962         over to...
30963         (dl_open_worker) [!SHARED]: ... here.
30965 2013-06-26  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
30967         * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
30969 2013-06-25  Richard Henderson  <rth@redhat.com>
30971         * locale/programs/locarchive.c: Include <libc-internal.h>
30973 2013-06-25  Joseph Myers  <joseph@codesourcery.com>
30975         * manual/texinfo.tex: Update to version 2013-06-21.17, with
30976         trailing whitespace removed.
30978 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
30980         [BZ #10283]
30981         * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
30982         * locale/programs/locarchive.c: Include libc-mmap.h.
30983         (prepare_address_space): Take two new outputs (the mmap base and len).
30984         Align p to MAP_FIXED_ALIGNMENT.  Set mmap base and len to the right
30985         values.
30986         (create_archive): Declare new mmap base and len values for
30987         prepare_address_space, and store the result in ah.
30988         (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
30989         (enlarge_archive): If ah->mmap_base is not NULL, use that and
30990         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
30991         Declare new mmap base and len values for
30992         prepare_address_space, and store the result in new_ah.
30993         (open_archive): Declare new mmap base and len values for
30994         prepare_address_space, and store the result in ah.
30995         (close_archive): If ah->mmap_base is not NULL, use that and
30996         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
30997         * sysdeps/generic/libc-mmap.h: New file.
30999 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
31001         * include/libc-internal.h (ALIGN_DOWN): New helper macro.
31002         (ALIGN_UP): Likewise.
31003         (PTR_ALIGN_DOWN): Likewise.
31004         (PTR_ALIGN_UP): Likewise.
31006 2013-06-24  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
31008         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
31009         entry mapped to PPC_PLATFORM_POWER8.
31010         * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
31011         POWER8.
31012         (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
31013         (_dl_string_platform): Add case for exporting platform position for
31014         POWER8.
31015         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
31016         search path to sysdeps/powerpc/powerpc32/power8 directory.
31017         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
31018         search path to sysdeps/powerpc/powerpc64/power8 directory.
31019         * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
31020         power7 directories.
31021         * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
31022         power7 directories.
31024 2013-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
31026         * INSTALL: Regenerate.
31028         * nscd/connections.c (nscd_init): Fix comment.
31030 2013-06-22  Joseph Myers  <joseph@codesourcery.com>
31032         * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
31034         [BZ #15667]
31035         * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
31036         to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
31038 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
31040         * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
31041         DL_DST_REQ_STATIC.
31042         (DL_DST_REQ_STATIC): Remove macro.
31044 2013-06-21  Joseph Myers  <joseph@codesourcery.com>
31046         [BZ #7006]
31047         * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
31048         with a shift of 0 bits.
31050 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
31052         * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
31053         $(tststatic-ENV).
31055 2013-06-21  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
31057         [BZ #15655]
31058         * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
31060 2013-06-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31062         * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
31063         * configure.in (libc_cv_cc_loop_to_function): Check if compiler
31064         accepts -fno-tree-loop-distribute-patterns.
31065         * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
31066         * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
31067         recursive call.
31068         * string/memset.c (memset): Likewise.
31069         * string/test-memmove.c (simple_memmove): Disable loop transformation
31070         to library calls.
31071         * string/test-memset.c (simple_memset): Likewise.
31072         * benchtests/bench-memmove.c (simple_memmove): Likewise.
31073         * benchtests/bench-memset.c (simple_memset): Likewise.
31074         * configure: Regenerated.
31076 2013-06-20  Joseph Myers  <joseph@codesourcery.com>
31078         * math/test-misc.c (main): Ignore fesetround failure when failures
31079         of subsequent rounding tests would be ignored.
31081         [BZ #15654]
31082         * math/fedisblxcpt.c (fedisableexcept): Return 0.
31083         * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
31084         * math/fegetenv.c (__fegetenv): Return 0.
31085         * math/fegetexcept.c (fegetexcept): Return 0.
31086         * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
31087         FE_TONEAREST.
31088         * math/feholdexcpt.c (feholdexcept): Return 0.
31089         * math/fesetenv.c (__fesetenv): Return 0.
31090         * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
31091         argument FE_TONEAREST.
31092         * math/feupdateenv.c (__feupdateenv): Return 0.
31093         * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
31095 2013-06-18  Roland McGrath  <roland@hack.frob.com>
31097         * elf/rtld-Rules (rtld-compile-command.S): New variable.
31098         (rtld-compile-command.s, rtld-compile-command.c): New variables.
31099         ($(objpfx)rtld-%.os rules): Use them.
31101 2013-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31103         * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
31104         fields.
31106 2013-06-17  Roland McGrath  <roland@hack.frob.com>
31108         * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
31109         length of target pattern, then descending length of dependency pattern.
31110         * configure.in (AWK): Require gawk 3.1.2 or newer.
31111         * manual/install.texi (Tools for Compilation): Say that we do.
31112         * configure: Regenerated.
31114         * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
31115         ($(common-objpfx)sysd-rules): Replace shell logic with running ...
31116         * scripts/sysd-rules.awk: ... this new script.
31117         * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
31118         than a glob-style pattern.
31120 2013-06-17  Joseph Myers  <joseph@codesourcery.com>
31122         * math/test-misc.c (main): Do not treat incorrectly rounded
31123         conversions as failure unless ROUNDING_TESTS passes.
31125 2013-06-15  Joseph Myers  <joseph@codesourcery.com>
31127         [BZ #15631]
31128         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
31129         restore exception state around main square root computation, then
31130         check for inexactness explicitly.
31132         * math/libm-test.inc (fma_test_data): Add another test.
31134 2013-06-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
31136         * manual/threads.texi (Non-POSIX Extensions): New document
31137         node.  Document pthread_getattr_default_np and
31138         pthread_setattr_default_np.
31140         * Versions.def (libpthread): Add GLIBC_2.18.
31141         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
31142         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
31143         Likewise.
31144         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
31145         Likewise.
31146         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
31147         Likewise.
31148         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
31149         Likewise.
31150         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
31151         Likewise.
31152         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
31153         Likewise.
31154         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
31155         Likewise.
31156         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
31157         Likewise.
31158         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
31159         Likewise.
31161 2013-06-14  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
31163         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
31164         Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
31166 2013-06-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
31167             H.J. Lu  <hjl.tools@gmail.com>
31169         [BZ #15627]
31170         * sysdeps/x86_64/rtld-memset.c: Remove file.
31171         * sysdeps/x86_64/rtld-memset.S: New file.
31173 2013-06-14  Joseph Myers  <joseph@codesourcery.com>
31175         * stdlib/tst-strtod-round.c: Include <math-tests.h>.
31176         (test_in_one_mode): Take arguments for whether the rounding mode
31177         is supported for each floating-point type.
31178         (do_test): Pass new arguments to test_in_one_mode using
31179         ROUNDING_TESTS.
31181 2013-06-13  Roland McGrath  <roland@hack.frob.com>
31183         * posix/tst-waitid.c (do_test): Distinguish different instances of
31184         stopped/continued in CHECK_SIGCHLD uses.  Insert a delay between
31185         sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
31186         before entering the kernel for waitpid.
31188 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
31190         * NEWS: Fix note on clock function precision.  Text by Roland
31191         McGrath.
31193 2013-06-13  Roland McGrath  <roland@hack.frob.com>
31195         * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
31196         it into place only when and if the sanity check passes.
31198 2013-06-13  Joseph Myers  <joseph@codesourcery.com>
31200         * stdlib/gen-tst-strtod-round.c (round_str): Always generate
31201         output for whether conversion result is exact.  Take argument
31202         indicating whether type is IBM long double.
31203         (round_for_all): Change need_exact field to ibm_ld.
31204         * stdlib/tst-strtod-round.c (struct exactness): New type.
31205         (struct test): Change bool ld_ok field to struct exactness exact.
31206         (TEST): Update all definitions for change to field.
31207         (tests): Regenerate array contents.
31208         (test_in_one_mode): Take pointer to new field instead of old ld_ok
31209         field value.  Check for IBM long double here.
31210         (do_test): Update calls to test_in_one_mode.
31212 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
31214         [BZ #12515]
31215         * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
31216         CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
31218 2013-06-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31220         [BZ #15605]
31221         * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
31222         generated by the compiler on loop optimizations.
31223         * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
31224         general definitions.
31226 2013-06-12  Joseph Myers  <joseph@codesourcery.com>
31228         * math/bug-nextafter.c: Include <math-tests.h>.
31229         (main): Only test for exceptions if EXCEPTION_TESTS is true for
31230         the relevant type.
31231         * math/bug-nexttoward.c: Include <math-tests.h>.
31232         (main): Only test for exceptions if EXCEPTION_TESTS is true for
31233         the relevant type.
31234         * math/test-misc.c: Include <math-tests.h>.
31235         (main): Only test for exceptions if EXCEPTION_TESTS is true for
31236         the relevant type.
31238 2013-06-12  Andreas Jaeger  <aj@suse.de>
31240         * po/ia.po: Update Interlingua translation from translation
31241         project.
31243 2013-06-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
31245         * include/fenv.h: Include stdbool.h.
31246         (struct rm_ctx): New structure.
31247         * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
31248         Define macro.
31249         (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
31250         (SET_RESTORE_ROUNDF): Likewise.
31251         (SET_RESTORE_ROUNDL): Likewise.
31252         (SET_RESTORE_ROUND_NOEX): Likewise.
31253         (SET_RESTORE_ROUND_NOEXF): Likewise.
31254         (SET_RESTORE_ROUND_NOEXL): Likewise.
31255         (SET_RESTORE_ROUND_53BIT): Likewise.
31256         [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
31257         (libc_feresetround_noexf_ctx): Likewise.
31258         (libc_feresetround_noexl_ctx): Likewise.
31259         (libc_feholdsetround_53bit_ctx): Likewise.
31260         (libc_feresetround_53bit_ctx): Likewise.
31261         * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
31262         (libc_feholdexcept_setround_sse_ctx): New function.
31263         (libc_fesetenv_sse_ctx): Likewise.
31264         (libc_feupdateenv_sse_ctx): Likewise.
31265         (libc_feholdexcept_setround_387_prec_ctx): Likewise.
31266         (libc_feholdexcept_setround_387_ctx): Likewise.
31267         (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
31268         (libc_feholdsetround_387_prec_ctx): Likewise.
31269         (libc_feholdsetround_387_ctx): Likewise.
31270         (libc_feholdsetround_387_53bit_ctx): Likewise.
31271         (libc_feholdsetround_sse_ctx): Likewise.
31272         (libc_feresetround_sse_ctx): Likewise.
31273         (libc_feresetround_387_ctx): Likewise.
31274         (libc_feupdateenv_387_ctx): Likewise.
31275         (libc_feholdexcept_setroundf_ctx): Define macro.
31276         (libc_fesetenvf_ctx): Likewise.
31277         (libc_feupdateenvf_ctx): Likewise.
31278         (libc_feholdsetroundf_ctx): Likewise.
31279         (libc_feresetroundf_ctx): Likewise.
31280         (libc_feholdexcept_setround_ctx): Likewise.
31281         (libc_fesetenv_ctx): Likewise.
31282         (libc_feupdateenv_ctx): Likewise.
31283         (libc_feholdsetround_ctx): Likewise.
31284         (libc_feresetround_ctx): Likewise.
31285         (libc_feholdexcept_setroundl_ctx): Likewise.
31286         (libc_feupdateenvl_ctx): Likewise.
31287         (libc_feholdsetroundl_ctx): Likewise.
31288         (libc_feresetroundl_ctx): Likewise.
31289         [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
31290         (libc_feresetround_53bit_ctx): Likewise.
31292 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
31294         * locale/iso-639.def: Convert to UTF-8.
31296 2013-06-11  Joseph Myers  <joseph@codesourcery.com>
31298         * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
31299         (EXCEPTION_TESTS_double): Likewise.
31300         (EXCEPTION_TESTS_long_double): Likewise.
31301         (EXCEPTION_TESTS): Likewise.
31302         * math/libm-test.inc (test_exceptions): Only test exceptions if
31303         EXCEPTION_TESTS (FLOAT).
31305 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
31307         * benchtests/Makefile (string-bench): Add strcpy_chk and
31308         stpcpy_chk.
31309         * benchtests/bench-stpcpy_chk-ifunc.c: New file.
31310         * benchtests/bench-stpcpy_chk.c: New file.
31311         * benchtests/bench-strcpy_chk-ifunc.c: New file.
31312         * benchtests/bench-strcpy_chk.c: New file.
31313         * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
31314         code.
31315         (do_test): Likewise.
31317 2013-06-11  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
31319         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
31320         ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
31321         * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
31322         with tabs where appropriate.
31323         [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
31324         dl-procinfo.h.
31325         [PPC_PLATFORM_PPC440]: Likewise.
31326         [PPC_PLATFORM_PPC464]: Likewise.
31327         [PPC_PLATFORM_PPC476]: Likewise.
31328         (_dl_string_platform): Add support for detecting ppc405, ppc440,
31329         ppc464, and ppc476 platform strings merging from ports/
31330         dl-procinfo.h.
31332 2013-06-11  Andreas Schwab  <schwab@suse.de>
31334         [BZ #14991]
31335         * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
31336         (from_ucs4_idx): Regenerate.
31337         (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
31338         (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
31339         (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
31340         (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
31341         (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
31342         (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
31343         (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
31344         (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
31345         from FROM_LOOP and TO_LOOP specific macros.
31346         (BODY): Handle combining characters.
31347         * iconvdata/BIG5HKSCS.irreversible: Update.
31348         * iconvdata/BIG5HKSCS.precomposed: New file.
31349         * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
31350         characters.
31351         * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
31353 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
31355         * include/sys/time.h: Fix indentation and add copyright header.
31357         * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
31358         (do_test): Likewise.
31359         * string/test-memchr.c (do_one_test): Likewise.
31360         (do_test): Likewise.
31361         * string/test-memcmp.c (do_one_test): Likewise.
31362         (do_test): Likewise.
31363         * string/test-memcpy.c (do_one_test): Likewise.
31364         (do_test): Likewise.
31365         * string/test-memmem.c (do_one_test): Likewise.
31366         (do_test): Likewise.
31367         (do_random_tests): Likewise.
31368         * string/test-memmove.c (do_one_test): Likewise.
31369         (do_test): Likewise.
31370         * string/test-memset.c (do_one_test): Likewise.
31371         (do_test): Likewise.
31372         * string/test-rawmemchr.c (do_one_test): Likewise.
31373         (do_test): Likewise.
31374         * string/test-strcasecmp.c (do_one_test): Likewise.
31375         (do_test): Likewise.
31376         * string/test-strcasestr.c (do_one_test): Likewise.
31377         (do_test): Likewise.
31378         * string/test-strcat.c (do_one_test): Likewise.
31379         (do_test): Likewise.
31380         * string/test-strchr.c (do_one_test): Likewise.
31381         (do_test): Likewise.
31382         * string/test-strcmp.c (do_one_test): Likewise.
31383         (do_test): Likewise.
31384         * string/test-strcpy.c (do_one_test): Likewise.
31385         (do_test): Likewise.
31386         * string/test-string.h: Likewise.
31387         (test_init): Likewise.
31388         * string/test-strlen.c (do_one_test): Likewise.
31389         (do_test): Likewise.
31390         * string/test-strncasecmp.c (do_one_test): Likewise.
31391         (do_test): Likewise.
31392         * string/test-strncat.c (do_one_test): Likewise.
31393         (do_test): Likewise.
31394         * string/test-strncmp.c (do_one_test): Likewise.
31395         (do_test_limit): Likewise.
31396         (do_test): Likewise.
31397         * string/test-strncpy.c (do_one_test): Likewise.
31398         (do_test): Likewise.
31399         * string/test-strnlen.c (do_one_test): Likewise.
31400         (do_test): Likewise.
31401         * string/test-strpbrk.c (do_one_test): Likewise.
31402         (do_test): Likewise.
31403         * string/test-strrchr.c (do_one_test): Likewise.
31404         (do_test): Likewise.
31405         * string/test-strspn.c (do_one_test): Likewise.
31406         (do_test): Likewise.
31407         * string/test-strstr.c (do_one_test): Likewise.
31408         (do_test): Likewise.
31410         * benchtests/Makefile (string-bench): Add string benchmarks.
31411         * benchtests/bench-bcopy-ifunc.c: New file.
31412         * benchtests/bench-bcopy.c: New file.
31413         * benchtests/bench-bzero-ifunc.c: New file.
31414         * benchtests/bench-bzero.c: New file.
31415         * benchtests/bench-memccpy-ifunc.c: New file.
31416         * benchtests/bench-memccpy.c: New file.
31417         * benchtests/bench-memchr-ifunc.c: New file.
31418         * benchtests/bench-memchr.c: New file.
31419         * benchtests/bench-memcmp-ifunc.c: New file.
31420         * benchtests/bench-memcmp.c: New file.
31421         * benchtests/bench-memmem-ifunc.c: New file.
31422         * benchtests/bench-memmem.c: New file.
31423         * benchtests/bench-memmove-ifunc.c: New file.
31424         * benchtests/bench-memmove.c: New file.
31425         * benchtests/bench-mempcpy-ifunc.c: New file.
31426         * benchtests/bench-mempcpy.c: New file.
31427         * benchtests/bench-memset-ifunc.c: New file.
31428         * benchtests/bench-memset.c: New file.
31429         * benchtests/bench-rawmemchr-ifunc.c: New file.
31430         * benchtests/bench-rawmemchr.c: New file.
31431         * benchtests/bench-stpcpy-ifunc.c: New file.
31432         * benchtests/bench-stpcpy.c: New file.
31433         * benchtests/bench-stpncpy-ifunc.c: New file.
31434         * benchtests/bench-stpncpy.c: New file.
31435         * benchtests/bench-strcasecmp-ifunc.c: New file.
31436         * benchtests/bench-strcasecmp.c: New file.
31437         * benchtests/bench-strcasestr-ifunc.c: New file.
31438         * benchtests/bench-strcasestr.c: New file.
31439         * benchtests/bench-strcat-ifunc.c: New file.
31440         * benchtests/bench-strcat.c: New file.
31441         * benchtests/bench-strchr-ifunc.c: New file.
31442         * benchtests/bench-strchr.c: New file.
31443         * benchtests/bench-strchrnul-ifunc.c: New file.
31444         * benchtests/bench-strchrnul.c: New file.
31445         * benchtests/bench-strcmp-ifunc.c: New file.
31446         * benchtests/bench-strcmp.c: New file.
31447         * benchtests/bench-strcpy-ifunc.c: New file.
31448         * benchtests/bench-strcpy.c: New file.
31449         * benchtests/bench-strcspn-ifunc.c: New file.
31450         * benchtests/bench-strcspn.c: New file.
31451         * benchtests/bench-strlen-ifunc.c: New file.
31452         * benchtests/bench-strlen.c: New file.
31453         * benchtests/bench-strncasecmp-ifunc.c: New file.
31454         * benchtests/bench-strncasecmp.c: New file.
31455         * benchtests/bench-strncat-ifunc.c: New file.
31456         * benchtests/bench-strncat.c: New file.
31457         * benchtests/bench-strncmp-ifunc.c: New file.
31458         * benchtests/bench-strncmp.c: New file.
31459         * benchtests/bench-strncpy-ifunc.c: New file.
31460         * benchtests/bench-strncpy.c: New file.
31461         * benchtests/bench-strnlen-ifunc.c: New file.
31462         * benchtests/bench-strnlen.c: New file.
31463         * benchtests/bench-strpbrk-ifunc.c: New file.
31464         * benchtests/bench-strpbrk.c: New file.
31465         * benchtests/bench-strrchr-ifunc.c: New file.
31466         * benchtests/bench-strrchr.c: New file.
31467         * benchtests/bench-strspn-ifunc.c: New file.
31468         * benchtests/bench-strspn.c: New file.
31469         * benchtests/bench-strstr-ifunc.c: New file.
31470         * benchtests/bench-strstr.c: New file.
31472         * benchtests/Makefile: Disable parallel execution of targets.
31473         (string-bench): Add memcpy.
31474         (benchset): New variable to store a list of benchmark sets.
31475         (bench-func): Renamed from bench.
31476         (bench-set): New target.
31477         (bench): Depend on bench-func and bench-set.
31478         * benchtests/README: Add section on benchmark sets.
31479         * benchtests/bench-memcpy-ifunc.c: New file.
31480         * benchtests/bench-memcpy.c: New file.
31481         * benchtests/bench-string.h: New file.
31483 2013-06-11  Andreas Schwab  <schwab@suse.de>
31485         [BZ #15577]
31486         * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
31487         * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
31488         values in the triple.
31489         * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
31490         terminator in the group key.
31492 2013-06-11  Andreas Jaeger  <aj@suse.de>
31494         * po/zh_TW.po: Update Chinese (traditional) translation from
31495         translation project.
31497 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
31499         * include/time.h (__clock_gettime): Add libc_hidden_proto.
31500         * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
31501         __clock_getcpuclockid.  Add weak_alias and libc_hidden_def.
31502         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
31503         (clock_getcpuclockid): Likewise.
31504         * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
31505         Add weak_alias and libc_hidden_def.
31506         * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
31507         * rt/clock_gettime.c (clock_gettime): Rename to
31508         __clock_gettime.  Add weak_alias and libc_hidden_def.
31509         * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
31510         * rt/clock_nanosleep.c (clock_nanosleep): Rename to
31511         __clock_nanosleep.  Add weak_alias and libc_hidden_def.
31512         * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
31513         * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
31514         Likewise.
31515         * rt/clock_settime.c (clock_settime): Rename to
31516         __clock_settime.  Add weak_alias and libc_hidden_def.
31517         * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
31519 2013-06-10  Joseph Myers  <joseph@codesourcery.com>
31521         * mach/err_boot.sub: Remove trailing whitespace.
31522         * mach/err_ipc.sub: Likewise.
31523         * mach/err_mach.sub: Likewise.
31525         * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
31526         (ROUNDING_TESTS_double): Likewise.
31527         (ROUNDING_TESTS_long_double): Likewise.
31528         (ROUNDING_TESTS): Likewise.
31529         * math/libm-test.inc: Include <math-tests.h>.
31530         (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
31531         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
31532         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
31533         (IF_ROUND_INIT_FE_UPWARD): Likewise.
31535 2013-06-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
31537         * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
31538         of assigning.
31540 2013-06-08  Joseph Myers  <joseph@codesourcery.com>
31542         * sysdeps/gnu/errlist.awk: Do not generate space at end of
31543         otherwise empty TRANS lines.
31544         * sysdeps/gnu/errlist.c: Regenerated.
31546         * catgets/gencat.c (error_print): Use (void) in function
31547         definition.
31548         * crypt/crypt_util.c (__init_des): Likewise.
31549         * crypt/speeds.c (Stop): Likewise.
31550         (main): Likewise.
31551         * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
31552         * inet/ruserpass.c (token): Likewise.
31553         * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
31554         * intl/localealias.c (extend_alias_table): Likewise.
31555         * intl/plural-exp.c (init_germanic_plural): Likewise.
31556         * libio/fcloseall.c (__fcloseall): Likewise.
31557         * libio/genops.c (_IO_flush_all): Likewise.
31558         (_IO_flush_all_linebuffered): Likewise.
31559         (_IO_cleanup): Likewise.
31560         (_IO_iter_begin): Likewise.
31561         (_IO_iter_end): Likewise.
31562         (_IO_list_lock): Likewise.
31563         (_IO_list_unlock): Likewise.
31564         (_IO_list_resetlock): Likewise.
31565         * libio/getchar.c (getchar): Likewise.
31566         * libio/getchar_u.c (getchar_unlocked): Likewise.
31567         * libio/getwchar.c (getwchar): Likewise.
31568         * libio/getwchar_u.c (getwchar_unlocked): Likewise.
31569         * libio/oldstdfiles.c (_IO_check_libio): Likewise.
31570         * login/getpt.c (__getpt): Likewise.
31571         * login/tst-utmp.c (main): Likewise.
31572         * malloc/hooks.c (__malloc_check_init): Likewise.
31573         * malloc/malloc.c (__malloc_stats): Likewise.
31574         * malloc/mtrace.c (tr_break): Likewise.
31575         (mtrace): Likewise.
31576         (muntrace): Likewise.
31577         * misc/fstab.c (endfsent): Likewise.
31578         * misc/getclktck.c (__getclktck): Likewise.
31579         * misc/getdtsz.c (__getdtablesize): Likewise.
31580         * misc/gethostid.c (gethostid): Likewise.
31581         * misc/getpagesize.c (__getpagesize): Likewise.
31582         * misc/getsysstats.c (__get_nprocs_conf): Likewise.
31583         (__get_nprocs): Likewise.
31584         (__get_phys_pages): Likewise.
31585         (__get_avphys_pages): Likewise.
31586         * misc/getttyent.c (getttyent): Likewise.
31587         (setttyent): Likewise.
31588         (endttyent): Likewise.
31589         * misc/getusershell.c (getusershell): Likewise.
31590         (endusershell): Likewise.
31591         (setusershell): Likewise.
31592         (initshells): Likewise.
31593         * misc/hsearch.c (__hdestroy): Likewise.
31594         * misc/sync.c (sync): Likewise.
31595         * misc/syslog.c (closelog_internal): Likewise.
31596         (closelog): Likewise.
31597         * misc/ttyslot.c (ttyslot): Likewise.
31598         * misc/vhangup.c (vhangup): Likewise.
31599         * posix/fork.c (__fork): Likewise.
31600         * posix/getegid.c (__getegid): Likewise.
31601         * posix/geteuid.c (__geteuid): Likewise.
31602         * posix/getgid.c (__getgid): Likewise.
31603         * posix/getpid.c (__getpid): Likewise.
31604         * posix/getppid.c (__getppid): Likewise.
31605         * posix/getuid.c (__getuid): Likewise.
31606         * posix/pause.c (pause): Likewise.
31607         * posix/setpgrp.c (setpgrp): Likewise.
31608         * posix/setsid.c (__setsid): Likewise.
31609         * posix/test-vfork.c (noop): Likewise.
31610         * resolv/gethnamaddr.c (_endhtent): Likewise.
31611         (_gethtent): Likewise.
31612         (ht_endhostent): Likewise.
31613         (gethostent): Likewise.
31614         (dns_service): Likewise.
31615         * stdlib/drand48.c (drand48): Likewise.
31616         * stdlib/lrand48.c (lrand48): Likewise.
31617         * stdlib/mrand48.c (mrand48): Likewise.
31618         * stdlib/rand.c (rand): Likewise.
31619         * stdlib/random.c (__random): Likewise.
31620         * stdlib/setenv.c (clearenv): Likewise.
31621         * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
31622         * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
31623         * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
31624         * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
31625         (__get_nprocs): Likewise.
31626         (__get_phys_pages): Likewise.
31627         (__get_avphys_pages): Likewise.
31628         * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
31629         * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
31630         * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
31631         * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
31632         * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
31633         * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
31634         * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
31635         * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
31636         * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
31637         * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
31638         * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
31639         * sysdeps/mach/hurd/sync.c (sync): Likewise.
31640         * sysdeps/posix/clock.c (clock): Likewise.
31641         * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
31642         * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
31643         * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
31644         * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
31645         * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
31646         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
31647         (__get_nprocs_conf): Likewise.
31648         (__get_phys_pages): Likewise.
31649         (__get_avphys_pages): Likewise.
31650         * time/clock.c (clock): Likewise.
31651         * time/tzset.c (__tzname_max): Likewise.
31653 2013-06-07  Joseph Myers  <joseph@codesourcery.com>
31655         * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
31656         (__bswap_32): Do not use "register".
31657         * crypt/crypt.c (_ufc_doit_r): Likewise.
31658         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
31659         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
31660         * gmon/gmon.c (__monstartup): Likewise.
31661         * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
31662         * hurd/hurdmalloc.c (more_memory): Likewise.
31663         (malloc): Likewise.
31664         (free): Likewise.
31665         (realloc): Likewise.
31666         (malloc_fork_prepare): Likewise.
31667         (malloc_fork_parent): Likewise.
31668         (malloc_fork_child): Likewise.
31669         * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
31670         (_svcauth_des): Likewise.
31671         * inet/inet_lnaof.c (inet_lnaof): Likewise.
31672         * inet/inet_net.c (inet_network): Likewise.
31673         * inet/inet_netof.c (inet_netof): Likewise.
31674         * inet/rcmd.c (__validuser2_sa): Likewise.
31675         * io/fts.c (fts_open): Likewise.
31676         (fts_load): Likewise.
31677         (fts_close): Likewise.
31678         (fts_read): Likewise.
31679         (fts_children): Likewise.
31680         (fts_build): Likewise.
31681         (fts_stat): Likewise.
31682         (fts_sort): Likewise.
31683         (fts_alloc): Likewise.
31684         (fts_lfree): Likewise.
31685         * libio/fileops.c (_IO_new_file_xsputn): Likewise.
31686         (_IO_file_xsgetn): Likewise.
31687         (_IO_file_xsgetn_mmap): Likewise.
31688         * libio/iofopncook.c (_IO_cookie_read): Likewise.
31689         (_IO_cookie_write): Likewise.
31690         * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
31691         * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
31692         * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
31693         * malloc/obstack.c (_obstack_begin): Likewise.
31694         (_obstack_begin_1): Likewise.
31695         (_obstack_newchunk): Likewise.
31696         (_obstack_allocated_p): Likewise.
31697         (obstack_free): Likewise.
31698         (_obstack_memory_used): Likewise.
31699         * misc/getttyent.c (getttynam): Likewise.
31700         (getttyent): Likewise.
31701         (skip): Likewise.
31702         (value): Likewise.
31703         * misc/getusershell.c (initshells): Likewise.
31704         * misc/syslog.c (__vsyslog_chk): Likewise.
31705         * misc/ttyslot.c (ttyslot): Likewise.
31706         * nis/nis_hash.c (__nis_hash): Likewise.
31707         * posix/fnmatch_loop.c (FCT): Likewise.
31708         * posix/getconf.c (print_all): Likewise.
31709         (main): Likewise.
31710         * posix/getopt.c (exchange): Likewise.
31711         * posix/glob.c (globfree): Likewise.
31712         (prefix_array): Likewise.
31713         (__glob_pattern_type): Likewise.
31714         * resolv/arpa/nameser.h (NS_GET16): Likewise.
31715         (NS_GET32): Likewise.
31716         (NS_PUT16): Likewise.
31717         (NS_PUT32): Likewise.
31718         * resolv/gethnamaddr.c (getanswer): Likewise.
31719         (gethostbyname2): Likewise.
31720         (gethostbyaddr): Likewise.
31721         (_gethtent): Likewise.
31722         (_gethtbyname2): Likewise.
31723         (_gethtbyaddr): Likewise.
31724         * resolv/ns_print.c (dst_s_get_int16): Likewise.
31725         * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
31726         * resolv/res_init.c (__res_vinit): Likewise.
31727         (net_mask): Likewise.
31728         * resolv/res_mkquery.c (outchar): Likewise.
31729         (PRINT): Likewise.
31730         * stdio-common/printf_fp.c (outchar): Likewise.
31731         (PRINT): Likewise.
31732         * stdio-common/printf_fphex.c (outchar): Likewise.
31733         (PRINT): Likewise.
31734         * stdio-common/printf_size.c (outchar): Likewise.
31735         (PRINT): Likewise.
31736         * stdio-common/test_rdwr.c (main): Likewise.
31737         * stdio-common/tfformat.c (matches): Likewise.
31738         * stdio-common/vfprintf.c (outchar): Likewise.
31739         (printf_unknown): Likewise.
31740         (buffered_vfprintf): Likewise.
31741         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
31742         * stdio-common/xbug.c (AppendToBuffer): Likewise.
31743         (ReadFile): Likewise.
31744         * stdlib/qsort.c (SWAP): Likewise.
31745         (_quicksort): Likewise.
31746         * stdlib/setenv.c (__add_to_environ): Likewise.
31747         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
31748         * stdlib/strtol_l.c (__strtol_l): Likewise.
31749         * stdlib/tst-strtod.c (main): Likewise.
31750         * stdlib/tst-strtol.c (main): Likewise.
31751         * stdlib/tst-strtoll.c (main): Likewise.
31752         * string/bits/string2.h (__strcmp_cc): Likewise.
31753         (__strcmp_cg): Likewise.
31754         (__strcspn_c1): Likewise.
31755         (__strcspn_c2): Likewise.
31756         (__strcspn_c3): Likewise.
31757         (__strspn_c1): Likewise.
31758         (__strspn_c2): Likewise.
31759         (__strspn_c3): Likewise.
31760         (__strsep_1c): Likewise.
31761         (__strsep_2c): Likewise.
31762         (__strsep_3c): Likewise.
31763         * string/memccpy.c (__memccpy): Likewise.
31764         * string/stpcpy.c (__stpcpy): Likewise.
31765         * string/strcmp.c (strcmp): Likewise.
31766         * string/strrchr.c (strrchr): Likewise.
31767         * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
31768         Likewise.
31769         * sysdeps/mach/hurd/getcwd.c
31770         (_hurd_canonicalize_directory_name_internal): Likewise.
31771         * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
31772         * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
31773         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
31774         * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
31775         Likewise, in both definitions.
31776         * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
31777         definitions.
31778         [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
31779         64] (__bswap_64): Likewise.
31780         * time/test_time.c (main): Likewise.
31781         * time/tzfile.c (__tzfile_read): Likewise.
31782         (__tzfile_compute): Likewise.
31783         * time/tzset.c (__tzset_parse_tz): Likewise.
31784         (tzset_internal): Likewise.
31785         (compute_change): Likewise.
31786         * wcsmbs/wcscat.c (__wcscat): Likewise.
31787         * wcsmbs/wcschr.c (wcschr): Likewise.
31788         * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
31789         * wcsmbs/wcscspn.c (wcscspn): Likewise.
31790         * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
31791         * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
31792         * wcsmbs/wcsspn.c (wcsspn): Likewise.
31793         * wcsmbs/wcsstr.c (wcsstr): Likewise.
31794         * wcsmbs/wmemchr.c (wmemchr): Likewise.
31795         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
31796         * wcsmbs/wmemset.c (wmemset): Likewise.
31798 2013-06-06  Joseph Myers  <joseph@codesourcery.com>
31800         * scripts/config.guess: Update to version 2013-05-16.
31801         * scripts/config.sub: Update to version 2013-04-24.
31802         * scripts/install-sh: Update to version 2011-11-20.07.
31803         * scripts/mkinstalldirs: Update to version 2009-04-28.21.
31804         * scripts/move-if-change: Update to version 2012-01-06 07:23.
31806 2013-06-06   Ondřej Bílka  <neleai@seznam.cz>
31808         * debug/fgetws_u_chk.c: Fix leading whitespaces.
31809         * elf/sln.c: Likewise.
31810         * hurd/hurd/ioctl.h: Likewise.
31811         * hurd/hurdmalloc.c: Likewise.
31812         * hurd/xattr.c: Likewise.
31813         * include/shlib-compat.h: Likewise.
31814         * inet/ruserpass.c: Likewise.
31815         * libio/iofgets_u.c: Likewise.
31816         * libio/iofgetws_u.c: Likewise.
31817         * locale/programs/ld-identification.c: Likewise.
31818         * locale/programs/ld-time.c: Likewise.
31819         * mach/msg-destroy.c: Likewise.
31820         * nss/nss_files/files-netgrp.c: Likewise.
31821         * resolv/res_data.c: Likewise.
31822         * soft-fp/op-1.h: Likewise.
31823         * soft-fp/op-2.h: Likewise.
31824         * soft-fp/op-4.h: Likewise.
31825         * soft-fp/op-common.h: Likewise.
31826         * stdio-common/printf_fphex.c: Likewise.
31827         * stdlib/strtod_l.c: Likewise.
31828         * sunrpc/rpc/clnt.h: Likewise.
31829         * sysdeps/generic/framestate.c: Likewise.
31830         * sysdeps/i386/bsd-_setjmp.S: Likewise.
31831         * sysdeps/i386/bsd-setjmp.S: Likewise.
31832         * sysdeps/i386/__longjmp.S: Likewise.
31833         * sysdeps/i386/setjmp.S: Likewise.
31834         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
31835         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
31836         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
31837         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
31838         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
31839         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
31840         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
31841         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
31842         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
31843         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
31844         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
31845         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
31846         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
31847         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
31848         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
31849         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
31850         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
31851         * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
31852         * sysdeps/ieee754/support.c: Likewise.
31853         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
31854         * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
31855         * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
31856         * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
31857         * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
31858         * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
31859         * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
31860         * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
31861         * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
31862         * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
31863         * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
31864         * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
31865         * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
31866         * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
31867         * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
31868         * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
31869         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
31870         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
31872 2013-06-05  Ondřej Bílka  <neleai@seznam.cz>
31874         * posix/transbug.c: Remove executable mode.
31876 2013-06-05  Joseph Myers  <joseph@codesourcery.com>
31878         * crypt/speeds.c: Remove trailing whitespace.
31879         * dlfcn/default.c: Likewise.
31880         * elf/ifuncdep2.c: Likewise.
31881         * elf/ifuncmain1.c: Likewise.
31882         * elf/ifuncmain1vis.c: Likewise.
31883         * elf/testobj.h: Likewise.
31884         * elf/tst-stackguard1.c: Likewise.
31885         * gmon/sys/gmon.h: Likewise.
31886         * hurd/hurdmsg.c: Likewise.
31887         * hurd/new-fd.c: Likewise.
31888         * hurd/ports-get.c: Likewise.
31889         * iconvdata/ibm1008_420.c: Likewise.
31890         * inet/tst-getni1.c: Likewise.
31891         * inet/tst-getni2.c: Likewise.
31892         * libio/ioungetc.c: Likewise.
31893         * libio/wfiledoalloc.c: Likewise.
31894         * manual/libm-err-tab.pl: Likewise.
31895         * math/w_dremf.c: Likewise.
31896         * misc/ftruncate.c: Likewise.
31897         * posix/bug-glob2.c: Likewise.
31898         * posix/tst-pcre.c: Likewise.
31899         * posix/wait4.c: Likewise.
31900         * resolv/README: Likewise.
31901         * resolv/res_debug.h: Likewise.
31902         * resolv/tst-inet_ntop.c: Likewise.
31903         * setjmp/bug269-setjmp.c: Likewise.
31904         * soft-fp/extended.h: Likewise.
31905         * soft-fp/op-1.h: Likewise.
31906         * soft-fp/op-2.h: Likewise.
31907         * soft-fp/op-4.h: Likewise.
31908         * soft-fp/op-8.h: Likewise.
31909         * soft-fp/testit.c: Likewise.
31910         * stdio-common/bug16.c: Likewise.
31911         * stdlib/random.c: Likewise.
31912         * sunrpc/rpcsvc/rquota.x: Likewise.
31913         * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
31914         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
31915         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
31916         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
31917         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
31918         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
31919         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
31920         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
31921         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
31922         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
31923         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
31924         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
31925         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
31926         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
31927         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
31928         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
31929         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
31930         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
31931         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
31932         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
31933         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
31934         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
31935         * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
31936         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
31937         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
31938         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
31939         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
31940         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
31941         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
31942         * sysdeps/ieee754/s_lib_version.c: Likewise.
31943         * sysdeps/mach/hurd/check_fds.c: Likewise.
31944         * sysdeps/mach/hurd/getsockname.c: Likewise.
31945         * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
31946         * sysdeps/mach/hurd/recvfrom.c: Likewise.
31947         * sysdeps/powerpc/bits/link.h: Likewise.
31948         * sysdeps/powerpc/dl-procinfo.c: Likewise.
31949         * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
31950         * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
31951         * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
31952         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
31953         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
31954         * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
31955         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
31956         * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
31957         * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
31958         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
31959         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
31960         * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
31961         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
31962         * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
31963         * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
31964         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
31965         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
31966         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
31967         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
31968         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
31969         * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
31970         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
31971         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
31972         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
31973         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
31974         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
31975         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
31976         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
31977         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
31978         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
31979         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
31980         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
31981         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
31982         * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
31983         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
31984         * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
31985         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
31986         * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
31987         * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
31988         * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
31989         * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
31990         * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
31991         * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
31992         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
31993         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
31994         * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
31995         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
31996         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
31997         * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
31998         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
31999         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
32000         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
32001         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
32002         * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
32003         * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
32004         * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
32005         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
32006         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
32007         * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
32008         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
32009         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
32010         * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
32011         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
32012         * sysdeps/powerpc/sysdep.h: Likewise.
32013         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
32014         * sysdeps/s390/s390-64/sub_n.S: Likewise.
32015         * sysdeps/sh/dl-trampoline.S: Likewise.
32016         * sysdeps/sh/memset.S: Likewise.
32017         * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
32018         * sysdeps/sh/strlen.S: Likewise.
32019         * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
32020         * sysdeps/sparc/sparc32/dotmul.S: Likewise.
32021         * sysdeps/sparc/sparc32/memcpy.S: Likewise.
32022         * sysdeps/sparc/sparc32/rem.S: Likewise.
32023         * sysdeps/sparc/sparc32/sdiv.S: Likewise.
32024         * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
32025         * sysdeps/sparc/sparc32/strchr.S: Likewise.
32026         * sysdeps/sparc/sparc32/udiv.S: Likewise.
32027         * sysdeps/sparc/sparc32/urem.S: Likewise.
32028         * sysdeps/sparc/sparc64/add_n.S: Likewise.
32029         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
32030         * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
32031         * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
32032         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
32033         * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
32034         * sysdeps/sparc/sparc64/strncmp.S: Likewise.
32035         * sysdeps/sparc/sparc64/strncpy.S: Likewise.
32036         * sysdeps/unix/bsd/times.c: Likewise.
32037         * sysdeps/unix/sysv/linux/a.out.h: Likewise.
32038         * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
32039         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
32040         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
32041         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
32042         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
32043         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
32044         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
32045         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
32046         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
32047         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
32048         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
32049         * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
32050         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
32051         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
32052         * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
32053         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
32054         * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
32055         * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
32056         * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
32057         * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
32058         * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
32059         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
32060         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
32061         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
32062         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
32063         * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
32064         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
32065         * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
32066         * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
32067         * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
32068         * sysdeps/x86_64/strcspn.S: Likewise.
32070 2013-06-05  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
32072         * locale/C-translit.h: Revert #include <stdint.h> because this is a
32073         generated file.  Regenerate properly from gen-translit.pl.
32074         * locale/gen-translit.pl: Add #include <stdint.h>.  This generates
32075         locale/C-translit.h.
32077 2013-06-05  Andreas Schwab  <schwab@suse.de>
32079         [BZ #15100]
32080         * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
32081         week as 6 instead of -1.
32082         * time/tst-strptime.c (day_tests): Add test case.
32084 2013-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
32086         * sysdeps/generic/math_private.h
32087         (libc_feholdexcept_setround_53bit): Replace with
32088         libc_feholdsetround_53bit.
32089         (libc_feupdateenv_53bit): Replace with
32090         libc_feresetround_53bit.
32091         (SET_RESTORE_ROUND_53BIT): Adjust.
32093 2013-06-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
32095         * string/test-strchrnul.c: Add copyright header.
32097         * posix/tst-getaddrinfo4.c: Increase test timeout.
32099 2013-06-03  Carlos O'Donell  <carlos@redhat.com>
32101         [BZ #15536]
32102         * math/libm-test.inc (MAX_EXP): Remove
32103         (MIN_EXP): Define.
32104         (ulp): Use MIN_EXP - MANT_DIG.
32105         (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
32107 2013-05-31  Carlos O'Donell  <carlos@redhat.com>
32109         * po/be.po: Revert last change.
32110         * po/zh_CN.po: Likewise.
32111         * po/header.pot: Likewise.
32113 2013-05-31  Joseph Myers  <joseph@codesourcery.com>
32115         * Makefile ($(common-objpfx)linkobj/libc.so): Define
32116         link-libc-deps to empty as target-specific variable.
32117         * Makerules (link-libc-args): New variable.
32118         (libc-for-link): Likewise.
32119         (link-libc-deps): Likewise.
32120         (lib%.so): Depend on $(link-libc-deps).  Link with
32121         $(link-libc-args).
32122         (build-module): Link with $(link-libc-args).
32123         (build-module-asneeded): Likewise.
32124         (build-module-helper-objlist): Filter out $(link-libc-deps) from
32125         list of objects.
32126         ($(common-objpfx)libc.so): Define link-libc-deps to empty as
32127         target-specific variable.
32128         ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
32129         $(link-libc-deps) instead of libc.so and libc_nonshared.a.
32130         * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
32131         libc.
32132         * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
32133         libc and ld.so.
32134         ($(objpfx)libpcprofile.so): Likewise.
32135         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
32136         libc_nonshared.a.
32137         ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
32138         * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
32139         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
32140         $(link-libc-deps).
32141         ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
32142         * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
32143         * login/Makefile ($(objpfx)libutil.so): Likewise.
32144         * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
32145         * math/Makefile ($(objpfx)libm.so): Likewise.
32146         * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
32147         $(objpfx)libnsl.so): Define libc-for-link as target-specific
32148         variable instead of depending directly on libc.
32149         * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
32150         ($(objpfx)/libnss_test1.so): Change dependencies on libc to
32151         $(link-libc-deps).
32152         * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
32153         libc.
32154         [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
32155         ($(objpfx)libnss_dns.so): Remove dependencies on libc.
32156         ($(objpfx)libanl.so): Likewise.
32157         * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
32158         ld.so.
32159         * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
32160         $(link-libc-deps).
32161         * sysdeps/i386/fpu/Makefile: Remove file.
32162         * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
32163         ($(objpfx)libm.so): Remove dependency on ld.so.
32165 2013-05-30  Patsy Franklin  <pfrankli@redhat.com>
32167         [BZ # 15553]
32168         * nis/yp_xdr.c (XDRMAXNAME): Define.
32169         (XDRMAXRECORD): Define.
32170         (xdr_domainname): Use XDRMAXNAME.
32171         (xdr_mapname): Likewise.
32172         (xdr_peername): Likewise.
32173         (xdr_keydat): Use XDRMAXRECORD.
32174         (xdr_valdat): Likewise.
32176 2013-05-30  Jeff Law  <law@redhat.com>
32178         [BZ #14256]
32179         * manual/errno.texi (ESTALE): Update to account for more than
32180         just NFS file systems.
32181         * sysdeps/gnu/errlist.c: Regenerated.
32183 2013-05-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
32185         [BZ #15465]
32186         * elf/Makefile (tests): Add tst-null-argv.
32187         (modules-names):  Add tst-null-argv-lib.
32188         ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
32189         (tst-null-argv-ENV): Set environment for tst-null-argv.
32190         * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
32191         (RTLD_PROGNAME): New macro.
32192         * elf/tst-null-argv.c: New test case.
32193         * elf/tst-null-argv-lib.c: Library for test case.
32194         * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
32195         * elf/dl-deps.c (_dl_map_object_deps): Likewise.
32196         * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
32197         * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
32198         * elf/dl-init.c (call_init): Likewise.
32199         (_dl_init): Likewise.
32200         * elf/dl-load.c (print_search_path): Likewise.
32201         (_dl_map_object): Likewise.
32202         * elf/dl-lookup.c (do_lookup_x): Likewise.
32203         (add_dependency): Likewise.
32204         (_dl_lookup_symbol_x): Likewise.
32205         (_dl_debug_bindings): Likewise.
32206         * elf/dl-open.c (_dl_show_scope): Likewise.
32207         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
32208         * elf/dl-version.c (match_symbol): Likewise.
32209         (_dl_check_map_versions): Likewise.
32210         * elf/rtld.c (dl_main): Likewise.
32211         (print_unresolved): Use RTLD_PROGNAME.
32212         (print_missing_version): Likewise.
32213         * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
32214         (elf_machine_rela): Likewise.
32215         * sysdeps/powerpc/powerpc32/dl-machine.c
32216         (__process_machine_rela): Likewise.
32217         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
32218         Likewise.
32219         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
32220         Likewise.
32221         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
32222         Likewise.
32223         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
32224         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
32225         Likewise.
32226         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
32227         Likewise.
32228         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
32230 2013-05-28  Carlos O'Donell  <carlos@redhat.com>
32232         * po/be.po: Add descriptive title.
32233         * po/zh_CN.po: Likewise.
32234         * po/header.pot: Likewise.
32236 2013-05-28  Mike Frysinger  <vapier@gentoo.org>
32238         * locale/programs/locarchive.c (create_archive): Inlucde fname in
32239         error message.
32240         (enlarge_archive): Likewise.
32242 2013-05-28  Ben North  <ben@redfrontdoor.org>
32244         * manual/arith.texi (frexp): It is the magnitude of the return
32245         value which lies in [0.5, 1), not the return value itself.
32247 2013-05-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32249         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
32251 2013-05-26  Thomas Schwinge  <thomas@codesourcery.com>
32253         * stdio-common/bug26.c (main): Correct fscanf template.
32255         * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
32256         declare _dl_skip_args.
32258         * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
32259         Don't declare.
32261         * manual/platform.texi: Add missing @end deftypefun.
32263 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
32265         [BZ #15529]
32266         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
32267         bit of mantissa of 2^16382.
32268         * math/libm-test.inc (hypot_test_data): Add more tests.
32270         * math/libm-test.inc: Add drem and pow10 to list of tested
32271         functions.
32272         (pow10_test): New function.
32273         (drem_test): Likewise.
32274         (drem_test_tonearest): Likewise.
32275         (drem_test_towardzero): Likewise.
32276         (drem_test_downward): Likewise.
32277         (drem_test_upward): Likewise.
32278         (main): Call the new functions.
32280         * math/libm-test.inc (finite_test_data): Remove.
32281         (finite_test): Run tests from isfinite_test_data.
32282         (gamma_test_data): Remove.
32283         (gamma_test): Run tests from lgamma_test_data.
32284         * sysdeps/i386/fpu/libm-test-ulps: Update.
32285         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32287 2013-05-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32289         * manual/platform.texi: Add PowerPC PPR function set documentation.
32290         * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
32291         implementation.
32293 2013-05-24  Carlos O'Donell  <carlos@redhat.com>
32295         * math/libm-test.inc (MAX_EXP): Define.
32296         (ULPDIFF): Define.
32297         (ulp): New function.
32298         (check_float_internal): Use ULPDIFF.
32299         (cpow_test): Disable failing test.
32300         (check_ulp): Test ulp() implemetnation.
32301         (main): Call check_ulp before starting tests.
32303 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
32305         * math/gen-libm-test.pl (generate_testfile): Do not handle
32306         START_DATA and END_DATA.
32307         * math/libm-test.inc (acos_test_data): Do not use START_DATA and
32308         END_DATA.
32309         (acos_tonearest_test_data): Likewise.
32310         (acos_towardzero_test_data): Likewise.
32311         (acos_downward_test_data): Likewise.
32312         (acos_upward_test_data): Likewise.
32313         (acosh_test_data): Likewise.
32314         (asin_test_data): Likewise.
32315         (asin_tonearest_test_data): Likewise.
32316         (asin_towardzero_test_data): Likewise.
32317         (asin_downward_test_data): Likewise.
32318         (asin_upward_test_data): Likewise.
32319         (asinh_test_data): Likewise.
32320         (atan_test_data): Likewise.
32321         (atanh_test_data): Likewise.
32322         (atan2_test_data): Likewise.
32323         (cabs_test_data): Likewise.
32324         (cacos_test_data): Likewise.
32325         (cacosh_test_data): Likewise.
32326         (carg_test_data): Likewise.
32327         (casin_test_data): Likewise.
32328         (casinh_test_data): Likewise.
32329         (catan_test_data): Likewise.
32330         (catanh_test_data): Likewise.
32331         (cbrt_test_data): Likewise.
32332         (ccos_test_data): Likewise.
32333         (ccosh_test_data): Likewise.
32334         (ceil_test_data): Likewise.
32335         (cexp_test_data): Likewise.
32336         (cimag_test_data): Likewise.
32337         (clog_test_data): Likewise.
32338         (clog10_test_data): Likewise.
32339         (conj_test_data): Likewise.
32340         (copysign_test_data): Likewise.
32341         (cos_test_data): Likewise.
32342         (cos_tonearest_test_data): Likewise.
32343         (cos_towardzero_test_data): Likewise.
32344         (cos_downward_test_data): Likewise.
32345         (cos_upward_test_data): Likewise.
32346         (cosh_test_data): Likewise.
32347         (cosh_tonearest_test_data): Likewise.
32348         (cosh_towardzero_test_data): Likewise.
32349         (cosh_downward_test_data): Likewise.
32350         (cosh_upward_test_data): Likewise.
32351         (cpow_test_data): Likewise.
32352         (cproj_test_data): Likewise.
32353         (creal_test_data): Likewise.
32354         (csin_test_data): Likewise.
32355         (csinh_test_data): Likewise.
32356         (csqrt_test_data): Likewise.
32357         (ctan_test_data): Likewise.
32358         (ctan_tonearest_test_data): Likewise.
32359         (ctan_towardzero_test_data): Likewise.
32360         (ctan_downward_test_data): Likewise.
32361         (ctan_upward_test_data): Likewise.
32362         (ctanh_test_data): Likewise.
32363         (ctanh_tonearest_test_data): Likewise.
32364         (ctanh_towardzero_test_data): Likewise.
32365         (ctanh_downward_test_data): Likewise.
32366         (ctanh_upward_test_data): Likewise.
32367         (erf_test_data): Likewise.
32368         (erfc_test_data): Likewise.
32369         (exp_test_data): Likewise.
32370         (exp_tonearest_test_data): Likewise.
32371         (exp_towardzero_test_data): Likewise.
32372         (exp_downward_test_data): Likewise.
32373         (exp_upward_test_data): Likewise.
32374         (exp10_test_data): Likewise.
32375         (exp2_test_data): Likewise.
32376         (expm1_test_data): Likewise.
32377         (fabs_test_data): Likewise.
32378         (fdim_test_data): Likewise.
32379         (finite_test_data): Likewise.
32380         (floor_test_data): Likewise.
32381         (fma_test_data): Likewise.
32382         (fma_towardzero_test_data): Likewise.
32383         (fma_downward_test_data): Likewise.
32384         (fma_upward_test_data): Likewise.
32385         (fmax_test_data): Likewise.
32386         (fmin_test_data): Likewise.
32387         (fmod_test_data): Likewise.
32388         (fpclassify_test_data): Likewise.
32389         (frexp_test_data): Likewise.
32390         (gamma_test_data): Likewise.
32391         (hypot_test_data): Likewise.
32392         (ilogb_test_data): Likewise.
32393         (isfinite_test_data): Likewise.
32394         (isgreater_test_data): Likewise.
32395         (isgreaterequal_test_data): Likewise.
32396         (isinf_test_data): Likewise.
32397         (isless_test_data): Likewise.
32398         (islessequal_test_data): Likewise.
32399         (islessgreater_test_data): Likewise.
32400         (isnan_test_data): Likewise.
32401         (isnormal_test_data): Likewise.
32402         (issignaling_test_data): Likewise.
32403         (isunordered_test_data): Likewise.
32404         (j0_test_data): Likewise.
32405         (j1_test_data): Likewise.
32406         (jn_test_data): Likewise.
32407         (ldexp_test_data): Likewise.
32408         (lgamma_test_data): Likewise.
32409         (lrint_test_data): Likewise.
32410         (lrint_tonearest_test_data): Likewise.
32411         (lrint_towardzero_test_data): Likewise.
32412         (lrint_downward_test_data): Likewise.
32413         (lrint_upward_test_data): Likewise.
32414         (llrint_test_data): Likewise.
32415         (llrint_tonearest_test_data): Likewise.
32416         (llrint_towardzero_test_data): Likewise.
32417         (llrint_downward_test_data): Likewise.
32418         (llrint_upward_test_data): Likewise.
32419         (log_test_data): Likewise.
32420         (log10_test_data): Likewise.
32421         (log1p_test_data): Likewise.
32422         (log2_test_data): Likewise.
32423         (logb_test_data): Likewise.
32424         (logb_downward_test_data): Likewise.
32425         (lround_test_data): Likewise.
32426         (llround_test_data): Likewise.
32427         (modf_test_data): Likewise.
32428         (nearbyint_test_data): Likewise.
32429         (nextafter_test_data): Likewise.
32430         (nexttoward_test_data): Likewise.
32431         (pow_test_data): Likewise.
32432         (pow_tonearest_test_data): Likewise.
32433         (pow_towardzero_test_data): Likewise.
32434         (pow_downward_test_data): Likewise.
32435         (pow_upward_test_data): Likewise.
32436         (remainder_test_data): Likewise.
32437         (remainder_tonearest_test_data): Likewise.
32438         (remainder_towardzero_test_data): Likewise.
32439         (remainder_downward_test_data): Likewise.
32440         (remainder_upward_test_data): Likewise.
32441         (remquo_test_data): Likewise.
32442         (rint_test_data): Likewise.
32443         (rint_tonearest_test_data): Likewise.
32444         (rint_towardzero_test_data): Likewise.
32445         (rint_downward_test_data): Likewise.
32446         (rint_upward_test_data): Likewise.
32447         (round_test_data): Likewise.
32448         (scalb_test_data): Likewise.
32449         (scalbn_test_data): Likewise.
32450         (scalbln_test_data): Likewise.
32451         (signbit_test_data): Likewise.
32452         (sin_test_data): Likewise.
32453         (sin_tonearest_test_data): Likewise.
32454         (sin_towardzero_test_data): Likewise.
32455         (sin_downward_test_data): Likewise.
32456         (sin_upward_test_data): Likewise.
32457         (sincos_test_data): Likewise.
32458         (sinh_test_data): Likewise.
32459         (sinh_tonearest_test_data): Likewise.
32460         (sinh_towardzero_test_data): Likewise.
32461         (sinh_downward_test_data): Likewise.
32462         (sinh_upward_test_data): Likewise.
32463         (sqrt_test_data): Likewise.
32464         (tan_test_data): Likewise.
32465         (tan_tonearest_test_data): Likewise.
32466         (tan_towardzero_test_data): Likewise.
32467         (tan_downward_test_data): Likewise.
32468         (tan_upward_test_data): Likewise.
32469         (tanh_test_data): Likewise.
32470         (tgamma_test_data): Likewise.
32471         (trunc_test_data): Likewise.
32472         (y0_test_data): Likewise.
32473         (y1_test_data): Likewise.
32474         (yn_test_data): Likewise.
32475         (significand_test_data): Likewise.
32477         * math/gen-libm-test.pl (@functions): Remove variable.
32478         (generate_testfile): Don't handle START and END lines.
32479         * math/libm-test.inc (START): New macro.
32480         (END): Likewise.
32481         (END_COMPLEX): Likewise.
32482         (acos_test): Use END macro without arguments.
32483         (acos_test_tonearest): Likewise.
32484         (acos_test_towardzero): Likewise.
32485         (acos_test_downward): Likewise.
32486         (acos_test_upward): Likewise.
32487         (acosh_test): Likewise.
32488         (asin_test): Likewise.
32489         (asin_test_tonearest): Likewise.
32490         (asin_test_towardzero): Likewise.
32491         (asin_test_downward): Likewise.
32492         (asin_test_upward): Likewise.
32493         (asinh_test): Likewise.
32494         (atan_test): Likewise.
32495         (atanh_test): Likewise.
32496         (atan2_test): Likewise.
32497         (cabs_test): Likewise.
32498         (cacos_test): Use END_COMPLEX macro without arguments.
32499         (cacosh_test): Likewise.
32500         (carg_test): Use END macro without arguments.
32501         (casin_test): Use END_COMPLEX macro without arguments.
32502         (casinh_test): Likewise.
32503         (catan_test): Likewise.
32504         (catanh_test): Likewise.
32505         (cbrt_test): Use END macro without arguments.
32506         (ccos_test): Use END_COMPLEX macro without arguments.
32507         (ccosh_test): Likewise.
32508         (ceil_test): Use END macro without arguments.
32509         (cexp_test): Use END_COMPLEX macro without arguments.
32510         (cimag_test): Use END macro without arguments.
32511         (clog_test): Use END_COMPLEX macro without arguments.
32512         (clog10_test): Likewise.
32513         (conj_test): Likewise.
32514         (copysign_test): Use END macro without arguments.
32515         (cos_test): Likewise.
32516         (cos_test_tonearest): Likewise.
32517         (cos_test_towardzero): Likewise.
32518         (cos_test_downward): Likewise.
32519         (cos_test_upward): Likewise.
32520         (cosh_test): Likewise.
32521         (cosh_test_tonearest): Likewise.
32522         (cosh_test_towardzero): Likewise.
32523         (cosh_test_downward): Likewise.
32524         (cosh_test_upward): Likewise.
32525         (cpow_test): Use END_COMPLEX macro without arguments.
32526         (cproj_test): Likewise.
32527         (creal_test): Use END macro without arguments.
32528         (csin_test): Use END_COMPLEX macro without arguments.
32529         (csinh_test): Likewise.
32530         (csqrt_test): Likewise.
32531         (ctan_test): Likewise.
32532         (ctan_test_tonearest): Likewise.
32533         (ctan_test_towardzero): Likewise.
32534         (ctan_test_downward): Likewise.
32535         (ctan_test_upward): Likewise.
32536         (ctanh_test): Likewise.
32537         (ctanh_test_tonearest): Likewise.
32538         (ctanh_test_towardzero): Likewise.
32539         (ctanh_test_downward): Likewise.
32540         (ctanh_test_upward): Likewise.
32541         (erf_test): Use END macro without arguments.
32542         (erfc_test): Likewise.
32543         (exp_test): Likewise.
32544         (exp_test_tonearest): Likewise.
32545         (exp_test_towardzero): Likewise.
32546         (exp_test_downward): Likewise.
32547         (exp_test_upward): Likewise.
32548         (exp10_test): Likewise.
32549         (exp2_test): Likewise.
32550         (expm1_test): Likewise.
32551         (fabs_test): Likewise.
32552         (fdim_test): Likewise.
32553         (finite_test): Likewise.
32554         (floor_test): Likewise.
32555         (fma_test): Likewise.
32556         (fma_test_towardzero): Likewise.
32557         (fma_test_downward): Likewise.
32558         (fma_test_upward): Likewise.
32559         (fmax_test): Likewise.
32560         (fmin_test): Likewise.
32561         (fmod_test): Likewise.
32562         (fpclassify_test): Likewise.
32563         (frexp_test): Likewise.
32564         (gamma_test): Likewise.
32565         (hypot_test): Likewise.
32566         (ilogb_test): Likewise.
32567         (isfinite_test): Likewise.
32568         (isgreater_test): Likewise.
32569         (isgreaterequal_test): Likewise.
32570         (isinf_test): Likewise.
32571         (isless_test): Likewise.
32572         (islessequal_test): Likewise.
32573         (islessgreater_test): Likewise.
32574         (isnan_test): Likewise.
32575         (isnormal_test): Likewise.
32576         (issignaling_test): Likewise.
32577         (isunordered_test): Likewise.
32578         (j0_test): Likewise.
32579         (j1_test): Likewise.
32580         (jn_test): Likewise.
32581         (ldexp_test): Likewise.
32582         (lgamma_test): Likewise.
32583         (lrint_test): Likewise.
32584         (lrint_test_tonearest): Likewise.
32585         (lrint_test_towardzero): Likewise.
32586         (lrint_test_downward): Likewise.
32587         (lrint_test_upward): Likewise.
32588         (llrint_test): Likewise.
32589         (llrint_test_tonearest): Likewise.
32590         (llrint_test_towardzero): Likewise.
32591         (llrint_test_downward): Likewise.
32592         (llrint_test_upward): Likewise.
32593         (log_test): Likewise.
32594         (log10_test): Likewise.
32595         (log1p_test): Likewise.
32596         (log2_test): Likewise.
32597         (logb_test): Likewise.
32598         (logb_test_downward): Likewise.
32599         (lround_test): Likewise.
32600         (llround_test): Likewise.
32601         (modf_test): Likewise.
32602         (nearbyint_test): Likewise.
32603         (nextafter_test): Likewise.
32604         (nexttoward_test): Likewise.
32605         (pow_test): Likewise.
32606         (pow_test_tonearest): Likewise.
32607         (pow_test_towardzero): Likewise.
32608         (pow_test_downward): Likewise.
32609         (pow_test_upward): Likewise.
32610         (remainder_test): Likewise.
32611         (remainder_test_tonearest): Likewise.
32612         (remainder_test_towardzero): Likewise.
32613         (remainder_test_downward): Likewise.
32614         (remainder_test_upward): Likewise.
32615         (remquo_test): Likewise.
32616         (rint_test): Likewise.
32617         (rint_test_tonearest): Likewise.
32618         (rint_test_towardzero): Likewise.
32619         (rint_test_downward): Likewise.
32620         (rint_test_upward): Likewise.
32621         (round_test): Likewise.
32622         (scalb_test): Likewise.
32623         (scalbn_test): Likewise.
32624         (scalbln_test): Likewise.
32625         (signbit_test): Likewise.
32626         (sin_test): Likewise.
32627         (sin_test_tonearest): Likewise.
32628         (sin_test_towardzero): Likewise.
32629         (sin_test_downward): Likewise.
32630         (sin_test_upward): Likewise.
32631         (sincos_test): Likewise.
32632         (sinh_test): Likewise.
32633         (sinh_test_tonearest): Likewise.
32634         (sinh_test_towardzero): Likewise.
32635         (sinh_test_downward): Likewise.
32636         (sinh_test_upward): Likewise.
32637         (sqrt_test): Likewise.
32638         (tan_test): Likewise.
32639         (tan_test_tonearest): Likewise.
32640         (tan_test_towardzero): Likewise.
32641         (tan_test_downward): Likewise.
32642         (tan_test_upward): Likewise.
32643         (tanh_test): Likewise.
32644         (tgamma_test): Likewise.
32645         (trunc_test): Likewise.
32646         (y0_test): Likewise.
32647         (y1_test): Likewise.
32648         (yn_test): Likewise.
32649         (significand_test): Likewise.
32651 2013-05-24  Ondřej Bílka  <neleai@seznam.cz>
32653         [BZ #15381]
32654         * libio/genops.c (_IO_no_init): Initialize wide struct info.
32656 2013-05-23  Edjunior Machado  <emachado@linux.vnet.ibm.com>
32658         [BZ #14894]
32659         * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
32660         __ppc_mdoio and __ppc_mdoom.
32661         * manual/platform.texi: Document new functions __ppc_yield,
32662         __ppc_mdoio and __ppc_mdoom.
32664 2013-05-22  Carlos O'Donell  <carlos@redhat.com>
32666         * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
32667         (main): Mention "tls" pseudo-hwcap is legacy.
32668         * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
32670 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
32672         * math/gen-libm-test.pl (parse_args): Output only string of
32673         arguments as text for test name, not full call or descriptions of
32674         tests for extra outputs.
32675         (generate_testfile): Do not pass function name to parse_args.
32676         Generate this_func variable from START.
32677         * math/libm-test.inc (struct test_f_f_data): Rename test_name
32678         field to arg_str.
32679         (struct test_ff_f_data): Likewise.
32680         (test_ff_f_data_nexttoward): Likewise.
32681         (struct test_fi_f_data): Likewise.
32682         (struct test_fl_f_data): Likewise.
32683         (struct test_if_f_data): Likewise.
32684         (struct test_fff_f_data): Likewise.
32685         (struct test_c_f_data): Likewise.
32686         (struct test_f_f1_data): Likewise.  Remove field extra_name.
32687         (struct test_fF_f1_data): Likewise.
32688         (struct test_ffI_f1_data): Likewise.
32689         (struct test_c_c_data): Rename test_name field to arg_str.
32690         (struct test_cc_c_data): Likewise.
32691         (struct test_f_i_data): Likewise.
32692         (struct test_ff_i_data): Likewise.
32693         (struct test_f_l_data): Likewise.
32694         (struct test_f_L_data): Likewise.
32695         (struct test_fFF_11_data): Likewise.  Remove fields extra1_name
32696         and extra2_name.
32697         (COMMON_TEST_SETUP): New macro.
32698         (EXTRA_OUTPUT_TEST_SETUP): Likewise.
32699         (COMMON_TEST_CLEANUP): Likewise.
32700         (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
32701         (RUN_TEST_f_f): Take argument string.  Call new setup and cleanup
32702         macros.
32703         (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
32704         (RUN_TEST_2_f): Take argument string.  Call new setup and cleanup
32705         macros.
32706         (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
32707         (RUN_TEST_fff_f): Take argument string.  Call new setup and
32708         cleanup macros.
32709         (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
32710         (RUN_TEST_c_f): Take argument string.  Call new setup and cleanup
32711         macros.
32712         (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
32713         (RUN_TEST_f_f1): Take argument string.  Call new setup and cleanup
32714         macros.
32715         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
32716         (RUN_TEST_fF_f1): Take argument string.  Call new setup and
32717         cleanup macros.
32718         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
32719         (RUN_TEST_fI_f1): Take argument string.  Call new setup and
32720         cleanup macros.
32721         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
32722         (RUN_TEST_ffI_f1): Take argument string.  Call new setup and
32723         cleanup macros.
32724         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
32725         (RUN_TEST_c_c): Take argument string.  Call new setup and cleanup
32726         macros.
32727         (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
32728         (RUN_TEST_cc_c): Take argument string.  Call new setup and cleanup
32729         macros.
32730         (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
32731         (RUN_TEST_f_i): Take argument string.  Call new setup and cleanup
32732         macros.
32733         (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
32734         (RUN_TEST_f_i_tg): Take argument string.  Call new setup and
32735         cleanup macros.
32736         (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
32737         (RUN_TEST_ff_i_tg): Take argument string.  Call new setup and
32738         cleanup macros.
32739         (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
32740         (RUN_TEST_f_b): Take argument string.  Call new setup and cleanup
32741         macros.
32742         (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
32743         (RUN_TEST_f_b_tg): Take argument string.  Call new setup and
32744         cleanup macros.
32745         (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
32746         (RUN_TEST_f_l): Take argument string.  Call new setup and cleanup
32747         macros.
32748         (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
32749         (RUN_TEST_f_L): Take argument string.  Call new setup and cleanup
32750         macros.
32751         (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
32752         (RUN_TEST_fFF_11): Take argument string.  Call new setup and
32753         cleanup macros.
32754         (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
32756 2013-05-22  Edjunior Barbosa Machado  <emachado@linux.vnet.ibm.com>
32758         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
32759         to _sifields.sigfault.
32760         (si_addr_lsb): Define new macro.
32761         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
32762         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
32763         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
32765 2013-05-03  Carlos O'Donell  <carlos at redhat.com>
32767         [BZ #15441]
32768         * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
32769         returns -1.
32770         (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
32771         null return -1.
32772         * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
32773         loading the domain.
32775 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
32777         * math/gen-libm-test.pl (parse_args): Do not include expected
32778         result in test name.
32779         * sysdeps/i386/fpu/libm-test-ulps: Update test names.
32780         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
32781         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
32782         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
32783         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
32784         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32786 2013-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
32788         * benchtests/Makefile: Sort function entries.
32790         * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
32791         tanh, asinh, acosh, atanh.
32792         * benchtests/acos-inputs: New file.
32793         * benchtests/acosh-inputs: New file.
32794         * benchtests/asin-inputs: New file.
32795         * benchtests/asinh-inputs: New file.
32796         * benchtests/atanh-inputs: New file.
32797         * benchtests/cosh-inputs: New file.
32798         * benchtests/log-inputs: New file.
32799         * benchtests/sinh-inputs: New file.
32800         * benchtests/tanh-inputs: New file.
32802 2013-05-21  Dmitry V. Levin  <ldv@altlinux.org>
32804         [BZ #15339]
32805         * posix/tst-getaddrinfo4.c: New test.
32806         * posix/Makefile (tests): Add it.
32808 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
32810         [BZ #15339]
32811         * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
32812         when no services were used.
32813         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
32814         Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
32816 2013-05-21  Andreas Schwab  <schwab@suse.de>
32818         [BZ #15014]
32819         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
32820         [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
32821         successful.
32822         * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
32823         redundant variable declarations and reallocation of buffer when
32824         parsing as IPv6 address.  Always set NSS status when called from
32825         reentrant functions.  Use NETDB_INTERNAL instead of TRY_AGAIN when
32826         buffer too small.  Correct computation of needed size.
32827         * nss/Makefile (tests): Add test-digits-dots.
32828         * nss/test-digits-dots.c: New test.
32830 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
32832         * benchtests/Makefile: Remove instructions for adding
32833         benchmark tests.
32834         * benchtests/README: New file to explain how to execute and
32835         enhance the benchmark tests.
32837 2013-05-21  Andreas Schwab  <schwab@suse.de>
32839         [BZ #15493]
32840         * setjmp/Makefile (tests): Add tst-sigsetjmp.
32841         * setjmp/tst-sigsetjmp.c: New test.
32843 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
32845         * sysdeps/x86_64/memset.S (memset): New implementation.
32846         (__bzero): Likewise.
32847         (__memset_tail): New function.
32849 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
32851         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
32852         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
32853         __memcpy_sse2_unaligned ifunc selection.
32854         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
32855         Add memcpy-sse2-unaligned.S.
32856         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
32857         Add: __memcpy_sse2_unaligned.
32859 2013-05-19  Joseph Myers  <joseph@codesourcery.com>
32861         [BZ #15490]
32862         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
32863         math_force_eval before restoring floating-point envrionment.
32864         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
32865         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
32866         Likewise.
32867         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
32868         <math_private.h>.
32869         (__nearbyintl): Use math_force_eval before restoring
32870         floating-point environment.
32871         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
32873         * math/gen-libm-test.pl (special_functions): Remove.
32874         (parse_args): Don't handle TEST_extra.  Handle functions with no
32875         return value.
32876         * math/libm-test.inc (struct test_sincos_data): Replace with
32877         struct test_fFF_11_data.
32878         (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
32879         (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
32880         (sincos_test_data): Change element type to struct
32881         test_fFF_11_data.  Use TEST_fFF_11 instead of TEST_extra.
32882         (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
32883         RUN_TEST_LOOP_sincos.
32884         * math/README.libm-test: Don't mention special handling of
32885         individual functions.
32886         * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
32887         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
32888         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
32889         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
32890         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
32891         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32893         * math/gen-libm-test.pl (get_variable): Remove function.
32894         (parse_args): Don't show pointer parameters to call in test
32895         names.  Use "extra output N" in test names for extra outputs
32896         rather than naming variables.
32898 2013-05-18  Joseph Myers  <joseph@codesourcery.com>
32900         [BZ #15488]
32901         * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
32902         __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
32903         * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
32904         double tests.
32905         * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
32906         disable.
32907         (do_test) [NO_LONG_DOUBLE]: Do not disable call to
32908         check_long_double.
32910         * math/gen-libm-test.pl (@tests): Remove variable.
32911         ($count): Likewise.
32912         (new_test): Remove function.
32913         (show_exceptions): New function.
32914         (special_functions): Use show_exceptions instead of new_test.
32915         (parse_args): Likewise.
32916         (generate_testfile): Pass only function name in generated call to
32917         print_max_error or print_complex_max_error.
32918         (get_ulps): Do not handle complex tests specially.
32919         (output_test): Rename to ...
32920         (get_all_ulps_for_test): ... this.  Return a string rather than
32921         printing to a file.  Require ulps to be present.
32922         (output_ulps): Generate arrays rather than #defines.
32923         * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
32924         (struct ulp_data): New type.
32925         (BUILD_COMPLEX_ULP): Remove macro.
32926         (compare_ulp_data): New function.
32927         (find_ulps): Likewise.
32928         (find_test_ulps): Likewise.
32929         (find_function_ulps): Likewise.
32930         (find_complex_function_ulps): Likewise.
32931         (print_max_error): Determine allowed ulps using
32932         find_function_ulps.
32933         (print_complex_max_error): Determine allowed ulps using
32934         find_complex_function_ulps.
32935         (check_float_internal): Determine max ulps using find_test_ulps.
32936         (check_float): Do not take max_ulp parameter.  Update call to
32937         check_float_internal.
32938         (check_complex): Likewise.
32939         (check_int): Do not take max_ulp parameter.
32940         (check_long): Likewise.
32941         (check_bool): Likewise.
32942         (check_longlong): Likewise.
32943         (struct test_f_f_data): Remove max_ulp field.
32944         (struct test_ff_f_data): Likewise.
32945         (struct test_ff_f_data_nexttoward): Likewise.
32946         (struct test_fi_f_data): Likewise.
32947         (struct test_fl_f_data): Likewise.
32948         (struct test_if_f_data): Likewise.
32949         (struct test_fff_f_data): Likewise.
32950         (struct test_c_f_data): Likewise.
32951         (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
32952         (struct test_fF_f1_data): Likewise.
32953         (struct test_ffI_f1_data): Likewise.
32954         (struct test_c_c_data): Remove max_ulp field.
32955         (struct test_cc_c_data): Likewise.
32956         (struct test_f_i_data): Likewise.
32957         (struct test_ff_i_data): Likewise.
32958         (struct test_f_l_data): Likewise.
32959         (struct test_f_L_data): Likewise.
32960         (struct test_sincos_data): Likewise.
32961         (RUN_TEST_f_f): Do not handle ulps.
32962         (RUN_TEST_LOOP_f_f): Likewise.
32963         (RUN_TEST_2_f): Likewise.
32964         (RUN_TEST_LOOP_2_f): Likewise.
32965         (RUN_TEST_fff_f): Likewise.
32966         (RUN_TEST_LOOP_fff_f): Likewise.
32967         (RUN_TEST_c_f): Likewise.
32968         (RUN_TEST_LOOP_c_f): Likewise.
32969         (RUN_TEST_f_f1): Likewise.
32970         (RUN_TEST_LOOP_f_f1): Likewise.
32971         (RUN_TEST_fF_f1): Likewise.
32972         (RUN_TEST_LOOP_fF_f1): Likewise.
32973         (RUN_TEST_fI_f1): Likewise.
32974         (RUN_TEST_LOOP_fI_f1): Likewise.
32975         (RUN_TEST_ffI_f1): Likewise.
32976         (RUN_TEST_LOOP_ffI_f1): Likewise.
32977         (RUN_TEST_c_c): Likewise.
32978         (RUN_TEST_LOOP_c_c): Likewise.
32979         (RUN_TEST_cc_c): Likewise.
32980         (RUN_TEST_LOOP_cc_c): Likewise.
32981         (RUN_TEST_f_i): Likewise.
32982         (RUN_TEST_LOOP_f_i): Likewise.
32983         (RUN_TEST_f_i_tg): Likewise.
32984         (RUN_TEST_LOOP_f_i_tg): Likewise.
32985         (RUN_TEST_ff_i_tg): Likewise.
32986         (RUN_TEST_LOOP_ff_i_tg): Likewise.
32987         (RUN_TEST_f_b): Likewise.
32988         (RUN_TEST_LOOP_f_b): Likewise.
32989         (RUN_TEST_f_b_tg): Likewise.
32990         (RUN_TEST_LOOP_f_b_tg): Likewise.
32991         (RUN_TEST_f_l): Likewise.
32992         (RUN_TEST_LOOP_f_l): Likewise.
32993         (RUN_TEST_f_L): Likewise.
32994         (RUN_TEST_LOOP_f_L): Likewise.
32995         (RUN_TEST_sincos): Likewise.
32996         (RUN_TEST_LOOP_sincos): Likewise.
32998 2013-05-17  Joseph Myers  <joseph@codesourcery.com>
33000         [BZ #15480]
33001         [BZ #15485]
33002         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
33003         main case of finite arguments, set rounding mode to FE_TONEAREST
33004         and discard exceptions.
33005         * math/libm-test.inc (remainder_test_data): Disallow "inexact"
33006         exceptions.
33007         (remainder_tonearest_test_data): New variable.
33008         (remainder_test_tonearest): New function.
33009         (remainder_towardzero_test_data): New variable.
33010         (remainder_test_towardzero): New function.
33011         (remainder_downward_test_data): New variable.
33012         (remainder_test_downward): New function.
33013         (remainder_upward_test_data): New variable.
33014         (remainder_test_upward): New function.
33015         (main): Call the new test functions.
33017         * math/libm-test.inc (struct test_f_f1_data): Remove field
33018         extra_init.
33019         (struct test_fF_f1_data): Likewise.
33020         (struct test_ffI_f1_data): Likewise.
33021         (RUN_TEST_f_f1): Remove argument EXTRA_INIT.  Initialize EXTRA_VAR
33022         based on value of EXTRA_EXPECTED.
33023         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
33024         (RUN_TEST_fF_f1): Remove argument EXTRA_INIT.  Initialize
33025         EXTRA_VAR based on value of EXTRA_EXPECTED.
33026         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
33027         (RUN_TEST_fI_f1): Remove argument EXTRA_INIT.  Initialize
33028         EXTRA_VAR based on value of EXTRA_EXPECTED.
33029         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
33030         (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT.  Initialize
33031         EXTRA_VAR based on value of EXTRA_EXPECTED.
33032         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
33033         * math/gen-libm-test.pl (parse_args): Don't output initializers
33034         for extra output values.
33036         * math/libm-test.inc (check_int): Expect result to be exactly
33037         equal to expected value and do not handle ulps.
33038         (check_long): Likewise.
33039         (check_longlong): Likewise.
33041         * math/libm-test.inc (ceil_test_data): Test for "inexact"
33042         exceptions.
33043         (cimag_test_data): Likewise.
33044         (conj_test_data): Likewise.
33045         (copysign_test_data): Likewise.
33046         (cproj_test_data): Likewise.
33047         (creal_test_data): Likewise.
33048         (fabs_test_data): Likewise.
33049         (fdim_test_data): Likewise.
33050         (finite_test_data): Likewise.
33051         (floor_test_data): Likewise.
33052         (fmax_test_data): Likewise.
33053         (fmin_test_data): Likewise.
33054         (fmod_test_data): Likewise.
33055         (fpclassify_test_data): Likewise.
33056         (frexp_test_data): Likewise.
33057         (ilogb_test_data): Likewise.
33058         (isfinite_test_data): Likewise.
33059         (isgreater_test_data): Likewise.
33060         (isgreaterequal_test_data): Likewise.
33061         (isinf_test_data): Likewise.
33062         (isless_test_data): Likewise.
33063         (islessequal_test_data): Likewise.
33064         (islessgreater_test_data): Likewise.
33065         (isnan_test_data): Likewise.
33066         (isnormal_test_data): Likewise.
33067         (issignaling_test_data): Likewise.
33068         (isunordered_test_data): Likewise.
33069         (ldexp_test_data): Likewise.
33070         (lrint_test_data): Likewise.
33071         (lrint_test_data) [TEST_FLOAT]: Disable one test.
33072         (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
33073         (lrint_tonearest_test_data): Test for "inexact" exceptions.
33074         (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
33075         (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
33076         (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
33077         test input.
33078         (lrint_towardzero_test_data): Test for "inexact" exceptions.
33079         (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
33080         (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
33081         (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
33082         that test input.
33083         (lrint_downward_test_data): Test for "inexact" exceptions.
33084         (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
33085         (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
33086         (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
33087         test input.
33088         (lrint_upward_test_data): Test for "inexact" exceptions.
33089         (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
33090         test input.
33091         (llrint_test_data): Test for "inexact" exceptions.
33092         (llrint_test_data) [TEST_FLOAT]: Disable one test.
33093         (llrint_tonearest_test_data): Test for "inexact" exceptions.
33094         (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
33095         (llrint_towardzero_test_data): Test for "inexact" exceptions.
33096         (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
33097         (llrint_downward_test_data): Test for "inexact" exceptions.
33098         (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
33099         (llrint_upward_test_data): Test for "inexact" exceptions.
33100         (logb_test_data): Likewise.
33101         (logb_downward_test_data): Likewise.
33102         (nextafter_test_data): Likewise.
33103         (nexttoward_test_data): Likewise.
33104         (remainder_test_data): Likewise.
33105         (remquo_test_data): Likewise.
33106         (scalbn_test_data): Likewise.
33107         (scalbln_test_data): Likewise.
33108         (signbit_test_data): Likewise.
33109         (sqrt_test_data): Likewise.
33110         (significand_test_data): Likewise.
33112 2013-05-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
33114         [BZ #15424]
33115         * benchtests/bench-modf.c (struct args): Mark arg0 as
33116         volatile.
33117         * scripts/bench.pl: Mark members of struct args as volatile.
33119 2013-05-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33121         [BZ # 15497]
33122         * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
33123         negative infinity on POWER6 or lower.
33124         * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
33126 2013-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
33128         [BZ #15442]
33129         * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
33130         (_FP_FRAC_SNANP_SEMIRAW): Likewise.
33131         (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
33132         (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
33133         (_FP_SETQNAN): New macro.
33134         (_FP_SETQNAN_SEMIRAW): Likewise.
33135         (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
33136         (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
33137         (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
33138         (FP_EXTEND): Use _FP_FRAC_SNANP.
33139         (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
33140         * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
33141         into account.
33142         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
33143         New macro.
33144         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
33145         Likewise.
33147 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
33149         * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
33150         with DIVIDE_BY_ZERO_EXCEPTION.
33151         (gamma_test_data): Likewise.
33152         (lgamma_test_data): Likewise.
33153         (log_test_data): Likewise.
33154         (log10_test_data): Likewise.
33155         (log2_test_data): Likewise.
33156         (tgamma_test_data): Likewise.
33158         * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
33159         (acos_test_tonearest): Likewise.
33160         (acos_test_towardzero): Likewise.
33161         (acos_test_downward): Likewise.
33162         (acos_test_upward): Likewise.
33163         (acosh_test): Likewise.
33164         (asin_test): Likewise.
33165         (asin_test_tonearest): Likewise.
33166         (asin_test_towardzero): Likewise.
33167         (asin_test_downward): Likewise.
33168         (asin_test_upward): Likewise.
33169         (asinh_test): Likewise.
33170         (atan_test): Likewise.
33171         (atanh_test): Likewise.
33172         (atan2_test): Likewise.
33173         (cabs_test): Likewise.
33174         (cacos_test): Likewise.
33175         (cacosh_test): Likewise.
33176         (casin_test): Likewise.
33177         (casinh_test): Likewise.
33178         (catan_test): Likewise.
33179         (catanh_test): Likewise.
33180         (cbrt_test): Likewise.
33181         (ccos_test): Likewise.
33182         (ccosh_test): Likewise.
33183         (cexp_test): Likewise.
33184         (clog_test): Likewise.
33185         (clog10_test): Likewise.
33186         (cos_test): Likewise.
33187         (cos_test_tonearest): Likewise.
33188         (cos_test_towardzero): Likewise.
33189         (cos_test_downward): Likewise.
33190         (cos_test_upward): Likewise.
33191         (cosh_test): Likewise.
33192         (cosh_test_tonearest): Likewise.
33193         (cosh_test_towardzero): Likewise.
33194         (cosh_test_downward): Likewise.
33195         (cosh_test_upward): Likewise.
33196         (cpow_test): Likewise.
33197         (csin_test): Likewise.
33198         (csinh_test): Likewise.
33199         (csqrt_test): Likewise.
33200         (ctan_test): Likewise.
33201         (ctan_test_tonearest): Likewise.
33202         (ctan_test_towardzero): Likewise.
33203         (ctan_test_downward): Likewise.
33204         (ctan_test_upward): Likewise.
33205         (ctanh_test): Likewise.
33206         (ctanh_test_tonearest): Likewise.
33207         (ctanh_test_towardzero): Likewise.
33208         (ctanh_test_downward): Likewise.
33209         (ctanh_test_upward): Likewise.
33210         (erf_test): Likewise.
33211         (erfc_test): Likewise.
33212         (exp_test): Likewise.
33213         (exp_test_tonearest): Likewise.
33214         (exp_test_towardzero): Likewise.
33215         (exp_test_downward): Likewise.
33216         (exp_test_upward): Likewise.
33217         (exp10_test): Likewise.
33218         (exp2_test): Likewise.
33219         (expm1_test): Likewise.
33220         (fmod_test): Likewise.
33221         (gamma_test): Likewise.
33222         (hypot_test): Likewise.
33223         (j0_test): Likewise.
33224         (j1_test): Likewise.
33225         (jn_test): Likewise.
33226         (lgamma_test): Likewise.
33227         (log_test): Likewise.
33228         (log10_test): Likewise.
33229         (log1p_test): Likewise.
33230         (log2_test): Likewise.
33231         (logb_test_downward): Likewise.
33232         (pow_test): Likewise.
33233         (pow_test_tonearest): Likewise.
33234         (pow_test_towardzero): Likewise.
33235         (pow_test_downward): Likewise.
33236         (pow_test_upward): Likewise.
33237         (remainder_test): Likewise.
33238         (remquo_test): Likewise.
33239         (sin_test): Likewise.
33240         (sin_test_tonearest): Likewise.
33241         (sin_test_towardzero): Likewise.
33242         (sin_test_downward): Likewise.
33243         (sin_test_upward): Likewise.
33244         (sincos_test): Likewise.
33245         (sinh_test): Likewise.
33246         (sinh_test_tonearest): Likewise.
33247         (sinh_test_towardzero): Likewise.
33248         (sinh_test_downward): Likewise.
33249         (sinh_test_upward): Likewise.
33250         (sqrt_test): Likewise.
33251         (tan_test): Likewise.
33252         (tan_test_tonearest): Likewise.
33253         (tan_test_towardzero): Likewise.
33254         (tan_test_downward): Likewise.
33255         (tan_test_upward): Likewise.
33256         (tanh_test): Likewise.
33257         (tgamma_test): Likewise.
33258         (y0_test): Likewise.
33259         (y1_test): Likewise.
33260         (yn_test): Likewise.
33262         * math/gen-libm-test.pl (adjust_arg): Remove function.
33263         (special_function): Remove argument $in_func.  Only handle
33264         generating output for tables of tests, not inside functions.
33265         (parse_args): Likewise.
33266         (generate_testfile): Remove variable $in_func.  Update call to
33267         parse_args.
33268         * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
33269         (MINUS_ZERO_INIT): Rename macro to minus_zero.
33270         (PLUS_INFTY_INIT): Rename macro to plus_infty.
33271         (MINUS_INFTY_INIT): Rename macro to minus_infty.
33272         (QNAN_VALUE_INIT): Rename macro to qnan_value.
33273         (MAX_VALUE_INIT): Rename macro to max_value.
33274         (MIN_VALUE_INIT): Rename macro to min_value.
33275         (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
33276         (plus_zero): Remove variable.
33277         (minus_zero): Likewise.
33278         (plus_infty): Likewise.
33279         (minus_infty): Likewise.
33280         (qnan_value): Likewise.
33281         (max_value): Likewise.
33282         (min_value): Likewise.
33283         (min_subnorm_value): Likewise.
33285 2013-05-16  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
33287         * crypt/sha512-block.c: Add missing #include <stdint.h> due to
33288         uint64_t or uint32_t usage.
33289         * crypt/sha256-block.c: Likewise.
33290         * crypt/sha256-crypt.c: Likewise.
33291         * crypt/sha256.c: Likewise.
33292         * crypt/sha512-block.c: Likewise.
33293         * crypt/sha512-crypt.c: Likewise.
33294         * crypt/sha512.c: Likewise.
33295         * debug/backtrace-tst.c: Likewise.
33296         * debug/pcprofiledump.c: Likewise.
33297         * elf/cache.c: Likewise.
33298         * elf/dl-cache.c: Likewise.
33299         * elf/dl-misc.c: Likewise.
33300         * elf/dl-profile.c: Likewise.
33301         * elf/dl-support.c: Likewise.
33302         * elf/ldconfig.c: Likewise.
33303         * elf/sprof.c: Likewise.
33304         * iconv/dummy-repertoire.c: Likewise.
33305         * iconv/iconv_charmap.c: Likewise.
33306         * iconv/skeleton.c: Likewise.
33307         * iconvdata/8bit-generic.c: Likewise.
33308         * iconvdata/cp737.h: Likewise.
33309         * iconvdata/cp775.h: Likewise.
33310         * iconvdata/ibm1008.h: Likewise.
33311         * iconvdata/ibm1025.h: Likewise.
33312         * iconvdata/ibm1046.h: Likewise.
33313         * iconvdata/ibm1097.h: Likewise.
33314         * iconvdata/ibm1112.h: Likewise.
33315         * iconvdata/ibm1122.h: Likewise.
33316         * iconvdata/ibm1123.h: Likewise.
33317         * iconvdata/ibm1124.h: Likewise.
33318         * iconvdata/ibm1129.h: Likewise.
33319         * iconvdata/ibm1130.h: Likewise.
33320         * iconvdata/ibm1132.h: Likewise.
33321         * iconvdata/ibm1133.h: Likewise.
33322         * iconvdata/ibm1137.h: Likewise.
33323         * iconvdata/ibm1140.h: Likewise.
33324         * iconvdata/ibm1141.h: Likewise.
33325         * iconvdata/ibm1142.h: Likewise.
33326         * iconvdata/ibm1143.h: Likewise.
33327         * iconvdata/ibm1144.h: Likewise.
33328         * iconvdata/ibm1145.h: Likewise.
33329         * iconvdata/ibm1146.h: Likewise.
33330         * iconvdata/ibm1147.h: Likewise.
33331         * iconvdata/ibm1148.h: Likewise.
33332         * iconvdata/ibm1149.h: Likewise.
33333         * iconvdata/ibm1153.h: Likewise.
33334         * iconvdata/ibm1154.h: Likewise.
33335         * iconvdata/ibm1155.h: Likewise.
33336         * iconvdata/ibm1156.h: Likewise.
33337         * iconvdata/ibm1157.h: Likewise.
33338         * iconvdata/ibm1158.h: Likewise.
33339         * iconvdata/ibm1160.h: Likewise.
33340         * iconvdata/ibm1161.h: Likewise.
33341         * iconvdata/ibm1162.h: Likewise.
33342         * iconvdata/ibm1163.h: Likewise.
33343         * iconvdata/ibm1164.h: Likewise.
33344         * iconvdata/ibm1166.h: Likewise.
33345         * iconvdata/ibm1167.h: Likewise.
33346         * iconvdata/ibm12712.h: Likewise.
33347         * iconvdata/ibm1390.h: Likewise.
33348         * iconvdata/ibm1399.h: Likewise.
33349         * iconvdata/ibm16804.h: Likewise.
33350         * iconvdata/ibm4517.h: Likewise.
33351         * iconvdata/ibm4899.h: Likewise.
33352         * iconvdata/ibm4909.h: Likewise.
33353         * iconvdata/ibm4971.h: Likewise.
33354         * iconvdata/ibm5347.h: Likewise.
33355         * iconvdata/ibm803.h: Likewise.
33356         * iconvdata/ibm856.h: Likewise.
33357         * iconvdata/ibm901.h: Likewise.
33358         * iconvdata/ibm902.h: Likewise.
33359         * iconvdata/ibm9030.h: Likewise.
33360         * iconvdata/ibm9066.h: Likewise.
33361         * iconvdata/ibm921.h: Likewise.
33362         * iconvdata/ibm922.h: Likewise.
33363         * iconvdata/ibm9448.h: Likewise.
33364         * iconvdata/isiri-3342.h: Likewise.
33365         * iconvdata/jis0201.h: Likewise.
33366         * include/link.h: Likewise.
33367         * include/netdb.h: Likewise.
33368         * inet/check_native.c: Likewise.
33369         * inet/check_pf.c: Likewise.
33370         * inet/getipv4sourcefilter.c: Likewise.
33371         * inet/getnameinfo.c: Likewise.
33372         * inet/getsourcefilter.c: Likewise.
33373         * inet/htonl.c: Likewise.
33374         * inet/setipv4sourcefilter.c: Likewise.
33375         * inet/setsourcefilter.c: Likewise.
33376         * inet/test-inet6_opt.c: Likewise.
33377         * inet/tst-network.c: Likewise.
33378         * locale/C-collate.c: Likewise.
33379         * locale/C-ctype.c: Likewise.
33380         * locale/C-time.c: Likewise.
33381         * locale/C-translit.h: Likewise.
33382         * locale/loadarchive.c: Likewise.
33383         * locale/programs/3level.h: Likewise.
33384         * locale/programs/charmap.c: Likewise.
33385         * locale/programs/charmap.h: Likewise.
33386         * locale/programs/ld-address.c: Likewise.
33387         * locale/programs/ld-collate.c: Likewise.
33388         * locale/programs/ld-ctype.c: Likewise.
33389         * locale/programs/ld-identification.c: Likewise.
33390         * locale/programs/ld-measurement.c: Likewise.
33391         * locale/programs/ld-messages.c: Likewise.
33392         * locale/programs/ld-monetary.c: Likewise.
33393         * locale/programs/ld-name.c: Likewise.
33394         * locale/programs/ld-numeric.c: Likewise.
33395         * locale/programs/ld-paper.c: Likewise.
33396         * locale/programs/ld-telephone.c: Likewise.
33397         * locale/programs/ld-time.c: Likewise.
33398         * locale/programs/linereader.c: Likewise.
33399         * locale/programs/locale.c: Likewise.
33400         * locale/programs/locarchive.c: Likewise.
33401         * locale/programs/locfile.h: Likewise.
33402         * locale/programs/repertoire.c: Likewise.
33403         * locale/programs/simple-hash.c: Likewise.
33404         * locale/programs/simple-hash.h: Likewise.
33405         * malloc/memusage.c: Likewise.
33406         * malloc/memusagestat.c: Likewise.
33407         * nis/nis_defaults.c: Likewise.
33408         * nis/nis_hash.c: Likewise.
33409         * nis/nis_print.c: Likewise.
33410         * nis/nis_xdr.c: Likewise.
33411         * nscd/connections.c: Likewise.
33412         * nscd/hstcache.c: Likewise.
33413         * nscd/nscd_gethst_r.c: Likewise.
33414         * nscd/nscd_getserv_r.c: Likewise.
33415         * nscd/nscd_helper.c: Likewise.
33416         * nscd/servicescache.c: Likewise.
33417         * nss/makedb.c: Likewise.
33418         * nss/nss_db/db-XXX.c: Likewise.
33419         * nss/nss_db/db-initgroups.c: Likewise.
33420         * nss/nss_db/db-netgrp.c: Likewise.
33421         * nss/nss_files/files-network.c: Likewise.
33422         * nss/nss_files/files-parse.c: Likewise.
33423         * posix/bug-regex5.c: Likewise.
33424         * posix/fnmatch_loop.c: Likewise.
33425         * posix/regcomp.c: Likewise.
33426         * posix/regexec.c: Likewise.
33427         * posix/tst-rfc3484-2.c: Likewise.
33428         * posix/tst-rfc3484-3.c: Likewise.
33429         * posix/tst-rfc3484.c: Likewise.
33430         * resolv/nss_dns/dns-canon.c: Likewise.
33431         * resolv/nss_dns/dns-network.c: Likewise.
33432         * resolv/res_init.c: Likewise.
33433         * resolv/res_mkquery.c: Likewise.
33434         * resolv/tst-aton.c: Likewise.
33435         * stdlib/cxa_atexit.c: Likewise.
33436         * stdlib/cxa_finalize.c: Likewise.
33437         * stdlib/gen-fpioconst.c: Likewise.
33438         * stdlib/strtol_l.c: Likewise.
33439         * string/tst-endian.c: Likewise.
33440         * sunrpc/auth_des.c: Likewise.
33441         * sunrpc/clnt_udp.c: Likewise.
33442         * sunrpc/rtime.c: Likewise.
33443         * sunrpc/svcauth_des.c: Likewise.
33444         * sunrpc/xdr.c: Likewise.
33445         * sunrpc/xdr_intXX_t.c: Likewise.
33446         * sunrpc/xdr_rec.c: Likewise.
33447         * sysdeps/generic/ldconfig.h: Likewise.
33448         * sysdeps/generic/ldsodefs.h: Likewise.
33449         * sysdeps/generic/memusage.h: Likewise.
33450         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
33451         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
33452         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
33453         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
33454         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
33455         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
33456         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
33457         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
33458         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
33459         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
33460         * sysdeps/posix/getaddrinfo.c: Likewise.
33461         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
33462         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
33463         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
33464         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
33465         * sysdeps/powerpc/test-gettimebase.c: Likewise.
33466         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
33467         * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
33468         * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
33469         * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
33470         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
33471         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
33472         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
33473         * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
33474         * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
33475         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
33476         * sysdeps/x86_64/dl-tls.h: Likewise.
33477         * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
33478         * time/alt_digit.c: Likewise.
33479         * time/era.c: Likewise.
33480         * wcsmbs/tst-c16c32-1.c: Likewise.
33482 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
33484         * math/libm-test.inc (struct test_sincos_data): New type.
33485         (RUN_TEST_LOOP_sincos): New macro.
33486         (sincos_test_data): New variable.
33487         (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
33489 2013-05-16  Richard Henderson  <rth@redhat.com>
33491         * math/atest-exp2.c (LIMB64): New macro.
33492         (CONSTSZ): New macro.
33493         (mp_exp1, mp_exp_m1, mp_log2): New variables.
33494         (hexdig): Move ...
33495         (print_mpn_fp): ... to function scope.
33496         (read_mpn_hex): Remove.
33497         (get_log2): Remove.
33498         (exp2_mpn): Use mp_log2.
33499         (main): Use mp_exp1.
33501 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
33503         * math/libm-test.inc: Remove comment about not testing "inexact"
33504         exceptions.
33505         (INEXACT_EXCEPTION): New macro.
33506         (NO_INEXACT_EXCEPTION): Likewise.
33507         (INVALID_EXCEPTION_OK): Update value.
33508         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
33509         (OVERFLOW_EXCEPTION_OK): Likewise.
33510         (UNDERFLOW_EXCEPTION_OK): Likewise.
33511         (IGNORE_ZERO_INF_SIGN): Likewise.
33512         (ERRNO_UNCHANGED): Likewise.
33513         (ERRNO_EDOM): Likewise.
33514         (ERRNO_ERANGE): Likewise.
33515         (test_exceptions): Handle testing "inexact" exceptions.
33516         (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
33517         (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
33518         (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
33519         (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
33520         INEXACT_EXCEPTION.
33521         (rint_towardzero_test_data): Likewise.
33522         (rint_downward_test_data): Likewise.
33523         (rint_upward_test_data): Likewise.
33525         * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
33526         with OVERFLOW_EXCEPTION.
33527         (exp10_test_data): Likewise.
33528         (exp2_test_data): Likewise.
33529         (expm1_test_data): Likewise.
33530         (lgamma_test_data): Likewise.
33531         (pow_test_data): Likewise.
33532         (tgamma_test_data): Likewise.
33533         (yn_test_data): Remove duplicate test of overflow.
33535         * math/libm-test.inc (struct test_cc_c_data): New type.
33536         (RUN_TEST_LOOP_cc_c): New macro.
33537         (cpow_test_data): New variable.
33538         (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
33540         * math/libm-test.inc (struct test_f_L_data): New type.
33541         (RUN_TEST_LOOP_f_L): New macro.
33542         (llrint_test_data): New variable.
33543         (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
33544         (llrint_tonearest_test_data): New variable.
33545         (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
33546         (llrint_towardzero_test_data): New variable.
33547         (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
33548         (llrint_downward_test_data): New variable.
33549         (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
33550         (llrint_upward_test_data): New variable.
33551         (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
33552         (llround_test_data): New variable.
33553         (llround_test): Run tests with RUN_TEST_LOOP_f_L.
33555 2013-05-13  Peter Collingbourne  <pcc@google.com>
33557         * math/atest-exp2.c (get_log2): Remove const attribute.
33559 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
33561         * math/libm-test.inc (struct test_f_l_data): New type.
33562         (RUN_TEST_LOOP_f_l): New macro.
33563         (lrint_test_data): New variable.
33564         (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
33565         (lrint_tonearest_test_data): New variable.
33566         (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
33567         (lrint_towardzero_test_data): New variable.
33568         (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
33569         (lrint_downward_test_data): New variable.
33570         (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
33571         (lrint_upward_test_data): New variable.
33572         (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
33573         (lround_test_data): New variable.
33574         (lround_test): Run tests with RUN_TEST_LOOP_f_l.
33576 2013-05-15  Peter Collingbourne  <pcc@google.com>
33578         * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
33579         (EXTRACT_WORDS64) Use where appropriate.
33580         (INSERT_WORDS64) Likewise.
33582         * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
33583         constraints with x constraints.
33584         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
33586         * malloc/obstack.c (_obstack_compat): Add initializer.
33588 2013-05-15  Edjunior Machado  <emachado@linux.vnet.ibm.com>
33590         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
33591         si_trapno and add si_addr_lsb to _sifields.sigfault.
33592         (si_trapno): Remove macro.
33593         (si_addr_lsb): Define new macro.
33594         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
33596 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
33598         * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
33599         instead of TEST_f_l.
33600         (llrint_test_tonearest): Likewise.
33601         (llrint_test_towardzero): Likewise.
33602         (llrint_test_downward): Likewise.
33603         (llrint_test_upward): Likewise.
33604         (llround_test): Likewise.
33606         * math/libm-test.inc (struct test_f_i_data): Add comment.
33607         (RUN_TEST_LOOP_f_b): New macro.
33608         (RUN_TEST_LOOP_f_b_tg): Likewise.
33609         (finite_test_data): New variable.
33610         (finite_test): Run tests with RUN_TEST_LOOP_f_b.
33611         (isfinite_test_data): New variable.
33612         (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
33613         (isinf_test_data): New variable.
33614         (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
33615         (isnan_test_data): New variable.
33616         (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
33617         (isnormal_test_data): New variable.
33618         (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
33619         (issignaling_test_data): New variable.
33620         (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
33621         (signbit_test_data): New variable.
33622         (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
33624         * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
33625         with INVALID_EXCEPTION.
33626         (acosh_test_data): Likewise.
33627         (asin_test_data): Likewise.
33628         (atanh_test_data): Likewise.
33629         (fmod_test_data): Likewise.
33630         (log_test_data): Likewise.
33631         (log10_test_data): Likewise.
33632         (log2_test_data): Likewise.
33633         (pow_test_data): Likewise.
33634         (sqrt_test_data): Likewise.
33635         (y0_test_data): Likewise.
33636         (y1_test_data): Likewise.
33637         (yn_test_data): Likewise.
33639         * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
33640         function contents.
33642         * math/libm-test.inc (struct test_ff_i_data): New type.
33643         (RUN_TEST_LOOP_ff_i_tg): New macro.
33644         (isgreater_test_data): New variable.
33645         (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
33646         (isgreaterequal_test_data): New variable.
33647         (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
33648         (isless_test_data): New variable.
33649         (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
33650         (islessequal_test_data): New variable.
33651         (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
33652         (islessgreater_test_data): New variable.
33653         (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
33654         (isunordered_test_data): New variable.
33655         (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
33657 2013-05-14  David S. Miller  <davem@davemloft.net>
33659         * sysdeps/sparc/fpu/libm-test-ulps: Update.
33661 2013-05-14  Joseph Myers  <joseph@codesourcery.com>
33663         * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
33665         * math/libm-test.inc (struct test_fF_f1_data): Change type of
33666         extra_test to int.
33667         (struct test_f_i_data): Change type of max_ulp to int.
33669         * math/libm-test.inc (test_ffI_f1_data): New type.
33670         (RUN_TEST_LOOP_ffI_f1): New macro.
33671         (remquo_test_data): New variable.
33672         (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
33674         * setjmp/tst-setjmp-fp.c: New file.
33675         * setjmp/Makefile (tests): Add tst-setjmp-fp.
33676         (link-libm): New variable.
33677         ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
33679         * math/libm-test.inc (struct test_f_i_data): New type.
33680         (RUN_TEST_LOOP_f_i): New macro.
33681         (RUN_TEST_LOOP_f_i_tg): Likewise.
33682         (fpclassify_test_data): New variable.
33683         (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
33684         (ilogb_test_data): New variable.
33685         (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
33687         * math/libm-test.inc (scalbln_test): Correct function name in END
33688         call.
33690         * math/libm-test.inc (struct test_f_f1_data): Add comment.
33691         (RUN_TEST_LOOP_fI_f1): New macro.
33692         (frexp_test_data): New variable.
33693         (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
33695         * math/libm-test.inc (struct test_fF_f1_data): New type.
33696         (RUN_TEST_LOOP_fF_f1): New macro.
33697         (modf_test_data): New variable.
33698         (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
33700         * math/libm-test.inc (struct test_f_f1_data): New type.
33701         (RUN_TEST_LOOP_f_f1): New macro.
33702         (gamma_test_data): New variable.
33703         (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
33704         (lgamma_test_data): New variable.
33705         (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
33707 2013-05-13  Carlos O'Donell  <carlos@redhat.com>
33709         * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
33710         * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
33711         (main): Comment "tls" pseudo-hwcap.
33713 2013-05-13  Joseph Myers  <joseph@codesourcery.com>
33715         * math/libm-test.inc (struct test_fl_f_data): New type.
33716         (RUN_TEST_LOOP_fl_f): New variable.
33717         (scalbln_test_data): New variable.
33718         (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
33720         * math/libm-test.inc (struct test_fi_f_data): New type.
33721         (RUN_TEST_LOOP_fi_f): New macro.
33722         (ldexp_test_data): New variable.
33723         (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
33724         (scalbn_test_data): New variable.
33725         (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
33727         * math/libm-test.inc (struct test_c_f_data): New type.
33728         (RUN_TEST_LOOP_c_f): New macro.
33729         (cabs_test_data): New variable.
33730         (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
33731         (carg_test_data): New variable.
33732         (carg_test): Run tests with RUN_TEST_LOOP_c_f.
33733         (cimag_test_data): New variable.
33734         (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
33735         (creal_test_data): New variable.
33736         (creal_test): Run tests with RUN_TEST_LOOP_c_f.
33738         * math/libm-test.inc (struct test_if_f_data): New type.
33739         (RUN_TEST_LOOP_if_f): New macro.
33740         (jn_test_data): New variable.
33741         (jn_test): Run tests with RUN_TEST_LOOP_if_f.
33742         (yn_test_data): New variable.
33743         (yn_test): Run tests with RUN_TEST_LOOP_if_f.
33745         * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
33747 2013-05-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33749         * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
33750         (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
33752 2013-05-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
33754         * benchtests/Makefile (CPPFLAGS-nonlib): Add
33755         -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
33756         (bench-deps): Add bench-timing.h.
33757         * benchtests-bench-skeleton.c: Include bench-timing.h.
33758         (main): Use TIMING_* macros instead of clock_gettime.
33759         * benchtests/bench-timing.h: New file.
33761         [BZ #14582]
33762         * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
33763         Renamed from _LIB_VERSION.
33764         (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
33766 2013-05-12  Joseph Myers  <joseph@codesourcery.com>
33768         * math/libm-test.inc (struct test_fff_f_data): New type.
33769         (RUN_TEST_LOOP_fff_f): New macro.
33770         (fma_test_data): New variable.
33771         (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
33772         (fma_towardzero_test_data): New variable.
33773         (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
33774         (fma_downward_test_data): New variable.
33775         (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
33776         (fma_upward_test_data): New variable.
33777         (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
33779         * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
33780         (struct test_c_c_data): New type.
33781         (RUN_TEST_LOOP_c_c): New macro.
33782         (cacos_test_data): New variable.
33783         (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
33784         (cacosh_test_data): New variable.
33785         (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
33786         (casin_test_data): New variable.
33787         (casin_test): Run tests with RUN_TEST_LOOP_c_c.
33788         (casinh_test_data): New variable.
33789         (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
33790         (catan_test_data): New variable.
33791         (catan_test): Run tests with RUN_TEST_LOOP_c_c.
33792         (catanh_test_data): New variable.
33793         (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
33794         (ccos_test_data): New variable.
33795         (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
33796         (ccosh_test_data): New variable.
33797         (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
33798         (cexp_test_data): New variable.
33799         (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
33800         (clog_test_data): New variable.
33801         (clog_test): Run tests with RUN_TEST_LOOP_c_c.
33802         (clog10_test_data): New variable.
33803         (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
33804         (conj_test_data): New variable.
33805         (conj_test): Run tests with RUN_TEST_LOOP_c_c.
33806         (cproj_test_data): New variable.
33807         (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
33808         (csin_test_data): New variable.
33809         (csin_test): Run tests with RUN_TEST_LOOP_c_c.
33810         (csinh_test_data): New variable.
33811         (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
33812         (csqrt_test_data): New variable.
33813         (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
33814         (ctan_test_data): New variable.
33815         (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
33816         (ctan_tonearest_test_data): New variable.
33817         (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
33818         (ctan_towardzero_test_data): New variable.
33819         (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
33820         (ctan_downward_test_data): New variable.
33821         (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
33822         (ctan_upward_test_data): New variable.
33823         (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
33824         (ctanh_test_data): New variable.
33825         (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
33826         (ctanh_tonearest_test_data): New variable.
33827         (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
33828         (ctanh_towardzero_test_data): New variable.
33829         (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
33830         (ctanh_downward_test_data): New variable.
33831         (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
33832         (ctanh_upward_test_data): New variable.
33833         (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
33834         * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
33835         of BUILD_COMPLEX.
33837         * math/libm-test.inc (struct test_ff_f_data): New type.
33838         (struct test_ff_f_data_nexttoward): Likewise.
33839         (RUN_TEST_LOOP_2_f): New macro.
33840         (RUN_TEST_LOOP_ff_f): Likewise.
33841         (atan2_test_data): New variable.
33842         (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
33843         (copysign_test_data): New variable.
33844         (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
33845         (fdim_test_data): New variable.
33846         (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
33847         (fmax_test_data): New variable.
33848         (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
33849         (fmin_test_data): New variable.
33850         (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
33851         (fmod_test_data): New variable.
33852         (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
33853         (hypot_test_data): New variable.
33854         (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
33855         (nextafter_test_data): New variable.
33856         (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
33857         (nexttoward_test_data): New variable.
33858         (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
33859         (pow_test_data): New variable.
33860         (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
33861         (pow_tonearest_test_data): New variable.
33862         (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
33863         (pow_towardzero_test_data): New variable.
33864         (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
33865         (pow_downward_test_data): New variable.
33866         (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
33867         (pow_upward_test_data): New variable.
33868         (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
33869         (remainder_test_data): New variable.
33870         (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
33871         (scalb_test_data): New variable.
33872         (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
33873         * sysdeps/i386/fpu/libm-test-ulps: Update.
33875 2013-05-11  Joseph Myers  <joseph@codesourcery.com>
33877         * math/libm-test.inc (fma_test): Use max_value instead of local
33878         variable fltmax.
33879         (nextafter_test): Likewise.
33881         * math/libm-test.inc (acos_towardzero_test_data): New variable.
33882         (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
33883         (acos_downward_test_data): New variable.
33884         (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
33885         (acos_upward_test_data): New variable.
33886         (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
33887         (acosh_test_data): New variable.
33888         (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
33889         (asin_test_data): New variable.
33890         (asin_test): Run tests with RUN_TEST_LOOP_f_f.
33891         (asin_tonearest_test_data): New variable.
33892         (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
33893         (asin_towardzero_test_data): New variable.
33894         (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
33895         (asin_downward_test_data): New variable.
33896         (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
33897         (asin_upward_test_data): New variable.
33898         (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
33899         (asinh_test_data): New variable.
33900         (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
33901         (atan_test_data): New variable.
33902         (atan_test): Run tests with RUN_TEST_LOOP_f_f.
33903         (atanh_test_data): New variable.
33904         (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
33905         (cbrt_test_data): New variable.
33906         (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
33907         (ceil_test_data): New variable.
33908         (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
33909         (cos_test_data): New variable.
33910         (cos_test): Run tests with RUN_TEST_LOOP_f_f.
33911         (cos_tonearest_test_data): New variable.
33912         (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
33913         (cos_towardzero_test_data): New variable.
33914         (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
33915         (cos_downward_test_data): New variable.
33916         (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
33917         (cos_upward_test_data): New variable.
33918         (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
33919         (cosh_test_data): New variable.
33920         (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
33921         (cosh_tonearest_test_data): New variable.
33922         (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
33923         (cosh_towardzero_test_data): New variable.
33924         (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
33925         (cosh_downward_test_data): New variable.
33926         (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
33927         (cosh_upward_test_data): New variable.
33928         (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
33929         (erf_test_data): New variable.
33930         (erf_test): Run tests with RUN_TEST_LOOP_f_f.
33931         (erfc_test_data): New variable.
33932         (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
33933         (exp_test_data): New variable.
33934         (exp_test): Run tests with RUN_TEST_LOOP_f_f.
33935         (exp_tonearest_test_data): New variable.
33936         (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
33937         (exp_towardzero_test_data): New variable.
33938         (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
33939         (exp_downward_test_data): New variable.
33940         (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
33941         (exp_upward_test_data): New variable.
33942         (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
33943         (exp10_test_data): New variable.
33944         (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
33945         (exp2_test_data): New variable.
33946         (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
33947         (expm1_test_data): New variable.
33948         (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
33949         (fabs_test_data): New variable.
33950         (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
33951         (floor_test_data): New variable.
33952         (floor_test): Run tests with RUN_TEST_LOOP_f_f.
33953         (j0_test_data): New variable.
33954         (j0_test): Run tests with RUN_TEST_LOOP_f_f.
33955         (j1_test_data): New variable.
33956         (j1_test): Run tests with RUN_TEST_LOOP_f_f.
33957         (log_test_data): New variable.
33958         (log_test): Run tests with RUN_TEST_LOOP_f_f.
33959         (log10_test_data): New variable.
33960         (log10_test): Run tests with RUN_TEST_LOOP_f_f.
33961         (log1p_test_data): New variable.
33962         (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
33963         (log2_test_data): New variable.
33964         (log2_test): Run tests with RUN_TEST_LOOP_f_f.
33965         (logb_test_data): New variable.
33966         (logb_test): Run tests with RUN_TEST_LOOP_f_f.
33967         (logb_downward_test_data): New variable.
33968         (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
33969         (nearbyint_test_data): New variable.
33970         (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
33971         (rint_test_data): New variable.
33972         (rint_test): Run tests with RUN_TEST_LOOP_f_f.
33973         (rint_tonearest_test_data): New variable.
33974         (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
33975         (rint_towardzero_test_data): New variable.
33976         (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
33977         (rint_downward_test_data): New variable.
33978         (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
33979         (rint_upward_test_data): New variable.
33980         (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
33981         (round_test_data): New variable.
33982         (round_test): Run tests with RUN_TEST_LOOP_f_f.
33983         (sin_test_data): New variable.
33984         (sin_test): Run tests with RUN_TEST_LOOP_f_f.
33985         (sin_tonearest_test_data): New variable.
33986         (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
33987         (sin_towardzero_test_data): New variable.
33988         (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
33989         (sin_downward_test_data): New variable.
33990         (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
33991         (sin_upward_test_data): New variable.
33992         (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
33993         (sinh_test_data): New variable.
33994         (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
33995         (sinh_tonearest_test_data): New variable.
33996         (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
33997         (sinh_towardzero_test_data): New variable.
33998         (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
33999         (sinh_downward_test_data): New variable.
34000         (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
34001         (sinh_upward_test_data): New variable.
34002         (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
34003         (sqrt_test_data): New variable.
34004         (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
34005         (tan_test_data): New variable.
34006         (tan_test): Run tests with RUN_TEST_LOOP_f_f.
34007         (tan_tonearest_test_data): New variable.
34008         (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
34009         (tan_towardzero_test_data): New variable.
34010         (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
34011         (tan_downward_test_data): New variable.
34012         (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
34013         (tan_upward_test_data): New variable.
34014         (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
34015         (tanh_test_data): New variable.
34016         (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
34017         (tgamma_test_data): New variable.
34018         (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
34019         (trunc_test_data): New variable.
34020         (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
34021         (y0_test_data): New variable.
34022         (y0_test): Run tests with RUN_TEST_LOOP_f_f.
34023         (y1_test_data): New variable.
34024         (y1_test): Run tests with RUN_TEST_LOOP_f_f.
34025         (significand_test_data): New variable.
34026         (significand_test): Run tests with RUN_TEST_LOOP_f_f.
34028 2013-05-10  Christian Grönke  <cgr_bugs@sysgo.com>
34030         [BZ #12387]
34031         * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
34033 2013-05-10  Pino Toscano  <toscano.pino@tiscali.it>
34035         * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
34037 2013-05-10  Andreas Jaeger  <aj@suse.de>
34039         [BZ #15448]
34040         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
34041         (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
34043 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
34045         * math/gen-libm-test.pl (adjust_arg): New function.
34046         (special_functions): Handle generating output in both functions
34047         and arrays.
34048         (parse_args): Likewise.
34049         (generate_testfile): Handle START_DATA and END_DATA.  Pass extra
34050         $in_func argument to parse_args.
34051         * math/libm-test.inc (struct test_f_f_data): New type.
34052         (IF_ROUND_INIT_): New macro.
34053         (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
34054         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
34055         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
34056         (IF_ROUND_INIT_FE_UPWARD): Likewise.
34057         (ROUND_RESTORE_): Likewise.
34058         (ROUND_RESTORE_FE_DOWNWARD): Likewise.
34059         (ROUND_RESTORE_FE_TONEAREST): Likewise.
34060         (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
34061         (ROUND_RESTORE_FE_UPWARD): Likewise.
34062         (RUN_TEST_LOOP_f_f): New macro.
34063         (acos_test_data): New variable.
34064         (acos_test): Run tests with RUN_TEST_LOOP_f_f.
34065         (acos_tonearest_test_data): New variable.
34066         (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
34068 2013-05-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
34070         * benchtests/bench-skeleton.c (startup): Fix coding style.
34072 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
34074         [BZ #6809]
34075         * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
34076         negative infinity argument.
34077         * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
34078         negative infinity argument.
34079         * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
34080         negative infinity argument.
34081         * math/libm-test.inc (tgamma_test): Expect errno to be set for
34082         domain errors.
34084 2013-05-10  Florian Weimer  <fweimer@redhat.com>
34086         * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
34087         * iconv/iconv_charmap.c (charmap_conversion): Likewise.
34088         * iconv/iconv_prog.c (main): Likewise.
34089         * locale/programs/charmap-dir.c (charmap_readdir)
34090         (fopen_uncompressed): Likewise.
34091         * locale/programs/locfile.c (siblings_uncached)
34092         (write_locale_data): Use lstat64 instead of lstat.
34093         * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
34094         stat.
34096 2013-05-10  Andreas Jaeger  <aj@suse.de>
34098         [BZ #15395]
34099         * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
34100         localization.
34101         Include <locale.h>.
34103 2013-05-09  Carlos O'Donell  <carlos@redhat.com>
34105         * elf/dl-close.c (_dl_close_worker): Add comments.
34107 2013-05-09  Joseph Myers  <joseph@codesourcery.com>
34109         [BZ #15359]
34110         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
34111         high part of pi/2.
34112         (__ieee754_rem_pio2l): Update comments.
34114         [BZ #15429]
34115         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
34116         high part of pi/2.
34117         (__ieee754_rem_pio2l): Update comments.
34119         * math/libm-test.inc (M_SQRT_2_2): Remove macro.
34120         (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
34122         * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
34123         M_PI_4l.
34125         * math/libm-test.inc (M_PI_34l): Define using decimal constant.
34126         (M_PI_34_LOG10El): Likewise.
34127         (M_PI2_LOG10El): Likewise.
34128         (M_PI4_LOG10El): Likewise.
34129         (M_PI_LOG10El): Likewise.
34131 2013-05-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34133         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
34135 2013-05-08  Joseph Myers  <joseph@codesourcery.com>
34137         * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
34138         (MINUS_ZERO_INIT): Likewise.
34139         (PLUS_INFTY_INIT): Likewise.
34140         (MINUS_INFTY_INIT): Likewise.
34141         (QNAN_VALUE_INIT): Likewise.
34142         (MAX_VALUE_INIT): Likewise.
34143         (MIN_VALUE_INIT): Likewise.
34144         (MIN_SUBNORM_VALUE_INIT): Likewise.
34145         (plus_zero): Initialize with PLUS_ZERO_INIT.
34146         (minus_zero): Initialize with MINUS_ZERO_INIT.
34147         (plus_infty): Initialize with PLUS_INFTY_INIT.
34148         (minus_infty): Initialize with MINUS_INFTY_INIT.
34149         (qnan_value): Initialize with QNAN_VALUE_INIT.
34150         (max_value): Initialize with MAX_VALUE_INIT.
34151         (min_value): Initialize with MIN_VALUE_INIT.
34152         (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
34154         * math/libm-test.inc (RUN_TEST_if_f): New macro.
34155         (jn_test): Use TEST_if_f instead of TEST_ff_f.
34156         (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
34157         (yn_test): Use TEST_if_f instead of TEST_ff_f.
34159         * math/libm-test.inc (RUN_TEST_f_f): New macro.
34160         (RUN_TEST_2_f): Likewise.
34161         (RUN_TEST_ff_f): Likewise.
34162         (RUN_TEST_fi_f): Likewise.
34163         (RUN_TEST_fl_f): Likewise.
34164         (RUN_TEST_fff_f): Likewise.
34165         (RUN_TEST_c_f): Likewise.
34166         (RUN_TEST_f_f1): Likewise.
34167         (RUN_TEST_fF_f1): Likewise.
34168         (RUN_TEST_fI_f1): Likewise.
34169         (RUN_TEST_ffI_f1): Likewise.
34170         (RUN_TEST_c_c): Likewise.
34171         (RUN_TEST_cc_c): Likewise.
34172         (RUN_TEST_f_i): Likewise.
34173         (RUN_TEST_f_i_tg): Likewise.
34174         (RUN_TEST_ff_i_tg): Likewise.
34175         (RUN_TEST_f_b): Likewise.
34176         (RUN_TEST_f_b_tg): Likewise.
34177         (RUN_TEST_f_l): Likewise.
34178         (RUN_TEST_f_L): Likewise.
34179         (RUN_TEST_sincos): Likewise.
34180         * math/gen-libm-test.pl (new_test): Take new argument to indicate
34181         whether to show exceptions.  Do not include ");\n" in return
34182         value.
34183         (special_functions): Output call to RUN_TEST_sincos instead of
34184         check_float calls.  Update calls to new_test.
34185         (parse_args): Output call to single RUN_TEST_* macro instead of
34186         check_* calls and other assignments.  Update calls to new_test.
34188         [BZ #2546]
34189         [BZ #2560]
34190         [BZ #5159]
34191         [BZ #15426]
34192         * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
34193         input to result for tgamma overflow.
34194         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
34195         (gamma_coeff): New variable.
34196         (NCOEFF): New macro.
34197         (gamma_positive): New function.
34198         (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
34199         underflow here.  Use gamma_positive instead of exp (lgamma) for
34200         other arguments.
34201         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
34202         (gamma_coeff): New variable.
34203         (NCOEFF): New macro.
34204         (gammaf_positive): New function.
34205         (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
34206         underflow here.  Use gamma_positive instead of exp (lgamma) for
34207         other arguments.
34208         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
34209         (gamma_coeff): New variable.
34210         (NCOEFF): New macro.
34211         (gammal_positive): New function.
34212         (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
34213         underflow here.  Use gamma_positive instead of exp (lgamma) for
34214         other arguments.
34215         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
34216         (gamma_coeff): New variable.
34217         (NCOEFF): New macro.
34218         (gammal_positive): New function.
34219         (__ieee754_gammal_r): Handle positive infinity, overflow and
34220         underflow here.  Handle NaN the same as positive infinity.  Remove
34221         check x < 0xffffffff for negative integers.  Use gamma_positive
34222         instead of exp (lgamma) for other arguments.
34223         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
34224         (gamma_coeff): New variable.
34225         (NCOEFF): New macro.
34226         (gammal_positive): New function.
34227         * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
34228         * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
34229         * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
34230         * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
34231         * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
34232         * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
34233         * sysdeps/generic/math_private.h (__gamma_productf): New
34234         prototype.
34235         (__gamma_product): Likewise.
34236         (__gamma_productl): Likewise.
34237         * math/Makefile (libm-calls): Add gamma_product.
34238         * math/libm-test.inc (tgamma_test): Add more tests.
34239         * sysdeps/i386/fpu/libm-test-ulps: Update.
34240         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34242 2013-05-08  Ondřej Bílka  <neleai@seznam.cz>
34244         * benchtests/bench-skeleton.c (main): Preheat CPU.
34246 2013-05-07  Aurelien Jarno <aurelien@aurel32.net>
34248         * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
34250 2013-05-07  Roland McGrath  <roland@hack.frob.com>
34252         * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
34253         and _dl_skip_args_internal.
34255 2013-05-07  Carlos O'Donell  <carlos@redhat.com>
34257         * manual/message.texi (Message Translation): Talk about users.
34258         Message to key mapping impacts design.
34260 2013-05-06  Roland McGrath  <roland@hack.frob.com>
34262         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
34264         * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
34266         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
34267         * sysdeps/wordsize-64/glob64.c: ... here.
34269         * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
34270         (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
34271         New macros.
34273         * debug/getlogin_r_chk.c: Moved to ...
34274         * login/getlogin_r_chk.c: ... here.
34275         * debug/Makefile (routines): Move getlogin_r_chk to ...
34276         * login/Makefile (routines): ... here.
34277         * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
34278         * login/Versions (libc: GLIBC_2.4): ... here.
34280         * io/poll.c (__poll): Renamed from poll.
34281         Add libc_hidden_def.
34282         (poll): Define as weak alias.
34284         * debug/ptsname_r_chk.c: Moved to ...
34285         * login/ptsname_r_chk.c: ... here.
34286         * debug/Makefile (routines): Move ptsname_r_chk to ...
34287         * login/Makefile (routines): ... here.
34288         * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
34289         * login/Versions (libc: GLIBC_2.4): ... here.
34291         * posix/getlogin.c: Moved to ...
34292         * login/getlogin.c: ... here.
34293         * posix/getlogin_r.c: Moved to ...
34294         * login/getlogin_r.c: ... here.
34295         * posix/getlogin_r.c: Moved to ...
34296         * login/getlogin_r.c: ... here.
34297         * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
34298         * login/Makefile (routines): ... here.
34299         * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
34300         * login/Versions (libc: GLIBC_2.0): ... here.
34302         * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
34303         (setrlimit): Define as weak alias.
34305         * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
34306         Call __ names for open, ftruncate, and close.
34307         For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
34308         (truncate): Define as weak alias.
34310 2013-05-06  Joseph Myers  <joseph@codesourcery.com>
34312         * math/gen-libm-test.pl (parse_args): Initialize x before each
34313         test of frexp, modf and remquo.
34315         * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
34316         test signgam value.
34318 2013-05-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34320         [BZ #15418]
34321         [BZ #15419]
34322         * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
34323         internal tests.
34324         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
34326 2013-05-06  Roland McGrath  <roland@hack.frob.com>
34328         * elf/dl-writev.h: New file.
34329         * elf/dl-misc.c: Include it.
34330         (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
34331         * sysdeps/unix/sysv/linux/dl-writev.h: New file.
34333 2013-05-04  Joseph Myers  <joseph@codesourcery.com>
34335         * math/libm-test.inc (noXFails): Remove variable.
34336         (noXPasses): Likewise.
34337         (BUILD_COMPLEX_INT): Remove macro.
34338         (print_screen): Remove xfail argument.
34339         (print_screen_max_error): Likewise.
34340         (update_stats): Likewise.
34341         (print_max_error): Likewise.  Update calls to other affected
34342         functions.
34343         (print_complex_max_error): Likewise.
34344         (test_single_exception): Update calls to print_screen.
34345         (test_single_errno): Likewise.
34346         (check_float_internal): Remove xfail argument.  Update calls to
34347         other affected functions.
34348         (check_float): Likewise.
34349         (check_complex): Likewise.
34350         (check_int): Likewise.
34351         (check_long): Likewise.
34352         (check_bool): Likewise.
34353         (check_longlong): Likewise.
34354         (main): Don't print noXFails and noXPasses.
34355         * math/gen-libm-test.pl (top level): Don't mention expected
34356         failure handling in comment.
34357         (new_test): Don't handle expected failures.
34358         (parse_args): Don't mention expected failure handling in comment.
34359         (generate_testfile): Don't handle expected failures.
34360         (parse_ulps): Likewise.
34361         (print_ulps_file): Likewise.
34362         (get_failure): Remove function.
34363         (output_test): Don't handle expected failures.
34364         * make/README.libm-test: Don't mention expected failure handling.
34366         * math/libm-test.inc (plus_zero): Make const.  Add initializer.
34367         (minus_zero): Likewise.
34368         (plus_infty): Likewise.
34369         (minus_infty): Likewise.
34370         (qnan_value): Likewise.
34371         (max_value): Likewise.
34372         (min_value): Likewise.
34373         (min_subnorm_value): Likewise.
34374         (initialize): Do not initialize those variables dynamically.
34376 2013-05-03  Roland McGrath  <roland@hack.frob.com>
34378         * io/open.c (__open_2): Moved to ...
34379         * io/open_2.c: ... this new file.
34380         * io/open64.c (__open64_2): Moved to ...
34381         * io/open64_2.c: ... this new file.
34382         * io/openat.c (__openat_2): Moved to ...
34383         * io/openat_2.c: ... this new file.
34384         * io/openat64.c (__openat64_2): Moved to ...
34385         * io/openat64_2.c: ... this new file.
34386         * io/Makefile (routines): Add them.
34387         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
34388         * sysdeps/unix/sysv/linux/open_2.c: File removed.
34389         * sysdeps/unix/sysv/linux/open64_2.c: File removed.
34390         * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
34391         * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
34392         * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
34393         (__openat64): Add hidden_ver.
34394         * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
34395         * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
34397         * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
34398         Separately conditionalize setting of GLRO(dl_sysinfo) so
34399         that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
34400         as well, but the actual setting is only under [NEED_DL_SYSINFO].
34402 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34404         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
34405         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
34406         definition.
34407         (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
34408         * sysdeps/unix/sysv/linux/powerpc/init-first.c
34409         (_libc_vdso_platform_setup): Add __vdso_time initialization.
34410         * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
34411         for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
34413 2013-05-03  Joseph Myers  <joseph@codesourcery.com>
34415         * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
34416         test signgam value.
34418         * math/libm-test.inc (hypot_test): Do not use
34419         IGNORE_ZERO_INF_SIGN.
34421 2013-05-03  Andreas Jaeger  <aj@suse.de>
34423         * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
34424         Linux 3.9.
34425         * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
34426         (PF_MAX): Adjust for VSOCK change.
34428 2013-05-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34430         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
34432 2013-05-02  Carlos O'Donell  <carlos@redhat.com>
34434         [BZ #15264]
34435         * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
34436         * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
34437         * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
34439 2013-05-02  David S. Miller  <davem@davemloft.net>
34441         * sysdeps/sparc/fpu/libm-test-ulps: Update.
34443 2013-05-01  Ondřej Bílka  <neleai@seznam.cz>
34445         * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
34447 2013-05-01  Roland McGrath  <roland@hack.frob.com>
34449         * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
34451 2013-05-01  Richard Smith  <richard@metafoo.co.uk>
34453         [BZ #14952]
34454         * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
34455         [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
34456         Use __attribute__ ((__gnu_inline__)).
34457         [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
34458         Don't use __attribute__ ((__gnu_inline__)).
34460 2013-05-01  Joseph Myers  <joseph@codesourcery.com>
34462         [BZ #15423]
34463         * math/s_catan.c (__catan): Handle small real or imaginary part of
34464         input specially to avoid spurious underflow.
34465         * math/s_catanf.c (__catanf): Likewise.
34466         * math/s_catanh.c (__catanh): Likewise.
34467         * math/s_catanhf.c (__catanhf): Likewise.
34468         * math/s_catanhl.c (__catanhl): Likewise.
34469         * math/s_catanl.c (__catanl): Likewise.
34470         * math/libm-test.inc (catan_test): Add more tests.
34471         (catanh_test): Likewise.
34472         * sysdeps/i386/fpu/libm-test-ulps: Update.
34473         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34475 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34477         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
34479 2013-04-30  Joseph Myers  <joseph@codesourcery.com>
34481         [BZ #15416]
34482         * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
34483         accurately for denominator in atan2.
34484         * math/s_catanf.c (__catanf): Likewise.
34485         * math/s_catanh.c (__catanh): Likewise.
34486         * math/s_catanhf.c (__catanhf): Likewise.
34487         * math/s_catanhl.c (__catanhl): Likewise.
34488         * math/s_catanl.c (__catanl): Likewise.
34489         * math/libm-test.inc (catan_test): Add more tests.
34490         (catanh_test): Likewise.
34491         * sysdeps/i386/fpu/libm-test-ulps: Update.
34492         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34494 2013-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
34496         * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
34498         * benchtests/Makefile (bench): Remove slow benchmarks.
34499         * benchtests/atan-inputs: Add slow benchmark inputs.
34500         * benchtests/bench-modf.c (NUM_VARIANTS): Define.
34501         (BENCH_FUNC): Accept variant offset.
34502         (VARIANT): Define.
34503         * benchtests/bench-skeleton.c (main): Run benchmark for each
34504         variant.
34505         * benchtests/cos-inputs: Add slow benchmark inputs.
34506         * benchtests/exp-inputs: Likewise.
34507         * benchtests/pow-inputs: Likewise.
34508         * benchtests/sin-inputs: Likewise.
34509         * benchtests/slowatan-inputs: Remove.
34510         * benchtests/slowatan.c: Remove.
34511         * benchtests/slowcos-inputs: Remove.
34512         * benchtests/slowcos.c: Remove.
34513         * benchtests/slowexp-inputs: Remove.
34514         * benchtests/slowexp.c: Remove.
34515         * benchtests/slowpow-inputs: Remove.
34516         * benchtests/slowpow.c: Remove.
34517         * benchtests/slowsin-inputs: Remove.
34518         * benchtests/slowsin.c: Remove.
34519         * benchtests/slowtan-inputs: Remove.
34520         * benchtests/slowtan.c: Remove.
34521         * benchtests/tan-inputs: Add slow benchmark inputs.
34522         * scripts/bench.pl: Parse comments and directives.
34524         * benchtests/Makefile: Remove *-ITER.  Define BENCH_DURATION
34525         in CPPFLAGS.
34526         ($(objpfx)bench-%.c): Remove *-ITER.
34527         * benchtests/bench-modf.c: Remove definition of ITER.
34528         * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
34529         (main): Loop for DURATION seconds instead of fixed number of
34530         iterations.
34531         * scripts/bench.pl: Don't expect iterations in parameters.
34533 2013-04-29  Roland McGrath  <roland@hack.frob.com>
34535         * io/fchdir.c (__fchdir): Renamed from fchdir.
34536         (fchdir): Define as weak alias.
34538 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
34540         * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
34541         (ERRNO_EDOM): Likewise.
34542         (ERRNO_ERANGE): Likewise.
34543         (noErrnoTests): New variable.
34544         (init_max_error): Set errno to 0.
34545         (test_single_errno): New function.
34546         (test_errno): Likewise.
34547         (check_float_internal): Call test_errno.  Set errno to 0.
34548         (check_complex): Refer to errno tests in comment.
34549         (check_int): Call test_errno.  Set errno to 0.
34550         (check_long): Likewise.
34551         (check_bool): Likewise.
34552         (check_longlong): Likewise.
34553         (cos_test): Use ERRNO_* flags for errno tests instead of
34554         check_int.
34555         (expm1_test): Likewise.
34556         (fmod_test): Likewise.
34557         (ilogb_test): Likewise.
34558         (lgamma_test): Likewise.
34559         (pow_test): Likewise.
34560         (remainder_test): Likewise.
34561         (sin_test): Likewise.
34562         (tan_test): Likewise.
34563         (yn_test): Likewise.
34564         (initialize): Set errno to 0.
34565         (main): Print number of errno tests.
34566         * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
34568 2013-04-29  Andreas Jaeger  <aj@suse.de>
34570         [BZ #15084]
34571         * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
34572         and RES_USEVC.
34574         [BZ #15085]
34575         * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
34576         * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
34577         unimplemented.
34579         [BZ #15380]
34580         * stdlib/random.c (__initstate): Return NULL if
34581         __initstate fails.
34583         [BZ #15086]
34584         * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
34585         RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
34586         RES_SNGLKUPREOP.
34588 2013-04-29  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34590         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
34592 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
34594         * math/libm-test.inc (cacos_test): Add missing semicolons at ends
34595         of individual tests.
34596         (casin_test): Likewise.
34597         (casinh_test): Likewise.
34599 2013-04-27  Joseph Myers  <joseph@codesourcery.com>
34601         [BZ #15409]
34602         * math/s_catan.c (__catan): Handle arguments with large real or
34603         imaginary part separately without squaring.
34604         * math/s_catanf.c (__catanf): Likewise.
34605         * math/s_catanh.c (__catanh): Likewise.
34606         * math/s_catanhf.c (__catanhf): Likewise.
34607         * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
34608         and redefine.
34609         (__catanhl): Handle arguments with large real or imaginary part
34610         separately without squaring.
34611         * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
34612         and redefine.
34613         (__catanl): Handle arguments with large real or imaginary part
34614         separately without squaring.
34615         * math/libm-test.inc (catan_test): Add more tests.
34616         (catanh_test): Likewise.
34617         * sysdeps/i386/fpu/libm-test-ulps: Update.
34618         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34620 2013-04-27  Andreas Jaeger  <aj@suse.de>
34622         [BZ #15007]
34623         * stdlib/stdlib.h: Update guards for qecvt.
34624         * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
34625         <stdlib.h>.
34627 2013-04-27  Allan McRae  <allan@archlinux.org>
34629         * sysdeps/i386/fpu/libm-test-ulps: Update.
34631 2013-04-26  Joseph Myers  <joseph@codesourcery.com>
34633         [BZ #15406]
34634         * math/s_catan.c: Include <float.h>.
34635         (__catan): Ensure underflow exception occurs for underflowed
34636         result.
34637         * math/s_catanf.c: Include <float.h>.
34638         (__catanf): Ensure underflow exception occurs for underflowed
34639         result.
34640         * math/s_catanh.c: Include <float.h>.
34641         (__catanh): Ensure underflow exception occurs for underflowed
34642         result.
34643         * math/s_catanhf.c: Include <float.h>.
34644         (__catanhf): Ensure underflow exception occurs for underflowed
34645         result.
34646         * math/s_catanhl.c: Include <float.h>.
34647         (__catanhl): Ensure underflow exception occurs for underflowed
34648         result.
34649         * math/s_catanl.c: Include <float.h>.
34650         (__catanl): Ensure underflow exception occurs for underflowed
34651         result.
34652         * math/libm-test.inc (catan_test): Add more tests.
34653         (catanh_test): Likewise.
34655         [BZ #15405]
34656         * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
34657         underflowed result.
34658         * math/s_ccoshf.c (__ccoshf): Likewise.
34659         * math/s_ccoshl.c (__ccoshl): Likewise.
34660         * math/s_csin.c (__csin): Likewise.
34661         * math/s_csinf.c (__csinf): Likewise.
34662         * math/s_csinh.c (__csinh): Likewise.
34663         * math/s_csinhf.c (__csinhf): Likewise.
34664         * math/s_csinhl.c (__csinhl): Likewise.
34665         * math/s_csinl.c (__csinl): Likewise.
34666         * math/libm-test.inc (ccos_test): Add more tests.
34667         (ccosh_test): Likewise.
34668         (csin_test): Likewise.
34669         (csinh_test): Likewise.
34671 2013-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34673         * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
34674         * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
34675         * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
34676         * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
34677         * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
34678         powerpc/power5+/fpu folders.
34679         * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
34682 2013-04-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
34684         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
34686 2013-04-25  Joseph Myers  <joseph@codesourcery.com>
34688         * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
34689         additions to variable.
34690         [$(config-machine) = x86_64] (modules-names): Likewise.
34691         ($(objpfx)tst-audit3): Remove dependency.
34692         ($(objpfx)tst-audit3.out): Likewise.
34693         ($(objpfx)tst-audit4): Likewise.
34694         ($(objpfx)tst-audit4.out): Likewise.
34695         ($(objpfx)tst-audit5): Likewise.
34696         ($(objpfx)tst-audit5.out): Likewise.
34697         ($(objpfx)tst-audit6): Likewise.
34698         ($(objpfx)tst-audit6.out): Likewise.
34699         ($(objpfx)tst-audit7): Likewise.
34700         ($(objpfx)tst-audit7.out): Likewise.
34701         (tst-audit3-ENV): Remove variable.
34702         (tst-audit4-ENV): Likewise.
34703         (tst-audit5-ENV): Likewise.
34704         (tst-audit6-ENV): Likewise.
34705         (tst-audit7-ENV): Likewise.
34706         [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
34707         [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
34708         addition to variable.
34709         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
34710         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
34711         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
34712         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
34713         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
34714         * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
34715         tst-audit3, tst-audit4 and tst-audit5.
34716         [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
34717         tst-audit6 and tst-audit7.
34718         [$(subdir) = elf] (modules-names): Add audit modules for those
34719         tests.
34720         [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
34721         [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
34722         [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
34723         [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
34724         [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
34725         [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
34726         [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
34727         [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
34728         [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
34729         [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
34730         [$(subdir) = elf] (tst-audit3-ENV): New variable.
34731         [$(subdir) = elf] (tst-audit4-ENV): Likewise.
34732         [$(subdir) = elf] (tst-audit5-ENV): Likewise.
34733         [$(subdir) = elf] (tst-audit6-ENV): Likewise.
34734         [$(subdir) = elf] (tst-audit7-ENV): Likewise.
34735         [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
34736         Likewise.
34737         [$(subdir) = elf && $(config-cflags-avx) = yes]
34738         (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
34739         [$(subdir) = elf && $(config-cflags-avx) = yes]
34740         (CFLAGS-tst-auditmod4a.c): Likewise.
34741         [$(subdir) = elf && $(config-cflags-avx) = yes]
34742         (CFLAGS-tst-auditmod4b.c): Likewise.
34743         [$(subdir) = elf && $(config-cflags-avx) = yes]
34744         (CFLAGS-tst-auditmod6b.c): Likewise.
34745         [$(subdir) = elf && $(config-cflags-avx) = yes]
34746         (CFLAGS-tst-auditmod6c.c): Likewise.
34747         [$(subdir) = elf && $(config-cflags-avx) = yes]
34748         (CFLAGS-tst-auditmod7b.c): Likewise.
34749         * elf/tst-audit3.c: Move to ...
34750         * sysdeps/x86_64/tst-audit3.c: ... here.
34751         * elf/tst-audit4.c: Move to ...
34752         * sysdeps/x86_64/tst-audit4.c: ... here.
34753         * elf/tst-audit5.c: Move to ...
34754         * sysdeps/x86_64/tst-audit5.c: ... here.
34755         * elf/tst-audit6.c: Move to ...
34756         * sysdeps/x86_64/tst-audit6.c: ... here.
34757         * elf/tst-audit7.c: Move to ...
34758         * sysdeps/x86_64/tst-audit7.c: ... here.
34759         * elf/tst-auditmod3a.c: Move to ...
34760         * sysdeps/x86_64/tst-auditmod3a.c: ... here.
34761         * elf/tst-auditmod3b.c: Move to ...
34762         * sysdeps/x86_64/tst-auditmod3b.c: ... here.
34763         * elf/tst-auditmod4a.c: Move to ...
34764         * sysdeps/x86_64/tst-auditmod4a.c: ... here.
34765         * elf/tst-auditmod4b.c: Move to ...
34766         * sysdeps/x86_64/tst-auditmod4b.c: ... here.
34767         * elf/tst-auditmod5a.c: Move to ...
34768         * sysdeps/x86_64/tst-auditmod5a.c: ... here.
34769         * elf/tst-auditmod5b.c: Move to ...
34770         * sysdeps/x86_64/tst-auditmod5b.c: ... here.
34771         * elf/tst-auditmod6a.c: Move to ...
34772         * sysdeps/x86_64/tst-auditmod6a.c: ... here.
34773         * elf/tst-auditmod6b.c: Move to ...
34774         * sysdeps/x86_64/tst-auditmod6b.c: ... here.
34775         * elf/tst-auditmod6c.c: Move to ...
34776         * sysdeps/x86_64/tst-auditmod6c.c: ... here.
34777         * elf/tst-auditmod7a.c: Move to ...
34778         * sysdeps/x86_64/tst-auditmod7a.c: ... here.
34779         * elf/tst-auditmod7b.c: Move to ...
34780         * sysdeps/x86_64/tst-auditmod7b.c: ... here.
34782 2013-04-25  Paul Pluzhnikov  <ppluzhnikov@google.com>
34784         [BZ #15366]
34785         * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
34786         define unconditionally.
34787         * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
34788         define unconditionally.
34789         (INT8_C, INT16_C, etc.): Likewise.
34791 2013-04-25  Maciej W. Rozycki  <macro@codesourcery.com>
34793         * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
34794         __ehdr_start with hidden visibility.
34796         * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
34798 2013-04-24  Carlos O'Donell  <carlos@redhat.com>
34800         * math/libm-test.inc (cos_test): Use accurate hex constants.
34801         (sincost_test): Likewise.
34803 2013-04-24  Joseph Myers  <joseph@codesourcery.com>
34805         * math/libm-test.inc (catan_test): Add more tests.
34806         (catanh_test): Likewise.
34808         * math/s_catanf.c (__catanf): Use suffixed floating-point
34809         constants.
34810         * math/s_catanhf.c (__catanhf): Likewise.
34811         * math/s_catanhl.c (__catanhl): Likewise.
34812         * math/s_catanl.c (__catanl): Likewise.
34814         [BZ #15394]
34815         * math/s_catan.c (__catan): Calculate imaginary part of result
34816         with log1p not log unless computing log of number close to 0.
34817         * math/s_catanf.c (__catanf): Likewise.
34818         * math/s_catanl.c (__catanl): Likewise.
34819         * math/s_catanh.c (__catanh): Calculate real part of result with
34820         log1p not log unless computing log of number close to 0.
34821         * math/s_catanhf.c (__catanhf): Likewise.
34822         * math/s_catanhl.c (__catanhl): Likewise.
34823         * math/libm-test.inc (catan_test): Add more tests.
34824         (catanh_test): Likewise.
34825         * sysdeps/i386/fpu/libm-test-ulps: Update.
34826         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34828 2013-04-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
34830         * benchtests/Makefile: Mention files in which fast and slow
34831         paths of math functions are implemented.
34833 2013-04-23  Roland McGrath  <roland@hack.frob.com>
34835         * sysdeps/posix/timespec_get.c: New file.
34837 2013-04-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34839         * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
34840         POWER.
34841         * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
34842         for POWER.
34843         * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
34844         powerpc/power5/fpu folders.
34845         * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
34846         * benchtests/Makefile: Add modf testcase.
34847         * benchtests/bench-modf.c: New file: Benchmark test for mo
34849 2013-04-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
34851         [BZ #14888]
34852         * time/Makefile (tests): Add tst-strptime-whitespace.
34853         * time/strptime_l.c (get_number): Use ISSPACE.
34854         (__strptime_internal): Likewise.
34855         * time/tst-strptime-whitespace.c: New test case.
34857 2013-04-23  Andreas Schwab  <schwab@linux-m68k.org>
34859         * nss/nss_files/files-init.c (TF): Don't initialize flexible array
34860         member.
34861         (_nss_files_init): Set it here.
34863 2013-04-23  Heiko Carstens  <heiko.carstens@de.ibm.com>
34865         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
34866         f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
34867         unsigned.
34869 2013-04-22  Jan-Benedict Glaw  <jbglaw@getslash.de>
34871         * nss/getent.c (shadow_keys): Call endspent, not endpwent.
34873 2013-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
34875         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
34876         size just once.
34878 2013-04-21  David S. Miller  <davem@davemloft.net>
34880         * po/ru.po: Update Russion translation from translation project.
34882 2013-04-17  Adam Conrad  <adconrad@0c3.net>
34884         * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
34885         and setfsgid.
34887 2013-04-17  Carlos O'Donell  <carlos@redhat.com>
34889         * configure.in: Remove i386 configure warning. Remove i386 case.
34890         * configure: Regenerate.
34891         * sysdeps/i386/configure.in: Raise error if config_machine is i386.
34892         Add example to error message.
34893         * sysdeps/i386/configure: Regenerate.
34895 2013-04-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
34897         * benchtests/Makefile (bench): Add cos, tan, slowcos and
34898         slowtan.
34899         * benchtests/cos-inputs: New file.
34900         * benchtests/slowcos-inputs: New file.
34901         * benchtests/slowcos.c: New file.
34902         * benchtests/slowtan-inputs: New file.
34903         * benchtests/slowtan.c: New file.
34904         * benchtests/tan-inputs: New file.
34906 2013-04-16  Roland McGrath  <roland@hack.frob.com>
34908         * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
34909         considered kosher.
34911 2013-04-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
34913         * benchtests/Makefile: Include cppflags-iterator.mk to add
34914         -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
34916         * Makefile.in (bench-clean): New target.
34917         * benchtests/Makefile (bench-clean): Likewise.
34919 2013-04-16  David Holsgrove  <david.holsgrove@xilinx.com>
34921         * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
34923 2013-04-15  Thomas Schwinge  <thomas@codesourcery.com>
34925         * stdio-common/tstdiomisc.c: Fix coding-style violation.
34927 2013-04-15  Andreas Schwab  <schwab@suse.de>
34929         * nscd/grpcache.c (cache_addgr): Properly check for short write.
34930         * nscd/initgrcache.c (addinitgroupsX): Likewise.
34931         * nscd/pwdcache.c (cache_addpw): Likewise.
34932         * nscd/servicescache.c (cache_addserv): Likewise.  Don't write
34933         more than recsize.
34935 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
34937         * benchtests/Makefile (bench): Write all output to
34938         bench-out.tmp together.
34940 2013-04-15  Andreas Schwab  <schwab@suse.de>
34942         * nscd/nscd.c (main): Don't fork again after closing files.
34944 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
34946         * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
34948         * benchtests/Rules (bench-deps): Collect dependencies into a
34949         single variable.  Add Makefile to dependencies.
34950         ($(objpfx)bench-%.c): Depend on bench-deps.
34952 2013-04-12  Roland McGrath  <roland@hack.frob.com>
34953             Xavier Roche  <roche+kml2@exalead.com>
34955         [BZ #15361]
34956         * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
34957         just that it's a file descriptor.
34958         * manual/llio.texi (Synchronizing AIO Operations): Update description
34959         for EBADF error from aio_fsync.
34961 2013-04-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
34963         * Rules (bench): Move target definition...
34964         * benchtests/Makefile: ... here.
34966 2013-04-11  Carlos O'Donell  <carlos@redhat.com>
34968         * math/libm-test.inc (cos_test): Fix PI/2 test.
34969         (sincos_test): Likewise.
34970         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
34971         * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
34973 2013-04-11  Andreas Schwab  <schwab@suse.de>
34975         [BZ #13988]
34976         * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
34977         accept exponent character only when digits were seen.
34978         * stdio-common/Makefile (tests): Add bug26.
34979         * stdio-common/bug26.c: New file.
34981         [BZ #14293]
34982         * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
34983         non-freeable.
34985 2013-04-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
34987         * Makeconfig (rtld-prefix): Define built linker prefix.
34988         * Rules (run-bench): Use it.
34989         * math/Makefile (run-regen-ulps): Likewise.
34991         * Rules (bench): Remove eval.
34993 2013-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
34994             Roland McGrath  <roland@hack.frob.com>
34995             Ondrej Bilka  <neleai@seznam.cz>
34997         [BZ #15346]
34998         * time/getdate.c: Include ctype.h and alloca.h.
34999         (__getdate_r): Trim leading and trailing spaces of input.
35000         * time/tst-getdate.c (tests): Add tests with leading and
35001         trailing spaces.
35003 2013-04-08  Roland McGrath  <roland@hack.frob.com>
35005         [BZ #14280]
35006         * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
35007         when computing value.
35009 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
35011         * math/README.libm-test (How can I generate "libm-test-ulps"?):
35012         Use testrun.sh to run libm tests.
35014         [BZ #15309]
35015         * elf/dl-open.c (dl_open_worker): memset all of seen array.
35017 2013-04-06  Marko Myllynen  <myllynen@redhat.com>
35019         [BZ #15264]
35020         * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
35022 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
35024         * Makefile.in (regen-ulps): New target.
35025         * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
35026         [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
35027         [ifneq (no,$(PERL)] (regen-ulps): New target.
35028         [ifeq (no,$(PERL)] (regen-ulps): New target.
35029         * math/libm-test.inc (ulps_file_name): Define.
35030         (output_dir): New variable.
35031         (options): Add "output-dir" option.
35032         (parse_opt): Handle 'o' case.
35033         (main): If output_dir is non-NULL use it as a prefix
35034         otherwise use "".
35035         * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
35037 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
35039         [BZ #10060, #10062]
35040         * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
35041         * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
35042         fail configure if __sync_val_compare_and_swap is not inlined.
35043         * sysdeps/i386/configure: Regenerate.
35044         * configure.in: Build for i686 when configured for i386.
35045         * configure: Regenerate.
35046         * README: Remove i386 reference.
35048 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
35050         * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
35051         * sysdeps/s390/s390-64/sysdep.h: Likewise.
35053 2013-04-05  Thomas Schwinge  <thomas@codesourcery.com>
35055         * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
35056         (lmsnanval): New variables.
35057         (F): Add conversion tests.
35058         * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
35059         * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
35061         * stdio-common/tstdiomisc.c (F): Properly collect individual
35062         tests' results.
35064         [BZ #14686, #15336]
35065         * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
35066         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
35067         Instead, use input NaN values or generate a qNaN by arithmetic
35068         operation.  Also fix bugs to comply with the standard.
35069         * math/libm-test.inc (remainder_test): Add more tests.
35071         [BZ #15335, #15342]
35072         * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
35073         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
35074         input NaN values or generate a qNaN by arithmetic operation.
35076         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
35077         unreachable code.
35079         * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
35080         definitions.
35082 2013-04-03  Joseph Myers  <joseph@codesourcery.com>
35084         [BZ #14478]
35085         * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
35086         underflowed result.
35087         * math/s_cexpf.c (__cexpf): Likewise.
35088         * math/s_cexpl.c (__cexpl): Likewise.
35089         * math/libm-test.inc (cexp_test): Add more tests.
35091 2013-04-03  Andreas Schwab  <schwab@suse.de>
35093         [BZ #15330]
35094         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
35095         order arrays from heap if bigger than alloca cutoff.
35097 2013-04-03  Thomas Schwinge  <thomas@codesourcery.com>
35099         * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
35100         (SNAN_TESTS_double): Refer to GCC PR56831.
35101         * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
35102         GCC PR56828.
35104 2013-04-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
35106         * Rules (bench): Move bench.out after the run is complete.
35108         * Rules (bench): Echo currently running benchmark.
35110         * benchtests/Makefile (bench): Add atan and slowatan.
35111         * benchtests/atan-inputs: New file.
35112         * benchtests/slowatan-inputs: New file.
35113         * benchtests/slowatan.c: New file.
35115         * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
35116         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
35117         its value.
35119         [BZ #15305]
35120         * sysdeps/unix/sysv/linux/kernel-features.h
35121         [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
35122         __ASSUME_XFS_RESTRICTED_CHOWN.
35123         * sysdeps/unix/sysv/linux/pathconf.c
35124         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
35125         Save and restore errno.
35127 2013-04-02  Joseph Myers  <joseph@codesourcery.com>
35129         [BZ #15327]
35130         * math/s_cacosh.c (__cacosh): Implement for finite nonzero
35131         arguments using __kernel_casinh.
35132         * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
35133         arguments using __kernel_casinhf.
35134         * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
35135         arguments using __kernel_casinhl.
35136         * math/libm-test.inc (cacosh_test): Add more tests.
35137         * sysdeps/i386/fpu/libm-test-ulps: Update.
35138         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35140 2013-04-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
35142         * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
35143         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
35145         * bench/Makefile (bench): Add sin and slowsin.
35146         * benchtests/sin-inputs: New file.
35147         * benchtests/slowsin-inputs: New file.
35148         * benchtests/slowsin.c: New file.
35150         * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
35151         (bench): Add slowexp and slowpow.
35152         (exp-ITER): Increase iterations.
35153         (pow-ITER): Likewise.
35154         * benchtests/exp-inputs: Change input.
35155         * benchtests/pow-inputs: Likewise.
35156         * benchtests/slowexp-inputs: New file.
35157         * benchtests/slowexp.c: New file.
35158         * benchtests/slowpow-inputs: New file.
35159         * benchtests/slowpow.c: New file.
35161 2013-04-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35163         * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
35164         instructions.
35165         * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
35166         * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
35167         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
35168         * benchtests/Makefile: Add rint benchtest.
35169         * benchtests/rint-inputs: Input for rint benchtest.
35171 2013-04-02  Thomas Schwinge  <thomas@codesourcery.com>
35173         * Versions.def (libm): Add GLIBC_2.18.
35174         * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
35175         hidden libm prototypes.
35176         [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
35177         * math/Makefile (libm-calls): Add s_issignaling.
35178         * math/Versions (libm: GLIBC_2.18): Add __issignaling,
35179         __issignalingf, __issignalingl.  Adjust all libm.abilist files.
35180         * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
35181         declaration.
35182         * math/math.h [__USE_GNU] (issignaling): New macro.
35183         * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
35184         * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
35185         * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
35186         * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
35187         * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
35188         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
35189         * manual/arith.texi (issignaling): New section.
35190         * manual/libm-err-tab.pl (@all_functions): Update comment.
35191         * math/gen-libm-test.pl (parse_args): Apply special handling for
35192         issignaling.
35193         * math/libm-test.inc (print_float, issignaling_test): New
35194         functions.
35195         (check_float_internal): Add issignaling checks.
35196         * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
35197         default definition.
35198         * sysdeps/powerpc/math-tests.h: New file.
35199         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
35200         tests.
35201         * math/test-snan.c (TEST_FUNC): Likewise.
35203 2013-03-30  David S. Miller  <davem@davemloft.net>
35205         * po/de.po: Update from translation team.
35207 2013-03-30  Joseph Myers  <joseph@codesourcery.com>
35209         [BZ #10357]
35210         * math/k_casinh.c (__kernel_casinh): Handle arguments with
35211         imaginary part less than 1.0 and real part less than 0.5
35212         specially.
35213         * math/k_casinhf.c (__kernel_casinhf): Likewise.
35214         * math/k_casinhl.c (__kernel_casinhl): Likewise.
35215         * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
35216         (cacos_test): Add more tests.
35217         (casin_test): Likewise.
35218         (casinh_test): Likewise.
35219         * sysdeps/i386/fpu/libm-test-ulps: Update.
35220         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35222 2013-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
35224         * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
35225         ONE with its value.
35227         * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
35228         (__pow_mp): Replace ONE and MONE with their values.
35229         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
35230         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
35231         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
35232         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
35233         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
35234         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
35236         * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
35238         * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
35239         (__pow_mp): Replace ZERO and MZERO with their values.
35240         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
35241         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
35242         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
35243         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
35244         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
35245         * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
35246         (__sqr): Likewise.
35248         * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
35250         * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
35252 2013-03-28  Roland McGrath  <roland@hack.frob.com>
35254         * include/stdlib.h [!SHARED] (__call_tls_dtors):
35255         Declare with __attribute__ ((weak)).
35256         * stdlib/exit.c (__libc_atexit) [!SHARED]:
35257         Call __call_tls_dtors only if it's not NULL.
35259 2013-03-28  Roland McGrath  <roland@hack.frob.com>
35261         * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
35262         didn't do it already, then set _dl_phdr and _dl_phnum based on the
35263         magic __ehdr_start linker symbol if it's defined.
35264         * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
35265         them up here if it was already done.
35267         * elf/dl-support.c (_dl_phdr): Make pointer to const.
35268         (_dl_aux_init): Use const in cast when setting it.
35269         * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
35270         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
35271         * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
35273         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
35274         Declare them here.
35275         * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
35276         * csu/libc-tls.c: Nor here.
35277         * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
35279         * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
35280         (__libc_message): Never call vsyslog.
35282 2013-03-28  Alan Modra  <amodra@gmail.com>
35284         * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
35285         Define as empty.
35286         * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
35287         Likewise.
35289 2013-03-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35291         [BZ #15214]
35292         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
35293         underflow.
35294         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
35296 2013-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
35298         [BZ #15304]
35299         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
35300         Don't add gid passed as argument.
35302         * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
35304 2013-03-27  Joseph Myers  <joseph@codesourcery.com>
35306         [BZ #15307]
35307         * math/k_casinh.c (__kernel_casinh): Handle arguments with
35308         imaginary part between 1.0 and 1.5 and real part less than 0.5
35309         specially.
35310         * math/k_casinhf.c (__kernel_casinhf): Likewise.
35311         * math/k_casinhl.c (__kernel_casinhl): Likewise.
35312         * math/libm-test.inc (cacos_test): Add more tests.
35313         (casin_test): Likewise.
35314         (casinh_test): Likewise.
35315         * sysdeps/i386/fpu/libm-test-ulps: Update.
35316         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35318 2013-03-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
35320         * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
35321         constants.
35322         (norm): Likewise.
35323         (denorm): Likewise.
35324         (__dbl_mp): Likewise.
35325         (add_magnitudes): Likewise.
35326         (sub_magnitudes): Likewise.
35327         (__add): Likewise.
35328         (__sub): Likewise.
35329         (__mul): Likewise.
35330         (__sqr): Likewise.
35331         (__inv): Likewise.
35332         (__dvd): Likewise.
35334         * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
35335         commented code.
35336         * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
35337         (__dubcos): Likewise.
35338         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
35339         (__ieee754_acos): Likewise.
35340         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
35341         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
35342         (__exp1): Likewise.
35343         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
35344         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
35345         (log1): Likewise.
35346         (my_log2): Likewise.
35347         (checkint): Likewise.
35348         * sysdeps/ieee754/dbl-64/e_remainder.c
35349         (__ieee754_remainder): Likewise.
35350         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
35351         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
35352         (bsloww): Likewise.
35353         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
35355         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
35356         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
35357         MANTISSA_STORE_T to store computations on mantissa.  Use
35358         macros for rounding and division.
35359         (denorm): Likewise.
35360         (__dbl_mp): Likewise.
35361         (add_magnitudes): Likewise.
35362         (sub_magnitudes): Likewise.
35363         (__mul): Likewise.
35364         (__sqr): Likewise.
35365         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
35366         powers of two in terms of TWOPOW macro.
35367         (mp_no): Make type of mantissa as MANTISSA_T.
35368         [!RADIXI]: Define RADIXI.
35369         [!TWO52]: Define TWO52.
35370         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
35372 2013-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35374         * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
35375         llroundl symbol when building for PPC32.
35377 2013-03-24  Mark H Weaver  <mhw@netris.org>
35379         * manual/arith.texi (Normalization Functions): Fix prototypes for
35380         scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
35382 2013-03-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35384         [BZ #13889]
35385         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
35386         high value to check if expl overflow.
35387         * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
35388         to check for underflow and overflow.
35389         * math/libm-test.inc: Add exp test.
35391 2013-03-21  Dmitry V. Levin  <ldv@altlinux.org>
35393         [BZ #11120]
35394         * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
35395         with NOT_IN_libc.
35397 2013-03-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35399         * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
35400         symbol.
35402 2013-03-21  Thomas Schwinge  <thomas@codesourcery.com>
35404         * math/gen-libm-test.pl (parse_args, special_functions): Properly
35405         wrap blocks consisting of several statements.
35407         * sysdeps/generic/math-tests.h: New file.
35408         * sysdeps/i386/fpu/math-tests.h: Likewise.
35409         * math/test-snan.c: Include it.
35410         (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
35412 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
35414         [BZ #15285]
35415         * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
35416         (__ieee754_j0l): Do not improve calculations using cos of twice
35417         input for inputs above LDBL_MAX / 2.0L.
35418         (__ieee754_y0l): Likewise.
35419         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
35420         (__ieee754_j1l): Do not improve calculations using cos of twice
35421         input for inputs above LDBL_MAX / 2.0L.
35422         (__ieee754_y1l): Likewise.
35423         * math/libm-test.inc (j0_test): Add another test.
35424         (j1_test): Likewise.
35425         (y0_test): Likewise.
35426         (y1_test): Likewise.
35427         * sysdeps/i386/fpu/libm-test-ulps: Update.
35429 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
35431         * Rules ($(objpfx)bench-%.c): Include code from a C source
35432         file.
35434 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
35436         [BZ #15287]
35437         * math/k_casinh.c (__kernel_casinh): Handle arguments with
35438         imaginary part 1.0 and real part less than 0.5 specially.
35439         * math/k_casinhf.c (__kernel_casinhf): Likewise.
35440         * math/k_casinhl.c (__kernel_casinhl): Likewise.
35441         * math/libm-test.inc (cacos_test): Add more tests.
35442         (casin_test): Likewise.
35443         (casinh_test): Likewise.
35444         * sysdeps/i386/fpu/libm-test-ulps: Update.
35445         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35447 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
35449         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
35450         * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
35452 2013-03-20  Joseph Myers  <joseph@codesourcery.com>
35454         * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
35455         * config.make.in (config-cflags-sse4): Remove variable.
35456         (config-cflags-avx): Likewise.
35457         (config-cflags-sse2avx): Likewise.
35458         (config-cflags-novzeroupper): Likewise.
35459         (config-asflags-i686): Likewise.
35460         (have-mfma4): Likewise.
35461         (have-as-vis3): Likewise.
35462         (MIG): Likewise.
35463         * configure.in (MIG): Do not AC_SUBST.
35464         (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
35465         (libc_cv_cc_sse4): Do not AC_SUBST.
35466         (libc_cv_cc_avx): Likewise.
35467         (libc_cv_cc_sse2avx): Likewise.
35468         (libc_cv_cc_novzeroupper): Likewise.
35469         (libc_cv_cc_fma4): Likewise.
35470         (libc_cv_as_i686): Likewise.
35471         (libc_cv_sparc_as_vis3): Likewise.
35472         * sysdeps/i386/configure.in (config-cflags-sse4): Set using
35473         LIBC_CONFIG_VAR.
35474         (config-asflags-i686): Likewise.
35475         (config-cflags-avx): Likewise.
35476         (config-cflags-sse2avx): Likewise.
35477         (have-mfma4): Likewise.
35478         (config-cflags-novzeroupper): Likewise.
35479         * sysdeps/mach/configure.in (MIG): Likewise.
35480         * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
35481         * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
35482         LIBC_CONFIG_VAR.
35483         (config-cflags-avx): Likewise.
35484         (config-cflags-sse2avx): Likewise.
35485         (have-mfma4): Likewise.
35486         (config-cflags-novzeroupper): Likewise.
35487         * configure: Regenerated.
35488         * sysdeps/i386/configure: Likewise.
35489         * sysdeps/mach/configure: Likewise.
35490         * sysdeps/sparc/configure: Likewise.
35491         * sysdeps/x86_64/configure: Likewise.
35493 2013-03-20  Roland McGrath  <roland@hack.frob.com>
35495         [BZ #14812]
35496         * locale/programs/localedef.c (options): Put N_ translation marker
35497         on argument names, not just descriptions.
35499 2013-03-20  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
35501         * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
35503 2013-03-20  Ondřej Bílka  <neleai@seznam.cz>
35505         [BZ #14176]
35506         * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
35508 2013-03-19  Roland McGrath  <roland@hack.frob.com>
35510         * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
35511         [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
35512         [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
35513         [!BEFORE_ABORT] (before_abort): New function.
35514         [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
35515         * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
35516         (writev_for_fatal): New function.
35517         (WRITEV_FOR_FATAL): New macro; call that.
35518         (backtrace_and_maps): New function.
35519         (BEFORE_ABORT): New macro; call that.
35520         (struct str_list): Type removed.
35521         (__libc_message, __libc_fatal): Functions removed.
35522         Include <sysdeps/posix/libc_fatal.c> instead.
35524 2013-03-19  Joseph Myers  <joseph@codesourcery.com>
35526         * math/k_casinhf.c (__kernel_casinhf): Consistently use float
35527         constants.
35528         * math/k_casinhl.c (__kernel_casinhl): Consistently use long
35529         double constants.
35531 2013-03-19  Andreas Schwab  <schwab@suse.de>
35533         * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
35534         * sysdeps/gnu/configure: Regenerate.
35536         * configure.in: Substitute libc_cv_rtlddir.
35537         * configure: Regenerate.
35538         * config.make.in (rtlddir): Set from libc_cv_rtlddir.
35539         * Makeconfig (rtlddir, inst_rtlddir): New variables.
35540         (rtld-LDFLAGS): Use them with $(rtld-installed-name).
35541         * elf/Makefile (install-others, CFLAGS-interp.c)
35542         (ldso_install, common-ldd-rewrite): Likewise.
35543         ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
35544         $(inst_slibdir)/$(rtld-installed-name).
35545         * scripts/rellns-sh: Add -p option.
35546         * Makerules (make-shlib-link): Use rellns-sh to get relative name
35547         for source.
35549 2013-03-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
35551         * manual/nptl.texi: Renamed to ...
35552         * manual/threads.texi: ... this.
35553         * manual/Makefile (chapters): Update.
35555 2013-03-18  Roland McGrath  <roland@hack.frob.com>
35557         [BZ #14812]
35558         * argp/argp-parse.c (argp_default_options): Put N_ translation marker
35559         on argument names, not just descriptions.
35560         * malloc/memusagestat.c (options): Likewise.
35561         * nss/getent.c (options): Likewise.
35563 2013-03-18  Benno Schulenberg  <bensberg@justemail.net>
35565         [BZ #14812]
35566         * iconv/iconv_prog.c (options): Put N_ translation marker
35567         on argument names, not just descriptions.
35568         * iconv/iconvconfig.c (options): Likewise.
35570 2013-03-18  Ondrej Bilka  <neleai@seznam.cz>
35572         * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
35573         implementation which is faster on all x86_64 architectures.
35574         Tested on AMD, Intel Nehalem, SNB, IVB.
35575         * sysdeps/x86_64/strnlen.S: Likewise.
35577         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
35578         Remove all multiarch strlen and strnlen versions.
35579         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
35580         Remove strlen and strnlen related parts.
35582         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
35583         Inline strlen part.
35584         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
35586         * sysdeps/x86_64/multiarch/strlen.S: Remove.
35587         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
35588         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
35589         * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
35590         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
35591         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
35593 2013-03-17  Carlos O'Donell  <carlos@redhat.com>
35595         * manual/memory.texi (Malloc Tunable Parameters):
35596         Sort parameters alphabetically. Add comments for missing entries.
35598 2013-03-17  David S. Miller  <davem@davemloft.net>
35600         * sysdeps/sparc/fpu/libm-test-ulps: Update.
35602 2013-03-16  Joseph Myers  <joseph@codesourcery.com>
35604         [BZ #15283]
35605         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
35606         for arguments at most half maximum finite value.
35607         * math/libm-test.inc (j0_test): Add more tests.
35608         (j1_test): Likewise.
35609         (y0_test): Likewise.
35610         (y1_test): Likewise.
35611         * sysdeps/i386/fpu/libm-test-ulps: Update.
35612         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35614         [BZ #14155]
35615         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
35616         1 / x and functions P and Q for arguments above 0x1p256L.
35617         (__ieee754_y0l): Likewise.
35618         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
35619         (__ieee754_y1l): Likewise.
35620         * math/libm-test.inc (j0_test): Do not allow spurious underflows.
35621         (j1_test): Likewise.
35622         (y0_test): Likewise.
35623         (y1_test): Likewise.
35625 2013-03-16  Thomas Schwinge  <thomas@codesourcery.com>
35627         * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
35628         variable.
35630 2013-03-15  Roland McGrath  <roland@hack.frob.com>
35632         * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
35633         (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
35634         zero since it's initialized to EXEC_PAGESIZE.
35636         * sysdeps/unix/sysv/linux/ldsodefs.h
35637         (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
35638         * sysdeps/generic/ldsodefs.h: ... here.
35640 2013-03-15  Thomas Schwinge  <thomas@codesourcery.com>
35642         * math/libm-test.inc (ldexp_test): Add missing START/END markers.
35644         * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
35645         math/test-snan.c.
35646         * math/test-snan.c: Renamed from
35647         sysdeps/powerpc/fpu/test-powerpc-snan.c.
35648         * math/Makefile (tests): Add test-snan.
35649         * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
35650         test-powerpc-snan.
35652         * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
35653         SUFFIX.  Initialize qNaN_var with __builtin_nan family of
35654         functions.
35655         (TEST_TRUNC): Add SUFFIX argument.  Initialize qNaN_var with
35656         __builtin_nan family of functions.
35657         * math/libm-test.inc (initialize): Initialize qnan_value with
35658         __builtin_nan family of functions.
35659         * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
35660         Remove variables.
35661         (init_signaling_nan, snan_float, snan_double, snan_ldouble):
35662         Remove functions.
35663         (TEST_FUNC): Add SUFFIX argument.  Move sNaN_var into static
35664         storage class.  Initialize qNaN_var and sNaN_var with
35665         __builtin_nan and __builtin_nans families of functions,
35666         respectively.
35668         * math/libm-test.inc (acosh_test): Also test with qNaN input.
35669         (sqrt_test): Remove duplicate test with qNaN input.
35670         (lrint_test, llrint_test, lround_test, llround_test, rint_test)
35671         (round_test, signbit_test, significand_test): Note missing +/-Inf
35672         as well as qNaN tests.
35674         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
35675         qNaN_var.  Fix a few strings, too.
35676         * math/libm-test.inc (nan_value): Rename to qnan_value.
35677         * math/gen-libm-test.pl (%beautify): Adjust to that.
35678         * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
35679         * math/test-misc.c (main): Likewise.
35680         * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
35681         to __qnan_bytes, and __qnan_union, respectively.
35682         * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
35683         Likewise.
35684         * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
35685         and lqnanval, respectively.
35686         * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
35687         * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
35688         * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
35689         and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
35691         * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
35692         * math/test-misc.c (main) [__x86_64__]: Enable test for long
35693         doubles.
35695         * math/test-misc.c (main): Fix copy'n'pastos.
35696         * misc/tst-efgcvt.c (special): Likewise.
35698         * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
35699         Remove declarations.
35701 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
35703         * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
35704         * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
35705         * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
35706         * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
35708 2013-03-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35710         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
35711         macro to return vdso values correctly in IFUNC implementations.
35712         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
35713         Optimization by using IFUNC.
35715 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
35716             Richard Henderson  <rth@redhat.com>
35717             Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
35719         * Makefile.in (bench): New target.
35720         * NEWS: Mention the benchmark framework.
35721         * Rules (bench): Likewise.
35722         (binaries-bench): Generate binaries for functions to
35723         benchmark.
35724         * benchtests/Makefile: New makefile for benchmark tests.
35725         * benchtests/bench-skeleton.c: New skeleton file for benchmark
35726         programs.
35727         * benchtests/exp-inputs: New input file for EXP function.
35728         * benchtests/pow-inputs: New input file for POW function.
35729         * scripts/bench.pl: New script to generate source files for
35730         benchmark programs.
35732 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
35734         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
35735         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
35736         computations on mantissa.  Use macros for rounding and
35737         division.
35738         (denorm): Likewise.
35739         (__dbl_mp): Likewise.
35740         (add_magnitudes): Likewise.
35741         (sub_magnitudes): Likewise.
35742         (__mul): Likewise.
35743         (__sqr): Likewise.
35744         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
35745         powers of two in terms of TWOPOW macro.
35746         (mp_no): Make type of mantissa as MANTISSA_T.
35747         [!RADIXI]: Define RADIXI.
35748         [!TWO52]: Define TWO52.
35749         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
35751         * manual/nptl.texi (cindex): Modify threads to pthreads.
35753 2013-03-15  Joseph Myers  <joseph@codesourcery.com>
35755         * sysdeps/x86_64/preconfigure: Regenerated.
35757 2013-03-14  Joseph Myers  <joseph@codesourcery.com>
35759         [BZ #14155]
35760         * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
35761         0x1p28 and above.
35762         (qzero): Return -0.125 / x for arguments 0x1p28 and above.
35763         * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
35764         0x1p28 and above.
35765         (qzero): Return 0.375 / x for arguments 0x1p28 and above.
35766         * math/libm-test.inc (j0_test): Do not allow one spurious
35767         underflow exception.
35768         (y1_test): Likewise.
35770 2013-03-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
35772         * manual/Makefile (chapters): Add nptl.
35773         * manual/debug.texi (Debugging Support): Add link to Threads
35774         chapter.
35775         * manual/nptl.texi: New file.
35777         * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
35779 2013-03-14  Petr Baudis  <pasky@ucw.cz>
35781         * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
35782         for non-NULL pointer before the memory validity test. Pointed
35783         out by Holger Brunck <holger.brunck@keymile.com>.
35785 2013-03-13  Andreas Schwab  <schwab@suse.de>
35787         * extra-lib.mk (extra-objs): Add static-only-routines as .oS
35788         instead of .os.
35790 2013-03-13  Joseph Myers  <joseph@codesourcery.com>
35792         * timezone/zic.c: Update from tzcode 2013b.
35794 2013-03-12  Carlos O'Donell  <carlos@redhat.com>
35796         * manual/install.texi (Configuring and compiling):
35797         Mention i686 and i586.
35798         * INSTALL: Regenerate.
35800 2013-03-12  Roland McGrath  <roland@hack.frob.com>
35802         * sysdeps/init_array/elf-init.c: New file.
35803         * csu/elf-init.c
35804         (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
35805         (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
35807         * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
35808         __gmon_start__ as global, but as static with a .preinit_array pointer.
35809         * sysdeps/init_array/gmon-start.c: New file.  Use that.
35810         * sysdeps/init_array/crti.S: New file, empty except for comments.
35811         * sysdeps/init_array/crtn.S: Likewise.
35813 2013-03-11  Ondřej Bílka  <neleai@seznam.cz>
35815         * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
35816         definining bcopy.
35817         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
35818         Remove Prefer_SSE_for_memop.
35819         * sysdeps/x86_64/multiarch/init-arch.h: Remove
35820         bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
35821         HAS_PREFER_SSE_FOR_MEMOP.
35822         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
35823         memset-x86-64.
35824         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
35825         Remove bzero, memset ifunc support.
35826         * sysdeps/x86_64/multiarch/bzero.S: Remove file.
35827         * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
35828         * sysdeps/x86_64/multiarch/memset.S: Likewise.
35829         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
35831 2013-03-11  Andreas Schwab  <schwab@suse.de>
35833         [BZ #15234]
35834         * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
35835         by SHLIB_COMPAT.
35836         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
35837         (GLIBC_2.16): Remove pthread_atfork.
35839 2013-03-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
35841         * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
35842         (ptestcases.h): Likewise.
35844 2013-03-08  Roland McGrath  <roland@hack.frob.com>
35846         * Makeconfig ($(common-objpfx)config.status): Depend on
35847         sysdeps/*/preconfigure{,.in} too.
35849 2013-03-08  Joseph Myers  <joseph@codesourcery.com>
35851         * malloc/malloc.h (__malloc_ptr_t): Remove macro.
35852         (__free_hook): Use void * instead of __malloc_ptr_t.
35853         (__malloc_hook): Likewise.
35854         (__realloc_hook): Likewise.
35855         (__memalign_hook): Likewise.
35856         (__after_morecore_hook): Likewise.
35857         * malloc/arena.c (save_malloc_hook): Likewise.
35858         (save_free_hook): Likewise.
35859         * malloc/hooks.c (malloc_hook_ini): Likewise.
35860         (realloc_hook_ini): Likewise.
35861         (memalign_hook_ini): Likewise.
35862         * malloc/malloc.c (malloc_hook_ini): Likewise.
35863         (realloc_hook_ini): Likewise.
35864         (memalign_hook_ini): Likewise.
35865         (__free_hook): Likewise.
35866         (__malloc_hook): Likewise.
35867         (__realloc_hook): Likewise.
35868         (__memalign_hook): Likewise.
35869         (__libc_malloc): Likewise.
35870         (__libc_free): Likewise.
35871         (__libc_realloc): Likewise.
35872         (__libc_memalign): Likewise.
35873         (__libc_valloc): Likewise.
35874         (__libc_pvalloc): Likewise.
35875         (__libc_calloc): Likewise.
35876         (__posix_memalign): Likewise.
35877         * malloc/morecore.c (__sbrk): Likewise.
35878         (__default_morecore): Likewise.
35880         * malloc/morecore.c (__default_morecore): Use ISO C prototype.
35882         * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
35883         * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
35884         __malloc_ptrdiff_t.
35886         * malloc/malloc.h (__malloc_size_t): Remove macro.
35887         * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
35888         __malloc_size_t.
35889         (old_memalign_hook): Likewise.
35890         (old_realloc_hook): Likewise.
35891         (struct hdr): Likewise.
35892         (flood): Likewise.
35893         (mallochook): Likewise.
35894         (memalignhook): Likewise.
35895         (reallochook): Likewise.
35896         * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
35897         (tr_old_realloc_hook): Likewise.
35898         (tr_old_memalign_hook): Likewise.
35899         (tr_mallochook): Likewise.
35900         (tr_reallochook): Likewise.
35901         (tr_memalignhook): Likewise.
35903 2013-03-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35905         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
35906         default_ldbl_pack and using as default implementation.
35907         (ldbl_unpack): Rename to default_ldbl_unpack and using as default
35908         implementation.
35909         * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
35910         redundant definition.
35911         (ldbl_insert_mantissa): Likewise.
35912         (ldbl_canonicalize): Likewise.
35913         (ldbl_nearbyint): Likewise.
35914         (ldbl_pack): Rename to ldbl_pack_ppc.
35915         (ldbl_unpack): Rename to ldbl_unpack_ppc.
35916         * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
35917         * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
35919 2013-03-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
35921         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
35922         * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
35923         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
35924         * sysdeps/powerpc/power4/fpu/Makefile: ... here.
35925         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
35926         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
35927         * sysdeps/powerpc/powerpc32/power4/Implies: New file.
35928         * sysdeps/powerpc/powerpc64/power4/Implies: New file.
35930 2013-03-07  Andreas Jaeger  <aj@suse.de>
35932         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
35933         bits/mman-linux.h.
35935 2013-03-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
35937         * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
35938         Include mpa.h and declare __MPEXP.
35939         [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
35940         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
35941         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
35942         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
35943         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
35944         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
35945         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
35947         * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
35948         (__slowpow): Use long double EXPL and LOGL functions to
35949         compute POW.
35950         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
35951         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
35952         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
35953         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
35954         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
35955         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
35957         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
35958         intermediate variable to calculate exponent.
35959         (__sqr): Likewise.
35960         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
35961         Likewise.
35962         (__sqr): Likewise.
35964         * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
35965         [!NO__SQR]: Define __sqr.
35966         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
35967         and NO__SQR.  Remove all code except __mul and __sqr.  Include
35968         sysdeps/ieee754/dbl-64/mpa.c.
35969         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
35971         [BZ #12723]
35972         * posix/Makefile (tests): Add tst-pathconf.
35973         * posix/tst-pathconf.c: New test case.
35974         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
35975         _PC_PIPE_BUF.
35976         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
35978 2013-03-06  Patsy Franklin  <pfrankli@redhat.com>
35980         * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
35982 2013-03-06  Andreas Jaeger  <aj@suse.de>
35984         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
35985         definition via __MAP_ANONYMOUS.
35987         * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
35988         it's not part of Linux headers.
35990         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
35991         (MAP_HUGE_MASK): Define.
35993         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
35994         Define.
35995         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
35996         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
35997         Define.
35998         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
35999         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
36000         Define.
36001         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
36002         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
36003         Define.
36004         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
36006         * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
36007         * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
36008         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
36009         * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
36010         * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
36011         * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
36013         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
36014         Handle f2fs.
36016         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
36017         Handle f2fs and efivarfs.
36019         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
36020         f2fs.
36022         * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
36023         (EFIVARFS_MAGIC): Add.
36024         (F2FS_LINK_MAX): Add.
36026 2013-03-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
36028         * stdio-common/vfprintf.c: Replace __builtin_expect with
36029         __glibc_unlikely.
36031 2013-03-06  Joseph Myers  <joseph@codesourcery.com>
36033         [BZ #13550]
36034         * sysdeps/generic/bp-sym.h: Remove file.
36035         * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
36036         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
36037         <bp-sym.h> and <bp-asm.h>.
36038         (__longjmp): Don't use BP_SYM.
36039         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
36040         and <bp-asm.h>.
36041         (memcpy): Don't use BP_SYM.
36042         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
36043         <bp-sym.h> and <bp-asm.h>.
36044         (memcpy): Don't use BP_SYM.
36045         * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
36046         <bp-asm.h>.
36047         (memcpy): Don't use BP_SYM.
36048         * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
36049         <bp-asm.h>.
36050         (memset): Don't use BP_SYM.
36051         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
36052         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
36053         (__bzero): Don't use BP_SYM.
36054         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
36055         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
36056         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
36057         <bp-sym.h> and <bp-asm.h>.
36058         (memcmp): Don't use BP_SYM.  Remove comment about bounded
36059         pointers.
36060         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
36061         <bp-sym.h> and <bp-asm.h>.
36062         (memcpy): Don't use BP_SYM.
36063         * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
36064         <bp-sym.h> and <bp-asm.h>.
36065         (memset): Don't use BP_SYM.
36066         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
36067         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
36068         (__bzero): Don't use BP_SYM.
36069         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
36070         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
36071         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
36072         <bp-sym.h> and <bp-asm.h>.
36073         (strncmp): Don't use BP_SYM.  Remove comment about bounded
36074         pointers.
36075         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
36076         <bp-sym.h> and <bp-asm.h>.
36077         (memcpy): Don't use BP_SYM.
36078         * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
36079         <bp-sym.h> and <bp-asm.h>.
36080         (memset): Don't use BP_SYM.
36081         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
36082         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
36083         (__bzero): Don't use BP_SYM.
36084         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
36085         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
36086         * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
36087         <bp-sym.h> and <bp-asm.h>.
36088         (__memchr): Don't use BP_SYM.
36089         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
36090         <bp-sym.h> and <bp-asm.h>.
36091         (memcmp): Don't use BP_SYM.  Remove comment about bounded
36092         pointers.
36093         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
36094         <bp-sym.h> and <bp-asm.h>.
36095         (memcpy): Don't use BP_SYM.
36096         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
36097         <bp-sym.h> and <bp-asm.h>.
36098         (__mempcpy): Don't use BP_SYM.
36099         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
36100         <bp-sym.h> and <bp-asm.h>.
36101         (__memrchr): Don't use BP_SYM.
36102         * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
36103         <bp-sym.h> and <bp-asm.h>.
36104         (memset): Don't use BP_SYM.
36105         (__bzero): Likewise.
36106         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
36107         <bp-sym.h> and <bp-asm.h>.
36108         (__rawmemchr): Don't use BP_SYM.
36109         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
36110         <bp-sym.h> and <bp-asm.h>.
36111         (__STRCMP): Don't use BP_SYM.
36112         * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
36113         <bp-sym.h> and <bp-asm.h>.
36114         (strchr): Don't use BP_SYM.
36115         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
36116         <bp-sym.h> and <bp-asm.h>.
36117         (__strchrnul): Don't use BP_SYM.
36118         * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
36119         <bp-sym.h> and <bp-asm.h>.
36120         (strlen): Don't use BP_SYM.
36121         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
36122         <bp-sym.h> and <bp-asm.h>.
36123         (strncmp): Don't use BP_SYM.  Remove comment about bounded
36124         pointers.
36125         * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
36126         <bp-sym.h> and <bp-asm.h>.
36127         (__strnlen): Don't use BP_SYM.
36128         * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
36129         <bp-sym.h> and <bp-asm.h>.
36130         (__GI__setjmp): Don't use BP_SYM.
36131         (_setjmp): Likewise.
36132         (__sigsetjmp): Likewise.
36133         * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
36134         (L(start_addresses)): Don't use BP_SYM.
36135         (_start): Likewise.
36136         * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
36137         <bp-asm.h>.
36138         (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
36139         STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
36140         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
36141         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
36142         * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
36143         <bp-asm.h>.
36144         (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
36145         CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE.  Remove comment
36146         about bounded pointers.
36147         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
36148         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
36149         * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
36150         <bp-asm.h>.
36151         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
36152         about bounded pointers.  Remove GKM FIXME comments.
36153         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
36154         * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
36155         <bp-asm.h>.
36156         (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
36157         STORE_RETURN_BOUNDS.  Remove comment about bounded pointers.
36158         Remove GKM FIXME comments.
36159         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
36160         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
36161         * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
36162         <bp-asm.h>.
36163         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
36164         about bounded pointers.  Remove GKM FIXME comment.
36165         * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
36166         and <bp-asm.h>.
36167         (strncmp): Don't use BP_SYM.  Remove comment about bounded
36168         pointers.
36169         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
36170         <bp-sym.h> and <bp-asm.h>.
36171         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
36172         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
36173         <bp-sym.h> and <bp-asm.h>.
36174         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
36175         comment.
36177 2013-03-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
36179         * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
36180         call free(NULL).
36182 2013-03-05  David S. Miller  <davem@davemloft.net>
36184         * po/es.po: Update from translation team.
36186 2013-03-05  Andreas Jaeger  <aj@suse.de>
36188         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
36189         <bits/mman-linux.h>.
36190         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
36191         is fine.
36192         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
36193         <bits/mman-linux.h> to end of file.
36194         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
36195         is fine.
36196         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
36197         <bits/mman-linux.h> to end of file.
36198         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
36199         is fine.
36200         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
36201         <bits/mman-linux.h> to end of file.
36203         * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
36204         (MCL_CURRENT, MCL_FUTURE): Define here.
36206 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
36208         [BZ #15232]
36209         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
36210         attribute_hidden.
36211         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
36213 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
36215         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
36216         fourth parameter needed for rt_sigprocmask syscall.
36217         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
36218         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
36219         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
36220         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
36221         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
36222         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
36224 2013-03-04  Joseph Myers  <joseph@codesourcery.com>
36226         [BZ #13550]
36227         * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
36228         comment about bounded pointers.
36229         * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
36230         * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
36232 2013-03-04  Andreas Jaeger  <aj@suse.de>
36234         * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
36235         common definitions.
36237         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
36238         provided by bits/mman-linux.h and include <bits/mman-linux.h>.
36239         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
36240         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
36241         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
36242         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
36244 2013-03-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36246         [BZ #15055]
36247         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
36248         __ieee754_sqrl instead of __sqrl.
36250 2013-03-01  Joseph Myers  <joseph@codesourcery.com>
36252         * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
36253         * sysdeps/powerpc/fpu_control.h: ... here.
36254         * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
36255         * sysdeps/powerpc/bits/fenvinline.h: ... here.
36256         * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
36257         * sysdeps/powerpc/bits/mathinline.h: ... here.
36259 2013-03-01  Roland McGrath  <roland@hack.frob.com>
36261         * elf/dl-hwcaps.c (_dl_important_hwcaps):
36262         Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
36263         to just [NEED_DL_SYSINFO_DSO].
36264         * elf/dl-support.c: Likewise.
36265         * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
36266         * elf/rtld.c (dl_main): Likewise.
36267         * elf/setup-vdso.h (setup_vdso): Likewise.
36268         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
36269         * sysdeps/unix/sysv/linux/dl-sysdep.c
36270         (_dl_discover_osversion): Likewise.
36272 2013-03-01  Carlos O'Donell  <carlos@redhat.com>
36274         * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
36275         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
36277 2013-03-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
36279         * NEWS: Mention libm performance improvements and non-x86 PI
36280         futex support.
36282         * csu/libc-start.c (__pthread_initialize_minimal): Change
36283         function arguments.
36284         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
36286 2013-02-28  Joseph Myers  <joseph@codesourcery.com>
36288         [BZ #13550]
36289         * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
36290         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
36291         <bp-sym.h> and <bp-asm.h>.
36292         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
36293         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
36294         and <bp-asm.h>.
36295         (memcpy): Don't use BP_SYM.
36296         * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
36297         <bp-asm.h>.
36298         (__mpn_add_n): Don't use BP_SYM.
36299         (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
36300         * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
36301         and <bp-asm.h>.
36302         (__mpn_addmul_1): Don't use BP_SYM.
36303         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
36304         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
36305         <bp-sym.h>.
36306         (_setjmp): Don't use BP_SYM.
36307         (__novmx_setjmp): Likewise.
36308         (__GI__setjmp): Likewise.
36309         (__vmx_setjmp): Likewise.
36310         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
36311         <bp-sym.h>.
36312         * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
36313         (__bzero): Don't use BP_SYM.
36314         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
36315         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
36316         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
36317         <bp-sym.h> and <bp-asm.h>.
36318         (memcpy): Don't use BP_SYM.
36319         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
36320         <bp-sym.h> and <bp-asm.h>.
36321         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
36322         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
36323         <bp-sym.h> and <bp-asm.h>.
36324         (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
36325         * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
36326         <bp-asm.h>.
36327         (__mpn_lshift): Don't use BP_SYM.
36328         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
36329         * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
36330         <bp-asm.h>.
36331         (memset): Don't use BP_SYM.
36332         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
36333         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
36334         * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
36335         <bp-asm.h>.
36336         (__mpn_mul_1): Don't use BP_SYM.
36337         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
36338         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
36339         <bp-sym.h> and <bp-asm.h>.
36340         (memcmp): Don't use BP_SYM.
36341         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
36342         <bp-sym.h> and <bp-asm.h>.
36343         (memcpy): Don't use BP_SYM.
36344         * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
36345         <bp-sym.h> and <bp-asm.h>.
36346         (memset): Don't use BP_SYM.
36347         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
36348         <bp-sym.h> and <bp-asm.h>.
36349         (strncmp): Don't use BP_SYM.
36350         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
36351         <bp-sym.h> and <bp-asm.h>.
36352         (memcpy): Don't use BP_SYM.
36353         * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
36354         <bp-sym.h> and <bp-asm.h>.
36355         (memset): Don't use BP_SYM.
36356         * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
36357         <bp-sym.h> and <bp-asm.h>.
36358         (__memchr): Don't use BP_SYM.
36359         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
36360         <bp-sym.h> and <bp-asm.h>.
36361         (memcmp): Don't use BP_SYM.
36362         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
36363         <bp-sym.h> and <bp-asm.h>.
36364         (memcpy): Don't use BP_SYM.
36365         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
36366         <bp-sym.h> and <bp-asm.h>.
36367         (__mempcpy): Don't use BP_SYM.
36368         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
36369         <bp-sym.h> and <bp-asm.h>.
36370         (__memrchr): Don't use BP_SYM.
36371         * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
36372         <bp-sym.h> and <bp-asm.h>.
36373         (memset): Don't use BP_SYM.
36374         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
36375         <bp-sym.h> and <bp-asm.h>.
36376         (__rawmemchr): Don't use BP_SYM.
36377         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
36378         <bp-sym.h> and <bp-asm.h>.
36379         (__STRCMP): Don't use BP_SYM.
36380         * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
36381         <bp-sym.h> and <bp-asm.h>.
36382         (strchr): Don't use BP_SYM.
36383         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
36384         <bp-sym.h> and <bp-asm.h>.
36385         (__strchrnul): Don't use BP_SYM.
36386         * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
36387         <bp-sym.h> and <bp-asm.h>.
36388         (strlen): Don't use BP_SYM.
36389         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
36390         <bp-sym.h> and <bp-asm.h>.
36391         (strncmp): Don't use BP_SYM.
36392         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
36393         <bp-sym.h> and <bp-asm.h>.
36394         (__strnlen): Don't use BP_SYM.
36395         * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
36396         <bp-asm.h>.
36397         (__mpn_rshift): Don't use BP_SYM.
36398         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
36399         * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
36400         <bp-sym.h> and <bp-asm.h>.
36401         (__sigsetjmp): Don't use BP_SYM.
36402         * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
36403         (L(start_addresses)): Don't use BP_SYM.
36404         (_start): Likewise.
36405         * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
36406         <bp-asm.h>.
36407         (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
36408         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
36409         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
36410         * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
36411         <bp-asm.h>.
36412         (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
36413         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
36414         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
36415         * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
36416         <bp-asm.h>.
36417         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
36418         comments.
36419         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
36420         * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
36421         <bp-asm.h>.
36422         (strcpy): Don't use BP_SYM and macros from bp-asm.h.  Remove GKM
36423         FIXME comments.
36424         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
36425         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
36426         * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
36427         <bp-asm.h>.
36428         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
36429         comment.
36430         * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
36431         and <bp-asm.h>.
36432         (strncmp): Don't use BP_SYM,
36433         * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
36434         <bp-asm.h>.
36435         (__mpn_sub_n): Don't use BP_SYM.
36436         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
36437         * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
36438         and <bp-asm.h>.
36439         (__mpn_submul_1): Don't use BP_SYM.
36440         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
36441         * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
36442         <bp-sym.h> and <bp-asm.h>.
36443         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
36444         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
36445         <bp-sym.h> and <bp-asm.h>.
36446         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
36447         comment.
36449 2013-02-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
36451         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
36452         Use ZK to minimize writes to Z.
36453         (sub_magnitudes): Simplify code a bit.
36454         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
36455         Use ZK to minimize writes to Z.
36456         (sub_magnitudes): Simplify code a bit.
36458 2013-02-27  Roland McGrath  <roland@hack.frob.com>
36460         * csu/gmon-start.c: Add special exception to license text.
36462 2013-02-27  Richard Henderson  <rth@redhat.com>
36464         * scripts/config.guess: Update from config.git.
36465         * scripts/config.sub: Likewise.
36467 2013-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
36469         * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
36471         * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
36473         * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
36475         * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
36477         * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
36479 2013-02-26  Roland McGrath  <roland@hack.frob.com>
36481         * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
36482         [$(build-shared = yes].
36484 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
36486         * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
36487         (__mul): Reduce iterations for calculating mantissa.
36489         * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
36490         MPTWO.
36491         (__mpranred): Likewise.
36493         [BZ #15160]
36494         * malloc/memusagestat.c (main): Draw graphs for heap and stack
36495         only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
36497 2013-02-26  Paul Eggert  <eggert@cs.ucla.edu>
36499         * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
36500         Define __attribute__.
36502 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
36504         * locale/elem-hash.h (elem_hash): Mark as pure and possibly
36505         unused.
36506         * posix/regex_internal.h (__attribute): Remove.
36507         [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
36508         (re_string_context_at): Likewise.
36509         (bitset_not): Use __attribute__ and mark function as possibly
36510         unused.
36511         (bitset_merge): Likewise.
36512         (bitset_mask): Likewise.
36513         (re_string_char_size_at): Likewise.
36514         (re_string_wchar_at): Likewise.
36515         (re_string_elem_size_at): Likewise.
36517 2013-02-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
36519         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
36520         code.
36521         (cc32): Likewise.
36523         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
36524         (__acr): Likewise.
36525         (__cpy): Likewise.
36526         (norm): Likewise.
36527         (denorm): Likewise.
36528         (__dbl_mp): Likewise.
36529         (add_magnitudes): Likewise.
36530         (sub_magnitudes): Likewise.
36531         (__mul): Likewise.
36532         (__inv): Likewise.
36534         * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
36535         style.
36537         * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
36538         style.
36540         * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
36541         code.
36543         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
36544         up changes with default code.
36545         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
36546         Likewise.
36548 2013-02-24  Allan McRae  <allan@archlinux.org>
36550         * manual/socket.texi (The Internet Namespace): Order menu items
36551         to match that in the file.
36553         * manual/libc-texinfo.sh: Use @detailmenu around the detailed
36554         node listing of the info page menu.
36556 2013-02-21  Joseph Myers  <joseph@codesourcery.com>
36558         [BZ #13550]
36559         * sysdeps/i386/bp-asm.h: Remove file.
36560         * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
36561         (PARMS): Do not use macros from bp-asm.h.
36562         (S1): Likewise.
36563         (S2): Likewise.
36564         (SIZE): Likewise.
36565         (__mpn_add_n): Do not use BP_SYM
36566         * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
36567         "bp-asm.h".
36568         (PARMS): Do not use macros from bp-asm.h.
36569         (S1): Likewise.
36570         (SIZE): Likewise.
36571         (__mpn_addmul_1): Do not use BP_SYM
36572         * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
36573         "bp-asm.h".
36574         (PARMS): Do not use macros from bp-asm.h.
36575         (SIGMSK): Likewise.
36576         (_setjmp): Likewise.  Do not use BP_SYM.
36577         * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
36578         "bp-asm.h".
36579         (PARMS): Do not use macros from bp-asm.h.
36580         (SIGMSK): Likewise.
36581         (setjmp): Likewise.  Do not use BP_SYM.
36582         * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
36583         "bp-asm.h".
36584         (PARMS): Do not use macros from bp-asm.h.
36585         (__frexp): Do not use BP_SYM.
36586         (frexp): Likewise.
36587         * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
36588         "bp-asm.h".
36589         (PARMS): Do not use macros from bp-asm.h.
36590         (__frexpf): Do not use BP_SYM.
36591         (frexpf): Likewise.
36592         * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
36593         "bp-asm.h".
36594         (PARMS): Do not use macros from bp-asm.h.
36595         (__frexpl): Do not use BP_SYM.
36596         (frexpl): Likewise.
36597         * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
36598         "bp-asm.h".
36599         (PARMS): Do not use macros from bp-asm.h.
36600         (__remquo): Do not use BP_SYM.
36601         (remquo): Likewise.
36602         * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
36603         "bp-asm.h".
36604         (PARMS): Do not use macros from bp-asm.h.
36605         (__remquof): Do not use BP_SYM.
36606         (remquof): Likewise.
36607         * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
36608         "bp-asm.h".
36609         (PARMS): Do not use macros from bp-asm.h.
36610         (__remquol): Do not use BP_SYM.
36611         (remquol): Likewise.
36612         * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
36613         "bp-asm.h".
36614         (PARMS): Do not use macros from bp-asm.h.
36615         (DEST): Likewise.
36616         (SRC): Likewise.
36617         (strcat): Remove GKM FIXME comment.  Do not use BP_SYM.
36618         * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
36619         "bp-asm.h".
36620         (PARMS): Do not use macros from bp-asm.h.
36621         (strlen): Do not use BP_SYM.
36622         * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
36623         "bp-asm.h".
36624         (PARMS): Do not use macros from bp-asm.h.
36625         (S1): Likewise.
36626         (S2): Likewise.
36627         (SIZE): Likewise.
36628         (__mpn_add_n): Do not use BP_SYM.
36629         * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
36630         "bp-asm.h".
36631         (PARMS): Do not use macros from bp-asm.h.
36632         (S1): Likewise.
36633         (SIZE): Likewise.
36634         (__mpn_addmul_1): Do not use BP_SYM.
36635         * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
36636         weak_alias.
36637         (bzero): Likewise.
36638         * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
36639         "bp-asm.h".
36640         (PARMS): Do not use macros from bp-asm.h.
36641         (S): Likewise.
36642         (SIZE): Likewise.
36643         (__mpn_lshift): Do not use BP_SYM.
36644         * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
36645         "bp-asm.h".
36646         (PARMS): Do not use macros from bp-asm.h.
36647         (DEST): Likewise.
36648         (SRC): Likewise.
36649         (LEN): Likewise.
36650         (memcpy): Likewise.  Do not use BP_SYM.
36651         * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
36652         libc_hidden_def and weak_alias.
36653         (mempcpy): Do not use BP_SYM in weak_alias.
36654         * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
36655         "bp-asm.h".
36656         (PARMS): Do not use macros from bp-asm.h.
36657         (DEST): Likewise.
36658         (LEN): Likewise.
36659         [!BZERO_P] (CHR): Likewise.
36660         (memset): Likewise.  Do not use BP_SYM.
36661         * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
36662         "bp-asm.h".
36663         (PARMS): Do not use macros from bp-asm.h.
36664         (S1): Likewise.
36665         (SIZE): Likewise.
36666         (__mpn_mul_1): Do not use BP_SYM.
36667         * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
36668         "bp-asm.h".
36669         (PARMS): Do not use macros from bp-asm.h.
36670         (S): Likewise.
36671         (SIZE): Likewise.
36672         (__mpn_rshift): Do not use BP_SYM.
36673         * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
36674         "bp-asm.h".
36675         (PARMS): Do not use macros from bp-asm.h.
36676         (STR): Likewise.
36677         (CHR): Likewise.
36678         (strchr): Likewise.  Do not use BP_SYM.
36679         (index): Do not use BP_SYM in weak_alias.
36680         * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
36681         "bp-asm.h".
36682         (PARMS): Do not use macros from bp-asm.h.
36683         (DEST): Likewise.
36684         (SRC): Likewise.
36685         (STRCPY): Likewise.  Remove GKM FIXME comment.  Do not use BP_SYM.
36686         * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
36687         "bp-asm.h".
36688         (PARMS): Do not use macros from bp-asm.h.
36689         (strlen): Do not use BP_SYM.
36690         * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
36691         "bp-asm.h".
36692         (PARMS): Do not use macros from bp-asm.h.
36693         (S1): Likewise.
36694         (S2): Likewise.
36695         (SIZE): Likewise.
36696         (__mpn_sub_n): Do not use BP_SYM.
36697         * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
36698         "bp-asm.h".
36699         (PARMS): Do not use macros from bp-asm.h.
36700         (S1): Likewise.
36701         (SIZE): Likewise.
36702         (__mpn_submul_1): Do not use BP_SYM.
36703         * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
36704         "bp-asm.h".
36705         (PARMS): Do not use macros from bp-asm.h.
36706         (S1): Likewise.
36707         (S2): Likewise.
36708         (SIZE): Likewise.
36709         (__mpn_add_n): Do not use BP_SYM.
36710         * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
36711         weak_alias.
36712         (bzero): Likewise.
36713         * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
36714         "bp-asm.h".
36715         (PARMS): Do not use macros from bp-asm.h.
36716         (BLK2): Likewise.
36717         (LEN): Likewise.
36718         (memcmp): Do not use BP_SYM.
36719         (bcmp): Do not use BP_SYM in weak_alias.
36720         * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
36721         "bp-asm.h".
36722         (PARMS): Do not use macros from bp-asm.h.
36723         (DEST): Likewise.
36724         (SRC): Likewise.
36725         (LEN): Likewise.
36726         (memcpy): Likewise.  Do not use BP_SYM.
36727         * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
36728         "bp-asm.h".
36729         (PARMS): Do not use macros from bp-asm.h.
36730         (DEST): Likewise.
36731         (SRC): Likewise.
36732         (LEN): Likewise.
36733         (memmove): Likewise.  Do not use BP_SYM.
36734         * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
36735         "bp-asm.h".
36736         (PARMS): Do not use macros from bp-asm.h.
36737         (DEST): Likewise.
36738         (SRC): Likewise.
36739         (LEN): Likewise.
36740         (__mempcpy): Likewise.  Do not use BP_SYM.
36741         (mempcpy): Do not use BP_SYM in weak_alias.
36742         * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
36743         "bp-asm.h".
36744         (PARMS): Do not use macros from bp-asm.h.
36745         (DEST): Likewise.
36746         (LEN): Likewise.
36747         [!BZERO_P] (CHR): Likewise.
36748         (memset): Likewise.  Do not use BP_SYM.
36749         * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
36750         "bp-asm.h".
36751         (PARMS): Do not use macros from bp-asm.h.
36752         (STR2): Likewise.
36753         (strcmp): Do not use BP_SYM.
36754         * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
36755         "bp-asm.h".
36756         (PARMS): Do not use macros from bp-asm.h.
36757         (STR): Likewise.
36758         (DELIM): Likewise.
36759         [USE_AS_STRTOK_R] (SAVE): Likewise.
36760         (FUNCTION): Likewise.  Do not use BP_SYM.
36761         * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
36762         aliases.
36763         (strtok_r): Likewise.
36764         (__GI___strtok_r): Likewise.
36765         * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
36766         (PARMS): Do not use macros from bp-asm.h.
36767         (S): Likewise.
36768         (SIZE): Likewise.
36769         (__mpn_lshift): Do not use BP_SYM.
36770         * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
36771         (PARMS): Do not use macros from bp-asm.h.
36772         (STR): Likewise.
36773         (CHR): Likewise.
36774         (__memchr): Do not use BP_SYM.
36775         (memchr): Do not use BP_SYM in weak_alias.
36776         * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
36777         (PARMS): Do not use macros from bp-asm.h.
36778         (BLK2): Likewise.
36779         (LEN): Likewise.
36780         (memcmp): Do not use BP_SYM.
36781         (bcmp): Do not use BP_SYM in weak_alias.
36782         * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
36783         (PARMS): Do not use macros from bp-asm.h.
36784         (S1): Likewise.
36785         (SIZE): Likewise.
36786         (__mpn_mul_1): Do not use BP_SYM.
36787         * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
36788         "bp-asm.h".
36789         (PARMS): Do not use macros from bp-asm.h.
36790         (STR): Likewise.
36791         (CHR): Likewise.
36792         (__rawmemchr): Do not use BP_SYM.
36793         (rawmemchr): Do not use BP_SYM in weak_alias.
36794         * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
36795         (PARMS): Do not use macros from bp-asm.h.
36796         (S): Likewise.
36797         (SIZE): Likewise.
36798         (__mpn_rshift): Do not use BP_SYM.
36799         * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
36800         (PARMS): Do not use macros from bp-asm.h.
36801         (SIGMSK): Likewise.
36802         (__sigsetjmp): Likewise.  Do not use BP_SYM.
36803         * sysdeps/i386/start.S: Do not include "bp-sym.h".
36804         (_start): Do not use BP_SYM.
36805         * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
36806         (PARMS): Do not use macros from bp-asm.h.
36807         (DEST): Likewise.
36808         (SRC): Likewise.
36809         (__stpcpy): Likewise.  Do not use BP_SYM.
36810         (stpcpy): Do not use BP_SYM in weak_alias.
36811         * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
36812         "bp-asm.h".
36813         (PARMS): Do not use macros from bp-asm.h.
36814         (DEST): Likewise.
36815         (SRC): Likewise.
36816         (LEN): Likewise.
36817         (__stpncpy): Likewise.  Do not use BP_SYM.
36818         (stpncpy): Do not use BP_SYM in weak_alias.
36819         * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
36820         (PARMS): Do not use macros from bp-asm.h.
36821         (STR): Likewise.
36822         (CHR): Likewise.
36823         (strchr): Likewise.  Do not use BP_SYM.
36824         * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
36825         "bp-asm.h".
36826         (PARMS): Do not use macros from bp-asm.h.
36827         (STR): Likewise.
36828         (CHR): Likewise.
36829         (__strchrnul): Likewise.  Do not use BP_SYM.
36830         (strchrnul): Do not use BP_SYM in weak_alias.
36831         * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
36832         "bp-asm.h".
36833         (PARMS): Do not use macros from bp-asm.h.
36834         (STOP): Likewise.
36835         (strcspn): Do not use BP_SYM.
36836         * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
36837         "bp-asm.h".
36838         (PARMS): Do not use macros from bp-asm.h.
36839         (STR): Likewise.
36840         (STOP): Likewise.
36841         (strpbrk): Likewise.  Do not use BP_SYM.
36842         * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
36843         "bp-asm.h".
36844         (PARMS): Do not use macros from bp-asm.h.
36845         (STR): Likewise.
36846         (CHR): Likewise.
36847         (strrchr): Likewise.  Do not use BP_SYM.
36848         * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
36849         (PARMS): Do not use macros from bp-asm.h.
36850         (SKIP): Likewise.
36851         (strspn): Do not use BP_SYM.
36852         * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
36853         (PARMS): Do not use macros from bp-asm.h.
36854         (STR): Likewise.
36855         (DELIM): Likewise.
36856         (SAVE): Likewise.
36857         (FUNCTION): Likewise.  Do not use BP_SYM.
36858         * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
36859         aliases.
36860         (strtok_r): Likewise.
36861         (__GI___strtok_r): Likewise.
36862         * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
36863         (PARMS): Do not use macros from bp-asm.h.
36864         (S1): Likewise.
36865         (S2): Likewise.
36866         (SIZE): Likewise.
36867         (__mpn_sub_n): Do not use BP_SYM.
36868         * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
36869         "bp-asm.h".
36870         (PARMS): Do not use macros from bp-asm.h.
36871         (S1): Likewise.
36872         (SIZE): Likewise.
36873         (__mpn_submul_1): Do not use BP_SYM.
36874         * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
36875         <bp-sym.h>.
36876         * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
36877         and <bp-asm.h>.
36878         (PARMS): Do not use macros from bp-asm.h.
36879         (FLAGS): Likewise.
36880         (PTID): Likewise.
36881         (TLS): Likewise.
36882         (CTID): Likewise.
36883         (__clone): Do not use BP_SYM.
36884         (clone): Do not use BP_SYM in weak_alias.
36885         * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
36886         and <bp-asm.h>.
36887         (PARMS): Do not use macros from bp-asm.h.
36888         (LEN): Likewise.
36889         (__mmap64): Do not use BP_SYM.
36890         (mmap64): Do not use BP_SYM in weak_alias.
36891         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
36892         <bp-sym.h> and <bp-asm.h>.
36893         (PARMS): Do not use macros from bp-asm.h.
36894         (__posix_fadvise64_l64): Do not use BP_SYM.
36895         * sysdeps/unix/sysv/linux/i386/semtimedop.S
36896         (PARMS): Do not use macros from bp-asm.h.
36897         (NSOPS): Likewise.
36898         (semtimedop): Do not use BP_SYM.
36899         * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
36900         and <bp-asm.h>.
36902 2013-02-21  Allan McRae  <allan@archlinux.org>
36904         * manual/message.texi (Charset conversion in gettext):
36905         Move @end statement to beginning of line.
36907 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
36909         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
36910         static.
36911         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
36912         Likewise.
36914         * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
36915         (denorm): Likewise.
36916         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
36917         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
36919 2013-02-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
36921         * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
36922         tail-call to the resolved function if pltexit isn't needed.
36924 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
36926         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
36927         or Y being zero as being unlikely.
36928         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
36929         Likewise.
36931 2013-02-20  Carlos O'Donell  <carlos@redhat.com>
36933         * manual/nss.texi (System Databases and Name Service Switch):
36934         Remove frobnicate @pxref.
36936 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
36938         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
36939         __attribute__ ((unused)) to __attribute__ ((__unused__)).
36941 2013-02-20  Petr Machata  <pmachata@redhat.com>
36943         * elf/elf.h (R_ARM_TARGET1): New macro.
36944         (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
36945         (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
36946         (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
36947         (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
36948         (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
36949         (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
36950         (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
36951         (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
36952         (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
36953         (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
36954         (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
36955         (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
36956         (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
36957         (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
36958         (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
36959         (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
36960         (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
36961         (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
36962         (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
36963         (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
36964         (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
36965         (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
36966         (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
36967         (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
36968         (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
36969         (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
36970         (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
36971         (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
36972         (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
36973         (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
36974         (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
36975         (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
36976         (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
36977         (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
36978         (R_ARM_THM_GOT_BREL12): Likewise.
36979         (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
36980         (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
36981         (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
36982         (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
36983         (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
36984         (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
36985         (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
36986         (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
36987         (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
36989 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
36991         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
36992         __attribute_used__ to __attribute__ ((unused)).
36994 2013-02-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
36996         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
36997         powerpc mpa.c.
36998         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
36999         comment formatting.
37000         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
37002 2013-02-19  Joseph Myers  <joseph@codesourcery.com>
37004         [BZ #13550]
37005         * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
37006         Remove macro.
37007         (ENTER): Remove both macro definitions.
37008         (LEAVE): Likewise.
37009         (CHECK_BOUNDS_LOW): Likewise.
37010         (CHECK_BOUNDS_HIGH): Likewise.
37011         (CHECK_BOUNDS_BOTH): Likewise.
37012         (CHECK_BOUNDS_BOTH_WIDE): Likewise.
37013         (RETURN_BOUNDED_POINTER): Likewise.
37014         (RETURN_NULL_BOUNDED_POINTER): Likewise.
37015         (PUSH_ERRNO_LOCATION_RETURN): Likewise.
37016         (POP_ERRNO_LOCATION_RETURN): Likewise.
37017         * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
37018         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
37019         * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
37020         macros.
37021         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
37022         * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
37023         * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
37024         * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
37025         * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
37026         * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
37027         * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
37028         * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
37029         * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
37030         * sysdeps/i386/i486/strcat.S (strcat): Likewise.
37031         * sysdeps/i386/i486/strlen.S (strlen): Likewise.
37032         * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
37033         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
37034         * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
37035         removed macros.
37036         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
37037         * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
37038         macros.
37039         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
37040         * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
37041         * sysdeps/i386/i586/memset.S (memset): Likewise.
37042         * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
37043         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
37044         * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
37045         macros.
37046         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
37047         * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
37048         Change uses of L(2) to L(out).
37049         * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
37050         * sysdeps/i386/i586/strlen.S (strlen): Likewise.
37051         * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
37052         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
37053         * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
37054         removed macros.
37055         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
37056         * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
37057         macros.
37058         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
37059         * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
37060         (RETURN): Do not use macro LEAVE.
37061         * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
37062         * sysdeps/i386/i686/memmove.S (memmove): Likewise.
37063         * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
37064         * sysdeps/i386/i686/memset.S (memset): Likewise.
37065         * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
37066         (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
37067         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
37068         * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
37069         Likewise.
37070         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
37071         (FUNCTION): Do not use removed macros.  Combine labels L(1_1),
37072         L(1_2) and L(1_3) into L(1).
37073         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
37074         * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
37075         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
37076         * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
37077         (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
37078         * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
37079         * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
37080         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
37081         * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
37082         macros.
37083         * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
37084         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
37085         * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
37086         * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
37087         * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
37088         (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
37089         * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
37090         * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
37091         * sysdeps/i386/strcspn.S (strcspn): Likewise.
37092         * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
37093         * sysdeps/i386/strrchr.S (strrchr): Likewise.
37094         * sysdeps/i386/strspn.S (strspn): Likewise.
37095         * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
37096         conditional code.
37097         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
37098         (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
37099         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
37100         (FUNCTION): Do not use removed macros.  Combine labels L(1_2) and
37101         L(1_3) into L(1_1).
37102         * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
37103         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
37104         * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
37105         macros.
37106         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
37108 2013-02-19  Jakub Jelinek  <jakub@redhat.com>
37110         * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
37111         macro.
37113 2013-02-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
37115         * math/atest-exp.c (exp_mpn): Remove ROUND.
37116         * math/atest-exp2.c (exp_mpn): Likewise.
37117         * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
37119         * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
37120         * stdlib/tst-tls-atexit-lib.c: Likewise.
37121         * stdlib/tst-tls-atexit.c: Likewise.
37123 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
37125         * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
37126         and __attribute_alloc_size__.
37128 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
37130         * include/programs/xmalloc.h: Change __attribute_alloc_size to
37131         __attribute_alloc_size__.
37132         * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
37133         * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
37135 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
37137         * include/programs/xmalloc.h: New file.
37138         * catgets/gencat.c: Include it.
37139         (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
37140         * elf/pldd.c: Likewise.
37141         * iconv/iconv_charmap.c: Likewise.
37142         * iconv/iconvconfig.c: Likewise.
37143         * iconv/strtab.c: Likewise.
37144         * locale/programs/locale.c: Likewise.
37145         * locale/programs/localedef.h: Likewise.
37146         * locale/programs/simple-hash.c: Likewise.
37147         * nscd/nscd.h: Likewise.
37148         * nss/makedb.c: Likewise.
37149         * sysdeps/generic/ldconfig.h: Likewise.
37151 2013-02-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
37153         * Versions.def: Add GLIBC_2.18.
37154         * include/link.h (struct link_map): New member l_tls_dtor_count.
37155         * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
37156         (__call_tls_dtors): Likewise.
37157         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
37158         __cxa_thread_atexit_impl.
37159         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
37160         Likewise.
37161         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
37162         Likewise.
37163         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
37164         Likewise.
37165         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
37166         Likewise.
37167         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
37168         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
37169         Likewise.
37170         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
37171         Likewise.
37172         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
37173         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
37174         Likewise.
37175         * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
37176         (tests): Add test case tst-tls-atexit.
37177         (modules-names): Add shared library for tst-tls-atexit.
37178         * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
37179         (GLIBC_PRIVATE): Add __call_tls_dtors.
37180         * stdlib/cxa_thread_atexit_impl.c: New file with helper function
37181         for libstdc++.
37182         * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
37183         * stdlib/tst-tls-atexit.c: New test case.
37184         * stdlib/tst-tls-atexit-lib.c: New test case.
37186         * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
37188         * elf/Versions (ld): Add _dl_find_dso_for_object.
37189         * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
37190         * elf/dl-open.c (_dl_find_dso_for_object): New function.
37191         (dl_open_worker): Use _dl_find_dso_for_object.
37192         * elf/dl-sym.c (do_sym): Likewise.
37193         * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
37195 2013-02-18  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
37197         * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
37198         Syntactic changes only.
37199         (_dl_runtime_profile): Do a tail-call to the resolved function.
37201 2013-02-17  Joseph Myers  <joseph@codesourcery.com>
37203         [BZ #13550]
37204         * sysdeps/x86_64/bp-asm.h: Remove file.
37205         * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
37206         <bp-sym.h> and <bp-asm.h>.
37207         (__clone): Do not use BP_SYM.
37208         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
37209         <bp-sym.h> and <bp-asm.h>.
37210         * sysdeps/unix/x86_64/sysdep.S: Likewise.
37211         * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
37212         "bp-asm.h".
37213         (_setjmp): Do not use BP_SYM.
37214         * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
37215         "bp-asm.h".
37216         (setjmp): Do not use BP_SYM.
37217         * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
37218         libc_hidden_def.
37219         (mempcpy): Do not use BP_SYM in weak_alias.
37220         * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
37221         "bp-asm.h".
37222         (strchr): Do not use BP_SYM.
37223         * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
37224         "bp-asm.h".
37225         * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
37226         * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
37227         (_start): Do not use BP_SYM.
37228         * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
37229         "bp-asm.h".
37230         (strcat): Do not use BP_SYM.
37231         * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
37232         "bp-asm.h".
37233         (STRCMP): Do not use BP_SYM.
37234         * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
37235         "bp-asm.h".
37236         (STRCPY): Do not use BP_SYM.
37237         * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
37238         "bp-asm.h".
37239         * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
37240         "bp-asm.h".
37241         (FUNCTION): Do not use BP_SYM.
37242         * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
37243         weak_alias.
37244         (__GI___strtok_r): Do not use BP_SYM in strong_alias.
37246 2013-02-17  Andreas Jaeger  <aj@suse.de>
37248         * time/Versions: Sort entries.
37249         * string/Versions: Likewise.
37250         * resolv/Versions: Likewise.
37251         * posix/Versions: Likewise.
37252         * iconv/Versions: Likewise.
37253         * elf/Versions: Likewise.
37254         * wcsmbs/Versions: Likewise.
37256 2013-02-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
37258         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
37259         loop termination condition.
37261         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
37262         variable to calculate EZ.
37263         (__sqr): Likewise.
37265         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
37266         the lower precision input.
37268 2013-02-15  Joseph Myers  <joseph@codesourcery.com>
37270         [BZ #13550]
37271         * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
37272         [!link-extra-libs] (link-extra-libs-bounded): Likewise.
37273         (run-via-rtld-prefix): Do not handle %-bp tests.
37274         (test-via-rtld-prefix): Do not mention %-bp tests in comment.
37275         (all-object-suffixes): Remove .ob.
37276         (bppfx): Remove variable.
37277         [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
37278         [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
37279         [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
37280         [$(build-bounded) = yes] (libtype.ob): Likewise.
37281         * Makerules (elide-routines.ob): Remove variable.
37282         (do-tests-clean): Do not handle *-bp.out.
37283         (common-mostlyclean): Do not handle *-bp and *-bp.out.
37284         * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
37285         [$(build-bounded) = yes] (xtests-bp.out): Likewise.
37286         (tests): Do not include $(tests-bp.out).
37287         (xtests): Do not include $(xtests-bp.out).
37288         [$(build-bounded) = yes] (binaries-bounded): Remove variable.
37289         [$(build-bounded) = yes] ($(addprefix
37290         $(objpfx),$(binaries-bounded))): Remove rule.
37291         ($(objpfx)%-bp.out): Remove rule.
37292         * config.make.in (build-bounded): Remove variable.
37293         * crypt/Makefile [$(build-bounded) = yes]
37294         ($(tests:%=$(objpfx)%-bp)): Remove dependency.
37295         * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
37296         append to variable.
37297         [$(build-bounded) = yes] (install-lib): Likewise.
37298         [$(build-bounded) = yes] (generated): Likewise.
37299         [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
37300         Remove rule.
37301         * intl/Makefile [$(build-bounded) = yes]
37302         ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
37303         * math/Makefile [$(build-bounded) = yes]
37304         ($(tests:%=$(objpfx)%-bp): Likewise.
37305         * misc/Makefile [$(build-bounded) = yes]
37306         ($(objpfx)tst-tsearch-bp): Likewise.
37307         * nptl/Makeconfig (bounded-thread-library): Remove variable.
37308         * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
37309         Remove dependency.
37310         * string/Makefile (o-objects.ob): Remove variable.
37311         * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
37312         (CFLAGS-.ob): Remove variable.
37313         [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
37314         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
37315         both definitions of variable.
37316         * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
37317         (ASFLAGS-.ob): Remove variable.
37319 2013-02-14  Joseph Myers  <joseph@codesourcery.com>
37321         [BZ #13550]
37322         * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
37323         Remove __BOUNDED_POINTERS__ from condition.
37324         * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
37325         * string/bits/string2.h [!__NO_STRING_INLINES &&
37326         !__BOUNDED_POINTERS__]: Likewise.
37327         * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
37328         Likewise.
37329         * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
37330         Remove conditional code.
37331         * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
37332         __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
37333         !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
37334         condition.
37336         [BZ #13550]
37337         * csu/libc-start.c: Do not include <bp-sym.h>.
37338         [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
37339         * elf/dl-open.c: Do not include <bp-sym.h>.
37340         (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
37341         * math/fegetenv.c: Do not include <bp-sym.h>.
37342         (fegetenv): Do not use BP_SYM in versioned symbols.
37343         * nptl/sysdeps/pthread/bits/libc-lockP.h
37344         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
37345         <bp-sym.h>.
37346         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
37347         (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
37348         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
37349         (__pthread_mutex_destroy): Likewise.
37350         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
37351         (__pthread_mutex_lock): Likewise.
37352         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
37353         (__pthread_mutex_trylock): Likewise.
37354         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
37355         (__pthread_mutex_unlock): Likewise.
37356         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
37357         (__pthread_mutexattr_init): Likewise.
37358         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
37359         (__pthread_mutexattr_destroy): Likewise.
37360         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
37361         (__pthread_mutexattr_settype): Likewise.
37362         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
37363         (__pthread_rwlock_init): Likewise.
37364         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
37365         (__pthread_rwlock_destroy): Likewise.
37366         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
37367         (__pthread_rwlock_rdlock): Likewise.
37368         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
37369         (__pthread_rwlock_tryrdlock): Likewise.
37370         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
37371         (__pthread_rwlock_wrlock): Likewise.
37372         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
37373         (__pthread_rwlock_trywrlock): Likewise.
37374         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
37375         (__pthread_rwlock_unlock): Likewise.
37376         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
37377         (__pthread_key_create): Likewise.
37378         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
37379         (__pthread_setspecific): Likewise.
37380         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
37381         (__pthread_getspecific): Likewise.
37382         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
37383         Likewise.
37384         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
37385         (_pthread_cleanup_push_defer): Likewise.
37386         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
37387         (_pthread_cleanup_pop_restore): Likewise.
37388         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
37389         (pthread_setcancelstate): Likewise.
37390         * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
37391         <bp-sym.h>.
37392         [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
37393         (memchr): Do not use BP_SYM in weak_alias.
37394         * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
37395         (fegetenv): Do not use BP_SYM in versioned symbols.
37396         * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
37397         (fesetenv): Do not use BP_SYM in versioned symbols.
37398         * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
37399         (feupdateenv): Do not use BP_SYM in versioned symbols.
37400         * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
37401         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
37402         * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
37403         (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
37404         (open64): Do not use BP_SYM in weak_alias.
37405         * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
37406         (fegetenv): Do not use BP_SYM in versioned symbols.
37407         * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
37408         (fesetenv): Do not use BP_SYM in versioned symbols.
37409         * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
37410         (feupdateenv): Do not use BP_SYM in versioned symbols.
37411         * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
37412         (fegetexceptflag): Do not use BP_SYM in versioned symbols.
37413         * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
37414         (feraiseexcept): Do not use BP_SYM in versioned symbols.
37415         * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
37416         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
37417         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
37418         <bp-sym.h>.
37419         (__libc_start_main): Do not use BP_SYM.
37421 2013-02-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
37423         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
37424         redundant return line.
37425         (norm): Likewise.
37426         (denorm): Likewise.
37427         (dbl_mp): Likewise.
37428         (sub_magnitudes): Likewise.
37429         (__add): Likewise.
37430         (__sub): Likewise.
37431         (__mul): Likewise.
37432         (__inv): Likewise.
37433         (__dvd): Likewise.
37434         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
37435         (norm): Likewise.
37436         (denorm): Likewise.
37437         (dbl_mp): Likewise.
37438         (sub_magnitudes): Likewise.
37439         (__add): Likewise.
37440         (__sub): Likewise.
37441         (__mul): Likewise.
37442         (__inv): Likewise.
37443         (__dvd): Likewise.
37445         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
37446         instead of __mul.
37447         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
37448         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
37449         (cc32): Likewise.
37451         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
37452         * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
37453         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
37454         of __mul for squares.
37455         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
37456         function
37457         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
37458         Likewise.
37459         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
37460         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
37462 2013-02-13  Joseph Myers  <joseph@codesourcery.com>
37464         [BZ #13550]
37465         * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
37466         code.
37467         * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
37468         prototype or function definition.  Rename ubp_* variables and
37469         parameters.  Remove argv definitions conditional on
37470         [__BOUNDED_POINTERS__].
37471         * debug/backtrace.c (__backtrace): Do not use __unbounded.
37472         * elf/dl-runtime.c (_dl_fixup): Likewise.
37473         * include/set-hooks.h (RUN_HOOK): Likewise.
37474         * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
37475         definition.
37476         * string/strcpy.c (strcpy): Do not use __unbounded.
37477         * sysdeps/generic/frame.h (struct layout): Likewise.
37478         * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
37479         * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
37480         * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
37481         * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
37482         * sysdeps/sparc/backtrace.c (struct layout): Likewise.
37483         (__backtrace): Likewise.
37484         * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
37485         use __ptrvalue.
37486         * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
37487         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
37488         * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
37489         Likewise.
37490         * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
37491         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
37492         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
37493         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
37494         * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
37495         Do not use __unbounded.
37496         * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
37497         Rename __unboundedrlimits parameter to rlimits in prototype.
37498         * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
37499         Do not use __unbounded.
37500         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
37501         not use __ptrvalue.
37502         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
37503         * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
37504         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
37505         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
37506         __ptrvalue or __unbounded.
37507         (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
37508         * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
37509         use __unbounded.
37510         (__new_msgctl): Do not use __ptrvalue.
37511         * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
37512         __unbounded.
37513         (__libc_msgrcv): Do not use __ptrvalue.
37514         * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
37515         startup_info): Do not use __unbounded.
37516         (__libc_start_main): Likewise.  Rename ubp_* variables and
37517         parameters.  Remove argv definitions conditional on
37518         [__BOUNDED_POINTERS__].
37519         * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
37520         __ptrvalue.
37521         * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
37522         use __unbounded.
37523         * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
37524         or __ptrvalue.
37525         * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
37526         use __unbounded.
37527         (__new_shmctl): Do not use __ptrvalue.
37528         * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
37529         * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
37530         Likewise.
37531         * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
37532         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
37533         (__libc_sigaction): Likewise.
37534         * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
37535         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
37536         Likewise.
37537         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
37539 2013-02-13   Ondřej Bílka  <neleai@seznam.cz>
37541         * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
37543         * string/mempcpy.c: Implement by calling memcpy.
37545 2013-02-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
37547         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
37549         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
37550         evaluation.
37552         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
37553         values in the mantissa.
37555         * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
37556         minimize writes to Z.
37557         (sub_magnitudes): Simplify code a bit.
37559 2013-02-12  Roland McGrath  <roland@hack.frob.com>
37561         * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
37562         from the message.  The linker prefixes all warnings with that already.
37564 2013-02-12  Andreas Schwab  <schwab@suse.de>
37566         [BZ #15078]
37567         * posix/regexec.c (extend_buffers): Add parameter min_len.
37568         (check_matching): Pass minimum needed length.
37569         (clean_state_log_if_needed): Likewise.
37570         (get_subexp): Likewise.
37571         * posix/Makefile (tests): Add bug-regex34.
37572         (bug-regex34-ENV): Define.
37573         * posix/bug-regex34.c: New file.
37575         [BZ #11561]
37576         * posix/regcomp.c (parse_bracket_exp): When looking up collating
37577         elements compare against the byte sequence of it, not its name.
37578         * posix/Makefile (tests): Add bug-regex35.
37579         (bug-regex35-ENV): Define.
37580         * posix/bug-regex35.c: New file.
37582 2013-02-11  Tom de Vries  <tom@codesourcery.com>
37584         * string/str-two-way.h:  Fix typo RESULT_TYPE -> RETURN_TYPE in
37585         comment.
37586         Add RET0_IF_0 and CHECK_EOL to macro list in comment.
37587         (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
37588         (CHECK_EOL): Add undef.
37590 2013-02-11   Ondřej Bílka  <neleai@seznam.cz>
37592         * bits/stdlib-bsearch.h: New file.
37593         * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
37594         * stdlib/stdlib.h: Likewise.
37596 2013-02-11  Roland McGrath  <roland@hack.frob.com>
37598         * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
37599         * manual/errno.texi (Error Messages): Fix typo in error_print_progname
37600         declaration.
37601         * manual/search.texi (Array Search Function): Add missing const in
37602         lfind prototype.
37603         * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
37604         declaration to use rlim_t.
37605         (Basic Scheduling Functions): Remove erroneous const from
37606         sched_getparam prototype.  Remove erroneous * from
37607         sched_get_priority_max and sched_get_priority_min prototypes.
37608         (Resource Usage): Fix summary @comment on vtimes to refer to
37609         sys/vtimes.h rather than vtimes.h.
37610         Add missing *s in vtimes prototype.
37611         (Limits on Resources): Fix ulimit prototype to return long int.
37612         * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
37613         prototypes to use long int rather than double.
37614         (BSD Random): Fix initstate and setstate to use char *, not void *.
37615         * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
37616         prototype to make second argument 'struct aiocb64 *const[]'.
37617         Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
37618         (Status of AIO Operations): Remove erroneous const in aio_return and
37619         aio_return64 prototypes.
37620         (Synchronizing I/O): Fix sync prototype to return void.
37621         * manual/startup.texi (Suboptions): Remove an erroneous const in
37622         getsubopt prototype.
37623         * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
37624         * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
37625         use size_t rather than int.
37626         (Scanning All Users): Likewise for getpwent_r.
37627         (Setting Groups): Add missing const to setgroups prototype.
37628         * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
37629         * manual/socket.texi (Host Names): Fix gethostbyaddr and
37630         gethostbyaddr_r prototypes to use socklen_t rather than size_t and
37631         'const void *' rather than 'const char *'.
37632         (Host Address Functions): Likewise for inet_ntop.
37633         (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
37634         (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
37635         ssize_t for return value.
37636         (Sending Data): Likewise for send, sendto, sendmsg.
37637         (Socket Option Functions): Add a missing const in setsockopt prototype.
37638         * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
37639         use wchar_t for the argument.
37640         (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
37641         * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
37642         take no arguments.
37643         (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
37644         double/float/long double for second argument.
37645         Fix return types of significand, significandf, significandl.
37646         * manual/filesys.texi (Setting Permissions): Use mode_t for second
37647         argument in fchmod prototype.
37648         (File Owner): Use uid_t and gid_t in fchown prototype.
37649         (File Times): Add const to utimes, futimes, and lutimes prototypes.
37650         (Making Special Files): Use mode_t and dev_t in mknod prototype.
37651         (Scanning Directory Content): Fix scandir and scandir64 prototypes to
37652         use 'const struct dirent **' as argument types to CMP function pointer
37653         argument.
37654         (Symbolic Links): Fix readlink prototype with ssize_t as return value.
37655         (File Times): Fix summary magic @comment for struct utimbuf and utime
37656         to refer to utime.h, not time.h.
37657         * manual/string.texi (Argz Functions): Add missing const in
37658         argz_extract and argz_next prototypes.
37659         (Finding Tokens in a String): Likewise for basename.
37660         (String/Array Comparison): Fix typo in wcscasecmp prototype.
37661         (Copying and Concatenation): Fix typo in wmemmove prototype.
37662         * manual/signal.texi (Using Pause): Use (void) in pause prototype.
37663         (Signal Stack): Remove erroneous const in sigstack prototype.
37664         * manual/time.texi (Setting an Alarm): Add missing const in setitimer
37665         prototype.
37666         (Simple Calendar Time): Likewise for stime.
37667         * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
37668         prototype.
37669         * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
37670         say sys/sysctl.h instead.
37671         * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
37672         and vsyslog prototypes.
37674 2013-02-11  Tom de Vries  <tom@codesourcery.com>
37676         * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
37677         Remove.
37679 2013-02-11  Roland McGrath  <roland@hack.frob.com>
37681         * misc/sys/mman.h: Fix typo in mremap comment.
37683 2013-02-08  Roland McGrath  <roland@hack.frob.com>
37685         * manual/examples/mkfsock.c (make_named_socket): Don't add one for
37686         the '\0' terminator.
37688 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
37690         [BZ #13550]
37691         * debug/segfault.c: Don't include <bp-checks.h>.
37692         * sysdeps/generic/bp-checks.h: Remove file.
37693         * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
37694         (__GETDENTS): Don't use CHECK_N.
37695         * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
37696         * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
37697         (__getgroups): Don't use CHECK_N.
37698         * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
37699         (setgroups): Don't use CHECK_N.
37700         * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
37701         * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
37702         (__libc_msgrcv): Don't use CHECK_N.
37703         * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
37704         (__libc_msgsnd): Don't use CHECK_N.
37705         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
37706         <bp-checks.h>.
37707         (__libc_pread): Don't use CHECK_N.
37708         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
37709         include <bp-checks.h>.
37710         (__libc_pread64): Don't use CHECK_N.
37711         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
37712         include <bp-checks.h>.
37713         (__libc_pwrite): Don't use CHECK_N.
37714         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
37715         include <bp-checks.h>.
37716         (__libc_pwrite64): Don't use CHECK_N.
37717         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
37718         <bp-checks.h>.
37719         (__libc_pread): Don't use CHECK_N.
37720         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
37721         include <bp-checks.h>.
37722         (__libc_pread64): Don't use CHECK_N.
37723         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
37724         include <bp-checks.h>.
37725         (__libc_pwrite): Don't use CHECK_N.
37726         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
37727         include <bp-checks.h>.
37728         (__libc_pwrite64): Don't use CHECK_N.
37729         * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
37730         (do_pread): Don't use CHECK_N.
37731         * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
37732         (do_pread64): Don't use CHECK_N.
37733         * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
37734         (do_pwrite): Don't use CHECK_N.
37735         * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
37736         (do_pwrite64): Don't use CHECK_N.
37737         * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
37738         (__libc_readv): Don't use CHECK_N.
37739         * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
37740         (semop): Don't use CHECK_N.
37741         * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
37742         <bp-checks.h>.
37743         (semtimedop): Don't use CHECK_N.
37744         * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
37745         (__libc_pread): Don't use CHECK_N.
37746         * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
37747         <bp-checks.h>.
37748         (__libc_pread64): Don't use CHECK_N.
37749         * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
37750         <bp-checks.h>.
37751         (__libc_pwrite): Don't use CHECK_N.
37752         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
37753         <bp-checks.h>.
37754         (__libc_pwrite64): Don't use CHECK_N.
37755         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
37756         <bp-checks.h>.
37757         (__libc_msgrcv): Don't use CHECK_N.
37758         * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
37759         (__sysctl): Don't use CHECK_N.  Remove GKM FIXME comment.
37760         * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
37761         (__libc_writev): Don't use CHECK_N.
37763 2013-02-08  Roland McGrath  <roland@hack.frob.com>
37765         * string/strcpy.c: Removed unused variable.
37767         * Makeconfig (+sysdep-includes): Define with := rather than =.
37768         Use an existing include/ subdir of each sysdeps dir before it.
37770 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
37772         * nscd/connection.c (register_traced_file): Comment function.
37773         [HAVE_INOTIFY] (union __inev): Define.
37774         [HAVE_INOTIFY] (inotify_check_files): New function.
37775         [HAVE_INOTIFY] (clear_db_cache): Likewise.
37776         [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
37777         clear_db_cache.
37778         [HAVE_INOTIFY] (main_loop_epoll): Likewise.
37780 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
37782         * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
37783         loaded if not already and that a failure is permanent.
37785 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
37787         [BZ #15006]
37788         * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
37789         * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
37791 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
37793         [BZ #13550]
37794         * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
37795         (CHECK_1_NULL_OK): Likewise.
37796         * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
37797         (__fxstat): Do not use CHECK_1.
37798         * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
37799         <bp-checks.h>.
37800         (___fxstat64): Do not use CHECK_1.
37801         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
37802         <bp-checks.h>.
37803         (__fxstatat): Do not use CHECK_1.
37804         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
37805         <bp-checks.h>.
37806         (__fxstatat64): Do not use CHECK_1.
37807         * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
37808         <bp-checks.h>.
37809         (__fxstat): Do not use CHECK_1.
37810         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
37811         <bp-checks.h>.
37812         (__fxstatat): Do not use CHECK_1.
37813         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
37814         <bp-checks.h>.
37815         (__getresgid): Do not use CHECK_1.
37816         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
37817         <bp-checks.h>.
37818         (__getresuid): Do not use CHECK_1.
37819         * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
37820         <bp-checks.h>.
37821         (__lxstat): Do not use CHECK_1.
37822         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
37823         <bp-checks.h>.
37824         (__old_msgctl): Do not use CHECK_1.
37825         (__new_msgctl): Likewise.
37826         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
37827         <bp-checks.h>.
37828         (__new_setrlimit): Do not use CHECK_1.
37829         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
37830         <bp-checks.h>.
37831         (__old_shmctl): Do not use CHECK_1.
37832         (__new_shmctl): Likewise.
37833         * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
37834         <bp-checks.h>.
37835         (__xstat): Do not use CHECK_1.
37836         * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
37837         (__lxstat): Do not use CHECK_1.
37838         * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
37839         <bp-checks.h>.
37840         (___lxstat64): Do not use CHECK_1.
37841         * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
37842         (__old_msgctl): Do not use CHECK_1.
37843         (__new_msgctl): Likewise.
37844         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
37845         <bp-checks.h>.
37846         (__gettimeofday): Do not use CHECK_1.
37847         * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
37848         (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
37849         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
37850         <bp-checks.h>.
37851         (__gettimeofday): Do not use CHECK_1.
37852         * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
37853         (__old_shmctl): Do not use CHECK_1_NULL_OK.
37854         (__new_shmctl): Do not use CHECK_1.
37855         * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
37856         <bp-checks.h>.
37857         (do_sigtimedwait): Do not use CHECK_1.
37858         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
37859         <bp-checks.h>.
37860         (do_sigwaitinfo): Do not use CHECK_1.
37861         * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
37862         <bp-checks.h>.
37863         (msgctl): Do not use CHECK_1.
37864         * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
37865         <bp-checks.h>.
37866         (shmctl): Do not use CHECK_1.
37867         * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
37868         (ustat): Do not use CHECK_1.
37869         * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
37870         <bp-checks.h>.
37871         (__fxstat): Do not use CHECK_1.
37872         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
37873         <bp-checks.h>.
37874         (__fxstatat): Do not use CHECK_1.
37875         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
37876         <bp-checks.h>.
37877         (__lxstat): Do not use CHECK_1.
37878         * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
37879         <bp-checks.h>.
37880         (__xstat): Do not use CHECK_1.
37881         * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
37882         (__xstat): Do not use CHECK_1.
37883         * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
37884         (___xstat64): Do not use CHECK_1.
37886         [BZ #13550]
37887         * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
37888         definitions.
37889         (CHECK_BOUNDS_HIGH): Likewise.
37890         * string/strcpy.c: Do not include <bp-checks.h>.
37891         (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
37893 2013-02-07  Roland McGrath  <roland@hack.frob.com>
37895         * nscd/nscd-client.h (__nscd_drop_map_ref):
37896         Add __attribute__ ((unused)).
37897         * nis/nss-nisplus.h (niserr2nss): Likewise.
37899         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
37900         under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
37902         * csu/libc-tls.c (init_static_tls, init_slotinfo):
37903         Remove inline keyword.
37904         * include/rounding-mode.h (round_away): Likewise.
37905         * libio/wfileops.c (adjust_wide_data): Likewise.
37906         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
37907         (__m128i_strloadu_tolower): Likewise.
37908         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
37909         (__m128i_strloadu_tolower): Likewise.
37910         * time/mktime.c (ydhms_diff): Likewise.
37911         * locale/elem-hash.h (elem_hash): Likewise.
37912         * locale/setlocale.c (setdata): Likewise.
37913         * posix/regex_internal.h (re_string_char_size_at): Likewise.
37914         (re_string_wchar_at): Likewise.
37915         (bitset_not, bitset_merge, bitset_mask): Likewise.
37916         [!(__GNUC__ > 3)] (inline): Remove macro.
37917         * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
37918         * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
37919         * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
37920         (_dl_tlsdesc_wake_up_held_fixups): Likewise.
37921         * string/memcmp.c (memcmp_bytes): Likewise.
37922         * locale/programs/locarchive.c (compute_hashval): Likewise.
37923         * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
37924         * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
37925         * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
37926         * nss/getent.c (print_rpc, print_protocols): Likewise.
37927         (print_passwd, print_group, print_aliases): Likewise.
37928         * nis/nss-nisplus.h (niserr2nss): Likewise.
37929         * nscd/connections.c (restart_p): Likewise.
37930         Change return type to bool.
37932 2013-02-05  Roland McGrath  <roland@hack.frob.com>
37934         * Makeconfig (all-Depend-files): Add existing
37935         $(sorted-subdirs:=/Depend) files.
37936         (all-subdirs): Remove nss.
37937         * sysdeps/unix/inet/Subdirs: Add it here instead.
37938         * hesiod/Depend: New file.
37940         * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
37941         instead of calling alloca.
37943         * io/lseek.c (__lseek): Rename to __libc_lseek.
37944         Define __lseek as an alias.
37946         * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
37948 2013-02-04  Carlos O'Donell  <carlos@redhat.com>
37950         * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
37951         else clause and remove check for non-standard endianness.
37953 2013-02-04  David S. Miller  <davem@davemloft.net>
37955         * sysdeps/sparc/fpu/libm-test-ulps: Update.
37957 2013-02-04  Joseph Myers  <joseph@codesourcery.com>
37959         [BZ #13550]
37960         * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
37961         (__ubp_memchr): Remove prototype.
37962         [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
37963         [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
37964         [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
37965         [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
37966         * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
37967         Remove alias.
37968         * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
37969         (__ubp_memchr): Likewise.
37970         * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
37971         (__ubp_memchr): Likewise.
37972         * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
37973         (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
37974         (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
37975         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
37976         CHECK_STRING.
37977         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
37978         * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
37979         (__getcwd): Do not use CHECK_STRING.
37980         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
37981         <bp-checks.h>.
37982         (__real_chown): Do not use CHECK_STRING.
37983         * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
37984         <bp-checks.h>.
37985         (fchownat): Do not use CHECK_STRING.
37986         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
37987         CHECK_STRING.
37988         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
37989         <bp-checks.h>.
37990         (__lchown): Do not use CHECK_STRING.
37991         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
37992         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
37993         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
37994         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
37995         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
37996         include <bp-checks.h>.
37997         (truncate64): Do not use CHECK_STRING.
37998         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
37999         <bp-checks.h>.
38000         (__real_chown): Do not use CHECK_STRING.
38001         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
38002         <bp-checks.h>.
38003         (__lchown): Do not use CHECK_STRING.
38004         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
38005         <bp-checks.h>.
38006         (__chown): Do not use CHECK_STRING.
38007         * sysdeps/unix/sysv/linux/truncate64.c: Do not include
38008         <bp-checks.h>.
38009         (truncate64): Do not use CHECK_STRING.
38010         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
38011         Likewise.
38012         * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
38013         (__xmknod): Do not use CHECK_STRING.
38014         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
38015         <bp-checks.h>.
38016         (__xmknodat): Do not use CHECK_STRING.
38017         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
38018         * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
38020 2013-02-04  Andreas Schwab  <schwab@suse.de>
38022         [BZ #14142]
38023         * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
38024         * include/netdb.h: Likewise for h_errno.
38025         * elf/tst-stackguard1.c: Include <tls.h>.
38027 2013-02-02  Jan Kratochvil  <jan.kratochvil@redhat.com>
38029         * elf/link.h (struct link_map): Extend the l_addr comment.
38030         * include/link.h (struct link_map): Likewise.
38032 2013-02-01  Joseph Myers  <joseph@codesourcery.com>
38034         [BZ #13550]
38035         * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
38036         (BOUNDED_1): Remove macro.
38037         * debug/backtrace.c: Don't include <bp-checks.h>.
38038         (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
38039         (__backtrace): Likewise.
38040         * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
38041         <bp-checks.h>.
38042         (__backtrace): Don't use BOUNDED_1.
38043         * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
38044         <bp-checks.h>.
38045         (__backtrace): Don't use BOUNDED_1.
38046         * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
38047         (__backtrace): Don't use BOUNDED_1.
38048         * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
38049         (shmat): Don't use BOUNDED_N.
38051 2013-01-31  Joseph Myers  <joseph@codesourcery.com>
38053         [BZ #13550]
38054         * sysdeps/generic/bp-start.h: Remove file.
38055         * csu/libc-start.c: Don't include <bp-start.h>.
38056         (LIBC_START_MAIN): Set up __environ directly instead of using
38057         INIT_ARGV_and_ENVIRON.
38058         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
38059         <bp-start.h>.
38061         [BZ #13550]
38062         * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
38063         definitions.
38064         (CHECK_FCNTL): Likewise.
38065         (CHECK_N_PAGES): Likewise.
38067         [BZ #13550]
38068         * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
38069         definitions.
38070         (CHECK_SIGSET_NULL_OK): Likewise.
38071         * sysdeps/unix/sysv/linux/sigpending.c: Don't include
38072         <bp-checks.h>.
38073         (sigpending): Don't use CHECK_SIGSET.
38074         * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
38075         <bp-checks.h>.
38076         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
38077         * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
38078         <bp-checks.h>.
38079         (do_sigsuspend): Don't use CHECK_SIGSET.
38080         * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
38081         use CHECK_SIGSET.
38082         * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
38083         (do_sigwait): Don't use CHECK_SIGSET.
38084         * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
38085         use CHECK_SIGSET.
38086         * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
38087         include <bp-checks.h>.
38088         (sigpending): Don't use CHECK_SIGSET.
38089         * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
38090         include <bp-checks.h>.
38091         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
38092         * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
38093         <bp-checks.h>.
38094         (sigpending): Don't use CHECK_SIGSET.
38095         * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
38096         <bp-checks.h>.
38097         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
38099         [BZ #13550]
38100         * sysdeps/generic/bp-semctl.h: Remove file.
38101         * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
38102         <bp-checks.h> and <bp-semctl.h>.
38103         (__old_semctl): Don't use CHECK_SEMCTL.
38104         (__new_semctl): Likewise.
38105         * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
38106         and <bp-semctl.h>.
38107         (__old_semctl): Don't use CHECK_SEMCTL.
38108         (__new_semctl): Likewise.
38109         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
38110         <bp-checks.h> and <bp-semctl.h>.
38111         (__old_semctl): Don't use CHECK_SEMCTL.
38112         (__new_semctl): Likewise.
38113         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
38114         <bp-checks.h> and <bp-semctl.h>.
38115         (semctl): Don't use CHECK_SEMCTL.
38117         [BZ #13550]
38118         * Makerules (elide-bp-thunks): Remove variable.
38119         (elide-routines.oS): Don't use $(elide-bp-thunks).
38120         (elide-routines.os): Likewise.
38121         (elide-routines.o): Likewise.
38122         (elide-routines.op): Likewise.
38123         (elide-routines.og): Likewise.
38124         (objects): Don't use $(bp-thunks).
38125         * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
38126         include.
38127         (common-generated): Do not add s-proto-bp.d.
38128         * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
38129         (int): Likewise.
38130         (typ): Likewise.
38131         Do not generate makefile rules for bounded-pointer thunks.
38132         * sysdeps/generic/bp-thunks.h: Remove file.
38133         * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
38134         * sysdeps/unix/s-proto-bp.S: Likewise.
38136         [BZ #15062]
38137         * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
38138         parts of result separately when argument is not close to line from
38139         -i to i and one part of argument is small.
38140         * math/k_casinhf.c (__kernel_casinhf): Likewise.
38141         * math/k_casinhl.c (__kernel_casinhl): Likewise.
38142         * math/libm-test.inc (cacos_test): Add more tests.
38143         (casin_test): Likewise.
38144         (casinh_test): Likewise.
38145         * sysdeps/i386/fpu/libm-test-ulps: Update.
38146         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38148 2013-01-31  David S. Miller  <davem@davemloft.net>
38150         * po/de.po: Update from translation team.
38152 2013-01-25  Maxim Kuvyrkov  <maxim.kuvyrkov@gmail.com>
38154         * time/tzfile.c: Include stdint.h for SIZE_MAX.
38156 2013-01-25  Thomas Schwinge  <thomas@codesourcery.com>
38158         * configure.in (_AC_PROG_CC_C89): New definition.
38159         * configure: Regenerate.
38161         * configure.in (AC_PROG_CPP): New definition.
38162         * configure: Regenerate.
38164 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
38166         * debug/tst-backtrace.h: New file.
38167         * debug/tst-backtrace2.c: Include tst-backtrace.h.
38168         (ret): Remove variable.
38169         (x): Likewise.
38170         (FAIL): Remove macro.
38171         (NO_INLINE): Likewise.
38172         (fn1): Use match function instead of strstr.
38173         * debug/tst-backtrace3.c: Include tst-backtrace.h.
38174         (ret): Remove variable.
38175         (x): Likewise.
38176         (FAIL): Remove macro.
38177         (NO_INLINE): Likewise.
38178         (fn): Use match function instead of strstr.
38179         * debug/tst-backtrace4.c: Include tst-backtrace.h.
38180         (ret): Remove variable.
38181         (x): Likewise.
38182         (FAIL): Remove macro.
38183         (NO_INLINE): Likewise.
38184         (handle_signal): Use match function instead of strstr.
38185         * debug/tst-backtrace5.c: Include tst-backtrace.h.
38186         (ret): Remove variable.
38187         (x): Likewise.
38188         (FAIL): Remove macro.
38189         (NO_INLINE): Likewise.
38190         (handle_signal): Use match function instead of strstr.
38192 2013-01-23  Roland McGrath  <roland@hack.frob.com>
38194         * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
38196 2013-01-23  David S. Miller  <davem@davemloft.net>
38198         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
38199         (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
38200         argument of CAS if possible.
38201         * sysdeps/sparc/sparc64/bits/atomic.h
38202         (__arch_compare_and_exchange_val_32_acq): Likewise.
38203         (__arch_compare_and_exchange_val_64_acq): Likewise.
38205 2013-01-23  Pino Toscano  <toscano.pino@tiscali.it>
38207         * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
38208         * sysdeps/posix/ulimit.c: ... this.
38209         Include <limits.h>.
38210         * sysdeps/unix/bsd/ulimit.c: Remove file.
38212 2013-01-23  Adam Conrad  <adconrad@0c3.net>
38214         * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
38215         (LDFLAGS-tst-array5): Likewise.
38217 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
38219         [BZ #15036]
38220         * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
38221         based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
38222         (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
38223         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
38225 2013-01-21  David S. Miller  <davem@davemloft.net>
38227         * sysdeps/sparc/backtrace.c: New file.
38228         * sysdeps/sparc/sparc32/backtrace.h: New file.
38229         * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
38230         * sysdeps/sparc/sparc64/backtrace.h: New file.
38231         * sysdeps/sparc/sparc64/backtrace.c: Delete.
38232         * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
38233         -funwind-tables.
38235 2013-01-21  Andreas Schwab  <schwab@suse.de>
38237         [BZ #15020]
38238         * posix/wordexp.c (exec_comm): Avoid busy loop when command has
38239         closed its stdout.
38241 2013-01-20  Andreas Schwab  <schwab@linux-m68k.org>
38243         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
38244         "mpa2.h".
38245         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
38247 2013-01-18  Joseph Myers  <joseph@codesourcery.com>
38248             Mark Mitchell  <mark@codesourcery.com>
38249             Tom de Vries  <tom@codesourcery.com>
38250             Paul Pluzhnikov  <ppluzhnikov@google.com>
38252         * debug/tst-backtrace2.c: New file.
38253         * debug/tst-backtrace3.c: Likewise.
38254         * debug/tst-backtrace4.c: Likewise.
38255         * debug/tst-backtrace5.c: Likewise.
38256         * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
38257         (CFLAGS-tst-backtrace3.c): Likewise.
38258         (CFLAGS-tst-backtrace4.c): Likewise.
38259         (CFLAGS-tst-backtrace5.c): Likewise.
38260         (LDFLAGS-tst-backtrace2): Likewise.
38261         (LDFLAGS-tst-backtrace3): Likewise.
38262         (LDFLAGS-tst-backtrace4): Likewise.
38263         (LDFLAGS-tst-backtrace5): Likewise.
38264         (tests): Add new tests tst-backtrace2, tst-backtrace3,
38265         tst-backtrace4 and tst-backtrace5.
38267 2013-01-18  Anton Blanchard  <anton@samba.org>
38268             Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
38270         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
38271         __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
38272         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
38273         INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
38274         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
38275         (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
38276         "+r" and remove output regs list as redundant.  Add explicit inline
38277         asm to specify register of return val to work around compiler codegen
38278         bug.  Remove (int) cast on return value.  Add return type parameter to
38279         use in macro so that this macro does not truncate return value for
38280         64-bit values.
38281         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
38282         pass to INTERNAL_VSYSCALL_NCS.
38283         (INLINE_VSYSCALL): Add 'long int' as return type to
38284         INTERNAL_VSYSCALL_NCS macro invocation.
38285         (INTERNAL_VSYSCALL): Add 'long int' as return type to
38286         INTERNAL_VSYSCALL_NCS macro invocation.
38287         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
38289 2013-01-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
38291         [BZ #14496]
38292         * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
38293         Fix application of SIMD FP exception mask.
38295         * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
38296         mp_no from a power of two.
38297         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
38298         __mpexp_twomm1.  Use __pow_mp.
38300         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
38301         multiplication.
38303 2013-01-17  David S. Miller  <davem@davemloft.net>
38305         * sysdeps/sparc/fpu/libm-test-ulps: Update.
38307 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
38309         [BZ #15023]
38310         * include/complex.h: Condition contents on [!_COMPLEX_H].
38311         (__kernel_casinhf): New prototype.
38312         (__kernel_casinh): Likewise.
38313         (__kernel_casinhl): Likewise.
38314         * math/Makefile (libm_calls): Add k_casinh.
38315         * math/k_casinh.c: New file.
38316         * math/k_casinhf.c: Likewise.
38317         * math/k_casinhl.c: Likewise.
38318         * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
38319         finite nonzero arguments.
38320         * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
38321         finite nonzero arguments.
38322         * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
38323         finite nonzero arguments.
38324         * math/s_casinh.c: Do not include <float.h>.
38325         (__casinh): Move code for finite nonzero arguments to k_casinh.c.
38326         * math/s_casinhf.c: Do not include <float.h>.
38327         (__casinhf): Move code for finite nonzero arguments to
38328         k_casinhf.c.
38329         * math/s_casinhl.c: Do not include <float.h>.
38330         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
38331         redefine.
38332         (__casinhl): Move code for finite nonzero arguments to
38333         k_casinhl.c.
38334         * math/libm-test.inc (cacos_test): Add more tests.
38335         * sysdeps/i386/fpu/libm-test-ulps: Update.
38336         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38338 2013-01-17  Pino Toscano  <toscano.pino@tiscali.it>
38340         * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
38341         * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
38342         [!HAVE_MREMAP]: Remove [defined linux] case.
38343         * malloc/arena.c: Do not include <malloc-sysdep.h>.
38345 2013-01-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
38347         * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
38349 2013-01-17  H.J. Lu  <hongjiu.lu@intel.com>
38351         * elf/elf.h (R_386_SIZE32): New relocation.
38352         * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
38353         R_386_SIZE32.
38354         (elf_machine_rela): Likewise.
38355         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
38356         R_X86_64_SIZE64 and R_X86_64_SIZE32.
38358 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
38360         * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
38361         (FP_FAST_FMA): Do not define.
38362         [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
38363         * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
38364         && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
38365         * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
38366         !_SOFT_FLOAT]: Likewise.
38367         * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
38368         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
38369         value.
38370         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
38371         [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
38372         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
38373         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
38374         [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
38375         [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
38376         file.
38378 2013-01-16  Andreas Schwab  <schwab@suse.de>
38380         [BZ #14327]
38381         * include/stdlib.h (__mktemp): Add declaration.
38382         * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
38383         * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
38385 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
38387         * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
38388         definitions.
38389         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
38390         * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
38391         * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
38392         definitions here.
38393         * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
38394         * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
38395         definitions.
38396         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
38397         and ONE.
38398         * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
38399         * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
38400         * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
38401         definitions.
38402         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
38403         * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
38404         definitions.
38405         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
38407         * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
38409 2013-01-15  David S. Miller  <davem@davemloft.net>
38411         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
38412         trunc{,f} to libm-sysdep_routes.
38413         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
38414         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
38415         file.
38416         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
38417         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
38418         file.
38419         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
38420         file.
38421         * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
38422         * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
38423         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
38424         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
38425         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
38426         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
38427         * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
38428         * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
38430         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
38431         nearbyint{,f} to libm-sysdep_routes.
38432         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
38433         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
38434         New file.
38435         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
38436         file.
38437         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
38438         New file.
38439         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
38440         file.
38441         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
38442         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
38443         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
38444         file.
38445         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
38446         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
38447         file.
38448         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
38449         * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
38450         * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
38452         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
38453         libc_feholdexcept and libc_fesetenv.
38455 2013-01-15  Mike Frysinger  <vapier@gentoo.org>
38457         * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
38459 2013-01-14  David S. Miller  <davem@davemloft.net>
38461         * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
38462         (SPARC_ASM_VIS2_IFUNC): Likewise.
38463         (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
38464         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
38465         use of 'siam' instruction.
38466         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
38467         Likewise.
38468         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
38469         Likewise.
38470         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
38471         Likewise.
38472         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
38473         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
38474         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
38475         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
38476         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
38477         file.
38478         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
38479         file.
38480         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
38481         file.
38482         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
38483         file.
38484         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
38485         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
38486         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
38487         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
38488         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
38489         new VIS2 routines.
38490         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
38491         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
38492         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
38493         Likewise.
38494         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
38495         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
38496         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
38497         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
38498         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
38499         routines to libm-sysdep_routines.
38500         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
38502         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
38503         fdim/fdimf to libm-sysdep_routines.
38504         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
38505         file.
38506         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
38507         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
38508         file.
38509         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
38510         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
38511         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
38512         * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
38513         * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
38514         * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
38515         * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
38517 2013-01-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
38519         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
38520         to optimize copies.
38522         * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
38523         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
38524         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
38526         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
38527         local variable MPTWO.
38528         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
38529         Likewise.
38531 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
38533         * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
38534         GLOB_NOESCAPE.
38536 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
38538         * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
38540 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
38542         * manual/pattern.texi (glob_t): Document gl_flags.
38543         (glob64_t): Likewise.
38545 2013-01-11  David S. Miller  <davem@davemloft.net>
38547         * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
38548         * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
38549         (gmp-sysdep_routines): New variable.  Add VIS3 optimized GMP routines.
38550         * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
38551         * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
38552         * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
38553         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
38554         * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
38555         * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
38556         * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
38557         * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
38558         * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
38559         * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
38561         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
38562         sparc V9 rather than using V8 code.
38563         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
38564         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
38566         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
38567         Move to...
38568         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
38569         Here.
38571 2013-01-11  Roland McGrath  <roland@hack.frob.com>
38573         * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
38574         not in the main loop.
38575         * configure: Regenerated.
38577 2013-01-11  Joseph Myers  <joseph@codesourcery.com>
38579         * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
38580         * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
38581         to just #else.
38582         * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise.  Remove
38583         [!__GLIBC_HAVE_LONG_LONG] case.
38584         * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
38585         condition to just #else.
38586         * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
38587         __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
38588         [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
38589         * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
38590         unconditional.
38591         * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
38592         * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
38593         #elif condition to just #else.
38594         * sysdeps/unix/sysv/linux/sys/sysmacros.h
38595         [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
38596         * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
38597         #elif condition to just #else.
38599 2013-01-11  Steve Ellcey  <sellcey@mips.com>
38601         * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
38602         (EF_MIPS_ARCH_64): Fix value.
38603         (EF_MIPS_ARCH_32R2): New.
38604         (EF_MIPS_ARCH_64R2): New.
38606 2013-01-11  H.J. Lu  <hongjiu.lu@intel.com>
38608         * Makeconfig (+link-pie-before-libc): New.
38609         (+link-pie-after-libc): Likewise.
38610         (+link-pie-tests): Likewise.
38611         (+link-pie): Rewritten.
38612         (link-before-libc): Remove $(config-LDFLAGS).
38613         (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
38614         (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
38615         (config-LDFLAGS): Renamed to ...
38616         (rtld-LDFLAGS): This.
38617         (rtld-tests-LDFLAGS): New macro.
38618         (link-libc-rpath-link): Likewise.
38619         (link-libc-tests-rpath-link): Likewise.
38620         (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
38621         (link-libc): Prepand $(link-libc-rpath-link).
38622         (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
38623         (test-program-prefix): New macro.
38624         (test-via-rtld-prefix): Likewise.
38625         (test-program-cmd): Likewise.
38626         (host-test-program-cmd): Likewise.
38627         * Makefile ($(common-objpfx)testrun.sh): Replace
38628         $(run-program-prefix) with $(test-program-prefix).
38629         * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
38630         $(rtld-LDFLAGS).
38631         ($(common-objpfx)shlib.lds): Likewise.
38632         (build-module-helper): Likewise.
38633         ($(common-objpfx)format.lds): Likewise.
38634         * Rules (binaries-pie-tests): New.
38635         (binaries-pie-notests): Likewise.
38636         (binaries-pie): Rewritten.
38637         ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
38638         ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
38639         ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
38640         (make-test-out): Replace $(host-built-program-cmd) with
38641         $(host-test-program-cmd).
38642         * config.make.in (build-hardcoded-path-in-tests): New variable.
38643         * configure.in (--enable-hardcoded-path-in-tests): New configure
38644         option.
38645         (hardcoded_path_in_tests): New AC_SUBST.
38646         * configure: Regenerated.
38647         * catgets/Makefile ($(objpfx)test-gencat.out): Replace
38648         $(built-program-cmd) with $(test-program-cmd).
38649         * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
38650         (test_program_cmd): This.
38651         * elf/Makefile ($(objpfx)order.out): Run test with
38652         $(test-program-prefix).
38653         ($(objpfx)order2.out): Likewise.
38654         ($(objpfx)tst-initorder.out): Likewise.
38655         ($(objpfx)tst-initorder2.out): Likewise.
38656         ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
38657         $(test-program-cmd).
38658         ($(objpfx)tst-array1-static.out): Likewise.
38659         ($(objpfx)tst-array2.out): Likewise.
38660         ($(objpfx)tst-array3.out): Likewise.
38661         ($(objpfx)tst-array4.out): Likewise.
38662         ($(objpfx)tst-array5.out): Likewise.
38663         ($(objpfx)tst-array5-static.out): Likewise.
38664         (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
38665         $(test-program-cmd).
38666         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
38667         $(run-program-prefix) with $(test-program-prefix).
38668         * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
38669         (test_program_prefix): This.
38670         * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
38671         $(run-program-prefix) with $(test-program-prefix).
38672         * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
38673         (test_program_prefix): This.
38674         * iconvdata/tst-tables.sh: Likewise.
38675         * intl/Makefile ($(objpfx)tst-gettext.out): Replace
38676         $(run-program-prefix) with $(test-program-prefix).
38677         ($(objpfx)tst-translit.out): Likewise.
38678         ($(objpfx)tst-gettext2.out): Likewise.
38679         ($(objpfx)tst-gettext4.out): Likewise.
38680         ($(objpfx)tst-gettext6.out): Likewise.
38681         * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
38682         (test_program_prefix): This.
38683         * intl/tst-gettext2.sh: Likewise.
38684         * intl/tst-gettext4.sh  Likewise.
38685         * intl/tst-gettext6.sh: Likewise.
38686         * intl/tst-translit.sh: Likewise.
38687         * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
38688         with $(test-program-cmd).
38689         * libio/Makefile ($(objpfx)test-freopen.out): Replace
38690         $(run-program-prefix) with $(test-program-prefix).
38691         * libio/test-freopen.sh (run_program_prefix): Renamed to ...
38692         (test_program_prefix): This.
38693         * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
38694         $(run-program-prefix) with $(test-program-prefix).
38695         * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
38696         (test_program_prefix): This.
38697         * manual/install.texi: Document --enable-hardcoded-path-in-tests.
38698         * posix/Makefile ($(objpfx)globtest.out): Replace
38699         $(run-via-rtld-prefix) and $(test-wrapper) with
38700         $(test-program-prefix) and $(test-via-rtld-prefix).
38701         ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
38702         $(test-program-prefix).
38703         (tst-exec-ARGS): Replace $(host-built-program-cmd) with
38704         $(host-test-program-cmd).
38705         (tst-spawn-ARGS): Likewise.
38706         ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
38707         $(test-program-prefix).
38708         * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
38709         (test_via_rtld_prefix): This.
38710         (test_wrapper): Renamed to ...
38711         (test_program_prefix): This.
38712         (run_program_prefix): Replaced by test_program_prefix.
38713         * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
38714         (test_program_prefix): This.
38715         * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
38716         with $(host-test-program-cmd).
38717         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
38718         $(run-program-prefix) with $(test-program-prefix).
38719         ($(objpfx)tst-printf.out): Likewise.
38720         ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
38721         $(test-program-cmd).
38722         * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
38723         (test_program_prefix): This.
38724         * stdio-common/tst-unbputc.sh: Likewise.
38725         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
38726         $(run-program-prefix) with $(test-program-prefix).
38727         * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
38728         (test_program_prefix): This.
38729         * string/Makefile ($(objpfx)tst-svc.out):  Replace
38730         $(built-program-cmd) with $(test-program-cmd).
38732 2013-01-11  Andreas Jaeger  <aj@suse.de>
38734         [BZ #15003]
38735         * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
38736         value. Sync with Linux 3.7.
38738 2013-01-10  David S. Miller  <davem@davemloft.net>
38740         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
38741         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
38742         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
38744 2013-01-10  Roland McGrath  <roland@hack.frob.com>
38746         * configure.in (sysnames): Drop use of $m0sub and $msub, which are
38747         never set.
38748         * configure: Regenerated.
38750 2013-01-10  David S. Miller  <davem@davemloft.net>
38752         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
38753         sparc V9 rather than using V8 code.
38754         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
38755         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
38757 2013-01-10  Roland McGrath  <roland@hack.frob.com>
38759         * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
38760         (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
38761         (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
38762         (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
38763         (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
38764         (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
38765         (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
38766         (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
38767         (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
38768         (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
38769         (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
38770         (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
38771         (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
38772         (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
38773         (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
38774         (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
38775         (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
38776         (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
38777         (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
38778         (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
38779         (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
38780         (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
38781         (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
38782         (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
38783         (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
38784         (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
38785         (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
38787 2013-01-10  David S. Miller  <davem@davemloft.net>
38789         * sysdeps/sparc/fpu/libm-test-ulps: Update.
38791 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
38793         * posix/Makefile (tests-static): New variable.
38794         (tests): Add $(tests-static).
38795         (tst-exec-static-ARGS): New variable.
38796         (tst-spawn-static-ARGS): Likewise.
38797         * posix/tst-exec-static.c: New file.
38798         * posix/tst-spawn-static.c: Likewise.
38799         * posix/tst-exec.c: Support run directly.
38800         * posix/tst-spawn.c: Likewise.
38802 2013-01-10  Joseph Myers  <joseph@codesourcery.com>
38804         * elf/link.h (struct dl_phdr_info): Use __extension__ with long
38805         long.
38806         * math/bits/mathcalls.h (llrint): Likewise.
38807         (llround): Likewise.
38808         * stdlib/stdlib.h (struct drand48_data): Likewise.
38809         * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
38810         * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
38811         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
38812         Likewise.
38813         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
38814         Likewise.
38815         * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
38816         (elf_greg_t): Likewise.
38817         * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
38818         (__jmp_buf): Likewise.
38819         * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
38820         definitions.
38821         (llrint): Likewise, for all definitions.
38822         (llrintl): Likewise.
38824         * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
38825         Remove [__GNUC__] condition.
38826         * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
38827         condition to just [__USE_ISOC99].
38828         [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
38830 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
38832         [BZ #14200]
38833         * sysdeps/unix/sysv/linux/x86/bits/environments.h
38834         (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
38835         defined.
38836         (_POSIX_V6_ILP32_OFF32): Likewise.
38837         (_XBS5_ILP32_OFF32): Likewise.
38838         (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
38839         (__ILP32_OFFBIG_LDFLAGS): Likewise.
38841 2013-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
38843         * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
38845         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
38846         doubles __mpexp_twomm1.  Adjust usage.
38847         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
38848         Remove.
38850 2013-01-10  Andreas Schwab  <schwab@suse.de>
38852         [BZ #14964]
38853         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
38854         (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
38856 2013-01-09  David S. Miller  <davem@davemloft.net>
38858         [BZ #15003]
38859         * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS)
38860         (TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT)
38861         (TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS)
38862         (TCP_FASTOPEN): Define.
38863         (tcp_repair_opt): New structure.
38864         (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
38865         enum values.
38866         (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE)
38867         (TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN)
38868         (TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
38869         (tcp_cookie_transactions): New structure.
38871 2013-01-09  Anton Blanchard  <anton@samba.org>
38873         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
38874         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
38875         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
38876         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
38878 2013-01-09  Joseph Myers  <joseph@codesourcery.com>
38880         * include/features.h (__USE_ANSI): Remove.
38882 2013-01-09  Roland McGrath  <roland@hack.frob.com>
38884         * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
38886         * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
38888 2013-01-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
38890         * sysdeps/s390/fpu/libm-test-ulps: Update.
38892         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
38894         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
38895         (__acr): Likewise.
38896         (__cpy): Likewise.
38897         (norm): Likewise.
38898         (denorm): Likewise.
38899         (__mp_dbl): Likewise.
38900         (__dbl_mp): Likewise.
38901         (add_magnitudes): Likewise.
38902         (sub_magnitudes): Likewise.
38903         (__add): Likewise.
38904         (__sub): Likewise.
38905         (__mul): Likewise.
38906         (__inv): Likewise.
38907         (__dvd): Likewise.
38908         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
38909         (__acr): Likewise.
38910         (__cpy): Likewise.
38911         (norm): Likewise.
38912         (denorm): Likewise.
38913         (__mp_dbl): Likewise.
38914         (__dbl_mp): Likewise.
38915         (add_magnitudes): Likewise.
38916         (sub_magnitudes): Likewise.
38917         (__add): Likewise.
38918         (__sub): Likewise.
38919         (__mul): Likewise.
38920         (__inv): Likewise.
38921         (__dvd): Likewise.
38922         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
38923         (__acr): Likewise.
38924         (__cpy): Likewise.
38925         (norm): Likewise.
38926         (denorm): Likewise.
38927         (__mp_dbl): Likewise.
38928         (__dbl_mp): Likewise.
38929         (add_magnitudes): Likewise.
38930         (sub_magnitudes): Likewise.
38931         (__add): Likewise.
38932         (__sub): Likewise.
38933         (__mul): Likewise.
38934         (__inv): Likewise.
38935         (__dvd): Likewise.
38937 2013-01-08  Joseph Myers  <joseph@codesourcery.com>
38939         * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
38940         __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
38941         * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
38942         2 && __USE_EXTERN_INLINES]: Likewise.
38944 2013-01-08  Andreas Jaeger  <aj@suse.de>
38946         [BZ# 14985]
38947         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
38948         Remove.
38949         * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
38950         * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
38952 2013-01-07  Anton Blanchard  <anton@samba.org>
38954         * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
38955         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
38956         * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
38957         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
38958         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
38959         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
38960         * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
38961         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
38962         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
38963         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
38964         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
38965         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
38966         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
38967         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
38968         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
38969         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
38970         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
38971         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
38972         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
38973         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
38974         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
38975         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
38976         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
38977         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
38978         * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
38979         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
38980         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
38981         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
38982         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
38983         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
38984         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
38985         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
38986         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
38987         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
38988         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
38989         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
38990         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
38991         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
38992         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
38993         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
38994         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
38995         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
38996         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
38998 2013-01-07  Joseph Myers  <joseph@codesourcery.com>
39000         * malloc/malloc.h (__MALLOC_P): Remove all definitions.
39001         (__MALLOC_PMT): Likewise.
39002         [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
39003         [__GNUC__], only on [_LIBC].
39004         [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
39005         [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
39006         [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
39007         * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
39008         forward declaration.
39009         (realloc_hook_ini): Likewise.
39010         (memalign_hook_ini): Likewise.
39011         (__libc_memalign): Do not use __MALLOC_PMT in variable
39012         declaration.
39013         (__libc_valloc): Likewise.
39014         (__libc_pvalloc): Likewise.
39015         (__libc_calloc): Likewise.
39016         (__posix_memalign): Likewise.
39018         [BZ #14996]
39019         * math/s_casinh.c: Include <float.h>.
39020         (__casinh): Do not do computation with squaring and square root
39021         for large arguments.
39022         * math/s_casinhf.c: Include <float.h>.
39023         (__casinhf): Do not do computation with squaring and square root
39024         for large arguments.
39025         * math/s_casinhl.c: Include <float.h>.
39026         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
39027         (__casinhl): Do not do computation with squaring and square root
39028         for large arguments.
39029         * math/libm-test.inc (casin_test): Add more tests.
39030         (casinh_test): Likewise.
39031         * sysdeps/i386/fpu/libm-test-ulps: Update.
39032         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39034 2013-01-04  H.J. Lu  <hongjiu.lu@intel.com>
39036         * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
39037         (__x86_64_raw_data_cache_size): Likewise.
39038         (__x86_64_data_cache_size_half): Likewise.
39039         (__x86_64_raw_data_cache_size_half): Likewise.
39040         (__x86_64_shared_cache_size): Likewise.
39041         (__x86_64_raw_shared_cache_size): Likewise.
39042         (__x86_64_shared_cache_size_half): Likewise.
39043         (__x86_64_raw_shared_cache_size_half): Likewise.
39044         * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
39045         to ...
39046         (__x86_data_cache_size): This.
39047         (__x86_64_raw_data_cache_size): Renamed to ...
39048         (__x86_raw_data_cache_size): This.
39049         (__x86_64_data_cache_size_half): Renamed to ...
39050         (__x86_data_cache_size_half): This.
39051         (__x86_64_raw_data_cache_size_half): Renamed to ...
39052         (__x86_raw_data_cache_size_half): This.
39053         (__x86_64_shared_cache_size): Renamed to ...
39054         (__x86_shared_cache_size): This.
39055         (__x86_64_raw_shared_cache_size): Renamed to ...
39056         (__x86_raw_shared_cache_size): This.
39057         (__x86_64_shared_cache_size_half): Renamed to ...
39058         (__x86_shared_cache_size_half): This.
39059         (__x86_64_raw_shared_cache_size_half): Renamed to ...
39060         (__x86_raw_shared_cache_size_half): This.
39061         * sysdeps/x86_64/memcpy.S: Updated.
39062         * sysdeps/x86_64/memset.S: Likewise.
39063         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
39064         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
39065         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
39067 2013-01-04  David S. Miller  <davem@davemloft.net>
39069         * sysdeps/sparc/fpu/libm-test-ulps: Update.
39071 2013-01-04  Andreas Schwab  <schwab@linux-m68k.org>
39073         * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
39074         1 to avoid redefinition warning.
39075         (__USE_GNU): Don't define.
39076         (init_signaling_nan): Protoize.
39078         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
39080 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
39082         * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
39083         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
39084         (__cpymn): Likewise.
39085         (norm): Remove commented code.
39086         (denorm): Likewise.
39087         (__mp_dbl): Likewise.
39088         (__inv): Likewise.
39089         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
39090         (__cpymn): Likewise.
39091         (norm): Remove commented code.
39092         (denorm): Likewise.
39093         (__mp_dbl): Likewise.
39094         (__inv): Likewise.
39096         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
39097         mp_no value for 1.0 and 2.0.
39098         (norm): Use RADIXI instead of radixi.d.
39099         (denorm): Likewise.
39100         (__mul): Use 0.0 instead of zero.d.
39101         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
39102         mp_no value for 1.0 and 2.0.
39103         (norm): Use RADIXI instead of radixi.d.
39104         (denorm): Likewise.
39105         (__mul): Use 0.0 instead of zero.d.
39107 2013-01-04  Joseph Myers  <joseph@codesourcery.com>
39109         [BZ #14994]
39110         * math/s_casinh.c (__casinh): Reduce finite argument to first
39111         quadrant then set signs of results at the end.
39112         * math/s_casinhf.c (__casinhf): Likewise.
39113         * math/s_casinhl.c (__casinhl): Likewise.
39114         * math/libm-test.inc (casin_test): Add more tests.
39115         (casinh_test): Likewise.
39116         * sysdeps/i386/fpu/libm-test-ulps: Update.
39117         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39119 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
39121         * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
39123         * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
39125         * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
39126         declarations.
39127         (denorm): Likewise.
39128         (__mp_dbl): Likewise.
39129         (__inv): Likewise.
39131         * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
39132         and adjust the header comment.
39134         * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
39135         variable name from declaration.
39137 2013-01-03  H.J. Lu  <hongjiu.lu@intel.com>
39139         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
39140         Initialize COMMON_CPUID_INDEX_7 element.
39141         * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
39142         (CPUID_RTM): Likewise.
39143         (HAS_RTM): Likewise.
39144         (COMMON_CPUID_INDEX_7): New enum.
39146 2013-01-03  Andreas Schwab  <schwab@linux-m68k.org>
39148         [BZ #14981]
39149         * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
39150         size is zero, record memory as freed.
39152 2013-01-03  Andreas Jaeger  <aj@suse.de>
39154         * po/ia.po: Add new Interlingua translation.
39156 2012-01-03  Allan McRae  <allan@archlinux.org>
39158         * locale/programs/localedef.c: Fix description of '--posix' flag.
39160 2013-01-02  Joseph Myers  <joseph@codesourcery.com>
39162         * NEWS: Update dates in second copyright notice.
39163         * README: Update copyright dates in example.
39164         * manual/libc.texinfo: Update copyright dates.
39165         * scripts/test-installation.pl: Update copyright date in --version
39166         output.
39168         * hurd/ctty-input.c: Fix copyright notice formatting.
39169         * hurd/ctty-output.c: Likewise.
39170         * hurd/dtable.c: Likewise.
39171         * hurd/hurd-raise.c: Likewise.
39172         * hurd/hurdprio.c: Likewise.
39173         * hurd/msgportdemux.c: Likewise.
39174         * misc/sys/file.h: Likewise.
39175         * misc/sys/ioctl.h: Likewise.
39176         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
39177         * sysdeps/mach/hurd/chdir.c: Likewise.
39178         * sysdeps/mach/hurd/fchdir.c: Likewise.
39179         * sysdeps/mach/hurd/rename.c: Likewise.
39180         * sysdeps/mach/hurd/rmdir.c: Likewise.
39181         * sysdeps/mach/hurd/seekdir.c: Likewise.
39182         * sysdeps/mach/hurd/setsid.c: Likewise.
39183         * sysdeps/posix/wait3.c: Likewise.
39185         * All files with FSF copyright notices: Update copyright dates
39186         using scripts/update-copyrights.
39187         * intl/plural.c: Regenerated.
39188         * locale/programs/charmap-kw.h: Likewise.
39189         * locale/programs/locfile-kw.h: Likewise.
39191 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
39193         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
39194         four values.
39196         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
39197         calculation loop and add branch prediction.
39199         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
39200         check access beyond bounds of m1np.
39202         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
39203         MPTWO.
39204         (__inv): Remove local variable MPTWO to use the global
39205         constant.
39206         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
39207         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
39208         variable MPTWO.
39209         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
39210         MP3HALFS static const.
39212 2013-01-01  David S. Miller  <davem@davemloft.net>
39214         * po/ca.po: Update from translation team.
39216 2013-01-01  Joseph Myers  <joseph@codesourcery.com>
39218         * scripts/update-copyrights: New file.
39219         * Makeconfig: Reformat copyright notice.
39220         * ctype/ctype.h: Likewise.
39221         * debug/swprintf_chk.c: Likewise.
39222         * elf/dl-cache.c: Likewise.
39223         * elf/dl-debug.c: Likewise.
39224         * elf/dl-object.c: Likewise.
39225         * grp/initgroups.c: Likewise.
39226         * hurd/Makefile: Likewise.
39227         * hurd/hurd/signal.h: Likewise.
39228         * hurd/hurdfault.c: Likewise.
39229         * hurd/hurdioctl.c: Likewise.
39230         * hurd/hurdlookup.c: Likewise.
39231         * hurd/intr-msg.c: Likewise.
39232         * iconv/gconv_open.c: Likewise.
39233         * libio/swprintf.c: Likewise.
39234         * locale/lc-ctype.c: Likewise.
39235         * locale/nl_langinfo.c: Likewise.
39236         * mach/Machrules: Likewise.
39237         * mach/Makefile: Likewise.
39238         * malloc/obstack.h: Likewise.
39239         * manual/Makefile: Likewise.
39240         * manual/tsort.awk: Likewise.
39241         * misc/bits/stab.def: Likewise.
39242         * nis/nis_print_group_entry.c: Likewise.
39243         * nis/nis_table.c: Likewise.
39244         * nis/nss_compat/compat-pwd.c: Likewise.
39245         * nis/nss_compat/compat-spwd.c: Likewise.
39246         * po/Makefile: Likewise.
39247         * posix/fnmatch.c: Likewise.
39248         * posix/regex.h: Likewise.
39249         * resolv/Makefile: Likewise.
39250         * resolv/nss_dns/dns-network.c: Likewise.
39251         * resolv/res_hconf.c: Likewise.
39252         * scripts/gen-sorted.awk: Likewise.
39253         * soft-fp/soft-fp.h: Likewise.
39254         * stdio-common/printf.h: Likewise.
39255         * stdlib/monetary.h: Likewise.
39256         * stdlib/random.c: Likewise.
39257         * stdlib/random_r.c: Likewise.
39258         * sysdeps/generic/Makefile: Likewise.
39259         * sysdeps/gnu/Makefile: Likewise.
39260         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
39261         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
39262         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
39263         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
39264         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
39265         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
39266         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
39267         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
39268         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
39269         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
39270         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
39271         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
39272         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
39273         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
39274         * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
39275         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
39276         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
39277         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
39278         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
39279         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
39280         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
39281         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
39282         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
39283         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
39284         * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
39285         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
39286         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
39287         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
39288         * sysdeps/mach/hurd/errnos.awk: Likewise.
39289         * sysdeps/mach/hurd/fork.c: Likewise.
39290         * sysdeps/mach/hurd/getcwd.c: Likewise.
39291         * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
39292         * sysdeps/mach/hurd/mmap.c: Likewise.
39293         * sysdeps/mach/hurd/utimes.c: Likewise.
39294         * sysdeps/mach/hurd/xmknod.c: Likewise.
39295         * sysdeps/posix/profil.c: Likewise.
39296         * sysdeps/posix/readdir_r.c: Likewise.
39297         * sysdeps/powerpc/bits/mathdef.h: Likewise.
39298         * sysdeps/powerpc/bits/setjmp.h: Likewise.
39299         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
39300         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
39301         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
39302         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
39303         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
39304         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
39305         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
39306         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
39307         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
39308         * sysdeps/pthread/lio_listio.c: Likewise.
39309         * sysdeps/sparc/dl-procinfo.h: Likewise.
39310         * sysdeps/unix/i386/sysdep.S: Likewise.
39311         * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
39312         * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
39313         * sysdeps/unix/sysv/linux/getdents.c: Likewise.
39314         * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
39315         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
39316         * sysdeps/unix/sysv/linux/semctl.c: Likewise.
39317         * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
39318         * sysdeps/unix/sysv/linux/speed.c: Likewise.
39319         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
39320         * sysdeps/wordsize-32/divdi3.c: Likewise.
39321         * time/sys/time.h: Likewise.
39322         * wcsmbs/Makefile: Likewise.
39324 2013-01-01  David S. Miller  <davem@davemloft.net>
39326         * po/fr.po: Update from translation team.
39328         * catgets/gencat.c: Update copyright year.
39329         * csu/version.c: Likewise.
39330         * debug/catchsegv.sh: Likewise.
39331         * debug/pcprofiledump.c: Likewise.
39332         * debug/xtrace.sh: Likewise.
39333         * elf/ldconfig.c: Likewise.
39334         * elf/ldd.bash.in: Likewise.
39335         * elf/pldd.c: Likewise.
39336         * elf/sotruss.ksh: Likewise.
39337         * elf/sprof.c: Likewise.
39338         * iconv/iconv_prog.c: Likewise.
39339         * iconv/iconvconfig.c: Likewise.
39340         * locale/programs/locale.c: Likewise.
39341         * locale/programs/localedef.c: Likewise.
39342         * login/programs/pt_chown.c: Likewise.
39343         * malloc/memusage.sh: Likewise.
39344         * malloc/memusagestat.c: Likewise.
39345         * malloc/mtrace.pl: Likewise.
39346         * nscd/nscd.c: Likewise.
39347         * nss/getent.c: Likewise.
39348         * nss/makedb.c: Likewise.
39349         * posix/getconf.c: Likewise.
39351 2012-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
39353         * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
39354         numbers.
39356 2012-12-30  Mike Frysinger  <vapier@gentoo.org>
39358         * math/bits/mathcalls.h (modf): Use __nonnull.
39360 2012-12-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
39362         * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
39363         (split): Use macro CN instead of the bare value.
39364         * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
39365         could be used.
39366         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
39367         instead of the bare value.
39368         (power1): Likewise.
39370 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
39372         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
39373         __ATAN_TWOM.
39374         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
39376         * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
39377         their values.
39378         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
39379         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
39380         * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
39381         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
39383 2012-12-28  Andreas Jaeger  <aj@suse.de>
39385         * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define.  New
39386         values are from Linux 3.7.
39388         * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
39389         (TCPI_OPT_ECN_SEEN): Define.  Sync with Linux 3.7.
39391 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
39393         * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
39394         TRUE case.
39396         * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
39397         (norm): Likewise.
39398         * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
39399         variables with preprocessor constants.
39400         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
39401         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
39402         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
39404 2012-12-27  Bruno Haible  <bruno@clisp.org>
39406         [BZ #14317]
39407         * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
39408         only if needed.
39410 2012-12-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
39412         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
39413         and use variable directly.
39414         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
39416         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
39417         MPONE.
39418         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
39419         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
39420         variable MPONE.
39421         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
39422         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
39423         * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
39424         include directive.  Remove local variable MPONE.
39425         * sysdeps/ieee754/dbl-64/mplog.h: Remove.
39426         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
39427         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
39429 2012-12-25  David S. Miller  <davem@davemloft.net>
39431         * version.h (RELEASE): Set to "development".
39432         (VERSION): Set to "2.17.90".
39433         * NEWS: Add 2.18 section.
39435 2012-12-21  David S. Miller  <davem@davemloft.net>
39437         * po/hr.po: Update from translation team.
39439 2012-12-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
39441         * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
39443 2012-12-19  Steve Ellcey  <sellcey@mips.com>
39445         * NEWS:  Mention new memcpy for MIPS.
39447 2012-12-18  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
39449         * manual/contrib.texi (Contributors): Spelling correction.
39451 2012-12-15  David S. Miller  <davem@davemloft.net>
39453         * po/ru.po: Update from translation team.
39455 2012-12-13  David S. Miller  <davem@davemloft.net>
39457         * NEWS: Mention IFUNC testsuite enhancements.
39459         * po/pl.po: Update from translation team.
39460         * po/bg.po: Likewise.
39462         * manual/contrib.texi (Contributors): Update entries for Hongjiu
39463         Lu and Joseph S. Myers.  Add entry for Marcus Shawcroft.
39465 2012-12-11  David S. Miller  <davem@davemloft.net>
39467         * po/sv.po: Update from translation team.
39469         * po/vi.po: Update from translation team.
39471         * po/cs.po: Update from translation team.
39473         * po/de.po: Update from translation team.
39474         * po/eo.po: Likewise.
39475         * po/nl.po: Likewise.
39477 2012-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
39479         [BZ #14246]
39480         * manual/argp.texi (Argp Helper Functions): Move node to follow
39481         Argp Parsing State.
39483         [BZ #14872]
39484         * manual/conf.texi (Limits on File System Capacity): Mention if
39485         terminating null is included in the max size.
39487 2012-12-10  Andreas Jaeger  <aj@suse.de>
39489         * po/cs.po: Update from translation team.
39491 2012-12-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
39493         * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
39494         void pointer and cast to uintptr_t.
39495         * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
39496         path.
39497         * sysdeps/s390/s390-64/memcpy.S: Likewise.
39498         * sysdeps/s390/s390-64/memset.S: Likewise.
39500 2012-12-08  Benno Schulenberg  <bensberg@justemail.net>
39502         [BZ #14833]
39503         * menual/message.texi (Message Translation): Fix typos.
39504         (Helper programs for gettext): Likewise.
39506 2012-12-07  Andreas Schwab  <schwab@linux-m68k.org>
39508         [BZ #14898]
39509         * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
39510         Change to -1.
39512 2012-12-07  David S. Miller  <davem@davemloft.net>
39514         * po/libc.pot: Update.
39516 2012-12-07  Richard Henderson  <rth@redhat.com>
39518         [BZ #10114]
39519         * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
39520         normal/normal case to before the switch.
39521         (_FP_DIV): Likewise.
39523 2012-12-06  Carlos O'Donell  <carlos@systemhalted.org>
39524             Mike Frysinger  <vapier@gentoo.org>
39526         * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
39527         check for __NR_fadvise64_64.
39529 2012-12-06  Chris Metcalf  <cmetcalf@tilera.com>
39531         * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
39532         0, not just to plain "0" as a statement.
39533         (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
39534         with cw.
39536 2012-12-06  Joseph Myers  <joseph@codesourcery.com>
39538         * NEWS: Use sourceware.org in Bugzilla URL.
39540 2012-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
39542         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
39543         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
39545         * stdio-common/tst-put-error.c (do_test): Add newline to the
39546         padded test to ensure flush.
39548 2012-12-05  Jeff Law  <law@redhat.com>
39550         * sunrpc/etc.rpc (fedfs_admin): Add entry.
39552 2012-12-05  Joseph Myers  <joseph@codesourcery.com>
39554         * README: Don't refer to ports add-on as distributed separately.
39555         Mention AArch64 in list of systems supported in the ports add-on.
39557         * LICENSES: Add more non-FSF copyright and license notices.
39559         * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
39560         ((unused)).
39562         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
39564         * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
39565         10000 as width of padded output.
39567 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
39569         * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
39571         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
39572         variable LX with __attribute__ ((unused)).
39573         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
39574         Likewise.
39575         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
39576         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
39577         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
39578         with __attribute__ ((unused)).
39580 2012-12-04  David S. Miller  <davem@abraco.davemloft.net>
39582         * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
39584 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
39586         * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
39587         (CFLAGS-nldbl-acos.c): New variable.
39588         [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
39589         [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
39590         [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
39591         [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
39592         [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
39593         [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
39594         [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
39595         [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
39596         [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
39597         [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
39598         [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
39599         [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
39600         [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
39601         [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
39602         [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
39603         [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
39604         [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
39605         [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
39606         [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
39607         [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
39608         [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
39609         [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
39610         [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
39611         [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
39612         [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
39613         [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
39614         [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
39615         [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
39616         [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
39617         [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
39618         [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
39619         [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
39620         [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
39621         [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
39622         [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
39623         [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
39624         [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
39625         [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
39626         [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
39627         [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
39628         [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
39629         [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
39630         [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
39631         [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
39632         [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
39633         [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
39634         [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
39635         [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
39636         [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
39637         [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
39638         [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
39639         [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
39640         [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
39641         [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
39642         [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
39643         [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
39644         [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
39645         [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
39646         [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
39647         [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
39648         [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
39649         [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
39650         [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
39651         [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
39652         [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
39653         [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
39654         [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
39655         [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
39656         [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
39657         [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
39658         [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
39659         [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
39660         [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
39661         [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
39662         [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
39663         [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
39664         [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
39665         [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
39666         [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
39667         [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
39668         [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
39669         [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
39670         [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
39671         [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
39672         [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
39673         [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
39674         [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
39675         [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
39676         [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
39677         [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
39678         [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
39679         [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
39680         [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
39681         [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
39682         [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
39683         [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
39684         [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
39686         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
39687         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
39689         [BZ #14914]
39690         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
39691         whole low double instead of just low 47 bits when splitting values
39692         into two parts.
39694 2012-12-03  Allan McRae  <allan@archlinux.org>
39696         * manual/stdio.texi (Predefined Printf Handlers): Remove
39697         @hsep and @vsep usage.
39699 2012-12-03  Mike Frysinger  <vapier@gentoo.org>
39701         * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
39702         * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
39704 2012-12-03  Jeff Law  <law@redhat.com>
39706         * time/sys/time.h (settimeofday): Do not mark TV argument
39707         as __nonnull.
39709 2012-12-01  Mike Frysinger  <vapier@gentoo.org>
39711         * libio/fileops.c (_IO_new_file_close_it): Do not always flush
39712         when currently writing and seek to current position when not.
39713         * libio/Makefile (tests): Remove bug-fclose1.
39714         * libio/bug-fclose1.c: Delete.
39716 2012-12-01  Joseph Myers  <joseph@codesourcery.com>
39718         * manual/arith.texi (feenableexcept): Fix typo.
39719         (fedisableexcept): Likewise.
39721 2012-11-30  Roland McGrath  <roland@hack.frob.com>
39723         * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
39724         second, differently-typed declaration, rather than a cast.
39726 2012-11-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
39728         * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
39729         * include/rpc/svc.h: ... here.
39731 2012-11-30  Aurelien Jarno  <aurel32@debian.org>
39733         [BZ #13013]
39734         * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
39735         depending n and resplen2 to catch cases where answer
39736         equals answerp2.
39738 2012-11-29  Carlos O'Donell  <carlos@systemhalted.org>
39740         * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
39741         for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
39743 2012-11-29  Mike Frysinger  <vapier@gentoo.org>
39745         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
39747 2012-11-29  Roland McGrath  <roland@hack.frob.com>
39749         * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
39751 2012-11-28  Jeff Law  <law@redhat.com>
39753         [BZ #13761]
39754         * nscd/grpcache.c (cache_addgr): Rename alloca_used to
39755         dataset_temporary.  Track alloca usage into alloca_used.
39756         If dataset is large allocate and release it via malloc/free.
39758 2012-06-04  Florian Weimer  <fweimer@redhat.com>
39760         [BZ #14197]
39761         * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
39763 2012-11-28  David S. Miller  <davem@davemloft.net>
39765         * sysdeps/sparc/fpu/libm-test-ulps: Update.
39767 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
39769         [BZ #14803]
39770         * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
39771         of pi/2 rounded to nearest to 64 bits.
39772         (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
39773         nearest to 64 bits.
39774         (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
39775         bits.
39777 2012-11-28  Jeff Law <law@redhat.com>
39778             Martin Osvald <mosvald@redhat.com>
39780         [BZ #14889]
39781         * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
39782         * sunrpc/svc.c: Include time.h.
39783         (__svc_accept_failed): New function.
39784         * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
39785         any reason other than EINTR, call __svc_accept_failed.
39786         * sunrpc/svc_udp.c (svcudp_recv): Similarly.
39787         * sunrpc/svc_unix.c (rendezvous_request): Similarly.
39789 2012-11-28  Andreas Schwab  <schwab@suse.de>
39791         * scripts/abilist.awk: Also handle indirect functions in .opd
39792         section.
39794 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
39796         [BZ #13881]
39797         * sysdeps/x86/fpu/powl_helper.c: New file.
39798         * sysdeps/x86/fpu/Makefile: Likewise.
39799         * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
39800         (p3): New object.
39801         (__ieee754_powl): Use __powl_helper for finite arguments except
39802         integer exponents below 8.
39803         * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
39804         (p3): New object.
39805         (__ieee754_powl): Use __powl_helper for finite arguments except
39806         integer exponents below 8.
39807         * math/libm-test.inc (pow_test): Add more tests and enable some
39808         previously disabled tests.
39809         * sysdeps/i386/fpu/libm-test-ulps: Update.
39810         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39812 2012-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
39813             Carlos O'Donell  <carlos_odonell@mentor.com>
39815         * nss/makedb.c (is_prime): Assert that input is odd and greater
39816         than 4.  Note that fact in a comment too.
39817         (next_prime): Add 4 to input.
39819 2012-11-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
39821         [BZ #11741]
39822         * libio/Makefile (tests): Add test case tst-fwrite-error.
39823         * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
39824         * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
39825         * libio/tst-fwrite-error.c: New test case.
39827 2012-11-26  H.J. Lu  <hongjiu.lu@intel.com>
39829         * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
39830         before casting to void *.
39831         * include/libc-internal.h (__pointer_type): New macro.
39832         (__integer_if_pointer_type_sub): Likewise.
39833         (__integer_if_pointer_type): Likewise.
39834         (cast_to_integer): Likewise.
39835         * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
39836         (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
39837         before casting to atomic64_t.
39838         (atomic_exchange_acq): Likewise.
39839         (__arch_exchange_and_add_body): Likewise.
39840         (__arch_add_body): Likewise.
39841         (atomic_add_negative): Likewise.
39842         (atomic_add_zero): Likewise.
39844 2012-11-26  Joseph Myers  <joseph@codesourcery.com>
39846         * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
39847         (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
39848         (add_fdes): Likewise.
39849         (linear_search_fdes): Likewise.
39850         (binary_search_unencoded_fdes): Likewise.
39852 2012-11-26  Andreas Schwab  <schwab@linux-m68k.org>
39854         * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
39856 2012-11-24  Adam Conrad  <adconrad@0c3.net>
39858         * configure.in: Autodetect C++ header directories.
39859         * configure: Regenerated.
39861 2012-11-23  Mike Frysinger  <vapier@gentoo.org>
39863         * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
39865 2012-11-23  Andreas Schwab  <schwab@linux-m68k.org>
39867         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
39869 2012-11-22  Joseph Myers  <joseph@codesourcery.com>
39871         * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
39872         LDBL_MANT_DIG == 106]: Disable some tests.
39873         (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
39874         Likewise.
39875         (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
39876         Likewise.
39878         [BZ #14871]
39879         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
39880         input for small inputs.  Return +/- pi/2 for large inputs.
39881         * math/libm-test.inc (atan_test): Add more tests.
39883         * sysdeps/generic/unwind-dw2-fde-glibc.c
39884         (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
39885         __attribute__ ((unused)).
39887         [BZ #14645]
39888         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
39889         x * y if x and y are nonzero and z is zero.
39891         [BZ #14811]
39892         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
39893         nonzero exponents with absolute value below 0x1p-117 to +/-
39894         0x1p-117.
39896         [BZ #14869]
39897         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
39898         up arguments below 2**-450, not just those below 2**-500.
39899         * math/libm-test.inc (hypot_test): Add another test.
39901         [BZ #14868]
39902         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
39903         Return a+b for ratio over 2**120, not 2**60.
39904         * math/libm-test.inc (hypot_test): Add another test.
39906         * math/libm-test.inc (clog_test): Use
39907         UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
39908         (clog10_test): Likewise.
39910         [BZ #6778]
39911         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
39913 2012-11-22  Andreas Schwab  <schwab@suse.de>
39915         * sysdeps/i386/fpu/libm-test-ulps: Update.
39917 2012-11-22  Pino Toscano  <toscano.pino@tiscali.it>
39919         * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
39920         printf output with newline.
39922 2012-11-21  H.J. Lu  <hongjiu.lu@intel.com>
39924         [BZ #14865]
39925         * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
39926         * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
39927         -z nodlopen, -z initfirst and -z execstack support.
39928         * configure: Regenerated.
39930         * elf/elf.h (DF_1_NODIRECT): New macro.
39931         (DF_1_IGNMULDEF): Likewise.
39932         (DF_1_NOKSYMS): Likewise.
39933         (DF_1_NOHDR): Likewise.
39934         (DF_1_EDITED): Likewise.
39935         (DF_1_NORELOC): Likewise.
39936         (DF_1_SYMINTPOSE): Likewise.
39937         (DF_1_GLOBAUDIT): Likewise.
39938         (DF_1_SINGLETON): Likewise.
39939         * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
39940         DT_1_SUPPORTED_MASK bits.
39941         * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
39943 2012-11-20  Carlos O'Donell  <carlos_odonell@mentor.com>
39945         * sysdeps/unix/make-syscalls.sh: Document prefixes.
39947 2012-11-20  Thomas Schwinge  <thomas@codesourcery.com>
39949         * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
39950         macro.
39952         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
39953         (sendmmsg): Move declarations...
39954         * socket/sys/socket.h: ... here.
39955         * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
39956         !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
39957         include it from...
39958         * socket/recvmmsg.c: ... this new file.
39959         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
39960         (sendmmsg): Rename to __sendmmsg, create weak alias and make
39961         definition of __sendmmsg hidden.
39962         * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
39963         [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
39964         Move ENOSYS stub into and include it from...
39965         * socket/sendmmsg.c: ... this new file.
39966         * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
39967         (sysdep_routines): Move recvmmsg and sendmmsg...
39968         * socket/Makefile (routines): ... here.
39969         * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
39970         (GLIBC_PRIVATE): Add __sendmmsg.
39971         * include/sys/socket.h (__sendmmsg): Add declarations.
39972         * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
39973         sendmmsg.
39975 2012-11-20  Joseph Myers  <joseph@codesourcery.com>
39977         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
39978         variable I1 with __attribute__ ((unused)).
39979         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
39981 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
39983         * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
39984         DUMMY variables with __attribute__ ((unused)).
39986         * bits/byteswap.h: Include <bits/types.h>.
39987         (__bswap_64): Use __uint64_t instead of unsigned long long int.
39989 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
39991         * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
39992         string_t.  Do not manually set errno.
39993         (__ptsname_r): Change the type of PEERNAME to string_t, and check its
39994         length with __strnlen.  Make sure to both set errno and return it on
39995         failure.
39997 2012-11-19  David S. Miller  <davem@davemloft.net>
39999         With help from Joseph Myers.
40000         * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
40001         very large arguments properly.
40002         * math/libm-test.inc (atan_test): New tests.
40003         (atan2_test): New tests.
40004         * sysdeps/sparc/fpu/libm-test-ulps: Update.
40005         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
40007 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
40009         [BZ #14856]
40010         * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
40011         Define to 3.
40013         * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
40014         [POSIX] (EADDRNOTAVAIL): Likewise.
40015         [POSIX] (EAFNOSUPPORT): Likewise.
40016         [POSIX] (EALREADY): Likewise.
40017         [POSIX] (ECONNABORTED): Likewise.
40018         [POSIX] (ECONNREFUSED): Likewise.
40019         [POSIX] (ECONNRESET): Likewise.
40020         [POSIX] (EDESTADDRREQ): Likewise.
40021         [POSIX] (EDQUOT): Likewise.
40022         [POSIX] (EHOSTUNREACH): Likewise.
40023         [POSIX] (EIDRM): Likewise.
40024         [POSIX] (EISCONN): Likewise.
40025         [POSIX] (ELOOP): Likewise.
40026         [POSIX] (EMULTIHOP): Likewise.
40027         [POSIX] (ENETDOWN): Likewise.
40028         [POSIX] (ENETUNREACH): Likewise.
40029         [POSIX] (ENOBUFS): Likewise.
40030         [POSIX] (ENODATA): Likewise.
40031         [POSIX] (ENOLINK): Likewise.
40032         [POSIX] (ENOMSG): Likewise.
40033         [POSIX] (ENOPROTOOPT): Likewise.
40034         [POSIX] (ENOSR): Likewise.
40035         [POSIX] (ENOSTR): Likewise.
40036         [POSIX] (ENOTCONN): Likewise.
40037         [POSIX] (ENOTSOCK): Likewise.
40038         [POSIX] (EOPNOTSUPP): Likewise.
40039         [POSIX] (EOVERFLOW): Likewise.
40040         [POSIX] (EPROTO): Likewise.
40041         [POSIX] (EPROTONOSUPPORT): Likewise.
40042         [POSIX] (EPROTOTYPE): Likewise.
40043         [POSIX] (ESTALE): Likewise.
40044         [POSIX] (ETIME): Likewise.
40045         [POSIX] (ETXTBSY): Likewise.
40046         [POSIX] (EWOULDBLOCK): Likewise.
40047         [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
40048         * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
40049         [POSIX] (SEEK_CUR): Likewise.
40050         [POSIX] (SEEK_END): Likewise.
40051         [POSIX || UNIX98] (mode_t): Do not require.
40052         [POSIX] (off_t): Likewise.
40053         [POSIX] (pid_t): Likewise.
40054         [POSIX] (sys/stat.h): Do not allow header.
40055         [POSIX] (unistd.h): Likewise.
40056         [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
40057         [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
40058         [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
40059         * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
40060         require.
40061         * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
40062         sigevent): Specify elements.
40063         [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
40064         entry.
40065         [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
40066         [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
40068         * conform/data/cpio.h-data [POSIX]: Disable whole file.
40069         * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
40070         * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
40071         (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
40072         [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
40073         [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
40074         [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
40075         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
40076         [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
40077         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
40078         [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
40079         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
40080         [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
40081         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
40082         Likewise.
40083         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
40084         Likewise.
40085         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
40086         Likewise.
40087         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
40088         Likewise.
40089         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
40090         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
40091         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
40092         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
40093         [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
40094         Specify lower bound on value.
40095         [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
40096         [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
40097         [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
40098         [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
40099         [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
40100         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
40101         [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
40102         [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
40103         value.
40104         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
40105         as optional.
40106         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
40107         [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
40108         [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
40109         [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
40110         [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
40111         [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
40112         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
40113         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
40114         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
40115         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
40116         [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
40117         [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
40118         [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
40119         [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
40120         [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
40121         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
40122         entry.
40123         [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
40124         optional.
40125         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
40126         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
40127         [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
40128         [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
40129         [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
40130         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
40131         Likewise.
40132         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
40133         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
40134         [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
40135         [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
40136         [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise.  Give
40137         value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
40138         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
40139         as optional.
40140         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
40141         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
40142         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
40143         [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
40144         Likewise.  Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
40145         [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
40146         specify as optional.
40147         [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
40148         [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
40149         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
40150         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
40151         [POSIX || XPG3] (NL_ARGMAX): Do not allow.
40152         [XPG3] (NL_LANGMAX): Likewise.
40153         [POSIX || XPG3] (NL_MSGMAX): Likewise.
40154         [POSIX || XPG3] (NL_NMAX): Likewise.
40155         [POSIX || XPG3] (NL_SETMAX): Likewise.
40156         [POSIX || XPG3] (NL_TEXTMAX): Likewise.
40157         [XPG3] (NZERO): Likewise.
40158         [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
40159         [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
40160         [!ISO && !ISO99 && !ISO11] (*_t): Allow.
40161         * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
40162         (REG_ERANGE): Expect.
40163         * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
40164         optional-constant.
40165         [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
40166         Use (void) in prototype.
40167         [POSIX] (*_t): Allow.
40168         * conform/data/sys/times.h-data [POSIX]: Enable whole file.
40169         * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
40170         (WRDE_BADVAL): Expect.
40172         * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
40173         expect.
40174         [XPG3 || XPG4] (O_RSYNC): Likewise.
40175         * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
40176         Likewise.
40177         [XPG3 || XPG4] (pthread_sigmask): Likewise.
40178         [XPG3 || XPG4] (sigqueue): Likewise.
40179         [XPG3 || XPG4] (sigtimedwait): Likewise.
40180         [XPG3 || XPG4] (sigwaitinfo): Likewise.
40181         * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
40182         [XPG3 || XPG4] (vsnprintf): Likewise.
40183         * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
40184         Likewise.
40185         [XPG3 || XPG4] (blksize_t): Likewise.
40186         * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
40187         Likewise.
40188         [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
40189         [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
40190         [XPG3 || XPG4] (struct itimerspec): Likewise.
40191         [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
40192         [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
40193         [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
40194         [XPG3 || XPG4] (clockid_t): Likewise.
40195         [XPG3 || XPG4] (timer_t): Likewise.
40196         [XPG3 || XPG4] (clock_getres): Likewise.
40197         [XPG3 || XPG4] (clock_gettime): Likewise.
40198         [XPG3 || XPG4] (clock_settime): Likewise.
40199         [XPG3 || XPG4] (nanosleep): Likewise.
40200         [XPG3 || XPG4] (timer_create): Likewise.
40201         [XPG3 || XPG4] (timer_delete): Likewise.
40202         [XPG3 || XPG4] (timer_gettime): Likewise.
40203         [XPG3 || XPG4] (timer_getoverrun): Likewise.
40204         [XPG3 || XPG4] (timer_settime): Likewise.
40205         * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
40206         [XPG3 || XPG4] (getlogin_r): Likewise.
40207         [XPG3 || XPG4] (pread): Likewise.
40208         [XPG3 || XPG4] (pthread_atfork): Likewise.
40209         [XPG3 || XPG4] (pwrite): Likewise.
40211         [BZ #14835]
40212         * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
40213         <bits/siginfo.h>.
40215 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
40217         * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
40218         finalizing MALLSTREAM.
40220         * sysdeps/mach/hurd/syncfs.c: New file.
40222 2012-11-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
40224         [BZ #14719]
40225         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
40226         NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
40227         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
40228         h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
40229         (_nss_dns_gethostbyname4_r): Likewise.
40230         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
40231         EAI_SYSTEM if NSS_STATUS_UNAVAIL.
40233 2012-11-19  Peng Haitao  <penght@cn.fujitsu.com>
40235         [BZ #13763]
40236         * sunrpc/bindrsvprt.c: Add lock to protect static variable.
40238 2012-11-19  Steve McIntyre  <steve.mcintyre@linaro.org>
40240         * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
40241         * elf/cache.c (print_entry): Print ",AArch64" for
40242         FLAG_AARCH64_LIB64
40244         * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
40245         * elf/cache.c (print_entry): Print ",hard-float" for
40246         FLAG_ARM_LIBHF.
40248 2012-11-18  David S. Miller  <davem@davemloft.net>
40250         With help from Joseph Myers.
40251         * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
40252         cutoff to 2**-13.
40253         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
40254         cutoff to 2**-25.
40255         * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
40256         ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
40257         small.
40258         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
40259         * math/libm-test.inc (y0_test): New tests.
40260         (y1_test): New tests.
40261         * sysdeps/i386/fpu/libm-test-ulps: Update.
40262         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
40263         * sysdeps/sparc/fpu/libm-test-ulps: Update.
40265 2012-11-18  Andreas Schwab  <schwab@linux-m68k.org>
40267         * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
40268         64-bit targets.
40269         * configure: Regenerated.
40271 2012-11-17  David S. Miller  <davem@davemloft.net>
40273         [BZ #14811]
40274         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
40275         nonzero exponents with absolute value below 0x1p-128 to +/-
40276         0x1p-128.
40278 2012-11-17  Joseph Myers  <joseph@codesourcery.com>
40280         * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
40282         * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
40284         * posix/getconf-speclist.c: New file.
40285         * posix/posix-envs.def: Likewise.
40286         * posix/confstr.c (START_ENV_GROUP): New macro.
40287         (END_ENV_GROUP): Likewise.
40288         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
40289         (KNOWN_PRESENT_ENV_STRING): Likewise.
40290         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
40291         (UNKNOWN_ENVIRONMENT): Likewise.
40292         (confstr): Include posix-envs.def instead of handling
40293         _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
40294         _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
40295         * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
40296         (END_ENV_GROUP): Likewise.
40297         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
40298         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
40299         (UNKNOWN_ENVIRONMENT): Likewise.
40300         (__sysconf): Include posix-envs.def instead of handling associated
40301         cases directly here.
40302         * posix/Makefile ($(objpfx)getconf.speclist): Generate by
40303         preprocessing getconf-speclist.c rather than running getconf or
40304         generating empty file.
40306 2012-11-16  Pino Toscano  <toscano.pino@tiscali.it>
40308         * scripts/check-local-headers.sh: Ignore 'mach' headers.
40310 2012-11-16  Andrej Lajovic  <natrij@gmail.com>
40312         [BZ #14672]
40313         * iconv/iconv_prog.c (main): Fix -c handling of '/'.
40315 2012-11-16  David S. Miller  <davem@davemloft.net>
40317         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
40318         smaller than LDBL_EPSILON/2.0L, just return xm1.
40320 2012-11-16  H.J. Lu  <hongjiu.lu@intel.com>
40322         * elf/tst-array1.c (init): Set constructor priority to 1000.
40323         (fini): Set destructor priority to 1000.
40324         * elf/tst-array2dep.c: Likewise.
40326 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
40328         [BZ #11741]
40329         * libio/fileops.c (_IO_new_file_write): Correctly return error.
40330         (_IO_new_file_xsputn): Also return EOF if none of the input
40331         data was written when overflow failed.
40332         * libio/iopadn.c (_IO_padn): Likewise.
40333         * libio/iowpadn.c (_IO_wpadn): Likewise.
40334         * stdio-common/tst-put-error.c: Add copyright notice.
40335         (do_test): Add case for printing padded string.
40336         * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
40337         _IO_padn returned error.
40338         [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
40339         * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
40340         return EOF.
40342 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
40344         * libio/libioP.h: Add comment note that the references to C++
40345         bits are now obsolete.
40347 2012-11-15  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
40349         * math/libm-test.inc (check_complex): Use asprintf.
40351 2012-11-14  Joseph Myers  <joseph@codesourcery.com>
40353         * debug/pcprofiledump.c (print_version): Update copyright year.
40354         * malloc/memusagestat.c (print_version): Likewise.
40356 2012-11-14  H.J. Lu  <hongjiu.lu@intel.com>
40358         [BZ #14831]
40359         * elf/Makefile (tests): Add tst-audit8.
40360         ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
40361         ($(objpfx)tst-audit8.out): New target.
40362         (tst-audit8-ENV): New variable.
40363         * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
40364         audit if l_reloc_result is NULL.
40365         (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
40366         defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
40367         * elf/tst-audit8.c: New file.
40369 2012-11-14  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
40371         * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
40372         * misc/Makefile (CFLAGS-select.c): Define.
40373         * posix/Makefile (CFLAGS-pause.c): Define.
40375 2012-11-13  David S. Miller  <davem@davemloft.net>
40377         * crypt/Makefile: Move test targets after toplevel Rules
40378         inclusion.  Grab any necessary sysdep routines when linking.
40379         * crypt/md5.c (md5_process_block): Remove define, we will always
40380         name it __md5_process_block.
40381         (md5_finish_ctx): Update md5_process_block call.
40382         (md5_stream): Likewise.
40383         (md5_process_bytes): Likewise.
40384         (md5_process_block): Rename to __md5_process_block and move to ...
40385         * crypt/md5-block.c: ... here.
40386         * crypt/sha256.c (sha256_process_block): Move to ...
40387         * crypt/sha256-block.c: ... here.
40388         * crypt/sha512.c (sha512_process_block): Move to ...
40389         * crypt/sha512-block.c: ... here.
40390         * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
40391         path.
40392         * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
40393         * sysdeps/sparc/sparc64/multiarch/Makefile
40394         (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
40395         crypt subdir.
40396         (localedef-aux): Add md5 crypto assembler when in locale subdir.
40397         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
40398         multiarch changes.
40399         * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
40400         * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
40401         * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
40402         * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
40403         * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
40404         * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
40405         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
40406         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
40407         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
40408         file.
40409         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
40410         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
40411         file.
40412         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
40414 2012-11-13  Joseph Myers  <joseph@codesourcery.com>
40416         * timezone/tzselect.ksh: Update from tzcode git revision
40417         a435f9f0ecafa56d9e0263835836bd0c64cd7307.
40418         * timezone/zdump.c: Likewise.
40419         * timezone/zic.c: Likewise.
40420         * timezone/Makefile ($(objpfx)version.h): Only include $(version)
40421         in TZVERSION setting, not $(PKGVERSION).
40422         ($(objpfx)tzselect): Likewise.  Also substitute PKGVERSION and
40423         REPORT_BUGS_TO settings.
40425         [BZ #14838]
40426         * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
40427         macro.
40429 2012-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
40431         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
40432         detection to immediately after _FP_ROUND().
40433         * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
40434         bits are 0.
40436 2012-11-11  David S. Miller  <davem@davemloft.net>
40438         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
40439         inttypes.h
40440         (__get_clockfreq_via_proc_openprom): Use __open, __read, and
40441         __close rather than their public counterparts.
40443 2012-11-10  Joseph Myers  <joseph@codesourcery.com>
40445         * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
40446         file.
40447         [UNIX98] (sem_timedwait): Do not expect.
40448         * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
40449         [XPG4 || UNIX98] (sockatmark): Do not expect.
40450         * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
40451         (clock_getcpuclockid): Do not expect.
40452         [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
40453         * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
40454         Do not expect.
40455         [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
40456         * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
40457         [UNIX98] (vwscanf): Likewise.
40458         [UNIX98] (vswscanf): Likewise.
40460 2012-11-09  Joseph Myers  <joseph@codesourcery.com>
40462         * timezone/version.h: Remove file.
40463         * timezone/README: Do not refer to version.h.
40464         * timezone/Makefile ($(objpfx)zic.o): New dependency on
40465         $(objpfx)version.h.
40466         ($(objpfx)zdump.o): Likewise.
40467         ($(objpfx)version.h): New target.
40469         * timezone/tzselect.ksh: Change to verbatim copy from tzcode
40470         2012i.
40471         * timezone/README: Don't mention modification to tzselect.ksh.
40472         * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
40473         work on unmodified tzselect.ksh.  Substitute version numbers in
40474         tzselect.ksh.
40476         * Makefile (format-me): Remove.
40477         (INSTALL): Adjust indentation.  Use commands directly instead of
40478         using $(format-me).
40480         * aclocal.m4 (ACX_PKGVERSION): New macro.
40481         (ACX_BUGURL): Likewise.
40482         * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
40483         (PKGVERSION): New AC_DEFINE_UNQUOTED.
40484         (REPORT_BUGS_TO): Likewise.
40485         * configure: Regenerated.
40486         * config.h.in (PKGVERSION): New macro.
40487         (REPORT_BUGS_TO): Likewise.
40488         * config.make.in (PKGVERSION): New variable.
40489         (PKGVERSION_TEXI): Likewise.
40490         (REPORT_BUGS_TO): Likewise.
40491         (REPORT_BUGS_TEXI): Likewise.
40492         * Makefile (format-me): Use -I$(common-objpfx)manual.
40493         (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
40494         ($(common-objpfx)manual/%): New target.
40495         (manual/%): Remove target.
40496         * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
40497         (print_version): Use PKGVERSION.
40498         * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
40499         * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
40500         and REPORT_BUGS_TO.
40501         ($(objpfx)xtrace): Likewise.
40502         * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
40503         * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
40504         (print_version): Use PKGVERSION.
40505         * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
40506         (do_version): Use PKGVERSION.
40507         * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
40508         REPORT_BUGS_TO.
40509         (common-ldd-rewrite): Likewise.
40510         * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
40511         * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
40512         (print_version): Use PKGVERSION.
40513         * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
40514         * elf/pldd.c (argp_program_bug_address): Remove variable.
40515         (more_help): New function.
40516         (argp): Use more_help.
40517         (print_version): Use PKGVERSION.
40518         * elf/sln.c (main): Use PKGVERSION.
40519         (usage): Use REPORT_BUGS_TO.
40520         * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
40521         (top level): Use PKGVERSION.
40522         * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
40523         (print_version): Use PKGVERSION.
40524         * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
40525         (print_version): Use PKGVERSION.
40526         * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
40527         (print_version): Use PKGVERSION.
40528         * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
40529         (print_version): Use PKGVERSION.
40530         * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
40531         (print_version): Use PKGVERSION.
40532         * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
40533         (print_version): Use PKGVERSION.
40534         * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
40535         and BUGURL.
40536         ($(objpfx)memusage): Likewise.
40537         * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
40538         (do_version): Use PKGVERSION.
40539         * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
40540         (print_version): Use PKGVERSION.
40541         * malloc/mtrace.pl ($PACKAGE): Remove variable.
40542         ($PKGVERSION): New variable.
40543         ($REPORT_BUGS_TO): Likewise.
40544         (usage): Use $REPORT_BUGS_TO.
40545         (top level): Use $PKGVERSION.
40546         * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
40547         ($(objpfx)pkgvers.texi): New rule.
40548         ($(objpfx)stamp-pkgvers): Likewise.
40549         * manual/install.texi: Include pkgvers.texi.
40550         (--with-pkgversion): Document new configure option.
40551         (--with-bugurl): Likewise.
40552         (Reporting Bugs): Describe Bugzilla as upstream tracker rather
40553         than necessarily for this particular distribution.  Use
40554         REPORT_BUGS_TO for where to report bugs.
40555         * INSTALL: Regenerated.
40556         * manual/libc.texinfo: Include pkgvers.texi.
40557         [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
40558         * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
40559         (print_version): Use PKGVERSION.
40560         * nss/getent.c (more_help): Use REPORT_BUGS_TO.
40561         (print_version): Use PKGVERSION.
40562         * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
40563         (print_version): Use PKGVERSION.
40564         * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
40565         * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
40566         macro.
40567         * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
40568         (print_version): Use PKGVERSION.
40569         * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
40570         (print_version): Use PKGVERSION.
40571         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
40572         and PKGVERSION.
40574         * timezone/checktab.awk: Update from tzcode 2012i.
40575         * timezone/ialloc.c: Likewise.
40576         * timezone/private.h: Likewise.
40577         * timezone/scheck.c: Likewise.
40578         * timezone/tzfile.h: Likewise.
40579         * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
40580         (TZVERSION): Hardcode tzcode version number.
40581         * timezone/zdump.c: Update from tzcode 2012i.
40582         * timezone/zic.c: Likewise.
40583         * timezone/version.h: New file.
40584         * timezone/README: Describe version.h.  Update upstream location.
40586         [BZ #14824]
40587         * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
40588         (mktemp): Enable declaration.
40589         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
40590         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
40591         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
40592         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
40593         Likewise.
40594         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
40595         Likewise.
40596         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
40597         Likewise.
40598         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
40599         Likewise.
40600         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
40601         Likewise.
40602         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
40603         Likewise.
40605         [BZ #14821]
40606         * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
40607         offset in buffer as u_int32_t not u_long.  Consistently use memcpy
40608         for copies of such integer values.
40609         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
40610         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
40612 2012-11-09  Andreas Jaeger  <aj@suse.de>
40614         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
40615         definitions and declarations that are provided by
40616         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
40618 2012-11-08  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
40620         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
40621         * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
40622         * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
40623         definition.
40625 2012-11-08  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
40627         * elf/elf.h: Update comment before AArch64 relocations.
40629 2012-11-07  David S. Miller  <davem@davemloft.net>
40631         * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
40632         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
40633         (__start_context): Declare.
40634         (__makecontext_ret): Delete.
40635         (__makecontext): Hook up __start_context instead of
40636         __makecontext_ret.
40637         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
40638         (sysdep_routines): Add __start_context when in stdlib.
40640 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
40642         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
40643         $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
40644         * sysdeps/x86/tst-xmmymm.sh (NM): New variable.  Use it instead of
40645         hardcoded "nm".
40646         (OBJDUMP): New variable.  Use it instead of hardcoded "objdump".
40647         (READELF): New variable.  Use it instead of hardcoded "readelf".
40649 2012-11-07  H.J. Lu  <hongjiu.lu@intel.com>
40651         * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
40652         * sysdeps/x86/Makefile: Here.
40653         * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
40654         * sysdeps/x86/tst-xmmymm.sh: This.
40656 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
40658         * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
40659         expectations.
40660         [UNIX98] (pthread_barrier_t): Do not expect.
40661         [UNIX98] (pthread_barrierattr_t): Likewise.
40662         [UNIX98] (pthread_spinlock_t): Likewise.
40663         [UNIX98] (pthread_barrier_destroy): Likewise.
40664         [UNIX98] (pthread_barrier_init): Likewise.
40665         [UNIX98] (pthread_barrier_wait): Likewise.
40666         [UNIX98] (pthread_barrierattr_destroy): Likewise.
40667         [UNIX98] (pthread_barrierattr_getpshared): Likewise.
40668         [UNIX98] (pthread_barrierattr_init): Likewise.
40669         [UNIX98] (pthread_barrierattr_setpshared): Likewise.
40670         [UNIX98] (pthread_getcpuclockid): Likewise.
40671         [UNIX98] (pthread_mutex_timedlock): Likewise.
40672         [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
40673         [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
40674         [UNIX98] (pthread_sigmask): Likewise.
40675         [UNIX98] (pthread_spin_destroy): Likewise.
40676         [UNIX98] (pthread_spin_init): Likewise.
40677         [UNIX98] (pthread_spin_lock): Likewise.
40678         [UNIX98] (pthread_spin_trylock): Likewise.
40679         [UNIX98] (pthread_spin_unlock): Likewise.
40680         * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
40681         Do not expect.
40682         [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
40683         [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
40684         [XPG3 || XPG4] (pthread_cond_t): Likewise.
40685         [XPG3 || XPG4] (pthread_condattr_t): Likewise.
40686         [XPG3 || XPG4] (pthread_key_t): Likewise.
40687         [XPG3 || XPG4] (pthread_mutex_t): Likewise.
40688         [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
40689         [XPG3 || XPG4] (pthread_once_t): Likewise.
40690         [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
40691         [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
40692         [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
40693         [XPG3 || XPG4] (pthread_t): Likewise.
40695         * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
40696         not expect.
40697         [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
40699         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
40700         Change function return type to int.
40702         * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
40703         Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
40704         [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
40705         [!POSIX] (POSIX_MADV_RANDOM): Likewise.
40706         [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
40707         [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
40708         [!POSIX] (posix_madvise): Likewise.
40709         (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
40710         && !UNIX98].
40711         (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
40712         (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
40713         (mode_t): Likewise.
40714         (posix_mem_offset): Likewise.
40715         (posix_typed_mem_get_info): Likewise.
40716         (posix_typed_mem_open): Likewise.
40718         * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
40719         Change condition to [XOPEN2K8].
40721         * conform/conformtest.pl: Preprocess allow-header data with -x c
40722         instead of from stdin.
40723         (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
40724         * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
40725         [C99-based standards] (cerfc): Likewise.
40726         [C99-based standards] (cexp2): Likewise.
40727         [C99-based standards] (cexpm1): Likewise.
40728         [C99-based standards] (clog10): Likewise.
40729         [C99-based standards] (clog1p): Likewise.
40730         [C99-based standards] (clog2): Likewise.
40731         [C99-based standards] (clgamma): Likewise.
40732         [C99-based standards] (ctgamma): Likewise.
40733         [C99-based standards] (cerff): Likewise.
40734         [C99-based standards] (cerfcf): Likewise.
40735         [C99-based standards] (cexp2f): Likewise.
40736         [C99-based standards] (cexpm1f): Likewise.
40737         [C99-based standards] (clog10f): Likewise.
40738         [C99-based standards] (clog1pf): Likewise.
40739         [C99-based standards] (clog2f): Likewise.
40740         [C99-based standards] (clgammaf): Likewise.
40741         [C99-based standards] (ctgammaf): Likewise.
40742         [C99-based standards] (cerfl): Likewise.
40743         [C99-based standards] (cerfcl): Likewise.
40744         [C99-based standards] (cexp2l): Likewise.
40745         [C99-based standards] (cexpm1l): Likewise.
40746         [C99-based standards] (clog10l): Likewise.
40747         [C99-based standards] (clog1pl): Likewise.
40748         [C99-based standards] (clog2l): Likewise.
40749         [C99-based standards] (clgammal): Likewise.
40750         [C99-based standards] (ctgammal): Likewise.
40751         * conform/data/inttypes.h-data [C99-based standards]: Include
40752         stdint.h-data.  Remove all expectations for stdint.h contents.
40753         [C99-based standards] (PRI*): Do not allow.
40754         [C99-based standards] (SCN*): Likewise.
40755         [C99-based standards] (*_t): Likewise.
40756         [C99-based-standards] (PRId8): Expect macro.
40757         [C99-based-standards] (PRIi8): Likewise.
40758         [C99-based-standards] (PRIo8): Likewise.
40759         [C99-based-standards] (PRIu8): Likewise.
40760         [C99-based-standards] (PRIx8): Likewise.
40761         [C99-based-standards] (PRIX8): Likewise.
40762         [C99-based-standards] (SCNd8): Likewise.
40763         [C99-based-standards] (SCNi8): Likewise.
40764         [C99-based-standards] (SCNo8): Likewise.
40765         [C99-based-standards] (SCNu8): Likewise.
40766         [C99-based-standards] (SCNx8): Likewise.
40767         [C99-based-standards] (PRIdLEAST8): Likewise.
40768         [C99-based-standards] (PRIiLEAST8): Likewise.
40769         [C99-based-standards] (PRIoLEAST8): Likewise.
40770         [C99-based-standards] (PRIuLEAST8): Likewise.
40771         [C99-based-standards] (PRIxLEAST8): Likewise.
40772         [C99-based-standards] (PRIXLEAST8): Likewise.
40773         [C99-based-standards] (SCNdLEAST8): Likewise.
40774         [C99-based-standards] (SCNiLEAST8): Likewise.
40775         [C99-based-standards] (SCNoLEAST8): Likewise.
40776         [C99-based-standards] (SCNuLEAST8): Likewise.
40777         [C99-based-standards] (SCNxLEAST8): Likewise.
40778         [C99-based-standards] (PRIdFAST8): Likewise.
40779         [C99-based-standards] (PRIiFAST8): Likewise.
40780         [C99-based-standards] (PRIoFAST8): Likewise.
40781         [C99-based-standards] (PRIuFAST8): Likewise.
40782         [C99-based-standards] (PRIxFAST8): Likewise.
40783         [C99-based-standards] (PRIXFAST8): Likewise.
40784         [C99-based-standards] (SCNdFAST8): Likewise.
40785         [C99-based-standards] (SCNiFAST8): Likewise.
40786         [C99-based-standards] (SCNoFAST8): Likewise.
40787         [C99-based-standards] (SCNuFAST8): Likewise.
40788         [C99-based-standards] (SCNxFAST8): Likewise.
40789         [C99-based-standards] (PRId16): Likewise.
40790         [C99-based-standards] (PRIi16): Likewise.
40791         [C99-based-standards] (PRIo16): Likewise.
40792         [C99-based-standards] (PRIu16): Likewise.
40793         [C99-based-standards] (PRIx16): Likewise.
40794         [C99-based-standards] (PRIX16): Likewise.
40795         [C99-based-standards] (SCNd16): Likewise.
40796         [C99-based-standards] (SCNi16): Likewise.
40797         [C99-based-standards] (SCNo16): Likewise.
40798         [C99-based-standards] (SCNu16): Likewise.
40799         [C99-based-standards] (SCNx16): Likewise.
40800         [C99-based-standards] (PRIdLEAST16): Likewise.
40801         [C99-based-standards] (PRIiLEAST16): Likewise.
40802         [C99-based-standards] (PRIoLEAST16): Likewise.
40803         [C99-based-standards] (PRIuLEAST16): Likewise.
40804         [C99-based-standards] (PRIxLEAST16): Likewise.
40805         [C99-based-standards] (PRIXLEAST16): Likewise.
40806         [C99-based-standards] (SCNdLEAST16): Likewise.
40807         [C99-based-standards] (SCNiLEAST16): Likewise.
40808         [C99-based-standards] (SCNoLEAST16): Likewise.
40809         [C99-based-standards] (SCNuLEAST16): Likewise.
40810         [C99-based-standards] (SCNxLEAST16): Likewise.
40811         [C99-based-standards] (PRIdFAST16): Likewise.
40812         [C99-based-standards] (PRIiFAST16): Likewise.
40813         [C99-based-standards] (PRIoFAST16): Likewise.
40814         [C99-based-standards] (PRIuFAST16): Likewise.
40815         [C99-based-standards] (PRIxFAST16): Likewise.
40816         [C99-based-standards] (PRIXFAST16): Likewise.
40817         [C99-based-standards] (SCNdFAST16): Likewise.
40818         [C99-based-standards] (SCNiFAST16): Likewise.
40819         [C99-based-standards] (SCNoFAST16): Likewise.
40820         [C99-based-standards] (SCNuFAST16): Likewise.
40821         [C99-based-standards] (SCNxFAST16): Likewise.
40822         [C99-based-standards] (PRId32): Likewise.
40823         [C99-based-standards] (PRIi32): Likewise.
40824         [C99-based-standards] (PRIo32): Likewise.
40825         [C99-based-standards] (PRIu32): Likewise.
40826         [C99-based-standards] (PRIx32): Likewise.
40827         [C99-based-standards] (PRIX32): Likewise.
40828         [C99-based-standards] (SCNd32): Likewise.
40829         [C99-based-standards] (SCNi32): Likewise.
40830         [C99-based-standards] (SCNo32): Likewise.
40831         [C99-based-standards] (SCNu32): Likewise.
40832         [C99-based-standards] (SCNx32): Likewise.
40833         [C99-based-standards] (PRIdLEAST32): Likewise.
40834         [C99-based-standards] (PRIiLEAST32): Likewise.
40835         [C99-based-standards] (PRIoLEAST32): Likewise.
40836         [C99-based-standards] (PRIuLEAST32): Likewise.
40837         [C99-based-standards] (PRIxLEAST32): Likewise.
40838         [C99-based-standards] (PRIXLEAST32): Likewise.
40839         [C99-based-standards] (SCNdLEAST32): Likewise.
40840         [C99-based-standards] (SCNiLEAST32): Likewise.
40841         [C99-based-standards] (SCNoLEAST32): Likewise.
40842         [C99-based-standards] (SCNuLEAST32): Likewise.
40843         [C99-based-standards] (SCNxLEAST32): Likewise.
40844         [C99-based-standards] (PRIdFAST32): Likewise.
40845         [C99-based-standards] (PRIiFAST32): Likewise.
40846         [C99-based-standards] (PRIoFAST32): Likewise.
40847         [C99-based-standards] (PRIuFAST32): Likewise.
40848         [C99-based-standards] (PRIxFAST32): Likewise.
40849         [C99-based-standards] (PRIXFAST32): Likewise.
40850         [C99-based-standards] (SCNdFAST32): Likewise.
40851         [C99-based-standards] (SCNiFAST32): Likewise.
40852         [C99-based-standards] (SCNoFAST32): Likewise.
40853         [C99-based-standards] (SCNuFAST32): Likewise.
40854         [C99-based-standards] (SCNxFAST32): Likewise.
40855         [C99-based-standards] (PRId64): Likewise.
40856         [C99-based-standards] (PRIi64): Likewise.
40857         [C99-based-standards] (PRIo64): Likewise.
40858         [C99-based-standards] (PRIu64): Likewise.
40859         [C99-based-standards] (PRIx64): Likewise.
40860         [C99-based-standards] (PRIX64): Likewise.
40861         [C99-based-standards] (SCNd64): Likewise.
40862         [C99-based-standards] (SCNi64): Likewise.
40863         [C99-based-standards] (SCNo64): Likewise.
40864         [C99-based-standards] (SCNu64): Likewise.
40865         [C99-based-standards] (SCNx64): Likewise.
40866         [C99-based-standards] (PRIdLEAST64): Likewise.
40867         [C99-based-standards] (PRIiLEAST64): Likewise.
40868         [C99-based-standards] (PRIoLEAST64): Likewise.
40869         [C99-based-standards] (PRIuLEAST64): Likewise.
40870         [C99-based-standards] (PRIxLEAST64): Likewise.
40871         [C99-based-standards] (PRIXLEAST64): Likewise.
40872         [C99-based-standards] (SCNdLEAST64): Likewise.
40873         [C99-based-standards] (SCNiLEAST64): Likewise.
40874         [C99-based-standards] (SCNoLEAST64): Likewise.
40875         [C99-based-standards] (SCNuLEAST64): Likewise.
40876         [C99-based-standards] (SCNxLEAST64): Likewise.
40877         [C99-based-standards] (PRIdFAST64): Likewise.
40878         [C99-based-standards] (PRIiFAST64): Likewise.
40879         [C99-based-standards] (PRIoFAST64): Likewise.
40880         [C99-based-standards] (PRIuFAST64): Likewise.
40881         [C99-based-standards] (PRIxFAST64): Likewise.
40882         [C99-based-standards] (PRIXFAST64): Likewise.
40883         [C99-based-standards] (SCNdFAST64): Likewise.
40884         [C99-based-standards] (SCNiFAST64): Likewise.
40885         [C99-based-standards] (SCNoFAST64): Likewise.
40886         [C99-based-standards] (SCNuFAST64): Likewise.
40887         [C99-based-standards] (SCNxFAST64): Likewise.
40888         [C99-based-standards] (PRIdMAX): Likewise.
40889         [C99-based-standards] (PRIiMAX): Likewise.
40890         [C99-based-standards] (PRIoMAX): Likewise.
40891         [C99-based-standards] (PRIuMAX): Likewise.
40892         [C99-based-standards] (PRIxMAX): Likewise.
40893         [C99-based-standards] (PRIXMAX): Likewise.
40894         [C99-based-standards] (SCNdMAX): Likewise.
40895         [C99-based-standards] (SCNiMAX): Likewise.
40896         [C99-based-standards] (SCNoMAX): Likewise.
40897         [C99-based-standards] (SCNuMAX): Likewise.
40898         [C99-based-standards] (SCNxMAX): Likewise.
40899         [C99-based-standards] (PRIdPTR): Likewise.
40900         [C99-based-standards] (PRIiPTR): Likewise.
40901         [C99-based-standards] (PRIoPTR): Likewise.
40902         [C99-based-standards] (PRIuPTR): Likewise.
40903         [C99-based-standards] (PRIxPTR): Likewise.
40904         [C99-based-standards] (PRIXPTR): Likewise.
40905         [C99-based-standards] (SCNdPTR): Likewise.
40906         [C99-based-standards] (SCNiPTR): Likewise.
40907         [C99-based-standards] (SCNoPTR): Likewise.
40908         [C99-based-standards] (SCNuPTR): Likewise.
40909         [C99-based-standards] (SCNxPTR): Likewise.
40910         * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
40911         allow.
40912         * conform/data/stdint.h-data: Update comments to clarify
40913         requirements.
40914         [C99-based standards] (INT8_MIN): Use macro-int-constant.  Specify
40915         type.
40916         [C99-based standards] (INT8_MAX): Likewise.
40917         [C99-based standards] (INT16_MIN): Likewise.
40918         [C99-based standards] (INT16_MAX): Likewise.
40919         [C99-based standards] (INT32_MIN): Likewise.
40920         [C99-based standards] (INT32_MAX): Likewise.
40921         [C99-based standards] (INT64_MIN): Likewise.
40922         [C99-based standards] (INT64_MAX): Likewise.
40923         [C99-based standards] (UINT8_MAX): Likewise.
40924         [C99-based standards] (UINT16_MAX): Likewise.
40925         [C99-based standards] (UINT32_MAX): Likewise.
40926         [C99-based standards] (UINT64_MAX): Likewise.
40927         [C99-based standards] (INT_LEAST8_MIN): Likewise.
40928         [C99-based standards] (INT_LEAST8_MAX): Likewise.
40929         [C99-based standards] (INT_LEAST16_MIN): Likewise.
40930         [C99-based standards] (INT_LEAST16_MAX): Likewise.
40931         [C99-based standards] (INT_LEAST32_MIN): Likewise.
40932         [C99-based standards] (INT_LEAST32_MAX): Likewise.
40933         [C99-based standards] (INT_LEAST64_MIN): Likewise.
40934         [C99-based standards] (INT_LEAST64_MAX): Likewise.
40935         [C99-based standards] (UINT_LEAST8_MAX): Likewise.
40936         [C99-based standards] (UINT_LEAST16_MAX): Likewise.
40937         [C99-based standards] (UINT_LEAST32_MAX): Likewise.
40938         [C99-based standards] (UINT_LEAST64_MAX): Likewise.
40939         [C99-based standards] (INT_FAST8_MIN): Likewise.
40940         [C99-based standards] (INT_FAST8_MAX): Likewise.
40941         [C99-based standards] (INT_FAST16_MIN): Likewise.
40942         [C99-based standards] (INT_FAST16_MAX): Likewise.
40943         [C99-based standards] (INT_FAST32_MIN): Likewise.
40944         [C99-based standards] (INT_FAST32_MAX): Likewise.
40945         [C99-based standards] (INT_FAST64_MIN): Likewise.
40946         [C99-based standards] (INT_FAST64_MAX): Likewise.
40947         [C99-based standards] (UINT_FAST8_MAX): Likewise.
40948         [C99-based standards] (UINT_FAST16_MAX): Likewise.
40949         [C99-based standards] (UINT_FAST32_MAX): Likewise.
40950         [C99-based standards] (UINT_FAST64_MAX): Likewise.
40951         [C99-based standards] (INTPTR_MIN): Likewise.
40952         [C99-based standards] (INTPTR_MAX): Likewise.
40953         [C99-based standards] (UINTPTR_MAX): Likewise.
40954         [C99-based standards] (INTMAX_MIN): Likewise.
40955         [C99-based standards] (INTMAX_MAX): Likewise.
40956         [C99-based standards] (UINTMAX_MAX): Likewise.
40957         [C99-based standards] (PTRDIFF_MIN): Likewise.
40958         [C99-based standards] (PTRDIFF_MAX): Likewise.
40959         [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
40960         [C99-based standards] (SIZE_MAX): Likewise.
40961         [C99-based standards] (WCHAR_MAX): Likewise.
40962         [C99-based standards] (WINT_MAX): Likewise.
40963         [C99-based standards] (SIG_ATOMIC_MIN): Likewise.  Do not specify
40964         constraint on value.
40965         [C99-based standards] (WCHAR_MIN): Likewise.
40966         [C99-based standards] (WINT_MIN): Likewise.
40967         [C99-based standards] (*_t): Allow.
40968         * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
40969         condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
40970         Include math.h-data and complex.h-data.  Remove all expectations
40971         of math.h and complex.h contents.
40972         * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
40973         at end of line.
40974         * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
40975         (struct tm): Expect tag.
40976         [C99-based-standards] (wcstof): Expect function.
40977         [C99-based-standards] (wcstold): Likewise.
40978         [C99-based-standards] (wcstoll): Likewise.
40979         [C99-based-standards] (wcstoull): Likewise.
40980         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
40981         macro-int-constant.  Specify type.
40982         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise.  Specify
40983         constraint on value.
40984         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
40985         Specify type.
40986         [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
40987         Specify value.
40988         [ISO C standards]: Do not allow headers.
40989         [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
40990         wcs[abcdefghijklmnopqrstuvwxyz]*.
40991         [ISO C standards] (*_t): Do not allow.
40992         * conform/data/wctype.h-data [C99-based standards] (iswblank):
40993         Expect function.
40994         [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
40995         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
40996         Specify type.
40997         [ISO C standards]: Do not allow headers.
40998         [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
40999         is[abcdefghijklmnopqrstuvwxyz]*.
41000         [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
41001         to[abcdefghijklmnopqrstuvwxyz]*.
41002         [ISO C standards] (*_t): Do not allow.
41003         * conform/data/stdalign.h-data: New file.
41004         * conform/data/stdbool.h-data: Likewise.
41005         * conform/data/stdnoreturn.h-data: Likewise.
41007 2012-11-07  Roland McGrath  <roland@hack.frob.com>
41009         [BZ #14815]
41010         * manual/filesys.texi (Directory Entries): Typo fix.
41011         Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
41013 2012-11-07  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
41015         * elf/elf.h (EM_AARCH64): New macro.
41016         (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
41017         (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
41018         (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
41019         (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
41020         (R_AARCH64_TLSDESC): Likewise.
41021         (NT_ARM_TLS): Likewise.
41022         (NT_ARM_HW_BREAK): Likewise.
41023         (NT_ARM_HW_WATCH): Likewise.
41025 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
41027         [BZ #14811]
41028         * sysdeps/i386/fpu/e_powl.S (pm79): New object.
41029         (__ieee754_powl): Saturate nonzero exponents with absolute value
41030         below 0x1p-79 to +/- 0x1p-79.
41031         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
41032         exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
41033         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
41034         nonzero exponents with absolute value below 0x1p-32 to +/-
41035         0x1p-32.
41036         * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
41037         (__ieee754_powl): Saturate nonzero exponents with absolute value
41038         below 0x1p-79 to +/- 0x1p-79.
41039         * math/libm-test.inc (pow_test): Add more tests.
41041 2012-11-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
41043         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
41044         _dl_s390_cap_flags with kernel. Increase string length.
41045         (_dl_s390_platforms): Add z196 and zEC12.
41047 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
41049         * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
41050         Change XOPEN21K to XOPEN2K.
41052 2012-11-06  Maxim Kuvyrkov  <maxim@codesourcery.com>
41054         * string/memmove.c: Use memcpy when possible.
41056 2012-11-06  Andreas Jaeger  <aj@suse.de>
41058         * po/eo.po: Update from translation team.
41060 2012-11-06  Joseph Myers  <joseph@codesourcery.com>
41062         [BZ #14793]
41063         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
41064         exponent and small x and y exponents, scale x or y up.  Increase
41065         by 2 the exponent used in scaling up.
41066         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
41067         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
41068         * math/libm-test.inc (fma_test): Add more tests.
41069         (fma_test_towardzero): Likewise.
41070         (fma_test_downward): Likewise.
41071         (fma_test_upward): Likewise.
41073 2012-11-05  Joseph Myers  <joseph@codesourcery.com>
41075         [BZ #14805]
41076         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
41077         fenv_t *.
41079         [BZ #14801]
41080         * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
41081         namespace for names of struct fields.
41082         * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
41083         fenv_t fields.
41084         * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
41085         * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
41087 2012-11-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
41089         [BZ #3665]
41090         * sysdeps/mach/hurd/bits/errno.h: Regenerated.
41092 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
41094         * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
41095         PTR_DEMANGLE.
41097         [BZ #5246]
41098         * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
41099         PTR_DEMANGLE.
41101 2012-11-04  Joseph Myers  <joseph@codesourcery.com>
41103         [BZ #14797]
41104         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
41105         definitely overflow as x * y not x * y + z.
41106         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
41107         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
41108         * math/libm-test.inc (fma_test): Add more tests.
41109         (fma_test_towardzero): Likewise.
41110         (fma_test_downward): Likewise.
41111         (fma_test_upward): Likewise.
41113 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
41115         [BZ #157]
41117         * include/stub-tag.h: Remove file.
41118         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
41119         '#include' of it.
41120         * manual/maint.texi (Porting): Don't reference it.
41121         * Makerules ($(objpfx)stubs): Likewise.
41122         * dirent/closedir.c: Don't include <stub-tag.h>.
41123         * dirent/dirfd.c: Likewise.
41124         * dirent/fdopendir.c: Likewise.
41125         * dirent/getdents.c: Likewise.
41126         * dirent/getdents64.c: Likewise.
41127         * dirent/opendir.c: Likewise.
41128         * dirent/readdir.c: Likewise.
41129         * dirent/readdir64.c: Likewise.
41130         * dirent/readdir64_r.c: Likewise.
41131         * dirent/readdir_r.c: Likewise.
41132         * dirent/rewinddir.c: Likewise.
41133         * dirent/seekdir.c: Likewise.
41134         * dirent/telldir.c: Likewise.
41135         * gmon/profil.c: Likewise.
41136         * grp/setgroups.c: Likewise.
41137         * inet/if_index.c: Likewise.
41138         * io/access.c: Likewise.
41139         * io/chdir.c: Likewise.
41140         * io/chmod.c: Likewise.
41141         * io/chown.c: Likewise.
41142         * io/close.c: Likewise.
41143         * io/dup.c: Likewise.
41144         * io/dup2.c: Likewise.
41145         * io/dup3.c: Likewise.
41146         * io/euidaccess.c: Likewise.
41147         * io/faccessat.c: Likewise.
41148         * io/fchdir.c: Likewise.
41149         * io/fchmod.c: Likewise.
41150         * io/fchmodat.c: Likewise.
41151         * io/fchown.c: Likewise.
41152         * io/fchownat.c: Likewise.
41153         * io/fcntl.c: Likewise.
41154         * io/flock.c: Likewise.
41155         * io/fstatfs.c: Likewise.
41156         * io/fstatfs64.c: Likewise.
41157         * io/fstatvfs.c: Likewise.
41158         * io/fstatvfs64.c: Likewise.
41159         * io/futimens.c: Likewise.
41160         * io/fxstat.c: Likewise.
41161         * io/fxstat64.c: Likewise.
41162         * io/fxstatat.c: Likewise.
41163         * io/fxstatat64.c: Likewise.
41164         * io/getcwd.c: Likewise.
41165         * io/isatty.c: Likewise.
41166         * io/lchmod.c: Likewise.
41167         * io/lchown.c: Likewise.
41168         * io/link.c: Likewise.
41169         * io/linkat.c: Likewise.
41170         * io/lseek.c: Likewise.
41171         * io/lseek64.c: Likewise.
41172         * io/lxstat64.c: Likewise.
41173         * io/mkdir.c: Likewise.
41174         * io/mkdirat.c: Likewise.
41175         * io/mkfifo.c: Likewise.
41176         * io/mkfifoat.c: Likewise.
41177         * io/open.c: Likewise.
41178         * io/open64.c: Likewise.
41179         * io/openat.c: Likewise.
41180         * io/openat64.c: Likewise.
41181         * io/pipe.c: Likewise.
41182         * io/pipe2.c: Likewise.
41183         * io/poll.c: Likewise.
41184         * io/posix_fadvise.c: Likewise.
41185         * io/posix_fadvise64.c: Likewise.
41186         * io/posix_fallocate.c: Likewise.
41187         * io/posix_fallocate64.c: Likewise.
41188         * io/read.c: Likewise.
41189         * io/readlink.c: Likewise.
41190         * io/readlinkat.c: Likewise.
41191         * io/rmdir.c: Likewise.
41192         * io/sendfile.c: Likewise.
41193         * io/sendfile64.c: Likewise.
41194         * io/statfs.c: Likewise.
41195         * io/statfs64.c: Likewise.
41196         * io/statvfs.c: Likewise.
41197         * io/statvfs64.c: Likewise.
41198         * io/symlink.c: Likewise.
41199         * io/symlinkat.c: Likewise.
41200         * io/ttyname.c: Likewise.
41201         * io/ttyname_r.c: Likewise.
41202         * io/umask.c: Likewise.
41203         * io/unlink.c: Likewise.
41204         * io/unlinkat.c: Likewise.
41205         * io/utime.c: Likewise.
41206         * io/utimensat.c: Likewise.
41207         * io/write.c: Likewise.
41208         * io/xmknod.c: Likewise.
41209         * io/xmknodat.c: Likewise.
41210         * io/xstat.c: Likewise.
41211         * io/xstat64.c: Likewise.
41212         * login/getpt.c: Likewise.
41213         * login/grantpt.c: Likewise.
41214         * login/unlockpt.c: Likewise.
41215         * math/e_acoshl.c: Likewise.
41216         * math/e_acosl.c: Likewise.
41217         * math/e_asinl.c: Likewise.
41218         * math/e_atan2l.c: Likewise.
41219         * math/e_atanhl.c: Likewise.
41220         * math/e_coshl.c: Likewise.
41221         * math/e_expl.c: Likewise.
41222         * math/e_fmodl.c: Likewise.
41223         * math/e_gammal_r.c: Likewise.
41224         * math/e_hypotl.c: Likewise.
41225         * math/e_j0l.c: Likewise.
41226         * math/e_j1l.c: Likewise.
41227         * math/e_jnl.c: Likewise.
41228         * math/e_lgammal_r.c: Likewise.
41229         * math/e_log10l.c: Likewise.
41230         * math/e_log2l.c: Likewise.
41231         * math/e_logl.c: Likewise.
41232         * math/e_powl.c: Likewise.
41233         * math/e_rem_pio2l.c: Likewise.
41234         * math/e_sinhl.c: Likewise.
41235         * math/e_sqrtl.c: Likewise.
41236         * math/fclrexcpt.c: Likewise.
41237         * math/fedisblxcpt.c: Likewise.
41238         * math/feenablxcpt.c: Likewise.
41239         * math/fegetenv.c: Likewise.
41240         * math/fegetexcept.c: Likewise.
41241         * math/fegetround.c: Likewise.
41242         * math/feholdexcpt.c: Likewise.
41243         * math/fesetenv.c: Likewise.
41244         * math/fesetround.c: Likewise.
41245         * math/feupdateenv.c: Likewise.
41246         * math/fgetexcptflg.c: Likewise.
41247         * math/fraiseexcpt.c: Likewise.
41248         * math/fsetexcptflg.c: Likewise.
41249         * math/ftestexcept.c: Likewise.
41250         * math/k_cosl.c: Likewise.
41251         * math/k_rem_pio2l.c: Likewise.
41252         * math/k_sinl.c: Likewise.
41253         * math/k_tanl.c: Likewise.
41254         * math/s_asinhl.c: Likewise.
41255         * math/s_atanl.c: Likewise.
41256         * math/s_cbrtl.c: Likewise.
41257         * math/s_erfl.c: Likewise.
41258         * math/s_expm1l.c: Likewise.
41259         * math/s_log1pl.c: Likewise.
41260         * math/s_tanhl.c: Likewise.
41261         * misc/acct.c: Likewise.
41262         * misc/brk.c: Likewise.
41263         * misc/chflags.c: Likewise.
41264         * misc/chroot.c: Likewise.
41265         * misc/fchflags.c: Likewise.
41266         * misc/fgetxattr.c: Likewise.
41267         * misc/flistxattr.c: Likewise.
41268         * misc/fremovexattr.c: Likewise.
41269         * misc/fsetxattr.c: Likewise.
41270         * misc/fsync.c: Likewise.
41271         * misc/ftruncate.c: Likewise.
41272         * misc/futimes.c: Likewise.
41273         * misc/futimesat.c: Likewise.
41274         * misc/getdomain.c: Likewise.
41275         * misc/getdtsz.c: Likewise.
41276         * misc/gethostid.c: Likewise.
41277         * misc/gethostname.c: Likewise.
41278         * misc/getloadavg.c: Likewise.
41279         * misc/getpagesize.c: Likewise.
41280         * misc/getsysstats.c: Likewise.
41281         * misc/getxattr.c: Likewise.
41282         * misc/gtty.c: Likewise.
41283         * misc/ioctl.c: Likewise.
41284         * misc/lgetxattr.c: Likewise.
41285         * misc/listxattr.c: Likewise.
41286         * misc/llistxattr.c: Likewise.
41287         * misc/lremovexattr.c: Likewise.
41288         * misc/lsetxattr.c: Likewise.
41289         * misc/lutimes.c: Likewise.
41290         * misc/madvise.c: Likewise.
41291         * misc/mincore.c: Likewise.
41292         * misc/mlock.c: Likewise.
41293         * misc/mlockall.c: Likewise.
41294         * misc/mmap.c: Likewise.
41295         * misc/mprotect.c: Likewise.
41296         * misc/msync.c: Likewise.
41297         * misc/munlock.c: Likewise.
41298         * misc/munlockall.c: Likewise.
41299         * misc/munmap.c: Likewise.
41300         * misc/preadv.c: Likewise.
41301         * misc/preadv64.c: Likewise.
41302         * misc/ptrace.c: Likewise.
41303         * misc/pwritev.c: Likewise.
41304         * misc/pwritev64.c: Likewise.
41305         * misc/readv.c: Likewise.
41306         * misc/reboot.c: Likewise.
41307         * misc/remap_file_pages.c: Likewise.
41308         * misc/removexattr.c: Likewise.
41309         * misc/revoke.c: Likewise.
41310         * misc/select.c: Likewise.
41311         * misc/setdomain.c: Likewise.
41312         * misc/setegid.c: Likewise.
41313         * misc/seteuid.c: Likewise.
41314         * misc/sethostid.c: Likewise.
41315         * misc/sethostname.c: Likewise.
41316         * misc/setregid.c: Likewise.
41317         * misc/setreuid.c: Likewise.
41318         * misc/setxattr.c: Likewise.
41319         * misc/sstk.c: Likewise.
41320         * misc/stty.c: Likewise.
41321         * misc/swapoff.c: Likewise.
41322         * misc/swapon.c: Likewise.
41323         * misc/sync.c: Likewise.
41324         * misc/syncfs.c: Likewise.
41325         * misc/syscall.c: Likewise.
41326         * misc/truncate.c: Likewise.
41327         * misc/ualarm.c: Likewise.
41328         * misc/usleep.c: Likewise.
41329         * misc/ustat.c: Likewise.
41330         * misc/utimes.c: Likewise.
41331         * misc/vhangup.c: Likewise.
41332         * misc/writev.c: Likewise.
41333         * posix/_exit.c: Likewise.
41334         * posix/alarm.c: Likewise.
41335         * posix/execve.c: Likewise.
41336         * posix/fexecve.c: Likewise.
41337         * posix/fork.c: Likewise.
41338         * posix/fpathconf.c: Likewise.
41339         * posix/getaddrinfo.c: Likewise.
41340         * posix/getegid.c: Likewise.
41341         * posix/geteuid.c: Likewise.
41342         * posix/getgid.c: Likewise.
41343         * posix/getgroups.c: Likewise.
41344         * posix/getlogin.c: Likewise.
41345         * posix/getlogin_r.c: Likewise.
41346         * posix/getpgid.c: Likewise.
41347         * posix/getpid.c: Likewise.
41348         * posix/getppid.c: Likewise.
41349         * posix/getresgid.c: Likewise.
41350         * posix/getresuid.c: Likewise.
41351         * posix/getsid.c: Likewise.
41352         * posix/getuid.c: Likewise.
41353         * posix/glob64.c: Likewise.
41354         * posix/nanosleep.c: Likewise.
41355         * posix/pathconf.c: Likewise.
41356         * posix/pause.c: Likewise.
41357         * posix/posix_madvise.c: Likewise.
41358         * posix/pread.c: Likewise.
41359         * posix/pread64.c: Likewise.
41360         * posix/pwrite.c: Likewise.
41361         * posix/pwrite64.c: Likewise.
41362         * posix/sched_getaffinity.c: Likewise.
41363         * posix/sched_getp.c: Likewise.
41364         * posix/sched_gets.c: Likewise.
41365         * posix/sched_primax.c: Likewise.
41366         * posix/sched_primin.c: Likewise.
41367         * posix/sched_rr_gi.c: Likewise.
41368         * posix/sched_setaffinity.c: Likewise.
41369         * posix/sched_setp.c: Likewise.
41370         * posix/sched_sets.c: Likewise.
41371         * posix/sched_yield.c: Likewise.
41372         * posix/setgid.c: Likewise.
41373         * posix/setlogin.c: Likewise.
41374         * posix/setpgid.c: Likewise.
41375         * posix/setresgid.c: Likewise.
41376         * posix/setresuid.c: Likewise.
41377         * posix/setsid.c: Likewise.
41378         * posix/setuid.c: Likewise.
41379         * posix/sleep.c: Likewise.
41380         * posix/spawni.c: Likewise.
41381         * posix/sysconf.c: Likewise.
41382         * posix/times.c: Likewise.
41383         * posix/wait.c: Likewise.
41384         * posix/wait3.c: Likewise.
41385         * posix/wait4.c: Likewise.
41386         * posix/waitpid.c: Likewise.
41387         * resolv/gai_sigqueue.c: Likewise.
41388         * resource/getpriority.c: Likewise.
41389         * resource/getrlimit.c: Likewise.
41390         * resource/getrusage.c: Likewise.
41391         * resource/nice.c: Likewise.
41392         * resource/setpriority.c: Likewise.
41393         * resource/setrlimit.c: Likewise.
41394         * resource/ulimit.c: Likewise.
41395         * rt/aio_cancel.c: Likewise.
41396         * rt/aio_fsync.c: Likewise.
41397         * rt/aio_read.c: Likewise.
41398         * rt/aio_sigqueue.c: Likewise.
41399         * rt/aio_suspend.c: Likewise.
41400         * rt/aio_write.c: Likewise.
41401         * rt/clock_getres.c: Likewise.
41402         * rt/clock_gettime.c: Likewise.
41403         * rt/clock_nanosleep.c: Likewise.
41404         * rt/clock_settime.c: Likewise.
41405         * rt/lio_listio.c: Likewise.
41406         * rt/mq_close.c: Likewise.
41407         * rt/mq_getattr.c: Likewise.
41408         * rt/mq_notify.c: Likewise.
41409         * rt/mq_open.c: Likewise.
41410         * rt/mq_receive.c: Likewise.
41411         * rt/mq_send.c: Likewise.
41412         * rt/mq_setattr.c: Likewise.
41413         * rt/mq_timedreceive.c: Likewise.
41414         * rt/mq_timedsend.c: Likewise.
41415         * rt/mq_unlink.c: Likewise.
41416         * rt/shm_open.c: Likewise.
41417         * rt/shm_unlink.c: Likewise.
41418         * rt/timer_create.c: Likewise.
41419         * rt/timer_delete.c: Likewise.
41420         * rt/timer_getoverr.c: Likewise.
41421         * rt/timer_gettime.c: Likewise.
41422         * rt/timer_settime.c: Likewise.
41423         * setjmp/__longjmp.c: Likewise.
41424         * setjmp/setjmp.c: Likewise.
41425         * signal/kill.c: Likewise.
41426         * signal/killpg.c: Likewise.
41427         * signal/raise.c: Likewise.
41428         * signal/sigaction.c: Likewise.
41429         * signal/sigaltstack.c: Likewise.
41430         * signal/sigblock.c: Likewise.
41431         * signal/sigignore.c: Likewise.
41432         * signal/sigintr.c: Likewise.
41433         * signal/signal.c: Likewise.
41434         * signal/sigpause.c: Likewise.
41435         * signal/sigpending.c: Likewise.
41436         * signal/sigqueue.c: Likewise.
41437         * signal/sigreturn.c: Likewise.
41438         * signal/sigset.c: Likewise.
41439         * signal/sigsetmask.c: Likewise.
41440         * signal/sigstack.c: Likewise.
41441         * signal/sigsuspend.c: Likewise.
41442         * signal/sigtimedwait.c: Likewise.
41443         * signal/sigvec.c: Likewise.
41444         * signal/sigwait.c: Likewise.
41445         * signal/sigwaitinfo.c: Likewise.
41446         * signal/sysv_signal.c: Likewise.
41447         * socket/accept.c: Likewise.
41448         * socket/accept4.c: Likewise.
41449         * socket/bind.c: Likewise.
41450         * socket/connect.c: Likewise.
41451         * socket/getpeername.c: Likewise.
41452         * socket/getsockname.c: Likewise.
41453         * socket/getsockopt.c: Likewise.
41454         * socket/isfdtype.c: Likewise.
41455         * socket/listen.c: Likewise.
41456         * socket/recv.c: Likewise.
41457         * socket/recvfrom.c: Likewise.
41458         * socket/recvmsg.c: Likewise.
41459         * socket/send.c: Likewise.
41460         * socket/sendmsg.c: Likewise.
41461         * socket/sendto.c: Likewise.
41462         * socket/setsockopt.c: Likewise.
41463         * socket/shutdown.c: Likewise.
41464         * socket/sockatmark.c: Likewise.
41465         * socket/socket.c: Likewise.
41466         * socket/socketpair.c: Likewise.
41467         * stdio-common/ctermid.c: Likewise.
41468         * stdio-common/cuserid.c: Likewise.
41469         * stdio-common/remove.c: Likewise.
41470         * stdio-common/rename.c: Likewise.
41471         * stdio-common/renameat.c: Likewise.
41472         * stdio-common/tempname.c: Likewise.
41473         * stdlib/getcontext.c: Likewise.
41474         * stdlib/makecontext.c: Likewise.
41475         * stdlib/setcontext.c: Likewise.
41476         * stdlib/swapcontext.c: Likewise.
41477         * stdlib/system.c: Likewise.
41478         * streams/fattach.c: Likewise.
41479         * streams/fdetach.c: Likewise.
41480         * streams/getmsg.c: Likewise.
41481         * streams/getpmsg.c: Likewise.
41482         * streams/putmsg.c: Likewise.
41483         * streams/putpmsg.c: Likewise.
41484         * sysdeps/unix/bsd/getpt.c: Likewise.
41485         * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
41486         * sysdeps/unix/sysv/linux/futimens.c: Likewise.
41487         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
41488         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
41489         Likewise.
41490         * sysdeps/unix/sysv/linux/readahead.c: Likewise.
41491         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
41492         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
41493         * sysvipc/msgctl.c: Likewise.
41494         * sysvipc/msgget.c: Likewise.
41495         * sysvipc/msgrcv.c: Likewise.
41496         * sysvipc/msgsnd.c: Likewise.
41497         * sysvipc/semctl.c: Likewise.
41498         * sysvipc/semget.c: Likewise.
41499         * sysvipc/semop.c: Likewise.
41500         * sysvipc/semtimedop.c: Likewise.
41501         * sysvipc/shmat.c: Likewise.
41502         * sysvipc/shmctl.c: Likewise.
41503         * sysvipc/shmdt.c: Likewise.
41504         * sysvipc/shmget.c: Likewise.
41505         * termios/tcdrain.c: Likewise.
41506         * termios/tcflow.c: Likewise.
41507         * termios/tcflush.c: Likewise.
41508         * termios/tcgetattr.c: Likewise.
41509         * termios/tcgetpgrp.c: Likewise.
41510         * termios/tcsendbrk.c: Likewise.
41511         * termios/tcsetattr.c: Likewise.
41512         * termios/tcsetpgrp.c: Likewise.
41513         * time/adjtime.c: Likewise.
41514         * time/clock.c: Likewise.
41515         * time/getitimer.c: Likewise.
41516         * time/gettimeofday.c: Likewise.
41517         * time/setitimer.c: Likewise.
41518         * time/settimeofday.c: Likewise.
41519         * time/stime.c: Likewise.
41520         * time/time.c: Likewise.
41522 2012-11-04  Pino Toscano  <toscano.pino@tiscali.it>
41524         * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
41525         /usr/old/bin.
41527         * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
41528         instead of spaces.
41529         * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
41531 2012-11-03  Joseph Myers  <joseph@codesourcery.com>
41533         [BZ #14796]
41534         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
41535         FE_TONEAREST before applying Dekker multiplication and Knuth
41536         addition.  Clear inexact exceptions and check for exact zero
41537         results afterwards.
41538         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
41539         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
41540         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
41541         * math/libm-test.inc (fma_test): Add more tests.
41542         (fma_test_towardzero): Likewise.
41543         (fma_test_downward): Likewise.
41544         (fma_test_upward): Likewise.
41545         * sysdeps/generic/math_private.h (default_libc_fesetround): New
41546         function.
41547         (libc_fesetround): New macro.
41548         (libc_fesetroundf): Likewise.
41549         (libc_fesetroundl): Likewise.
41550         * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
41551         function.
41552         (libc_fesetround_387): Likewise.
41553         (libc_fesetroundf): New macro.
41554         (libc_fesetround): Likewise.
41555         (libc_fesetroundl): Likewise.
41556         * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
41557         function.
41558         (libc_fesetroundf): New macro.
41559         (libc_fesetround): Likewise.
41560         (libc_fesetroundl): Likewise.
41561         * include/fenv.h (feclearexcept): Add libm_hidden_proto.
41562         * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
41563         * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
41564         libm_hidden_ver.
41565         * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
41566         * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
41567         libm_hidden_def.
41568         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
41569         * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
41570         libm_hidden_ver.
41571         * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
41572         libm_hidden_def.
41574         [BZ #3439]
41575         * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
41576         integer constant usable in #if and use that to give value to enum
41577         constant.
41578         (FE_DIVBYZERO): Likewise.
41579         (FE_UNDERFLOW): Likewise.
41580         (FE_OVERFLOW): Likewise.
41581         (FE_INVALID): Likewise.
41582         (FE_INVALID_SNAN): Likewise.
41583         (FE_INVALID_ISI): Likewise.
41584         (FE_INVALID_IDI): Likewise.
41585         (FE_INVALID_ZDZ): Likewise.
41586         (FE_INVALID_IMZ): Likewise.
41587         (FE_INVALID_COMPARE): Likewise.
41588         (FE_INVALID_SOFTWARE): Likewise.
41589         (FE_INVALID_SQRT): Likewise.
41590         (FE_INVALID_INTEGER_CONVERSION): Likewise.
41591         (FE_TONEAREST): Likewise.
41592         (FE_TOWARDZERO): Likewise.
41593         (FE_UPWARD): Likewise.
41594         (FE_DOWNWARD): Likewise.
41595         * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
41596         (FE_DIVBYZERO): Likewise.
41597         (FE_OVERFLOW): Likewise.
41598         (FE_UNDERFLOW): Likewise.
41599         (FE_INEXACT): Likewise.
41600         (FE_TONEAREST): Likewise.
41601         (FE_DOWNWARD): Likewise.
41602         (FE_UPWARD): Likewise.
41603         (FE_TOWARDZERO): Likewise.
41604         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
41605         (FE_UNDERFLOW): Likewise.
41606         (FE_OVERFLOW): Likewise.
41607         (FE_DIVBYZERO): Likewise.
41608         (FE_INVALID): Likewise.
41609         (FE_TONEAREST): Likewise.
41610         (FE_TOWARDZERO): Likewise.
41611         * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
41612         (FE_OVERFLOW): Likewise.
41613         (FE_UNDERFLOW): Likewise.
41614         (FE_DIVBYZERO): Likewise.
41615         (FE_INEXACT): Likewise.
41616         (FE_TONEAREST): Likewise.
41617         (FE_TOWARDZERO): Likewise.
41618         (FE_UPWARD): Likewise.
41619         (FE_DOWNWARD): Likewise.
41620         * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
41621         (FE_DIVBYZERO): Likewise.
41622         (FE_OVERFLOW): Likewise.
41623         (FE_UNDERFLOW): Likewise.
41624         (FE_INEXACT): Likewise.
41625         (FE_TONEAREST): Likewise.
41626         (FE_DOWNWARD): Likewise.
41627         (FE_UPWARD): Likewise.
41628         (FE_TOWARDZERO): Likewise.
41630 2012-11-02  Chris Metcalf  <cmetcalf@tilera.com>
41632         * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
41634 2012-11-03  Andreas Schwab  <schwab@linux-m68k.org>
41636         * scripts/cross-test-ssh.sh (command): Use newlines to separate
41637         commands.  Quote $PWD.
41638         (blacklist_exports): Don't use remove_newlines.  Replace "declare
41639         -x" by "export".
41640         (remove_newlines): Remove.
41642 2012-11-02  H.J. Lu  <hongjiu.lu@intel.com>
41644         * stdlib/Makefile (headers): Add bits/stdlib-float.h.
41645         * stdlib/stdlib.h (atof): Moved to ...
41646         * include/bits/stdlib-float.h: Here.  New file.
41647         * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
41648         * stdlib/bits/stdlib-float.h: New file.
41649         * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
41650         -mno-sse -mno-mmx.
41651         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
41652         <xmmintrin.h>.
41654 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
41656         * conform/conformtest.pl (@headers): Add fenv.h.
41657         * conform/data/fenv.h-data: New file.
41658         * include/fenv.h [_ISOMAC]: Disable all contents of file except
41659         include of <math/fenv.h>.
41661         * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
41662         POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
41663         && !UNIX98].  Enables tests for XOPEN2K8.
41664         * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
41665         POSIX2008]: Likewise.
41667         * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
41668         (struct rusage): Do not expect type or its members.
41670         [BZ #3439]
41671         * math/math.h (FP_NAN): Define macro to integer constant usable in
41672         #if and use that to give value to enum constant.
41673         (FP_INFINITE): Likewise.
41674         (FP_ZERO): Likewise.
41675         (FP_SUBNORMAL): Likewise.
41676         (FP_NORMAL): Likewise.
41678 2012-11-02  Andreas Schwab  <schwab@linux-m68k.org>
41680         * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
41681         * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
41682         arguments.
41684 2012-11-02  Roland McGrath  <roland@hack.frob.com>
41686         * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
41687         Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
41688         autoconf-time if not.
41689         * configure.in: Remove AC_PREREQ.
41691 2012-11-02  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
41693         * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
41694         __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
41695         of the internal implementation.
41697 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
41699         * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
41700         except include of <misc/sys/syslog.h>.
41702 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
41704         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
41705         function returns with a NULL context exit with zero.
41707 2012-11-01  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
41709         * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
41711 2012-11-01  H.J. Lu  <hongjiu.lu@intel.com>
41713         * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
41714         (run_program_cmd): This.
41715         * localedata/tst-langinfo.sh (run_program_prefix): Removed.
41716         (tst_langinfo): New variable.  Use it.
41718 2012-11-01  Sebastan Andrzej Siewior  <bigeasy@linutronix.de>
41720         * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
41721         floating point opcodes.
41723 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
41725         * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
41726         variable.
41728         * elf/dl-support.c: Unconditionally include "setup-vdso.h".
41730         * sysdeps/mach/hurd/powerpc: Remove directory.
41731         * sysdeps/mach/powerpc: Likewise.
41733 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
41735         * scripts/check-local-headers.sh: Ignore c++ headers.
41737 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
41739         * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
41740         __libc_cleanup_region_start argument.
41742 2012-11-01  Joseph Myers  <joseph@codesourcery.com>
41744         [BZ #14784]
41745         [BZ #14785]
41746         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
41747         x * y using scaling, not as x * y + z.
41748         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
41749         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
41750         * math/libm-test.inc (fma_test): Add more tests.
41751         (fma_test_towardzero): Likewise.
41752         (fma_test_downward): Likewise.
41753         (fma_test_upward): Likewise.
41755 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
41757         * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
41759 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
41761         * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
41762         New variable.
41764 2012-10-31  Thomas Schwinge  <thomas@codesourcery.com>
41766         * rt/tst-shm.c (worker): Correct checking for mmap failure.
41768 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
41770         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
41771         Fix sort order.
41772         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
41773         Likewise.
41775 2012-10-31  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
41777         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
41778         Fix the order of the list for glibc 2.17.
41779         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
41780         Likewise.
41782 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
41784         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
41786 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
41788         [BZ #14610]
41789         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
41790         for low part of x being zero before using __atanl (y).
41791         * math/libm-test.inc (atan2_test): Add another test.
41793         * manual/install.texi (Configuring and compiling): Document
41794         general use of test-wrapper and test-wrapper-env.
41795         * INSTALL: Regenerated.
41797         * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
41798         (__fma): Do not extract and scale down low bits on after-rounding
41799         systems when result rounded to normal precision would have normal
41800         exponent.
41801         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
41802         (__fmal): Do not extract and scale down low bits on after-rounding
41803         systems when result rounded to normal precision would have normal
41804         exponent.
41805         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
41806         (__fmal): Do not extract and scale down low bits on after-rounding
41807         systems when result rounded to normal precision would have normal
41808         exponent.
41809         * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
41810         macro.
41811         (fma_test): Add more tests.
41812         (fma_test_towardzero): Likewise.
41813         (fma_test_downward): Likewise.
41814         (fma_test_upward): Likewise.
41816 2012-10-30  H.J. Lu  <hongjiu.lu@intel.com>
41818         * sysdeps/i386/tininess.h: Renamed to ...
41819         * sysdeps/x86/tininess.h: This.
41820         * sysdeps/x86_64/tininess.h: Removed.
41822 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
41824         * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
41825         input.  Use $(build-program-cmd).
41826         ($(objpfx)tst-array1-static.out): Likewise.
41827         ($(objpfx)tst-array2.out): Likewise.
41828         ($(objpfx)tst-array3.out): Likewise.
41829         ($(objpfx)tst-array4.out): Likewise.
41830         ($(objpfx)tst-array5.out): Likewise.
41831         ($(objpfx)tst-array5-static.out): Likewise.
41833 2012-10-30  Chris Metcalf  <cmetcalf@tilera.com>
41835         * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
41836         if defined.
41838         * nss/nsswitch.h (nss_interface_function): Provide new
41839         macro for use with NSS functions.
41840         * grp/initgroups.c: Use new macro.
41841         * nss/getXXbyYY.c: Likewise.
41842         * nss/getXXbyYY_r.c: Likewise.
41843         * nss/getXXent.c: Likewise.
41844         * nss/getXXent_r.c: Likewise.
41845         * sysdeps/posix/getaddrinfo.c: Likewise.
41847 2012-10-30  Andreas Jaeger  <aj@suse.de>
41849         * po/ru.po: Update Russion translation from translation project.
41851 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
41853         [BZ #14152]
41854         [BZ #14783]
41855         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
41856         result and shift together with sticky bit instead of replicating
41857         round-to-nearest rounding.
41858         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
41859         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
41860         * math/libm-test.inc (fma_test): Add more tests.  Do not permit
41861         missing underflow exceptions.
41862         (fma_test_towardzero): Add more tests.
41863         (fma_test_downward): Likewise.
41864         (fma_test_upward): Likewise.
41866         [BZ #14047]
41867         * sysdeps/generic/tininess.h: New file.
41868         * sysdeps/i386/tininess.h: Likewise.
41869         * sysdeps/sh/tininess.h: Likewise.
41870         * sysdeps/x86_64/tininess.h: Likewise.
41871         * stdlib/tst-strtod-underflow.c: Likewise.
41872         * stdlib/tst-tininess.c: Likewise.
41873         * stdlib/strtod_l.c: Include <tininess.h>.
41874         (round_and_return): Do not set errno for exact underflow cases.
41875         Force an underflow exception when setting errno for underflow.
41876         Determine underflow based on rounding to normal precision if
41877         TININESS_AFTER_ROUNDING.
41878         * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
41879         ERANGE for exact underflow cases.
41880         * stdlib/Makefile (tests): Add tst-tininess and
41881         tst-strtod-underflow.
41882         ($(objpfx)tst-tininess): Use $(link-libm).
41883         ($(objpfx)tst-strtod-underflow): Likewise.
41885 2012-10-30  Andreas Jaeger  <aj@suse.de>
41887         [BZ#14767]
41888         * elf/Makefile (tests): Remove conditional for have-initfini-array
41889         since this is now always required and the variable does not exist
41890         anymore.
41891         (tests-static): Likewise.
41892         (modules-names): Likewise.
41894         * po/eo.po: Add Esperanto translation from translation project.
41896         * elf/tst-array1.c (fini_array): Make writeable so that it can be
41897         merged with constructor/destructor.
41898         (init_array): Likewise.
41899         * elf/tst-array2dep.c (fini_array): Likewise.
41900         (init_array): Likewise.
41902 2012-10-29  Mike Frysinger  <vapier@gentoo.org>
41904         * manual/message.texi: Delete @cartouche tags.
41906 2012-10-29  Pino Toscano  <toscano.pino@tiscali.it>
41908         * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
41909         EOPNOTSUPP.
41910         * sysdeps/mach/hurd/fsync.c: Likewise.
41912         * sysdeps/pthread/aio_notify.c (__aio_notify_only)
41913         [_POSIX_REALTIME_SIGNALS]: Change condition to
41914         [_POSIX_REALTIME_SIGNALS > 0].
41916 2012-10-27  Andreas Jaeger  <aj@suse.de>
41918         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
41919         [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
41920         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
41921         [__WORDSIZE != 64]: Likewise.
41923 2012-10-26  H.J. Lu  <hongjiu.lu@intel.com>
41925         *  iconvdata/tst-table.sh: Remove ${SHELL}.
41926         *  iconvdata/tst-tables.sh: Likewise.
41928 2012-10-25  David S. Miller  <davem@davemloft.net>
41930         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
41931         (__get_clockfreq_via_proc_openprom): Use strtoumax instead
41932         of strtoull.
41934         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
41935         ifunc-impl-list.c
41936         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
41937         * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
41938         * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
41939         file.
41941 2012-10-25  Roland McGrath  <roland@hack.frob.com>
41943         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
41944         (__get_clockfreq_via_proc_openprom): Use __getdents instead of
41945         __getdirentries.
41947 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
41948             Jim Blandy  <jimb@codesourcery.com>
41950         * scripts/cross-test-ssh.sh: New file.
41951         * manual/install.texi (Configuring and compiling): Document use of
41952         cross-test-ssh.sh.
41953         * INSTALL: Regenerated.
41955 2012-10-25  Pino Toscano  <toscano.pino@tiscali.it>
41957         * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
41958         EOPNOTSUPP.
41960 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
41962         * Makeconfig (run-program-prefix): Fix comment.
41964 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
41965             Jim Blandy  <jimb@codesourcery.com>
41967         * Makeconfig (test-wrapper): New variable,
41968         (test-wrapper-env): Likewise.
41969         [$(cross-compiling) = yes && $(test-wrapper) != ""]
41970         (run-built-tests): Define to yes.
41971         (run-program-prefix): Use $(test-wrapper).
41972         (built-program-cmd): Likewise.
41973         * Rules (make-test-out): Use $(test-wrapper-env) and
41974         $(host-built-program-cmd).
41975         * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
41976         ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
41977         tst-pathopt.sh.
41978         ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
41979         $(test-wrapper-env) to tst-rtld-load-self.sh.
41980         ($(objpfx)order2.out): Use $(test-wrapper).
41981         ($(objpfx)tst-initorder.out): Likewise.
41982         ($(objpfx)tst-initorder2.out): Likewise.
41983         ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
41984         * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
41985         (test_wrapper_env): New variable.  Use it to run ld.so.
41986         * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
41987         Use it to run ld.so.
41988         (test_wrapper_env): Likewise.
41989         * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
41990         $(test-wrapper) to run-iconv-test.sh.
41991         * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
41992         (ICONV): Use $test_wrapper.
41993         * posix/Makefile ($(objpfx)globtest.out): Pass
41994         $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
41995         globtest.sh, not $(run-program-prefix).
41996         * posix/globtest.sh (run_via_rtld_prefix): New variable.
41997         (test_wrapper): Likewise.
41998         (test_wrapper_env): Likewise.  Use it to run globtest with HOME
41999         set together with run_via_rtld_prefix.
42000         (run_program_prefix): Define in terms of test_wrapper and
42001         run_via_rtld_prefix.
42003 2012-10-24  Roland McGrath  <roland@hack.frob.com>
42005         * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
42006         * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
42007         Targets removed.
42009         [BZ #14743]
42010         * include/time.h: Remove librt_hidden_proto (clock_gettime).
42011         Declare __clock_getres, __clock_gettime, __clock_settime,
42012         __clock_nanosleep, and __clock_getcpuclockid.
42013         * rt/clock_gettime.c: Define __clock_gettime as an alias.
42014         Remove librt_hidden_def (clock_gettime).
42015         * sysdeps/unix/clock_gettime.c: Likewise.
42016         * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
42017         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
42018         * rt/clock_getres.c: Define __clock_getres as an alias.
42019         * sysdeps/posix/clock_getres.c: Likewise.
42020         * rt/clock_settime.c: Define __clock_settime as an alias.
42021         * sysdeps/unix/clock_settime.c: Likewise.
42022         * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
42023         * sysdeps/unix/clock_nanosleep.c: Likewise.
42024         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
42025         * rt/clock-compat.c: New file.
42026         * rt/Makefile (librt-routines): Add clock-compat and move
42027         $(clock-routines) to ...
42028         (routines): ... here, new variable.
42029         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
42030         Don't add get_clockfreq here.
42031         * rt/Versions (libc: GLIBC_2.17): New version set.
42032         Add clock_* symbols here.
42033         (libc: GLIBC_PRIVATE): New version set.  Add __clock_* symbols here.
42034         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
42035         (GLIBC_2.17): Add clock_* symbols.
42036         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
42037         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
42038         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
42039         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
42040         Likewise.
42041         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
42042         Likewise.
42043         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
42044         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
42045         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
42046         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
42047         * NEWS: Mention the move.
42049         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
42050         Use __open, __read, __close rather than their public counterparts.
42051         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
42052         (__get_clockfreq_via_cpuinfo): Likewise.
42053         (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
42054         (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
42056         * config.h.in (HAVE_IFUNC): New #undef.
42057         * configure.in: Define it if libc_cv_ld_gnu_indirect_function
42058         was successful.
42059         * configure: Regenerated.
42061 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
42063         * configure.in: Move READELF check to start of file.
42064         (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
42065         libc_cv_asm_gnu_indirect_function in the process.
42066         * configure: Regenerated.
42068 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
42070         * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
42071         send the output to /dev/null.
42072         (libc_cv_cc_with_libunwind): Likewise.
42073         (libc_cv_as_noexecstack): Likewise.
42074         * configure: Regenerate.
42076 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
42078         * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
42080         * posix/globtest.sh (TMPDIR): Do not set.
42081         (testdir): Define using ${common_objpfx}posix not $TMPDIR.
42082         (testout): Likewise.
42084 2012-10-24  Andreas Jaeger  <aj@suse.de>
42086         * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
42087         types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
42088         [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
42089         [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
42090         posix_fadvise64, posix_fallocate64.
42092         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
42093         (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
42094         (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
42095         Likewise.
42096         (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
42097         Likewise.
42098         (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
42100         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
42101         (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
42102         <bits/fcntl-linux.h>.
42103         (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
42105         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
42106         (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
42107         (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
42108         (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
42109         [__WORDSIZE != 64]: Likewise.
42111 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
42113         * Makeconfig (run-built-tests): New variable.
42114         * Rules [$(cross-compiling) = yes]: Change condition to
42115         [$(run-built-tests) = no].
42116         * catgets/Makefile [$(cross-compiling) != yes]: Change condition
42117         to [$(run-built-tests) = yes].
42118         * elf/Makefile [$(cross-compiling) = no]: Likewise
42119         * grp/Makefile [$(cross-compiling) = no]: Likewise.
42120         * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
42121         * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
42122         * intl/Makefile [$(cross-compiling) = no]: Likewise.
42123         * io/Makefile [$(cross-compiling) = no]: Likewise.
42124         * libio/Makefile [$(cross-compiling) = no]: Likewise.
42125         * malloc/Makefile [$(cross-compiling) = no]: Likewise.
42126         * misc/Makefile [$(cross-compiling) = no]: Likewise.
42127         * posix/Makefile [$(cross-compiling) = no]: Likewise.
42128         * resolv/Makefile [$(cross-compiling) = no]: Likewise.
42129         * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
42130         * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
42131         * string/Makefile [$(cross-compiling) = no]: Likewise.
42133         * posix/Makefile ($(objpfx)globtest.out): Pass
42134         $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
42135         $(rtld-installed-name).
42136         * posix/globtest.sh (elf_objpfx): Remove variable.
42137         (rtld_installed_name): Likewise.
42138         (library_path): Likewise.
42139         (run_program_prefix): New variable.  Use for running globtest
42140         binary.
42142 2012-10-23  Jim Blandy  <jimb@codesourcery.com>
42143             Joseph Myers  <joseph@codesourcery.com>
42145         * Makeconfig (host-built-program-cmd): New variable.
42146         * elf/Makefile (tst-stackguard1-ARGS): Use
42147         $(host-built-program-cmd).
42148         * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
42149         (tst-spawn-ARGS): Likewise.
42150         * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
42152 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
42153             Jim Blandy  <jimb@codesourcery.com>
42155         * Makeconfig (run-via-rtld-prefix): New variable.
42156         (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
42157         (built-program-cmd): Likewise.
42159 2012-10-22  Andreas Jaeger  <aj@suse.de>
42161         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
42162         __O_RSYNC if it exists, otherwise to O_SYNC.
42164 2012-10-22  Jim Blandy  <jimb@codesourcery.com>
42165             Joseph Myers  <joseph@codesourcery.com>
42167         * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
42168         /dev/null.
42169         * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
42170         from /dev/null
42171         * posix/tst-getconf.sh: Redirect getconf stdin in loop from
42172         /dev/null.
42174 2012-10-22  Andreas Jaeger  <aj@suse.de>
42176         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
42177         Define always.
42178         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
42180         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
42181         bits/fcntl-linux.h.
42183         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
42184         (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
42186         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
42187         to __O_LARGEFILE.
42188         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
42189         to __O_LARGEFILE.
42191 2012-10-21  Jim Blandy  <jimb@codesourcery.com>
42192             Joseph Myers  <joseph@codesourcery.com>
42194         * config.make.in (NM): New variable.
42196 2012-10-21  Andreas Jaeger  <aj@suse.de>
42198         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
42199         definitions and declarations that are provided by
42200         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
42202 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
42204         [BZ #14683]
42205         * elf/Makefile (tests-static): Add tst-leaks1-static.
42206         (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
42207         ($(objpfx)tst-leaks1-static): New rule.
42208         ($(objpfx)tst-leaks1-static-mem): Likewise.
42209         (tst-leaks1-static-ENV): New macro.
42210         * elf/dl-open.c (dl_open_worker): Check the main application
42211         only if SHARED is defined.
42212         * elf/tst-leaks1-static.c: New file.
42214 2012-10-20  Andreas Jaeger  <aj@suse.de>
42216         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
42217         generic values for Linux.
42218         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
42219         and declarations that are provided by <bits/fcntl-linux.h> and
42220         include <bits/fcntl-linux.h>.
42221         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
42222         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
42224 2012-10-20  Roland McGrath  <roland@hack.frob.com>
42226         * io/fcntl.h: Move include of <bits/types.h> to the top and
42227         include it unconditionally.
42229 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
42231         * wcsmbs/Makefile (tests-ifunc): New variable.
42232         (tests): Add $(tests-ifunc).
42233         * wcsmbs/test-wcschr-ifunc.c: New file.
42234         * wcsmbs/test-wcscmp-ifunc.c: Likewise.
42235         * wcsmbs/test-wcscpy-ifunc.c: Likewise.
42236         * wcsmbs/test-wcslen-ifunc.c: Likewise.
42237         * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
42238         * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
42240         * string/Makefile (tests-ifunc): New variable.
42241         (tests): Add $(tests-ifunc).
42242         * string/test-memccpy.c (TEST_NAME): New macro.
42243         * string/test-memchr.c (TEST_NAME): Likewise.
42244         * string/test-memcmp.c (TEST_NAME): Likewise.
42245         * string/test-memcpy.c (TEST_NAME): Likewise.
42246         * string/test-memmem.c (TEST_NAME): Likewise.
42247         * string/test-memmove.c (TEST_NAME): Likewise.
42248         * string/test-memset.c (TEST_NAME): Likewise.
42249         * string/test-rawmemchr.c (TEST_NAME): Likewise.
42250         * string/test-stpcpy.c (TEST_NAME): Likewise.
42251         * string/test-stpncpy.c (TEST_NAME): Likewise.
42252         * string/test-strcasecmp.c (TEST_NAME): Likewise.
42253         * string/test-strcasestr.c (TEST_NAME): Likewise.
42254         * string/test-strcat.c (TEST_NAME): Likewise.
42255         * string/test-strchr.c (TEST_NAME): Likewise.
42256         * string/test-strcmp.c(TEST_NAME): Likewise.
42257         * string/test-strcpy.c (TEST_NAME): Likewise.
42258         * string/test-strcspn.c (TEST_NAME): Likewise.
42259         * string/test-strlen.c (TEST_NAME): Likewise.
42260         * string/test-strncasecmp.c (TEST_NAME): Likewise.
42261         * string/test-strncmp.c (TEST_NAME): Likewise.
42262         * string/test-strncpy.c (TEST_NAME): Likewise.
42263         * string/test-strnlen.c (TEST_NAME): Likewise.
42264         * string/test-strpbrk.c (TEST_NAME): Likewise.
42265         * string/test-strrchr.c (TEST_NAME): Likewise.
42266         * string/test-strspn.c (TEST_NAME): Likewise.
42267         * string/test-strstr.c (TEST_NAME): Likewise.
42268         * string/test-bcopy-ifunc.c: New file.
42269         * string/test-bzero-ifunc.c: Likewise.
42270         * string/test-memccpy-ifunc.c: Likewise.
42271         * string/test-memchr-ifunc.c: Likewise.
42272         * string/test-memcmp-ifunc.c: Likewise.
42273         * string/test-memcpy-ifunc.c: Likewise.
42274         * string/test-memmem-ifunc.c: Likewise.
42275         * string/test-memmove-ifunc.c: Likewise.
42276         * string/test-mempcpy-ifunc.c: Likewise.
42277         * string/test-memset-ifunc.c: Likewise.
42278         * string/test-rawmemchr-ifunc.c: Likewise.
42279         * string/test-stpcpy-ifunc.c: Likewise.
42280         * string/test-stpncpy-ifunc.c: Likewise.
42281         * string/test-strcasecmp-ifunc.c: Likewise.
42282         * string/test-strcasestr-ifunc.c: Likewise.
42283         * string/test-strcat-ifunc.c: Likewise.
42284         * string/test-strchr-ifunc.c: Likewise.
42285         * string/test-strchrnul-ifunc.c: Likewise.
42286         * string/test-strcmp-ifunc.c: Likewise.
42287         * string/test-strcpy-ifunc.c: Likewise.
42288         * string/test-strcspn-ifunc.c: Likewise.
42289         * string/test-strlen-ifunc.c: Likewise.
42290         * string/test-strncasecmp-ifunc.c: Likewise.
42291         * string/test-strncat-ifunc.c: Likewise.
42292         * string/test-strncmp-ifunc.c: Likewise.
42293         * string/test-strncpy-ifunc.c: Likewise.
42294         * string/test-strnlen-ifunc.c: Likewise.
42295         * string/test-strpbrk-ifunc.c: Likewise.
42296         * string/test-strrchr-ifunc.c: Likewise.
42297         * string/test-strspn-ifunc.c: Likewise.
42298         * string/test-strstr-ifunc.c: Likewise.
42300         * debug/Makefile (tests-ifunc): New variable.
42301         (tests): Add $(tests-ifunc).
42302         * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
42303         * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
42304         * debug/test-stpcpy_chk-ifunc.c: New file.
42305         * debug/test-strcpy_chk-ifunc.c: Likewise.
42307 2012-10-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
42309         [BZ #13601]
42310         * elf/dl-load.c (open_verify): Retry read if the entire ELF
42311         header is not read in.
42313 2012-10-19  Joseph Myers  <joseph@codesourcery.com>
42315         * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh.  Pass
42316         script to $(SHELL) as $<.  Pass $(common-objpfx) to script
42317         directly.  Pass built executable to script as
42318         $(built-program-cmd).
42319         * io/ftwtest-sh (ldso): Remove variable.  Run ftwtest directly as
42320         $testprogram without using LD_LIBRARY_PATH and $ldso.
42322         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
42323         $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
42324         $(rtld-installed-name).
42325         * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
42326         (rtld_installed_name): Likewise.
42327         (library_path): Likewise.
42328         (run_program_prefix): New variable.  Use it to run tst_fgetgrent.
42329         * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
42330         $(run-program-prefix) to tst-tables.sh.
42331         * iconvdata/tst-table.sh (run_program_prefix): New variable.  Use
42332         it to run tst-table-from and tst-table-to.
42333         * iconvdata/tst-tables.sh (run_program_prefix): New variable.
42334         Pass it to tst-table.sh.
42335         * intl/Makefile ($(objpfx)tst-gettext.out): Pass
42336         $(run-program-prefix) to tst-gettext.sh.
42337         ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
42338         tst-translit.sh.
42339         ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
42340         tst-gettext2.sh.
42341         * intl/tst-gettext.sh (run_program_prefix): New variable.  Use it
42342         to run tst-gettext.
42343         * intl/tst-gettext2.sh (run_program_prefix): New variable.  Use it
42344         to run tst-gettext2.
42345         * intl/tst-translit.sh (run_program_prefix): New variable.  Use it
42346         to run tst-translit.
42347         * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
42348         $(run-program-prefix) to tst-mtrace.sh.
42349         * malloc/tst-mtrace.sh (run_program_prefix): New variable.  Use it
42350         to run tst-mtrace.
42351         * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
42352         $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
42353         $(rtld-installed-name).
42354         * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
42355         (rtld_installed_name): Likewise.
42356         (run_program_prefix): New variable.  Use it to run wordexp-test.
42358         * Makeconfig (ARCH): Remove all definitions.
42359         (machine): Likewise.
42360         [ARCH]: Remove conditional code.
42361         [!objdir]: Give error.
42362         [!objdir] (objpfx): Remove.
42363         [!objdir] (common-objpfx): Likewise.
42364         [!objdir] (common-objdir): Likewise.
42365         * configure.in (config_makefile): Remove.  Hardcode Makefile in
42366         AC_CONFIG_FILES call.
42367         * configure: Regenerated.
42369         [BZ #13888]
42370         * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
42371         or TMPDIR.
42372         (testout): Likewise.
42374         * posix/Makefile ($(objpfx)tst-getconf.out): Pass
42375         $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
42376         $(rtld-installed-name).
42377         * posix/tst-getconf.sh (elf_objpfx): Remove variable.
42378         (rtld_installed_name): Likwise.
42379         (runit): Remove function.
42380         (run_getconf): New variable,  Use it for running getconf binary.
42382 2012-10-18  H.J. Lu  <hongjiu.lu@intel.com>
42384         [BZ #14716]
42385         * string/test-memmem.c (check_result): New function.
42386         (do_one_test): Use it.
42387         (check1): New function.
42388         (test_main): Use it.
42390 2012-10-18  Markus Trippelsdorf  <markus@trippelsdorf.de>
42392         * math/Makefile: Comment on slow compilation of test-tgmath2.c.
42394 2012-10-18  Joseph Myers  <joseph@codesourcery.com>
42396         * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
42397         (_G_LSEEK64): Likewise.
42398         (_G_MMAP64): Likewise.
42399         (_G_FSTAT64): Likewise.
42400         * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
42401         (_G_LSEEK64): Likewise.
42402         (_G_MMAP64): Likewise.
42403         (_G_FSTAT64): Likewise.
42404         * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
42405         unconditional.  Call __mmap64 directly.
42406         (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
42407         (mmap_remap_check) [_G_LSEEK64]: Make code unconditional.  Call
42408         __lseek64 directly.
42409         (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
42410         (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional.  Call
42411         __mmap64 directly.
42412         (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
42413         (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional.  Call
42414         __lseek64 directly.
42415         (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
42416         (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional.  Call
42417         __lseek64 directly.
42418         (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
42419         (_IO_file_seek) [_G_LSEEK64]: Make code unconditional.  Call
42420         __lseek64 directly.
42421         (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
42422         (_IO_file_stat) [_G_FSTAT64]: Make code unconditional.  Call
42423         __fxstat64 directly.
42424         (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
42425         * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
42426         unconditional.
42427         (freopen64) [!_G_OPEN64]: Remove conditional code.
42428         * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
42429         unconditional.
42430         (fseeko64) [!_G_LSEEK64]: Remove conditional code.
42431         * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
42432         unconditional.
42433         (ftello64) [!_G_LSEEK64]: Remove conditional code.
42434         * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
42435         unconditional.
42436         (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
42437         * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
42438         unconditional.
42439         (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
42440         * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
42441         unconditional.
42442         (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
42443         * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
42444         unconditional.
42445         (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
42446         * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
42447         unconditional.
42448         (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
42450 2012-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
42452         [BZ #12140]
42453         * manual/memory.texi (Malloc Tunable Parameters): Add note
42454         about free list pointers overwriting some perturb bytes.
42455         Wording suggested by Roland McGrath.
42457 2012-10-17  Joseph Myers  <joseph@codesourcery.com>
42459         * math/libm-test.inc (gamma_test): Do not call feclearexcept.
42460         (lgamma_test): Likewise.
42461         (tgamma_test): Likewise.
42463 2012-10-16  Florian Weimer  <fweimer@redhat.com>
42465         [BZ #14700]
42466         * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
42467         (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
42469 2012-10-16  Maxim Kuvyrkov  <maxim@codesourcery.com>
42471         * NEWS: Mention BZ #14716.
42472         * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
42473         when removing AVAILABLE1_USES_J macro.
42475 2012-10-12  H.J. Lu  <hongjiu.lu@intel.com>
42477         * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
42478         (__bswap_64): __uint64_t for unsigned 64-bit int.
42480 2012-10-12  Andreas Schwab  <schwab@linux-m68k.org>
42482         * include/string.h (memmem): Declare libc hidden alias.
42483         * string/memmem.c (memmem): Define libc hidden alias.
42484         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
42485         __read, __close instead of open, read, close.
42487 2012-10-11  H.J. Lu  <hongjiu.lu@intel.com>
42489         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
42490         * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
42491         global and hidden.
42492         * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
42493         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
42494         * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
42495         Likewise.
42496         (__rawmemchr_sse2): Likewise.
42497         * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
42498         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
42499         (__strchr_sse2): Likewise.
42500         * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
42501         * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
42502         (__strcasecmp_sse2): Likewise.
42503         (__strncasecmp_sse2): Likewise.
42504         * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
42505         * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
42506         * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
42507         * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
42508         (__strrchr_sse2): Likewise.
42509         * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
42510         ifunc-impl-list.c.
42511         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
42512         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
42513         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
42514         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
42515         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
42516         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
42517         * sysdeps/x86_64/multiarch/memset.S: Likewise.
42518         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
42519         * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
42520         * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
42521         * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
42522         * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
42523         * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
42524         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
42525         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
42526         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
42527         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
42528         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
42529         * sysdeps/x86_64/multiarch/strlen.S: Likewise.
42530         * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
42531         * sysdeps/x86_64/multiarch/strncat.S: Likewise.
42532         * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
42533         * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
42534         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
42535         * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
42536         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
42537         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
42538         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
42539         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
42540         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
42542         * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
42543         global and hidden.
42544         * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
42545         * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
42546         * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
42547         * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
42548         Likewise.
42549         * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
42550         Likewise.
42551         * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
42552         * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
42553         * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
42554         * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
42555         ifunc-impl-list.c.
42556         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
42557         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
42558         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
42559         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
42560         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
42561         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
42562         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
42563         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
42564         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
42565         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
42566         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
42567         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
42568         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
42569         * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
42570         * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
42571         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
42572         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
42573         * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
42574         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
42575         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
42576         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
42577         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
42578         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
42579         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
42580         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
42581         * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
42582         * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
42583         * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
42584         * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
42585         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
42586         * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
42587         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
42588         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
42589         * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
42590         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
42591         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
42592         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
42593         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
42594         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
42595         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
42596         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
42598         * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
42599         [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
42600         * include/ifunc-impl-list.h: New file.
42601         * misc/ifunc-impl-list.c: Likewise.
42602         * misc/Makefile (routines): Add ifunc-impl-list.
42603         * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
42604         * string/test-string.h: Include <ifunc-impl-list.h>.
42605         (func_list, func_count, impl_count, impl_array) [TEST_IFUNC &&
42606         TEST_NAME]: New variables.
42607         (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
42608         are defined.
42609         (test_init): Call __libc_ifunc_impl_list to initialize
42610         func_list if TEST_IFUNC and TEST_NAME are defined.
42612         * string/Makefile (strop-tests): Add bcopy and bzero.
42613         * string/test-bcopy.c: New file.
42614         * string/test-bzero.c: Likewise.
42615         * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
42616         defined.
42617         * string/test-memset.c: Support bzero test if TEST_BZERO is
42618         defined.
42619         * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
42620         __libc_memmove.
42621         * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
42622         __libc_memset.
42623         * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
42624         of memset.
42626 2012-10-10  Joseph Myers  <joseph@codesourcery.com>
42628         * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
42629         * configure: Regenerated.
42631         * Makeconfig (+link-static-before-libc): Don't include
42632         $(link-static-libc).
42634         * libio/libio.h (_IO_pos_t): Remove.
42636 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
42638         * NEWS: Add note about FIPS mode.  Wording suggested by Roland
42639         McGrath.
42641 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
42643         * crypt/crypt-entry.c: Include fips-private.h.
42644         (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
42645         * crypt/md5c-test.c (main): Tolerate disabled MD5.
42646         * sysdeps/unix/sysv/linux/fips-private.h: New file.
42647         * sysdeps/generic/fips-private.h: New file, dummy fallback.
42649 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
42651         * crypt/crypt-private.h: Include stdbool.h.
42652         (_ufc_setup_salt_r): Return bool.
42653         * crypt/crypt-entry.c: Include errno.h.
42654         (__crypt_r): Return NULL with EINVAL for bad salt.
42655         * crypt/crypt_util.c (bad_for_salt): New.
42656         (_ufc_setup_salt_r): Check that salt is long enough and within
42657         the specified alphabet.
42658         * crypt/badsalttest.c: New file.
42659         * crypt/Makefile (tests): Add it.
42660         ($(objpfx)badsalttest): New.
42662 2012-10-09  Maxim Kuvyrkov  <maxim@codesourcery.com>
42664         * NEWS: Add entry for BZ #14602.
42666 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
42668         * math/gen-libm-test.pl (parse_args): Handle comparison macros as
42669         type-generic.
42670         * math/libm-test.inc: Update comment listing what functions and
42671         macros are tested.
42672         (isgreater_test): New function.
42673         (isgreaterequal_test): Likewise.
42674         (isless_test): Likewise.
42675         (islessequal_test): Likewise.
42676         (islessgreater_test): Likewise.
42677         (isunordered_test): Likewise.
42678         (main): Call the new functions.
42680 2012-10-09  Roland McGrath  <roland@hack.frob.com>
42682         * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
42683         _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
42684         AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
42685         * sysdeps/i386/configure: Regenerated.
42686         * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
42687         * sysdeps/mach/configure: Regenerated.
42688         * sysdeps/mach/hurd/configure: Regenerated.
42689         * sysdeps/powerpc/configure: Regenerated.
42690         * sysdeps/powerpc/powerpc32/configure: Regenerated.
42691         * sysdeps/powerpc/powerpc64/configure: Regenerated.
42692         * sysdeps/s390/s390-32/configure: Regenerated.
42693         * sysdeps/s390/s390-64/configure: Regenerated.
42694         * sysdeps/sh/configure: Regenerated.
42695         * sysdeps/sparc/configure: Regenerated.
42696         * sysdeps/unix/sysv/linux/configure: Regenerated.
42697         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
42698         * sysdeps/x86_64/configure: Regenerated.
42700         * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
42701         defined.  Don't check if MAP is NULL.
42703 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
42705         * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
42706         (_G_stat64): Likewise.
42707         * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
42708         (_G_stat64): Likewise.
42709         * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
42710         instead of struct _G_stat64.
42711         * libio/fileops.c (mmap_remap_check): Likewise.
42712         (decide_maybe_mmap): Likewise.
42713         (_IO_new_file_seekoff): Likewise.
42714         (_IO_file_stat): Likewise.
42715         * libio/libio.h (_IO_off64_t): Define to __off64_t, not
42716         _G_off64_t.
42717         * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
42718         instead of struct _G_stat64.
42719         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
42721 2012-10-08  Maxim Kuvyrkov  <maxim@codesourcery.com>
42723         [BZ #14602]
42724         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
42725         Replace with ...
42726         (CHECK_EOL): New macro.
42727         (two_way_short_needle): Check beginning of haystack for EOL.  Use
42728         CHECK_EOL.
42729         * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
42730         Replace with CHECK_EOL.
42731         * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
42732         Replace with CHECK_EOL.
42734 2012-10-08  Joseph Myers  <joseph@codesourcery.com>
42736         * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
42737         type-generic.
42738         * math/libm-test.inc: Update comment listing what functions and
42739         macros are tested.
42740         (finite_test): New function.
42741         (isinf_test): Likewise.
42742         (isnan_test): Likewise.
42743         (fpclassify_test): Test subnormal input.
42744         (isfinite_test): Likewise.
42745         (isnormal_test): Likewise.
42746         (main): Call the new functions.
42748 2012-10-08  Jonathan Nieder  <jrnieder@gmail.com>
42750         [BZ #14660]
42751         * Makerules (%.dynsym): Force C locale when running
42752         $(OBJDUMP) --dynamic-syms.
42754 2012-10-08  Andreas Schwab  <schwab@linux-m68k.org>
42756         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
42757         <stdint.h>.
42759 2012-10-06  David S. Miller  <davem@davemloft.net>
42761         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
42762         upper 32-bits of the length value in %o2 since we use branch-on-register
42763         tests which consider the entire 64-bit register.
42765 2012-10-06  H.J. Lu  <hongjiu.lu@intel.com>
42767         * string/test-strstr.c (check2): Add a test for page boundary.
42769 2012-10-05  David S. Miller  <davem@davemloft.net>
42771         * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
42772         * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
42773         file.
42774         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
42775         sysdep_routines.
42776         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
42777         * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
42778         and bzero when HWCAP_SPARC_CRYPTO is present.
42780 2012-10-05  H.J. Lu  <hongjiu.lu@intel.com>
42782         [BZ #14602]
42783         * string/test-strstr.c (check2): New function.
42784         (test_main): Call check2.
42786         * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
42787         and bug-strchr1.
42788         * string/bug-strcasestr1.c (do_test): Moved to ...
42789         * string/test-strcasestr.c (check1): Here.  New function.
42790         (do_one_test): Break out result checking code into ...
42791         (check_result): This.  New function.
42792         (do_one_test): Call check_result.
42793         (test_main): Call check1.
42794         * string/bug-strchr1.c (do_test): Moved to ...
42795         * string/test-strchr.c (check1): Here.  New function.
42796         (do_one_test): Break out result checking code into ...
42797         (check_result): This.  New function.
42798         (do_one_test): Call check_result.
42799         (test_main): Call check1.
42800         * string/bug-strstr1.c (main): Moved to ...
42801         * string/test-strstr.c (check1): Here.  New function.
42802         (do_one_test): Break out result checking code into ...
42803         (check_result): This.  New function.
42804         (do_one_test): Call check_result.
42805         (test_main): Call check1.
42806         * string/bug-strcasestr1.c: Removed.
42807         * string/bug-strchr1.c: Likewise.
42808         * string/bug-strstr1.c: Likewise.
42810         * elf/Makefile (dl-routines): Add hwcaps.
42811         * elf/dl-support.c (_dl_important_hwcaps): Removed.
42812         * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
42813         (_dl_important_hwcaps): Moved to ...
42814         * elf/dl-hwcaps.c: Here.  New file.
42815         * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
42817         [BZ #14557]
42818         * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
42819         if IS_IN_rtld isn't defined.
42821         * elf/dl-support.c (_dl_sysinfo_map): New.
42822         Include "get-dynamic-info.h" and "setup-vdso.h".
42823         (_dl_non_dynamic_init): Call setup_vdso.
42824         * elf/dynamic-link.h: Don't include <assert.h>.
42825         (elf_get_dynamic_info): Moved to ...
42826         * elf/get-dynamic-info.h: Here.  New file.
42827         * elf/dynamic-link.h: Include "get-dynamic-info.h".
42828         * elf/rtld.c (dl_main): Break out vDSO setup code into ...
42829         * elf/setup-vdso.h: Here.  New file.
42830         * elf/rtld.c: Include "setup-vdso.h".
42831         (dl_main): Call setup_vdso.
42833 2012-10-05  Joseph Myers  <joseph@codesourcery.com>
42835         * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
42836         creal in comment listing functions tested.  List finite, isinf,
42837         isnan, isless, islessequal, isgreater, isgreaterequal,
42838         islessgreater, isunordered, lgamma_r and pow10 as functions and
42839         macros not tested.  Mention which functions not tested are aliases
42840         for other functions.  Fix typo.  Note that signs of NaNs are not
42841         tested.
42843         * scripts/config.guess: Update from config.git.
42844         * scripts/config.sub: Likewise.
42846 2012-10-04  Roland McGrath  <roland@hack.frob.com>
42848         * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
42849         * misc/madvise.c (madvise): Renamed to __madvise.
42850         Make madvise a weak alias.
42851         * include/sys/mman.h: Declare __madvise.
42852         Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
42853         * sysdeps/unix/syscalls.list
42854         (madvise): Make __madvise the strong name, and madvise a weak alias.
42855         * sysdeps/unix/sysv/linux/syscalls.list
42856         (madvise, mmap): Remove redundant entries.
42857         * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
42858         * malloc/malloc.c (mtrim): Likewise.
42859         * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
42861 2012-10-03  Roland McGrath  <roland@hack.frob.com>
42863         * sysdeps/mach/hurd/dl-cache.c: File removed.
42864         * config.h.in (USE_LDCONFIG): New #undef.
42865         * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
42866         * configure: Regenerated.
42867         * elf/Makefile (dl-routines): Add dl-cache only under
42868         [$(use-ldconfig) = yes].
42869         * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
42870         cache on [USE_LDCONFIG].
42871         * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
42872         [USE_LDCONFIG].
42873         * elf/rtld.c (dl_main): Likewise.
42875 2012-10-03  Pino Toscano  <toscano.pino@tiscali.it>
42877         * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
42878         _SC_LEVEL4_CACHE_LINESIZE.
42880 2012-10-03  Roland McGrath  <roland@hack.frob.com>
42882         * sysdeps/unix/bsd/confstr.h: File removed.
42884 2012-10-02  Alexandre Oliva <aoliva@redhat.com>
42886         * scripts/check-local-headers.sh: Exclude sys/sdt.h and
42887         sys/sdt-config.h.
42889 2012-10-02  Roland McGrath  <roland@hack.frob.com>
42891         * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
42892         Make 'mapoff' field ElfW(Off) rather than off_t.
42894 2012-10-02  Dmitry V. Levin  <ldv@altlinux.org>
42896         * nscd/Makefile: Remove nscd-cflags and all its users.
42897         (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
42898         (CFLAGS-nonlib): Add compiler flags for nscd modules.
42900         [BZ #10631]
42901         * malloc.c (malloc_printerr): Clarify error message.
42903 2012-10-02  H.J. Lu  <hongjiu.lu@intel.com>
42905         [BZ #14648]
42906         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
42907         Set bit_FMA_Usable if FMA is supported.
42908         * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
42909         macro.
42910         (bit_FMA4_Usable): Updated.
42911         (index_FMA_Usable): New macro.
42912         (CPUID_FMA): Likewise
42913         (HAS_FMA): Defined with bit_FMA_Usable.
42915 2012-10-01  Roland McGrath  <roland@hack.frob.com>
42917         * bits/types.h (__swblk_t): Type removed.
42918         * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
42919         * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
42920         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
42921         (__SWBLK_T_TYPE): Likewise.
42922         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
42923         (__SWBLK_T_TYPE): Likewise.
42924         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
42925         (__SWBLK_T_TYPE): Likewise.
42926         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
42927         (__SWBLK_T_TYPE): Likewise.
42929 2012-10-01  Patsy Franklin <pfrankli@redhat.com>
42930             Honza Horak <hhorak@redhat.com>
42932         * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
42933         (xdr_mapname): Use YPMAXMAP as maxsize.
42934         (xdr_peername): Use YPMAXPEER as maxsize.
42935         (xdr_keydat): Use YPAXRECORD as maxsize.
42936         (xdr_valdat): Use YPMAXRECORD as maxsize.
42938 2012-10-01  Roland McGrath  <roland@hack.frob.com>
42940         * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
42942         * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
42943         * csu/init-first.c: ... here.
42944         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
42945         * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
42946         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
42947         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
42948         * sysdeps/i386/init-first.c: File removed.
42949         * sysdeps/sh/init-first.c: File removed.
42951 2012-10-01  Joseph Myers  <joseph@codesourcery.com>
42953         [BZ #14645]
42954         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
42955         if x * y might underflow to zero and z is zero.
42956         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
42957         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
42958         * math/libm-test.inc (min_subnorm_value): New variable.
42959         (fma_test): Add more tests.
42960         (fma_test_towardzero): Likewise.
42961         (fma_test_downward): Likewise
42962         (fma_test_upward): Likewise.
42963         (initialize): Set min_subnorm_value.
42965 2012-09-29  Joseph Myers  <joseph@codesourcery.com>
42967         [BZ #14638]
42968         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
42969         0 + 0.
42970         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
42971         mode for addition resulting in exact zero.
42972         * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
42973         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
42974         exact 0 + 0.
42975         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
42976         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
42977         * math/libm-test.inc (fma_test): Add more tests.
42978         (fma_test_towardzero): New function.
42979         (fma_test_downward): Likewise.
42980         (fma_test_upward): Likewise.
42981         (main): Call the new functions.
42983 2012-09-28  David S. Miller  <davem@davemloft.net>
42985         * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
42987 2012-09-28  Roland McGrath  <roland@hack.frob.com>
42989         * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
42990         instead of SIGALRM.
42992         * sysdeps/gnu/_G_config.h: Moved to ...
42993         * sysdeps/unix/sysv/linux/_G_config.h: ... here.
42994         * sysdeps/mach/hurd/_G_config.h: Moved to ...
42995         * sysdeps/generic/_G_config.h: ... here.
42997         * io/open.c (__open): Renamed to __libc_open.  Make __open an alias.
42999         * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
43001         * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
43002         Conditionalize target on [libnss_test1.so-version].
43004         * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
43006         * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
43007         (elfobjdir): Move out of conditionals.
43009         * nss/nsswitch.c (nss_new_service): Conditionalize definition and
43010         declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
43011         (__nss_lookup_function): Conditionalize label remove_from_tree on
43012         [!DO_STATIC_NSS || SHARED], matching its only use.
43014 2012-09-28  David S. Miller  <davem@davemloft.net>
43016         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
43017         * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
43018         file.
43019         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
43020         sysdep_routines.
43021         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
43022         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
43023         when HWCAP_SPARC_CRYPTO is present.
43025 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
43027         * io/tst-mknodat.c: Create a FIFO instead of a socket.
43029 2012-09-28  Andreas Schwab  <schwab@linux-m68k.org>
43031         [BZ #6530]
43032         * stdio-common/vfprintf.c (process_string_arg): Revert
43033         2000-07-22 change.
43035 2011-09-28  Jonathan Nieder  <jrnieder@gmail.com>
43037         * stdio-common/Makefile (tst-sprintf-ENV): Set environment
43038         for testcase.
43039         * stdio-common/tst-sprintf.c: Include <locale.h>
43040         (main): Test sprintf's handling of incomplete multibyte
43041         characters.
43043 2012-09-28  H.J. Lu  <hongjiu.lu@intel.com>
43045         * elf/dl-runtime.c (VERSYMIDX): Removed.
43046         * elf/dl-version.c (VERSYMIDX): Likewise.
43047         * elf/do-rel.h (VERSYMIDX): Likewise.
43048         (VALIDX): Likewise.
43049         * elf/dynamic-link.h (VERSYMIDX): Likewise.
43050         * elf/rtld.c (VALIDX): Likewise.
43051         (ADDRIDX): Likewise.
43052         * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
43053         * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
43054         * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
43055         * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
43056         (VALIDX): Likewise.
43057         (ADDRIDX): Likewise.
43059 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
43061         * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
43063 2012-09-28  Dmitry V. Levin  <ldv@altlinux.org>
43065         [BZ #11438]
43066         * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
43067         to global scope.
43068         * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
43069         addresses are in the same scope as 192.0.2/24.
43070         * posix/gai.conf: Document new scope table defaults.
43072 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
43074         [BZ #5298]
43075         * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
43076         for ftell.  Compute offsets from write pointers instead.
43077         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
43079 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
43081         [BZ #14543]
43082         * libio/Makefile (tests): New test case tst-fseek.
43083         * libio/tst-fseek.c: New test case to verify that fseek/ftell
43084         combination works in wide mode.
43085         * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
43086         state when the external buffer state changes.
43088 2012-09-27  David S. Miller  <davem@davemloft.net>
43090         [BZ #14376]
43091         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
43092         pass reloc->r_addend in as the 'high' argument to
43093         sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
43095         * sysdeps/sparc/fpu/libm-test-ulps: Update.
43097 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
43099         * rt/tst-aio2.c: Include <pthread.h>.
43100         * rt/tst-aio3.c: Likewise.
43102 2012-09-27  Steve Ellcey  <sellcey@mips.com>
43104         * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
43106 2012-09-27  H.J. Lu  <hongjiu.lu@intel.com>
43108         * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
43109         contents on [SHARED].
43111 2012-09-26  Marek Polacek  <polacek@redhat.com>
43113         [BZ #14530]
43114         [BZ #13741]
43115         * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
43116         for C++ and GCC <4.3 as well as for non GCC compilers.
43118 2012-09-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
43120         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
43122 2012-09-25  Roland McGrath  <roland@hack.frob.com>
43124         * Makefile.in (all, install): Declare with .PHONY.
43125         Reported by Michael Hope <michael.hope@linaro.org>.
43127 2012-09-25  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
43129         * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
43130         * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
43131         system header.
43132         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
43133         Likewise.
43134         (sydep_routines): Add the new and the internal functions.
43135         * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
43136         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
43137         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
43138         (GLIBC_2.17): Add the new function.
43139         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
43140         (GLIBC_2.17): Likewise.
43141         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
43142         (GLIBC_2.17): Likewise.
43143         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
43144         (GLIBC_2.17): Likewise.
43145         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
43147 2012-09-25  Alan Modra  <amodra@gmail.com>
43149         * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
43150         Add release barrier before setting once_control to say
43151         initialisation is done.  Add hints on lwarx.  Use macro in
43152         place of isync.
43153         (clear_once_control): Add release barrier.
43155 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
43157         [BZ #13629]
43158         * math/s_clog.c (__clog): Handle more values close to |z| = 1
43159         specially.
43160         * math/s_clog10.c (__clog10): Likewise.
43161         * math/s_clog10f.c (__clog10f): Likewise.
43162         * math/s_clog10l.c (__clog10l): Likewise.
43163         * math/s_clogf.c (__clogf): Likewise.
43164         * math/s_clogl.c (__clogl): Likewise.
43165         * math/Makefile (libm-calls): Add x2y2m1.
43166         * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
43167         (__x2y2m1): Likewise.
43168         (__x2y2m1l): Likewise.
43169         * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
43170         * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
43171         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
43172         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
43173         * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
43174         * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
43175         * math/libm-test.inc (clog_test, clog10_test): Add more tests.
43176         * sysdeps/i386/fpu/libm-test-ulps: Update.
43177         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43179         [BZ #14621]
43180         * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
43181         int as type of variable DEPTH.
43182         (glob): Use size_t instead of int as type of variables NEWCOUNT
43183         and OLD_PATHC.
43185 2012-09-25  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
43187         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
43188         Add s_sincosf-sse2.
43189         * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
43190         * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
43191         * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
43192         macros for using routine as __sincosf_ia32.
43193         Use macro for function declaration and weak_alias.
43194         * sysdeps/i386/fpu/libm-test-ulps: Update.
43196         * sysdeps/x86_64/fpu/s_sincosf.S: New file.
43197         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
43199         * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
43200         subnormal argument.
43201         * math/s_cexpf.c (__cexpf): Likewise.
43202         * math/s_csinf.c (__csinf): Likewise.
43203         * math/s_csinhf.c (__csinhf): Likewise.
43204         * math/s_ctanf.c (__ctanf): Likewise.
43205         * math/s_ctanhf.c (__ctanhf): Likewise.
43206         * math/s_ccosh.c (__ccoshf): Likewise.
43207         * math/s_cexp.c (__cexpl): Likewise.
43208         * math/s_csin.c (__csin): Likewise.
43209         * math/s_csinh.c (__csinh): Likewise.
43210         * math/s_ctan.c (__ctan): Likewise.
43211         * math/s_ctanh.c (ctanh): Likewise.
43212         * math/s_ccoshl.c (__ccoshl): Likewise.
43213         * math/s_cexpl.c (__cexpl): Likewise.
43214         * math/s_csinl.c (__csinl): Likewise.
43215         * math/s_csinhl.c (__csinhl): Likewise.
43216         * math/s_ctanl.c (__ctanl): Likewise.
43217         * math/s_ctanhl.c (__ctanhl): Likewise.
43219 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
43221         * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
43222         (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
43223         (_IO_off_t): Define to __off_t, not _G_off_t.
43224         (_IO_pid_t): Define to __pid_t, not _G_pid_t.
43225         (_IO_uid_t): Define to __uid_t, not _G_uid_t.
43226         (_IO_wint_t): Define to wint_t, not _G_wint_t.
43227         * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
43228         type of __dummy and __dummy2 fields.
43229         * sysdeps/generic/_G_config.h (_G_size_t): Remove.
43230         (_G_ssize_t): Likewise.
43231         (_G_off_t): Likewise.
43232         (_G_pid_t): Likewise.
43233         (_G_uid_t): Likewise.
43234         (_G_wchar_t): Likewise.
43235         (_G_wint_t): Likewise.
43236         * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
43237         (_G_ssize_t): Likewise.
43238         (_G_off_t): Likewise.
43239         (_G_pid_t): Likewise.
43240         (_G_uid_t): Likewise.
43241         (_G_wchar_t): Likewise.
43242         (_G_wint_t): Likewise.
43243         * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
43244         (_G_ssize_t): Likewise.
43245         (_G_off_t): Likewise.
43246         (_G_pid_t): Likewise.
43247         (_G_uid_t): Likewise.
43248         (_G_wchar_t): Likewise.
43249         (_G_wint_t): Likewise.
43251 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
43253         * malloc/arena.c: Include malloc-sysdep.h.
43254         (shrink_heap): Use check_may_shrink_heap to decide if madvise
43255         is sufficient to shrink the heap or an unmap is needed.
43256         * sysdeps/generic/malloc-sysdep.h: New file.  Define
43257         new function check_may_shrink_heap.
43258         * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file.  Define
43259         new function check_may_shrink_heap.
43261 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
43263         * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
43264         comments.
43266 2012-09-24  Dmitry V. Levin  <ldv@altlinux.org>
43268         * catgets/test-gencat.sh: Add "set -e".
43269         * elf/tst-pathopt.sh: Likewise.
43270         * grp/tst_fgetgrent.sh: Likewise.
43271         * iconvdata/run-iconv-test.sh: Likewise.
43272         * intl/tst-gettext.sh: Likewise.
43273         * intl/tst-gettext2.sh: Likewise.
43274         * intl/tst-gettext4.sh: Likewise.
43275         * intl/tst-gettext6.sh: Likewise.
43276         * intl/tst-translit.sh: Likewise.
43277         * io/ftwtest-sh: Likewise.
43278         * libio/test-freopen.sh: Likewise.
43279         * malloc/tst-mtrace.sh: Likewise.
43280         * posix/globtest.sh: Likewise.
43281         * posix/tst-getconf.sh: Likewise.
43282         * posix/wordexp-tst.sh: Likewise.
43283         * stdio-common/tst-printf.sh: Likewise.
43284         * stdio-common/tst-unbputc.sh: Likewise.
43285         * stdlib/tst-fmtmsg.sh: Likewise.
43286         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
43287         * catgets/Makefile: Do not specify -e option when running
43288         testsuite shell scripts.
43289         * elf/Makefile: Likewise.
43290         * grp/Makefile: Likewise.
43291         * iconvdata/Makefile: Likewise.
43292         * intl/Makefile: Likewise.
43293         * io/Makefile: Likewise.
43294         * libio/Makefile: Likewise.
43295         * malloc/Makefile: Likewise.
43296         * posix/Makefile: Likewise.
43297         * stdio-common/Makefile: Likewise.
43298         * stdlib/Makefile: Likewise.
43299         * sysdeps/x86_64/Makefile: Likewise.
43301         * io/ftwtest-sh: Add copyright header.
43302         * posix/globtest.sh: Likewise.
43303         * posix/tst-getconf.sh: Likewise.
43304         * posix/wordexp-tst.sh: Likewise.
43305         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
43307 2012-09-24  H.J. Lu  <hongjiu.lu@intel.com>
43309         [BZ #13679]
43310         * Makeconfig (+link): Defined as $(+link-static) if
43311         $(build-shared) isn't yes.
43312         (link-tests): Defined as $(+link-static-tests) if $(build-shared)
43313         isn't yes.
43314         (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
43316         * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
43318         [BZ #14562]
43319         * malloc/arena.c (heap_trim): Properly get fencepost and adjust
43320         new chunk size with MALLOC_ALIGN_MASK.
43322 2012-09-24  Joseph Myers  <joseph@codesourcery.com>
43324         [BZ #5044]
43325         * stdio-common/printf_fphex.c: Include <stdbool.h> and
43326         <rounding-mode.h>.
43327         (__printf_fphex): Determine rounding using get_rounding_mode and
43328         round_away.
43329         * stdio-common/tst-printf-round.c (struct hex_test): New
43330         structure.
43331         (hex_tests): New variable.
43332         (test_hex_in_one_mode): New function.
43333         (do_test): Also run tests for hex float output.
43335 2012-09-21  Joseph Myers  <joseph@codesourcery.com>
43337         * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
43338         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
43339         * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
43340         * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
43341         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
43342         * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
43343         * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
43344         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
43346 2012-09-20  Joseph Myers  <joseph@codesourcery.com>
43348         * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
43349         * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
43350         * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
43351         * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
43353 2012-09-19  Dmitry V. Levin  <ldv@altlinux.org>
43355         [BZ #14579]
43356         * elf/rtld.c (dl_main): Limit the check for self loading to normal
43357         mode only.
43358         * elf/tst-rtld-load-self.sh: New test.
43359         * elf/Makefile: Run it.
43361 2012-09-18  Joseph Myers  <joseph@codesourcery.com>
43363         * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
43364         (tst-writev-ENV): Remove.
43365         * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
43367 2012-09-17  Chris Metcalf  <cmetcalf@tilera.com>
43369         * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
43371 2012-09-17  Joseph Myers  <joseph@codesourcery.com>
43373         * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
43374         unconditional.
43375         * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
43376         Likewise.
43377         * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
43378         * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
43379         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
43380         Likewise.
43382 2012-09-14  H.J. Lu  <hongjiu.lu@intel.com>
43384         [BZ #14587]
43385         * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
43386         * config.make.in (have-cpp-asm-debuginfo): Removed.
43387         * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
43388         * configure: Regenerated.
43390 2012-09-14  Joseph Myers  <joseph@codesourcery.com>
43392         [BZ #5044]
43393         * stdio-common/printf_fp.c: Include <stdbool.h> and
43394         <rounding-mode.h>.
43395         (___printf_fp): Determine rounding using get_rounding_mode and
43396         round_away.
43397         * stdio-common/tst-printf-round.c: New file.
43398         * stdio-common/Makefile (tests): Add tst-printf-round.
43399         (link-libm): New variable.
43400         ($(objpfx)tst-printf-round): Depend in $(link-libm).
43402 2012-09-13  H.J. Lu  <hongjiu.lu@intel.com>
43404         [BZ #14576]
43405         * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
43406         * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
43407         Likewise.
43408         * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
43409         Likewise.
43411 2012-09-13  Joseph Myers  <joseph@codesourcery.com>
43413         * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
43414         * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
43415         * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
43416         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
43418 2012-09-12  Joseph Myers  <joseph@codesourcery.com>
43420         [BZ #14518]
43421         * include/rounding-mode.h: New file.
43422         * sysdeps/generic/get-rounding-mode.h: Likewise.
43423         * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
43424         * stdlib/strtod_l.c: Include <rounding-mode.h>.
43425         (MAX_VALUE): New macro.
43426         (MIN_VALUE): Likewise.
43427         (overflow_value): New function.
43428         (underflow_value): Likewise.
43429         (round_and_return): Use overflow_value and underflow_value to
43430         determine return values in overflow and underflow cases.  Use
43431         round_away to determine rounding depending on rounding mode.
43432         (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
43433         determine return values in overflow and underflow cases.
43434         * stdlib/tst-strtod-round.c: Include <fenv.h>.
43435         (struct test_results): New structure.
43436         (struct test): Use struct test_results to store expected results
43437         for all rounding modes.
43438         (TEST): Include expected results for all rounding modes.
43439         (test_in_one_mode): New function.
43440         (do_test): Use test_in_one_mode to compute and check results.
43441         Check results for all rounding modes.
43442         * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
43443         $(link-libm).
43445 2012-12-09  Allan McRae  <allan@archlinux.org>
43447         * sysdeps/i386/fpu/libm-test-ulps: Update
43449 2012-09-11  Joseph Myers  <joseph@codesourcery.com>
43451         * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
43452         (_G_int32_t): Likewise.
43453         (_G_uint16_t): Likewise.
43454         (_G_uint32_t): Likewise.
43455         (_G_HAVE_BOOL): Likewise.
43456         (_G_HAVE_ATEXIT): Likewise.
43457         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
43458         (_G_HAVE_IO_FILE_OPEN): Likewise.
43459         * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
43460         (_G_int32_t): Likewise.
43461         (_G_uint16_t): Likewise.
43462         (_G_uint32_t): Likewise.
43463         (_G_HAVE_BOOL): Likewise.
43464         (_G_HAVE_ATEXIT): Likewise.
43465         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
43466         (_G_HAVE_IO_FILE_OPEN): Likewise.
43467         * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
43468         (_G_int32_t): Likewise.
43469         (_G_uint16_t): Likewise.
43470         (_G_uint32_t): Likewise.
43471         (_G_HAVE_BOOL): Likewise.
43472         (_G_HAVE_ATEXIT): Likewise.
43473         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
43474         (_G_HAVE_IO_FILE_OPEN): Likewise.
43476 2012-09-11  H.J. Lu  <hongjiu.lu@intel.com>
43478         * csu/libc-tls.c: Update copyright years.
43480 2012-09-10  Joseph Myers  <joseph@codesourcery.com>
43482         * libioP.h [_G_USING_THUNKS]: Make code unconditional.
43483         [!_G_USING_THUNKS]: Remove conditional code.
43484         * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
43485         * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
43487         * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
43488         [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
43489         * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
43490         (_G_VTABLE_LABEL_PREFIX): Likewise.
43491         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
43492         * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
43493         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
43494         (_G_VTABLE_LABEL_PREFIX): Likewise.
43495         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
43496         * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
43497         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
43498         (_G_VTABLE_LABEL_PREFIX): Likewise.
43499         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
43501 2012-09-10  H.J. Lu  <hongjiu.lu@intel.com>
43503         * libio/Makefile: Include ../Makeconfig before tests.
43504         (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
43505         only if $(build-shared) is yes.
43507         * iconv/gconv_db.c: Update copyright years.
43509 2012-09-10  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
43511         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
43512         unwind info if defined PIC. Fix special cases description.
43513         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
43515         * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
43516         DP_HI_MASK entry.
43517         * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
43519 2012-09-07  H.J. Lu  <hongjiu.lu@intel.com>
43521         * scripts/check-local-headers.sh: Add "shopt -s nullglob".
43523         * iconv/gconv_db.c (free_derivation): Check if deriv->steps
43524         is NULL.
43526         * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
43527         (LDLIBS-tst-chk4): This.
43528         (LDFLAGS-tst-chk5): Renamed to ...
43529         (LDLIBS-tst-chk5): This.
43530         (LDFLAGS-tst-chk6): Renamed to ...
43531         (LDLIBS-tst-chk6): This.
43532         (LDFLAGS-tst-lfschk4): Renamed to ...
43533         (LDLIBS-tst-lfschk4): This.
43534         (LDFLAGS-tst-lfschk5): Renamed to ...
43535         (LDLIBS-tst-lfschk5): This.
43536         (LDFLAGS-tst-lfschk6): Renamed to ...
43537         (LDLIBS-tst-lfschk6): This.
43539         * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
43540         on $(common-objpfx)soversions.mk.
43542 2012-09-07  Joseph Myers  <joseph@codesourcery.com>
43544         [BZ #10014]
43545         * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
43546         example host name.
43548 2012-09-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
43550         * malloc/arena.c (arena_get_retry): New function that gets
43551         another arena for the caller to try its request on.
43552         * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
43553         current arena cannot fulfill the request.
43554         (__libc_memalign): Likewise.
43555         (__libc_memalign): Likewise.
43556         (__libc_pvalloc): Likewise.
43557         (__libc_calloc): Likewise.
43559 2012-09-05  John Tobey  <john.tobey@gmail.com>
43561         [BZ #13542]
43562         * manual/arith.texi (Operations on Complex): Fix description
43563         of carg branch cut.
43565 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
43567         [BZ #10014]
43568         * manual/socket.texi (Host Addresses): Use www.gnu.org as example
43569         host name.
43571         [BZ #10038]
43572         * manual/memory.texi (Memory): Make order of menu items match
43573         order of sections.
43575 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
43577         * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
43578         (_dl_initial_dtv): New.  Defined if SHARED isn't defined.
43579         (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
43581 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
43583         * csu/libc-tls.c (static_dtv): Renamed to ...
43584         (_dl_static_dtv): This.  Make it global.
43585         (_dl_initial_dtv): Removed.
43586         (__libc_setup_tls): Updated.
43587         * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
43588         (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
43589         DL_INITIAL_DTV.
43591 2012-09-06  Petr Machata  <pmachata@redhat.com>
43593         * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
43594         (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
43595         (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
43596         (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
43598 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
43600         [BZ #14545]
43601         * csu/libc-tls.c (_dl_initial_dtv): New variable.
43602         * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
43603         freeing dtv[-1].
43605 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
43607         [BZ #14544]
43608         * Makeconfig (link-static-before-libc): Replace $(+prector)
43609         with $(+prectorT).
43610         (link-static-after-libc): Replace $(+postctor) with
43611         $(+postctorT).
43612         (link-bounded): Replace $(+prector)/$(+postctor) with
43613         $(+prectorT)/$(+postctorT).
43614         (+prectorT): New macro.
43615         (+postctorT): Likewise.
43617 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
43619         * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
43620         (round_str): Handle values above the maximum for IBM long double
43621         as inexact.
43622         * stdlib/tst-strtod-round.c (tests): Regenerated.
43624 2012-09-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
43626         * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
43627         assembler flag.
43628         * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
43629         zarch_nohighgprs around the zarch optimized routines.
43630         * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
43631         * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
43632         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
43633         for zarch.
43635 2012-09-05  David S. Miller  <davem@davemloft.net>
43637         * sysdeps/sparc/fpu/libm-test-ulps: Update.
43639         * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE)
43640         (HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
43641         * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
43642         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
43643         entries.
43645 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
43647         * malloc/arena.c: Fold copyright years.
43648         * malloc/mcheck.c, malloc/memusage.c: Likewise.
43650 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
43652         * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
43654 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
43656         * manual/contrib.texi (Contributors): Fix typo.  Complete entry.
43658 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
43660         * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
43661         change internal state upon failure.
43663 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
43665         * malloc/mcheck.c (mcheck_check_all): Fix typo.
43666         * malloc/memusage.c (mmap): Likewise.
43667         (mmap64, mremap): Likewise.  Adjust name in comment.
43669 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
43671         * libio/fileops.c: Fix typos in comments.
43672         * libio/oldfileops.c: Likewise.
43673         * libio/wfileops.c: Likewise.
43675 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
43677         [BZ #1349]
43678         * malloc/Makefile (tests): Add tst-malloc-usable test case.
43679         (tst-malloc-usable-ENV): Set environment for test case.
43680         * malloc/hooks.c (malloc_check_get_size): New function to get
43681         requested size.
43682         * malloc/malloc.c (musable): Use malloc_check_get_size.
43683         * malloc/tst-malloc-usable.c: New test case.
43685 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
43687         * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
43689 2012-09-05  Allan McRae  <allan@archlinux.org>
43691         [BZ #13966]
43692         * configure.in (CXX_SYSINCLUDES): Use compiler output to
43693         determine header location.
43694         * configure: Regenerated.
43696 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
43698         * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
43699         float format.
43700         * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
43701         LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
43702         format.
43703         (test): Regenerate.
43705 2012-09-04  David S. Miller  <davem@davemloft.net>
43707         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
43708         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
43709         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
43711 2012-09-04  Florian Weimer  <fweimer@redhat.com>
43713         * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
43714         failures.
43716         * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
43718 2012-09-04  Joseph Myers  <joseph@codesourcery.com>
43720         [BZ #9914]
43721         * libio/iogetdelim.c: Include <limits.h>.
43722         (_IO_getdelim): Avoid integer overflow in testing whether cur_len
43723         + len + 1 would overflow.
43725 2012-09-03  Andreas Jaeger  <aj@suse.de>
43727         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
43728         * sysdeps/i386/fpu/libm-test-ulps: Update.
43730 2012-09-03  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
43732         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
43733         Add s_sinf-sse2, s_conf-sse2.
43735         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
43736         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
43737         * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
43738         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
43740         * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
43741         for using routine as __sinf_ia32.
43742         Use macro for function declaration and weak_alias.
43743         * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
43744         for using routine as __cosf_ia32.
43745         Use macro for function declaration and weak_alias.
43747         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
43748         * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
43750         * sysdeps/x86_64/fpu/s_sinf.S: New file.
43751         * sysdeps/x86_64/fpu/s_cosf.S: New file.
43752         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
43754         * math/libm-test.inc (cos_test): Add more test cases.
43755         (sin_test): Likewise.
43756         (sincos_test): Likewise.
43758 2012-09-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
43760         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
43761         (IFUNC_RESOLVE): Make pointers to the specialized implementations
43762         hidden.
43763         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
43765 2012-09-02  H.J. Lu  <hongjiu.lu@intel.com>
43767         [BZ #14538]
43768         * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
43769         first element of the GOT.
43770         (elf_machine_load_address): Return the difference between
43771         the runtime address of _DYNAMIC and elf_machine_dynamic ().
43773 2012-09-01  Allan McRae  <allan@archlinux.org>
43775         [BZ #13412]
43776         * configure.in (AWK): Require gawk version 3.0 or later.
43777         * configure: Regenerated.
43779 2012-09-01  Joseph Myers  <joseph@codesourcery.com>
43781         * sysdeps/unix/sysv/linux/kernel-features.h
43782         (__ASSUME_POSIX_CPU_TIMERS): Remove.
43783         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
43784         [__NR_clock_getres]: Make code unconditional.
43785         [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
43786         (clock_getcpuclockid): Remove code left unreachable by removal of
43787         conditionals.
43788         * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
43789         code unconditional.
43790         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
43791         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
43792         * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
43793         Make code unconditional.
43794         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
43795         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
43796         * sysdeps/unix/sysv/linux/clock_settime.c
43797         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
43798         conditional code.
43799         [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
43800         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
43802 2012-08-29  H.J. Lu  <hongjiu.lu@intel.com>
43804         [BZ #14476]
43805         * Makefile (install): Also pass LD_SO=$(ld.so-version) to
43806         scripts/test-installation.pl.
43808         * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
43809         and $ld_so_version if it is set.
43811 2012-08-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
43813         [BZ #14516]
43814         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
43815         failure if reading from procfs failed.
43816         * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
43818 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
43820         * sysdeps/unix/sysv/linux/kernel-features.h
43821         (__ASSUME_STAT64_SYSCALL): Remove all definitions.
43822         * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
43823         Remove conditional code.
43824         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
43825         * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
43826         Remove conditional code.
43827         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
43828         * sysdeps/unix/sysv/linux/i386/fxstat.c
43829         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
43830         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
43831         * sysdeps/unix/sysv/linux/i386/fxstatat.c
43832         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
43833         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
43834         * sysdeps/unix/sysv/linux/i386/lxstat.c
43835         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
43836         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
43837         * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
43838         Remove conditional code.
43839         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
43840         * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
43841         Remove conditional code.
43842         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
43843         * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
43844         <kernel-features.h>.
43845         [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
43846         Remove.
43847         * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
43848         Remove conditional code.
43849         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
43850         * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
43851         Remove conditional.
43853 2012-08-27  Mike Frysinger  <vapier@gentoo.org>
43855         [BZ #5400]
43856         * NEWS: Add fixed bug number.
43858 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
43860         [BZ #14519]
43861         * stdlib/strtod_l.c (round_and_return): Return -0.0 for
43862         underflowing exponent in case of negative sign.
43863         * stdlib/tst-strtod-round-data: Add more tests.
43864         * stdlib/tst-strtod-round.c (tests): Regenerated.
43866         [BZ #3479]
43867         * stdlib/strtod_l.c (NDIG): Remove.
43868         (HEXNDIG): Likewise.
43869         (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
43870         smallest representable value.
43871         (____STRTOF_INTERNAL): Use all fractional decimal digits that may
43872         lie within an exact representation of 1/2 ulp of the result.
43873         * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
43874         unconditionally.
43875         (TENS_P9_IDX): Define unconditionally.
43876         (TENS_P9_SIZE): Likewise.
43877         (TENS_P10_IDX): Likewise.
43878         (TENS_P10_SIZE): Likewise.
43879         [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
43880         to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
43881         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
43882         entries for 10^2^13 and 10^2^14.
43883         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
43884         (TENS_P13_IDX): Define.
43885         (TENS_P13_SIZE): Likewise.
43886         (TENS_P14_IDX): Likewise.
43887         (TENS_P14_SIZE): Likewise.
43888         (_fpioconst_pow10): Change array size to
43889         FPIOCONST_POW10_ARRAY_SIZE.  Make entries for 10^2^9 and 10^2^10
43890         unconditional.
43891         (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
43892         1024]: Add entries for 10^2^13 and 10^2^14.
43893         [LAST_POW10 > _LAST_POW10]: Remove #error.
43894         * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
43895         (_fpioconst_pow10): Change array size to
43896         FPIOCONST_POW10_ARRAY_SIZE.
43897         * stdlib/gen-fpioconst.c: New file.
43898         * stdlib/gen-tst-strtod-round.c: Likewise.
43899         * stdlib/tst-strtod-round-data: Likewise.
43900         * stdlib/tst-strtod-round.c: Likewise.
43901         * stdlib/Makefile (tests): Add tst-strtod-round.
43903         [BZ #14459]
43904         * stdlib/strtod_l.c: Include <stdint.h>.
43905         (NDEBUG): Do not define.
43906         (round_and_return): Change EXPONENT parameter to type intmax_t.
43907         Rearrange calculations to avoid internal overflow possibilities.
43908         (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
43909         Rearrange calculations to avoid internal overflow possibilities.
43910         Assert that number fits inside MPNSIZE limbs.
43911         (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
43912         Change DIG_NO, INT_NO and LEAD_ZERO to type size_t.  Rearrange
43913         calculations and add assertions to avoid internal overflow
43914         possibilities.  Add casts to avoid signed/unsigned operations.
43915         * stdlib/tst-strtod-overflow.c: New file.
43916         * stdlib/Makefile (tests): Add tst-strtod-overflow.
43918 2012-08-25  Marek Polacek  <polacek@redhat.com>
43920         * time/time.h: Fix some typos in comments.
43922 2012-08-23  Roland McGrath  <roland@hack.frob.com>
43924         * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
43925         * posix/tst-rfc3484-2.c: Likewise.
43926         * posix/tst-rfc3484-3.c: Likewise.
43928 2012-08-23  Steve McIntyre  <steve.mcintyre@linaro.org>
43930         * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
43931         (EF_ARM_ABI_FLOAT_HARD): Likewise.
43933 2012-08-23  Joseph Myers  <joseph@codesourcery.com>
43935         * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
43936         #include of fxstatat64.c.
43938 2012-08-22  Roland McGrath  <roland@hack.frob.com>
43940         * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
43941         * shadow/getspent_r.c: Likewise.
43942         * shadow/getspnam.c: Likewise.
43943         * shadow/getspnam_r.c: Likewise.
43944         * gshadow/getsgent.c: Likewise.
43945         * gshadow/getsgent_r.c: Likewise.
43946         * gshadow/getsgnam.c: Likewise.
43947         * gshadow/getsgnam_r.c: Likewise.
43948         * inet/getnetbyad.c: Likewise.
43949         * inet/getnetbyad_r.c: Likewise.
43950         * inet/getnetbynm.c: Likewise.
43951         * inet/getnetbynm_r.c: Likewise.
43952         * inet/getnetent.c: Likewise.
43953         * inet/getnetent_r.c: Likewise.
43954         * inet/getproto.c: Likewise.
43955         * inet/getproto_r.c: Likewise.
43956         * inet/getprtent.c: Likewise.
43957         * inet/getprtent_r.c: Likewise.
43958         * inet/getprtname.c: Likewise.
43959         * inet/getprtname_r.c: Likewise.
43960         * inet/getrpcbyname.c: Likewise.
43961         * inet/getrpcbyname_r.c: Likewise.
43962         * inet/getrpcbynumber.c: Likewise.
43963         * inet/getrpcbynumber_r.c: Likewise.
43964         * inet/getrpcent.c: Likewise.
43965         * inet/getrpcent_r.c: Likewise.
43966         * inet/getaliasent.c: Likewise.
43967         * inet/getaliasent_r.c: Likewise.
43968         * inet/getaliasname.c: Likewise.
43969         * inet/getaliasname_r.c: Likewise.
43970         * nscd/getgrgid_r.c: Likewise.
43971         * nscd/getgrnam_r.c: Likewise.
43972         * nscd/gethstbyad_r.c: Likewise.
43973         * nscd/gethstbynm3_r.c: Likewise.
43974         * nscd/getpwnam_r.c: Likewise.
43975         * nscd/getpwuid_r.c: Likewise.
43976         * nscd/getsrvbynm_r.c: Likewise.
43977         * nscd/getsrvbypt_r.c: Likewise.
43978         * nscd/gai.c: Likewise.
43980         * configure.in (build_nscd): New substituted variable, set
43981         by --disable-build-nscd and defaults to $use_nscd.
43982         * configure: Regenerated.
43983         * config.make.in (build-nscd): New substituted variable.
43984         * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
43985         Change conditional to require [$(build-nscd) = yes] as well.
43986         * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
43988         [BZ# 13696]
43989         * configure.in (use_nscd): New substituted variable, set by
43990         --disable-nscd.  If enabled, define USE_NSCD.
43991         * configure: Regenerated.
43992         * config.h.in: Add USE_NSCD.
43993         * config.make.in (use-nscd): New substituted variable.
43994         * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
43995         (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
43996         (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
43997         * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
43998         (CFLAGS-getgrnam_r.c): Likewise.
43999         (CFLAGS-initgroups.c): Likewise.
44000         * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
44001         * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
44002         Variables removed.
44003         * inet/getnetgrent_r.c
44004         (nscd_setnetgrent): New function, broken out of ...
44005         (setnetgrent): ... here.  Call it.
44006         (innetgr): Conditionalize nscd bits on [USE_NSCD].
44007         (nscd_getnetgrent): Conditionalize on [USE_NSCD].
44008         (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
44009         * nscd/Makefile (routines, aux): Move definitions after include of
44010         Makeconfig.  Conditionalize on [$(use-nscd) != no].
44011         * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
44012         Conditionalize on [USE_NSCD].
44013         (is_nscd, nscd_init_cb): Likewise.
44014         (nss_load_library): Conditionalize init callback on [USE_NSCD].
44015         * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
44016         * nss/nss_db/db-init.c: Likewise.
44017         * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
44018         [USE_NSCD].
44019         * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
44020         (make_request): Use it.
44021         (cache_valid_p): New function.
44022         (__check_pf): Use it.
44023         * NEWS: Add item for --disable-nscd.
44025 2012-08-22  Dmitry V. Levin  <ldv@altlinux.org>
44027         * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
44028         to support sed >= 4.2.1-20-ga9bf076.
44029         * configure: Regenerated.
44031 2012-08-22  Roland McGrath  <roland@hack.frob.com>
44033         * csu/libc-start.c (apply_irel): Move extern declarations inside here.
44034         Conditionalize whole body on [IREL].
44036 2012-08-22  Jeff Law <law@redhat.com>
44038         [BZ #14505]
44039         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
44040         if the family is PF_UNSPEC.
44042 2012-08-22  Mike Frysinger  <vapier@gentoo.org>
44044         * Makerules (lib-version): Rename from V.
44045         (install-lib-nosubdir): Change V to lib-version.
44047 2012-08-22  Will Schmidt  <will_schmidt@vnet.ibm.com>
44049         [BZ #14252]
44050         * powerpc32/power6/wcschr.c: New file.
44051         * powerpc32/power6/wcscpy.c: New file.
44052         * powerpc32/power6/wcsrchr.c: New file.
44053         * powerpc64/power6/wcschr.c: New file.
44054         * powerpc64/power6/wcscpy.c: New file.
44055         * powerpc64/power6/wcsrchr.c: New file.
44057 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
44059         * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
44060         (two_way_short_needle): Use it.
44061         * string/strstr.c (AVAILABLE1_USES_J): Define.
44062         * string/strcasestr.c: Likewise.
44064         * string/str-two-way.h (two_way_short_needle): Use pointers instead of
44065         array references.
44066         * string/strcasestr.c (TOLOWER): Make side-effect safe.
44068         [BZ #11607]
44069         * NEWS: Add an entry.
44070         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
44071         define their defaults.
44072         (two_way_short_needle): Detect end-of-string on-the-fly.
44073         * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
44074         (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
44075         * string/bug-strcasestr1.c: New test.
44076         * string/Makefile: Run it.
44078 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
44080         [BZ #11607]
44081         * string/str-two-way.h (two_way_short_needle): Optimize matching of
44082         the first character.
44084 2012-08-21  Roland McGrath  <roland@hack.frob.com>
44086         * csu/elf-init.c (__libc_csu_irel): Function removed.
44087         * csu/libc-start.c (apply_irel): New function.
44088         (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
44090 2012-08-21  Joseph Myers  <joseph@codesourcery.com>
44092         * sysdeps/unix/sysv/linux/kernel-features.h
44093         (__ASSUME_FADVISE64_64_SYSCALL): Remove.
44094         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
44095         <kernel-features.h>.
44096         [__NR_fadvise64_64]: Make code unconditional.
44097         [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
44098         [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
44099         !__NR_fadvise64_64)]: Likewise.
44100         [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
44101         !__NR_fadvise64_64))]: Likewise.
44102         [__NR_fadvise64]: Make code unconditional.
44103         [!__NR_fadvise64]: Remove conditional code.
44104         * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
44105         <kernel-features.h>.
44106         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
44107         unconditional.
44108         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
44109         conditional code.
44110         * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
44111         not include <kernel-features.h>.
44112         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
44113         unconditional.
44114         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
44115         conditional code.
44116         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
44117         include <kernel-features.h>.
44118         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
44119         unconditional.
44120         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
44121         conditional code.
44123 2012-08-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
44125         * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
44126         slight instruction rearrangements per scrollpipe analysis.
44127         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
44129 2012-08-20  Roland McGrath  <roland@hack.frob.com>
44131         * manual/syslog.texi (syslog; vsyslog, closelog):
44132         Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
44133         Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
44135         * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
44136         DSOCAPS to match condition on defining it.
44138 2012-08-20  Joseph Myers  <joseph@codesourcery.com>
44140         * sysdeps/unix/sysv/linux/kernel-features.h
44141         (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
44142         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
44143         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
44144         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
44145         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
44146         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
44147         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
44148         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
44149         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
44150         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
44152         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
44153         __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
44155         * sysdeps/unix/sysv/linux/kernel-features.h
44156         (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
44157         * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
44158         unconditional.
44159         [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
44160         * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
44161         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
44162         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
44163         * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
44164         Make code unconditional.
44165         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
44166         (__mmap64) [!__NR_mmap2]: Likewise.
44167         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
44168         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
44169         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
44170         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
44171         [__NR_mmap2]: Make code unconditional.
44172         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
44173         (__mmap64) [!__NR_mmap2]: Likewise.
44175 2012-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
44177         * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
44179 2012-08-18  Andreas Jaeger  <aj@suse.de>
44181         * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
44183 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
44185         * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
44186         * include/unistd.h (__have_sock_cloexec): Likewise.
44187         (__have_pipe2): Likewise.
44188         (__have_dup3): Likewise.
44190 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
44192         [BZ #9685]
44193         * include/unistd.h (__have_pipe2): Change define into an extern int.
44194         (__have_dup3): Likewise.
44195         * socket/have_sock_cloexec.c: Include fcntl.h.
44196         (__have_pipe2): New variable.
44197         (__have_dup3): Likewise.
44199 2012-08-17  Mike Frysinger  <vapier@gentoo.org>
44201         * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
44203 2012-08-17  Marek Polacek  <polacek@redhat.com>
44205         * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
44206         ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
44208 2012-08-17  Roland McGrath  <roland@hack.frob.com>
44210         * configure.in: Add AC_SUBST for sysheaders.
44211         * configure: Regenerated.
44212         * config.make.in (sysheaders): New substituted variable.
44214         * sysdeps/unix/mkfifo.c: Moved ...
44215         * sysdeps/posix/mkfifo.c: ... here.
44216         * sysdeps/unix/mkfifoat.c: Moved ...
44217         * sysdeps/posix/mkfifoat.c: ... here.
44219         * sysdeps/unix/utime.c: Moved ...
44220         * sysdeps/posix/utime.c: ... here.
44222         * sysdeps/unix/time.c: Moved ...
44223         * sysdeps/posix/time.c: ... here.
44224         * sysdeps/unix/sysv/linux/time.c: Adjust #include.
44225         * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
44227         * sysdeps/unix/nice.c: Moved ...
44228         * sysdeps/posix/nice.c: ... here.
44230         * sysdeps/unix/alarm.c: Moved ...
44231         * sysdeps/posix/alarm.c: ... here.
44233         * intl/Makefile ($(codeset_mo)): Depend on the input file.
44235 2012-08-17  Jeff Law <law@redhat.com>
44237         * intl/Makefile (codeset_mo): New variable.
44238         ($(codeset_mo)): New target.
44239         (tst-codeset.out): Depend on that.  Remove explicit rule.
44240         (tst-gettext3.out, tst-gettext5.out): Likewise.
44241         (LOCPATH-ENV, tst-codeset-ENV): New variables.
44242         (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
44243         * intl/tst-codeset.sh: Remove.
44244         * intl/tst-gettext3.sh: Likewise.
44245         * intl/tst-gettext5.sh: Likewise.
44247 2012-08-17  Roland McGrath  <roland@hack.frob.com>
44249         * sysdeps/unix/inet/syscalls.list: File removed.  Move contents into ...
44250         * sysdeps/unix/syscalls.list: ... here.
44252         * sysdeps/posix/getaddrinfo.c
44253         (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
44254         (gaiconf_init, gaiconf_reload): Use them.
44255         [!_STATBUF_ST_NSEC]
44256         (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
44257         Define using time_t rather than struct timespec.
44259         * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
44260         (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
44261         Macros removed.
44262         * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
44263         [!NO_THREADS].
44264         (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
44265         (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
44266         Likewise.
44268         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
44269         __libc_cleanup_push argument.
44271         * bits/param.h: New file.
44272         * misc/sys/param.h: New file.
44273         * include/sys/param.h: New file.
44274         * misc/Makefile (headers): Add bits/param.h.
44275         * sysdeps/generic/sys/param.h: File removed.
44276         * sysdeps/unix/sysv/linux/bits/param.h: New file.
44277         * sysdeps/unix/sysv/linux/sys/param.h: File removed.
44278         * sysdeps/mach/hurd/bits/param.h: New file.
44279         * sysdeps/mach/hurd/sys/param.h: File removed.
44281         * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
44282         last change.
44284         * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
44285         [_IO_MTSAFE_IO].
44286         * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
44287         (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
44288         New macros.
44290         * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
44291         * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
44292         rather than -D_IO_MTSAFE_IO conditionally.
44293         * stdio-common/Makefile (CPPFLAGS): Likewise.
44294         * wcsmbs/Makefile (CPPFLAGS): Likewise.
44295         * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
44296         Use $(libio-mtsafe).
44297         * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
44298         of -D_IO_MTSAFE_IO.
44299         (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
44300         (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
44301         (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
44302         (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
44303         (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
44304         (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
44305         (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
44306         (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
44307         (CFLAGS-fread_u_chk.c): Likewise.
44308         (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
44309         (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
44310         (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
44311         (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
44312         * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
44313         * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
44314         * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
44315         * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
44316         * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
44318         * libio/Makefile: Test [$(libc-reentrant) = yes]
44319         instead of [$(filter %REENTRANT, $(defines)) nonempty].
44321         * Makeconfig
44322         [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
44323         * sysdeps/pthread/configure: File removed.
44324         * sysdeps/pthread/Makeconfig: New file.
44325         * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
44326         * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
44328 2012-08-16  Gary Benson  <gbenson@redhat.com>
44330         * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
44331         unmapping the first object in a namespace.
44333 2012-08-16  Roland McGrath  <roland@hack.frob.com>
44335         * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
44336         (__internal_setnetgrent): ... this.  Add internal_function to
44337         definition.  Add libc_hidden_def.
44338         (setnetgrent): Update caller.
44339         (internal_endnetgrent): Renamed to ...
44340         (__internal_endnetgrent): ... this.  Add internal_function to
44341         definition.  Add libc_hidden_def.
44342         (endnetgrent): Update caller.
44343         (internal_getnetgrent_r): Renamed to ...
44344         (__internal_getnetgrent_r): ... this.  Add internal_function to
44345         definition.  Add libc_hidden_def.
44346         (__getnetgrent_r): Update caller.
44347         * inet/netgroup.h: Update declarations.  Add libc_hidden_proto uses.
44349 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
44351         * stdlib/longlong.h: Update from GCC.
44353 2012-08-16  Roland McGrath  <roland@hack.frob.com>
44355         * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
44356         on _QL, which is set by umul_ppmm but never used.
44357         * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
44358         variables, which are set by GMP macros but never used.
44359         * stdio-common/_itowa.c (_itowa): Likewise.
44360         * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
44361         * stdlib/mod_1.c (mpn_mod_1): Likewise.
44363 2012-08-16  Carlos O'Donell  <carlos_odonell@mentor.com>
44365         * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
44366         struct La_sh_regs is not constant.
44367         * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
44368         <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
44369         and struct La_sparc64_regs are not constant.
44371 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
44373         * sysdeps/unix/sysv/linux/kernel-features.h
44374         (__ASSUME_POSIX_TIMERS): Remove.
44375         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
44376         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
44377         * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
44378         Make code unconditional.
44379         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
44380         * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
44381         Make code unconditional.
44382         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
44383         * sysdeps/unix/sysv/linux/clock_nanosleep.c
44384         [__ASSUME_POSIX_TIMERS]: Make code unconditional.
44385         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
44386         * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
44387         Make code unconditional.
44388         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
44389         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
44390         (__libc_missing_posix_timers): Remove.
44392 2012-08-15  Roland McGrath  <roland@hack.frob.com>
44394         * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
44395         check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
44397         * bits/libc-lock.h (__rtld_lock_initialize): New macro.
44399         * elf/dl-sym.c: Include <stdlib.h>.
44401         * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
44402         constants, which avoids warnings in 32-bit builds.
44404         * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
44405         (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
44407         * misc/lseek.c: File moved to ...
44408         * io/lseek.c: ... here.
44410         * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
44412         * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
44413         shifting LEN more than 31 bits at once.
44415 2012-08-15  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
44417         [BZ #14195]
44418         * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
44419         segmentation fault for a case of two empty input strings.
44420         * string/test-strncasecmp.c (check1): Renamed to...
44421         (bz12205): ...this.
44422         (bz14195): Add new testcase for two empty input strings and N > 0.
44423         (test_main): Call new testcase, adapt for renamed function.
44425 2012-08-15  Andreas Jaeger  <aj@suse.de>
44427         [BZ #14090]
44428         * crypt/md5test2.c: New test, based on test supplied by Serge
44429         Belyshev <belyshev@depni.sinp.msu.ru>.
44430         * crypt/Makefile (xtests): Add md5test-giant..
44431         * crypt/Makefile ($(objpfx)md5test-giant): Add.
44433 2012-08-15  Paul Eggert  <eggert@cs.ucla.edu>
44435         [BZ #14090]
44436         * crypt/md5.c (md5_process_block): Don't assume the buffer
44437         length is less than 2**32.
44438         * crypt/sha512.c (sha512_process_block): Don't assume the buffer
44439         length is less than 2**64.
44441 2012-08-15  Roland McGrath  <roland@hack.frob.com>
44443         * string/str-two-way.h: Include <sys/param.h>.
44444         (MAX): Macro removed.
44446         * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
44447         Move #define and #undef of memmove to just before and after
44448         including <string.h>.
44450         * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
44451         [!NOT_IN_libc]: Move #define and #undef of memmove to just before
44452         and after including <string.h>.  Move declarations of
44453         __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
44454         to before #include "string/memmove.c".
44456         * include/dirent.h: Declare __getdirentries.
44458         * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
44459         using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
44461 2012-08-14  Mike Frysinger  <vapier@gentoo.org>
44463         * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
44464         * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
44465         * sysdeps/i386/configure: Regenerated.
44466         * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
44467         STABS_CURRENT_FILE, and STABS_FUN.
44468         (END): Remove call to STABS_FUN_END.
44469         (STABS_CURRENT_FILE1): Delete.
44470         (STABS_CURRENT_FILE): Likewise.
44471         (STABS_FUN): Likewise.
44472         (STABS_FUN_END): Likewise.
44473         (STABS_FUN2): Likewise.
44474         * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
44475         * sysdeps/x86_64/configure: Regenerated.
44477 2012-08-14  Roland McGrath  <roland@hack.frob.com>
44479         * elf/dl-open.c: Include <atomic.h>.
44480         * elf/dl-lookup.c: Likewise.
44482 2012-08-14  Joseph Myers  <joseph@codesourcery.com>
44484         * sysdeps/unix/sysv/linux/kernel-features.h
44485         (__ASSUME_CLONE_THREAD_FLAGS): Remove.
44486         * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
44487         unconditionally.
44488         * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
44489         unconditionally.
44490         * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
44491         condition on __ASSUME_CLONE_THREAD_FLAGS.
44493 2012-08-14  Andreas Jaeger  <aj@suse.de>
44495         * sysdeps/i386/fpu/libm-test-ulps: Update.
44497 2012-08-13  Maxim Kuvyrkov  <maxim@codesourcery.com>
44499         * include/atomic.h (atomic_exchange_and_add): Split into ...
44500         (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
44501         New atomic macros.
44503 2012-08-13  Markus Trippelsdorf  <markus@trippelsdorf.de>
44505         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
44507 2012-08-13  Jeff Law <law@redhat.com>
44509         * manual/stdio.texi (snprintf): Clarify handling of the trailing
44510         null byte in the output string.
44512 2012-08-10  Joseph Myers  <joseph@codesourcery.com>
44514         * sysdeps/unix/sysv/linux/kernel-features.h
44515         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
44516         [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
44517         (__ASSUME_ARG_MAX_STACK_BASED): Define.
44518         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
44519         [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
44520         !__ASSUME_ARG_MAX_STACK_BASED.  Compare version with
44521         __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
44523 2012-08-09  Jeff Law <law@redhat.com>
44525         [BZ #13939]
44526         * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
44527         When avoid_arena is set, don't retry in the that arena.  Pick the
44528         next one, whatever it might be.
44529         (arena_get2): New parameter avoid_arena, pass through to reused_arena.
44530         (arena_lock): Pass in new parameter to arena_get2.
44531         * malloc/malloc.c (__libc_memalign): Pass in new parameter to
44532         arena_get2.
44533         (__libc_malloc): Unify retrying after main arena failure with
44534         __libc_memalign version.
44535         (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
44537 2012-08-09  H.J. Lu  <hongjiu.lu@intel.com>
44539         [BZ #14166]
44540         * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
44541         to __redirect_strstr.
44542         (__strstr_sse42): Use typeof __redirect_strstr.
44543         (__strstr_ia32): Likewise.
44544         (__libc_strstr): New prototype.
44545         (strstr): Renamed to ...
44546         (__libc_strstr): This.
44547         (strstr): New strong alias of __libc_strstr.
44548         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
44549         * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
44550         __redirect_time.
44551         Include <time.h>.
44552         (__libc_time): New prototype.
44553         (time_ifunc): Replace time with __libc_time.
44554         (time): New strong alias and hidden definition of __libc_time.
44555         (__GI_time): Remove strong alias.
44556         * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
44557         Include <stddef.h>.
44558         (memmove): Redefined to __redirect_memmove.
44559         (__memmove_sse2): Use typeof __redirect_memmove.
44560         (__memmove_ssse3): Likewise.
44561         (__memmove_ssse3_back): Likewise.
44562         (__libc_memmove): New prototype.
44563         (memmove): Renamed to ...
44564         (__libc_memmove): This.
44565         (memmove): New strong alias of __libc_memmove.
44567 2012-08-08  Mark Salter  <msalter@redhat.com>
44569         * elf/elf.h
44570         (R_MN10300_TLS_GD): Define.
44571         (R_MN10300_TLS_LD): Likewise.
44572         (R_MN10300_TLS_LDO): Likewise.
44573         (R_MN10300_TLS_GOTIE): Likewise.
44574         (R_MN10300_TLS_IE): Likewise.
44575         (R_MN10300_TLS_LE): Likewise.
44576         (R_MN10300_TLS_DTPMOD): Likewise.
44577         (R_MN10300_TLS_DTPOFF): Likewise.
44578         (R_MN10300_TLS_TPOFF): Likewise.
44579         (R_MN10300_SYM_DIFF): Likewise.
44580         (R_MN10300_ALIGN): Likewise.
44581         (R_MN10300_NUM): Update.
44583 2012-08-08  Joseph Myers  <joseph@codesourcery.com>
44585         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
44586         Remove.
44588 2012-08-08  Roland McGrath  <roland@hack.frob.com>
44590         * sysdeps/posix/fdopendir.c: Include <stddef.h>.
44592         * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
44593         sysdeps/unix -> sysdeps/posix move.
44594         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
44596 2012-08-07      Allan McRae     <allan@archlinux.org>
44598         [BZ #14303]
44599         * sunrpc/rpc_main.c (SVR4_CPP): Remove.
44600         (SUNOS_CPP): Likewise.
44601         (find_cpp): Fall back to selecting system cpp when /lib/cpp is
44602         not found.
44603         (open_input): Call CPP using execvp.
44605 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
44607         * sysdeps/unix/sysv/linux/kernel-features.h
44608         (__ASSUME_PROT_GROWSUPDOWN): Remove.
44609         (__ASSUME_NO_CLONE_DETACHED): Likewise.
44610         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
44611         (__ASSUME_WAITID_SYSCALL): Likewise.
44612         * sysdeps/unix/sysv/linux/dl-execstack.c
44613         (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
44614         code unconditional.
44615         (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
44616         conditional code.
44617         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
44618         [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
44619         (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
44620         code.
44621         * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
44622         unconditional.
44623         [__ASSUME_WAITID_SYSCALL]: Likewise.
44624         [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
44626 2012-08-07  Roland McGrath  <roland@hack.frob.com>
44628         * sysdeps/unix/closedir.c: Renamed to ...
44629         * sysdeps/posix/closedir.c: ... here.
44630         * sysdeps/unix/dirfd.c: Renamed to ...
44631         * sysdeps/posix/dirfd.c: ... here.
44632         * sysdeps/unix/dirstream.h: Renamed to ...
44633         * sysdeps/posix/dirstream.h: ... here.
44634         * sysdeps/unix/fdopendir.c: Renamed to ...
44635         * sysdeps/posix/fdopendir.c: ... here.
44636         * sysdeps/unix/opendir.c: Renamed to ...
44637         * sysdeps/posix/opendir.c: ... here.
44638         * sysdeps/unix/readdir.c: Renamed to ...
44639         * sysdeps/posix/readdir.c: ... here.
44640         * sysdeps/unix/readdir_r.c: Renamed to ...
44641         * sysdeps/posix/readdir_r.c: ... here.
44642         * sysdeps/unix/rewinddir.c: Renamed to ...
44643         * sysdeps/posix/rewinddir.c: ... here.
44644         * sysdeps/unix/seekdir.c: Renamed to ...
44645         * sysdeps/posix/seekdir.c: ... here.
44646         * sysdeps/unix/telldir.c: Renamed to ...
44647         * sysdeps/posix/telldir.c: ... here.
44648         * sysdeps/unix/sysv/linux/opendir.c: Update #include.
44649         * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
44650         * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
44651         * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
44653         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
44654         * bits/fcntl.h: ... here.
44656         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
44657         not 0.
44658         (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
44659         [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
44660         (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
44661         (struct flock): Move l_start, l_len to the beginning.
44662         Use __pid_t for l_pid.
44663         [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
44664         [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
44665         [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
44666         (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
44667         [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
44668         [__USE_LARGEFILE64] (struct flock64): New type.
44669         (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
44671         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
44672         * bits/dirent.h: ... here.
44674         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
44675         [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
44677 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
44679         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
44680         Change from 2.6.0 to 2.6.16.
44681         * sysdeps/unix/sysv/linux/configure: Regenerated.
44682         * sysdeps/unix/sysv/linux/kernel-features.h
44683         (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
44684         (__ASSUME_TGKILL): Define conditional on architectures, not kernel
44685         version.
44686         (__ASSUME_UTIMES): Likewise.
44687         (__ASSUME_CLONE_STOPPED): Remove.
44688         (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
44689         architectures, not kernel version.
44690         (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
44691         (__ASSUME_NO_CLONE_DETACHED): Likewise.
44692         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
44693         (__ASSUME_WAITID_SYSCALL): Likewise.
44694         [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
44695         condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
44696         * README: State 2.6.16 as minimum Linux kernel version.  Do not
44697         refer to older versions.
44699 2012-08-06  Roland McGrath  <roland@hack.frob.com>
44701         * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
44702         Define alphasort64 as an alias.
44703         * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
44704         Define versionsort64 as an alias.
44705         * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
44706         Define scandir64 as an alias.
44707         * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
44708         Define scandirat64 as an alias.
44709         * dirent/alphasort64.c (alphasort64):
44710         Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
44711         * dirent/versionsort64.c: Likewise.
44712         * dirent/scandir64.c: Likewise.
44713         * dirent/scandirat64.c: Likewise.
44714         * sysdeps/wordsize-64/alphasort.c: File removed.
44715         * sysdeps/wordsize-64/alphasort64.c: File removed.
44716         * sysdeps/wordsize-64/scandir.c: File removed.
44717         * sysdeps/wordsize-64/scandir64.c: File removed.
44718         * sysdeps/wordsize-64/scandirat.c: File removed.
44719         * sysdeps/wordsize-64/scandirat64.c: File removed.
44720         * sysdeps/wordsize-64/versionsort.c: File removed.
44721         * sysdeps/wordsize-64/versionsort64.c: File removed.
44722         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
44723         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
44724         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
44725         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
44726         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
44727         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
44728         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
44729         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
44731         * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
44732         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
44733         [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
44734         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
44735         [defined __arch64__ || defined __sparcv9]
44736         (__INO_T_MATCHES_INO64_T): New macro.
44737         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
44738         [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
44739         * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
44740         * sysdeps/unix/sysv/linux/bits/dirent.h
44741         [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
44742         (_DIRENT_MATCHES_DIRENT64): New macro.
44744         * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
44745         Define lockf64 as an alias.
44746         * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
44747         Define fseeko64 as an alias.
44748         * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
44749         Define ftello64 as an alias.
44750         * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
44751         Define _IO_fgetpos64 and fgetpos64 as aliases.
44752         * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
44753         Define _IO_fsetpos64 and fsetpos64 as aliases.
44754         * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
44755         Conditionalize body on this.
44756         * libio/fseeko64.c: Likewise.
44757         * libio/ftello64.c: Likewise.
44758         * libio/iofgetpos64.c: Likewise.
44759         * libio/iofsetpos64.c: Likewise.
44760         * sysdeps/wordsize-64/lockf.c: File removed.
44761         * sysdeps/wordsize-64/lockf64.c: File removed.
44762         * sysdeps/wordsize-64/fseeko.c: File removed.
44763         * sysdeps/wordsize-64/fseeko64.c: File removed.
44764         * sysdeps/wordsize-64/ftello.c: File removed.
44765         * sysdeps/wordsize-64/ftello64.c: File removed.
44766         * sysdeps/wordsize-64/iofgetpos.c: File removed.
44767         * sysdeps/wordsize-64/iofgetpos64.c: File removed.
44768         * sysdeps/wordsize-64/iofsetpos.c: File removed.
44769         * sysdeps/wordsize-64/iofsetpos64.c: File removed.
44770         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
44771         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
44772         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
44773         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
44774         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
44775         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
44776         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
44777         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
44778         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
44779         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
44781         * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
44782         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
44783         [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
44784         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
44785         [defined __arch64__ || defined __sparcv9]
44786         (__OFF_T_MATCHES_OFF64_T): New macro.
44787         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
44788         [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
44789         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
44790         (__OFF_T_MATCHES_OFF64_T): New macro.
44792 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
44794         * stdlib/secure-getenv.c (__secure_getenv): Replace
44795         GLIBC_2_16 with GLIBC_2_17.
44797 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
44799         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
44800         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
44802 2012-08-03  David S. Miller  <davem@davemloft.net>
44804         * sysdeps/sparc/fpu/libm-test-ulps: Update.
44806 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
44808         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
44809         Remove.
44810         (__ASSUME_CORRECT_SI_PID): Likewise.
44811         (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
44812         (__ASSUME_TMPFS_NAME): Likewise.
44813         * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
44814         [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
44815         * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
44816         (HAVE_AUX_SECURE): Make definition unconditional.
44817         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
44818         [!__ASSUME_TMPFS_NAME]: Remove conditional code.
44820 2012-08-03  Roland McGrath  <roland@hack.frob.com>
44822         * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
44823         * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
44824         * sysdeps/mach/hurd/eloop-threshold.h: New file.
44825         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
44826         __eloop_threshold instead of SYMLOOP_MAX.
44828         * sysdeps/generic/eloop-threshold.h: New file.
44829         * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
44830         of MAXSYMLINKS.
44831         * elf/chroot_canon.c (chroot_canon): Likewise.
44833 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
44835         [BZ #13717]
44836         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
44837         Change to 2.6.0 everywhere.
44838         * sysdeps/unix/sysv/linux/configure: Regenerated.
44839         * sysdeps/unix/sysv/linux/kernel-features.h
44840         (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
44841         (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
44842         kernel versions.
44843         (__ASSUME_POSIX_TIMERS): Define unconditionally.
44844         (__ASSUME_FUTEX_REQUEUE): Remove.
44845         (__ASSUME_STATFS64): Define unconditionally.
44846         (__ASSUME_AT_SECURE): Likewise.
44847         (__ASSUME_CORRECT_SI_PID): Likewise.
44848         (__ASSUME_TGKILL): Define without depending on kernel version for
44849         i386.
44850         (__ASSUME_UTIMES): Likewise.
44851         (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
44852         kernel version.
44853         (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
44854         (__ASSUME_TMPFS_NAME): Likewise.
44855         * README: Update reference to Linux kernel versions.
44857 2012-08-02  Marek Polacek  <polacek@redhat.com>
44859         [BZ# 14150]
44860         * configure.in (libc_cv_asm_type_prefix): Remove test.  Replace
44861         libc_cv_asm_type_prefix with %.
44862         * configure: Regenerated.
44863         * include/libc-symbols.h: Remove comment about
44864         ASM_TYPE_DIRECTIVE_PREFIX.  Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
44865         (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
44866         (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
44867         (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
44868         (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
44869         * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
44870         [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
44871         [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
44872         * elf/tst-unique2mod1.c: Likewise.
44873         * elf/tst-unique1mod2.c: Likewise.
44874         * elf/tst-unique1mod1.c: Likewise.
44875         * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
44876         * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
44877         Replace ASM_TYPE_DIRECTIVE with .type.
44878         * sysdeps/s390/s390-64/sysdep.h: Likewise.
44879         * sysdeps/i386/sysdep.h: Likewise.
44880         * sysdeps/x86_64/sysdep.h: Likewise.
44881         * sysdeps/sh/sysdep.h: Likewise.
44882         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
44883         Do not define ASM_TYPE_DIRECTIVE.
44884         * sysdeps/powerpc/sysdep.h: Likewise.
44885         * sysdeps/powerpc/powerpc32/sysdep.h:
44886         Replace ASM_TYPE_DIRECTIVE with .type.
44887         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
44888         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
44889         * sysdeps/i386/fpu/e_powf.S: Likewise.
44890         * sysdeps/i386/fpu/e_expl.S: Likewise.
44891         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
44892         * sysdeps/i386/fpu/e_acosh.S: Likewise.
44893         * sysdeps/i386/fpu/e_pow.S: Likewise.
44894         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
44895         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
44896         * sysdeps/i386/fpu/s_expm1.S: Likewise.
44897         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
44898         * sysdeps/i386/fpu/e_log2.S: Likewise.
44899         * sysdeps/i386/fpu/e_log2l.S: Likewise.
44900         * sysdeps/i386/fpu/e_scalb.S: Likewise.
44901         * sysdeps/i386/fpu/e_powl.S: Likewise.
44902         * sysdeps/i386/fpu/e_log10f.S: Likewise.
44903         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
44904         * sysdeps/i386/fpu/e_logl.S: Likewise.
44905         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
44906         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
44907         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
44908         * sysdeps/i386/fpu/e_log2f.S: Likewise.
44909         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
44910         * sysdeps/i386/fpu/e_log.S: Likewise.
44911         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
44912         * sysdeps/i386/fpu/e_logf.S: Likewise.
44913         * sysdeps/i386/fpu/e_log10l.S: Likewise.
44914         * sysdeps/i386/fpu/e_atanh.S: Likewise.
44915         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
44916         * sysdeps/i386/fpu/e_log10.S: Likewise.
44917         * sysdeps/i386/fpu/s_frexp.S: Likewise.
44918         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
44919         * sysdeps/i386/fpu/s_asinh.S: Likewise.
44920         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
44921         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
44922         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
44923         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
44924         * sysdeps/i386/i686/strtok.S: Likewise.
44925         * sysdeps/i386/i386-mcount.S: Likewise.
44926         * sysdeps/i386/strtok.S: Likewise.
44927         * sysdeps/x86_64/fpu/e_expl.S: Likewise.
44928         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
44929         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
44930         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
44931         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
44932         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
44933         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
44934         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
44935         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
44936         * sysdeps/x86_64/_mcount.S: Likewise.
44937         * sysdeps/x86_64/strtok.S: Likewise.
44938         * sysdeps/sh/_mcount.S: Likewise.
44940 2012-08-01  Roland McGrath  <roland@hack.frob.com>
44942         * libio/iofopen.c: Include <fcntl.h>.
44943         [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
44944         (_IO_fopen64, fopen64): Define as aliases.
44945         * libio/iofopen64.c: Include <fcntl.h>.
44946         [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
44947         Conditionalize body on this.
44948         * sysdeps/wordsize-64/iofopen.c: File removed.
44949         * sysdeps/wordsize-64/iofopen64.c: File removed.
44951 2012-08-01  Marek Polacek  <polacek@redhat.com>
44953         * libc/Makeconfig: Use elf in place of binfmt-subdir.
44954         Use dlfcn directly instead of a variable.
44955         (binfmt-subdir): Do not define.
44956         (dlfcn): Likewise.
44958 2012-08-01  Joseph Myers  <joseph@codesourcery.com>
44960         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
44961         Remove all definitions.
44962         * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
44963         <kernel-features.h>.
44964         [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
44965         (miss_F_GETOWN_EX): Remove all definitions.
44966         [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
44967         macro definition.
44968         [!__ASSUME_FCNTL64]: Remove conditional code.
44969         [__ASSUME_FCNTL64]: Make code unconditional.
44970         * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
44971         <kernel-features.h>.
44972         [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
44973         (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
44974         (lockf64) [__NR_fcntl64]: Make code unconditional.
44975         (lockf64) [__ASSUME_FCNTL64]: Likewise.
44977         * sysdeps/unix/sysv/linux/kernel-features.h
44978         (__ASSUME_VFORK_SYSCALL): Remove all definitions.
44979         * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
44980         Make code unconditional.
44981         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
44982         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
44983         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
44984         [__NR_vfork]: Make code unconditional.
44985         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
44986         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
44987         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
44988         [__NR_vfork]: Make code unconditional.
44989         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
44990         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
44992 2012-08-01  Roland McGrath  <roland@hack.frob.com>
44994         * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
44995         (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
44997         * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
44998         Define mkstemp64 as an alias.
44999         * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
45000         Define mkstemps64 as an alias.
45001         * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
45002         Define mkostemp64 as an alias.
45003         * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
45004         Define mkostemps64 as an alias.
45005         * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
45006         Conditionalize body on this.
45007         * misc/mkostemp64.c: Likewise.
45008         * misc/mkostemps64.c: Likewise.
45009         * misc/mkstemps64.c: Likewise.
45010         * sysdeps/wordsize-64/mkstemp64.c: File removed.
45011         * sysdeps/wordsize-64/mkostemp64.c: File removed.
45012         * sysdeps/wordsize-64/mkostemp.c: File removed.
45013         * sysdeps/wordsize-64/mkstemp.c: File removed.
45014         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
45015         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
45016         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
45017         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
45019         [BZ #14138]
45020         * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
45021         * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
45022         * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
45023         * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
45025         * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
45026         compat_symbol macros from <shlib-compat.h> rather than the underlying
45027         default_symbol_version and symbol_version macros, so that DEFAULT
45028         lines in shlib-versions are respected.
45029         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
45031 2012-08-01  Florian Weimer  <fweimer@redhat.com>
45033         * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
45034         Declare with warn_unused_result.
45035         (setgid, setregid, setegid, setresgid): Likewise.
45036         * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
45037         Likewise.
45038         * WUR-REPORT: Remove set*id functions.
45040 2012-07-31  Pino Toscano  <toscano.pino@tiscali.it>
45042         * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
45044 2012-07-31  Roland McGrath  <roland@hack.frob.com>
45046         [BZ #10191]
45047         * include/sys/socket.h (__libc_accept, __libc_accept4):
45048         Add attribute_hidden.
45049         * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
45051         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
45052         use of PTR_MANGLE.
45053         * inet/getnetgrent_r.c (setup): Likewise.
45055         * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
45057 2012-07-31  David S. Miller  <davem@davemloft.net>
45059         * sysdeps/sparc/fpu/libm-test-ulps: Update.
45061 2012-07-31  Joseph Myers  <joseph@codesourcery.com>
45063         [BZ #13629]
45064         * math/s_clog.c (__clog): Use __log1p if larger part has absolute
45065         value between 1.0 and 2.0 and smaller part has absolute value less
45066         than 1.0.
45067         * math/s_clog10.c (__clog10): Likewise.
45068         * math/s_clog10f.c (__clog10f): Likewise.
45069         * math/s_clog10l.c (__clog10l): Likewise.
45070         * math/s_clogf.c (__clogf): Likewise.
45071         * math/s_clogl.c (__clogl): Likewise.
45072         * math/libm-test.inc (clog_test): Add more tests.
45073         (clog10_test): Likewise.
45074         * sysdeps/i386/fpu/libm-test-ulps: Update.
45075         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45077 2012-07-31  Florian Weimer  <fweimer@redhat.com>
45079         * stdlib/tst-secure-getenv.c: Use printf for error reporting.
45080         Exit with zero in case no suitable GID is found, and write a
45081         message to standard error.
45083 2012-07-30  Roland McGrath  <roland@hack.frob.com>
45085         * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
45086         rather than to 1.
45087         (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
45088         (MAXPATHLEN): Removed.
45089         (NOGROUP, NODEV): New macros.
45090         (setbit, clrbit, isset, isclr): New macros.
45091         (howmany, roundup, powerof2): New macros.
45092         (DEV_BSIZE): New macro.
45094         * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
45095         * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
45097         * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
45098         definition on [!__NO_LONG_DOUBLE_MATH].
45100         * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
45101         PTR_MANGLE and PTR_DEMANGLE.
45103         * socket/accept4.c (accept4): Rename to __libc_accept4.
45104         Define accept4 as a weak alias.
45106         * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
45107         on [_DIRENT_HAVE_D_TYPE].
45108         * io/ftw.c (ftw_dir): Likewise.
45110         * io/xmknod.c (__xmknod): Don't check PATH for being null.
45112         * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
45114         * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
45115         Use the BSD numbers rather than the arbitrary ones we had.
45116         (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
45117         (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
45118         (SIGXCPU, SIGXFSZ): New macros.
45119         (_NSIG): Now 32.
45121         * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
45122         initializer on [_LIBC_REENTRANT].
45124         * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
45125         definitions inside [_POSIX_MAPPED_FILES].
45127         * posix/regex.c: Include <sys/param.h> for MIN/MAX.
45129         * dirent/opendir.c: Include <fcntl.h>.
45131         * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
45132         (__libc_getspecific): Likewise.
45133         (__libc_key_create): Likewise.
45135         * stdio-common/tmpfile64.c: Include <fcntl.h> first.
45136         [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
45137         * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
45138         (tmpfile64): Define as alias.
45139         * sysdeps/wordsize-64/tmpfile.c: File removed.
45140         * sysdeps/wordsize-64/tmpfile64.c: File removed.
45141         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
45142         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
45144         * stdio-common/vfscanf.c: Include <stdbool.h>.
45145         * nss/makedb.c: Likewise.
45146         * stdio-common/_i18n_number.h: Likewise.
45147         * argp/argp-help.c: Likewise.
45148         * posix/wordexp.c: Likewise.
45149         * sysdeps/posix/spawni.c: Likewise.
45150         * nss/nss_files/files-initgroups.c: Likewise.
45151         * stdio-common/reg-modifier.c: Include <stdlib.h>.
45152         * nss/nss_files/files-initgroups.c: Likewise.
45153         * nss/nss_db/db-netgrp.c: Likewise.
45154         * nss/nss_db/db-initgroups.c: Likewise.
45155         * io/fchmodat.c: Include <sys/stat.h>.
45157         * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
45158         __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
45160         * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
45161         [HAVE_MMAP].
45163         * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
45164         Add multiple inclusion protection.
45166 2012-07-27  David S. Miller  <davem@davemloft.net>
45168         * sysdeps/sparc/fpu/libm-test-ulps: Update.
45170 2012-07-27  Gary Benson  <gbenson@redhat.com>
45172         [BZ #14298]
45173         * elf/rtld.c: Include <stap-probe.h>.
45174         (dl_main): Added static probes "init_start" and "init_complete".
45175         * elf/dl-load.c: Include <stap-probe.h>.
45176         (lose): Take new parameter "nsid".
45177         Added static probe "map_failed".
45178         (_dl_map_object_from_fd): Pass namespace id to lose.
45179         Added static probe "map_start".
45180         (open_verify): Pass namespace id to lose.
45181         * elf/dl-open.c: Include <stap-probe.h>.
45182         (dl_open_worker) Added static probes "map_complete", "reloc_start"
45183         and "reloc_complete".
45184         * elf/dl-close.c: Include <stap-probe.h>.
45185         (_dl_close_worker): Added static probes "unmap_start" and
45186         "unmap_complete".
45187         * elf/rtld-debugger-interface.txt: New file documenting the above.
45189 2012-07-26  Roland McGrath  <roland@hack.frob.com>
45191         * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
45192         rather than a string variable.
45193         * sunrpc/rpc_main.c (h_output): Likewise.
45194         * sunrpc/rpc_svcout.c (write_real_program): Likewise.
45196 2012-07-26  Pino Toscano  <toscano.pino@tiscali.it>
45198         * inet/check_native.c: New file.
45200 2012-07-26  Joseph Myers  <joseph@codesourcery.com>
45202         [BZ #13629]
45203         * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
45204         if larger part has absolute value 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         * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
45216         (pltexit): Likewise.
45217         (La_regs): Likewise.
45218         (La_retval): Likewise.
45219         (int_retval): Likewise.
45220         Update #error for removed macros to refer only to definitions in
45221         tst-audit.h.
45222         * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
45223         macro.
45224         (pltexit): Likewise.
45225         (La_regs): Likewise.
45226         (La_retval): Likewise.
45227         (int_retval): Likewise.
45228         * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
45229         macro.
45230         (pltexit): Likewise.
45231         (La_regs): Likewise.
45232         (La_retval): Likewise.
45233         (int_retval): Likewise.
45234         * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
45235         macro.
45236         (pltexit): Likewise.
45237         (La_regs): Likewise.
45238         (La_retval): Likewise.
45239         (int_retval): Likewise.
45240         * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
45241         macro.
45242         (pltexit): Likewise.
45243         (La_regs): Likewise.
45244         (La_retval): Likewise.
45245         (int_retval): Likewise.
45246         * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
45247         macro.
45248         (pltexit): Likewise.
45249         (La_regs): Likewise.
45250         (La_retval): Likewise.
45251         (int_retval): Likewise.
45252         * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
45253         macro.
45254         (pltexit): Likewise.
45255         (La_regs): Likewise.
45256         (La_retval): Likewise.
45257         (int_retval): Likewise.
45258         * sysdeps/generic/tst-audit.h: Update comment to refer only to
45259         macro definitions in tst-audit.h.
45260         * sysdeps/i386/tst-audit.h: New file.
45261         * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
45262         * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
45263         * sysdeps/s390/s390-32/tst-audit.h: Likewise.
45264         * sysdeps/s390/s390-64/tst-audit.h: Likewise.
45265         * sysdeps/sh/tst-audit.h: Likewise.
45266         * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
45267         * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
45268         * sysdeps/x86_64/tst-audit.h: Likewise.
45270 2012-07-26  Andreas Jaeger  <aj@suse.de>
45272         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
45273         ptrace.
45275         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
45276         new value PTRACE_EVENT_SECCOMP from Linux 3.5.
45277         (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
45278         PTRACE_O_MASK.
45279         * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
45280         * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
45281         * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
45283         * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
45284         value.
45286         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
45287         _sigsys.
45288         (si_call_addr, si_syscall, si_arch): Define new macro.
45289         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
45290         _sigsys.
45291         (si_call_addr, si_syscall, si_arch): Define new marcro.
45292         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
45293         _sigsys.
45294         (si_call_addr, si_syscall, si_arch): Define new macro.
45295         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
45296         _sigsys.
45297         (si_call_addr, si_syscall, si_arch): Define new macro.
45299 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
45301         [BZ #13717]
45302         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
45303         Change to 2.4.21 where previously 2.4.1.
45304         * sysdeps/unix/sysv/linux/configure: Regenerated.
45305         * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
45306         __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
45307         Linux kernel version.
45308         (__ASSUME_STD_AUXV): Remove.
45309         [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
45310         kernel version.
45311         [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
45312         (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
45313         (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
45314         (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
45315         (__ASSUME_NETLINK_SUPPORT): Likewise.
45316         * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
45317         (__no_netlink_support): Remove conditional definition.
45318         * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
45319         Remove.
45320         (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
45321         [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
45322         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
45323         (if_nameindex_ioctl): Remove.
45324         (if_nameindex_netlink): Do not handle __no_netlink_support.
45325         (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
45326         code.
45327         * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
45328         Remove conditional code.
45329         (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
45330         code.
45331         (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
45332         unconditional.
45333         [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
45334         [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
45335         * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
45336         Remove.
45337         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
45338         [!__ASSUME_STD_AUXV]: Remove conditional code.
45339         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
45340         [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
45341         [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
45342         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
45343         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
45344         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
45345         code.
45346         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
45347         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
45348         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
45349         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
45350         conditional code.
45351         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
45352         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
45353         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
45354         code.
45355         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
45356         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
45357         conditional code.
45358         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
45359         (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
45360         code unconditional.
45361         (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
45362         conditional code.
45363         (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
45364         unconditional.
45365         (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
45366         conditional code.
45367         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
45368         (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
45369         unconditional.
45370         (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
45371         conditional code.
45372         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
45373         (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
45374         code unconditional.
45375         (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
45376         conditional code.
45377         (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
45378         unconditional.
45379         (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
45380         conditional code.
45381         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
45382         (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
45383         code unconditional.
45384         (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
45385         conditional code.
45386         (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
45387         unconditional.
45388         (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
45389         conditional code.
45391 2012-07-25  Andreas Schwab  <schwab@linux-m68k.org>
45393         * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
45394         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
45395         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
45396         * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
45397         * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
45398         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
45399         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
45400         * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
45401         * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
45402         * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
45403         * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
45404         * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
45405         * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
45406         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
45407         * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
45408         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
45409         * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
45410         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
45411         * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
45412         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
45413         * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
45414         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
45415         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
45417 2012-07-25  Florian Weimer  <fweimer@redhat.com>
45419         * Versions.def: Add GLIBC_2.17.
45420         * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
45421         * include/stdlib.h: Rename __secure_getenv to secure_getenv.
45422         Introduce __libc_secure_getenv.
45423         * stdlib/Versions (2.17): Add secure_getenv
45424         (GLIBC_PRIVATE): Add __libc_secure_getenv.
45425         * stdlib/secure-getenv.c: Rename __secure_getenv to
45426         __libc_secure_getenv.  Add secure_getenv alias.  Add compatibility
45427         symbol __secure_getenv for GLIBC_2.0.
45428         * stdlib/tst-secure-getenv.c: New.
45429         * stdlib/Makefile (tests): Add testcase.
45430         * manual/startup.texi (Environment Access): Document
45431         secure_getenv.
45432         * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
45433         __libc_secure_getenv.
45434         * inet/ruserpass.c (ruserpass): Likewise.
45435         * malloc/mtrace.c (mtrace): Likewise.
45436         * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
45437         * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
45438         * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
45439         * sysdeps/posix/tempname.c: Likewise.  Evaluate
45440         HAVE_SECURE_GETENV.
45441         * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
45442         __secure_getenv to __libc_secure_getenv.
45443         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
45444         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
45445         Likewise.
45446         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
45447         Likewise.
45448         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
45449         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
45450         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
45451         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
45452         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
45453         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
45454         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
45456 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
45458         * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
45459         (struct La_i86_retval): Likewise.
45460         (struct La_x86_64_regs): Likewise.
45461         (struct La_x86_64_retval): Likewise.
45462         (struct La_x32_regs): Likewise.
45463         (struct La_x32_retval): Likewise.
45464         (struct La_ppc32_regs): Likewise.
45465         (struct La_ppc32_retval): Likewise.
45466         (struct La_ppc64_regs): Likewise.
45467         (struct La_ppc64_retval): Likewise.
45468         (struct La_sh_regs): Likewise.
45469         (struct La_sh_retval): Likewise.
45470         (struct La_s390_32_regs): Likewise.
45471         (struct La_s390_32_retval): Likewise.
45472         (struct La_s390_64_regs): Likewise.
45473         (struct La_s390_64_retval): Likewise.
45474         (struct La_sparc32_regs): Likewise.
45475         (struct La_sparc32_retval): Likewise.
45476         (struct La_sparc64_regs): Likewise.
45477         (struct La_sparc64_retval): Likewise.
45478         (struct audit_ifaces): Remove architecture-specific pltenter and
45479         pltexit members.
45480         * sysdeps/i386/ldsodefs.h: New file.
45481         * sysdeps/powerpc/ldsodefs.h: Likewise.
45482         * sysdeps/s390/ldsodefs.h: Likewise.
45483         * sysdeps/sh/ldsodefs.h: Likewise.
45484         * sysdeps/sparc/ldsodefs.h: Likewise.
45485         * sysdeps/x86_64/ldsodefs.h: Likewise.
45487 2012-07-25  Marek Polacek  <polacek@redhat.com>
45489         [BZ #6808]
45490         * math/libm-test.inc (yn_test): Add another test.
45491         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
45492         to ERANGE when the result is +-Inf.
45493         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
45494         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
45495         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
45496         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
45498 2012-07-24  Joseph Myers  <joseph@codesourcery.com>
45500         * conform/data/time.h-data (NULL): Use macro-constant.  Require
45501         equal to 0.
45502         (CLOCKS_PER_SEC): Use macro instead of constant.  Specify type as
45503         clock_t.
45504         [ISO11] (TIME_UTC): Use macro-int-constant.  Require value > 0.
45506 2012-07-23  Thomas Schwinge  <thomas@codesourcery.com>
45508         * configure.in <sysdeps resolving>: Correct printing
45509         Implies_before.
45510         * configure: Regenerate.
45512 2012-07-22  Thomas Schwinge  <thomas@codesourcery.com>
45514         * math/w_ilogb.c: Include <limits.h>.
45515         * math/w_ilogbl.c: Likewise.
45517 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
45519         * manual/lang.texi (__va_copy): Document primarily as ISO C99
45520         va_copy.  Document allowing for unavailable va_copy only as
45521         pre-C99 compatibility.
45522         * manual/string.texi (Copying and Concatenation): Use va_copy
45523         instead of __va_copy in concat example.
45525 2012-07-20  Pino Toscano  <toscano.pino@tiscali.it>
45527         * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
45528         (__sendto): Use create_address_port.  Initialize APORT and deallocate
45529         it if not null.
45531         * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
45532         with O_NOLINK passed to __file_name_lookup.
45534         * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
45535         with O_NOLINK passed to __file_name_lookup.
45537         * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
45538         negative N or less than NGIDS.
45540         * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
45541         type to string_t.  Set ERANGE as errno and return it if NAME is not big
45542         enough.  Use memcpy instead of strncpy.
45544 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
45546         * elf/Makefile (check-data): Remove.
45547         (localplt.data): New vpath directive.
45548         ($(objpfx)check-localplt.out): Use localplt.data from vpath
45549         instead of $(check-data).
45550         * scripts/data/localplt-generic.data: Move to ...
45551         * sysdeps/generic/localplt.data: ... here.
45552         * scripts/data/localplt-i386-linux-gnu.data: Move to ...
45553         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
45554         * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
45555         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
45556         ... here.
45557         * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
45558         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
45559         ... here.
45560         * scripts/data/localplt-s390-linux-gnu.data: Move to ...
45561         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
45562         ... here.
45563         * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
45564         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
45565         ... here.
45566         * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
45567         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
45568         ... here.
45569         * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
45570         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
45571         ... here.
45573 2012-07-19 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45575         * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
45576         PPC32 and PPC64 files.
45577         * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
45578         * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
45580 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
45582         * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
45583         __makecontext_ret to ...
45584         * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
45585         ... here and call exit if uc_link is NULL.  New file.
45586         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
45587         __makecontext_ret.S.
45588         * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
45589         __makecontext_ret to ...
45590         * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
45591         ... here and call exit if uc_link is NULL.  New file.
45592         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
45593         __makecontext_ret.S.
45595 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
45597         * elf/elf.h (R_390_IRELATIVE): New definition.
45598         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
45599         resolver function for IFUNC symbols.  Support R_390_IRELATIVE.
45600         (elf_machine_lazy_rel): Support R_390_IRELATIVE.
45601         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
45602         (elf_machine_lazy_rel): Likewise.
45603         * sysdeps/s390/dl-irel.h: New file.
45604         * sysdeps/s390/s390-64/memcpy.S: New asm code.
45605         * sysdeps/s390/s390-64/memset.S: New asm code.
45606         * sysdeps/s390/s390-64/memcmp.S: New asm code.
45607         * sysdeps/s390/s390-64/multiarch/memset.S: New file.
45608         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
45609         * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
45610         * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
45611         * sysdeps/s390/s390-64/multiarch/Makefile: New file.
45612         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
45613         * sysdeps/s390/s390-32/multiarch/Makefile: New file.
45614         * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
45615         * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
45616         * sysdeps/s390/s390-32/multiarch/memset.S: New file.
45617         * sysdeps/s390/s390-32/memcpy.S: New asm code.
45618         * sysdeps/s390/s390-32/memset.S: New asm code.
45619         * sysdeps/s390/s390-32/memcmp.S: New asm code.
45621 2012-07-17  Marek Polacek  <polacek@redhat.com>
45623         [BZ #14349]
45624         * sysdeps/s390/s390-32/configure.in: Remove TLS check.
45625         * sysdeps/s390/s390-64/configure.in: Likewise.
45626         * sysdeps/sparc/configure.in: Likewise.
45627         * sysdeps/powerpc/powerpc32/configure.in: Likewise.
45628         * sysdeps/powerpc/powerpc64/configure.in: Likewise.
45629         * sysdeps/i386/configure.in: Likewise.
45630         * sysdeps/x86_64/configure.in: Likewise.
45631         * sysdeps/sh/configure.in: Likewise.
45632         * sysdeps/s390/s390-32/configure: Regenerated.
45633         * sysdeps/s390/s390-64/configure: Likewise.
45634         * sysdeps/x86_64/configure: Likewise.
45635         * sysdeps/sh/configure: Likewise.
45636         * sysdeps/powerpc/powerpc64/configure: Likewise.
45637         * sysdeps/powerpc/powerpc32/configure: Likewise.
45638         * sysdeps/sparc/configure: Likwise.
45639         * sysdeps/i386/configure: Likewise.
45641         * elf/dl-open.c: Comment fixes.
45643 2012-07-17  Joseph Myers  <joseph@codesourcery.com>
45645         * Makefile [CXX] (check-data): Remove.
45646         [CXX] (c++-types.data): New vpath directive.
45647         [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
45648         vpath.  Do not allow for C++ type data being missing.
45649         * scripts/data/c++-types-alpha-linux-gnu.data: Move to
45650         ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
45651         * scripts/data/c++-types-ia64-linux-gnu.data: Move to
45652         ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
45653         * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
45654         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
45655         * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
45656         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
45657         ... here.
45658         * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
45659         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
45660         ... here.
45661         * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
45662         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
45663         ... here.
45664         * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
45665         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
45666         ... here.
45667         * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
45668         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
45669         ... here.
45670         * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
45671         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
45672         ... here.
45673         * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
45674         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
45675         ... here.
45676         * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
45677         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
45679         * elf/tls-macros.h (TLS_LE): Move architecture-specific
45680         definitions to architecture-specific files.
45681         (TLS_IE): Likewise.
45682         (TLS_LD): Likewise.
45683         (TLS_GD): Likewise.
45684         * sysdeps/i386/tls-macros.h: New file.
45685         * sysdeps/powerpc/tls-macros.h: Likewise.
45686         * sysdeps/s390/s390-32/tls-macros.h: Likewise.
45687         * sysdeps/s390/s390-64/tls-macros.h: Likewise.
45688         * sysdeps/sh/tls-macros.h: Likewise.
45689         * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
45690         * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
45691         * sysdeps/x86_64/tls-macros.h: Likewise.
45693 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
45695         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
45696         zero value for regular exit case.
45698         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
45699         (__start_context): Preserve zero value for regular exit case.
45701 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
45702             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
45704         * manual/setjmp.texi (setcontext): Clarify normal process
45705         termination when uc_link is the null pointer.
45706         * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
45707         exit call.
45709 2012-07-16  Andreas Schwab  <schwab@linux-m68k.org>
45711         * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
45712         preprocessor.  Test for each exception mask separately.
45714 2012-07-16  Andreas Jaeger  <aj@suse.de>
45716         * po/ru.po: Update from translation team.
45718 2012-07-15  Joseph Myers  <joseph@codesourcery.com>
45720         * conform/data/string.h-data (NULL): Use macro-constant.  Require
45721         equal to 0.
45722         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
45723         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
45724         (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
45725         (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
45726         [ISO || ISO99 || ISO11] (*_t): Do not allow.
45728 2012-07-13  Andreas Jaeger  <aj@suse.de>
45730         * po/fr.po: Update from translation team.
45732 2012-07-12  Marek Polacek  <polacek@redhat.com>
45734         [BZ #14173]
45735         * math/libm-test.inc (yn_test): Add test for BZ #14173.
45736         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
45737         loop condition.
45739 2012-07-12  Joseph Myers  <joseph@codesourcery.com>
45741         [BZ #13717]
45742         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
45743         Change to 2.4.1 where previously 2.4.0.
45744         * sysdeps/unix/sysv/linux/configure: Regenerated.
45745         * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
45746         (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
45747         version.
45748         [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
45749         (__ASSUME_AT_CLKTCK): Remove.
45750         (__ASSUME_AT_PAGESIZE): Likewise.
45751         (__ASSUME_AT_XID): Likewise.
45752         (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
45753         [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
45754         * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
45755         unconditionally.
45756         (HAVE_AUX_PAGESIZE): Likewise.
45757         * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
45758         [__ASSUME_AT_CLKTCK]: Make code unconditional.
45759         [!__ASSUME_AT_CLKTCK]: Remove conditional code.
45761 2012-07-12  Jeroen van Bemmel  <jvb127@gmail.com>
45763         [BZ #14307]
45764         * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
45765         the temporary buffer used to invoke __gethostbyname2_r,
45766         __gethostbyaddr_r and gethostbyname4_r to make room for struct
45767         host_data / struct gaih_addrtuple.
45768         * resolv/nss_dns/dns-host.c (global scope): Move definition of
45769         implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
45770         header file nss/nsswitch.h.
45771         * nss/nsswitch.h (global scope): Add definition of implementation
45772         constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
45773         resolv/nss_dns/dns-host.c).
45775 2012-07-11  Andreas Jaeger  <aj@suse.de>
45777         * po/fr.po: Update from translation team.
45779         * po/sv.po: Update from translation team
45780         * po/fr.po: Another update from translation team.
45782 2012-07-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45784         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
45785         for subnormals or multiply small sinh result by itself.
45786         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
45787         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
45789 2012-07-11  David S. Miller  <davem@davemloft.net>
45791         * sysdeps/sparc/fpu/libm-test-ulps: Update.
45793 2012-07-10  Andreas Schwab  <schwab@linux-m68k.org>
45795         [BZ #14347]
45796         * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
45797         (INTERNAL_MARK): Shift it here.
45799 2012-07-10  Marek Polacek  <polacek@redhat.com>
45801         [BZ #14151]
45802         * configure.in (libc_cv_asm_global_directive): Remove test.  Replace
45803         libc_cv_asm_global_directive with .globl.
45804         * configure: Regenerated.
45805         * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
45806         with .globl.
45807         * sysdeps/i386/configure: Regenerated.
45808         * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
45809         with .globl.
45810         * sysdeps/x86_64/configure: Regenerated.
45811         * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
45812         * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
45813         * elf/tst-unique2mod2.c: Likewise.
45814         * elf/tst-unique2mod1.c: Likewise.
45815         * elf/tst-unique1mod2.c: Likewise.
45816         * elf/tst-unique1mod1.c: Likewise.
45817         * sysdeps/s390/s390-32/sysdep.h: Likewise.
45818         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
45819         * sysdeps/s390/s390-64/sysdep.h: Likewise.
45820         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
45821         * sysdeps/mach/sysdep.h: Likewise.
45822         * sysdeps/i386/sysdep.h: Likewise.
45823         * sysdeps/i386/i386-mcount.S: Likewise.
45824         * sysdeps/x86_64/_mcount.S: Likewise.
45825         * sysdeps/x86_64/sysdep.h: Likewise.
45826         * sysdeps/sh/_mcount.S: Likewise.
45827         * sysdeps/sh/sysdep.h: Likewise.
45828         * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
45829         * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
45830         * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
45831         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
45832         * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
45833         * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
45834         * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
45835         * locale/localeinfo.h: Likewise.
45836         (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
45837         (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
45839 2012-07-09  Roland McGrath  <roland@hack.frob.com>
45841         [BZ #14336]
45842         * manual/charset.texi (Extended Char Intro): Word use fix, "operating
45843         system".
45844         * manual/message.texi (The Uniforum approach): Likewise.
45845         * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
45846         (glibc iconv Implementation): Likewise.
45848 2012-07-09  Joseph Myers  <joseph@codesourcery.com>
45850         [BZ #14337]
45851         * math/s_clog.c (__clog): Avoid scaling a value down where that
45852         could result in underflow.
45853         * math/s_clog10.c (__clog10): Likewise.
45854         * math/s_clog10f.c (__clog10f): Likewise.
45855         * math/s_clog10l.c (__clog10l): Likewise.
45856         * math/s_clogf.c (__clogf): Likewise.
45857         * math/s_clogl.c (__clogl): Likewise.
45858         * math/libm-test.inc (clog_test): Add more tests.
45859         (clog10_test): Likewise.
45860         * sysdeps/i386/fpu/libm-test-ulps: Update.
45861         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45863 2012-07-06  Andreas Schwab  <schwab@linux-m68k.org>
45865         [BZ #14283]
45866         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
45867         by 7 not 8 to examine high bit of fractional part.
45869         [BZ #14042]
45870         * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
45871         for call to __mcount_internal.
45872         * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
45873         (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
45874         * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
45876 2012-07-06  Joseph Myers  <joseph@codesourcery.com>
45878         [BZ #14154]
45879         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
45880         approximation for values within 0x1p-13f of an odd multiple of
45881         pi/4.
45882         * math/libm-test.inc (tan_test): Do not allow spurious underflow
45883         exception.  Add more tests.
45884         * sysdeps/i386/fpu/libm-test-ulps: Update.
45886         [BZ #6778]
45887         * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
45888         inputs and return -1 for them.  Do not check for +Inf in case not
45889         reachable for +Inf.
45890         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
45891         * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
45892         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
45893         and return -1 for them.  Do not check for +Inf in case not
45894         reachable for +Inf.
45895         * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
45896         define.
45897         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
45898         and return -1 for them.  Do not check for +Inf in case not
45899         reachable for +Inf.
45900         * math/libm-test.inc (expm1_test): Add more tests.  Do not allow
45901         spurious underflow.
45902         * sysdeps/i386/fpu/libm-test-ulps: Update.
45903         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45905 2012-07-06  Mike Frysinger  <vapier@gentoo.org>
45907         * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
45909 2012-07-05  Joseph Myers  <joseph@codesourcery.com>
45911         [BZ #14157]
45912         [BZ #14331]
45913         * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
45914         could result in spurious underflow.  Scale down values above
45915         DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
45916         * math/s_csqrtf.c (__csqrtf): Likewise.
45917         * math/s_csqrtl.c (__csqrtl): Likewise.
45918         * math/libm-test.inc (csqrt_test): Add more tests.  Do not allow
45919         spurious underflow.
45920         * sysdeps/i386/fpu/libm-test-ulps: Update.
45921         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45923 2012-07-04  Andreas Schwab  <schwab@linux-m68k.org>
45925         * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
45926         xopen-msg.sed.
45927         * catgets/xopen-msg.awk: New file.
45928         * catgets/xopen-msg.sed: Removed.
45930         * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
45931         po2text.sed.
45932         * intl/po2test.awk: New file.
45933         * intl/po2test.sed: Removed.
45935 2012-07-04  Joseph Myers  <joseph@codesourcery.com>
45937         [BZ #14328]
45938         * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
45939         or multiply small sinh result by itself.
45940         * math/s_ctanf.c (__ctanf): Likewise.
45941         * math/s_ctanh.c (__ctanh): Likewise.
45942         * math/s_ctanhf.c (__ctanhf): Likewise.
45943         * math/s_ctanhl.c (__ctanhl): Likewise.
45944         * math/s_ctanl.c (__ctanl): Likewise.
45945         * math/libm-test.inc (ctan_test_tonearest): New function.
45946         (ctan_test_towardzero): Likewise.
45947         (ctan_test_downward): Likewise.
45948         (ctan_test_upward): Likewise.
45949         (ctanh_test_tonearest): Likewise.
45950         (ctanh_test_towardzero): Likewise.
45951         (ctanh_test_downward): Likewise.
45952         (ctanh_test_upward): Likewise.
45953         (main): Call these new functions.
45954         * sysdeps/i386/fpu/libm-test-ulps: Update.
45955         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45957 2012-07-03  Mike Frysinger  <vapier@gentoo.org>
45959         * .gitignore: Delete /ports entry.
45961 2012-07-03  Andreas Jaeger  <aj@suse.de>
45963         * po/bg.po: Update from translation team.
45964         * po/cs.po: Likewise.
45965         * po/de.po: Likewise.
45966         * po/hr.po: Likewise.
45967         * po/nl.pl: Likewise.
45968         * po/pl.po: Likewise.
45969         * po/vi.po: Likewise.
45971 2012-07-03  Joseph Myers  <joseph@codesourcery.com>
45973         * Makeconfig [!+link] (+link-before-libc): New variable.
45974         [!+link] (+link-after-libc): Likewise.
45975         [!+link] (+link-tests): Likewise.
45976         [!+link] (+link): Define in terms of $(+link-before-libc) and
45977         $(+link-after-libc).
45978         [!+link-static] (+link-static-before-libc): New variable.
45979         [!+link-static] (+link-static-after-libc): Likewise.
45980         [!+link-static] (+link-static-tests): Likewise.
45981         [!+link-static] (+link-static): Define in terms of
45982         $(+link-static-before-libc) and $(+link-static-after-libc).
45983         [build-shared] (link-libc-before-gnulib): New variable.
45984         [build-shared] (link-libc-tests): Likewise.
45985         [build-shared] (link-libc): Define in terms of
45986         $(link-libc-before-gnulib).
45987         [!build-shared] (link-libc-tests): New variable.
45988         (link-libc-static-tests): New variable.
45989         [!gnulib] (gnulib-arch): New variable.
45990         [!gnulib] (gnulib-tests): Likewise.
45991         [!gnulib] (static-gnulib-arch): Likewise.
45992         [!gnulib] (static-gnulib-tests): Likewise.
45993         [!gnulib] (gnulib): Use $(gnulib-arch).  Do not use $(libgcc_eh).
45994         Define with "=" instead of ":=".
45995         [!gnulib] (static-gnulib): Use $(static-gnulib-arch).  Do not use
45996         -lgcc_eh $(libunwind).  Define with "=" instead of ":=".
45997         * Rules (binaries-all-notests): New variable.
45998         (binaries-all-tests): Likewise.
45999         (binaries-static-notests): Likewise.
46000         (binaries-static-tests): Likewise.
46001         (binaries-all): Define using $(binaries-all-notests) and
46002         $(binaries-all-tests).
46003         (binaries-static): Define using $(binaries-static-notests) and
46004         $(binaries-static-tests).
46005         (binaries-shared-tests): New variable.
46006         (binaries-shared-notests): Likewise.
46007         (binaries-shared): Remove variable.
46008         ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
46009         ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
46010         ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
46011         ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
46012         ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
46013         ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
46014         * elf/Makefile (sln-modules): New variable.
46015         (extra-objs): Add $(sln-modules:=.o).
46016         (ldconfig-modules): Add static-stubs.
46017         ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
46018         * elf/static-stubs.c: New file.
46020         [BZ #14283]
46021         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
46022         by 7 not 8 to examine high bit of fractional part.  Use volatile
46023         variables when splitting into final array of floats if
46024         __FLT_EVAL_METHOD__ != 0.
46025         * math/libm-test.inc (cos_test): Add another test.
46026         (sin_test): Likewise.
46027         * sysdeps/i386/fpu/libm-test-ulps: Update.
46029         [BZ #14273]
46030         * math/libm-test.inc (cosh_test): Add more tests.
46032         * version.h (RELEASE): Set to "development".
46033         (VERSION): Set to "2.16.90".
46035 2012-06-30  Carlos O'Donell  <carlos_odonell@mentor.com>
46037         * NEWS: Update copyright. Remove last-updated date.
46038         Mention math library bug fixes and timezone data changes.
46039         * README: Mention GNU/Hurd, x32, and HPPA support status.
46041 2012-06-28  Thomas Schwinge  <thomas@codesourcery.com>
46043         * manual/contrib.texi (Contributors): Sort alphabetically by last name.
46045 2012-06-27  Andreas Jaeger  <aj@suse.de>
46047         * manual/contrib.texi (Contributors): Add Samuel Thibault.
46049 2012-06-25  Andreas Jaeger  <aj@suse.de>
46051         * sysdeps/s390/fpu/libm-test-ulps: Update.
46053 2012-06-23  Andreas Schwab  <schwab@linux-m68k.org>
46054             Thomas Schwinge  <thomas@codesourcery.com>
46056         * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
46057         * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
46058         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
46059         fanotify_mark.
46061 2012-06-23  Thomas Schwinge  <thomas@codesourcery.com>
46063         * sysdeps/mach/start.c: Remove file.
46064         * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
46065         * sysdeps/i386/init-first.c: Fix comment regarding start.S.
46066         * sysdeps/sh/init-first.c: Likewise.
46068         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
46069         registers for frame unwinding purposes, add CFI directives.
46070         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
46071         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
46072         * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
46073         Likewise.
46075         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
46076         __fortify_fail returning.
46077         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
46079         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
46080         sysdeps/sh/____longjmp_chk.S.
46081         * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
46082         on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
46083         * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
46084         (gen-as-const-headers): Append sigaltstack-offsets.sym.
46086         * sysdeps/sh/abort-instr.h: New file.
46087         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
46088         process in case exit returns.
46090         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
46091         initialize the GOT register before use.
46093         * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
46094         calculation of ARGC > 4.
46096         * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
46097         meaningful names to some local labels.
46099 2012-06-22  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
46100             Kaz Kojima  <kkojima@rr.iij4u.or.jp>
46102         * sysdeps/unix/sysv/linux/sh/bits/atomic.h
46103         (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
46104         (__arch_compare_and_exchange_val_16_acq): Likewise.
46105         (__arch_compare_and_exchange_val_32_acq): Likewise.
46106         (atomic_exchange_and_add): Fix gUSA sequence.
46107         (atomic_add): Likewise.
46108         (atomic_add_negative): Likewise.
46109         (atomic_add_zero): Likewise.
46110         (atomic_bit_test_set): Likewise.
46112 2012-06-22  Andreas Schwab  <schwab@redhat.com>
46114         [BZ #13579]
46115         * include/link.h (struct link_map): Add l_free_initfini.
46116         * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
46117         l_initfini.
46118         * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
46119         * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
46120         * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
46121         set.
46123 2012-06-22  Carlos O'Donell  <carlos_odonell@mentor.com>
46125         * configure.in: Use AC_LANG_SOURCE.
46126         * configure: Regenerate.
46128 2012-06-22  Roland McGrath  <roland@hack.frob.com>
46130         * configure.in (libc_cv_localstatedir): New substituted variable.
46131         * configure: Regenerated.
46132         * config.make.in (localstatedir): New variable, substituted from
46133         libc_cv_localstatedir.
46134         * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
46135         * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
46136         ${prefix}/var to /var when we change ${prefix}/etc to /etc.
46137         * sysdeps/gnu/configure: Regenerated.
46139 2012-06-21  Jeff Law  <law@redhat.com>
46141         [BZ #14277]
46142         * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
46143         free.  Simplify list management for _LIBC case.
46145 2012-06-21  Joseph Myers  <joseph@codesourcery.com>
46147         [BZ #14273]
46148         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
46149         Clear sign bit of 64-bit integer value before comparing against
46150         overflow value.
46152         * sysdeps/mach/configure: Regenerated.
46154 2012-06-21  H.J. Lu  <hongjiu.lu@intel.com>
46156         [BZ #14278]
46157         * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
46159 2012-06-21  Jeff Law  <law@redhat.com>
46161         [BZ #13882]
46162         * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection.  Use
46163         uint16_t for elements in the "seen" array to avoid char overflows.
46164         * elf/dl-fini.c (_dl_sort_fini): Likewise.
46165         * elf/dl-open.c (dl_open_worker): Likewise.
46167 2012-06-21  Carlos O'Donell  <carlos_odonell@mentor.com>
46169         * scripts/list-sources.sh: Scan PORTS for translations.
46170         * po/libc.pot: Regenerated.
46172 2012-06-21  Andreas Jaeger  <aj@suse.de>
46174         [BZ #12194]
46175         * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
46176         warning.
46177         * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
46178         * bits/byteswap-16.h (__bswap_16): Likewise.
46179         * bits/byteswap.h (__bswap_constant_16): Likewise.
46181 2012-06-18  H.J. Lu  <hongjiu.lu@intel.com>
46183         [BZ #14117]
46184         * sysdeps/i386/fpu_control.h: Removed.
46185         * sysdeps/x86_64/fpu_control.h: Moved to ...
46186         * sysdeps/x86/fpu_control.h: Here.
46188         * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
46189         (_FPU_SETCW): Likewise.
46191 2012-06-15  H.J. Lu  <hongjiu.lu@intel.com>
46193         [BZ #14117]
46194         * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
46195         * sysdeps/x86/fpu/bits/mathinline.h: This.
46196         * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
46198         [BZ #14050]
46199         [BZ #14117]
46200         * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
46201         functions if __x86_64__ is defined.
46203 2012-06-15  Chung-Lin Tang  <cltang@codesourcery.com>
46205         * string/endian.h: Add !__ASSEMBLER__ condition for including
46206         conversion interfaces.
46208 2012-06-15  Joseph Myers  <joseph@codesourcery.com>
46210         [BZ #14241]
46211         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
46212         of ABS(x) in calculating zero to negative powers other than odd
46213         integers.
46214         * math/libm-test.inc (pow_test): Add more tests.
46216 2012-06-15  Andreas Jaeger  <aj@suse.de>
46218         * manual/contrib.texi (Contributors): Update entry of Liubov
46219         Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
46220         Machado Filho.
46222 2012-06-15  Cyril Hrubis  <metan@ucw.cz>
46224         * string/string.h: Add __wur to GNU version of strerror_r.
46226 2012-06-14  H.J. Lu  <hongjiu.lu@intel.com>
46228         [BZ #14229]
46229         * string/Makefile (tests): Add tst-strtok_r.
46230         * string/tst-strtok_r.c: New file.
46231         * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
46232         RAX_LP/RDX_LP on SAVE_PTR.
46234 2012-06-14  Roland McGrath  <roland@hack.frob.com>
46236         * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
46238 2012-06-14  Joseph Myers  <joseph@codesourcery.com>
46240         * libm_test.inc (csqrt_test): Allow more spurious underflow
46241         exceptions.
46242         (j0_test): Likewise.
46243         (j1_test): Likewise.
46244         (y0_test): Likewise.
46245         (y1_test): Likewise.
46247 2012-06-13  Carlos O'Donell  <carlos_odonell@mentor.com>
46249         * po/Makefile (libc.pot): Use UTF-8 charset.
46251 2012-06-13  Paul Pluzhnikov  <ppluzhnikov@google.com>
46253         [BZ #14210]
46254         Suppress sign-conversion warning from FD_SET.
46255         See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
46256         * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
46257         not unsigned long int.
46258         * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
46260 2012-06-12  H.J. Lu  <hongjiu.lu@intel.com>
46262         [BZ #14050]
46263         [BZ #14117]
46264         * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
46265         __extern_always_inline instead of __extern_inline.
46266         (__signbitf): Support __SSE2_MATH__ and C++ namespace.
46267         (__signbit): Likewise.
46268         (__signbitl): Support C++ namespace.
46269         (lrintf): New inline function.
46270         (lrint): Likewise.
46271         (llrintf): Likewise.
46272         (llrint): Likewise.
46273         (fmaxf): Likewise.
46274         (fmax): Likewise.
46275         (fminf): Likewise.
46276         (fmin): Likewise.
46277         (rint): Likewise.
46278         (rintf): Likewise.
46279         (ceil): Likewise.
46280         (ceilf): Likewise.
46281         (floor): Likewise.
46282         (floorf): Likewise.
46283         (nearbyint): Likewise.
46284         (nearbyintf): Likewise.
46286 2012-06-12  Thomas Schwinge  <thomas@codesourcery.com>
46288         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
46289         non-default versions.
46291 2012-06-11  Roland McGrath  <roland@hack.frob.com>
46293         [BZ #14218]
46294         * manual/argp.texi (Argp): Reword argp_parse description slightly.
46296 2012-06-09  Thomas Schwinge  <thomas@codesourcery.com>
46298         * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
46299         (FE_UPWARD, FE_DOWNWARD): Don't define.
46300         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
46301         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
46303         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
46304         reading it.
46305         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
46306         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
46308 2012-06-09  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
46310         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
46311         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
46312         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
46313         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
46315 2012-06-06  H.J. Lu  <hongjiu.lu@intel.com>
46317         [BZ #14117]
46318         * sysdeps/i386/fpu/bits/fenv.h: Removed.
46319         * sysdeps/i386/fpu/Implies: New file.
46320         * sysdeps/x86_64/fpu/Implies: Likewise.
46321         * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
46322         * sysdeps/x86/fpu/bits/fenv.h: This.
46324         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
46325         __SSE_MATH__.
46327 2012-06-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
46329         [BZ #14134]
46330         * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
46331         character 0xffff that matches the last element of the
46332         conversion table.
46334 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
46336         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
46337         fmodl commit.
46339 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
46341         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
46342         values higher than 25.6283.
46344 2012-06-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
46346         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
46347         subnormal exponent extraction and add some __builtin_expect.
46348         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
46349         Fix for subnormal mantissa calculation.
46351 2012-06-04  Mike Frysinger  <vapier@gentoo.org>
46353         * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
46354         cpu2 is -1 and errno is not ENOSYS.
46356 2012-06-04  H.J. Lu  <hongjiu.lu@intel.com>
46358         [BZ #14117]
46359         * sysdeps/i386/i486/bits/string.h: Renamed to ...
46360         * sysdeps/x86/bits/string.h: This.
46361         * sysdeps/x86_64/bits/string.h: Removed.
46363         * sysdeps/i386/i486/bits/string.h: Define inline functions only
46364         if not compiling for x86-64, but compiling for >= i486.
46366         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
46367         * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
46369         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
46370         New macro from Linux kernel 3.4.0.
46371         (FP_XSTATE_MAGIC2): Likewise.
46372         (FP_XSTATE_MAGIC2_SIZE): Likewise.
46373         (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
46374         (struct _fpx_sw_bytes): New struct.
46375         (struct _xsave_hdr): Likewise.
46376         (struct _ymmh_state): Likewise.
46377         (struct _xstate): Likewise.
46379         * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
46380         * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
46381         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
46382         * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
46383         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
46384         * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
46386         * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
46387         * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
46388         * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
46389         * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
46390         * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
46391         * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
46393 2012-06-04  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
46395         [BZ #13743]
46396         * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
46397         * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
46398         (sysdep_headers): Include sys/platform/ppc.h.
46399         * sysdeps/powerpc/test-gettimebase.c: Test for
46400         __ppc_get_timebase() to catch future ISA opcode/insn changes.
46401         * manual/Makefile (appendices): Include platform.texi.
46402         * manual/contrib.texi (Contributors): Update @node pointers.
46403         * manual/maint.texi (Maintenance): Likewise.
46404         (Platform): New node.
46405         * manual/platform.texi: New file.  Document the new features.
46407 2012-06-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
46408             Jakub Jelinek  <jakub@redhat.com>
46410         [BZ #14188]
46411         * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
46412         where __builtin_expect is unavailable.
46414 2012-06-03  David S. Miller  <davem@davemloft.net>
46416         * stdlib/longlong.h: Updated from GCC.
46418 2012-06-02  Andreas Schwab  <schwab@linux-m68k.org>
46420         [BZ #14042]
46421         * sysdeps/powerpc/powerpc32/mcount.c: New file.
46422         * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
46423         __mcount_internal.
46424         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
46425         (GLIBC_2.16): Likewise.
46427 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
46429         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
46431 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
46433         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
46434         (default-abi): New variable.
46435         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
46436         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
46437         variable.
46438         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
46439         Likewise.
46440         * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
46441         Likewise.
46442         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
46443         Likewise.
46445         * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
46446         definition.  Document in comment.
46448 2012-06-01  David S. Miller  <davem@davemloft.net>
46450         * stdlib/longlong.h: Updated from GCC.
46452 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
46454         [BZ #14117]
46455         * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
46456         Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
46457         sys/debugreg.h sys/io.h here.
46458         * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
46459         sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
46460         sys/io.h.
46461         * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
46462         Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
46463         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
46464         * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
46465         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
46466         * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
46468         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
46469         Define only if __x86_64__ is defined.
46471 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
46473         [BZ #14048]
46474         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
46475         Use int64_t for variable i.
46476         * math/libm-test.inc (fmod_test): Add more tests.
46478         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
46479         z computation is not scheduled after fetestexcept.
46480         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
46481         Use math_force_eval instead of asm to ensure calculation scheduled
46482         before exception test.
46483         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
46484         Ensure a1 + u.d computation is not scheduled after fetestexcept.
46486 2012-06-01  Aurelien Jarno  <aurelien@aurel32.net>
46488         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
46489         computation is not scheduled after fetestexcept.
46491 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
46493         [BZ #14117]
46494         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
46495         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
46497 2012-06-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
46499         * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
46500         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
46502 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
46504         [BZ #14117]
46505         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
46506         <bits/wordsize.h>.
46507         (__WCHAR_MIN): Support __WORDSIZE == 64.
46508         (__WCHAR_MAX): Likewise.
46510         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
46511         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
46513         [BZ #14183]
46514         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
46515         Defined with __SWORD_TYPE if __x86_64__ isn't defined.
46517         [BZ #14117]
46518         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
46519         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
46521         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
46522         * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
46524         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
46525         Defined to 1 if __x86_64__ isn't defined.
46526         (_STAT_VER_LINUX_OLD): New.
46527         (st_atime): Remove duplicate.
46528         (st_mtime): Likewise.
46529         (st_ctime): Likewise.
46531 2012-05-31  David S. Miller  <davem@davemloft.net>
46533         * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
46534         entries.
46536 2012-06-01  Andreas Schwab  <schwab@linux-m68k.org>
46538         * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
46539         gen-libm-test.pl.
46541         [BZ #14132]
46542         * elf/dl-reloc.c: Include <_itoa.h>.
46543         (_dl_reloc_bad_type): Remove use of INTUSE.
46544         * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
46545         * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
46546         * stdio-common/psiginfo.c (psiginfo): Likewise.
46547         * stdio-common/psignal.c (psignal): Likewise.
46548         * string/strsignal.c (strsignal): Likewise.
46549         * include/signal.h (_sys_siglist): Declare hidden proto.
46550         * stdio-common/itoa-digits.c: Include <_itoa.h>.  Replace
46551         INTVARDEF with libc_hidden_data_def.
46552         * stdio-common/itoa-udigits.c: Likewise.
46553         * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
46554         (_itoa_lower_digits_internal): Remove declaration.
46555         (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
46556         * sysdeps/gnu/siglist.c (_sys_siglist_internal)
46557         (_sys_sigabbrev_internal): Remove aliases.
46558         (_sys_siglist): Define hidden alias.
46560 2012-05-31  Markus Trippelsdorf  <markus@trippelsdorf.de>
46562         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
46563         bits/sysctl.h.
46565 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
46567         [BZ #14117]
46568         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
46569         * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
46571         * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
46572         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
46573         * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
46574         * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
46575         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
46576         * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
46578         * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
46579         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
46580         * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
46582         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
46583         with __addr.
46584         (insw): Likewise.
46585         (insl): Likewise.
46586         (outsb): Likewise.
46587         (outsw): Likewise.
46588         (outsl): Likewise.
46590         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
46591         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
46592         * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
46594         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
46595         * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
46596         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
46597         * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
46598         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
46599         * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
46601         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
46602         * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
46604         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
46605         * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
46607         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
46608         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
46609         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
46611         * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
46612         * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
46613         to ...
46614         * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
46616         * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
46617         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
46618         * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
46620         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
46621         for x86-64.
46622         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
46624 2012-05-31  Joseph Myers  <joseph@codesourcery.com>
46626         * math/math.h (M_El): Use two more decimal places.
46627         (M_LOG2El): Likewise.
46628         (M_LOG10El): Likewise.
46629         (M_LN2l): Likewise.
46630         (M_LN10l): Likewise.
46631         (M_PIl): Likewise.
46632         (M_PI_2l): Likewise.
46633         (M_PI_4l): Likewise.
46634         (M_1_PIl): Likewise.
46635         (M_2_PIl): Likewise.
46636         (M_2_SQRTPIl): Likewise.
46637         (M_SQRT2l): Likewise.
46638         (M_SQRT1_2l): Likewise.
46640 2012-05-31  David S. Miller  <davem@davemloft.net>
46642         * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
46643         values between float registers.
46644         * sysdeps/sparc/sparc64/memset.S: Likewise.
46645         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
46647 2012-05-31  Mike Frysinger  <vapier@gentoo.org>
46649         * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
46650         -D_FORTIFY_SOURCE=1.
46651         (CPPFLAGS-tst-longjmp_chk.c): Define.
46652         (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
46653         (CPPFLAGS-tst-longjmp_chk2.c): Define.
46654         * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
46655         CFLAGS-tst-wchar-h.c.
46657 2012-05-31  Marek Polacek  <polacek@redhat.com>
46659         [BZ #14132]
46660         * include/mntent.h (__setmntent_internal, __getmntent_r_internal
46661         __endmntent_internal): Remove declaration.
46662         (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
46663         (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
46664         * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
46666 2012-05-30  David S. Miller  <davem@davemloft.net>
46668         * sysdeps/sparc/sparc32/soft-fp/q_util.c
46669         (___Q_simulate_exceptions): Use real FP ops rather than writing
46670         into the %fsr.
46671         * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
46672         Likewise.
46674 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
46676         [BZ #14117]
46677         * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
46678         * sysdeps/x86/bits/xtitypes.h: This.
46680         * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
46681         * sysdeps/x86/bits/wordsize.h: This.
46683         * sysdeps/i386/bits/huge_vall.h: Renamed to ...
46684         * sysdeps/x86/bits/huge_vall.h: This.
46686         * sysdeps/i386/bits/select.h: Removed.
46687         * sysdeps/x86_64/bits/select.h: Renamed to ...
46688         * sysdeps/x86/bits/select.h: This.
46690         * sysdeps/i386/bits/setjmp.h: Removed.
46691         * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
46692         * sysdeps/x86/bits/setjmp.h: This.
46694         * sysdeps/i386/bits/mathdef.h: Removed.
46695         * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
46696         * sysdeps/x86/bits/mathdef.h: This.
46698 2012-05-30  Andreas Schwab  <schwab@linux-m68k.org>
46700         [BZ #14132]
46701         * include/sys/socket.h (__connect_internal)
46702         (__libc_sa_len_internal): Remove declaration.
46703         (__connect, __libc_sa_len): Declare hidden_proto.
46704         (SA_LEN): Remove use of INTUSE.
46705         * socket/connect.c: Add libc_hidden_def.
46706         * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
46707         * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
46708         * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
46709         alias.
46710         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
46711         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
46712         * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
46713         of adding _internal alias.
46715 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
46717         [BZ #14117]
46718         * sysdeps/i386/bits/link.h: Removed.
46719         * sysdeps/i386/bits/linkmap.h: Likewise.
46720         * sysdeps/x86_64/bits/link.h: Renamed to ...
46721         * sysdeps/x86/bits/link.h: This.
46722         * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
46723         * sysdeps/x86/bits/linkmap.h: This.
46725         * sysdeps/i386/bits/endian.h: Removed.
46726         * sysdeps/x86_64/bits/endian.h: Renamed to ...
46727         * sysdeps/x86/bits/endian.h: This.
46729         * sysdeps/i386/bits/byteswap.h: Removed.
46730         * sysdeps/i386/bits/byteswap-16.h: Likewise.
46731         * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
46732         * sysdeps/x86/bits/byteswap.h: This.
46733         * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
46734         * sysdeps/x86/bits/byteswap-16.h: This.
46735         * sysdeps/i386/Implies: Add x86.
46736         * sysdeps/x86_64/Implies: Likewise.
46738 2012-05-30  David S. Miller  <davem@davemloft.net>
46740         * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
46741         (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
46742         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
46743         (FP_TRAPPING_EXCEPTIONS): Define.
46744         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
46745         (FP_TRAPPING_EXCEPTIONS): Define.
46746         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
46747         subnormals only when inexact has been signalled or underflow
46748         exceptions are enabled.
46749         (_FP_PACK_CANONICAL): Likewise.
46751 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
46753         [BZ #14183]
46754         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
46755         Defined with __UWORD_TYPE if __x86_64__ isn't defined.
46757 2012-05-30  Richard Henderson  <rth@twiddle.net>
46759         * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
46760         with #ifndef NOT_IN_libc.
46762         * scripts/abilist.awk: Accept 8 fields.  Handle Alpha functions
46763         marked to avoid plt entry.
46765 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
46767         [BZ #14112]
46768         * Makeconfig (default-abi): New macro.
46769         (abi-includes): Likewise.
46770         ($(common-objpfx)soversions.mk): Remove WORDSIZE check.  Use
46771         $(abi-$(default-abi)-lib-soname) for soname if defined.
46772         ($(common-objpfx)gnu/lib-names.stmp): Generate from
46773         abi-variants.
46774         * Makefile (installed-stubs): Likewise.
46775         * include/stubs-biarch.h: Removed.
46776         * scripts/lib-names.awk: Only handle one library at a time.
46777         * scripts/soversions.awk: Remove WORDSIZE support.
46778         * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
46779         entries.
46780         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
46781         Removed.
46782         (syscall-list-default-condition): Likewise.
46783         (syscall-list-default-condition): Likewise.
46784         (syscall-list-includes): Likewise.
46785         ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
46786         syscall-list-* with abi-*.  Handle undefined abi-variants.
46787         * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
46788         * sysdeps/unix/sysv/linux/i386/Implies: New file.
46789         * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
46790         * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
46791         * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
46792         * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
46793         Removed.
46794         (syscall-list-32-options): Likewise.
46795         (syscall-list-32-condition): Likewise.
46796         (syscall-list-64-options): Likewise.
46797         (syscall-list-64-condition): Likewise.
46798         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
46799         macro.
46800         * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
46801         Renamed to ...
46802         (abi-*): This.
46803         (abi-64-ld-soname): New macro.
46804         * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
46805         * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
46806         Renamed to ...
46807         (abi-*): This.
46808         * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
46809         * sysdeps/x86_64/x32/shlib-versions: Likewise.
46811 2012-05-30  Joseph Myers  <joseph@codesourcery.com>
46813         * sysdeps/unix/sysv/linux/kernel-features.h
46814         (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
46815         * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
46816         include <kernel-features.h>.
46817         [!__NR_ftruncate64]: Remove conditional code.
46818         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
46819         [__NR_ftruncate64]: Make code unconditional.
46820         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
46821         * sysdeps/unix/sysv/linux/truncate64.c: Do not
46822         include <kernel-features.h>.
46823         [!__NR_ftruncate64]: Remove conditional code.
46824         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
46825         [__NR_ftruncate64]: Make code unconditional.
46826         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
46827         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
46828         include <kernel-features.h>.
46829         [!__NR_ftruncate64]: Remove conditional code.
46830         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
46831         [__NR_ftruncate64]: Make code unconditional.
46832         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
46833         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
46834         include <kernel-features.h>.
46835         [!__NR_ftruncate64]: Remove conditional code.
46836         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
46837         [__NR_ftruncate64]: Make code unconditional.
46838         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
46840         * configure.in (libc_cv_fpie): Weaken to a compile test using
46841         LIBC_TRY_CC_OPTION.
46842         * configure: Regenerated.
46844 2012-05-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
46846         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
46847         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
46848         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
46849         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
46850         Refreshed.
46851         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
46852         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
46853         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
46854         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
46855         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
46856         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
46857         Refreshed.
46859 2012-05-27  David S. Miller  <davem@davemloft.net>
46861         * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
46862         (___Q_zero): New.
46863         (__Q_simulate_exceptions): Return void.  Change to simulate
46864         exceptions by writing into the %fsr.
46865         * sysdeps/sparc/sparc64/soft-fp/qp_util.c
46866         (__Qp_handle_exceptions): Likewise.
46867         (numbers): Delete.
46868         * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
46869         __Qp_handle_exceptions.
46870         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
46871         __Qp_handle_exceptions.
46872         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
46873         as unused and give dummy FP_RND_NEAREST initializer.
46874         (FP_INHIBIT_RESULTS): Define.
46875         (___Q_simulate_exceptions): Update declaration.
46876         (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
46877         formatting.
46878         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
46879         as unused and give dummy FP_RND_NEAREST initializer.
46880         (__Qp_handle_exceptions): Update declaration.
46881         (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
46882         formatting.
46884 2012-05-27  Thomas Schwinge  <thomas@codesourcery.com>
46886         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
46887         the temporary FPU control word.
46888         * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
46889         * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
46890         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
46891         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
46892         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
46893         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
46894         * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
46895         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
46896         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
46897         * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
46898         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
46900 2012-05-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
46902         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
46903         fields.
46905 2012-05-27  Chung-Lin Tang  <cltang@codesourcery.com>
46907         * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
46908         * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
46909         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
46910         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
46911         Likewise.
46912         * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
46913         * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
46914         Likewise.
46916 2012-05-27  Ulrich Drepper  <drepper@gmail.com>
46918         * po/h.po: Update from translation team.
46920 2012-05-26  Andreas Schwab  <schwab@linux-m68k.org>
46922         * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
46924         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
46925         handling of denormals.
46926         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
46927         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
46928         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
46929         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
46930         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
46931         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
46932         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
46933         Likewise.
46935 2012-05-26  Marek Polacek  <polacek@redhat.com>
46937         [BZ #14152]
46938         * math/libm-test.inc (fma_test): Don't always expect underflow
46939         exception.
46941 2012-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
46943         [BZ #12416]
46944         * elf/tst-execstack.c: Include stackinfo.h.
46945         (do_test): Adjust test case to ensure that pthread_getattr_np
46946         behaviour remains the same after marking stack executable.
46948 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
46950         * sysdeps/unix/sysv/linux/kernel-features.h
46951         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
46952         * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
46953         kernel-features.h.
46954         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
46955         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
46956         * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
46957         kernel-features.h.
46958         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
46959         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
46961 2012-05-25  H.J. Lu  <hongjiu.lu@intel.com>
46963         * configure.in: Define the default includes to being none.
46964         * configure: Regenerated.
46966 2012-05-25  Roland McGrath  <roland@hack.frob.com>
46968         * sysdeps/x86_64/__longjmp.S: Add a static probe here.
46969         * sysdeps/x86_64/setjmp.S: Likewise.
46970         * sysdeps/i386/bsd-setjmp.S: Likewise.
46971         * sysdeps/i386/bsd-_setjmp.S: Likewise.
46972         * sysdeps/i386/setjmp.S: Likewise.
46973         * sysdeps/i386/__longjmp.S: Likewise.
46974         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
46975         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
46977         * include/stap-probe.h: New file.
46978         * configure.in: Handle --enable-systemtap.
46979         * configure: Regenerated.
46980         * config.h.in (USE_STAP_PROBE): New #undef.
46981         * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
46982         * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
46983         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
46985 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
46987         [BZ #13717]
46988         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
46989         to 2.4.0 where earlier.
46990         * sysdeps/unix/sysv/linux/configure: Regenerated.
46991         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
46992         <kernel-features.h>.
46993         [__ASSUME_32BITUIDS]: Make code unconditional.
46994         [!__ASSUME_32BITUIDS]: Remove conditional code.
46995         * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
46996         <kernel-features.h>.
46997         [__ASSUME_32BITUIDS]: Make code unconditional.
46998         [!__ASSUME_32BITUIDS]: Remove conditional code.
46999         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
47000         [__ASSUME_32BITUIDS]: Make code unconditional.
47001         (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
47002         * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
47003         <kernel-features.h>.
47004         [__ASSUME_32BITUIDS]: Make code unconditional.
47005         [!__ASSUME_32BITUIDS]: Remove conditional code.
47006         * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
47007         <kernel-features.h>.
47008         [__ASSUME_32BITUIDS]: Make code unconditional.
47009         [!__ASSUME_32BITUIDS]: Remove conditional code.
47010         * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
47011         <kernel-features.h>.
47012         [__ASSUME_32BITUIDS]: Make code unconditional.
47013         [!__ASSUME_32BITUIDS]: Remove conditional code.
47014         * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
47015         <kernel-features.h>.
47016         [__ASSUME_32BITUIDS]: Make code unconditional.
47017         [!__ASSUME_32BITUIDS]: Remove conditional code.
47018         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
47019         <kernel-features.h>.
47020         [__ASSUME_32BITUIDS]: Make code unconditional.
47021         [!__ASSUME_32BITUIDS]: Remove conditional code.
47022         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
47023         <kernel-features.h>.
47024         [__ASSUME_32BITUIDS]: Make code unconditional.
47025         [!__ASSUME_32BITUIDS]: Remove conditional code.
47026         * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
47027         <kernel-features.h>.
47028         [__ASSUME_32BITUIDS]: Make code unconditional.
47029         [!__ASSUME_32BITUIDS]: Remove conditional code.
47030         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
47031         <kernel-features.h>.
47032         [__ASSUME_32BITUIDS]: Make code unconditional.
47033         [!__ASSUME_32BITUIDS]: Remove conditional code.
47034         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
47035         <kernel-features.h>.
47036         [__ASSUME_32BITUIDS]: Make code unconditional.
47037         [!__ASSUME_32BITUIDS]: Remove conditional code.
47038         * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
47039         <kernel-features.h>.
47040         [__ASSUME_32BITUIDS]: Make code unconditional.
47041         [!__ASSUME_32BITUIDS]: Remove conditional code.
47042         * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
47043         <kernel-features.h>.
47044         [__NR_setresgid] (__setresgid): Do not declare.
47045         [__ASSUME_32BITUIDS]: Make code unconditional.
47046         [!__ASSUME_32BITUIDS]: Remove conditional code.
47047         * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
47048         <kernel-features.h>.
47049         [__NR_setresuid] (__setresuid): Do not declare.
47050         [__ASSUME_32BITUIDS]: Make code unconditional.
47051         [!__ASSUME_32BITUIDS]: Remove conditional code.
47052         * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
47053         <kernel-features.h>.
47054         [__ASSUME_32BITUIDS]: Make code unconditional.
47055         [!__ASSUME_32BITUIDS]: Remove conditional code.
47056         * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
47057         <kernel-features.h>.
47058         [__ASSUME_32BITUIDS]: Make code unconditional.
47059         [!__ASSUME_32BITUIDS]: Remove conditional code.
47060         * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
47061         <kernel-features.h>.
47062         [__ASSUME_32BITUIDS]: Make code unconditional.
47063         [!__ASSUME_32BITUIDS]: Remove conditional code.
47064         * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
47065         <kernel-features.h>.
47066         [__ASSUME_32BITUIDS]: Make code unconditional.
47067         [!__ASSUME_32BITUIDS]: Remove conditional code.
47068         * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
47069         <kernel-features.h>.
47070         [__ASSUME_32BITUIDS]: Make code unconditional.
47071         [!__ASSUME_32BITUIDS]: Remove conditional code.
47072         * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
47073         <kernel-features.h>.
47074         [__ASSUME_32BITUIDS]: Make code unconditional.
47075         [!__ASSUME_32BITUIDS]: Remove conditional code.
47076         * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
47077         <kernel-features.h>.
47078         [__ASSUME_32BITUIDS]: Make code unconditional.
47079         [!__ASSUME_32BITUIDS]: Remove conditional code.
47080         * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
47081         <kernel-features.h>.
47082         [__ASSUME_32BITUIDS]: Make code unconditional.
47083         [!__ASSUME_32BITUIDS]: Remove conditional code.
47084         * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
47085         <kernel-features.h>.
47086         [__ASSUME_32BITUIDS]: Make code unconditional.
47087         [!__ASSUME_32BITUIDS]: Remove conditional code.
47088         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
47089         <kernel-features.h>.
47090         [__ASSUME_32BITUIDS]: Make code unconditional.
47091         [!__ASSUME_32BITUIDS]: Remove conditional code.
47092         * sysdeps/unix/sysv/linux/kernel-features.h
47093         (__ASSUME_SETRESUID_SYSCALL): Remove.
47094         (__ASSUME_SETRESGID_SYSCALL): Likewise.
47095         (__ASSUME_32BITUIDS): Likewise.
47096         (__ASSUME_LDT_WORKS): Likewise.
47097         (__ASSUME_O_DIRECTORY): Likewise.
47098         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
47099         architecture but not kernel version.
47100         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
47101         (__ASSUME_MMAP2_SYSCALL): Likewise.
47102         (__ASSUME_STAT64_SYSCALL): Likewise.
47103         (__ASSUME_IPC64): Likewise.
47104         * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
47105         <kernel-features.h>.
47106         [__ASSUME_32BITUIDS]: Make code unconditional.
47107         [!__ASSUME_32BITUIDS]: Remove conditional code.
47108         * sysdeps/unix/sysv/linux/opendir.c: Do not include
47109         <kernel-features.h>.
47110         [__ASSUME_O_DIRECTORY]: Make code unconditional.
47111         * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
47112         132096]: Remove conditional code.
47113         [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
47114         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
47115         <kernel-features.h>.
47116         [__ASSUME_32BITUIDS]: Make code unconditional.
47117         [!__ASSUME_32BITUIDS]: Remove conditional code.
47118         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
47119         <kernel-features.h>.
47120         [__ASSUME_32BITUIDS]: Make code unconditional.
47121         [!__ASSUME_32BITUIDS]: Remove conditional code.
47122         * sysdeps/unix/sysv/linux/setegid.c: Do not include
47123         <kernel-features.h>.
47124         [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
47125         unconditional.
47126         (__setresgid): Do not declare.
47127         [__ASSUME_32BITUIDS]: Make code unconditional.
47128         [!__ASSUME_32BITUIDS]: Remove conditional code.
47129         * sysdeps/unix/sysv/linux/seteuid.c: Do not include
47130         <kernel-features.h>.
47131         [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
47132         unconditional.
47133         (__setresuid): Do not declare.
47134         [__ASSUME_32BITUIDS]: Make code unconditional.
47135         [!__ASSUME_32BITUIDS]: Remove conditional code.
47136         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
47137         <kernel-features.h>.
47138         [__ASSUME_32BITUIDS]: Make code unconditional.
47139         [!__ASSUME_32BITUIDS]: Remove conditional code.
47140         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
47141         <kernel-features.h>.
47142         [__ASSUME_32BITUIDS]: Make code unconditional.
47143         [!__ASSUME_32BITUIDS]: Remove conditional code.
47145 2012-05-25  Richard Henderson  <rth@twiddle.net>
47147         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
47148         dl_hwcap to ifunc resolver.
47149         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
47150         elf_ifunc_invoke.
47151         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
47152         dl_hwcap to ifunc resolver.
47153         * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
47155 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
47157         [BZ #14153]
47158         * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
47159         for |x| <= 2**-26, not 2**-57.
47160         * math/libm-test.inc (acos_test): Do not allow spurious underflow
47161         exception.
47163 2012-05-24  Jeff Law  <law@redhat.com>
47165         * stdio-common/Makefile (tests): Add bug25.
47166         * stdio-common/bug25.c: New test.
47168 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
47170         [BZ #13576]
47171         * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
47172         multiple of MALLOC_ALIGNMENT in size.
47173         (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
47175 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
47177         * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
47178         Require >= 256.
47179         (FILENAME_MAX): Use macro-int-constant.
47180         (FOPEN_MAX): Use macro-int-constant.  Require >= 8.
47181         (_IOFBF): Use macro-int-constant.
47182         (_IOLBF): Likewise.
47183         (_IONBF): Likewise.
47184         (SEEK_CUR): Likewise.
47185         (SEEK_END): Likewise.
47186         (SEEK_SET): Likewise.
47187         (TMP_MAX): Likewise.
47188         (EOF): Use macro-int-constant.  Require < 0.
47189         (NULL): Use macro-constant.  Require == 0.
47190         (stdin): Require type to be FILE *.
47191         (stdout): Likewise.
47192         (stderr): Likewise.
47193         * conform/data/stdlib.h-data (EXIT_FAILURE): Use
47194         macro-int-constant.
47195         (EXIT_SUCCESS): Likewise.
47196         (NULL): Use macro-constant.  Require == 0.
47197         (RAND_MAX): Use macro-int-constant.
47198         [ISO99 || ISO11] (lldiv_t): Require also for these standards.
47199         [C99-based standards] (strtof): Require function.
47200         [C99-based standards] (strtold): Likewise.
47201         [C99-based standards] (strtoll): Likewise.
47202         [C99-based standards] (strtoull): Likewise.
47203         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
47204         [ISO || ISO99 || ISO11] (limits.h): Likewise.
47205         [ISO || ISO99 || ISO11] (math.h): Likewise.
47206         [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
47207         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
47208         [ISO || ISO99 || ISO11] (*_t): Do not allow.
47210 2012-05-24  Andreas Schwab  <schwab@linux-m68k.org>
47212         [BZ #14132]
47213         * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
47214         * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
47215         * intl/dgettext.c (DCGETTEXT): Likewise.
47216         * intl/gettext.c (DCGETTEXT): Likewise.
47217         * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
47218         * posix/regex_internal.h (gettext): Likewise.
47219         * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
47220         Remove declaration.
47221         * include/argz.h (__argz_count_internal)
47222         (__argz_stringify_internal): Remove declaration.
47223         (__argz_count, __argz_stringify): Declare hidden proto.
47224         * intl/dcgettext.c: Remove use of INTDEF.
47225         * string/argz-count.c: Replace INTDEF with libc_hidden_def.
47226         * string/argz-stringify.c: Likewise.
47227         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
47228         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
47229         Declare hidden proto.
47230         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
47231         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
47232         Declare hidden proto.
47233         * include/stdio.h (__asprintf_internal): Don't declare.
47234         (__asprintf): Don't define as macro.  Declare hidden proto.
47235         * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
47236         (__fsetlocking): Declare hidden proto.
47237         * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
47238         (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
47239         hidden proto.
47240         (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
47241         (_IO_setlinebuf): Remove use of INTUSE.
47242         (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
47243         (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
47244         (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
47245         Remove declaration.
47246         * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
47247         (_IO_do_flush): Remove use of INTUSE.
47248         (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
47249         (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
47250         (_IO_adjust_column, _IO_least_wmarker)
47251         (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
47252         (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
47253         (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
47254         (_IO_default_doallocate, _IO_wdefault_doallocate)
47255         (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
47256         (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
47257         (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
47258         (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
47259         (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
47260         (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
47261         (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
47262         (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
47263         (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
47264         (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
47265         (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
47266         (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
47267         (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
47268         proto.
47269         (_IO_flush_all_internal, _IO_adjust_column_internal)
47270         (_IO_default_uflow_internal, _IO_default_finish_internal)
47271         (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
47272         (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
47273         (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
47274         (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
47275         (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
47276         (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
47277         (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
47278         (_IO_file_xsgetn_internal, _IO_file_stat_internal)
47279         (_IO_file_close_internal, _IO_file_close_it_internal)
47280         (_IO_file_underflow_internal, _IO_file_overflow_internal)
47281         (_IO_file_init_internal, _IO_file_attach_internal)
47282         (_IO_file_fopen_internal, _IO_file_read_internal)
47283         (_IO_file_sync_internal, _IO_file_seek_internal)
47284         (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
47285         (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
47286         (_IO_str_underflow_internal, _IO_str_overflow_internal)
47287         (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
47288         (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
47289         (_IO_list_all_internal, _IO_link_in_internal)
47290         (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
47291         (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
47292         (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
47293         (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
47294         (_IO_do_write_internal, _IO_padn_internal)
47295         (_IO_getline_info_internal, _IO_getline_internal)
47296         (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
47297         (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
47298         (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
47299         (_IO_vfscanf_internal, _IO_vfprintf_internal)
47300         (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
47301         (_IO_init_internal, _IO_un_link_internal): Don't declare.
47302         * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
47303         with libc_hidden_ver, remove use of INTUSE.
47304         * libio/genops.c: Likewise.
47305         * libio/freopen.c: Likewise.
47306         * libio/freopen64.c: Likewise.
47307         * libio/iofclose.c: Likewise.
47308         * libio/iofdopen.c: Likewise.
47309         * libio/iofflush.c: Likewise.
47310         * libio/iofflush_u.c: Likewise.
47311         * libio/iofgets.c: Likewise.
47312         * libio/iofgets_u.c: Likewise.
47313         * libio/iofopen.c: Likewise.
47314         * libio/iofopncook.c: Likewise.
47315         * libio/iofread.c: Likewise.
47316         * libio/iofread_u.c: Likewise.
47317         * libio/ioftell.c: Likewise.
47318         * libio/iofwrite.c: Likewise.
47319         * libio/iogetline.c: Likewise.
47320         * libio/iogets.c: Likewise.
47321         * libio/iogetwline.c: Likewise.
47322         * libio/iopadn.c: Likewise.
47323         * libio/iopopen.c: Likewise.
47324         * libio/ioseekoff.c: Likewise.
47325         * libio/ioseekpos.c: Likewise.
47326         * libio/iosetbuffer.c: Likewise.
47327         * libio/iosetvbuf.c: Likewise.
47328         * libio/ioungetc.c: Likewise.
47329         * libio/ioungetwc.c: Likewise.
47330         * libio/iovdprintf.c: Likewise.
47331         * libio/iovsprintf.c: Likewise.
47332         * libio/iovsscanf.c: Likewise.
47333         * libio/memstream.c: Likewise.
47334         * libio/obprintf.c: Likewise.
47335         * libio/oldfileops.c: Likewise.
47336         * libio/oldiofclose.c: Likewise.
47337         * libio/oldiofdopen.c: Likewise.
47338         * libio/oldiofopen.c: Likewise.
47339         * libio/oldiopopen.c: Likewise.
47340         * libio/oldstdfiles.c: Likewise.
47341         * libio/putc.c: Likewise.
47342         * libio/setbuf.c: Likewise.
47343         * libio/setlinebuf.c: Likewise.
47344         * libio/stdfiles.c: Likewise.
47345         * libio/strops.c: Likewise.
47346         * libio/vasprintf.c: Likewise.
47347         * libio/vscanf.c: Likewise.
47348         * libio/vsnprintf.c: Likewise.
47349         * libio/vswprintf.c: Likewise.
47350         * libio/wfiledoalloc.c: Likewise.
47351         * libio/wfileops.c: Likewise.
47352         * libio/wgenops.c: Likewise.
47353         * libio/wmemstream.c: Likewise.
47354         * libio/wstrops.c: Likewise.
47355         * libio/__fpurge.c: Likewise.
47356         * libio/__fsetlocking.c: Likewise.
47357         * assert/assert.c: Likewise.
47358         * debug/fgets_chk.c: Likewise.
47359         * debug/fgets_u_chk.c: Likewise.
47360         * debug/fread_chk.c: Likewise.
47361         * debug/fread_u_chk.c: Likewise.
47362         * debug/gets_chk.c: Likewise.
47363         * debug/obprintf_chk.c: Likewise.
47364         * debug/vasprintf_chk.c: Likewise.
47365         * debug/vdprintf_chk.c: Likewise.
47366         * debug/vsnprintf_chk.c: Likewise.
47367         * debug/vsprintf_chk.c: Likewise.
47368         * malloc/mtrace.c: Likewise.
47369         * misc/error.c: Likewise.
47370         * misc/syslog.c: Likewise.
47371         * stdio-common/asprintf.c: Likewise.
47372         * stdio-common/fxprintf.c: Likewise.
47373         * stdio-common/getw.c: Likewise.
47374         * stdio-common/isoc99_fscanf.c: Likewise.
47375         * stdio-common/isoc99_scanf.c: Likewise.
47376         * stdio-common/isoc99_vfscanf.c: Likewise.
47377         * stdio-common/isoc99_vscanf.c: Likewise.
47378         * stdio-common/isoc99_vsscanf.c: Likewise.
47379         * stdio-common/printf-prs.c: Likewise.
47380         * stdio-common/printf_fp.c: Likewise.
47381         * stdio-common/printf_fphex.c: Likewise.
47382         * stdio-common/printf_size.c: Likewise.
47383         * stdio-common/putw.c: Likewise.
47384         * stdio-common/scanf.c: Likewise.
47385         * stdio-common/sprintf.c: Likewise.
47386         * stdio-common/tmpfile.c: Likewise.
47387         * stdio-common/vfprintf.c: Likewise.
47388         * stdio-common/vfscanf.c: Likewise.
47389         * stdlib/strfmon_l.c: Likewise.
47390         * sunrpc/openchild.c: Likewise.
47391         * sunrpc/xdr_stdio.c: Likewise.
47392         * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
47393         * sysdeps/mach/hurd/tmpfile.c: Likewise.
47395 2012-05-24  Roland McGrath  <roland@hack.frob.com>
47397         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
47399         * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
47400         in the third column, to generate for the shared library an IFUNC
47401         that uses _dl_vdso_vsym.
47402         * Makerules (COMPILE.c, compile-stdin.c): New variables.
47403         * Makeconfig (object-suffixes-noshared): New variable.
47405         * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
47406         (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
47407         (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
47408         (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
47410         [BZ #14132]
47411         * include/sys/time.h (__gettimeofday): Remove macro.
47412         (__gettimeofday, gettimeofday): Add libc_hidden_proto.
47413         * time/gettimeofday.c (__gettimeofday): Remove #undef.
47414         Remove INTDEF.
47415         (__gettimeofday): Add libc_hidden_def.
47416         (gettimeofday): Add libc_hidden_weak.
47417         * sysdeps/mach/gettimeofday.c: Likewise.
47418         * sysdeps/posix/gettimeofday.c: Likewise.
47419         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
47420         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
47421         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
47422         (__gettimeofday_internal): Remove strong_alias.
47423         (__gettimeofday): Add libc_hidden_def.
47424         (gettimeofday): Add libc_hidden_weak.
47425         * sysdeps/unix/syscalls.list (gettimeofday):
47426         Remove __gettimeofday_internal alias.
47428 2012-05-24  Daniel Jacobowitz  <drow@false.org>
47429             H.J. Lu  <hongjiu.lu@intel.com>
47431         [BZ #12495]
47432         * malloc/malloc.c (SMALLBIN_CORRECTION): New.
47433         (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
47434         (largebin_index_32_big): New.
47435         (largebin_index): Use it for 16-byte alignment.
47436         (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ.  Don't update
47437         correction with front_misalign.
47439 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
47441         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
47442         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
47443         Likewise.
47444         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
47445         Likewise.
47446         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
47447         Likewise.
47448         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
47449         Likewise.
47450         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
47451         Likewise.
47452         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
47453         Likewise.
47454         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
47455         Likewise.
47456         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
47457         Likewise.
47458         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
47459         Likewise.
47460         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
47461         Likewise.
47462         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
47463         Likewise.
47464         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
47465         Likewise.
47467         * scripts/data/c++-types-x32-linux-gnu.data: New file.
47468         * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
47470 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
47472         [BZ #10846]
47473         [BZ #14036]
47474         * math/libm-test.inc (exp_test): Add test from bug 14036.
47475         (pow_test): Add test from bug 10846.
47477         * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
47478         and other flags.
47479         (special_function): Do not include flags in test name.
47480         (parse_args): Likewise.
47481         * sysdeps/i386/fpu/libm-test-ulps: Update.
47482         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
47483         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
47484         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
47485         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47487         * math/gen-libm-test.pl (%beautify): Add entries for underflow
47488         exceptions.
47489         * math/libm-test.inc ("Philosophy"): Update comment about
47490         exception testing.
47491         (UNDERFLOW_EXCEPTION): New macro.
47492         (UNDERFLOW_EXCEPTION_OK): Likewise.
47493         (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
47494         (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
47495         (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
47496         (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
47497         (INVALID_EXCEPTION_OK): Update value.
47498         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
47499         (OVERFLOW_EXCEPTION_OK): Likewise.
47500         (IGNORE_ZERO_INF_SIGN): Likewise.
47501         (test_exceptions): Handle underflow exceptions.
47502         (acos_test): Update for underflow exception expectations.
47503         (cexp_test): Likewise.
47504         (clog_test): Likewise.
47505         (clog10_test): Likewise.
47506         (csqrt_test): Likewise.
47507         (ctan_test): Likewise.
47508         (ctanh_test): Likewise.
47509         (exp_test): Likewise.
47510         (exp10_test): Likewise.
47511         (exp2_test): Likewise.
47512         (expm1_test): Likewise.
47513         (fma_test): Likewise.
47514         (j0_test): Likewise.
47515         (jn_test): Likewise.
47516         (nexttoward_test): Likewise.
47517         (pow_test): Likewise.
47518         (scalbn_test): Likewise.
47519         (scalbln_test): Likewise.
47520         (tan_test): Likewise.
47521         (y1_test): Likewise.
47522         * sysdeps/i386/fpu/libm-test-ulps: Update.
47523         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47525 2012-05-23  David S. Miller  <davem@davemloft.net>
47527         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
47528         (__libc_sigaction): Remove unused local variables.
47530 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
47532         * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
47534 2012-05-23  Paul Eggert  <eggert@cs.ucla.edu>
47536         mktime: avoid signed integer overflow
47537         * time/mktime.c (__mktime_internal): Do not mishandle the case
47538         where diff == INT_MIN.
47540         mktime: simplify computation of average
47541         * time/mktime.c (ranged_convert): Use new time_t_avg function
47542         instead of rolling our own (probably-slower) code.
47544         mktime: do not assume signed right shift propagates sign bit
47545         * time/mktime.c (isdst_differ): New static function.
47546         (__mktime_internal): No need to normalize tm_isdst now.
47547         (__mktime_internal, not_equal_tm): Use isdst_differ to compare
47548         tm_isdst values.
47550         mktime: merge another wrapv change from gnulib
47551         * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
47552         from some compilers.
47554         mktime: remove incorrect attempt at unusual arithmetics
47555         * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
47556         The code didn't really work on such machines anyway.
47557         (TYPE_MINIMUM): Assume two's complement.
47558         (twos_complement_arithmetic): Verify that long_int and time_t
47559         are two's complement (or unsigned, in the latter case).
47561         mktime: check signed shifts on long_int and time_t, too
47562         * time/mktime.c (SHR): Check that shifts work as desired
47563         on the types long_int and time_t too, as SHR is used on
47564         such types.
47566         mktime: do not assume 'long' is wide enough
47567         * time/mktime.c (verify): Move decl up.
47568         (long_int): New type.
47569         (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
47570         to remove assumption in the code that 'long' is wide enough to
47571         store year values.  This assumption is not true on x32 and on
47572         some non-glibc platforms.
47574         mktime: merge wrapv change from gnulib
47575         * time/mktime.c (WRAPV): New macro.
47576         (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
47577         (guess_time_tm, __mktime_internal): Do not assume that signed
47578         integer overflow wraps around; modern compilers generate code
47579         where this assumption is no longer valid.
47581 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
47583         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
47584         Replace "jmp L(pseudo_end)" with "ret".
47585         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
47586         Likewise.
47588 2012-05-23  Andreas Jaeger  <aj@suse.de>
47590         * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
47591         * sysdeps/unix/sysv/linux/poll.c: Remove file.
47593 2012-05-23  Andreas Jaeger  <aj@suse.de>
47594             Maximilian Attems  <max@stro.at>
47596         * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
47597         New macros.
47599 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
47601         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
47602         code so that pseudo_end is just ret and the stack pointer is
47603         correct also for static library in error case.
47605 2012-05-23  Joseph Myers  <joseph@codesourcery.com>
47607         * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
47608         move to syscalls.list.
47609         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
47610         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
47611         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
47612         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
47614         * manual/install.texi (Running make install): Do not mention Linux
47615         kernel version for which pt_chown is not needed.
47616         (Linux): Do not mention problems with nscd with 2.0 kernels.
47617         * INSTALL: Regenerated.
47619 2012-05-23  Andreas Jaeger  <aj@suse.de>
47621         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
47622         (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
47623         macro.
47624         * sysdeps/unix/sysv/linux/s390/bits/mman.h
47625         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
47626         * sysdeps/unix/sysv/linux/sh/bits/mman.h
47627         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
47628         * sysdeps/unix/sysv/linux/i386/bits/mman.h
47629         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
47630         * sysdeps/unix/sysv/linux/sparc/bits/mman.h
47631         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
47632         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
47633         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
47634         * sysdeps/unix/sysv/linux/bits/in.h
47635         (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
47637 2012-05-22  Roland McGrath  <roland@hack.frob.com>
47639         * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
47640         (PREPARE_VERSION): Just use assert instead, it will be elided
47641         under [NDEBUG] anyway.
47643 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
47645         * sysdeps/unix/sysv/linux/Makefile: Include
47646         $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
47647         (sysdep_routines): Remove sysctl.
47648         * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
47649         * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
47650         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
47651         * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
47652         * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
47654 2012-05-22  Andreas Jaeger  <aj@suse.de>
47656         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
47657         that pseudo_end is just ret and the stack pointer is correct also
47658         for static library in error case.
47660 2012-05-22  Paul Pluzhnikov  <ppluzhnikov@google.com>
47662         [BZ #14122]
47663         * nss/nsswitch.c (defconfig_entries): New variable.
47664         (__nss_database_lookup): Don't leak defconfig entries.
47665         (nss_parse_service_list): Don't leak on error paths.
47666         (free_database_entries): New function.
47667         (free_defconfig): New function.
47668         (free_mem): Move common code to free_database_entries.
47670 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
47672         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
47673         Add arch_prctl.
47674         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
47676         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
47677         (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
47678         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
47679         New macro.
47680         (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
47681         (INTERNAL_SYSCALL_TYPES): Likewise.
47682         (LOAD_ARGS_TYPES_[1-6]): Likewise.
47683         (LOAD_REGS_TYPES_[1-6]): Likewise.
47684         (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
47685         (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
47687 2012-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47689         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
47690         copysignl for GLIBC_2_0.
47691         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
47692         finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
47693         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
47694         logbl for GLIBC_2_0.
47695         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
47696         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
47698 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
47700         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
47701         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
47703         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
47704         Use "neg %eax".
47706         * time/mktime.c: Update copyright years.
47708 2012-05-22  Paul Eggert  <eggert@cs.ucla.edu>
47710         mktime: merge comment-quoting-style change from gnulib
47711         * time/mktime.c: Quote 'like this' in comments.
47712         The GNU coding standards suggest that we no longer quote `like this',
47713         as "`" and "'" are typically rendered asymmetrically nowadays.
47714         The typical gnulib style is to quote 'like this' when quoting
47715         code, and "like this" when quoting English.
47717         * time/mktime.c (compile-command): Add "-I.".
47719         mktime: merge mktime-internal.h change from gnulib
47720         * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
47722         mktime: merge time_r change from gnulib
47723         * time/mktime.c [!_LIBC]: Do not include "time_r.h".
47725         mktime: merge DEBUG change from gnulib
47726         * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
47727         case system <time.h> has a #define.
47729         mktime: merge <sys/types.h> change from gnulib
47730         * time/mktime.c: Do not include <sys/types.h>; no longer needed,
47731         since <time.t> is now guaranteed to define time_t.
47733         mktime: merge HAVE_CONFIG_H change from gnulib
47734         * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
47736 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
47738         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
47739         Use "neg %eax".
47741         * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
47742         __rlim_t cast.
47743         (struct rusage): Use anonymous union to pad each field to
47744         __syscall_slong_t.
47746 2012-05-21  David S. Miller  <davem@davemloft.net>
47748         * Makefules (o-iterator): Remove .s cases.
47749         (compile-command.s): Delete.
47750         (COMPILE.s): Delete.
47751         * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
47753 2012-05-21  Joseph Myers  <joseph@codesourcery.com>
47755         * configure.in (libc_cv_predef_stack_protector): Only consider
47756         "foobar" and "__stack_chk_fail" lines in libc_undefs.
47757         * configure: Regenerated.
47759 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
47761         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
47762         New macro.  Use R*LP on int and pointer.
47763         (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
47764         * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
47765         * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
47766         * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
47768         * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
47769         [__WORDSIZE_TIME64_COMPAT32] instead of
47770         [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
47771         (struct utmp): Likewise.
47772         * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
47773         * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
47774         Renamed to ...
47775         (__WORDSIZE_TIME64_COMPAT32): This.
47776         * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
47777         * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
47778         * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
47779         * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
47780         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
47781         (__WORDSIZE_TIME64_COMPAT32): New macro.
47783 2012-05-21  Andreas Jaeger  <aj@suse.de>
47785         * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
47786         only if [SHARED]. Add prototype for __wcschr_ia32.
47788 2012-05-21  Roland McGrath  <roland@hack.frob.com>
47790         * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
47791         of %rbp unmolested in the jmp_buf while mangling the low bits.
47792         * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
47793         unmolested high bits of %rbp while demangling the low bits.
47794         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
47796 2012-05-21  Andreas Jaeger  <aj@suse.de>
47798         * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
47799         * sunrpc/svc_simple.c: Use it for registerrpc.
47800         * sunrpc/xcrypt.c: Use it for passwd2des.
47802         * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
47804 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
47806         * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
47807         Don't define if [__SYSCALL_WORDSIZE != 32].
47808         * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
47809         New macro.
47811 2012-05-21  Bruno Haible  <bruno@clisp.org>
47812             Andreas Jaeger  <aj@suse.de>
47814         [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
47815         * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
47816         inptr and inend for must_buffer_ch.
47817         * wcsmbs/tst-mbsnrtowcs.c: Remove file.
47818         * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
47819         * stdio-common/Makefile (tests): Remove bug15.
47820         (bug15-ENV): Remove macro.
47821         * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
47822         anymore.
47824 2012-05-19  Andreas Jaeger  <aj@suse.de>
47825             Roland McGrath  <roland@hack.frob.com>
47827         * manual/contrib.texi: Completely rewritten. It contains now an
47828         alphabetical list of contributors and their contributions.
47830 2012-05-21  Richard Henderson  <rth@twiddle.net>
47832         * misc/getauxval.c (__getauxval): Use unsigned long int.
47833         * misc/sys/auxv.h: Include <sys/cdefs.h>.
47834         (getauxval): Use unsigned long int.
47836 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
47838         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
47840 2012-05-21  Roland McGrath  <roland@hack.frob.com>
47842         * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
47843         (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
47844         __alignof__ (long double).
47846 2012-05-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47848         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
47850 2012-05-20  Richard Henderson  <rth@twiddle.net>
47852         * misc/getauxval.c: New file.
47853         * misc/sys/auxv.h: New file.
47854         * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
47855         (routines): Add getauxval.
47856         * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
47857         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
47858         * elf/dl-sysdep.c (_dl_auxv): Remove.
47859         (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
47860         * elf/dl-support.c (_dl_auxv): New variable.
47861         (_dl_aux_init): Initialize it.
47862         * manual/startup.texi (Auxiliary Vector): New node.
47863         * sysdeps/generic/bits/hwcap.h: New file.
47864         * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
47865         * sysdeps/powerpc/sysdep.h: ... here.  Include it.
47866         * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
47867         * sysdeps/sparc/sysdep.h: ... here.  Include it.
47868         * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
47869         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
47870         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
47871         Update.
47872         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
47873         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
47874         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
47875         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
47876         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
47877         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
47878         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
47879         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
47881 2012-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47883         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
47885 2012-05-19  David S. Miller  <davem@davemloft.net>
47887         * sysdeps/sparc/fpu/libm-test-ulps: Update.
47889 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
47891         [BZ #14123]
47892         * math/s_ccosh.c: Include <float.h>
47893         (__ccosh): Avoid internal overflow calculating sinh and cosh
47894         values before multiplying by sin and cos values.
47895         * math/s_ccoshf.c: Likewise.
47896         * math/s_ccoshl.c: Likewise.
47897         * math/s_csin.c: Likewise.
47898         * math/s_csinf.c: Likewise.
47899         * math/s_csinl.c: Likewise.
47900         * math/s_csinh.c: Likewise.
47901         * math/s_csinhf.c: Likewise.
47902         * math/s_csinhl.c: Likewise.
47903         * math/libm-test.inc (ccos_test): Add more tests.
47904         (ccosh_test): Likewise.
47905         (csin_test): Likewise.
47906         (csinh_test): Likewise.
47907         * sysdeps/i386/fpu/libm-test-ulps: Update.
47908         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47910 2012-05-19  H.J. Lu  <hongjiu.lu@intel.com>
47912         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
47913         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
47915         * sysdeps/x86_64/x32/_itoa.h: Add comment.
47917 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
47919         * sysdeps/powerpc/soft-fp/Makefile: Remove file.
47920         * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
47921         * sysdeps/powerpc/soft-fp/Versions: Likewise.
47922         * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
47923         * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
47924         * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
47925         * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
47926         * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
47927         * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
47928         * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
47929         * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
47930         * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
47931         * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
47932         * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
47933         * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
47934         * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
47935         * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
47936         * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
47937         * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
47938         * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
47939         * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
47940         * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
47941         * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
47942         * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
47943         * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
47944         * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
47945         * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
47946         * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
47947         * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
47948         * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
47949         * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
47951 2012-05-18  Andreas Jaeger  <aj@suse.de>
47953         * csu/.gitignore: Delete.
47955 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
47957         * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
47958         (timex): Use __syscall_slong_t.
47960 2012-05-18  Andreas Jaeger  <aj@suse.de>
47961             Carlos O'Donell  <carlos_odonell@mentor.com>
47963         * manual/install.texi (Configuring and compiling): Update
47964         description about files modified in the source directory.
47965         * INSTALL: Regenerated.
47967 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
47969         * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
47970         value.  Use "or" to set return value to -1.
47971         * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
47972         negate return value.
47974 2012-05-18  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
47976         * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c)
47977         (CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
47978         failure if the compiler has Graphite support disabled.
47979         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
47980         Likewise.
47981         * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c)
47982         (CFLAGS-memmove.c): Likewise.
47983         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
47984         Likewise.
47986 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
47988         * sysdeps/x86_64/x32/_itoa.h: New file.
47990         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
47991         getdents system call only if kernel and user dirents have the
47992         same d_ino and d_off.
47994         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
47995         LLONG_MAX != LONG_MAX.
47996         (_itoa_word): Use _ITOA_WORD_TYPE on value.
47997         (_fitoa_word): Likewise.
47999         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
48000         years.
48001         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
48002         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
48003         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
48005         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
48006         include <bits/wordsize.h>.  Check __x86_64__ instead of
48007         __WORDSIZE.
48008         (sigcontext): Use "__uint64_t" instead of "unsigned long int"
48009         if __x86_64__ is defined.  Use anonymous union on fpstate.
48011         * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
48012         anonymous union.
48014 2012-05-18  Andreas Schwab  <schwab@linux-m68k.org>
48016         * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
48017         INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
48018         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
48019         Refer to _rtld_local_ro instead of _rtld_global_ro.
48020         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
48021         Likewise.
48022         * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
48023         Likewise.
48024         * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
48025         Likewise.
48026         * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
48027         * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
48028         of _rtld_global, and rtld_progname instead of _dl_argv[0].
48030         * sysdeps/powerpc/powerpc32/dl-machine.c
48031         (__elf_machine_runtime_setup) [PROF]: Don't reference
48032         _dl_prof_resolve.
48034 2012-05-18  Andreas Jaeger  <aj@suse.de>
48036         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
48037         function only available for GCCs before 3.4 since GCC 3.4
48038         introduced a builtin.
48039         (lrint): Likewise.
48040         (llrintf): Likewise.
48041         (llrint): Likewise.
48042         (fmaxf): Likewise.
48043         (fmax): Likewise.
48044         (fminf): Likewise.
48045         (fmin): Likewise.
48046         (rint): Likewise.
48047         (rintf): Likewise.
48048         (nearbyint): Likewise.
48049         (nearbyintf): Likewise.
48050         (ceil): Likewise.
48051         (ceilf): Likewise.
48052         (floor): Likewise.
48053         (floorf): Likewise.
48055 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
48057         * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
48058         on both fields and cast pointer to __syscall_ulong_t.
48060         * bits/types.h (__fsword_t): New type.
48061         * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
48062         sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
48063         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
48064         (__FSWORD_T_TYPE): Likewise.
48065         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
48066         (__FSWORD_T_TYPE): Likewise.
48067         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
48068         (__FSWORD_T_TYPE): Likewise.
48069         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
48070         (__FSWORD_T_TYPE): Likewise.
48071         * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
48072         __SWORD_TYPE with __fsword_t.
48073         (statfs64): Likewise.
48075 2012-05-17  David S. Miller  <davem@davemloft.net>
48077         * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
48079 2012-05-17  Andreas Jaeger  <aj@suse.de>
48081         * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
48082         warning.
48084 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
48086         * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
48088 2012-05-17  Andreas Jaeger  <aj@suse.de>
48090         * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
48091         when it is used.
48093 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
48095         * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
48097 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
48099         * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
48100         * sysdeps/x86_64/tst-mallocalign1.c: New file.
48102 2012-05-17  Andreas Jaeger  <aj@suse.de>
48103             Carlos O'Donell  <carlos_odonell@mentor.com>
48105         [BZ #14059]
48106         * sysdeps/x86_64/multiarch/init-arch.h
48107         (bit_YMM_Usable): Rename to...
48108         (bit_AVX_Usable): ... this.
48109         (bit_FMA4_Usable): New macro.
48110         (bit_XMM_state): New macro.
48111         (bit_YMM_state): New macro.
48112         [__ASSEMBLER__] (index_YMM_Usable): Rename to...
48113         [__ASSEMBLER__] (index_AVX_Usable): ... this.
48114         [__ASSEMBLER__] (index_FMA4_Usable): New macro.
48115         (CPUID_OSXSAVE): New macro.
48116         (CPUID_AVX): New macro.
48117         (CPUID_FMA4): New macro.
48118         (index_YMM_Usable): Rename to...
48119         (index_AVX_Usable): ... this.
48120         (HAS_AVX): Use HAS_ARCH_FEATURE.
48121         (HAS_FMA4): Likewise.
48122         (HAS_YMM_USABLE): Remove.
48123         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
48124         Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
48125         are present.
48126         * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
48127         * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
48128         * sysdeps/x86_64/multiarch/Makefile: Likewise.
48129         * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
48130         * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
48132 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
48134         * math/libm-test.c: Support platforms without multiple rounding modes.
48135         * math/bug-nextafter.c: Support platforms without FP exceptions.
48136         * math/bug-nexttoward.c: Likewise.
48137         * math/test-fenv.c: Likewise.
48138         * math/test-misc.c: Likewise.
48139         * stdlib/bug-getcontext.c: Likewise.
48141 2012-05-17  Andreas Jaeger  <aj@suse.de>
48143         * manual/examples/search.c (critter_cmp): Change signature to
48144         avoid warnings.
48145         * manual/string.texi (Collation Functions): Likewise.
48147 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
48149         * bits/types.h: Fold copyright years.
48150         * bits/typesizes.h: Likewise.
48151         * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
48152         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
48153         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
48154         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
48155         * time/time.h: Likewise.
48157 2012-05-16  Paul Pluzhnikov  <ppluzhnikov@google.com>
48159         [BZ #208]
48160         * malloc.c (int_mallinfo): Add parameter to accumulate statistics
48161         in instead of returning them.  Return void.
48162         (__libc_mallinfo): Accumulate over all arenas.
48163         (__malloc_stats): Adjust for change in int_mallinfo interface.
48165 2012-05-16  Roland McGrath  <roland@hack.frob.com>
48167         [BZ #10375]
48168         * configure.in (NM): Add AC_CHECK_TOOL for it.
48169         (libc_extra_cflags): New substituted variable.
48170         Check for -fstack-protector being used implicitly.
48171         * configure: Regenerated.
48172         * config.make.in (config-extra-cflags): New variable,
48173         gets @libc_extra_cflags@.
48174         * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
48176         [BZ #10375]
48177         * configure.in: Check for _FORTIFY_SOURCE being predefined.
48178         (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
48179         * configure: Regenerated.
48180         * config.make.in (CPPUNDEFS): New substituted variable.
48181         * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
48182         * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
48183         * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
48185 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
48187         * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
48188         (mq_attr): Use __syscall_slong_t.
48190 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
48192         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
48193         Check __x86_64__ instead of __WORDSIZE.
48194         (_STAT_VER_LINUX): Likewise.
48195         (stat): Check __x86_64__ instead of __WORDSIZE.  Use
48196         __syscall_ulong_t and __syscall_slong_t.
48197         (stat64): Likewise.
48199 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
48201         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
48203 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
48205         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
48207 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
48209         * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
48210         __syscall_ulong_t.
48212         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
48213         include <bits/wordsize.h>.  Check __x86_64__ instead of
48214         __WORDSIZE.
48215         (greg_t): Use "__extension__ long long int" if __x86_64__ is
48216         defined.
48217         (mcontext_t): Replace "unsigned long" with "unsigned long long".
48219         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
48220         include <bits/wordsize.h>.  Check __x86_64__ instead of
48221         __WORDSIZE.
48222         (user_regs_struct): Use "__extension__ unsigned long long"
48223         instead of "unsigned long" if __x86_64__ is defined.
48224         (user): Likewise.  Pad after pointer field if __ILP32__ is
48225         defined.
48227 2012-05-16  Joseph Myers  <joseph@codesourcery.com>
48229         * configure.in (makeinfo): Require version 4.5 or later.  Allow
48230         versions 5 to 9.
48231         * configure: Regenerated.
48232         * manual/install.texi (texinfo): Increase version requirement to
48233         4.5 or later.
48234         * INSTALL: Regenerated.
48236         * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
48238 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
48240         * sysdeps/x86_64/x32/gmp-mparam.h: New file.
48242         * sysdeps/x86_64/x32/ffs.c: New file.
48244         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
48245         __syscall_ulong_t.
48246         (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
48247         defined.  Use __syscall_ulong_t.
48248         (shminfo): Use __syscall_ulong_t.
48249         (shm_info): Likewise.
48251         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
48252         __syscall_ulong_t.
48254         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
48255         <bits/wordsize.h>.
48256         (msgqnum_t): Use __syscall_ulong_t.
48257         (msglen_t): Likewise.
48258         (msqid_ds): Check __x86_64__ instead of __WORDSIZE.  Use
48259         __syscall_ulong_t.
48261         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
48262         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
48264         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
48266         * sysdeps/x86_64/x32/divdi3.c: New dummy file.
48267         * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
48269         * sysvipc/sys/msg.h (msgbuf): Replace long int with
48270         __syscall_slong_t.
48272         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
48273         include <bits/wordsize.h>.  Check __x86_64__ instead of
48274         __WORDSIZE.
48276         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
48277         "unsigned long long int" if __x86_64__ is defined.
48278         (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
48280         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
48281         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
48282         (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
48284         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
48285         <stdint.h>.
48286         (GET_PC): Cast to uintptr_t first.
48287         (GET_FRAME): Likewise.
48288         (GET_STACK): Likewise.
48290         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
48291         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
48292         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
48293         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
48294         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
48295         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
48296         * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
48297         * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
48298         * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
48299         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
48300         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
48301         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
48302         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
48303         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
48304         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
48305         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
48306         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
48307         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
48308         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
48309         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
48310         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
48311         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
48312         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
48313         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
48314         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
48315         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
48316         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
48317         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
48318         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
48320 2012-05-16  Andreas Schwab  <schwab@linux-m68k.org>
48322         * Makerules (+depfiles): Also collect depfiles from .oS in
48323         $(extra-objs).
48324         * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
48325         .oS, $(libnldbl-routines)).
48327         * Makerules (native-compile-mkdep-flags): Define.
48328         * sunrpc/Makefile (extra-objs): Add $(addprefix
48329         cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
48330         ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
48331         of $(compile-mkdep-flags).  Depend on $(before-compile) instead of
48332         calling $(make-target-directory).
48334 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
48336         * bits/types.h (__snseconds_t): Removed.
48337         * time/time.h (struct timespec): Replace __snseconds_t with
48338         __syscall_slong_t.
48339         * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
48340         * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
48341         Likewise.
48342         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
48343         (__SNSECONDS_T_TYPE): Likewise.
48344         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
48345         (__SNSECONDS_T_TYPE): Likewise.
48346         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
48347         (__SNSECONDS_T_TYPE): Likewise.
48349 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
48351         * sysdeps/mach/hurd/bits/typesizes.h
48352         (__SYSCALL_SLONG_TYPE): New macro.
48353         (__SYSCALL_ULONG_TYPE): Likewise.
48355 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
48357         * bits/types.h (__syscall_slong_t): New type.
48358         (__syscall_ulong_t): Likewise.
48360         * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
48361         (__SYSCALL_ULONG_TYPE): Likewise.
48362         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
48363         (__SYSCALL_SLONG_TYPE): Likewise.
48364         (__SYSCALL_ULONG_TYPE): Likewise.
48365         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
48366         (__SYSCALL_SLONG_TYPE): Likewise.
48367         (__SYSCALL_ULONG_TYPE): Likewise.
48368         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
48369         (__SYSCALL_SLONG_TYPE): Likewise.
48370         (__SYSCALL_ULONG_TYPE): Likewise.
48372 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
48374         * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
48375         Add sigaltstack-offsets.sym.
48376         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
48377         <sigaltstack-offsets.h>.
48378         (CALL_FAIL): Use RSP_LP to operate on stack.  Use RDI_LP on
48379         longjmp_msg pointer.
48380         (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC.  Use
48381         R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
48382         signal stack.
48383         * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
48385 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
48387         * elf/stackguard-macros.h: Remove file.
48388         * sysdeps/generic/stackguard-macros.h: New file.
48389         * sysdeps/i386/stackguard-macros.h: Likewise.
48390         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
48391         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
48392         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
48393         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
48394         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
48395         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
48396         * sysdeps/x86_64/stackguard-macros.h: Likewise.
48397         * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
48398         <elf/stackguard-macros.h>.
48400         [BZ #14109]
48401         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
48402         __aligned__ in attribute.
48403         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
48404         (gregset_t): Likewise.
48406 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
48408         * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
48409         * sysdeps/x86_64/64/Implies-after: Here.  New file.
48410         * sysdeps/x86_64/x32/Implies-after: New file.
48412 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
48414         * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
48415         and access return value for _dl_profile_fixup.  Use R10_LP to
48416         load frame size.
48418 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
48420         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
48422 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
48424         * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
48425         * sysdeps/x86_64/x32/sysdep.h: New file.
48427 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
48429         * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
48430         * sysdeps/x86_64/setjmp.S: Likewise.
48432 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
48434         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
48435         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
48436         * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
48437         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
48438         remove unused global constant.
48440 2012-05-15  Chris Metcalf  <cmetcalf@tilera.com>
48442         * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
48443         include of <not-cancel.h>.
48445 2012-05-15  Roland McGrath  <roland@hack.frob.com>
48447         * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
48449 2012-05-15  Jeff Law  <law@redhat.com>
48450             Andreas Jaeger  <aj@suse.de>
48452         [BZ #13594]
48453         * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
48454         out from...
48455         * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
48456         * nscd/nscd-client.h: Add __nscd_acquire_maplock.
48457         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
48458         code changing __hst_map_handle.map.
48460 2012-05-15  Roland McGrath  <roland@hack.frob.com>
48462         * configure.in (sysnames): Look for Implies-before and Implies-after
48463         files.
48464         * configure: Regenerated.
48466 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
48468         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
48469         8-byte data alignment with LP_SIZE alignment.
48471 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
48473         * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
48474         into R10_LP.
48476 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
48478         * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
48480 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
48482         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
48483         * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
48484         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
48485         Likewise.
48486         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
48488 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
48490         * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
48491         (stackinfo_sub_sp): Likewise.
48493 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
48495         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
48496         RAX_LP.
48498 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
48500         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
48501         into R*_LP.
48503 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
48505         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
48506         sizes into R*_LP.
48508 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
48510         * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
48512 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
48514         * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
48515         into R11_LP and load __x86_64_shared_cache_size_half into
48516         R8_LP.
48518 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
48520         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
48521         R8_LP.
48523 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
48525         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
48526         logb for POWER7.
48527         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
48528         logbf for POWER7.
48529         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
48530         logbl for POWER7.
48531         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
48532         powerpc32/power7/fpu/s_logb.c via #include.
48533         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
48534         powerpc32/power7/fpu/s_logbf.c via #include.
48535         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
48536         powerpc32/power7/fpu/s_logbl.c via #include.
48538 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
48540         * README.libm: Remove file.
48542 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
48544         * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
48545         count for x32.  Use R*_LP and omit operand-size suffix.
48547 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
48549         * shlib-versions: Move x86_64-.*-linux.* entries to ...
48550         * sysdeps/x86_64/64/shlib-versions: Here.  New file.
48551         * sysdeps/x86_64/x32/shlib-versions: New file.
48553 2012-05-14  Roland McGrath  <roland@hack.frob.com>
48555         * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
48556         * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
48557         Use _dl_fatal_printf instead.
48559 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
48561         * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
48562         set if not set by the user.  Do not allow for being unset.
48563         * sysdeps/unix/sysv/linux/configure: Regenerated.
48565 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
48567         * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
48568         the `q' suffix from lea and replace .quad with ASM_ADDR.
48570 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
48572         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
48573         the `q' suffix from xor/rol instructions.  Use $2*LP_SIZE+1
48574         instead of $17.
48575         (PTR_DEMANGLE): Likewise.
48577 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
48579         * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
48580         (LP_OP): Likewise.
48581         (ASM_ADDR): Likewise.
48582         (RAX_LP): Likewise.
48583         (RBP_LP): Likewise.
48584         (RBX_LP): Likewise.
48585         (RCX_LP): Likewise.
48586         (RDI_LP): Likewise.
48587         (RSI_LP): Likewise.
48588         (RSP_LP): Likewise.
48589         (R8_LP): Likewise.
48590         (R9_LP): Likewise.
48591         (R10_LP): Likewise.
48592         (R10_LP): Likewise.
48593         (R11_LP): Likewise.
48594         (R12_LP): Likewise.
48595         (R13_LP): Likewise.
48596         (R14_LP): Likewise.
48597         (R15_LP): Likewise.
48599 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
48601         * sysdeps/x86_64/x32/dl-machine.h: New file.
48603 2012-05-14  Andreas Jaeger  <aj@suse.de>
48605         * manual/Makefile (subdir): Remove export of subdir.
48606         (all): Remove target.
48607         (.PHONY): Remove all from list.
48608         (mkinstalldirs): Remove.
48609         (.PHONY): Remove installdirs from list.
48610         ($(inst_infodir)/libc.info): Use make-target-directory.
48611         (installdirs): Remove.
48612         (subdir_%): Remove.
48613         (glibc-targets): Remove.
48614         (lib): Remove.
48615         (stubs): Remove.
48616         ($(objpfx)stubs ../po/manual.pot): Remove.
48617         ($(objpfx)stamp%): Remove.
48618         (make-target-directory): Remove.
48619         (subdir_install): Remove.
48620         (routines): Remove.
48621         (aux): Remove.
48622         (sources): Remove.
48623         (objects): Remove.
48624         (headers): Remove.
48626         [BZ #13750]
48627         * manual/.gitignore: Remove, it's not needed anymore.
48628         * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
48629         all files in it.
48630         * manual/Makefile (dvi, pdf, info, html): Depend on files in build
48631         directory.
48632         (texis): Renamed to $(objpfx)texis.
48633         (texis-path): New, contains path to generated files.
48634         (chapters.%): Use texis-path for complete path, add extra argument
48635         libc-texinfo.sh.
48636         (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
48637         (libc/index.html, summary.texi): Add $(objpfx) as prefix.
48638         (summary,texi, stamp-summary): Use complete path of
48639         files. Generate files in build dir.
48640         (dir-add.texi): Build in build dir.
48641         (libm-err.texi,stamp-libm-err): Likewise.
48642         (version.texi, stamp-version): Likewise.
48643         (.%c.texi): Likewise.
48644         (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
48645         (mostlyclean): Remove target.
48646         (realclean): Remove target.
48647         (generated): Add new variable with contents from mostlyclean and
48648         realclean, remove entries duplicated in common-mostlyclean, add
48649         stamp-libm-err and stamp-version.
48650         (generated-dirs): Add libc directory.
48651         ($(inst_infodir)/libc.info): Install files from build dir.
48653         * manual/install.texi (Configuring and compiling): Adjust since
48654         the info files are not part of the tar ball anymore.
48656 2012-05-14  Andreas Jaeger  <aj@suse.de>
48658         * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
48659         variable.
48661 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
48663         [BZ #13717]
48664         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
48665         to 2.2.0 where earlier.
48666         * sysdeps/unix/sysv/linux/configure: Regenerated.
48667         * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
48668         Remove conditional code.
48669         [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
48670         * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
48671         Remove conditional code.
48672         [!__NR_lchown]: Likewise.
48673         [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
48674         [__NR_lchown]: Likewise.
48675         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
48676         comment referencing __ASSUME_LCHOWN_SYSCALL.
48677         * sysdeps/unix/sysv/linux/i386/sigaction.c
48678         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
48679         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
48680         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
48681         Remove conditional code.
48682         [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
48683         (__protocol_available): Remove #if 0 code.
48684         * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
48685         conditional code.
48686         [__ASSUME_SIOCGIFNAME]: Make code unconditional.
48687         * sysdeps/unix/sysv/linux/kernel-features.h
48688         (__ASSUME_GETCWD_SYSCALL): Don't define.
48689         (__ASSUME_REALTIME_SIGNALS): Likewise.
48690         (__ASSUME_PREAD_SYSCALL): Likewise.
48691         (__ASSUME_PWRITE_SYSCALL): Likewise.
48692         (__ASSUME_POLL_SYSCALL): Likewise.
48693         (__ASSUME_LCHOWN_SYSCALL): Likewise.
48694         (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
48695         non-SPARC.
48696         (__ASSUME_SIOCGIFNAME): Don't define.
48697         (__ASSUME_MSG_NOSIGNAL): Likewise.
48698         (__ASSUME_SENDFILE): Define unconditionally.
48699         (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
48700         * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
48701         conditional code.
48702         [__ASSUME_POLL_SYSCALL]: Make code unconditional.
48703         * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
48704         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
48705         (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
48706         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
48707         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
48708         (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
48709         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
48710         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
48711         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
48712         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
48713         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
48714         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
48715         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
48716         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
48717         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
48718         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
48719         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
48720         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
48721         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
48722         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
48723         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
48724         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
48725         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
48726         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
48727         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
48728         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
48729         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
48730         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
48731         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
48732         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
48733         * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
48734         Remove conditional code.
48735         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
48736         * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
48737         Remove conditional code.
48738         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
48739         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
48740         [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
48741         * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
48742         Remove conditional code.
48743         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
48744         * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
48745         Remove conditional code.
48746         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
48747         * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
48748         Remove conditional code.
48749         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
48750         * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
48751         Remove conditional code.
48752         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
48753         * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
48754         Remove conditional code.
48755         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
48756         * sysdeps/unix/sysv/linux/sh/pwrite64.c
48757         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
48758         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
48759         * sysdeps/unix/sysv/linux/sigaction.c
48760         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
48761         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
48762         * sysdeps/unix/sysv/linux/sigpending.c
48763         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
48764         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
48765         * sysdeps/unix/sysv/linux/sigprocmask.c
48766         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
48767         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
48768         * sysdeps/unix/sysv/linux/sigsuspend.c
48769         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
48770         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
48771         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
48772         (__libc_missing_rt_sigs): Remove.
48773         (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
48774         (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
48775         * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
48776         Remove conditional code.
48777         [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
48778         * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
48779         return 1.
48780         * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
48781         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
48782         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
48783         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
48785 2012-05-14  Andreas Jaeger  <aj@suse.de>
48787         * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
48788         it's not used in glibc.
48789         (__coshm1): Likewise.
48790         (__acosh1p): Likewise.
48791         (__sgn): Likewise.
48793         * manual/string.texi (Copying and Concatenation): Add missing
48794         variable in concat example.
48795         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
48797 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
48799         [BZ #14103]
48800         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
48801         __builtin_clzl with __builtin_clzll.
48803 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
48805         [BZ #14104]
48806         * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
48807         libc_freeres_ptr.
48809 2012-05-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
48811         * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
48812         * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
48813         * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
48814         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
48816 2012-05-14  Mike Frysinger  <vapier@gentoo.org>
48818         * NEWS: Update ia64 info.
48820 2012-05-12  Andreas Schwab  <schwab@linux-m68k.org>
48822         * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
48823         used as bcopy.
48825 2012-05-12  Thomas Schwinge  <thomas@codesourcery.com>
48827         * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
48828         * sysdeps/unix/syscalls.list (dup3): Likewise.
48829         * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
48830         * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
48832 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
48834         * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
48835         "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
48837 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
48839         * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
48840         thread pointer.
48841         (TLS_IE): Use mov/add instead of movq/addq to load thread
48842         pointer.
48843         (TLS_GD_PREFIX): New.
48844         (TLS_GD): Use it.
48846 2012-05-11  David S. Miller  <davem@davemloft.net>
48848         * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
48849         * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
48850         (_FPU_SETCW): Likewise.
48852 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
48854         * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
48855         is 32-byte aligned.
48857 2012-05-11  Andreas Schwab  <schwab@linux-m68k.org>
48859         [BZ #11837]
48860         * iconvdata/gb18030.c: Update tables.
48861         (BODY for FROM_LOOP): Update.  Handle two-byte encoded non-BMP
48862         characters specially.
48863         (BODY for TO_LOOP): Add encoding of missing ranges.
48865 2012-05-11  Thomas Schwinge  <thomas@codesourcery.com>
48867         [BZ #13673]
48868         * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
48869         * sysdeps/mach/hurd/dup3.c: Likewise.
48870         * sysdeps/mach/hurd/readlinkat.c: Likewise.
48871         * sysdeps/powerpc/memmove.c:: Likewise.
48873 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
48875         * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
48876         R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
48878 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
48880         * elf/elf.h (R_X86_64_RELATIVE64): New.
48881         (R_X86_64_NUM): Updated.
48882         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
48883         R_X86_64_RELATIVE64.  Always use Elf64_Addr with R_X86_64_64.
48884         (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
48885         * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
48886         tst-quad1pie tst-quad2pie
48887         (modules-names): Add tst-quadmod1 tst-quadmod2.
48888         ($(objpfx)tst-quad1): New dependency.
48889         ($(objpfx)tst-quad2): Likewise.
48890         ($(objpfx)tst-quad1pie): Likewise.
48891         ($(objpfx)tst-quad2pie): Likewise.
48892         * sysdeps/x86_64/tst-quad1.c: New file.
48893         * sysdeps/x86_64/tst-quad1pie.c: New file.
48894         * sysdeps/x86_64/tst-quad2.c: Likewise.
48895         * sysdeps/x86_64/tst-quad2pie.c: Likewise.
48896         * sysdeps/x86_64/tst-quadmod1.S: Likewise.
48897         * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
48898         * sysdeps/x86_64/tst-quadmod2.S: Likewise.
48899         * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
48901 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
48903         * io/fcntl.h (mode_t, off_t, pid_t): Define types.
48904         (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
48905         * streams/stropts.h (t_scalar_t): Define type.
48907         * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
48908         (_PATH_PRESERVE): Set to "/var/lib".
48909         (_PATH_RWHODIR): Set to "/var/spool/rwho".
48911         * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
48912         instead of int.
48914         * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
48915         if __dir_mkfile succeeded.
48917         * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
48918         checking for _hurd_dtablesize.  Unlock it right after having
48919         finished _hurd_dtable allocation.
48921 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
48923         * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
48924         * sysdeps/mach/hurd/configure: Regenerated.
48925         * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
48926         special-casing to...
48927         * sysdeps/gnu/configure.in: ... this new file.
48928         * sysdeps/unix/sysv/linux/configure: Regenerated.
48929         * sysdeps/gnu/configure: New generated file.
48931         * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
48932         for Linux: use nsec instead of usec, as well as:
48933         [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
48934         members of type struct timespec.
48935         [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
48936         New macros.
48937         (struct stat64): Likewise.
48938         (_STATBUF_ST_NSEC): New macro.
48939         * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
48941         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
48942         __strtoul_internal rather than strtoul.
48944 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
48946         * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
48947         and reject them.
48949 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
48951         * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
48952         which preserves existing values.
48953         * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
48955 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
48957         * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
48958         TIMEOUT values.  Return EINVAL for NFDS values either negative or
48959         greater than FD_SETSIZE.
48961 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
48963         * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
48964         allocated, call __vm_protect to finish enabling the existing space, and
48965         pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
48966         allocate the remainder.
48968 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
48970         * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
48971         address port.  Set ADDR_LEN to 0 when not filling ADDRARG.
48973 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
48975         * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
48976         sysdeps/mach/hurd/readlink.c.
48978         * posix/tst-sysconf.c (posix_options): Only use
48979         _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
48980         _POSIX_SYNCHRONIZED_IO when they are defined
48981         * sysdeps/mach/hurd/bits/posix_opt.h:
48982         (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
48983         (_XOPEN_REALTIME): Undefine macro.
48984         (_XOPEN_REALTIME_THREADS): Undefine macro.
48985         (_XOPEN_SHM): Undefine macro.
48986         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
48987         macro to -1.
48988         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
48989         macro to -1.
48990         (_POSIX_ASYNC_IO): Undefine macro.
48991         (_POSIX_PRIORITIZED_IO): Undefine macro.
48992         (_POSIX_SPIN_LOCKS): Define macro to -1.
48994         * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
48995         SA_NODEFER, SA_RESETHAND.
48996         * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
48997         O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
48998         F_DUPFD_CLOEXEC.
49000 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
49002         * elf/Makefile (pldd-modules): Define unconditionally.
49004 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
49006         * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
49008 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
49010         * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
49011         Return ENOENT when name is empty.
49012         * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
49014 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
49016         * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
49018         * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
49020 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
49022         Fix mlock in all cases except non-readable pages.
49023         * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
49024         instead of VM_PROT_ALL as parameter to __vm_wire function.
49026         * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
49027         (__mkdir): When path is `/', just fail with EEXIST.
49028         * sysdeps/mach/hurd/mkdirat.c: Likewise.
49030 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
49032         * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
49033         <sys/uio.h> (for writev).
49034         * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
49035         and <sys/param.h> (for MIN).
49037 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
49039         * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
49040         REQUESTED_TIME.  Properly set the remaining time and return EINTR
49041         if interrupted.
49043 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
49045         * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
49046         Depend on against $(link-rpcuserlibs).
49048 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
49050         * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
49051         (__libc_stack_end): Do not use attribute_relro.
49052         * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
49053         * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
49054         to libthread-provided value.
49055         * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
49056         attribute_relro.
49058 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
49060         [BZ #3748]
49061         * bits/libc-lock.h (__libc_once_get): New macro.
49062         * sysdeps/mach/bits/libc-lock.h: Likewise.
49063         * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
49064         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
49065         instead of using implementation details.
49067         * libio/fileops.c: Unconditionally include <kernel-features.h>.
49068         * libio/freopen.c: Likewise.
49069         * libio/freopen64.c: Likewise.
49070         * misc/syslog.c: Likewise.
49071         * nscd/connections.c: Likewise.
49072         * nscd/netgroupcache.c: Likewise.
49073         * sysdeps/posix/getcwd.c: Likewise.
49075 2012-05-10  Roland McGrath  <roland@hack.frob.com>
49077         * math/w_ilogbf.c: Add #include <limits.h>.
49079 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
49081         * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
49082         path instead of returning without unlocking.
49084         * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
49085         immediate-write ioctls.
49086         * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
49088 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
49090         * sysdeps/mach/hurd/i386/init-first.c (init): Use
49091         __builtin_frame_address instead of making assumptions about the
49092         location of the return address relative to DATA.  Force early load of
49093         the return address.
49094         (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
49095         __builtin_frame_address.
49097         dup3 for GNU Hurd.
49098         * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
49099         * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c.  Evolve it to
49100         implement dup3 and do some further code clean-ups.
49101         * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
49102         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
49104 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
49106         * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
49108         * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
49109         HURD_CRITICAL_END around holding _hurd_dtable_lock.
49110         * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
49111         * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
49112         HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
49113         d->port.lock.
49115         * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
49116         instead of setjmp/longjmp to restore the signal mask.  Call sigsetjmp
49117         when handler == SIG_ERR, not when handler != SIG_ERR.
49119 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
49121         * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
49122         (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
49123         definitions.
49125         accept4 for GNU Hurd.
49126         * include/sys/socket.h (__libc_accept4): New prototype.
49127         * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c.  Evolve it
49128         to implement __libc_accept4.
49129         * sysdeps/mach/hurd/accept.c (accept): Reimplement using
49130         __libc_accept4.
49131         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
49133         * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
49134         * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
49135         * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
49136         signal-defines.sym.
49138 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
49140         * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
49142 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
49144         * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
49145         assertion on O_CLOEXEC flag.
49146         * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
49147         * hurd/intern-fd.c: Likewise.
49148         * hurd/port2fd.c: Likewise.
49150 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
49152         [BZ #3906]
49153         * bits/in.h (IPV6_PKTINFO): Define new macro.
49154         (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
49156 2012-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
49158         [BZ #13954]
49159         [BZ #13955]
49160         [BZ #13956]
49161         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
49162         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
49163         * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
49164         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
49165         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
49166         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
49167         * math/libm-test.inc (logb_test) : Additional logb tests.
49169 2012-05-09  Andreas Schwab  <schwab@linux-m68k.org>
49170             Andreas Jaeger  <aj@suse.de>
49172         * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
49173         * configure: Regenerated.
49174         * config.h.in (LINK_OBSOLETE_RPC): New macro.
49175         * config.make.in (link-obsolete-rpc): New substituted variable.
49176         * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
49177         libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
49178         * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
49179         (shared-only-routines): Don't set it under [link-obsolete-rpc],
49180         so that libc.a contains the symbols.
49181         * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
49182         * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
49183         * sunrpc/auth_none.c: Likewise.
49184         * sunrpc/auth_unix.c: Likewise.
49185         * sunrpc/authdes_prot.c: Likewise.
49186         * sunrpc/authuxprot.c: Likewise.
49187         * sunrpc/clnt_gen.c: Likewise.
49188         * sunrpc/clnt_perr.c: Likewise.
49189         * sunrpc/clnt_raw.c: Likewise.
49190         * sunrpc/clnt_simp.c: Likewise.
49191         * sunrpc/clnt_tcp.c: Likewise.
49192         * sunrpc/clnt_udp.c: Likewise.
49193         * sunrpc/clnt_unix.c: Likewise.
49194         * sunrpc/des_crypt.c: Likewise.
49195         * sunrpc/des_soft.c: Likewise.
49196         * sunrpc/get_myaddr.c: Likewise.
49197         * sunrpc/key_call.c: Likewise.
49198         * sunrpc/key_prot.c: Likewise.
49199         * sunrpc/netname.c: Likewise.
49200         * sunrpc/pm_getmaps.c: Likewise.
49201         * sunrpc/pm_getport.c: Likewise.
49202         * sunrpc/pmap_clnt.c: Likewise.
49203         * sunrpc/pmap_prot.c: Likewise.
49204         * sunrpc/pmap_prot2.c: Likewise.
49205         * sunrpc/pmap_rmt.c: Likewise.
49206         * sunrpc/publickey.c: Likewise.
49207         * sunrpc/rpc_cmsg.c: Likewise.
49208         * sunrpc/rpc_common.c: Likewise.
49209         * sunrpc/rpc_dtable.c: Likewise.
49210         * sunrpc/rpc_prot.c: Likewise.
49211         * sunrpc/rpc_thread.c: Likewise.
49212         * sunrpc/rtime.c: Likewise.
49213         * sunrpc/svc.c: Likewise.
49214         * sunrpc/svc_auth.c: Likewise.
49215         * sunrpc/svc_raw.c: Likewise.
49216         * sunrpc/svc_run.c: Likewise.
49217         * sunrpc/svc_tcp.c: Likewise.
49218         * sunrpc/svc_udp.c: Likewise.
49219         * sunrpc/svc_unix.c: Likewise.
49220         * sunrpc/svcauth_des.c: Likewise.
49221         * sunrpc/xcrypt.c: Likewise.
49222         * sunrpc/xdr.c: Likewise.
49223         * sunrpc/xdr_array.c: Likewise.
49224         * sunrpc/xdr_float.c: Likewise.
49225         * sunrpc/xdr_intXX_t.c: Likewise.
49226         * sunrpc/xdr_mem.c: Likewise.
49227         * sunrpc/xdr_rec.c: Likewise.
49228         * sunrpc/xdr_ref.c: Likewise.
49229         * sunrpc/xdr_sizeof.c: Likewise.
49230         * sunrpc/xdr_stdio.c: Likewise.
49232 2012-05-10  Roland McGrath  <roland@hack.frob.com>
49234         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
49235         change.  Update copyright years.
49237 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
49239         * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
49241 2012-05-10  Maxim Kuvyrkov  <maxim@codesourcery.com>
49242             Joseph Myers  <joseph@codesourcery.com>
49243             Paul Pluzhnikov  <ppluzhnikov@google.com>
49245         [BZ #14012]
49246         * sunrpc/Makefile [cross-compiling] (headers): Enable additions
49247         requiring rpcgen.
49248         [cross-compiling] (extra-libs): Likewise.
49249         [cross-compiling] (extra-libs-others): Likewise.
49250         [cross-compiling] (librpcsvc-routines): Likewise.
49251         [cross-compiling] (librpcsvc-inhibit-o): Likewise.
49252         [cross-compiling] (omit-deps): Likewise.
49253         (sunrpc-CPPFLAGS): New variable.
49254         (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
49255         (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
49256         (cross-rpcgen-objs): New variable.
49257         (extra-objs): Append $(cross-rpcgen-objs).
49258         ($(cross-rpcgen-objs)): New rule.
49259         ($(objpfx)cross-rpcgen): Likewise.
49260         (rpcgen-cmd): Define to use $(built-program-file).  Expand
49261         comment.
49262         ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
49263         ($(objpfx)x%.stmp): Likewise.
49264         * sunrpc/proto.h [IS_IN_build] (_): Define.
49265         [IS_IN_build] (_libc_intl_domainname): Likewise.
49267 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
49269         * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
49270         Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
49271         and R_X86_64_TPOFF64.
49273 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
49275         * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
49276         sysdeps/unix/sysv/syscalls.list.
49277         (stime): Likewise.
49278         (utime): Likewise.
49279         * sysdeps/unix/sysv/syscalls.list: Remove file.
49281 2012-05-10  Paul Eggert  <eggert@cs.ucla.edu>
49283         [BZ #3440]
49284         * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
49285         (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
49286         (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
49287         (__LC_IDENTIFICATION): Make these macros useful in #if
49288         expressions, as required by C99.
49290 2012-05-10  Andreas Schwab  <schwab@linux-m68k.org>
49292         * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
49293         $(addsuffix .os,$(rpc-compat-routines)).  Move include ../Rules
49294         after this.
49296 2012-05-09  H.J. Lu  <hongjiu.lu@intel.com>
49298         * stdlib/longlong.h: Updated from GCC.
49300 2012-05-09  Andreas Jaeger  <aj@suse.de>
49302         * nscd/nscd.c (run_modes): Make named enum, reorder so that
49303         default is first entry.
49304         (run_mode): Set type.
49305         (main): Remove informal message about syslog.
49306         (options): Fix typo.
49308         [BZ #14053]
49309         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
49310         to asm.
49311         (lrint): Likewise.
49312         (llrintf): Likewise.
49313         (llrint): Likewise.
49314         (rint): Likewise.
49315         (rintf): Likewise.
49316         (nearbyint): Likewise.
49317         (nearbyintf): Likewise.
49319 2012-05-09  Andreas Jaeger  <aj@suse.de>
49320             Pedro Alves  <palves@redhat.com>
49322         * nscd/nscd.c (run_mode): Use enum.
49323         (main): Cleanup coding style issue.
49325 2012-05-09  Alexandre Oliva  <aoliva@redhat.com>
49326             Andreas Jaeger  <aj@suse.de>
49328         * nscd/nscd.c (go_background): Replaced with...
49329         (run_mode): ... this.
49330         (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
49331         (options): Add -F --foreground.
49332         (main): Implement it.
49333         (parse_opt): Parse it.
49335 2012-05-09  Andreas Jaeger  <aj@suse.de>
49337         [BZ #14083]
49338         * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
49339         !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
49340         -Wconversion warning.
49341         (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
49342         Likewise.
49344 2012-05-09  Joseph Myers  <joseph@codesourcery.com>
49346         * conform/data/locale.h-data (NULL): Use macro-constant.  Require
49347         == 0.
49348         (LC_ALL): Use macro-int-constant.
49349         (LC_COLLATE): Likewise.
49350         (LC_CTYPE): Likewise.
49351         (LC_MESSAGES): Likewise.
49352         (LC_MONETARY): Likewise.
49353         (LC_NUMERIC): Likewise.
49354         (LC_TIME): Likewise.
49355         [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
49356         (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
49357         [ISO || ISO99 || ISO11] (*_t): Do not allow.
49358         * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
49359         Specify type.
49360         [C99-based standards] (float_t): Expect type.
49361         [C99-based standards] (double_t): Expect type.
49362         [C99-based standards] (HUGE_VALF): Use macro-constant.  Specify
49363         type.
49364         [C99-based standards] (HUGE_VALL): Likewise.
49365         [C99-based standards] (INFINITY): Likewise.
49366         [C99-based standards] (NAN): Likewise.
49367         [C99-based standards] (FP_INFINITE): Use macro-int-constant.
49368         [C99-based standards] (FP_NAN): Likewise.
49369         [C99-based standards] (FP_NORMAL): Likewise.
49370         [C99-based standards] (FP_SUBNORMAL): Likewise.
49371         [C99-based standards] (FP_ZERO): Likewise.
49372         [C99-based standards] (FP_FAST_FMA): Use
49373         optional-macro-int-constant.  Specify type.  Require == 1.
49374         [C99-based standards] (FP_FAST_FMAF): Likewise.
49375         [C99-based standards] (FP_FAST_FMAL): Likewise.
49376         [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
49377         [C99-based standards] (FP_ILOGBNAN): Likewise.
49378         [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
49379         Specify type.
49380         [C99-based standards] (MATH_ERREXCEPT): Likewise.
49381         [C99-based standards] (math_errhandling): Specify type.
49382         [ISO99 || ISO11] (signgam): Do not allow.
49383         [non-C99-based standards] (copysignf): Do not allow.
49384         [non-C99-based standards] (exp2f): Likewise.
49385         [non-C99-based standards] (log2f): Likewise.
49386         [non-C99-based standards] (modff): Allow.
49387         [non-C99-based standards] (erff): Do not allow.
49388         [non-C99-based standards] (erfcf): Likewise.
49389         [non-C99-based standards] (gammaf): Likewise.
49390         [non-C99-based standards] (hypotf): Likewise.
49391         [non-C99-based standards] (j0f): Likewise.
49392         [non-C99-based standards] (j1f): Likewise.
49393         [non-C99-based standards] (jnf): Likewise.
49394         [non-C99-based standards] (lgammaf): Likewise.
49395         [non-C99-based standards] (tgammaf): Likewise.
49396         [non-C99-based standards] (y0f): Likewise.
49397         [non-C99-based standards] (y1f): Likewise.
49398         [non-C99-based standards] (ynf): Likewise.
49399         [non-C99-based standards] (isnanf): Likewise.
49400         [non-C99-based standards] (acoshf): Likewise.
49401         [non-C99-based standards] (asinhf): Likewise.
49402         [non-C99-based standards] (atanhf): Likewise.
49403         [non-C99-based standards] (cbrtf): Likewise.
49404         [non-C99-based standards] (expm1f): Likewise.
49405         [non-C99-based standards] (ilogbf): Likewise.
49406         [non-C99-based standards] (log1pf): Likewise.
49407         [non-C99-based standards] (logbf): Likewise.
49408         [non-C99-based standards] (nextafterf): Likewise.
49409         [non-C99-based standards] (remainderf): Likewise.
49410         [non-C99-based standards] (rintf): Likewise.
49411         [non-C99-based standards] (scalbf): Likewise.
49412         [non-C99-based standards] (copysignl): Likewise.
49413         [non-C99-based standards] (exp2l): Likewise.
49414         [non-C99-based standards] (log2l): Likewise.
49415         [non-C99-based standards] (modfl): Allow.
49416         [non-C99-based standards] (erfl): Do not allow.
49417         [non-C99-based standards] (erfcl): Likewise.
49418         [non-C99-based standards] (gammal): Likewise.
49419         [non-C99-based standards] (hypotl): Likewise.
49420         [non-C99-based standards] (j0l): Likewise.
49421         [non-C99-based standards] (j1l): Likewise.
49422         [non-C99-based standards] (jnl): Likewise.
49423         [non-C99-based standards] (lgammal): Likewise.
49424         [non-C99-based standards] (tgammal): Likewise.
49425         [non-C99-based standards] (y0l): Likewise.
49426         [non-C99-based standards] (y1l): Likewise.
49427         [non-C99-based standards] (ynl): Likewise.
49428         [non-C99-based standards] (isnanl): Likewise.
49429         [non-C99-based standards] (acoshl): Likewise.
49430         [non-C99-based standards] (asinhl): Likewise.
49431         [non-C99-based standards] (atanhl): Likewise.
49432         [non-C99-based standards] (cbrtl): Likewise.
49433         [non-C99-based standards] (expm1l): Likewise.
49434         [non-C99-based standards] (ilogbl): Likewise.
49435         [non-C99-based standards] (log1pl): Likewise.
49436         [non-C99-based standards] (logbl): Likewise.
49437         [non-C99-based standards] (nextafterl): Likewise.
49438         [non-C99-based standards] (remainderl): Likewise.
49439         [non-C99-based standards] (rintl): Likewise.
49440         [non-C99-based standards] (scalbl): Likewise.
49441         [ISO || ISO99 || ISO11] (*_t): Do not allow.
49442         [non-C99-based standards] (FP_*): Do not allow.
49443         [C99-based standards] (FP_*): Change to
49444         FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
49445         * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
49446         allow.
49447         * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
49448         (SIG_ERR): Likewise.
49449         [X/Open-based standards] (SIG_HOLD): Likewise.
49450         (SIG_IGN): Likewise.
49451         (SIGABRT): Use macro-int-constant.  Specify type.  Require
49452         positive value.
49453         (SIGFPE): Likewise.
49454         (SIGILL): Likewise.
49455         (SIGINT): Likewise.
49456         (SIGSEGV): Likewise.
49457         (SIGTER): Likewise.
49458         [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
49459         [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
49460         [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
49461         [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
49462         [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
49463         [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
49464         [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
49465         [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
49466         [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
49467         [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
49468         [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
49469         [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
49470         [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
49471         [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
49472         [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
49473         [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
49474         [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
49475         [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
49476         [X/Open-based standards] (SIGTRAP): Likewise.
49477         [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
49478         [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
49479         [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
49480         [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
49481         * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
49482         allow.
49484 2012-05-08  Ian Wienand  <ianw@vmware.com>
49486         [BZ #14080]
49487         * time/tzset.c (__tzset_parse_tz): Update default rules for
49488         daylight time changes in the Energy Policy Act of 2005.
49490 2012-05-09  Andreas Jaeger  <aj@suse.de>
49492         [BZ #13983]
49493         * elf/ldconfig.c (parse_conf): Change string to make clear that
49494         ldconfig only issued a warning if ld.so.conf does not exist.
49496 2012-05-08  David S. Miller  <davem@davemloft.net>
49498         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
49499         movxtod instead of popping the value on the stack.
49501         * sysdeps/sparc/fpu/libm-test-ulps: Update.
49503 2012-05-08  Carlos O'Donell  <carlos_odonell@mentor.com>
49505         * config.h.in: Add HAVE_ARM_PCS_VFP.
49507 2012-05-08  Roland Mc Grath  <roland@hack.frob.com>
49509         [BZ #13979]
49510         * include/features.h: Warn if user requests __FORTIFY_SOURCE
49511         checking but the checks are disabled for any reason.
49513 2012-05-08  H.J. Lu  <hongjiu.lu@intel.com>
49515         * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
49516         and ELF64_R_TYPE with ELFW(R_TYPE).
49518 2012-05-08  Joseph Myers  <joseph@codesourcery.com>
49520         * sysdeps/unix/sysv/syscalls.list (pause): Remove.
49521         (ulimit): Likewise.
49523         * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
49524         (settimeofday): Likewise.
49526 2012-05-08  Mike Frysinger  <vapier@gentoo.org>
49528         * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1.  Add
49529         a struct th_u2 inside the union, and move tu_block/tu_code into
49530         a new th_u3 union of tu_block/tu_code inside of that.  Move
49531         th_data[1] into the th_u2 as tu_data[0].  Change tu_stuff[1] to
49532         tu_stuff[0].  Add a new tu_padding[4] to keep sizeof() the same.
49533         (th_block): Change to th_u1.th_u2.th_u3.tu_block.
49534         (th_code): Change to th_u1.th_u2.th_u3.tu_code.
49535         (th_stuff): Change to th_u1.tu_stuff.
49536         (th_data): Define.
49537         (th_msg): Change to th_u1.th_u2.tu_data.
49539 2012-05-07  David S. Miller  <davem@davemloft.net>
49541         * sysdeps/sparc/fpu/libm-test-ulps: Update.
49543         [BZ #14074]
49544         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
49545         (SETUP_PIC_REG): Use it.
49546         (SETUP_PIC_REG_LEAF): Use it.
49548 2012-05-07  Joseph Myers  <joseph@codesourcery.com>
49550         [BZ #13885]
49551         [BZ #13923]
49552         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
49553         USE_AS_EXPM1L.
49554         (EXPL_FINITE): Likewise.
49555         (FLDLOG): Likewise.
49556         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
49557         * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
49558         e_expl.S.
49559         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
49560         USE_AS_EXPM1L.
49561         (EXPL_FINITE): Likewise.
49562         (FLDLOG): Likewise.
49563         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
49564         * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
49565         e_expl.S.
49566         * math/libm-test.inc (expm1_test): Add more tests.  Do not disable
49567         test of -max_value argument for long double.
49568         * sysdeps/i386/fpu/libm-test-ulps: Update.
49569         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49571 2012-05-06  David S. Miller  <davem@davemloft.net>
49573         * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
49574         quad soft-float symbols whose references which are compiler
49575         generated.
49576         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
49578 2012-05-06  Joseph Myers  <joseph@codesourcery.com>
49580         [BZ #13884]
49581         [BZ #13914]
49582         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
49583         USE_AS_EXP10L.
49584         (EXPL_FINITE): Likewise.
49585         (FLDLOG): Likewise.
49586         (c0): Likewise.
49587         (c1): Likewise.
49588         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
49589         Adjust comments for base varying.
49590         (__expl_finite): Change alias to EXPL_FINITE.
49591         * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
49592         e_expl.S.
49593         * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
49594         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
49595         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
49596         * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
49597         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
49598         USE_AS_EXP10L.
49599         (EXPL_FINITE): Likewise.
49600         (FLDLOG): Likewise.
49601         (c0): Likewise.
49602         (c1): Likewise.
49603         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
49604         Adjust comments for base varying.
49605         (__expl_finite): Change alias to EXPL_FINITE.
49606         * math/libm-test.inc (exp10_test): Add more tests.  Do not disable
49607         tests for bugs.
49608         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
49610         [BZ #14064]
49611         * math/libm-test.inc (check_float_internal): Correct ulp
49612         calculation for subnormal expected results.
49614 2012-05-06  Andreas Jaeger  <aj@suse.de>
49616         * Makeconfig (+math-flags): New, set to -frounding-math.
49617         (+cflags): Add +math-flags so that all of glibc gets compiled with
49618         it.
49620         * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
49622 2012-05-05  Joseph Myers  <joseph@codesourcery.com>
49624         * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
49625         Disable one test.
49627         [BZ #13787]
49628         [BZ #13922]
49629         [BZ #14036]
49630         * sysdeps/i386/fpu/e_expl.S (csat): New constant.
49631         (__ieee754_expl): Allow for and saturate large arguments.
49632         * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
49633         (u_threshold): Likewise.
49634         (__exp): Call __ieee754_exp before checking for overflow and
49635         underflow.
49636         * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
49637         (u_threshold): Likewise.
49638         (__expf): Call __ieee754_expf before checking for overflow and
49639         underflow.
49640         * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
49641         (u_threshold): Likewise.
49642         (__expl): Call __ieee754_expl before checking for overflow and
49643         underflow.
49644         * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
49645         (__ieee754_expl): Allow for and saturate large arguments.
49646         * math/libm-test.inc (exp_test): Add another test.  Do not allow
49647         missing overflow exception on overflow.
49648         (expm1_test): Do not allow missing overflow exception on overflow.
49650         * sysdeps/i386/fpu/e_expl.c: Move to ...
49651         * sysdeps/i386/fpu/e_expl.S: ... here.  Write directly in assembly
49652         rather than using inline asm.
49653         * sysdeps/x86_64/fpu/e_expl.c: Remove file.
49654         * sysdeps/x86_64/fpu/e_expl.S: Copy from
49655         sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
49657         * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
49658         (nice): Likewise.
49659         (poll): Likewise.
49660         (signal): Likewise.
49661         (time): Likewise.
49662         (times): Likewise.
49664 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
49666         * sysdeps/unix/syscalls.list (adjtime): Add entry from
49667         sysdeps/unix/common/syscalls.list.
49668         (fchmod): Likewise.
49669         (fchown): Likewise.
49670         (ftruncate): Likewise.
49671         (getrusage): Likewise.
49672         (gettimeofday): Likewise.
49673         (setpgid): Likewise.
49674         (setregid): Likewise.
49675         (setreuid): Likewise.
49676         (sigaction): Likewise.
49677         (truncate): Likewise.
49678         (vhangup): Likewise.
49679         * sysdeps/unix/common/syscalls.list: Remove file.
49680         * sysdeps/unix/bsd/Implies: Don't include unix/common.
49681         * sysdeps/unix/sysv/linux/Implies: Likewise.
49683 2012-05-04  H.J. Lu  <hongjiu.lu@intel.com>
49685         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
49686         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
49687         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
49688         Moved to ...
49689         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
49690         Here.
49691         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
49692         to ...
49693         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
49694         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
49695         to ...
49696         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
49697         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
49698         to ...
49699         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
49700         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
49701         to ...
49702         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
49703         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
49704         to ...
49705         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
49706         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
49707         to ...
49708         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
49709         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
49710         to ...
49711         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
49712         Here.
49713         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
49714         to ...
49715         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
49716         Here.
49717         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
49718         to ...
49719         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
49720         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
49721         Moved to ...
49722         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
49723         Here.
49724         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
49725         to ...
49726         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
49728 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
49730         * sysdeps/unix/common/bits/dirent.h: Remove file.
49731         * sysdeps/unix/common/bits/fcntl.h: Likewise.
49733         * sysdeps/unix/bsd/bits/dirent.h: Remove file.
49734         * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
49735         * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
49736         * sysdeps/unix/bsd/isatty.c: Likewise.
49737         * sysdeps/unix/bsd/tcdrain.c: Likewise.
49738         * sysdeps/unix/bsd/tcgetattr.c: Likewise.
49739         * sysdeps/unix/bsd/tcsetattr.c: Likewise.
49741 2012-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
49743         [BZ #13563]
49744         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
49745         long double comparison inaccuracies.
49746         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
49747         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
49749 2012-05-04  Andreas Schwab  <schwab@linux-m68k.org>
49751         * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
49752         * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
49754 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
49756         [BZ #14049]
49757         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
49758         nonzero digits before rounding a hex value.
49759         * stdlib/tst-strtod.c (tests): Add another test.
49761 2012-05-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
49763         * sysdeps/s390/fpu/libm-test-ulps: Update.
49765 2012-05-03  Andreas Jaeger  <aj@suse.de>
49767         * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
49768         does not get optimized out.
49769         (malloc_opt_barrier): New.
49771 2012-05-03  Andreas Jaeger  <aj@suse.de>
49772             Roland McGrath  <roland@hack.frob.com>
49774         * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
49775         intermediate file deletion.
49776         (generated): Add .symlist files.
49778 2012-05-03  Joseph Myers  <joseph@codesourcery.com>
49780         [BZ #13775]
49781         * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
49782         Redirect under this condition.
49783         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
49784         [__USE_GNU] (__dprintf_chk): Not under this condition.
49785         [__USE_GNU] (__vdprintf_chk): Likewise.
49786         * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
49787         under this condition.
49788         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
49789         [__USE_XOPEN2K8] (dprintf): Define under this condition.
49790         [__USE_XOPEN2K8] (vdprintf): Likewise.
49791         [__USE_GNU] (__dprintf_chk): Not under this condition.
49792         [__USE_GNU] (__vdprintf_chk): Likewise.
49793         [__USE_GNU] (dprintf): Likewise.
49794         [__USE_GNU] (vdprintf): Likewise.
49796 2012-05-03  Roland McGrath  <roland@hack.frob.com>
49798         * elf/Makefile (common-generated): Set this instead of generated for
49799         .dyn, .phdr, .jmprel files.  Remove $(common-objpfx) from the
49800         $(all-built-dso)-derived lists.
49802 2012-05-03  Andreas Jaeger  <aj@suse.de>
49804         * sysdeps/i386/fpu/libm-test-ulps: Update.
49806         * FAQ: Removed.
49807         * FAQ.in: Likewise.
49808         * scripts/gen-FAQ.pl: Likewise.
49809         * manual/install.texi (Installation): Point to online location of
49810         FAQ.
49811         * Makefile (files-for-dist): Remove FAQ.
49812         (FAQ): Remove.
49814 2012-05-02  Allan McRae  <allan@archlinux.org>
49816         * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
49817         (LDFLAGS-reldepmod5.so): Likewise.
49818         (LDFLAGS-reldep6mod1.so): Likewise.
49819         (LDFLAGS-reldep6mod4.so): Likewise.
49820         (LDFLAGS-reldep8mod3.so): Likewise.
49821         (LDFLAGS-unload4mod1.so): Likewise.
49822         (LDFLAGS-unload4mod2.so): Likewise.
49823         (LDFLAGS-tst-initorder): Likewise.
49824         (LDFLAGS-tst-initordera2.so): Likewise.
49825         (LDFLAGS-tst-initordera3.so): Likewise.
49826         (LDFLAGS-tst-initordera4.so): Likewise.
49827         (LDFLAGS-tst-initorderb2.so): Likewise.
49828         (LDFLAGS-noload): Likewise.
49829         (LDFLAGS-next): Likewise.
49830         (LDFLAGS-order2mod1.so): Likewise.
49831         (LDFLAGS-order2mod2.so): Likewise.
49832         (LDFLAGS-tst-initorder2): Likewise.
49833         (LDFLAGS-tst-initorder2a.so): Likewise.
49834         (LDFLAGS-tst-initorder2b.so): Likewise.
49835         (LDFLAGS-tst-initorder2c.so): Likewise.
49836         * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
49838 2012-05-02  David S. Miller  <davem@davemloft.net>
49840         * sysdeps/sparc/fpu/libm-test-ulps: Update.
49842 2012-05-02  Paul Pluzhnikov  <ppluzhnikov@google.com>
49844         [BZ #14055]
49845         * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
49847 2012-05-02  Andreas Jaeger  <aj@suse.de>
49849         * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
49850         since we manipulate rounding mode.
49851         (CPPFLAGS-test-idouble.c): Likewise.
49852         (CPPFLAGS-test-ifloat.c): Likewise.
49853         (CFLAGS-test-ldouble.c): Likewise.
49854         (CFLAGS-test-double.c): Likewise.
49855         (CFLAGS-test-float.c): Likewise.
49856         (CFLAGS-test-misc.c): Likewise.
49857         (CFLAGS-test-test-fenv.c): Likewise.
49859 2012-05-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
49861         [BZ #2550]
49862         [BZ #2570]
49863         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
49864         comparisons to determine direction to adjust input.
49866 2012-05-01  Roland McGrath  <roland@hack.frob.com>
49868         * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
49869         output to the target.
49871         * scripts/localplt.awk: New file.
49872         * elf/Makefile ($(objpfx)check-localplt): Target removed.
49873         (check-localplt-CFLAGS): Variable removed.
49874         ($(all-built-dso:=.jmprel)): New static pattern rule.
49875         (generated): Add those targets.
49876         (localplt-built-dso): New variable.
49877         ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
49879         * elf/check-localplt.c: File removed.
49881         * scripts/check-execstack.awk: New file.
49882         * elf/Makefile ($(objpfx)check-execstack): Target removed.
49883         (check-execstack-CFLAGS): Variable removed.
49884         ($(objpfx)check-execstack.h): Target removed.
49885         ($(objpfx)execstack-default): New target.
49886         (generated): Add that instead of check-execstack.h.
49887         ($(all-built-dso:=.phdr)): New static pattern rule.
49888         (generated): Add those targets.
49889         * elf/check-execstack.c: File removed.
49891         * scripts/check-textrel.awk: New file.
49892         * elf/Makefile ($(objpfx)check-textrel): Target removed.
49893         (check-textrel-CFLAGS): Variable removed.
49894         (all-built-dso): Use := to define.o
49895         ($(all-built-dso:=.dyn)): New static pattern rule.
49896         (generated): Add those targets.
49897         ($(objpfx)check-textrel.out): Use the script on the .dyn files.
49898         * config.make.in (READELF): New substituted variable.
49899         * elf/check-textrel.c: File removed.
49901 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
49903         * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
49904         allow.
49905         * conform/data/ctype.h-data [C99-based standards] (isblank):
49906         Expect function.
49907         (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
49908         (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
49909         [ISO || ISO99 || ISO11] (*_t): Do not allow.
49910         * conform/data/errno.h-data (EDOM): Use macro-int-constant.
49911         Specify type.  Require positive value.
49912         (EILSEQ): Likewise.
49913         (ERANGE): Likewise.
49914         [ISO || POSIX] (EILSEQ): Do not expect.
49915         [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
49916         Specify type.  Require positive value.
49917         [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
49918         [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
49919         [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
49920         [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
49921         [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
49922         [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
49923         [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
49924         [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
49925         [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
49926         [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
49927         [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
49928         [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
49929         [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
49930         [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
49931         [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
49932         [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
49933         [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
49934         [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
49935         [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
49936         [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
49937         [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
49938         [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
49939         [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
49940         [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
49941         [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
49942         [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
49943         [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
49944         [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
49945         [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
49946         [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
49947         [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
49948         [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
49949         [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
49950         [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
49951         [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
49952         [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
49953         [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
49954         [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
49955         [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
49956         [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
49957         [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
49958         [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
49959         [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
49960         [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
49961         [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
49962         [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
49963         [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
49964         [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
49965         [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
49966         [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
49967         [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
49968         [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
49969         [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
49970         [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
49971         [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
49972         [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
49973         [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
49974         [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
49975         [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
49976         [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
49977         [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
49978         [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
49979         [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
49980         [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
49981         [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
49982         [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
49983         [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
49984         [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
49985         [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
49986         [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
49987         [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
49988         [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
49989         [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
49990         [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
49991         [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
49992         [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
49993         * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
49994         Require >= 2.
49995         (FLT_ROUNDS): Expect as macro, not constant.
49996         (FLT_MANT_DIG): Use macro-int-constant.
49997         (DBL_MANT_DIG): Likewise.
49998         (LDBL_MANT_DIG): Likewise.
49999         (FLT_DIG): Likewise.
50000         (DBL_DIG): Likewise.
50001         (LDBL_DIG): Likewise.
50002         (FLT_MIN_EXP): Use macro-int-constant.  Require < 0.
50003         (DBL_MIN_EXP): Likewise.
50004         (LDBL_MIN_EXP): Likewise.
50005         (FLT_MAX_EXP): Use macro-int-constant.
50006         (DBL_MAX_EXP): Likewise.
50007         (LDBL_MAX_EXP): Likewise.
50008         (FLT_MAX_10_EXP): Likewise.
50009         (DBL_MAX_10_EXP): Likewise.
50010         (LDBL_MAX_10_EXP): Likewise.
50011         (FLT_MAX): Use macro-constant.
50012         (DBL_MAX): Likewise.
50013         (LDBL_MAX): Likewise.
50014         (FLT_EPSILON): Use macro-constant.  Give upper bound.
50015         (DBL_EPSILON): Likewise.
50016         (LDBL_EPSILON): Likewise.
50017         (FLT_MIN): Likewise.
50018         (DBL_MIN): Likewise.
50019         (LDBL_MIN): Likewise.
50020         [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
50021         [C99-based standards] (FLT_EVAL_METHOD): Likewise.
50022         [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
50023         [ISO11] (FLT_HAS_SUBNORM): Likewise.
50024         [ISO11] (LDBL_HAS_SUBNORM): Likewise.
50025         [ISO11] (DBL_DECIMAL_DIG): Likewise.
50026         [ISO11] (FLT_DECIMAL_DIG): Likewise.
50027         [ISO11] (LDBL_DECIMAL_DIG): Likewise.
50028         [ISO11] (DBL_TRUE_MIN): Use macro-constant.
50029         [ISO11] (FLT_TRUE_MIN): Likewise.
50030         [ISO11] (LDBL_TRUE_MIN): Likewise.
50031         [ISO || ISO99 || ISO11] (*_t): Do not allow.
50032         * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
50033         (SCHAR_MIN): Use macro-int-constant.  Specify type.
50034         (SCHAR_MAX): Likewise.
50035         (UCHAR_MAX): Likewise.
50036         (CHAR_MIN): Likewise.
50037         (CHAR_MAX): Likewise.
50038         (MB_LEN_MAX): Use macro-int-constant.
50039         (SHRT_MIN): Use macro-int-constant.  Specify type.
50040         (SHRT_MAX): Likewise.
50041         (USHRT_MAX): Likewise.
50042         (INT_MAX): Likewise.
50043         (INT_MIN): Use macro-int-constant.  Specify type.  Make upper
50044         bound negative.
50045         (UINT_MAX): Use macro-int-constant.  Specify type.  Suffix lower
50046         bound with "U".
50047         (LONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
50048         bound with "L".
50049         (LONG_MIN): Use macro-int-constant.  Specify type.  Make upper
50050         bound negative.  Suffix upper bound with "L".
50051         (ULONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
50052         bound with "UL".
50053         [C99-based standards] (LLONG_MIN): Use macro-int-constant.
50054         Specify type.
50055         [C99-based standards] (LLONG_MAX): Likewise.
50056         [C99-based standards] (ULLONG_MAX): Likewise.
50057         * conform/data/stddef.h-data (NULL): Use macro-constant.  Require
50058         == 0.
50059         [ISO11] (max_align_t): Require type.
50060         [ISO || ISO99 || ISO11] (*_t): Do not allow.
50062         * conform/conformtest.pl ($CFLAGS_namespace): Define separately
50063         from $CFLAGS, without defining away __attribute__ calls.
50064         (checknamespace): Use $CFLAGS_namespace.
50066         * conform/conformtest.pl (@keywords): Only include C99 keywords
50067         for standards based on C99 or C11.
50069         * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
50070         Disable tests.
50071         * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
50072         UNIX98]: Likewise.
50074         * conform/conformtest.pl: Handle "macro-int-constant" and test for
50075         usability of symbols in #if.
50077         * conform/conformtest.pl: If macro or constant types start
50078         "promoted:", expect the symbol to be of the following type
50079         promoted by the integer promotions.
50081         * conform/conformtest.pl: Parse all "constant" and "macro" lines
50082         in one place.  Also handle "macro-constant".
50084         * conform/conformtest.pl: Only accept expected macro values with
50085         "==".  Parse all "macro" lines in one place.
50086         * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
50088         * conform/conformtest.pl: Handle braced types on "constant" lines
50089         instead of handling "typed-constant".
50090         * conform/data/signal.h-data: Use "constant" instead of
50091         "typed-constant".
50093         * conform/conformtest.pl: Handle "optional-" at start of lines in
50094         one place rather than duplicating several cases.  Handle each
50095         format of "macro" line with initial "optional-".
50097         * conform/conformtest.pl: Only accept expected constant or
50098         optional-constant values with "==".  Parse all "constant" lines in
50099         one place.  Parse all "optional-constant" lines in one place.
50100         * conform/data/cpio.h-data: Use "==" form on "constant" lines.
50101         * conform/data/fmtmsg.h-data: Likewise.
50102         * conform/data/netinet/in.h-data: Likewise.
50103         * conform/data/tar.h-data: Likewise.
50104         * conform/data/limits.h-data: Use "==" form on "constant" and
50105         "optional-constant" lines.
50107         * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
50108         Use -std=c99 for XOPEN2K.
50109         (@knownproblems): Remove.
50110         (newtoken): Don't check %isknown.
50112         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
50113         Do not expect macro.
50114         [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
50115         [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
50116         [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
50117         [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
50118         [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
50119         [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
50120         [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
50121         [XPG3 || XPG4 || UNIX98] (isless): Likewise.
50122         [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
50123         [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
50124         [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
50125         [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
50126         [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
50127         [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
50128         [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
50129         [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
50130         [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
50131         [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
50132         [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
50133         [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
50134         [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
50135         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
50136         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
50137         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
50138         [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
50139         [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
50140         [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
50141         [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
50142         [XPG3 || XPG4 || UNIX98] (log2): Likewise.
50143         [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
50144         [XPG3] (acosh): Likewise.
50145         [XPG3] (asinh): Likewise.
50146         [XPG3] (atanh): Likewise.
50147         [XPG3] (cbrt): Likewise.
50148         [XPG3] (expm1): Likewise.
50149         [XPG3] (ilogb): Likewise.
50150         [XPG3] (log1p): Likewise.
50151         [XPG3] (logb): Likewise.
50152         [XPG3] (nextafter): Likewise.
50153         [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
50154         [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
50155         [XPG3] (remainder): Likewise.
50156         [XPG3] (rint): Likewise.
50157         [XPG3 || XPG4 || UNIX98] (round): Likewise.
50158         [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
50159         [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
50160         [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
50161         [XPG3 || XPG4 || UNIX98] (lround): Likewise.
50162         [XPG3 || XPG4 || UNIX98] (llround): Likewise.
50163         [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
50164         [UNIX98 || XOPEN2K] (scalb): Expect.
50165         [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
50166         [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
50167         [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
50168         [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
50169         [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
50170         [XPG3 || XPG4 || UNIX98] (fma): Likewise.
50171         [XPG3 || XPG4 || UNIX98] (nan): Likewise.
50172         [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
50173         [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
50174         [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
50175         [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
50176         [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
50177         [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
50178         [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
50179         [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
50180         [XPG3 || XPG4 || UNIX98] (expf): Likewise.
50181         [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
50182         [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
50183         [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
50184         [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
50185         [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
50186         [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
50187         [XPG3 || XPG4 || UNIX98] (logf): Likewise.
50188         [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
50189         [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
50190         [XPG3 || XPG4 || UNIX98] (modff): Likewise.
50191         [XPG3 || XPG4 || UNIX98] (powf): Likewise.
50192         [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
50193         [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
50194         [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
50195         [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
50196         [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
50197         [XPG3 || XPG4 || UNIX98] (erff): Likewise.
50198         [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
50199         [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
50200         [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
50201         [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
50202         [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
50203         [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
50204         [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
50205         [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
50206         [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
50207         [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
50208         [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
50209         [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
50210         [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
50211         [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
50212         [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
50213         [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
50214         [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
50215         [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
50216         [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
50217         [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
50218         [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
50219         [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
50220         [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
50221         [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
50222         [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
50223         [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
50224         [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
50225         [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
50226         [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
50227         [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
50228         [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
50229         [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
50230         [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
50231         [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
50232         [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
50233         [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
50234         [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
50235         [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
50236         [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
50237         [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
50238         [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
50239         [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
50240         [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
50241         [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
50242         [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
50243         [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
50244         [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
50245         [XPG3 || XPG4 || UNIX98] (expl): Likewise.
50246         [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
50247         [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
50248         [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
50249         [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
50250         [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
50251         [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
50252         [XPG3 || XPG4 || UNIX98] (logl): Likewise.
50253         [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
50254         [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
50255         [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
50256         [XPG3 || XPG4 || UNIX98] (powl): Likewise.
50257         [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
50258         [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
50259         [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
50260         [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
50261         [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
50262         [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
50263         [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
50264         [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
50265         [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
50266         [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
50267         [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
50268         [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
50269         [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
50270         [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
50271         [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
50272         [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
50273         [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
50274         [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
50275         [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
50276         [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
50277         [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
50278         [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
50279         [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
50280         [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
50281         [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
50282         [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
50283         [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
50284         [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
50285         [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
50286         [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
50287         [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
50288         [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
50289         [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
50290         [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
50291         [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
50292         [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
50293         [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
50294         [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
50295         [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
50296         [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
50297         [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
50298         [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
50299         [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
50300         [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
50301         [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
50303         * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
50304         _XOPEN_SOURCE_EXTENDED for XPG4.
50306         * conform/conformtest.pl: Handle "symbol" lines for allow-header.
50308         * Makeconfig (localtime): Remove variable.
50309         (inst_localtime-file): Likewise.
50311 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
50313         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
50314         Update.
50315         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
50316         Update.
50317         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
50318         Update.
50319         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
50320         Update.
50321         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
50322         Update.
50323         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
50324         Update.
50325         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
50326         Update.
50327         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
50328         Update.
50329         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
50330         Update.
50332 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
50334         [BZ #2550]
50335         [BZ #2570]
50336         * math/s_nexttowardf.c (__nexttowardf): Use floating-point
50337         comparisons to determine direction to adjust input.
50338         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
50339         * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
50340         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
50341         Likewise.
50342         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
50343         Likewise.
50344         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
50345         Likewise.
50346         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
50347         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
50348         Likewise.
50349         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
50350         Likewise.
50351         * math/libm-test.inc (nexttoward_test): Add more tests.
50353 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
50355         [BZ #14040]
50356         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
50357         in version GLIBC_2.1, not GLIBC_2.0.
50358         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
50359         Likewise.
50361 2012-04-30  Joseph Myers  <joseph@codesourcery.com>
50363         [BZ #13942]
50364         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
50365         (1 - x) * (1 + x).
50366         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
50367         * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
50368         * math/libm-test.inc (acos_test): Add more tests.
50369         (asin_test): Likewise.
50370         * sysdeps/i386/fpu/libm-test-ulps: Update.
50371         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
50373         [BZ #14034]
50374         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
50375         of square root.
50376         * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
50377         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
50378         * math/libm-test.inc (acos_test_tonearest): New function.
50379         (acos_test_towardzero): Likewise.
50380         (acos_test_downward): Likewise.
50381         (acos_test_upward): Likewise.
50382         (asin_test_tonearest): Likewise.
50383         (asin_test_towardzero): Likewise.
50384         (asin_test_downward): Likewise.
50385         (asin_test_upward): Likewise.
50386         (main): Call the new functions.
50387         * sysdeps/i386/fpu/libm-test-ulps: Update.
50388         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
50390         [BZ #13884]
50391         [BZ #13924]
50392         * math/e_exp10.c: Include <float.h>.
50393         (__ieee754_exp10): Handle underflow here rather than multiplying
50394         large negative argument by M_LN10.
50395         * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
50396         of __ieee754_expf.
50397         * math/e_exp10l.c: Include <float.h>.
50398         (__ieee754_exp10l): Handle underflow here rather than multiplying
50399         large negative argument by M_LN10l.
50400         * math/libm-test.inc (exp10_test): Add another test.  Do not allow
50401         spurious overflow exception on underflow.
50403 2012-04-29  Marek Polacek  <polacek@redhat.com>
50405         * misc/sys/cdefs.h (__attribute_artificial__): New macro.
50406         (__fortify_function): New macro.
50407         (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
50408         * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
50409         __extern_always_inline.
50410         * libio/bits/stdio2.h: Likewise.
50411         * libio/bits/stdio.h: Likewise.
50412         * string/string.h: Likewise.
50413         * string/bits/string3.h: Likewise.
50414         * include/stdio.h: Likewise.
50415         * stdlib/bits/stdlib.h: Likewise.
50416         * stdlib/stdlib.h: Likewise.
50417         * rt/bits/mqueue2.h: Likewise.
50418         * rt/mqueue.h: Likewise.
50419         * posix/bits/unistd.h: Likewise.
50420         * posix/unistd.h: Likewise.
50421         * io/bits/poll2.h: Likewise.
50422         * io/bits/fcntl2.h: Likewise.
50423         * io/fcntl.h: Likewise.
50424         * io/sys/poll.h: Likewise.
50425         * misc/bits/syslog.h: Likewise.
50426         * misc/bits/syslog-ldbl.h: Likewise.
50427         * misc/sys/syslog.h: Likewise.
50428         * socket/bits/socket2.h: Likewise.
50429         * socket/sys/socket.h: Likewise.
50430         * debug/tst-chk1.c: Likewise.
50431         * wcsmbs/bits/wchar2.h: Likewise.
50432         * wcsmbs/bits/wchar-ldbl.h: Likewise.
50433         * wcsmbs/wchar.h: Likewise.
50435 2012-04-29  Andreas Jaeger  <aj@suse.de>
50437         * Makerules (tests): Remove enable-check-abi protection.
50438         (check-abi-warn): Remove.
50439         (check-abi-%): Remove check-abi-warn usage.
50441         * configure.in: Remove check-abi configure option.
50442         * configure: Regenerated.
50443         * config.make.in (enable-check-abi): Remove.
50445 2012-04-28  Andreas Schwab  <schwab@linux-m68k.org>
50447         [BZ #14033]
50448         * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
50449         double functions to double *_finite functions.
50451         [BZ #13941]
50452         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
50453         (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
50454         LDBL_MIN_EXP.
50455         * stdio-common/Makefile (tests): Add tst-sprintf3.
50456         * stdio-common/tst-sprintf3.c: New file.
50458         * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
50459         ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
50461 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
50463         * conform/conformtest.pl: Remove duplicate typed-constant
50464         handling.
50466 2012-04-28  David S. Miller  <davem@davemloft.net>
50468         * Makerules (%.abilist): Add vpath on sysdep_dirs.
50469         (check-abi-%): Remove AWK script prerequisite and explicit
50470         abilist directory.
50471         (check-abi): Rewrite to just diff the symlist with the abilist.
50472         (config-tls, config-abi-config): Delete, no longer used.
50473         (update-abi-%): Remove AWK script and explicit abilist directory.
50474         (update-abi): Rewrite to simply compare and conditionally copy the
50475         symlist and the sysdep abilist file.  Remove update-abi-config
50476         checks.
50477         * abilist/ld.abilist: Remove.
50478         * abilist/libBrokenLocale.abilist: Remove.
50479         * abilist/libanl.abilist: Remove.
50480         * abilist/libcrypt.abilist: Remove.
50481         * abilist/libdl.abilist: Remove.
50482         * abilist/librt.abilist: Remove.
50483         * abilist/libthread_db.abilist: Remove.
50484         * abilist/libutil.abilist: Remove.
50485         * scripts/extract-abilist.awk: Remove.
50486         * scripts/merge-abilist.awk: Remove.
50487         * sysdeps/generic/libcidn.abilist: New file.
50488         * sysdeps/generic/libnss_compat.abilist: New file.
50489         * sysdeps/generic/libnss_db.abilist: New file.
50490         * sysdeps/generic/libnss_dns.abilist: New file.
50491         * sysdeps/generic/libnss_files.abilist: New file.
50492         * sysdeps/generic/libnss_hesiod.abilist: New file.
50493         * sysdeps/generic/libnss_nis.abilist: New file.
50494         * sysdeps/generic/libnss_nisplus.abilist: New file.
50495         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
50496         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
50497         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
50498         file.
50499         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
50500         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
50501         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
50502         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
50503         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
50504         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
50505         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
50506         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
50507         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
50508         file.
50509         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
50510         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
50511         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
50512         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
50513         file.
50514         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
50515         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
50516         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
50517         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
50518         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
50519         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
50520         file.
50521         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
50522         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
50523         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
50524         file.
50525         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
50526         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
50527         New file.
50528         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
50529         New file.
50530         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
50531         New file.
50532         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
50533         New file.
50534         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
50535         New file.
50536         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
50537         New file.
50538         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
50539         New file.
50540         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
50541         New file.
50542         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
50543         New file.
50544         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
50545         New file.
50546         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
50547         New file.
50548         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
50549         New file.
50550         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
50551         New file.
50552         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
50553         file.
50554         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
50555         New file.
50556         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
50557         New file.
50558         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
50559         file.
50560         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
50561         New file.
50562         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
50563         New file.
50564         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
50565         file.
50566         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
50567         New file.
50568         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
50569         New file.
50570         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
50571         New file.
50572         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
50573         New file.
50574         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
50575         New file.
50576         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
50577         New file.
50578         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
50579         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
50580         file.
50581         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
50582         New file.
50583         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
50584         file.
50585         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
50586         file.
50587         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
50588         file.
50589         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
50590         file.
50591         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
50592         file.
50593         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
50594         New file.
50595         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
50596         file.
50597         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
50598         file.
50599         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
50600         New file.
50601         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
50602         file.
50603         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
50604         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
50605         file.
50606         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
50607         New file.
50608         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
50609         file.
50610         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
50611         file.
50612         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
50613         file.
50614         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
50615         file.
50616         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
50617         file.
50618         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
50619         New file.
50620         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
50621         file.
50622         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
50623         file.
50624         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
50625         New file.
50626         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
50627         file.
50628         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
50629         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
50630         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
50631         file.
50632         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
50633         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
50634         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
50635         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
50636         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
50637         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
50638         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
50639         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
50640         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
50641         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
50642         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
50643         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
50644         file.
50645         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
50646         New file.
50647         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
50648         file.
50649         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
50650         file.
50651         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
50652         file.
50653         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
50654         file.
50655         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
50656         file.
50657         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
50658         New file.
50659         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
50660         New file.
50661         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
50662         file.
50663         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
50664         New file.
50665         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
50666         file.
50667         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
50668         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
50669         file.
50670         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
50671         New file.
50672         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
50673         file.
50674         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
50675         file.
50676         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
50677         file.
50678         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
50679         file.
50680         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
50681         file.
50682         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
50683         New file.
50684         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
50685         New file.
50686         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
50687         file.
50688         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
50689         New file.
50690         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
50691         file.
50693 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
50695         * conform/conformtest.pl: Fix typo in handling typed-constant from
50696         allow-header.
50698 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
50700         * README: Cut down references to pre-2.6 Linux kernels and
50701         Linuxthreads.  Update lists of configurations in libc and ports
50702         and sort alphabetically.  Say "or newer" with Linux kernel version
50703         requirements.
50705         * config.h.in [IS_IN_build]: Allow compiling without optimization.
50707 2012-04-27  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
50709         [BZ #887]
50710         * math/libm-test.inc (logb_test_downward): New test to expose
50711         erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
50712         rounding mode.
50714 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
50716         [BZ #14027]
50717         * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
50718         to be done.
50719         * math/fraiseexcpt.c (__feraiseexcept): Likewise.
50720         * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
50722 2012-04-26  Joseph Myers  <joseph@codesourcery.com>
50724         * sysdeps/unix/i386/brk.S: Remove file.
50725         * sysdeps/unix/i386/dl-brk.S: Likewise.
50726         * sysdeps/unix/i386/pipe.S: Likewise.
50727         * sysdeps/unix/i386/sigreturn.S: Likewise.
50728         * sysdeps/unix/i386/syscall.S: Likewise.
50729         * sysdeps/unix/i386/vfork.S: Likewise.
50730         * sysdeps/unix/i386/wait.S: Likewise.
50732         * sysdeps/unix/common/tcsendbrk.c: Move to ...
50733         * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
50735         * configure.in (arm*-none*): Do not allow without
50736         --enable-hacker-mode.
50737         (netbsd*): Remove case setting base_os.
50738         (386bsd*): Likewise.
50739         (freebsd*): Likewise.
50740         (bsdi*): Likewise.
50741         (osf*): Likewise.
50742         (sunos*): Likewise.
50743         (ultrix*): Likewise.
50744         (newsos*): Likewise.
50745         (dynix*): Likewise.
50746         (*bsd*): Likewise.
50747         (sysv*): Likewise.
50748         (isc*): Likewise.
50749         (esix*): Likewise.
50750         (sco*): Likewise.
50751         (minix*): Likewise.
50752         (irix4*): Likewise.
50753         (irix6*): Likewise.
50754         (solaris[2-9]*): Likewise.
50755         (none): Likewise.
50756         * configure: Regenerated.
50758 2012-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
50760         [BZ #11521]
50761         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
50762         overflow or cancellation in calculating denominator.
50763         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
50764         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
50765         down expression to avoid unexpected rounding in newer GCCs.
50766         * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
50768 2012-04-26  David S. Miller  <davem@davemloft.net>
50770         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
50771         long-double compat symbols.
50772         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
50773         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
50774         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
50775         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
50776         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
50777         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
50778         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
50779         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
50780         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
50781         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
50782         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
50783         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
50784         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
50786 2012-04-25  David S. Miller  <davem@davemloft.net>
50788         * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
50789         HWCAP_* values only after the memory barriers have been defined.
50790         (atomic_full_barrier): Define.
50791         (atomic_read_barrier): Define.
50792         (atomic_write_barrier): Define.
50794 2012-04-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
50796         * shlib-versions: Add libgcc_s version information.
50797         * sysdeps/generic/libgcc_s.h: Remove.
50798         * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
50799         libgcc_s.h.
50800         * sysdeps/gnu/unwind-resume.c: Likewise.
50801         * scripts/test-installation.pl: Remove libgcc_s from link_libs.
50803 2012-04-25  David S. Miller  <davem@davemloft.net>
50805         * sysdeps/unix/sparc/brk.S: Delete.
50806         * sysdeps/unix/sparc/dl-brk.S: Delete.
50807         * sysdeps/unix/sparc/pipe.S: Delete.
50808         * sysdeps/unix/sparc/sysdep.S: Delete.
50809         * sysdeps/unix/sparc/sysdep.h: Delete.
50810         * sysdeps/unix/sparc/vfork.S: Delete.
50811         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG)
50812         (SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
50813         * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO)
50814         (ret_ERRVAL, r0, r1, MOVE): Define.
50815         (JUMPTARGET): Remove.
50816         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
50817         sysdeps/unix/sparc/sysdep.h
50818         (ENTRY, END): Remove.
50819         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
50821 2012-04-25  Joseph Myers  <joseph@codesourcery.com>
50823         * Makerules (native-compile): Use $(BUILD_LDFLAGS).
50824         (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
50825         -DIS_IN_build.
50827         * timezone/README: Update upstream location and email address for
50828         tzcode and tzdata.
50829         * timezone/zdump.c: Update from tzcode 2012b.
50830         * timezone/zic.c: Likewise.
50832         * configure.in (libc_cv_as_needed): Remove test.
50833         * configure: Regenerated.
50834         * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
50835         conditional definition.
50836         [$(have-as-needed) != yes] (no-as-needed): Likewise.
50837         [$(have-as-needed) != yes] (libgcc_eh): Likewise.
50838         * config.make.in (have-as-needed): Remove variable.
50840 2012-04-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
50841             Paul Pluzhnikov  <ppluzhnikov@google.com>
50843         * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
50844         strings correctly.
50846 2012-04-25  Chung-Lin Tang  <cltang@codesourcery.com>
50848         * sysdeps/sh/memcpy.S: Remove include of endian.h, change
50849         preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
50850         * sysdeps/sh/strlen.S: Likewise.
50852 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
50854         * sysdeps/unix/fork.S: Remove file.
50855         * sysdeps/unix/i386/fork.S: Likewise.
50856         * sysdeps/unix/sparc/fork.S: Likewise.
50858         * sysdeps/unix/system.c: Remove file.
50859         * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
50861         * sysdeps/unix/getegid.S: Remove file.
50862         * sysdeps/unix/geteuid.S: Likewise.
50864 2012-04-24  Roland McGrath  <roland@hack.frob.com>
50866         * scripts/check-localplt.awk: New file.
50867         * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
50868         of diff.
50869         * scripts/data/localplt-generic.data: Add a comment.
50871         * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
50872         NODE when __dir_mkfile failed.
50873         * sysdeps/mach/hurd/symlinkat.c: Likewise.
50874         Reported by Ludovic Courtès <ludo@gnu.org>.
50876 2012-04-24  Andreas Jaeger  <aj@suse.de>
50878         * Makerules (common-clean): Also remove gen-as-const-headers
50879         files.
50881 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
50883         * Makerules (native-compile): Do not change working directory for
50884         build.  Use $(OUTPUT_OPTION) in command.
50885         (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
50887 2012-04-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
50889         [BZ #13886]
50890         * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
50891         sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
50892         * math/libm-test.inc (floor_test): Add more tests.
50893         * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
50895 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
50897         * sysdeps/unix/getdents.c: Remove file.
50898         * sysdeps/unix/sysv/getdents.c: Likewise.
50899         * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
50901         * sysdeps/unix/syscalls.list (madvise): Add syscall from
50902         sysdeps/unix/mman/syscalls.list.
50903         (mmap): Likewise.
50904         (mprotect): Likewise.
50905         (msync): Likewise.
50906         (munmap): Likewise.
50907         * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
50908         * sysdeps/unix/mman/syscalls.list: Remove.
50909         * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
50911         * configure.in (libc_cv_libgcc_s_suffix): Remove test.
50912         (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
50913         * configure: Regenerated.
50914         * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
50915         $(libgcc_s_suffix).
50916         * config.make.in (libgcc_s_suffix): Remove variable.
50918 2012-04-23  Joseph Myers  <joseph@codesourcery.com>
50920         * sysdeps/unix/sysv/gethostname.c: Move to ...
50921         * sysdeps/posix/gethostname.c: ... here.
50923         * sysdeps/unix/execve.S: Remove file.
50925         * sysdeps/unix/_exit.S: Remove file.
50927 2012-04-23  Andreas Jaeger  <aj@suse.de>
50929         [BZ #13739]
50930         * manual/Makefile: Remove make dist support, there's no
50931         need for a stand-alone documentation tar ball.
50932         (TEXI2DVI): Define always, it's not in Makeconfig.
50933         (dist): Removed.
50934         (tar-it): Removed.
50935         (edition): Removed.
50936         (glibc-doc-$(edition).tar): Removed
50937         (%.Z): Removed.
50938         (%.gz): Removed.
50939         (%.uu): Removed.
50940         (ETAGS): Remove, it's in Makeconfig.
50941         (move-if-change): Remove, it's in Makeconfig.
50943 2012-04-23  Paul Eggert  <eggert@cs.ucla.edu>
50945         [BZ #13970]
50946         * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
50947         (strtod, strtof, strtold, strtol, strtoul, strtoq)
50948         (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
50949         (strtod_l, strtof_l, strtold_l): Remove __wur.
50950         It is not necessarily an error to ignore strtol's return value.
50951         One can reliably look at the stored endptr to decide whether
50952         the number had valid syntax.
50954 2012-04-21  Andreas Jaeger  <aj@suse.de>
50956         [BZ #13739]
50957         * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
50959 2012-04-21  Joseph Myers  <joseph@codesourcery.com>
50961         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
50962         * sysdeps/unix/sysv/Versions: Remove file.
50964 2012-04-21  Markus Trippelsdorf  <markus@trippelsdorf.de>
50966         [BZ #13927]
50967         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
50969 2012-04-21  Nick Alcock  <nick.alcock@oracle.com>
50971         [BZ #7064]
50972         * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
50973         version from __vm86.
50975 2012-04-20  Joseph Myers  <joseph@codesourcery.com>
50977         * sysdeps/unix/common/lxstat.c: Remove file.
50978         * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
50980         * sysdeps/unix/sysv/Makefile: Remove file.
50982         * sysdeps/unix/sysv/direct.h: Remove file.
50984         * sysdeps/unix/sysv/bits/dirent.h: Remove file.
50985         * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
50986         * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
50987         * sysdeps/unix/sysv/bits/signum.h: Likewise.
50988         * sysdeps/unix/sysv/bits/stat.h: Likewise.
50989         * sysdeps/unix/sysv/bits/utmp.h: Likewise.
50990         * sysdeps/unix/sysv/bits/utsname.h: Likewise.
50992         * sysdeps/unix/sysv/setrlimit.c: Remove file.
50994         * sysdeps/unix/xmknod.c: Remove file.
50995         * sysdeps/unix/syscalls.list (sys_mknod): Remove.
50997         * sysdeps/unix/sysv/settimeofday.c: Remove file.
50999         * sysdeps/unix/sysv/i386/time.S: Remove file.
51001         * sysdeps/unix/fxstat.c: Remove file.
51002         * sysdeps/unix/xstat.c: Likewise.
51003         * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
51005         * sysdeps/unix/sysv/sigaction.c: Remove file.
51007         * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
51008         (sysdep_headers): Remove variable.
51009         [termio.h not in sysdep_headers] (generated): Likewise.
51010         [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
51011         * sysdeps/unix/sysv/sysv_termio.h: Remove file.
51012         * sysdeps/unix/sysv/tcdrain.c: Likewise.
51013         * sysdeps/unix/sysv/tcflow.c: Likewise.
51014         * sysdeps/unix/sysv/tcflush.c: Likewise.
51015         * sysdeps/unix/sysv/tcgetattr.c: Likewise.
51016         * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
51017         * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
51018         * sysdeps/unix/sysv/tcsetattr.c: Likewise.
51019         * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
51021         * sysdeps/unix/siglist.c: Remove file.
51023         * sysdeps/unix/getppid.S: Remove file.
51025         * sysdeps/unix/mkdir.c: Remove file.
51026         * sysdeps/unix/rmdir.c: Likewise.
51028 2012-04-19  Andreas Schwab  <schwab@linux-m68k.org>
51030         * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
51031         ERR_MAX value.
51032         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
51033         errlist-compat value.
51035 2012-04-18  David S. Miller  <davem@davemloft.net>
51037         * sysdeps/generic/memcopy.h (reg_char): Delete.
51038         * debug/strcat_chk.c: Use char, not reg_char.
51039         * debug/strcpy_chk.c: Likewise.
51040         * debug/strncat_chk.c: Likewise.
51041         * debug/strncpy_chk.c: Likewise.
51042         * string/memchr.c: Likewise.
51043         * string/memrchr.c: Likewise.
51044         * string/rawmemchr.c: Likewise.
51045         * string/strcat.c: Likewise.
51046         * string/strchr.c: Likewise.
51047         * string/strchrnul.c: Likewise.
51048         * string/strcmp.c: Likewise.
51049         * string/strcpy.c: Likewise.
51050         * string/strncat.c: Likewise.
51051         * string/strncmp.c: Likewise.
51052         * string/strncpy.c: Likewise.
51054 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
51056         * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
51057         __builtin_memcopy is called when src and dest ranges are known to not
51058         overlap.
51060 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
51062         * sysdeps/powerpc/powerpc64/power6/wordcopy.c
51063         (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
51064         fwd_align_merge macro call.
51065         (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
51066         bwd_align_merge macro call.
51067         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
51069 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
51071         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
51072         bwd_align_merge macros.
51073         (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
51074         (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
51075         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
51077 2012-04-18  David S. Miller  <davem@davemloft.net>
51079         * sysdeps/sparc/sparc64/memcopy.h: Delete.
51081 2012-04-18  Andreas Jaeger  <aj@suse.de>
51083         [BZ# 6794]
51084         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
51085         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
51086         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
51088         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
51089         * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
51090         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
51092         * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
51093         * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
51094         Adjust for changed ldbl-128 files.
51096         * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
51097         * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
51098         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
51100 2012-04-17  David S. Miller  <davem@davemloft.net>
51102         * sysdeps/sparc/sparc32/memcopy.h: Delete.
51104 2012-04-17  Andreas Schwab  <schwab@linux-m68k.org>
51106         * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
51107         * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
51108         * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
51109         * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
51110         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
51111         * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
51113 2012-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
51115         [BZ #6794]
51116         * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
51117         * math/libm-test.inc: Add ilogb errno and exception tests.
51118         * math/w_ilogb.c: New file: ilogb wrapper.
51119         * math/w_ilogbf.c: New file: ilogbf wrapper.
51120         * math/w_ilogbl.c: New file: ilogbl wrapper.
51121         * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
51122         * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
51123         * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
51124         exception being thrown with 0.0 as argument.
51125         * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
51126         * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
51127         exception being thrown with 0.0 as argument.
51128         * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
51129         * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
51130         exception being thrown with 0.0 as argument.
51131         * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
51132         * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
51133         exception being thrown with 0.0 as argument.
51134         * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
51135         * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
51136         * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
51137         * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
51138         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
51139         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
51140         * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
51141         * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
51142         * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
51144 2012-04-17  Petr Baudis  <pasky@ucw.cz>
51146         * include/sys/uio.h: Change __vector to __iovec to avoid clash
51147         with altivec.
51149 2012-04-16  Marek Polacek  <polacek@redhat.com>
51151         * elf/pldd-xx.c: Rename static_assert to pldd_assert.
51153 2012-04-16  Marek Polacek  <polacek@redhat.com>
51155         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
51156         operands of fdivp instruction.
51158 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
51160         * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
51161         * elf/tst-auditmod3b.c: Likewise.
51162         * elf/tst-auditmod4b.c: Likewise.
51163         * elf/tst-auditmod5b.c: Likewise.
51164         * elf/tst-auditmod6b.c: Likewise.
51165         * elf/tst-auditmod6c.c: Likewise.
51166         * elf/tst-auditmod7b.c: Likewise.
51167         * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
51168         * sysdeps/x86_64/preconfigure.in: Likewise.
51169         * sysdeps/x86_64/preconfigure: Regenerated.
51171 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
51173         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
51174         __ILP32__.
51176 2012-04-13  Antoine Balestrat <merkil33@gmail.com>
51178         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
51179         (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
51181 2012-04-13  Chris Leonard  <cjlhomeaddress@gmail.com>
51183         [BZ #13973]
51184         * locale/iso-639.def: Fix gl language name. Spotted by
51185         Yaron Shahrabani.
51187 2012-04-12  Roland McGrath  <roland@hack.frob.com>
51189         [BZ #2074]
51190         * libio/libio.h (__io_write_fn): Update comment.
51192 2012-04-12  Petr Baudis  <pasky@ucw.cz>
51194         [BZ #2074]
51195         * stdio.texi (Hook Functions): The user provided writer function
51196         is not allowed to return -1.
51198 2012-04-11  David S. Miller  <davem@davemloft.net>
51200         * sysdeps/sparc/fpu/libm-test-ulps: Update.
51202 2012-04-11  Mike Frysinger  <vapier@gentoo.org>
51204         * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
51205         Add a leading slash to rtkaio.
51207 2012-04-11  Jim Meyering  <meyering@redhat.com>
51209         [BZ #11959]
51210         * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
51211         It is not necessarily an error to ignore fwrite's return
51212         value.  One can reliably use ferror to test for errors after
51213         the fact.
51215 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
51217         * bits/types.h (__snseconds_t): New type.
51218         * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
51220         * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
51221         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
51222         (__SNSECONDS_T_TYPE): Likewise.
51223         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
51224         (__SNSECONDS_T_TYPE): Likewise.
51225         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
51226         (__SNSECONDS_T_TYPE): Likewise.
51228 2012-04-10  Andreas Jaeger  <aj@suse.de>
51230         [BZ #2636]
51231         * manual/time.texi (Processor Time): Return type of times is
51232         elapsed real time since an arbitrary point in the past.
51233         (CPU Time): Move CLK_TCK from here...
51234         (Processor Time): ...to here.  Correct description.
51235         * manual/conf.texi (Constants for Sysconf): Correct description of
51236         _SC_CLK_TCK.
51238 2012-04-10  David S. Miller  <davem@davemloft.net>
51240         [BZ #13967]
51241         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
51242         where the is a gap between DT_REL(A) and DT_JMPREL.
51244 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
51246         * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
51247         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
51248         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
51250 2012-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
51252         * elf/dl-support.c (_dl_inhibit_cache): New variable.
51253         * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
51254         (dl_main): Handle --inhibit-cache.
51255         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
51256         _dl_inhibit_cache.
51257         * elf/dl-load.c (_dl_map_object): Use it.
51258         * elf/Makefile: Define SYSCONFDIR when building rtld.c.
51260 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
51262         [BZ #13872]
51263         * sysdeps/i386/fpu/e_powl.S (p78): New object.
51264         (__ieee754_powl): Saturate large exponents rather than testing for
51265         overflow of y*log2(x).
51266         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
51267         * math/libm-test.inc (pow_test): Do not permit spurious overflow
51268         exceptions.
51270         [BZ #11521]
51271         * math/s_ctan.c: Include <float.h>.
51272         (__ctan): Avoid internal overflow or cancellation in calculating
51273         denominator.
51274         * math/s_ctanf.c: Likewise.
51275         * math/s_ctanl.c: Likewise.
51276         * math/s_ctanh.c: Likewise.
51277         * math/s_ctanhf.c: Likewise.
51278         * math/s_ctanhl.c: Likewise.
51279         * math/libm-test.inc (ctan_test): Add more tests.
51280         (ctanh_test): Likewise.
51281         * sysdeps/i386/fpu/libm-test-ulps: Update.
51282         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
51284 2012-04-09  Andreas Jaeger  <aj@suse.de>
51286         [BZ #6894]
51287         * manual/filesys.texi (Directory Entries): Mention that d_namlen
51288         is an optional BSD extension.
51290         [BZ #10254]
51291         * manual/stdio.texi (Opening Streams): Document additional fopen
51292         parameters.
51294 2012-04-09  Roland McGrath  <roland@hack.frob.com>
51296         * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
51297         %eax without telling the compiler.
51299 2012-04-09  Carlos O'Donell  <carlos_odonell@mentor.com>
51301         [BZ # 13963]
51302         * manual/install.texi: Use sourceware.org.
51304 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
51306         [BZ #13873]
51307         * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
51308         (__ieee754_pow): Generate overflow and underflow using huge*huge
51309         and tiny*tiny rather than just returning constant infinity or zero
51310         for large exponents.
51311         * math/libm-test.inc (pow_test): Require overflow exceptions for
51312         applicable cases of large exponents.
51314         [BZ #706]
51315         * sysdeps/i386/fpu/e_pow.S (p10): New object.
51316         (__ieee754_pow): Use iterative multiplication algorithm only for
51317         integer exponents with absolute value below 1024.  Check for odd
51318         integer exponents when using algorithm for real exponents.
51319         * math/libm-test.inc (pow_test): Add more tests.
51320         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
51322 2012-04-08  Joseph Myers  <joseph@codesourcery.com>
51324         [BZ #13705]
51325         * math/libm-test.inc (exp_test): Do not allow overflow exception
51326         on underflow test.
51328 2012-04-08  Aurelien Jarno  <aurelien@aurel32.net>
51330         [BZ #13705]
51331         * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
51332         instead of __kernel_standard_f.
51334 2012-04-08  Mike Frysinger  <vapier@gentoo.org>
51336         * sysdeps/i386/i686/memset_chk.S: Update copyright year.
51337         * sysdeps/x86_64/memset_chk.S: Likewise.
51339 2012-04-08  Andreas Jaeger  <aj@suse.de>
51341         [BZ #10153]
51342         * manual/startup.texi (Environment Access): Describe return value
51343         for putenv and setenv.
51345         [BZ #6895]
51346         * manual/filesys.texi (Directory Entries): Add description for
51347         DT_LNK.
51349         [BZ #6890]
51350         * manual/filesys.texi (Directory Entries): Clarify that it's file
51351         system not operating system in the description of DT_UNKNOWN.
51353         [BZ #6578]
51354         * manual/syslog.texi (closelog): Fix reference, it's openlog.
51356 2012-04-08  Stephen Compall  <s11@member.fsf.org>
51358         [BZ #6649]
51359         * manual/llio.texi (Opening and Closing Files): Add cross
51360         reference to explain mode argument.
51362 2012-04-07  Mike Frysinger  <vapier@gentoo.org>
51364         * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
51365         * sysdeps/x86_64/memset_chk.S: Likewise.
51367 2012-04-07  David S. Miller  <davem@davemloft.net>
51369         * elf/elf.h (R_SPARC_WDISP10): Define.
51370         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
51371         R_SPARC_SIZE32.
51372         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
51373         R_SPARC_SIZE64 and R_SPARC_H34.
51375 2012-04-07  Carlos O'Donell  <carlos_odonell@mentor.com>
51377         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
51378         conditions and remove no longer applicable assertion.
51380 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
51382         * bits/byteswap.h: Include <features.h>.
51383         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
51384         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
51386 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
51388         * bits/byteswap.h (__bswap_16): Removed.
51389         Include <bits/byteswap-16.h> to get __bswap_16.
51390         * sysdeps/i386/bits/byteswap.h: Likewise.
51391         * sysdeps/s390/bits/byteswap.h: Likewise.
51392         * sysdeps/x86_64/bits/byteswap.h: Likewise.
51393         * bits/byteswap-16.h: New file.
51394         * sysdeps/i386/bits/byteswap-16.h: Likewise.
51395         * sysdeps/s390/bits/byteswap-16.h: Likewise.
51396         * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
51397         * string/Makefile (headers): Add bits/byteswap-16.h.
51399 2012-04-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
51401         [BZ #13895]
51402         * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
51403         extra indirection.
51404         * nss/Makefile (tests-static, tests): Add tst-nss-static.
51405         * nss/tst-nss-static.c: New.
51407 2012-04-06  Robert Millan  <rmh@gnu.org>
51409         [BZ #6486]
51410         * manual/llio.texi (File Position Primitive): lseek
51411         refers to WHENCE when it really means OFFSET.
51413 2012-04-06  Andreas Jaeger  <aj@suse.de>
51415         * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
51416         strncmp declarations.
51418         * abilist/libc.abilist: Add __poll and __ppoll.
51420 2012-04-05  David S. Miller  <davem@davemloft.net>
51422         * scripts/check-local-headers.sh: Accept a host triplet in the
51423         path matched by the exclude regexp.
51425         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
51426         definition.
51427         * sysdeps/powerpc/powerpc32/dl-machine.h
51428         (ELF_MACHINE_PLTREL_OVERLAP): Delete.
51429         * sysdeps/s390/s390-32/dl-machine.h
51430         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
51431         * sysdeps/sparc/sparc32/dl-machine.h
51432         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
51433         * sysdeps/sparc/sparc64/dl-machine.h
51434         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
51436         * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
51437         lazy binding.
51438         * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
51439         undefined symbol errors.
51441         * elf/rtld.c (dl_main): Skip VDSO when checking for unused
51442         DT_NEEDED entries.
51444 2012-04-05  Michael Matz  <matz@suse.de>
51446         [BZ #13592]
51447         * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
51449 2012-04-05  Andreas Jaeger  <aj@suse.de>
51451         [BZ #13908]
51452         * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
51453         comment.
51455 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
51457         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
51458         which ROUND is no valid rounding mode.
51460 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
51462         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
51463         read again.
51464         * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
51466 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
51468         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
51469         an exception using FPU order intentionally.
51471 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
51473         * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
51474         * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
51475         * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
51476         * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
51478 2012-04-05  Simon Josefsson  <simon@josefsson.org>
51480         [BZ #12340]
51481         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
51482         EINVAL when BUFLEN is too smal.
51484 2012-04-05  Thomas Schwinge  <thomas@codesourcery.com>
51486         [BZ #13553]
51487         * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
51488         * sysdeps/mach/powerpc/machine-lock.h: Likewise.
51490 2012-04-03  Andreas Jaeger  <aj@suse.de>
51492         [BZ #13938]
51493         * manual/setjmp.texi (System V contexts): Fix sentence.
51495         [BZ #13926]
51496         * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
51497         New macro for this case.
51498         [!__GNUC__] (__bswap_64): New inline function for this case.
51499         * sysdeps/x86_64/bits/byteswap.h: Likewise.
51500         * bits/byteswap.h: Likewise.
51501         * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
51502         ull, guard with __GLIBC_HAVE_LONG_LONG.
51504         * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
51505         __GLIBC_HAVE_LONG_LONG.
51507         * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
51508         Include <features.h> for __GLIBC_HAVE_LONG_LONG.
51510 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
51512         [BZ #13691]
51513         * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
51514         inptr and inend, rather than using last_ch.
51516 2012-04-02  David S. Miller  <davem@davemloft.net>
51518         With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
51519         * stdio-common/printf-parse.h (read_int): Change return type to
51520         'int', return -1 on INT_MAX overflow.
51521         * stdio-common/vfprintf.c (vfprintf): Validate width and precision
51522         against overflow of INT_MAX.  Set errno to EOVERFLOW when 'done'
51523         overflows INT_MAX.  Check for overflow of in-format-string precision
51524         values properly.  Use EOVERFLOW rather than ERANGE throughout.  Use
51525         SIZE_MAX not INT_MAX for integer overflow test.
51526         * stdio-common/printf-parsemb.c: If read_int signals an overflow,
51527         skip the construct in the format string but do not record anything.
51528         * stdio-common/bug22.c: Adjust to test both width/prevision
51529         INT_MAX overflow as well as total length INT_MAX overflow.  Check
51530         explicitly for proper errno values.
51532 2012-04-02  Thomas Schwinge  <thomas@codesourcery.com>
51534         * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
51535         CHAR_MAX.
51536         * string/test-strcmp.c [! WIDE]: Likewise.
51537         * time/tst-mktime2.c: Likewise for INT_MAX.
51538         * string/test-string.h: #include <sys/param.h> for MIN.
51540         * csu/init-first.c (__libc_init_first): Call __ctype_init.
51541         * sysdeps/i386/init-first.c (init): Likewise.
51542         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
51543         * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
51544         * sysdeps/sh/init-first.c (init): Likewise.
51546 2012-04-01  Ulrich Drepper  <drepper@gmail.com>
51548         * po/ru.po: Update from translation team.
51549         * po/vi.po: Likewise.
51551 2012-03-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
51553         * resolv/nss_dns/dns-host.c: Merge copyright years.
51555 2012-03-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
51557         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
51558         Optimize memcpy with prefetch if
51559         DATA_CACHE_SIZE_HALF <= len <  SHARED_CACHE_SIZE_HALF and
51560         src, dst pointers have unequal 16 byte alignments.
51562 2012-03-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
51564         [BZ #13928]
51565         * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
51566         from a CNAME entry and return the minimum ttl for the query.
51567         (gaih_getanswer_slice): Likewise.
51569 2012-03-30  Jeff Law  <law@redhat.com>
51571         * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
51572         due to long keys.
51573         * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
51574         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
51576         * resolv/nss_dns/dns-host.c: Update copyright year.
51578 2012-03-30  Ulrich Drepper  <drepper@gmail.com>
51580         * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
51581         requests to save a system call.  Fix check that all bytes are sent.
51583         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
51584         comments for sendmmsg.
51586 2012-03-30  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
51588         [BZ #13691]
51589         * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
51590         with only 1 character between 0x0041 and 0x01b0.
51591         * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
51592         * wcsmbs/tst-mbsnrtowcs.c: New file.
51594 2012-03-29  David S. Miller  <davem@davemloft.net>
51596         * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
51597         small copies by hand.
51599 2012-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
51601         [BZ #13761]
51602         * nis/nss_compat/compat-initgroups.c (getgrent_next_nss)
51603         (_nss_compat_initgroups_dyn): Fall back to malloc/free for large
51604         group memberships.
51606 2012-03-28  David S. Miller  <davem@davemloft.net>
51608         * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
51609         that branches into memcpy.
51610         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
51611         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
51612         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
51613         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
51614         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
51615         bits.
51616         * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
51617         implementation too.
51618         * sysdeps/sparc/mempcpy.S: New file.
51620         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
51621         the IFUNC routine in the libc case.
51622         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
51624         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
51625         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
51626         * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
51627         * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
51628         * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
51629         * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
51630         * sysdeps/sparc/sparc64/rtld-memset.c: New file.
51631         * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
51633         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
51634         loop to 256 bytes instead of 64 bytes and fix test signedness.
51636         * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
51637         * sysdeps/sparc/sparc32/Makefile: rather than here...
51638         * sysdeps/sparc/sparc64/Makefile: and here.
51640 2012-03-28  Ulrich Drepper  <drepper@gmail.com>
51642         * malloc/mallocbug.c: Avoid warnings about unused variables.
51644 2012-02-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
51646         [BZ #13760]
51647         * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
51648         in the right place. Discard and retry query if response is
51649         larger than input buffer size.
51651 2012-03-28  Joseph Myers  <joseph@codesourcery.com>
51653         [BZ #369]
51654         [BZ #2678]
51655         [BZ #3866]
51656         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
51657         x for large integer exponent.
51658         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
51659         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.  Adjust
51660         sign of result as needed afterwards.
51661         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
51662         * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
51663         result for underflowing pow the same as for overflow.
51664         (__kernel_standard_l): Handle powl overflow and underflow here
51665         rather than calling __kernel_standard.
51666         * math/libm-test.inc (pow_test): Add more tests.
51668         [BZ #3868]
51669         [BZ #13879]
51670         [BZ #13910]
51671         [BZ #13911]
51672         [BZ #13912]
51673         [BZ #13913]
51674         [BZ #13915]
51675         [BZ #13916]
51676         [BZ #13917]
51677         [BZ #13918]
51678         [BZ #13919]
51679         [BZ #13920]
51680         [BZ #13921]
51681         * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
51682         * sysdeps/ieee754/k_standard.c: Include <float.h>.
51683         (__kernel_standard_l): New function.
51684         * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
51685         __kernel_standard.
51686         * math/w_acosl.c (__acosl): Likewise.
51687         * math/w_asinl.c (__asinl): Likewise.
51688         * math/w_atan2l.c (__atan2l): Likewise.
51689         * math/w_atanhl.c (__atanhl): Likewise.
51690         * math/w_coshl.c (__coshl): Likewise.
51691         * math/w_exp10l.c (__exp10l): Likewise.
51692         * math/w_exp2l.c (__exp2l): Likewise.
51693         * math/w_fmodl.c (__fmodl): Likewise.
51694         * math/w_hypotl.c (__hypotl): Likewise.
51695         * math/w_j0l.c (__j0l, __y0l): Likewise.
51696         * math/w_j1l.c (__j1l, __y1l): Likewise.
51697         * math/w_jnl.c (__jnl, __ynl): Likewise.
51698         * math/w_lgammal.c (__lgammal): Likewise.
51699         * math/w_log10l.c (__log10l): Likewise.
51700         * math/w_log2l.c (__log2l): Likewise.
51701         * math/w_logl.c (__logl): Likewise.
51702         * math/w_powl.c (__powl): Likewise.
51703         * math/w_remainderl.c (__remainderl): Likewise.
51704         * math/w_scalbl.c (sysv_scalbl): Likewise.
51705         * math/w_sinhl.c (__sinhl): Likewise.
51706         * math/w_sqrtl.c (__sqrtl): Likewise.
51707         * math/w_tgammal.c (__tgammal): Likewise.
51708         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
51709         * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
51710         * math/libm-test.inc (acos_test): Add more tests.
51711         (acosh_test): Likewise.
51712         (asin_test): Likewise.
51713         (atanh_test): Likewise.
51714         (exp_test): Likewise.
51715         (exp10_test): Likewise.
51716         (exp2_test): Likewise.
51717         (expm1_test): Likewise.
51718         (lgamma_test): Likewise.
51719         (log_test): Likewise.
51720         (log10_test): Likewise.
51721         (log1p_test): Likewise.
51722         (log2_test): Likewise.
51723         (pow_test): Do not allow some spurious overflow exceptions.
51724         (sqrt_test): Add more tests.
51725         (tgamma_test): Likewise.
51726         (y0_test): Likewise.
51727         (y1_test): Likewise.
51728         (yn_test): Likewise.
51730 2012-03-27  Anton Blanchard  <anton@samba.org>
51732         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
51733         MAP_HUGETLB.
51734         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
51735         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
51736         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
51738 2012-03-27  David S. Miller  <davem@davemloft.net>
51740         * conform/Makefile: Run run-conformtest.sh using $(BASH).
51742         * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
51743         have-as-vis3 check.
51745 2012-03-27  Andreas Jaeger  <aj@suse.de>
51747         * sysdeps/x86_64/elf/configure.in: Moved to ...
51748         * sysdeps/x86_64/configure.in: ... here.
51749         * sysdeps/x86_64/elf/start.S: Moved to ...
51750         * sysdeps/x86_64/start.S: ... here.
51751         * sysdeps/x86_64/elf/configure: Delete.
51753         * sysdeps/x86_64/configure.in: Merge contents from
51754         sysdeps/i386/configure.in (without i686 check).
51756         * sysdeps/i386/elf/Versions: Merge into ...
51757         * sysdeps/i386/Versions: ... this.
51758         * sysdeps/i386/elf/Versions: Delete file.
51759         * sysdeps/i386/elf/start.S: Moved to ...
51760         * sysdeps/i386/start.S: ...here.
51761         * sysdeps/i386/elf/configure.in: Merge into...
51762         * sysdeps/i386/configure.in: ...here.
51763         * sysdeps/i386/elf/configure.in: Delete file.
51764         * sysdeps/i386/elf/configure: Delete file.
51766         * sysdeps/generic/elf/backtracesyms.c: Moved to ...
51767         * debug/backtracesyms.c: ... here.
51768         * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
51769         * debug/backtracesymsfd.c: ... here.
51770         * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
51771         * sysdeps/generic/ifunc-sel.h: ... here.
51773         * sysdeps/unix/i386/start.c: Delete file.
51774         * sysdeps/unix/sparc/start.c: Delete file.
51775         * sysdeps/unix/start.c: Delete file.
51777         * sysdeps/sh/elf/configure.in: Moved to ...
51778         * sysdeps/sh/configure.in: ... here.
51779         * sysdeps/sh/elf/start.S: Moved to ...
51780         * sysdeps/sh/start.S: ... here.
51781         * sysdeps/sh/elf/configure: Delete file.
51783         * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
51784         * sysdeps/powerpc/powerpc64/bzero.S: ... here.
51785         * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
51786         * sysdeps/powerpc/powerpc64/entry.h: ... here.
51787         * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
51788         * sysdeps/powerpc/powerpc64/start.S: here.
51789         * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
51790         * sysdeps/powerpc/powerpc64/Makefile: ... this.
51791         * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
51792         * sysdeps/powerpc/powerpc64/configure.in: ... this.
51793         * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
51795         * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
51796         * sysdeps/powerpc/powerpc32/bzero.S: ... here.
51797         * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
51798         * sysdeps/powerpc/powerpc32/start.S: ... here.
51799         * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
51800         * sysdeps/powerpc/powerpc32/configure.in: ... this.
51801         * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
51803         * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
51804         * sysdeps/powerpc/ifunc-sel.h: ... here.
51805         * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
51806         * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
51808         * sysdeps/sparc/elf/configure.in: Moved to ...
51809         * sysdeps/sparc/configure.in: ... here.
51810         * sysdeps/sparc/elf/configure: Delete file.
51811         * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
51812         * sysdeps/sparc/sparc32/start.S: ... here.
51813         * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
51814         * sysdeps/sparc/sparc64/start.S: ... here.
51815         * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
51816         * sysdeps/sparc/sparc32/Makefile: ... this.
51817         * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
51818         * sysdeps/sparc/sparc64/Makefile: ... this.
51820         * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
51821         * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
51822         * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
51823         * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
51824         * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
51825         * sysdeps/s390/s390-32/setjmp.S: ... here.
51826         * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
51827         * sysdeps/s390/s390-32/configure.in: ... here.
51828         * sysdeps/s390/s390-32/elf/configure: Delete file.
51829         * sysdeps/s390/s390-32/elf/start.S: Moved to ...
51830         * sysdeps/s390/s390-32/start.S: ... here.
51832         * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
51833         * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
51834         * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
51835         * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
51836         * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
51837         * sysdeps/s390/s390-64/setjmp.S: ... here.
51838         * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
51839         * sysdeps/s390/s390-64/configure.in: ... here
51840         * sysdeps/s390/s390-64/elf/configure: Delete file.
51841         * sysdeps/s390/s390-64/elf/start.S: Moved to ...
51842         * sysdeps/s390/s390-64/start.S: ... here.
51843         * sysdeps/s390/s390-64/elf/configure: Delete.
51845         * configure.in: Remove support for elf directories in sysdeps.
51847         * configure: Regenerated.
51848         * sysdeps/i386/configure: Regenerated.
51849         * sysdeps/powerpc/powerpc32/configure: Regenerated.
51850         * sysdeps/powerpc/powerpc64/configure: Regenerated.
51851         * sysdeps/s390/s390-32/configure: Regenerated.
51852         * sysdeps/s390/s390-64/configure: Regenerated.
51853         * sysdeps/sh/configure: Regenerated.
51854         * sysdeps/sparc/configure: Regenerated.
51855         * sysdeps/x86_64/configure: Regenerated.
51857 2012-03-26  Andreas Schwab  <schwab@linux-m68k.org>
51859         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
51861         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
51862         denormal result into account.
51864 2012-03-25  Roland McGrath  <roland@hack.frob.com>
51866         * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
51867         Reported by Allan McRae <allan@archlinux.org>.
51869 2012-03-23  Jeff Law  <law@redhat.com>
51871         * nss/getnssent.c (__nss_getent): Fix typo.
51873 2012-03-23  David S. Miller  <davem@davemloft.net>
51875         * sysdeps/sparc/fpu/libm-test-ulps: Update.
51877 2012-03-23  H.J. Lu  <hongjiu.lu@intel.com>
51879         * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
51880         to pad to uint64_t for each field.
51881         (dl_tls_index): Replace unsigned long with uint64_t.
51883 2012-03-23  Daniel Jacobowitz  <dmj@google.com>
51884         Paul Pluzhnikov  <ppluzhnikov@google.com>
51886         [BZ #6528]
51887         * grp/Makefile (otherlibs): Don't set it.
51888         * inet/Makefile (otherlibs): Likewise.
51889         * login/Makefile (otherlibs): Likewise.
51890         * nscd/Makefile (otherlibs): Likewise.
51891         * posix/Makefile (otherlibs): Likewise.
51892         * pwd/Makefile (otherlibs): Likewise.
51893         * rt/Makefile (otherlibs): Likewise.
51894         * sunrpc/Makefile (otherlibs): Likewise.
51895         * nss/Makefile (otherlibs): Likewise.
51896         Add libnss_files to routines and static-only-routines.
51897         ($(objpfx)getent): Remove rule.
51898         * resolv/Makefile: Add libnss_dns and libresolv to routines and
51899         static-only-routines.
51901 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
51903         [BZ #13892]
51904         * math/s_cexp.c: Include <float.h>.
51905         (__cexp): Handle exp result overflowing not necessarily
51906         overflowing both real and imaginary parts of result.
51907         * math/s_cexpf.c: Likewise.
51908         * math/s_cexpl.c: Likewise.
51909         * math/libm-test.inc (cexp_test): Add more tests.
51910         * sysdeps/i386/fpu/libm-test-ulps: Update.
51911         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
51913 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
51915         * include/link.h (ELFW): New macro.
51916         * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
51917         Replace ELF64_R_TYPE with ELFW(R_TYPE).
51919 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
51921         * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
51922         with uint64_t.
51924 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
51926         * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
51927         declaration.
51928         (struct La_x32_retval): Likewise.
51930 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
51932         * sysdeps/x86_64/preconfigure.in: New file.
51933         * sysdeps/x86_64/preconfigure: New generated file.
51935 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
51937         [BZ #13824]
51938         * math/e_exp2l.c: Include <float.h>.
51939         (__ieee754_exp2l): Handle overflow and underflow cases
51940         separately.  Only pass fractional part of argument to
51941         __ieee754_expl.
51942         * math/libm-test.inc (exp2_test): Add more tests.
51944         * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
51945         negating x to take absolute value.
51946         * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
51947         Likewise.
51948         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
51949         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
51950         Likewise.
51951         * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
51952         computing low part if x was negated.
51953         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
51955 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
51957         * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
51958         la_x32_gnu_pltexit.
51959         (pltexit): Cast int_retval to ptrdiff_t.
51960         * elf/tst-auditmod3b.c: Likewise.
51961         * elf/tst-auditmod4b.c: Likewise.
51962         * elf/tst-auditmod5b.c: Likewise.
51963         * elf/tst-auditmod6b.c: Likewise.
51964         * elf/tst-auditmod6c.c: Likewise.
51965         * elf/tst-auditmod7b.c: Likewise.
51967         * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
51968         and x32_gnu_pltexit.
51970         * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
51971         __ELF_NATIVE_CLASS.
51972         (La_x32_regs): New macro.
51973         (La_x32_retval): Likewise.
51974         (la_x32_gnu_pltenter): New function prototype.
51975         (la_x32_gnu_pltexit): Likewise.
51977 2012-03-21  Andreas Schwab  <schwab@linux-m68k.org>
51979         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
51980         exponent.
51982         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
51984         * configure.in (libc_cv_cc_nofma): Check for option to disable
51985         generation of FMA instructions.
51986         * configure: Regenerate.
51987         * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
51988         * sysdeps/ieee754/dbl-64/Makefile: New file.
51989         * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
51990         Remove brandred-fma4.
51991         (CFLAGS-brandred-fma4.c): Remove.
51992         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
51993         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
51994         define.
51995         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
51996         define.
51998 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
52000         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
52001         LLONG_MAX != LONG_MAX.
52002         (_itoa_word): Use _ITOA_WORD_TYPE on value.
52003         (_fitoa_word): Likewise.
52004         * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
52005         LLONG_MAX != LONG_MAX.
52006         * stdio-common/_itowa.h: Include <_itoa.h>.
52007         (_itowa_word): Use _ITOA_WORD_TYPE on value.
52008         (_itowa): New macro.  Defined only if _ITOA_NEEDED is false.
52009         * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro.  Defined
52010         only if not defined.
52011         (_ITOA_WORD_TYPE): Likewise.
52012         (_itoa_word): Use _ITOA_WORD_TYPE on value.
52013         Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
52015 2012-03-21  David S. Miller  <davem@davemloft.net>
52017         * sysdeps/sparc/fpu/libm-test-ulps: Update.
52019 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
52021         * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
52022         of x86_64 when setting libc_cv_slibdir, libdir and
52023         libc_cv_localedir.
52024         * sysdeps/unix/sysv/linux/configure: Regenerated.
52026 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
52028         * manual/lang.texi (Old Varargs): Remove section.
52029         (How Variadic): Update menu.
52030         (va_start): Do not mention varargs.h.
52032 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
52033             Joseph Myers  <joseph@codesourcery.com>
52035         * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
52036         link test.
52037         * configure: Regenerated.
52039 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
52041         * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
52042         * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
52043         conformtest.pl
52045 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
52047         * NOTES: Remove.
52048         * Makefile (files-for-dist): Remove NOTES.
52049         (NOTES): Remove rule.
52050         * README: Don't refer to NOTES.
52051         * manual/creature.texi: Don't include macros.texi.
52052         * manual/intro.texi (creature.texi): Remove comment referring to
52053         NOTES.
52055         * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
52056         * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
52057         * configure: Regenerated.
52058         * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
52059         LIBC_TRY_CC_OPTION.
52060         (libc_cv_as_i686): Likewise.
52061         (libc_cv_cc_avx): Likewise.
52062         (libc_cv_cc_sse2avx): Likewise.
52063         (libc_cv_cc_fma4): Likewise.
52064         (libc_cv_cc_novzeroupper): Likewise.
52065         * sysdeps/i386/configure: Regenerated.
52067         [BZ #13883]
52068         * sysdeps/i386/fpu/s_cexp.S: Remove.
52069         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
52070         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
52071         * math/libm-test.inc (cexp_test): Add more tests.
52072         * sysdeps/i386/fpu/libm-test-ulps: Update.
52073         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52075 2012-03-21  Allan McRae  <allan@archlinux.org>
52077         * timezone/Makefile: Do not install iso3166.tab and zone.tab
52079 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
52081         [BZ #13871]
52082         * math/w_exp2.c: Do not include <float.h>.
52083         (o_threshold, u_threshold): Remove.
52084         (__exp2): Calculate result before checking finiteness and calling
52085         __kernel_standard.
52086         * math/w_exp2f.c: Likewise.
52087         * math/w_exp2l.c: Likewise.
52088         * math/libm-test.inc (exp2_test): Require overflow exception for
52089         1e6 input.
52091         [BZ #3866]
52092         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
52093         range of signed 64-bit integers before using fistpll.  Remove
52094         checks for whether integers fit in mantissa bits.
52095         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
52096         the range of signed 32-bit integers before using fistpl.  Remove
52097         checks for whether integers fit in mantissa bits.
52098         * sysdeps/i386/fpu/e_powl.S (p64): New object.
52099         (__ieee754_powl): Test for y outside the range of signed 64-bit
52100         integers before using fistpll.  Reduce 64-bit values to 63-bit
52101         ones as needed.
52102         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
52103         divide-by-zero is raised for zero to large negative powers.
52104         * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
52105         (__ieee754_powl): Test for y outside the range of signed 64-bit
52106         integers before using fistpll.  Reduce 64-bit values to 63-bit
52107         ones as needed.
52108         * math/libm-test.inc (pow_test): Add more tests.
52110 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
52112         * debug/backtracesymsfd.c: Include <_itoa.h> instead of
52113         <stdio-common/_itoa.h>.
52114         * debug/segfault.c: Likewise.
52115         * elf/dl-cache.c: Likewise.
52116         * elf/dl-minimal.c: Likewise.
52117         * elf/dl-misc.c: Likewise.
52118         * elf/dl-sysdep.c: Likewise.
52119         * elf/dl-version.c: Likewise.
52120         * elf/rtld.c: Likewise.
52121         * hurd/hurdsock.c: Likewise.
52122         * hurd/lookup-retry.c: Likewise.
52123         * malloc/malloc.c: Likewise.
52124         * malloc/mtrace.c: Likewise.
52125         * nscd/nscd_getgr_r.c: Likewise.
52126         * nscd/nscd_getpw_r.c: Likewise.
52127         * nscd/nscd_getserv_r.c: Likewise.
52128         * posix/getopt_init.c: Likewise.
52129         * posix/wordexp.c: Likewise.
52130         * stdio-common/_itoa.c: Likewise.
52131         * stdio-common/printf_fphex.c: Likewise.
52132         * stdio-common/vfprintf.c: Likewise.
52133         * string/_strerror.c: Likewise.
52134         * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
52135         * sysdeps/i386/i686/hp-timing.h: Likewise.
52136         * sysdeps/mach/_strerror.c: Likewise.
52137         * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
52138         * sysdeps/mach/hurd/sethostid.c: Likewise.
52139         * sysdeps/mach/hurd/xmknodat.c: Likewise.
52140         * sysdeps/mach/xpg-strerror.c: Likewise.
52141         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
52142         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
52143         * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
52144         * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
52145         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
52146         * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
52147         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
52148         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
52149         * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
52150         * sysdeps/unix/sysv/linux/futimes.c: Likewise.
52151         * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
52152         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
52153         * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
52154         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
52155         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
52156         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
52157         * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
52158         * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
52159         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
52160         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
52161         * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
52163         * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
52165         * stdio-common/_itoa.h: Moved to ...
52166         * sysdeps/generic/_itoa.h: Here.
52168         * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
52170         * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
52171         instead of "_itoa.h" and "_itowa.h".
52172         * stdio-common/vfprintf.: Likewise.
52174 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
52176         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
52177         <bits/wordsize.h>.
52178         (__signbitf): Check __x86_64__ instead of __WORDSIZE.
52179         (__signbit): Likwise.
52180         (llrintf): Likwise.
52181         (llrint): Likwise.
52183 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
52185         * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
52186         __WORDSIZE != 64.
52188 2012-03-20  Joseph Myers  <joseph@codesourcery.com>
52190         * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
52191         OVERFLOW_EXCEPTION_OK.
52192         * math/libm-test.inc ("Philosophy"): Update comment about
52193         exception testing.
52194         (OVERFLOW_EXCEPTION): Define.
52195         (OVERFLOW_EXCEPTION_OK): Likewise.
52196         (INVALID_EXCEPTION_OK): Renumber.
52197         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
52198         (IGNORE_ZERO_INF_SIGN): Likewise.
52199         (test_exceptions): Handle FE_OVERFLOW.
52200         (exp10_test): Expect overflow exceptions.
52201         (exp2_test): Likewise.
52202         (expm1_test): Likewise.
52203         (nextafter_test): Likewise.
52204         (pow_test): Likewise.
52205         (scalbn_test): Likewise.
52206         (scalbln_test): Likewise.
52208 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
52210         * sysdeps/x86_64/bits/atomic.h
52211         (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
52212         64bit integer.
52213         (atomic_exchange_acq): Likewise.
52214         (__arch_exchange_and_add_body): Likewise.
52215         (__arch_add_body): Likewise.
52216         (atomic_add_negative): Likewise.
52217         (atomic_add_zero): Likewise.
52219 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
52221         * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
52222         (fenv_t): Check __x86_64__ instead of __WORDSIZE.
52224 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
52226         * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
52227         Check __x86_64__ instead of __WORDSIZE.
52229 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
52231         * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
52233 2012-03-19  David S. Miller  <davem@davemloft.net>
52235         * sysdeps/sparc/fpu/libm-test-ulps: Update.
52237         * sysdeps/sparc/fpu/fenv_private.h: New file.
52238         * sysdeps/sparc/fpu/math_private.h: Use it.
52239         (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
52240         Remove.
52241         (libc_feholdexcept_setround, libc_feholdexcept_setroundf)
52242         (libc_feholdexcept_setroundl): Remove.
52243         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
52244         Remove.
52245         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
52246         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
52248 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
52250         * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
52251         int64_t instead of long int.
52252         (INSERT_WORDS64): Likwise.
52254 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
52256         * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
52257         _Unwind_GetCFA return to _Unwind_Ptr first.
52259 2012-03-19  Joseph Myers  <joseph@codesourcery.com>
52261         [BZ #13629]
52262         * math/s_clog.c: Include <float.h>.
52263         (__clog): Scale large or subnormal inputs.
52264         * math/s_clogf.c: Likewise.
52265         * math/s_clogl.c: Likewise.
52266         * math/s_clog10.c: Include <float.h>.
52267         (M_LOG10_2): Define.
52268         (__clog10): Scale large or subnormal inputs.
52269         * math/s_clog10f.c: Likewise.
52270         * math/s_clog10l.c: Likewise.
52271         * math/libm-test.inc (clog_test): Add more tests.
52272         (clog10_test): Likewise.
52273         * sysdeps/i386/fpu/libm-test-ulps: Update.
52274         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52276         [BZ #11451]
52277         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
52278         x and y.
52279         * math/libm-test.inc (atan2_test): Add another test.
52281         * Makerules (common-objdir-compile): Remove.
52282         * sysdeps/unix/Makefile (config-generated): Do not add
52283         $(unix-generated) to variable.
52284         [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
52285         [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
52286         Remove rule.
52287         [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
52288         Likewise.
52289         [generic bits/local_lim.h] (before-compile): Do not append to
52290         variable.
52291         [generic bits/local_lim.h] (common-generated): Likewise.
52292         [generic sys/param.h] (before-compile): Do not append to variable.
52293         [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
52294         [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
52295         [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
52296         [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
52297         include.
52298         [generic sys/param.h] (sys/param.h-includes): Remove variable.
52299         [generic sys/param.h] (sys/param.h-includes): Remove rule.
52300         [generic sys/param.h] ($(addprefix
52301         $(common-objpfx),$(sys/param.h-includes))): Likewise.
52302         [generic sys/param.h] (common-generated): Do not append to
52303         variable.
52304         [generic sys/param.h] (sysdep_headers): Likewise.
52305         [generic bits/errno.h] (before-compile): Do not append to
52306         variable.
52307         [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
52308         rule.
52309         [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
52310         [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
52311         [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
52312         [generic bits/errno.h] (common-generated): Do not append to
52313         variable.
52314         [generic bits/ioctls.h] (before-compile): Do not append to
52315         variable.
52316         [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
52317         rule.
52318         [generic bits/ioctls.h] (ioctl-includes): Remove variable.
52319         [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
52320         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
52321         rule.
52322         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
52323         [generic bits/ioctls.h] (bits_termios.h): Remove variable.
52324         [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
52325         [generic bits/ioctls.h] (common-generated): Do not append to
52326         variable.
52327         [generic sys/syscall.h] (syscall.h): Remove variable.
52328         [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
52329         rule.
52330         [generic sys/syscall.h] (before-compile): Do not append to
52331         variable.
52332         [generic sys/syscall.h] (common-generated): Likewise.
52333         * sysdeps/unix/errnos-tmpl.c: Remove file.
52334         * sysdeps/unix/errnos.awk: Likewise.
52335         * sysdeps/unix/ioctls-tmpl.c: Likewise.
52336         * sysdeps/unix/ioctls.awk: Likewise.
52337         * sysdeps/unix/mk-local_lim.c: Likewise.
52338         * sysdeps/unix/snarf-ioctls: Likewise.
52340 2012-03-19  Richard Henderson  <rth@twiddle.net>
52342         * sysdeps/i386/fpu/fenv_private.h: New file.
52343         * sysdeps/i386/fpu/math_private.h: Use it.
52344         (math_opt_barrier, math_force_eval): Remove.
52345         (libc_feholdexcept_setround_53bit): Remove.
52346         (libc_feupdateenv_53bit): Remove.
52347         * sysdeps/x86_64/fpu/math_private.h: Likewise.
52348         (math_opt_barrier, math_force_eval): Remove.
52349         (libc_feholdexcept): Remove.
52350         (libc_feholdexcept_setround): Remove.
52351         (libc_fetestexcept, libc_fesetenv): Remove.
52352         (libc_feupdateenv_test): Remove.
52353         (libc_feupdateenv, libc_feholdsetround): Remove.
52354         (libc_feresetround): Remove.
52356         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
52357         * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
52359         * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
52360         (libc_feupdateenv_test, libc_feupdateenv_testf): New.
52361         (libc_feupdateenv_testl): New.
52362         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
52363         (libc_feupdateenv_testf): New.
52364         (libc_feupdateenv): Use libc_feupdateenv_test.
52365         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
52366         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
52368         * sysdeps/generic/math_private.h (libc_feholdsetround): New.
52369         (libc_feholdsetroundf, libc_feholdsetroundl): New.
52370         (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
52371         (libc_feresetround_noex): New.
52372         (libc_feresetround_noexf): New.
52373         (libc_feresetround_noexl): New.
52374         (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
52375         (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
52376         (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
52377         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
52378         SET_RESTORE_ROUND.
52379         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
52380         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
52381         (__cos): Likewise.
52382         * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
52383         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
52384         SET_RESTORE_ROUND_NOEX.
52385         * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
52386         SET_RESTORE_ROUND_NOEXF.
52387         * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
52388         * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
52389         (libc_feholdsetroundf): New.
52390         (libc_feresetround, libc_feresetroundf): New.
52392         * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
52393         (libc_feholdexcept_setround_53bit): Convert from macro to function.
52394         (libc_feupdateenv_53bit): Likewise.  Don't force _FPU_EXTENDED.
52396         * sysdeps/generic/math_private.h: Include <fenv.h>.
52397         (default_libc_feholdexcept): New.
52398         (default_libc_feholdexcept_setround): New.
52399         (default_libc_fesetenv, default_libc_feupdateenv): New.
52400         (libc_feholdexcept): Only define if undefined.
52401         (libc_feholdexceptf, libc_feholdexceptl): Likewise.
52402         (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
52403         (libc_feholdexcept_setroundl): Likewise.
52404         (libc_feholdexcept_setround_53bit): Likewise.
52405         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
52406         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
52407         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
52408         (libc_feupdateenv_53bit): Likewise.
52409         * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
52410         (libc_feholdexcept): Convert from macro to inline function.
52411         (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
52412         (libc_fesetenv, libc_feupdateenv): Likewise.
52414         * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
52415         not previously defined.
52416         (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
52417         (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
52418         (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
52419         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
52420         * sysdeps/ieee754/flt-32/math_private.h: New file.
52421         * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
52422         math_private.h below SET_FLOAT_WORD.
52423         (__isnan, __isinf_ns, __finite): Remove.
52424         (__isnanf, __isinf_nsf, __finitef): Remove.
52426 2012-03-18  Andreas Schwab  <schwab@linux-m68k.org>
52428         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
52430 2012-03-17  David S. Miller  <davem@davemloft.net>
52432         [BZ #6471]
52433         * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
52434         for 2.16.
52436 2012-03-16  David S. Miller  <davem@davemloft.net>
52438         * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
52439         warnings.
52441         [BZ #6471]
52442         * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
52443         properly.
52444         * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
52445         * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
52446         sysdep_routines when subdir is sysvipc.
52447         * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
52448         __getshmlba helper.
52450         * sysdeps/sparc/fpu/libm-test/ulps: Update.
52452 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
52454         * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
52455         [__LP64__].
52457 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
52459         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
52460         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
52461         (__lround): Renamed to ...
52462         (__llround): This.  Replace long int with long long int.
52463         Define lround functions as aliases of llround functions.
52464         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
52466 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
52468         * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
52469         Use greg_t on sp.  Use unsigned int on idx_uc_link.  Cast
52470         adresses to uintptr_t.  Replace "long int" and "unsigned long
52471         int" with "greg_t" on va_arg.
52473 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
52475         * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
52476         * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
52478         * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
52479         Move e_machine check before EI_CLASS check.  Handle x32
52480         libraries.  Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
52481         * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
52482         SKIP_EM_IA_64 and include
52483         <sysdeps/unix/sysv/linux/i386/readelflib.c>.
52485         * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
52486         Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
52487         (add_system_dir): New macro.
52489         * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
52490         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
52492 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
52494         [BZ #2551]
52495         [BZ #2552]
52496         [BZ #2553]
52497         [BZ #2554]
52498         [BZ #2562]
52499         [BZ #2563]
52500         [BZ #2565]
52501         [BZ #2566]
52502         [BZ #2576]
52503         * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
52504         (y0): Likewise.
52505         * math/w_j0f.c (j0f): Likewise.
52506         (y0f): Likewise.
52507         * math/w_j0l.c (__j0l): Likewise.
52508         (__y0l): Likewise.
52509         * math/w_j1.c (j1): Likewise.
52510         (y1): Likewise.
52511         * math/w_j1f.c (j1f): Likewise.
52512         (y1f): Likewise.
52513         * math/w_j1l.c (__j1l): Likewise.
52514         (__y1l): Likewise.
52515         * math/w_jn.c (jn): Likewise.
52516         (yn): Likewise.
52517         * math/w_jnf.c (jnf): Likewise.
52518         (ynf): Likewise.
52519         * math/w_jnl.c (__jnl): Likewise.
52520         (__ynl): Likewise.
52521         * math/libm-test.inc (j0_test): Add more tests.
52522         (j1_test): Likewise.
52523         (jn_test): Likewise.  Add trailing semicolon to existing test.
52524         (y0_test): Likewise.
52525         (y1_test): Likewise.
52526         * sysdeps/i386/fpu/libm-test-ulps: Update.
52527         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52529         [BZ #13851]
52530         [BZ #13854]
52531         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
52532         libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
52533         * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
52534         * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
52535         (__tanl): Set errno for infinite argument.
52536         * sysdeps/i386/fpu/mptan.c: Remove.
52537         * sysdeps/i386/fpu/s_tan.S: Likewise.
52538         * sysdeps/i386/fpu/s_tanl.S: Likewise.
52539         * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
52540         * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
52541         * math/libm-test.inc (tan_test): Add more tests and enable more
52542         tests for double and long double.
52543         * sysdeps/i386/fpu/libm-test-ulps: Update.
52544         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52546 2012-03-16  Jan Kratochvil  <jan.kratochvil@redhat.com>
52548         * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
52549         (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
52551 2012-03-16  Roland McGrath  <roland@hack.frob.com>
52553         * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
52554         * configure.in: Use it for both main tree and add-ons.
52555         * configure: Regenerated.
52557 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
52559         * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
52561 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
52563         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
52564         in comment.
52566         [BZ #13851]
52567         * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
52568         * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
52569         * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
52570         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
52571         * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
52572         infinite argument.
52573         * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
52574         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
52575         != 0 for prec == 2.
52576         * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
52577         * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
52578         * sysdeps/i386/fpu/s_cosl.S: Likewise.
52579         * sysdeps/i386/fpu/s_sincosl.S: Likewise.
52580         * sysdeps/i386/fpu/s_sinl.S: Likewise.
52581         * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
52582         * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
52583         * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
52584         * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
52585         * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
52586         * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
52587         * math/libm-test.inc (cos_test): Add more tests and enable more
52588         tests for long double.
52589         (sin_test): Likewise.
52590         (sincos_test): Likewise.
52591         * sysdeps/i386/fpu/libm-test-ulps: Update.
52592         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52594 2012-03-16  David S. Miller  <davem@davemloft.net>
52596         * sysdeps/sparc/fpu/math_private.h: New file.
52598 2012-03-15  David S. Miller  <davem@davemloft.net>
52600         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
52601         file.
52602         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
52603         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
52604         file.
52605         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
52606         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
52607         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
52608         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
52609         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
52610         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
52611         sysdep routines.
52612         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
52614         * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
52615         * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
52617         * sysdeps/sparc/sparc-ifunc.h: New file.
52618         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
52619         sparc-ifunc.h
52620         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
52621         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
52622         Likewise.
52623         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
52624         Likewise.
52625         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
52626         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
52627         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
52628         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
52629         Likewise.
52630         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
52631         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
52632         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
52633         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
52634         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
52635         Likewise.
52636         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
52637         Likewise.
52638         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
52639         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
52640         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
52641         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
52642         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
52643         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
52644         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
52645         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
52646         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
52647         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
52648         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
52649         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
52650         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
52651         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
52652         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
52653         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
52654         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
52655         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
52656         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
52657         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
52658         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
52659         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
52660         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
52661         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
52663 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
52665         * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
52666         scaling.
52667         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
52669 2012-03-15  Andreas Jaeger  <aj@suse.de>
52671         [BZ #13852]
52672         * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
52673         ieee754/flt-32 implementation for sin, cos and sincos.
52674         * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
52675         * sysdeps/i386/fpu/s_cosf.S: Likewise.
52676         * sysdeps/i386/fpu/s_sincosf.S: Likewise.
52677         * sysdeps/i386/fpu/s_sinf.S: Likewise.
52678         * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
52679         ieee754/flt-32 implementation for tan.
52681         * math/libm-test.inc (cos_test): Enable some large input tests for
52682         float as well
52683         (sin_test): Likewise.
52684         (sincos_test): Likewise.
52685         (tan_test): Add tests for large input.
52687         * sysdeps/i386/fpu/libm-test-ulps: Update.
52689 2012-03-15  Andreas Jaeger  <aj@suse.de>
52691         [BZ #13658]
52692         * math/libm-test.inc (cos_test): Add more test cases.
52693         (sin_test): Likewise.
52694         (sincos_test): Likewise.
52696 2012-03-15  Andreas Jaeger  <aj@suse.de>
52698         [BZ #13837]
52699         * math/libm-test.inc (cos_test): Add a test case for large input
52700         value.
52701         (sin_test): Likewise.
52702         (sincos_test): Likewise.
52704 2012-03-15  Andreas Jaeger  <aj@suse.de>
52705             Joseph Myers  <joseph@codesourcery.com>
52707         [BZ #13658]
52708         * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
52709         x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
52710         * sysdeps/i386/fpu/branred.c: Likewise.
52711         * sysdeps/i386/fpu/dosincos.c: Likewise.
52712         * sysdeps/i386/fpu/mpa.c: Likewise.
52713         * sysdeps/i386/fpu/s_cos.S: Likewise.
52714         * sysdeps/i386/fpu/s_sin.S: Likewise.
52715         * sysdeps/i386/fpu/s_sincos.S: Likewise.
52716         * sysdeps/i386/fpu/sincos32.c: Likewise.
52718         * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
52719         Define.
52720         (libc_feupdateenv_53bit): Define.
52721         * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
52722         Define.
52723         (libc_feupdateenv_53bit): Define.
52725         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
52726         53 bit (without extend i386 double precision).
52728         * math/libm-test.inc (sincos_test): Add tests for large input.
52729         (sin): Likewise.
52730         (cos): Likewise.
52732         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
52734 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
52736         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
52738 2012-03-15  David S. Miller  <davem@davemloft.net>
52740         * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
52741         * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
52742         * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
52743         * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
52744         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
52745         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
52746         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
52747         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
52748         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
52749         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
52750         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
52751         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
52752         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
52753         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
52754         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
52755         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
52756         file.
52757         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
52758         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
52759         file.
52760         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
52761         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
52762         file.
52763         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
52764         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
52765         file.
52766         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
52767         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
52768         fmin/fmax sysdep routines.
52769         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
52771 2012-03-14  David S. Miller  <davem@davemloft.net>
52773         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
52774         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
52775         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
52776         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
52777         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
52778         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
52779         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
52780         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
52781         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
52782         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
52783         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
52784         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
52785         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
52786         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
52787         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
52788         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
52789         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
52790         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
52791         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
52792         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
52793         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
52794         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
52795         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
52796         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
52797         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
52798         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
52799         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
52800         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
52801         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
52802         routines.
52803         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
52804         file.
52805         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
52806         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
52807         file.
52808         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
52809         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
52810         file.
52811         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
52812         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
52813         file.
52814         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
52815         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
52816         file.
52817         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
52818         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
52819         file.
52820         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
52821         file.
52822         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
52823         file.
52824         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
52825         file.
52826         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
52827         New file.
52828         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
52829         file.
52830         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
52831         file.
52832         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
52833         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
52834         file.
52835         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
52836         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
52837         file.
52838         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
52839         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
52840         file.
52841         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
52842         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
52843         VIS3 routines.
52845         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
52846         New file.
52848         * sysdeps/sparc/fpu/libm-test-ulps: Update.
52850         * sysdeps/sparc/configure.in: New file.
52851         * sysdeps/sparc/configure: Generate.
52852         * configure.in (libc_cv_sparc_as_vis3): Substitute.
52853         * configure: Regenerate.
52854         * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
52855         * config.make.in (have-as-vis3): New.
52856         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
52857         available use -Av9d instead of -Av9a.
52858         * sysdeps/sparc/sparc64/Makefile: Likewise.
52859         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
52860         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
52861         New file.
52862         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
52863         file.
52864         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
52865         New file.
52866         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
52867         file.
52868         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
52869         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
52870         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
52871         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
52872         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
52874         * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
52875         fzeros/fnegs to load 0x80000000 into a float register instead of
52876         using the stack.
52877         * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
52879 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
52881         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
52882         bits/syscall.h.
52883         ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
52884         ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
52885         ($(inst_includedir)/bits/syscall.h): Remove rule.
52886         ($(objpfx)bits/syscall.d): Include instead of
52887         $(objpfx)syscall-list.d.
52888         (generated): Change syscall-list.h and syscall-list.d to
52889         bits/syscall.h and bits/syscall.d.
52891 2012-03-14  Roland McGrath  <roland@hack.frob.com>
52893         [BZ #13846]
52894         * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
52896 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
52898         [BZ #13841]
52899         * math/s_csqrt.c: Include <float.h>.
52900         (__csqrt): Scale large or subnormal inputs.
52901         * math/s_csqrtf.c: Likewise.
52902         * math/s_csqrtl.c: Likewise.
52903         * math/libm-test.inc (csqrt_test): Add more tests.
52904         * sysdeps/i386/fpu/libm-test-ulps: Update.
52905         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52907         [BZ #13840]
52908         * math/libm-test.inc (hypot_test): Add more tests.
52910 2012-03-13  David S. Miller  <davem@davemloft.net>
52912         [BZ #13840]
52913         * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
52914         double-precision for the calculation instead of scaling.
52916 2012-03-13  Joseph Myers  <joseph@codesourcery.com>
52918         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
52919         manipulate bits before adding and subtracting TWO52[sx].
52920         * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
52921         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
52922         Likewise.
52923         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
52925 2012-03-13  David S. Miller  <davem@davemloft.net>
52927         * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
52928         * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
52929         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
52930         rtld-global-offsets.h
52931         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
52933         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
52934         large parameters.
52936         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
52938         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
52939         'err' in the ifdef scope in which it is actually used.
52941         * nss/nss_db/db-init.c: Include string.h
52943 2012-03-12  David S. Miller  <davem@davemloft.net>
52945         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
52946         masking out of the most significant byte of random value used.
52947         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
52948         Fix coding style in previous change.
52950         * sysdeps/unix/sysv/linux/kernel-features.h
52951         (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
52952         (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
52953         expression.
52954         (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
52955         later.
52957 2012-03-11  David S. Miller  <davem@davemloft.net>
52959         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
52960         (__makecontext): Fix signedness of pointer casts setting up 'sp'.
52961         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
52962         for 'resultvar' otherwise things get truncated on 64-bit.
52964         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
52965         Fix masking out of the most significant byte of random value used.
52967         * sysdeps/sparc/fpu/libm-test-ulps: Update.
52969 2012-03-10  Andreas Schwab  <schwab@linux-m68k.org>
52971         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
52973 2012-03-09  David S. Miller  <davem@davemloft.net>
52975         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
52976         variables with appropriate CPP guards.
52977         * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr
52978         from the frame pointer, not the stack pointer.  Correct layout
52979         comments.  Fix test on resulting framesize and the management of
52980         the outregs buffer for pltexit.  Preserve floating point return
52981         values across _dl_call_pltexit call.
52982         * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
52983         framesize and the management of the outregs buffer for pltexit.
52984         Preserve floating point return values across _dl_call_pltexit
52985         call.
52986         * elf/sotruss-lib.c (la_sparc32_gnu_pltenter)
52987         (la_sparc64_gnu_pltenter, la_sparc32_gnu_pltexit)
52988         (la_sparc64_gnu_pltexit): New functions.
52989         (print_exit): Fix format string for return register value.
52991 2012-03-10  Joseph Myers  <joseph@codesourcery.com>
52993         * sunrpc/Makefile (others): Add rpcgen.
52994         ($(objpfx)rpcgen): Remove special build rule and dependency on
52995         libc.
52996         * sunrpc/rpcgen.c: New file.
52998 2012-03-09  Paul Eggert  <eggert@cs.ucla.edu>
53000         [BZ #13673]
53001         * posix/bug-regex33.c: Replace FSF snail mail address with URL.
53002         * stdio-common/bug-vfprintf-nargs.c: Likewise.
53003         * sysdeps/i386/crti.S: Likewise.
53004         * sysdeps/i386/crtn.S: Likewise.
53005         * sysdeps/powerpc/powerpc32/crti.S: Likewise.
53006         * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
53007         * sysdeps/powerpc/powerpc64/crti.S: Likewise.
53008         * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
53009         * sysdeps/sh/crti.S: Likewise.
53010         * sysdeps/sh/crtn.S: Likewise.
53011         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
53013         [BZ #13673]
53014         * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
53015         with URL.
53016         * locale/programs/locfile-kw.gperf: Likewise.
53017         * locale/programs/charmap-kw.h: Regenerated.
53018         * locale/programs/locfile-kw.h: Likewise.
53020         [BZ #13673]
53021         * intl/plural.y: Replace FSF snail mail address with URL.
53022         * intl/plural.c: Regenerated.
53024 2012-03-09  Richard Henderson  <rth@twiddle.net>
53026         * include/math_private.h: Remove file.
53027         * math/math_private.h: Move file ...
53028         * sysdeps/generic/math_private.h: ... here.
53030         * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
53031         * sysdeps/powerpc/fpu/math_private.h: Likewise.
53032         * sysdeps/x86_64/fpu/math_private.h: Likewise.
53034         * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
53035         and <math_private.h>.
53036         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
53037         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
53038         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
53039         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
53040         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
53041         * sysdeps/ieee754/dbl-64/branred.c: Likewise.
53042         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
53043         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
53044         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
53045         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
53046         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
53047         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
53048         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
53049         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
53050         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
53051         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
53052         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
53053         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
53054         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
53055         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
53056         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
53057         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
53058         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
53059         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
53060         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
53061         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
53062         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
53063         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
53064         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
53065         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
53066         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
53067         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
53068         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
53069         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
53070         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
53071         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
53072         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
53073         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
53074         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
53075         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
53076         * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
53077         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
53078         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
53079         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
53080         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
53081         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
53082         * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
53083         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
53084         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
53085         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
53086         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
53087         * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
53088         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
53089         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
53090         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
53091         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
53092         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
53093         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
53094         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
53095         * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
53096         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
53097         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
53098         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
53099         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
53100         * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
53101         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
53102         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
53103         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
53104         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
53105         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
53106         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
53107         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
53108         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
53109         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
53110         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
53111         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
53112         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
53113         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
53114         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
53115         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
53116         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
53117         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
53118         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
53119         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
53120         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
53121         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
53122         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
53123         * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
53124         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
53125         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
53126         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
53127         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
53128         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
53129         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
53130         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
53131         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
53132         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
53133         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
53134         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
53135         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
53136         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
53137         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
53138         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
53139         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
53140         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
53141         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
53142         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
53143         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
53144         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
53145         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
53146         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
53147         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
53148         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
53149         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
53150         * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
53151         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
53152         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
53153         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
53154         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
53155         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
53156         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
53157         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
53158         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
53159         * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
53160         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
53161         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
53162         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
53163         * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
53164         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
53165         * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
53166         * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
53167         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
53168         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
53169         * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
53170         * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
53171         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
53172         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
53173         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
53174         * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
53175         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
53176         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
53177         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
53178         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
53179         * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
53180         * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
53181         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
53182         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
53183         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
53184         * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
53185         * sysdeps/ieee754/k_standard.c: Likewise.
53186         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
53187         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
53188         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
53189         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
53190         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
53191         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
53192         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
53193         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
53194         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
53195         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
53196         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
53197         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
53198         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
53199         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
53200         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
53201         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
53202         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
53203         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
53204         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
53205         * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
53206         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
53207         * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
53208         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
53209         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
53210         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
53211         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
53212         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
53213         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
53214         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
53215         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
53216         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
53217         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
53218         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
53219         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
53220         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
53221         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
53222         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
53223         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
53224         * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
53225         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
53226         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
53227         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
53228         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
53229         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
53230         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
53231         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
53232         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
53233         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
53234         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
53235         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
53236         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
53237         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
53238         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
53239         * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
53240         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
53241         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
53242         * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
53243         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
53244         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
53245         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
53246         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
53247         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
53248         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
53249         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
53250         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
53251         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
53252         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
53253         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
53254         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
53255         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
53256         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
53257         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
53258         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
53259         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
53260         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
53261         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
53262         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
53263         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
53264         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
53265         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
53266         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
53267         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
53268         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
53269         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
53270         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
53271         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
53272         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
53273         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
53274         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
53275         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
53276         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
53277         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
53278         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
53279         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
53280         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
53281         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
53282         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
53283         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
53284         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
53285         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
53286         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
53287         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
53288         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
53289         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
53290         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
53291         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
53292         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
53293         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
53294         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
53295         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
53296         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
53297         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
53298         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
53299         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
53300         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
53301         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
53302         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
53303         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
53304         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
53305         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
53306         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
53307         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
53308         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
53309         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
53310         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
53311         * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
53312         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
53313         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
53314         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
53315         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
53316         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
53317         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
53318         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
53319         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
53320         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
53321         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
53322         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
53323         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
53324         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
53325         * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
53326         * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
53327         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
53328         * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
53329         * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
53330         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
53331         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
53332         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
53333         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
53334         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
53335         * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
53336         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
53337         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
53338         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
53339         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
53340         * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
53341         * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
53342         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
53343         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
53344         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
53345         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
53346         * sysdeps/ieee754/s_lib_version.c: Likewise.
53347         * sysdeps/ieee754/s_matherr.c: Likewise.
53348         * sysdeps/ieee754/s_signgam.c: Likewise.
53349         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
53350         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
53351         * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
53352         * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
53353         * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
53354         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
53355         * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
53356         * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
53357         * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
53358         * sysdeps/powerpc/fpu/s_rint.c: Likewise.
53359         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
53360         * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
53361         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
53362         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
53363         * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
53364         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
53365         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
53366         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
53367         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
53368         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
53369         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
53371 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
53373         * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
53374         * sunrpc/rpc_main.c: Likewise.
53375         * sunrpc/rpc_svcout.c: Likewise.
53377 2012-03-09  David S. Miller  <davem@davemloft.net>
53379         * include/math_private.h: New file.
53381 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
53383         * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
53384         * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
53385         * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
53386         from <bits/socket_type.h>.
53387         (enum __socket_type): Don't define here.
53388         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
53389         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
53390         bits/socket_type.h.
53392         [BZ #13566]
53393         * libio/stdio.h (gets): Always declare for C++ up to C++11 without
53394         checking __USE_GNU.
53396         * Makerules ($(inst_includedir)/%.h): New rule.
53397         * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
53398         (install-others): Remove variable setting.
53399         ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
53401 2012-03-08  Richard Henderson  <rth@twiddle.net>
53403         * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
53404         from macro to inline function; merge with the
53405         !__LIBC_INTERNAL_MATH_INLINES version.
53406         (__ieee754_sqrtf): Likewise.
53408         * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
53409         to inline function.
53410         (__rintf, __floor, __floorf): Likewise.
53412         * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
53413         macro to inline function.
53414         (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
53416         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
53417         not <math/math_private.h>.
53419 2012-03-08  David S. Miller  <davem@davemloft.net>
53421         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
53422         copyright year.
53423         * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
53425 2012-03-08  Thomas Schwinge  <thomas@codesourcery.com>
53427         * resolv/gai_misc.c (handle_requests): Fix struct timespec
53428         normalization.
53429         * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
53430         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
53432 2012-03-08  Ulrich Drepper  <drepper@gmail.com>
53434         * stdio-common/tst-fphex.c: Various cleanups.  The macros cannot
53435         be defined individually, they must be defined as a block.  Define
53436         S for printing a string instead of hidint the different by using a
53437         macro for adding the 'l'.
53438         * stdio-common/tst-fphex-wide.c: Adjust.
53440 2012-03-07  Marek Polacek  <polacek@redhat.com>
53442         * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
53444 2012-03-08  Marek Polacek  <polacek@redhat.com>
53446         [BZ #13806]
53447         * stdio-common/Makefile (tests): Add tst-fphex-wide.
53448         * stdio-common/tst-fphex.c: Define a few macros to make the
53449         test reusable.  Use them.
53450         * stdio-common/tst-fphex-wide.c: New file.
53452 2012-03-08  Joseph Myers  <joseph@codesourcery.com>
53454         [BZ #6911]
53455         * manual/macros.texi (gnusystems): New macro.
53456         (nongnusystems): Likewise.
53457         (gnulinuxhurdsystems): Likewise.
53458         (gnuhurdsystems): Likewise..
53459         (gnulinuxsystems): Likewise.
53460         * manual/charset.texi: Use new macros or @theglibc{} to refer to
53461         variants of the GNU system, not "GNU system".
53462         * manual/conf.texi: Likewise.
53463         * manual/errno.texi: Likewise.  Update example of errno macro
53464         expansion.
53465         * manual/filesys.texi: Likewise.
53466         (getumask): Document as specific to GNU/Hurd.
53467         * manual/install.texi: Likewise.  Reword some references to
53468         GNU/Linux.
53469         * manual/intro.texi: Likewise.
53470         * manual/io.texi: Likewise.
53471         (File Name Portability): Detail which constraints are inapplicable
53472         to all GNU systems and which are only inapplicable to GNU/Hurd.
53473         * manual/job.texi: Likewise.
53474         * manual/llio.texi: Likewise.
53475         (O_NOCTTY): Document as present on GNU/Linux.
53476         * manual/maint.texi: Likewise.
53477         * manual/memory.texi: Likewise.
53478         * manual/pattern.texi: Likewise.
53479         * manual/pipe.texi: Likewise.
53480         * manual/process.texi: Likewise.
53481         * manual/resource.texi: Likewise.
53482         (RUSAGE_CHILDREN): Remove statement about specifying a particular
53483         child on GNU/Hurd.
53484         * manual/setjmp.texi: Likewise.
53485         * manual/signal.texi: Likewise.
53486         * manual/startup.texi: Likewise.
53487         * manual/stdio.texi: Likewise.
53488         * manual/terminal.texi: Likewise.
53489         (ONLCR): Document as POSIX.
53490         (OXTABS): Document availability on GNU/Linux as XTABS.
53491         (ONOEOT): Document availability separately from other bits.
53492         (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
53493         * manual/time.texi: Likewise.
53494         * manual/users.texi: Likewise.
53495         * INSTALL: Regenerated.
53496         * sysdeps/gnu/errlist.c: Regenerated.
53498         * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
53499         * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
53500         (libc_cv_ctors_header): Likewise.  Use asm ("") instead of calling
53501         puts.
53502         * configure: Regenerated.
53504 2012-03-07  Joseph Myers  <joseph@codesourcery.com>
53506         * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
53507         default includes instead of AC_HEADER_CHECK.
53508         * sysdeps/i386/configure: Regenerated.
53510         [BZ #10716]
53511         * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
53512         * math/s_cacoshf.c (__cacoshf): Likewise.
53513         * math/s_cacoshl.c (__cacoshl): Likewise.
53514         * math/s_casinh.c (__casinh): Set signs of result from argument.
53515         * math/s_casinhf.c (__casinhf): Likewise.
53516         * math/s_casinhl.c (__casinhl): Likewise.
53517         * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
53518         (casinh_test): Add more tests.
53519         * sysdeps/i386/fpu/libm-test-ulps: Update.
53520         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53522 2012-03-07  Ulrich Drepper  <drepper@gmail.com>
53524         * po/zh_TW.po: Update from translation team.
53526         * login/Makefile (distribute): Remove variable.
53527         * catgets/Makefile: Likewise.
53528         * mach/Makefile: Likewise.
53529         * malloc/Makefile: Likewise.
53530         * misc/Makefile: Likewise.
53531         * iconv/Makefile: Likewise.
53532         * nscd/Makefile: Likewise.
53533         * hurd/Makefile: Likewise.
53534         * manual/Makefile: Likewise.
53535         * locale/Makefile: Likewise.
53536         * intl/Makefile: Likewise.
53537         * conform/Makefile: Likewise.
53538         * nss/Makefile: Likewise.
53539         * time/Makefile: Likewise.
53540         * soft-fp/Makefile: Likewise.
53541         * dirent/Makefile: Likewise.
53542         * gmon/Makefile: Likewise.
53543         * po/Makefile: Likewise.
53544         * rt/Makefile: Likewise.
53545         * socket/Makefile: Likewise.
53546         * math/Makefile: Likewise.
53547         * signal/Makefile: Likewise.
53548         * debug/Makefile: Likewise.
53549         * elf/Makefile: Likewise.
53550         * timezone/Makefile: Likewise.
53551         * stdlib/Makefile: Likewise.
53552         * iconvdata/Makefile: Likewise.
53553         * sunrpc/Makefile: Likewise.
53554         * io/Makefile: Likewise.
53555         * argp/Makefile: Likewise.
53556         * inet/Makefile: Likewise.
53557         * hesiod/Makefile: Likewise.
53558         * grp/Makefile: Likewise.
53559         * csu/Makefile: Likewise.
53560         * wctype/Makefile: Likewise.
53561         * crypt/Makefile: Likewise.
53562         * libio/Makefile: Likewise.
53563         * string/Makefile: Likewise.
53564         * nis/Makefile: Likewise.
53565         * resolv/Makefile: Likewise.
53566         * stdio-common/Makefile: Likewise.
53567         * wcsmbs/Makefile: Likewise.
53568         * dlfcn/Makefile: Likewise.
53569         * posix/Makefile: Likewise.
53571         [BZ #6959]
53572         * timezone/Makefile: Don't install timezone files, just the programs
53573         and scripts.
53575 2012-03-06  Ulrich Drepper  <drepper@gmail.com>
53577         * nss/databases.def: Add missing gshadow entry.
53579         * stdio-common/vfprintf.c: Fix formatting.  Missing copyright update.
53581 2012-03-06  Marek Polacek  <polacek@redhat.com>
53583         [BZ #13726]
53584         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
53585         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
53586         * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
53587         * stdio-common/tst-long-dbl-fphex.c: New file.
53589 2012-03-06  David S. Miller  <davem@davemloft.net>
53591         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
53592         (set_obp_int): New function.
53593         (get_obp_int): New function.
53594         (__get_clockfreq_via_dev_openprom): Likewise.
53595         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
53596         Avoid unused variable warnings on 'val' and use builtin_expect.
53597         (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
53598         __builtin_expect.
53599         (INLINE_CLONE_SYSCALL): Likewise.
53601 2012-03-05  David S. Miller  <davem@davemloft.net>
53603         * sysdeps/sparc/fpu/libm-test-ulps: Update.
53605 2012-03-05  Andreas Schwab  <schwab@linux-m68k.org>
53607         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
53609         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
53610         only for |x| >= 40.
53611         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
53613 2012-03-05  H.J. Lu  <hongjiu.lu@intel.com>
53615         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
53616         Replace gettimeofday with __vdso_gettimeofday.
53618         * sysdeps/unix/sysv/linux/x86_64/init-first.c
53619         (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
53620         __vdso_clock_gettime and __vdso_getcpu.
53622         * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
53623         time with __vdso_time.
53625 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
53627         * manual/lang.texi (size_t): Note types to which size_t may be
53628         equivalent with the GNU C Library, but do not describe when
53629         differences between them are significant.
53631 2012-03-05  Andreas Jaeger  <aj@suse.de>
53633         * sysdeps/i386/fpu/libm-test-ulps: Update.
53635 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
53637         [BZ #3976]
53638         * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
53639         (__ieee754_pow): Save and restore rounding mode and use
53640         round-to-nearest for main computations.
53641         * math/libm-test.inc (pow_test_tonearest): New function.
53642         (pow_test_towardzero): Likewise.
53643         (pow_test_downward): Likewise.
53644         (pow_test_upward): Likewise.
53645         (main): Call the new functions.
53646         * sysdeps/i386/fpu/libm-test-ulps: Update.
53647         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53649         [BZ #3976]
53650         * math/libm-test.inc (cosh_test_tonearest): New function.
53651         (cosh_test_towardzero): Likewise.
53652         (cosh_test_downward): Likewise.
53653         (cosh_test_upward): Likewise.
53654         (sinh_test_tonearest): Likewise.
53655         (sinh_test_towardzero): Likewise.
53656         (sinh_test_downward): Likewise.
53657         (sinh_test_upward): Likewise.
53658         (main): Call the new functions.
53659         * sysdeps/i386/fpu/libm-test-ulps: Update.
53660         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53662 2012-03-05  Tom de Vries  <tom@codesourcery.com>
53664         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
53665         default stack guard is set in last bytes.
53666         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
53668 2012-03-05  Kees Cook  <keescook@chromium.org>
53670         * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
53672         [BZ #13656]
53673         * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
53674         possibly allocate from heap instead of stack.
53675         * stdio-common/bug-vfprintf-nargs.c: New file.
53676         * stdio-common/Makefile (tests): Add nargs overflow test.
53678 2012-03-03  Andreas Schwab  <schwab@linux-m68k.org>
53680         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
53682 2012-03-03  Marek Polacek  <polacek@redhat.com>
53684         * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
53685         * math/math_private.h: Likewise.
53686         * stdlib/tst-strtod.c: Likewise.
53687         * sysdeps/i386/i486/bits/atomic.h: Likewise.
53688         * sysdeps/x86_64/bits/atomic.h: Likewise.
53690 2012-03-02  David S. Miller  <davem@davemloft.net>
53692         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
53693         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
53694         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
53695         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
53696         * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
53697         * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
53698         * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
53699         * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
53701 2012-03-02  Roland McGrath  <roland@hack.frob.com>
53703         [BZ #13792]
53704         * manual/examples/README: New file, says the example source files
53705         can be used under GPL>=2.
53706         * manual/Makefile (%.c.texi): Eat the leading part of the file until a
53707         line containing just "*/".
53708         * manual/examples/add.c: Add copyright header (GPL>=2).
53709         * manual/examples/argp-ex1.c: Likewise.
53710         * manual/examples/argp-ex2.c: Likewise.
53711         * manual/examples/argp-ex3.c: Likewise.
53712         * manual/examples/argp-ex4.c: Likewise.
53713         * manual/examples/atexit.c: Likewise.
53714         * manual/examples/db.c: Likewise.
53715         * manual/examples/dir.c: Likewise.
53716         * manual/examples/dir2.c: Likewise.
53717         * manual/examples/execinfo.c: Likewise.
53718         * manual/examples/filecli.c: Likewise.
53719         * manual/examples/filesrv.c: Likewise.
53720         * manual/examples/fmtmsgexpl.c: Likewise.
53721         * manual/examples/genpass.c: Likewise.
53722         * manual/examples/inetcli.c: Likewise.
53723         * manual/examples/inetsrv.c: Likewise.
53724         * manual/examples/isockad.c: Likewise.
53725         * manual/examples/longopt.c: Likewise.
53726         * manual/examples/memopen.c: Likewise.
53727         * manual/examples/memstrm.c: Likewise.
53728         * manual/examples/mkfsock.c: Likewise.
53729         * manual/examples/mkisock.c: Likewise.
53730         * manual/examples/mygetpass.c: Likewise.
53731         * manual/examples/pipe.c: Likewise.
53732         * manual/examples/popen.c: Likewise.
53733         * manual/examples/rprintf.c: Likewise.
53734         * manual/examples/search.c: Likewise.
53735         * manual/examples/select.c: Likewise.
53736         * manual/examples/setjmp.c: Likewise.
53737         * manual/examples/sigh1.c: Likewise.
53738         * manual/examples/sigusr.c: Likewise.
53739         * manual/examples/stpcpy.c: Likewise.
53740         * manual/examples/strdupa.c: Likewise.
53741         * manual/examples/strftim.c: Likewise.
53742         * manual/examples/strncat.c: Likewise.
53743         * manual/examples/subopt.c: Likewise.
53744         * manual/examples/swapcontext.c: Likewise.
53745         * manual/examples/termios.c: Likewise.
53746         * manual/examples/testopt.c: Likewise.
53747         * manual/examples/testpass.c: Likewise.
53748         * manual/examples/timeval_subtract.c: Likewise.
53750         [BZ #13792]
53751         * manual/time.texi (Elapsed Time): Move timeval_subtract example
53752         function to ...
53753         * manual/timeval_subtract.c.texi: ... here, new file.
53755 2012-03-02  David S. Miller  <davem@davemloft.net>
53757         * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
53759 2012-03-02  Joseph Myers  <joseph@codesourcery.com>
53761         [BZ #3976]
53762         * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
53763         (__sin): Save and restore rounding mode and use round-to-nearest
53764         for all computations.
53765         (__cos): Save and restore rounding mode and use round-to-nearest
53766         for all computations.
53767         * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
53768         <fenv.h>.
53769         (tan): Save and restore rounding mode and use round-to-nearest for
53770         all computations.
53771         * math/libm-test.inc (cos_test_tonearest): New function.
53772         (cos_test_towardzero): Likewise.
53773         (cos_test_downward): Likewise.
53774         (cos_test_upward): Likewise.
53775         (sin_test_tonearest): Likewise.
53776         (sin_test_towardzero): Likewise.
53777         (sin_test_downward): Likewise.
53778         (sin_test_upward): Likewise.
53779         (tan_test_tonearest): Likewise.
53780         (tan_test_towardzero): Likewise.
53781         (tan_test_downward): Likewise.
53782         (tan_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 #10135]
53788         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
53789         small n, then large n, before computing and testing k+n.
53790         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
53791         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
53792         Likewise.
53793         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
53794         Likewise.
53795         * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
53796         * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
53797         * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
53798         * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
53799         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
53800         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
53801         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
53802         * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
53803         * math/libm-test.inc (scalbn_test): Add more tests.
53804         (scalbln_test): Likewise.
53806         * manual/filesys.texi (mode_t): Describe constraints on size and
53807         signedness, not exact equivalence to a particular type.
53808         (ino_t): Likewise.
53809         (ino64_t): Likewise.
53810         (dev_t): Likewise.
53811         (nlink_t): Likewise.
53812         (blkcnt_t): Likewise.
53813         (blkcnt64_t): Likewise.
53814         * manual/llio.texi (off_t): Likewise.
53816         [BZ #3976]
53817         * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
53818         (__ieee754_exp): Save and restore rounding mode and use
53819         round-to-nearest for all computations.
53820         * math/libm-test.inc (exp_test_tonearest): New function.
53821         (exp_test_towardzero): Likewise.
53822         (exp_test_downward): Likewise.
53823         (exp_test_upward): Likewise.
53824         (main): Call the new functions.
53825         * sysdeps/i386/fpu/libm-test-ulps: Update.
53826         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53828 2012-03-01  Chris Demetriou  <cgd@google.com>
53830         * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
53831         have predictable order.
53833 2012-03-01  David S. Miller  <davem@davemloft.net>
53835         * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
53837         * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
53838         * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
53839         * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
53840         * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
53842         * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
53843         * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
53844         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
53845         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
53846         * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
53847         * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
53848         * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
53849         * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
53850         * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
53852         * sysdeps/sparc/fpu/libm-test-ulps: Update.
53854         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
53855         * sysdeps/sparc/fpu/libm-test-ulps: to here.
53856         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
53858         * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
53859         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
53860         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
53861         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
53862         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
53863         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
53864         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
53865         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
53866         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
53867         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
53868         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
53869         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
53870         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
53871         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
53872         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
53873         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
53874         * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
53875         * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
53876         * sysdeps/sparc/elf/configure: Regenerated.
53878 2012-03-01  Joseph Myers  <joseph@codesourcery.com>
53880         * configure.in (AS, LD): Require binutils 2.20 or later.
53881         * configure: Regenerated.
53882         * manual/install.texi (Tools for Compilation): Give binutils 2.20
53883         as required minimum version.
53884         * INSTALL: Regenerated.
53886         [BZ #2541]
53887         [BZ #4108]
53888         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
53889         before squaring exponent.
53890         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
53891         bottom long double and 27 bits of top long double before squaring
53892         exponent.
53893         * math/libm-test.inc (erfc_test): Add more tests.
53894         * sysdeps/i386/fpu/libm-test-ulps: Update.
53895         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
53896         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53898 2012-03-01  Kai Tietz  <ktietz@redhat.com>
53900         * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
53901         * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
53902         containing bit-fields.
53903         * soft-fp/extended.h (_FP_UNION_E): Likewise.
53904         * soft-fp/single.h (_FP_UNION_S): Likewise.
53905         * soft-fp/double.h (_FP_UNION_D): Likewise.
53907 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
53909         [BZ #13786]
53910         * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
53911         not include ../strcmp.S.
53912         [USE_AS_STRNCASECMP_L]: Likewise.
53913         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
53914         (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
53915         * sysdeps/i386/i686/multiarch/strncase_l-c.c
53916         (__strncasecmp_l_ia32): Define as alias to
53917         __strncasecmp_l_nonascii.
53919         [BZ #5794]
53920         * math/libm-test.inc (expm1_test): Add test for bug 5794.
53921         * sysdeps/i386/fpu/libm-test-ulps: Update.
53922         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53924         * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
53925         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53927 2012-02-29  Jeff Law  <law@redhat.com>
53929         * resolv/res_query.c (__libc_res_nquerydomain): Avoid
53930         out of bounds read.
53932 2012-02-29  Marek Polacek  <polacek@redhat.com>
53934         [BZ #13706]
53935         * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
53936         * elf/Makefile: Add rules to run tst-unused-dep.out.
53938 2012-02-28  David S. Miller  <davem@davemloft.net>
53940         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
53941         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
53942         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
53943         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
53944         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
53945         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
53947 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
53949         * math/libm-test.inc (llround_test): Move one test from
53950         lround_test.  Use TEST_f_L in moved test.
53951         (lround_test): Move misplaced test to llround_test.  Add testcase
53952         from bug 2561.
53954 2012-02-28  Ulrich Drepper  <drepper@gmail.com>
53956         * sysdeps/x86_64/fpu/e_expf.S: New file.
53957         Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
53959 2012-02-28  Stanislav Brabec  <sbrabec@suse.cz>
53961         [BZ #13637]
53962         * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
53963         of remain_len that may cause incomplete multi-byte character and
53964         false match.
53965         * posix/bug-regex33.c: New file.
53966         * posix/Makefile (tests): Add bug-regex33.
53968 2012-02-28  Joseph Myers  <joseph@codesourcery.com>
53970         * manual/macros.texi: New file.
53971         * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
53972         * manual/libc.texinfo: Include macros.texi.
53973         * manual/creatute.texi: Likewise.
53974         * manual/install.texi: Likewise.
53975         * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
53976         @glibcadj{} in references to the GNU C Library.
53977         * manual/charset.texi: Likewise.
53978         * manual/conf.texi: Likewise.
53979         * manual/contrib.texi: Likewise.  Consistently use "GNU C Library"
53980         when not using those macros.
53981         * manual/creature.texi: Likewise.
53982         * manual/crypt.texi: Likewise.
53983         * manual/errno.texi: Likewise.
53984         * manual/filesys.texi: Likewise.
53985         * manual/header.texi: Likewise.
53986         * manual/install.texi: Likewise.
53987         * manual/intro.texi: Likewise.
53988         * manual/io.texi: Likewise.
53989         * manual/job.texi: Likewise.
53990         * manual/lang.texi: Likewise.
53991         * manual/libc.texiinfo: Likewise.
53992         * manual/llio.texi: Likewise.
53993         * manual/locale.texi: Likewise.
53994         * manual/maint.texi: Likewise.
53995         * manual/math.texi: Likewise.
53996         * manual/memory.texi: Likewise.
53997         * manual/message.texi: Likewise.
53998         * manual/nss.texi: Likewise.
53999         * manual/pattern.texi: Likewise.
54000         * manual/process.texi: Likewise.
54001         * manual/resource.texi: Likewise.
54002         * manual/search.texi: Likewise.
54003         * manual/setjmp.texi: Likewise.
54004         * manual/signal.texi: Likewise.
54005         * manual/socket.texi: Likewise.
54006         * manual/startup.texi: Likewise.
54007         * manual/stdio.texi: Likewise.
54008         * manual/string.texi: Likewise.
54009         * manual/sysinfo.texi: Likewise.
54010         * manual/syslog.texi: Likewise.
54011         * manual/terminal.texi: Likewise.
54012         * manual/time.texi: Likewise.
54013         * manual/users.texi: Likewise.
54014         * INSTALL: Regenerated.
54015         * NOTES: Regenerated.
54016         * sysdeps/gnu/errlist.c: Regenerated.
54018 2012-02-28  Andreas Schwab  <schwab@linux-m68k.org>
54020         * include/dirent.h: Include <dirstream.h> before
54021         <dirent/dirent.h>.
54023 2012-02-28  David S. Miller  <davem@davemloft.net>
54025         * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
54026         * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
54027         * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
54028         * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
54030 2012-02-27  David S. Miller  <davem@davemloft.net>
54032         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
54033         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
54034         * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
54035         * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
54037         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
54038         frame pointer instead of stack pointer relative arg slot.
54039         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
54040         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
54041         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
54043 2012-02-27  Carlos O'Donell  <carlos_odonell@mentor.com>
54045         [BZ #3992]
54046         * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
54048 2012-02-27  David S. Miller  <davem@davemloft.net>
54050         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
54051         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
54052         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
54053         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
54054         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
54055         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
54056         * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
54057         * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
54059 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
54061         * configure.in (CC): Restrict allowed GCC versions to 4.3 and
54062         later.  Allow versions 5-9.
54063         * configure: Regenerated.
54064         * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
54065         required minimum version and 4.6 as recommended version.  Do not
54066         mention bugs in GCC 2.7 and 2.8.
54067         * INSTALL: Regenerated.
54069 2012-02-27  David S. Miller  <davem@davemloft.net>
54071         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
54072         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
54073         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
54074         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
54075         * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
54076         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
54077         * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
54078         * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
54080         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
54081         manipulate bits before adding and subtracting TWO112[sx].
54082         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
54084 2012-02-27  Roland McGrath  <roland@hack.frob.com>
54086         [BZ #13775]
54087         * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
54088         [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
54089         * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
54090         being in POSIX, because they are in 1003.1-2008.
54092         * rt/tst-aio.c: Include <fcntl.h>.
54093         * rt/tst-aio7.c: Likewise.
54094         * rt/tst-aio64.c: Likewise.
54096         * stdio-common/tst-fmemopen.c (main): Remove spurious const.
54098 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
54100         * manual/install.texi (--with-headers): Describe headers as
54101         interface headers, not private headers.
54102         (Specific advice for GNU/Linux systems): Describe use of headers
54103         from "make headers_install", not private headers from older
54104         kernels.
54105         * INSTALL: Regenerated.
54106         * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
54107         Change to 2.6.19.
54108         * sysdeps/unix/sysv/linux/configure: Regenerated.
54110         * manual/llio.texi (fclean): Remove documentation.
54112         * manual/Makefile (libc-texi-generated): New variable.  Include
54113         version.texi.
54114         (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
54115         $(libc-texi-generated), not duplicated list of files.
54116         (version.texi, stamp-version): New rules.
54117         (realclean): Remove $(libc-texi-generated), not individual files
54118         from that list.  Do not remove dir-add.texinfo.
54119         * manual/libc.texinfo: Comment out uses of edition numbers and
54120         references to printed manual.  Remove last-updated dates.
54121         (EDITION): Comment out.
54122         (ISBN): Likewise.
54123         (VERSION, UPDATED): Remove.
54124         (version.texi): Include.
54126 2012-02-27  Andreas Schwab  <schwab@linux-m68k.org>
54128         * sysdeps/posix/spawni.c: Include <signal.h>.
54129         * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
54130         * sysdeps/pthread/aio_fsync.c: Likewise.
54132 2012-02-26  Ulrich Drepper  <drepper@gmail.com>
54134         * conform/Makefile (tests): Run only when not cross-compiling and
54135         when fast-check is not defined.
54137         * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
54138         * conform/data/limits.h-data: Fixes for POSIX2008.
54139         * conform/run-conformtest.sh: Run all tests.
54140         * include/arpa/inet.h: Changes to allow conformtest.pl to use the
54141         headers.
54142         * include/bits/dlfcn.h: Likewise.
54143         * include/langinfo.h: Likewise.
54144         * include/monetary.h: Likewise.
54145         * include/sys/poll.h: Likewise.
54147         * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
54148         for __USE_GNU.
54149         * posix/spawn.h: Define __need_sigset_t.
54150         * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
54151         * posix/unistd.h: Declare ctermid only for XPG before XPG6.
54152         * rt/aio.h: Don't include fcntl.h and signal.h.  Use bits/siginfo.h
54153         to get sigevent_t only.
54154         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
54155         only for __USE_GNU.
54156         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
54157         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
54158         process_vm_writev only for __USE_GNU.
54159         * termios/termios.h: Declare tcgetsid also for POSIX2008.
54161         * conform/Makefile: For now ignore errors from run-conformtest.
54162         * conform/conformtest.pl: Simplify code.  Add -ansi to CFLAGS for
54163         POSIX to avoid namespace pollution.  Don't prepend headers.
54164         * conform/data/aio.h-data: Fixes for POSIX testing.
54165         * conform/data/fcntl.h-data: Likewise.
54166         * conform/data/glob.h-data: Likewise.
54167         * conform/data/grp.h-data: Likewise.
54168         * conform/data/pthread.h-data: Likewise.
54169         * conform/data/pwd.h-data: Likewise.
54170         * conform/data/signal.h-data: Likewise.
54171         * conform/data/spawn.h-data: Likewise.
54172         * conform/data/stdio.h-data: Likewise.
54173         * conform/data/stdlib.h-data: Likewise.
54174         * conform/data/stropts.h-data: Likewise.
54175         * conform/data/sys/mman.h-data: Likewise.
54176         * conform/data/sys/stat.h-data: Likewise.
54177         * conform/data/sys/types.h-data: Likewise.
54178         * conform/data/sys/wait.h-data: Likewise.
54179         * conform/data/time.h-data: Likewise.
54180         * conform/data/unistd.h-data: Likewise.
54181         * conform/data/utime.h-data: Likewise.
54183         * io/sys/stat.h: fchmod was always in POSIX.
54184         * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
54185         * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
54186         * rt/aio.h: Define __need_timespec before including <time.h>.
54187         * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
54188         struct.  Add forward declaration of pthread_attr_t and use it in
54189         sigevent.
54190         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
54191         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
54192         * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
54193         always remove CLK_TCK definition.
54195 2012-02-26  Andreas Schwab  <schwab@linux-m68k.org>
54197         * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
54199 2012-02-25  Ulrich Drepper  <drepper@gmail.com>
54201         * conform/run-conformtest.sh: New file.
54202         * conform/Makefile: Run run-conformtest for tests.
54203         * conform/conformtest.pl: Many bug fixes.  Add ISO C99, ISO C11
54204         support.
54206         * conform/data/uchar.h-data: New file.
54207         * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
54208         * conform/data/arpa/inet.h-data: Likewise.
54209         * conform/data/assert.h-data: Likewise.
54210         * conform/data/complex.h-data: Likewise.
54211         * conform/data/cpio.h-data: Likewise.
54212         * conform/data/ctype.h-data: Likewise.
54213         * conform/data/dirent.h-data: Likewise.
54214         * conform/data/dlfcn.h-data: Likewise.
54215         * conform/data/errno.h-data: Likewise.
54216         * conform/data/fcntl.h-data: Likewise.
54217         * conform/data/float.h-data: Likewise.
54218         * conform/data/fmtmsg.h-data: Likewise.
54219         * conform/data/fnmatch.h-data: Likewise.
54220         * conform/data/ftw.h-data: Likewise.
54221         * conform/data/glob.h-data: Likewise.
54222         * conform/data/grp.h-data: Likewise.
54223         * conform/data/iconv.h-data: Likewise.
54224         * conform/data/inttypes.h-data: Likewise.
54225         * conform/data/langinfo.h-data: Likewise.
54226         * conform/data/libgen.h-data: Likewise.
54227         * conform/data/limits.h-data: Likewise.
54228         * conform/data/locale.h-data: Likewise.
54229         * conform/data/math.h-data: Likewise.
54230         * conform/data/monetary.h-data: Likewise.
54231         * conform/data/mqueue.h-data: Likewise.
54232         * conform/data/ndbm.h-data: Likewise.
54233         * conform/data/net/if.h-data: Likewise.
54234         * conform/data/netdb.h-data: Likewise.
54235         * conform/data/netinet/in.h-data: Likewise.
54236         * conform/data/nl_types.h-data: Likewise.
54237         * conform/data/poll.h-data: Likewise.
54238         * conform/data/pthread.h-data: Likewise.
54239         * conform/data/pwd.h-data: Likewise.
54240         * conform/data/regex.h-data: Likewise.
54241         * conform/data/sched.h-data: Likewise.
54242         * conform/data/search.h-data: Likewise.
54243         * conform/data/semaphore.h-data: Likewise.
54244         * conform/data/setjmp.h-data: Likewise.
54245         * conform/data/signal.h-data: Likewise.
54246         * conform/data/spawn.h-data: Likewise.
54247         * conform/data/stdarg.h-data: Likewise.
54248         * conform/data/stdio.h-data: Likewise.
54249         * conform/data/stdlib.h-data: Likewise.
54250         * conform/data/string.h-data: Likewise.
54251         * conform/data/strings.h-data: Likewise.
54252         * conform/data/stropts.h-data: Likewise.
54253         * conform/data/sys/ipc.h-data: Likewise.
54254         * conform/data/sys/mman.h-data: Likewise.
54255         * conform/data/sys/msg.h-data: Likewise.
54256         * conform/data/sys/resource.h-data: Likewise.
54257         * conform/data/sys/select.h-data: Likewise.
54258         * conform/data/sys/sem.h-data: Likewise.
54259         * conform/data/sys/shm.h-data: Likewise.
54260         * conform/data/sys/socket.h-data: Likewise.
54261         * conform/data/sys/stat.h-data: Likewise.
54262         * conform/data/sys/statvfs.h-data: Likewise.
54263         * conform/data/sys/time.h-data: Likewise.
54264         * conform/data/sys/timeb.h-data: Likewise.
54265         * conform/data/sys/times.h-data: Likewise.
54266         * conform/data/sys/types.h-data: Likewise.
54267         * conform/data/sys/uio.h-data: Likewise.
54268         * conform/data/sys/un.h-data: Likewise.
54269         * conform/data/sys/utsname.h-data: Likewise.
54270         * conform/data/sys/wait.h-data: Likewise.
54271         * conform/data/syslog.h-data: Likewise.
54272         * conform/data/tar.h-data: Likewise.
54273         * conform/data/termios.h-data: Likewise.
54274         * conform/data/utime.h-data: Likewise.
54275         * conform/data/utmpx.h-data: Likewise.
54276         * conform/data/varargs.h-data: Likewise.
54277         * conform/data/wchar.h-data: Likewise.
54278         * conform/data/wctype.h-data: Likewise.
54279         * conform/data/wordexp.h-data: Likewise.
54281         * include/stropts.h: New file.
54282         * include/uchar.h: New file.
54283         * include/aio.h: Changes to allow conformtest.pl to use the headers.
54284         * include/assert.h: Likewise.
54285         * include/ctype.h: Likewise.
54286         * include/dirent.h: Likewise.
54287         * include/dlfcn.h: Likewise.
54288         * include/fcntl.h: Likewise.
54289         * include/fnmatch.h: Likewise.
54290         * include/glob.h: Likewise.
54291         * include/grp.h: Likewise.
54292         * include/libio.h: Likewise.
54293         * include/locale.h: Likewise.
54294         * include/math.h: Likewise.
54295         * include/net/if.h: Likewise.
54296         * include/netdb.h: Likewise.
54297         * include/netinet/in.h: Likewise.
54298         * include/pthread.h: Likewise.
54299         * include/pwd.h: Likewise.
54300         * include/regex.h: Likewise.
54301         * include/sched.h: Likewise.
54302         * include/search.h: Likewise.
54303         * include/setjmp.h: Likewise.
54304         * include/signal.h: Likewise.
54305         * include/stdio.h: Likewise.
54306         * include/stdlib.h: Likewise.
54307         * include/string.h: Likewise.
54308         * include/sys/cdefs.h: Likewise.
54309         * include/sys/mman.h: Likewise.
54310         * include/sys/msg.h: Likewise.
54311         * include/sys/resource.h: Likewise.
54312         * include/sys/select.h: Likewise.
54313         * include/sys/socket.h: Likewise.
54314         * include/sys/stat.h: Likewise.
54315         * include/sys/statvfs.h: Likewise.
54316         * include/sys/time.h: Likewise.
54317         * include/sys/times.h: Likewise.
54318         * include/sys/uio.h: Likewise.
54319         * include/sys/utsname.h: Likewise.
54320         * include/sys/wait.h: Likewise.
54321         * include/termios.h: Likewise.
54322         * include/time.h: Likewise.
54323         * include/ulimit.h: Likewise.
54324         * include/unistd.h: Likewise.
54325         * include/utime.h: Likewise.
54326         * include/wchar.h: Likewise.
54327         * include/wctype.h: Likewise.
54328         * include/wordexp.h: Likewise.
54330         * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
54332         * time/time.h: TIME_UTC must be a macro.
54333         Make timespec_get available for ISO C11 only as well.
54335 2012-02-24  Ulrich Drepper  <drepper@gmail.com>
54337         * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
54338         Reported by Peng Haitao <penght@cn.fujitsu.com>.
54340 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
54342         * configure.in: Use -o not -a in test for unsupported multi-arch.
54344 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
54346         * manual/texinfo.tex: Update to version 2012-01-19.16.
54348 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
54350         * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
54352 2012-02-24  Roland McGrath  <roland@hack.frob.com>
54354         [BZ #13738]
54355         * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
54356         * manual/fdl-1.3.texi: New file.
54357         * manual/fdl-1.1.texi: File removed.
54359         [BZ #13738]
54360         * manual/libc.texinfo (FDL_VERSION): New @set.
54361         Use it for mention of FDL in cover text.
54362         (Documentation License): Use it in @include file name.
54364 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
54365             Roland McGrath  <roland@hack.frob.com>
54367         [BZ #5461]
54368         * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN)
54369         (not LONG_LONG_MAX and LONG_LONG_MIN.
54370         * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
54371         LLONG_MIN.  Refer to LONG_LONG_MIN only as older GCC-specific
54372         name.
54373         (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
54375 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
54377         [BZ #2547]
54378         [BZ #11365]
54379         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
54380         manipulate bits before adding and subtracting TWO23[sx].
54381         * math/libm-test.inc (nearbyint_test): Add more tests.
54383 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
54385         [BZ #2548]
54386         * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
54387         bits before adding and subtracting TWO23[sx].
54388         * math/libm-test.inc (rint_test): Add more tests.
54389         (rint_test_tonearest): Likewise.
54390         (rint_test_towardzero): Likewise.
54391         (rint_test_downward): Likewise.
54392         (rint_test_upward: Likewise.
54394 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
54396         [BZ #10110]
54397         * include/stdc-predef.h: New file.  Extracted from features.h.
54398         * include/features.h: Include stdc-predef.h.
54399         * Makefile (headers): Add stdc-predef.h.
54400         * CONFORMANCE (Compiler limitations): Update.
54402 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
54404         * manual/libc.texinfo (VERSION, UPDATED): Revert.
54406 2012-02-21  David S. Miller  <davem@davemloft.net>
54408         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
54409         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
54411 2012-02-20  David S. Miller  <davem@davemloft.net>
54413         * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
54414         using a normal save/restore sequence, rather than allocating a
54415         dummy stack frame just to store a frame pointer and restore.
54416         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
54418 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
54420         * manual/install.texi: Fix stray word in line-wrapped comment.
54422 2012-02-20  David S. Miller  <davem@davemloft.net>
54424         * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
54425         both binutils and gcc support GOTDATA.
54427         * sysdeps/unix/sparc/sysdep.h: Document why we don't use
54428         "rd %pc" in the PIC register setup sequences.
54430         * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
54431         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
54432         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
54433         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
54434         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
54435         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
54436         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
54437         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
54438         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
54439         (SYSCALL_ERROR_HANDLER): Likewise.
54440         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
54441         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
54442         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
54443         (SYSCALL_ERROR_HANDLER): Likewise.
54445         * config.h.in (HAVE_BINUTILS_GOTDATA): New.
54446         (HAVE_GCC_GOTDATA): New.
54447         * sysdeps/sparc/elf/configure.in: Test for GOTDATA
54448         relocation support in both binutils and gcc.
54449         * sysdeps/sparc/elf/configure: Regenerate.
54451         * sysdeps/sparc/sparc32/elf/configure.in: Delete.
54452         * sysdeps/sparc/sparc32/elf/configure: Delete.
54453         * sysdeps/sparc/sparc64/elf/configure.in: Delete.
54454         * sysdeps/sparc/sparc64/elf/configure: Delete.
54455         * sysdeps/sparc/elf/configure.in: New file.
54456         * sysdeps/sparc/elf/configure: Generate.
54458         * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
54459         * sysdeps/sparc/sparc32/elf/configure: Regenerate.
54460         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
54461         * sysdeps/sparc/sparc64/elf/configure: Regenerate.
54462         * config.h.in (BROKEN_SPARC_WDISP22): Remove.
54464 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
54466         * manual/install.texi: Do not mention specific glibc version
54467         numbers.
54468         * manual/libc.texinfo (VERSION, UPDATED): Update.
54469         (@copying): Use @copyright{} and range of years.
54471 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
54473         [BZ #13695]
54474         * csu/Makefile (distribute): Remove initfini.c and defs.awk.
54475         [crti.S not in sysdirs] (generated): Do not append.
54476         [crti.S not in sysdirs] (omit-deps): Likewise.
54477         [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
54478         [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
54479         [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
54480         [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
54481         [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
54482         Likewise.
54483         [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
54484         [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
54485         [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
54486         * csu/defs.awk: Remove file.
54487         * sysdeps/generic/initfini.c: Likewise.
54488         * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
54489         variable.
54490         * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
54491         Likewise.
54493 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
54495         * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
54496         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
54497         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
54498         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
54499         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
54500         * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
54501         <bits/epoll.h>.
54502         (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
54503         (__EPOLL_PACKED): Define to empty if not defined by
54504         <bits/epoll.h>.
54505         (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
54506         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
54507         bits/epoll.h.
54509 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
54511         * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
54512         * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
54513         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
54514         * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
54515         <bits/timerfd.h>.
54516         (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
54517         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
54518         bits/timerfd.h.
54520 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
54522         * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
54523         in C locale.
54524         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
54525         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
54526         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
54527         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
54529 2012-02-20  Aurelien Jarno  <aurelien@aurel32.net>
54531         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
54532         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
54534 2012-02-19  Andreas Schwab  <schwab@linux-m68k.org>
54536         * manual/errno.texi (Error Codes): Add EHWPOISON entry.
54537         * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
54538         defined.
54539         * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
54540         Likewise.
54541         * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
54542         entry for 2.16.
54544 2012-02-19  Aurelien Jarno  <aurelien@aurel32.net>
54546         * math/w_acos.c: Use non-signaling floating-point comparisons.
54547         * math/w_acosf.c: Likewise.
54548         * math/w_acosh.c: Likewise.
54549         * math/w_acoshf.c: Likewise.
54550         * math/w_acoshl.c: Likewise.
54551         * math/w_acosl.c: Likewise.
54552         * math/w_asin.c: Likewise.
54553         * math/w_asinf.c: Likewise.
54554         * math/w_asinl.c: Likewise.
54555         * math/w_atanh.c: Likewise.
54556         * math/w_atanhf.c: Likewise.
54557         * math/w_atanhl.c: Likewise.
54558         * math/w_exp2.c: Likewise.
54559         * math/w_exp2f.c: Likewise.
54560         * math/w_exp2l.c: Likewise.
54561         * math/w_j0.c: Likewise.
54562         * math/w_j0f.c: Likewise.
54563         * math/w_j0l.c: Likewise.
54564         * math/w_j1.c: Likewise.
54565         * math/w_j1f.c: Likewise.
54566         * math/w_j1l.c: Likewise.
54567         * math/w_jn.c: Likewise.
54568         * math/w_jnf.c: Likewise.
54569         * math/w_log.c: Likewise.
54570         * math/w_log10.c: Likewise.
54571         * math/w_log10f.c: Likewise.
54572         * math/w_log10l.c: Likewise.
54573         * math/w_log2.c: Likewise.
54574         * math/w_log2f.c: Likewise.
54575         * math/w_log2l.c: Likewise.
54576         * math/w_logf.c: Likewise.
54577         * math/w_logl.c: Likewise.
54578         * math/w_sqrt.c: Likewise.
54579         * math/w_sqrtf.c: Likewise.
54580         * math/w_sqrtl.c: Likewise.
54581         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
54582         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
54583         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
54584         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
54585         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
54587 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
54589         [BZ #9739]
54590         * manual/string.texi (strnlen): Use correct parameter name in
54591         equivalent expression.
54593 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
54595         [BZ #11174]
54596         * manual/users.texi (seteuid): Consistently use neweuid for
54597         argument name.
54599 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
54601         [BZ #13704]
54602         * manual/nss.texi (Services in the NSS configuration): Correct
54603         list of services in example configuration file.
54605 2012-02-19  Nick Bowler  <nbowler@draconx.ca>
54607         [BZ #11322]
54608         * manual/arith.texi: Remove statements about negative zero
54609         behaving identically to zero.
54611 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
54613         [BZ #5993]
54614         * manual/install.texi: Do not document upgrading from libc5.
54616 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
54618         [BZ #4596]
54619         * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
54621 2012-02-18  David S. Miller  <davem@davemloft.net>
54623         * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
54624         (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
54625         %o7 across the call.
54626         (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
54627         instead.
54628         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
54629         SETUP_PIC_REG_LEAF.
54630         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
54631         * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
54632         * sysdeps/sparc/crtn.S: Likewise.
54634 2012-02-17  Ulrich Drepper  <drepper@gmail.com>
54636         * aout/Makefile: Remove.
54638 2012-02-18  Rafe Kettler  <rafe.kettler@gmail.com>
54640         [BZ #13058]
54641         * manual/examples/argp-ex1.c (main): Format definition in GNU
54642         style.
54643         * manual/examples/argp-ex2.c (main): Likewise.
54644         * manual/examples/argp-ex3.c (main): Likewise.
54645         * manual/examples/argp-ex4.c (main): Likewise.
54646         * manual/examples/longopt.c (main): Use new-style prototype
54647         definition.
54648         * manual/examples/strncat.c (main): Specify return type and use
54649         (void) for arguments.
54650         * manual/examples/subopt.c (main): Use char **argv argument.
54652 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
54654         [BZ #5077]
54655         * manual/lang.texi (FLT_EPSILON): Avoid description depending on
54656         rounding modes.
54658 2012-02-17  Fabrice Bauzac  <fabrice.bauzac@wanadoo.fr>
54660         [BZ #6907]
54661         * manual/string.texi (strchr): Change when strchrnul is
54662         recommended.
54664 2012-02-17  Dwayne Grant McConnell  <decimal@us.ibm.com>
54666         [BZ #174]
54667         * manual/locale.texi (setlocale): Document LOCPATH.
54669 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
54671         [BZ #10210]
54672         * manual/process.texi (execle): Move @dots{} before last argument.
54674 2012-02-17  Paul Bolle  <pebolle@tiscali.nl>
54676         [BZ #12047]
54677         * manual/charset.texi (Generic Charset Conversion): Fix typo
54678         (LC_TYPE -> LC_CTYPE).
54680 2012-02-17  Nicolas Boulenguez  <nicolas.boulenguez@free.fr>
54682         [BZ #5805]
54683         * manual/arith.texi (scalbn): Use @var{} on parameter names.
54684         (scalbnf): Likewise.
54685         (scalbnl): Likewise.
54686         (scalbln): Likewise.
54687         (scalblnf): Likewise.
54688         (scalblnl): Likewise.
54689         * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
54690         (vwarnx): Likewise.
54691         (verr): Likewise.
54692         (verrx): Likewise.
54693         * manual/filesys.texi (telldir): Use braces around return type.
54694         * manual/llio.texi (mmap): Add space after comma.
54695         (mmap64): Likewise.
54696         * manual/math.texi (jn): Use @var{} on parameter names.
54697         (jnf): Likewise.
54698         (jnl): Likewise.
54699         (yn): Likewise.
54700         (ynf): Likewise.
54701         (ynl): Likewise.
54702         * manual/memory.texi (alloca): Remove semicolon on @deftypefun
54703         line.
54704         * manual/resource.texi (ulimit): Use @dots{} instead of literal
54705         "...".
54706         (sched_get_priority_min): Remove semicolon on @deftypefun line.
54707         (sched_get_priority_max): Likewise.
54708         * manual/signal.texi (sigvec): Add space after comma.
54709         * manual/socket.texi (if_nametoindex): Use @var{} on parameter
54710         names.
54711         (if_indextoname): Likewise.
54712         (if_freenameindex): Likewise.
54713         (sendto): Use ',' instead of '.' in prototype.
54714         * manual/startup.texi (syscall): Use @dots{} instead of literal
54715         "...".
54716         * manual/stdio.texi (__fpending): Separate initial words of
54717         paragraph from @deftypefun line.
54718         * manual/syslog.texi (syslog): Use @dots{} instead of literal
54719         "...".
54720         (vsyslog): Use @var{} on parameter names.
54721         * manual/terminal.texi (stty): Use @var{} on parameter names.
54722         * manual/users.texi (getutmp): Use @var{} on parameter names.
54723         (getutmpx): Likewise.
54725 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
54727         [BZ #6884]
54728         * manual/stdio.texi (fopen): Fix typos in description of
54729         ",ccs=STRING".
54731 2012-02-17  Aurelien Jarno  <aurelien@aurel32.net>
54733         [BZ #4026]
54734         * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
54735         get clock_id definition.
54737 2012-02-17  Thomas Schwinge  <thomas@schwinge.name>
54739         [BZ #4822]
54740         * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
54741         (madvise): Cast every argument to void on its own.
54743 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
54745         [BZ #9902]
54746         * manual/startup.texi (Exit Status): Fix typo.
54748 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
54750         [BZ #10140]
54751         * manual/examples/argp-ex1.c: Include <stdlib.h>.
54752         * manual/examples/argp-ex2.c: Likewise.
54753         * manual/examples/argp-ex3.c: Likewise.
54755 2012-02-16  Richard Henderson  <rth@redhat.com>
54757         * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
54758         * sysdeps/s390/s390-32/initfini.c: Remove.
54759         * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
54760         * sysdeps/s390/s390-64/initfini.c: Remove.
54762 2012-02-15  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
54764         * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
54765         compiler output for sysdeps/generic/initfini.c.
54766         * sysdeps/sh/elf/initfini.c: Remove file.
54768 2012-02-16  David S. Miller  <davem@davemloft.net>
54770         [BZ #11494]
54771         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
54773         * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
54774         * sysdeps/sparc/crti.S: New file.
54775         * sysdeps/sparc/crtn.S: New file.
54776         * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
54777         * sysdeps/sparc/sparc64/Makefile: Likewise.
54779 2012-02-15  Mike Frysinger  <vapier@gentoo.org>
54781         [BZ #3335]
54782         * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
54784 2012-02-15  Roland McGrath  <roland@hack.frob.com>
54786         [BZ #4822]
54787         * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
54789         * mach/devstream.c (cookie_io_functions_t): Macro removed.
54790         (write, read, close): Likewise.
54791         Patch by Aurelien Jarno <aurelien@aurel32.net>.
54793 2012-02-15  Joseph Myers  <joseph@codesourcery.com>
54795         * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
54796         * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
54797         * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
54798         * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
54799         <bits/signalfd.h>.
54800         (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
54801         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
54802         bits/signalfd.h.
54804 2012-02-14  Marek Polacek  <polacek@redhat.com>
54806         * sysdeps/x86_64/crti.S: New file.
54807         * sysdeps/x86_64/crtn.S: New file.
54808         * sysdeps/x86_64/elf/initfini.c: Remove file.
54810 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
54812         * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
54813         * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
54814         * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
54815         * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
54816         <bits/inotify.h>.
54817         (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
54818         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
54819         bits/inotify.h.
54821 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
54823         * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
54824         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
54825         * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
54826         * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
54827         <bits/eventfd.h>.
54828         (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
54829         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
54830         bits/eventfd.h.
54832 2012-02-10  Thomas Schwinge  <thomas@codesourcery.com>
54834         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
54835         __feraiseexcept instead of feraiseexcept.
54837         * rt/tst-cpuclock1.c: Add a few comments, and error checking for
54838         nanosleep invocations.
54839         * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
54840         strings, and add error checking for a nanosleep invocations.
54842 2012-02-09  Paul Eggert  <eggert@cs.ucla.edu>
54844         Replace FSF snail mail address with URLs, as per GNU coding standards.
54845         Most of the snail mail addresses were wrong anyway, and omitting
54846         them makes the source code easier to maintain.  Almost all of the
54847         changes are to license notices and to locale LC_IDENTIFICATION
54848         addresses, except for this one:
54849         * manual/libc.texinfo: In "Published by", give the FSF's URL,
54850         not its snail mail address.
54852 2012-02-09  Richard Henderson  <rth@twiddle.net>
54854         * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
54855         of kernel-features.h.
54857         * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
54859 2012-02-08  Marek Polacek  <polacek@redhat.com>
54861         * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
54862         * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
54863         * sysdeps/gnu/_G_config.h: Likewise.
54864         * sysdeps/generic/_G_config.h: Likewise.
54866 2012-02-08  Andreas Schwab  <schwab@linux-m68k.org>
54868         * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
54869         tests.
54870         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
54872         * sysdeps/powerpc/powerpc32/crti.S: New file.
54873         * sysdeps/powerpc/powerpc32/crtn.S: New file.
54874         * sysdeps/powerpc/powerpc64/crti.S: New file.
54875         * sysdeps/powerpc/powerpc64/crtn.S: New file.
54877         * Makeconfig (have-initfini): Don't set.
54878         * config.make.in (have-initfini, need-nopic-initfini): Don't set.
54879         * configure.in (nopic_initfini): Don't substitute.
54880         * config.h.in (HAVE_INITFINI): Don't #undef.
54881         * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
54882         * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
54884 2012-02-08  Joseph Myers  <joseph@codesourcery.com>
54886         Support crti.S and crtn.S provided directly by architectures.
54887         * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
54888         [crti.S in sysdirs] (omit-deps): Likewise.
54889         [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
54890         [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
54891         [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
54892         [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
54893         [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
54894         [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
54895         [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
54896         [crti.S in sysdirs] (initfini.c): Remove vpath directive.
54897         * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
54898         compiler output for sysdeps/generic/initfini.c.
54899         * sysdeps/i386/elf/Makefile: Remove file.
54900         * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
54902 2012-02-07  Marek Polacek  <polacek@redhat.com>
54904         * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
54905         * sysdeps/gnu/_G_config.h: Likewise.
54906         * sysdeps/mach/hurd/_G_config.h: Likewise.
54908 2012-02-07  Marek Polacek  <polacek@redhat.com>
54910         * math/Makefile (tests): Add tst-CMPLX2.
54911         * math/tst-CMPLX2.c: New file.
54913 2012-02-07  Andreas Schwab  <schwab@linux-m68k.org>
54915         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
54917         * math/libm-test.inc (jn_test): Add missing L suffix.
54919 2012-02-06  Marek Polacek  <polacek@redhat.com>
54921         * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
54922         * sysdeps/i386/fpu/e_powf.S: Likewise.
54923         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
54924         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
54925         * sysdeps/i386/fpu/e_acosh.S: Likewise.
54926         * sysdeps/i386/fpu/e_pow.S: Likewise.
54927         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
54928         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
54929         * sysdeps/i386/fpu/s_expm1.S: Likewise.
54930         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
54931         * sysdeps/i386/fpu/e_log2.S: Likewise.
54932         * sysdeps/i386/fpu/e_log2l.S: Likewise.
54933         * sysdeps/i386/fpu/e_scalb.S: Likewise.
54934         * sysdeps/i386/fpu/e_powl.S: Likewise.
54935         * sysdeps/i386/fpu/s_log1p.S: Likewise.
54936         * sysdeps/i386/fpu/e_log10f.S: Likewise.
54937         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
54938         * sysdeps/i386/fpu/e_logl.S: Likewise.
54939         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
54940         * sysdeps/i386/fpu/s_expm1l.S: Likewise.
54941         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
54942         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
54943         * sysdeps/i386/fpu/e_log2f.S: Likewise.
54944         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
54945         * sysdeps/i386/fpu/e_log.S: Likewise.
54946         * sysdeps/i386/fpu/s_cexp.S: Likewise.
54947         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
54948         * sysdeps/i386/fpu/s_log1pl.S: Likewise.
54949         * sysdeps/i386/fpu/e_logf.S: Likewise.
54950         * sysdeps/i386/fpu/e_log10l.S: Likewise.
54951         * sysdeps/i386/fpu/e_atanh.S: Likewise.
54952         * sysdeps/i386/fpu/s_log1pf.S: Likewise.
54953         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
54954         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
54955         * sysdeps/i386/fpu/e_log10.S: Likewise.
54956         * sysdeps/i386/fpu/s_frexp.S: Likewise.
54957         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
54958         * sysdeps/i386/fpu/s_asinh.S: Likewise.
54959         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
54960         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
54961         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
54962         * sysdeps/i386/asm-syntax.h: Likewise.
54963         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
54964         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
54965         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
54966         * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
54967         * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
54968         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
54969         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
54970         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
54971         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
54972         * sysdeps/powerpc/sysdep.h: Likewise.
54973         * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
54974         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
54976 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
54978         [BZ #411]
54979         * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
54981 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
54983         * sysdeps/i386/sysdep.h: Include <features.h>.
54984         (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
54985         version.
54987 2012-02-05  Joseph Myers  <joseph@codesourcery.com>
54989         * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
54990         Define.
54991         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
54992         LOAD_PIC_REG_STR.
54994 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
54996         * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
54997         (SETUP_PIC_REG): Use GET_PC_THUNK.
54998         * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
54999         macro.
55001 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
55003         * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
55004         for non-PIC compilation.
55005         (SETUP_PIC_REG): Add .p2align directive.
55006         * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
55007         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
55008         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
55009         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
55010         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
55011         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
55012         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
55013         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
55014         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
55015         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
55016         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
55017         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
55018         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
55019         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
55020         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
55021         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
55022         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
55023         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
55024         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
55025         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
55026         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
55027         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
55028         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
55029         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
55030         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
55031         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
55032         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
55033         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
55034         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
55035         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
55036         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
55037         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
55038         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
55039         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
55040         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
55041         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
55042         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
55043         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
55044         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
55045         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
55046         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
55048 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
55050         * math/tst-CMPLX.c: Include <stdio.h>.
55052 2012-01-31  Joseph Myers  <joseph@codesourcery.com>
55054         * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
55055         float.
55056         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
55057         * sysdeps/sparc/bits/mathdef.h: Likewise.
55059 2012-01-31  Marek Polacek  <polacek@redhat.com>
55061         * libio/libio.h: Don't define _PARAMS.
55062         * locale/programs/config.h: Don't define PARAMS.
55063         * stdlib/strtol_l.c: Likewise.
55064         (__strtol_l): Remove PARAMS from the prototype.
55066 2012-01-31  Ulrich Drepper  <drepper@gmail.com>
55068         * malloc/malloc.c: Remove name translation.  Don't use mixed-cap
55069         names.  Just use the correct names.  Remove unnecessary wrapper
55070         functions.
55071         * malloc/arena.c: Likewise.
55072         * malloc/hooks.c: Likewise.
55074         * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
55075         ARENA_TEST says not to.  Simplify test for creation of a new arena.
55076         Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
55078 2012-01-30  Ulrich Drepper  <drepper@gmail.com>
55080         * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
55081         into tail calls.
55082         (update_get_addr): New function.
55083         (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
55084         GET_ADDR_MODULE parameter.
55086 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
55088         * crypt/cert.c: Remove __STDC__ conditionals.
55089         * crypt/crypt-entry.c: Likewise.
55090         * crypt/crypt_util.c: Likewise.
55091         * libio/filedoalloc.c: Likewise.
55092         * libio/fileops.c: Likewise.
55093         * libio/genops.c: Likewise.
55094         * libio/iofclose.c: Likewise.
55095         * libio/iofdopen.c: Likewise.
55096         * libio/iofopen.c: Likewise.
55097         * libio/iofopen64.c: Likewise.
55098         * libio/iogetdelim.c: Likewise.
55099         * libio/iopopen.c: Likewise.
55100         * libio/obprintf.c: Likewise.
55101         * libio/oldfileops.c: Likewise.
55102         * libio/oldiofclose.c: Likewise.
55103         * libio/oldiofdopen.c: Likewise.
55104         * libio/oldiofopen.c: Likewise.
55105         * libio/oldiopopen.c: Likewise.
55106         * libio/wfiledoalloc.c: Likewise.
55107         * libio/wgenops.c: Likewise.
55108         * locale/programs/xmalloc.c: Likewise.
55109         * misc/syslog.c: Likewise.
55110         * stdio-common/xbug.c: Likewise.
55111         * string/memchr.c: Likewise.
55112         * string/memcmp.c: Likewise.
55113         * string/memrchr.c: Likewise.
55114         * string/rawmemchr.c: Likewise.
55115         * sysdeps/posix/getcwd.c: Likewise.
55116         * time/strftime_l.c: Likewise.
55118 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
55120         * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
55121         * config.make.in (config-cflags-sse2avx): Define.
55122         * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
55123         Fix typo.
55125 2012-01-29  Chris Metcalf  <cmetcalf@tilera.com>
55127         * scripts/config.guess: Update from upstream config git repository.
55128         * scripts/config.sub: Likewise.
55130 2012-01-28  Chris Metcalf  <cmetcalf@tilera.com>
55132         * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
55133         (EM_NUM): Update.
55134         (R_TILEPRO_*, R_TILEGX_*): New macros.
55136         * scripts/firstversions.awk: Fix bug in version range handling.
55138         * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
55140         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
55142         * include/sys/epoll.h: New file.
55143         * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
55144         libc_hidden_def.
55146 2012-01-28  Ulrich Drepper  <drepper@gmail.com>
55148         * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
55149         Avoid unnecessary __WORDSIZE == 64 test.
55150         (fmaxf): Use VEX format if possible.
55151         (fmax): Likewise.
55152         (fminf): Likewise.
55153         (fmin): Likewise.
55155         * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
55156         * math/math_private.h: Remove libc_fegetround* and
55157         libc_fesetround*.
55158         * sysdeps/i386/configure.in: Check for -msse2avx.
55159         * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
55160         also if SSE2AVX is defined.
55161         Remove libc_fegetround* and libc_fesetround*.
55162         * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
55163         if config-cflags-sse2avx is yes.  Also add -DSSE2AVX to defines.
55164         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
55165         of HAS_YMM_USABLE.
55166         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
55167         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
55168         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
55169         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
55170         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
55172         * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
55174 2012-01-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
55176         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
55177         size is not set.
55178         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
55180 2012-01-27  Ulrich Drepper  <drepper@gmail.com>
55182         [BZ #13618]
55183         * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
55184         relocation.
55185         * Makeconfig (libm): Define.
55186         * elf/Makefile: Add rules to build and run tst-relsort1.
55187         * elf/tst-relsort1.c: New file.
55188         * elf/tst-relsort1mod1.c: New file.
55189         * elf/tst-relsort1mod2.c: New file.
55191 2012-01-27  Joseph Myers  <joseph@codesourcery.com>
55193         * math/s_ldexp.c: Remove __STDC__ conditionals.
55194         * math/s_ldexpf.c: Likewise.
55195         * math/s_ldexpl.c: Likewise.
55196         * math/s_nextafter.c: Likewise.
55197         * math/s_nexttowardf.c: Likewise.
55198         * math/s_significand.c: Likewise.
55199         * math/s_significandf.c: Likewise.
55200         * math/s_significandl.c: Likewise.
55201         * math/w_jnl.c: Likewise.
55202         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
55203         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
55204         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
55205         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
55206         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
55207         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
55208         * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
55209         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
55210         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
55211         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
55212         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
55213         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
55214         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
55215         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
55216         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
55217         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
55218         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
55219         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
55220         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
55221         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
55222         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
55223         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
55224         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
55225         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
55226         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
55227         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
55228         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
55229         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
55230         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
55231         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
55232         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
55233         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
55234         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
55235         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
55236         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
55237         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
55238         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
55239         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
55240         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
55241         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
55242         * sysdeps/ieee754/k_standard.c: Likewise.
55243         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
55244         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
55245         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
55246         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
55247         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
55248         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
55249         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
55250         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
55251         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
55252         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
55253         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
55254         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
55255         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
55256         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
55257         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
55258         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
55259         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
55260         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
55261         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
55262         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
55263         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
55264         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
55265         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
55266         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
55267         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
55268         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
55269         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
55270         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
55271         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
55272         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
55273         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
55274         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
55275         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
55276         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
55277         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
55278         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
55279         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
55280         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
55281         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
55282         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
55283         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
55284         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
55285         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
55286         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
55287         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
55288         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
55289         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
55290         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
55291         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
55292         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
55293         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
55294         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
55295         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
55296         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
55297         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
55298         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
55299         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
55300         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
55301         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
55302         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
55303         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
55304         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
55305         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
55306         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
55307         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
55308         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
55309         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
55310         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
55311         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
55312         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
55313         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
55314         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
55315         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
55316         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
55317         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
55318         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
55319         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
55320         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
55321         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
55322         * sysdeps/ieee754/s_matherr.c: Likewise.
55323         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
55324         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
55325         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
55326         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
55328 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
55330         * crypt/md5.h: Remove __STDC__ conditionals.
55331         * libio/libioP.h: Likewise.
55332         * locale/programs/config.h: Likewise.
55333         * sysdeps/generic/sysdep.h: Likewise.
55334         * sysdeps/i386/asm-syntax.h: Likewise.
55335         * sysdeps/s390/asm-syntax.h: Likewise.
55336         * sysdeps/unix/sysdep.h: Likewise.
55337         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
55338         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
55340 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
55342         * libio/libio.h: Remove __STDC__ conditionals.
55343         * malloc/obstack.h: Likewise.
55344         * math/complex.h: Likewise.
55345         * math/math.h: Likewise.
55346         * sysdeps/generic/_G_config.h: Likewise.
55347         * sysdeps/gnu/_G_config.h: Likewise.
55348         * sysdeps/mach/hurd/_G_config.h: Likewise.
55349         * sysdeps/powerpc/bits/mathdef.h: Likewise.
55350         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
55351         * sysdeps/sparc/bits/mathdef.h: Likewise.
55353 2012-01-26  Ulrich Drepper  <drepper@gmail.com>
55355         [BZ #13583]
55356         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
55357         Clean up HAS_* macros.
55358         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
55359         bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
55360         possible.
55361         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
55362         HAS_AVX.
55363         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
55364         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
55365         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
55366         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
55367         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
55369 2012-01-25  Joseph Myers  <joseph@codesourcery.com>
55371         * elf/tst-unique3.cc (gets): Remove declaration.
55372         * elf/tst-unique3lib.cc (gets): Likewise.
55373         * elf/tst-unique3lib2.cc (gets): Likewise.
55374         * elf/tst-unique4.cc (gets): Likewise.
55376 2012-01-24  Ulrich Drepper  <drepper@gmail.com>
55378         * include/stdio.h: Add C++ protection.  Add gets declarations and
55379         definitions.
55380         * debug/tst-chk1.c: Don't declare gets here.
55381         * stdio-common/tst-gets.c: Likewise.
55383 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
55385         * posix/glob: Remove directory.
55387 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
55389         * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
55391 2012-01-22  Pino Toscano  <toscano.pino@tiscali.it>
55393         * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
55394         of the non-standard EPFNOSUPPORT.
55396 2011-12-26  Samuel Thibault  <samuel.thibault@ens-lyon.org>
55398         * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
55399         __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
55400         ANYWHERE set to 1 only on KERN_NO_SPACE error.
55402 2012-01-21  Ulrich Drepper  <drepper@gmail.com>
55404         * wcsmbs/uchar.h: Test __STDC_VERSION__.
55406 2012-01-20  Ulrich Drepper  <drepper@gmail.com>
55408         * nscd/aicache.c (addhstaiX): Do not cache negative results of
55409         transient errors.
55410         * nscd/grpcache.c (cache_addgr): Likewise.
55411         * nscd/hstcache.c (cache_addhst): Likewise.
55412         * nscd/initgrcache.c (addinitgroupsX): Likewise.
55413         * nscd/pwdcache.c (cache_addpw): Likewise.
55414         * nscd/servicescache.c (cache_addserv): Likewise.
55416 2012-01-16  Ulrich Drepper  <drepper@gmail.com>
55418         * malloc/malloc.c: Various cleanups.
55419         * malloc/hooks.c: Likewise.
55421         * stdlib/Makefile (tests): Add bug-fmtmsg1.
55422         * stdlib/bug-fmtmsg1.c: New file.
55424         * stdlib/fmtmsg.c (init): Add missing unlock.
55425         Patch by Peng Haitao <penght@cn.fujitsu.com>.
55427 2012-01-12  Marek Polacek  <polacek@redhat.com>
55429         * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
55430         and _GNU_SOURCE.
55432 2012-01-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
55434         * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
55435         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
55436         macro to ensure uniqueness of label name.
55437         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
55438         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
55440 2012-01-11  Ulrich Drepper  <drepper@gmail.com>
55442         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
55444         * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
55445         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
55446         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
55447         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
55449 2012-01-10  Ulrich Drepper  <drepper@gmail.com>
55451         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
55453         * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
55454         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
55455         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
55457         * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
55459         * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
55460         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
55461         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
55462         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
55464         * math/bits/math-finite.h: Add ldexp support.
55466 2012-01-10  Marek Polacek  <polacek@redhat.com>
55468         * locale/programs/localedef.h (show_archive_content): Add noreturn
55469         attribute.
55471 2012-01-09  Ulrich Drepper  <drepper@gmail.com>
55473         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
55475 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
55477         * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
55479         * io/Makefile (headers): Add bits/poll2.h.
55481 2011-01-05  Will Schmidt  <will_schmidt@vnet.ibm.com>
55483         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
55484         typo #include statement.
55486 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
55488         * include/sys/cdefs.h: Define __attribute_alloc_size.
55489         * catgets/gencat.c: Add alloc_size attribute and apply consistently
55490         the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
55491         * elf/pldd.c: Likewise.
55492         * iconv/iconv_charmap.c: Likewise.
55493         * iconv/iconvconfig.c: Likewise.
55494         * iconv/strtab.c: Likewise.
55495         * locale/programs/locale.c: Likewise.
55496         * locale/programs/localedef.h: Likewise.
55497         * locale/programs/simple-hash.c: Likewise.
55498         * nscd/nscd.h: Likewise.
55499         * nss/makedb.c: Likewise.
55500         * sysdeps/generic/ldconfig.h: Likewise.
55501         * locale/programs/localedef.c: Remove xmalloc prototype.
55502         * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
55504 2012-01-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
55506         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
55507         appropriate.
55509 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
55511         * math/Makefile (tests): Add tst-CMPLX.
55512         * math/tst-CMPLX.c: New file.
55514         * math/complex.h (CMPLXL): Fix typo.
55516         * debug/Makefile (routines): Add poll_chk and ppoll_chk.
55517         * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
55518         GLIBC_2.16.
55519         * debug/tst-chk1.c: Add poll and ppoll tests.
55520         * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
55521         * include/sys/poll.h: Add hidden proto for ppoll.
55522         * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
55523         * sysdeps/mach/hurd/ppoll.c: Likewise.
55524         * io/ppoll.c: Likewise.
55525         * debug/poll_chk.c: New file.
55526         * debug/ppoll_chk.c: New file.
55527         * include/bits/poll2.h: New file.
55528         * io/bits/poll2.h: New file.
55530         [BZ #1350]
55531         * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
55533         * configure.in: static is always set to yes.  Remove.
55534         * config.make.in: Don't set build-static.
55535         * Makeconfig: Remove use of build-static.
55536         * dlfcn/Makefile: Likewise.
55537         * elf/Makefile: Likewise.
55538         * math/Makefile: Likewise.
55539         * misc/Makefile: Likewise.
55540         * nptl/Makefile: Likewise.
55541         * sysdeps/mach/hurd/Makefile: Likewise.
55543         * configure.in: PWD_P is not used anymore.
55544         * config.make.in: Remove PWD_P entry.
55546         * configure.in: Remove last remnants of RANLIB.
55547         No need to check for signed size_t anymore.
55548         Don't set libc_commonpagesize and libc_relro_required here for Alpha
55549         and IA-64.
55550         Remove __builtin_expect test because we require at least gcc 3.4.
55551         * aclocal.m4: Likewise.
55553         * wcsmbs/mbrtoc16.c: Implement using towc function.
55554         * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
55555         * wcsmbs/wcsmbsload.c: Likewise.
55556         * iconv/gconv_simple.c: Likewise.
55557         * iconv/gconv_int.h: Likewise.
55558         * iconv/gconv_builtin.h: Likewise.
55559         * iconv/iconv_prog.c: Remove CHAR16 handling.
55561         * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
55563         * wcsmbs/mbrtowc.c: Better check for invalid inputs.
55565         * configure.in: Remove --with-elf and --enable-bounded options.
55566         Dont set base_machine for ia64.  More non-ELF conditions removed.
55567         Remove testing and setting of leading underscore information.
55568         * config.make.in (build-bounded): Set to no.
55569         * config.h.in: Remove NO_UNDERSCORES entry.
55570         * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS.  ELF has
55571         them.
55572         * csu/start.c: Remove !NO_UNDERSCORE code.
55573         * locale/localeinfo.h: Likewise.
55574         * sysdeps/generic/machine-gmon.h: Likewise.
55575         * sysdeps/generic/sysdep.h: Likewise.
55576         * sysdeps/i386/sysdep.h: Likewise.
55577         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
55578         * sysdeps/mach/sysdep.h: Likewise.
55579         * sysdeps/s390/s390-32/sysdep.h: Likewise.
55580         * sysdeps/s390/s390-64/sysdep.h: Likewise.
55581         * sysdeps/sh/sysdep.h: Likewise.
55582         * sysdeps/sparc/sparc32/alloca.S: Likewise.
55583         * sysdeps/unix/i386/sysdep.S: Likewise.
55584         * sysdeps/unix/sparc/start.c: Likewise.
55585         * sysdeps/unix/sparc/sysdep.S: Likewise.
55586         * sysdeps/unix/sparc/sysdep.h: Likewise.
55587         * sysdeps/unix/start.c: Likewise.
55588         * sysdeps/unix/x86_64/sysdep.S: Likewise.
55589         * sysdeps/x86_64/sysdep.h: Likewise.
55591 2012-01-07  Ulrich Drepper  <drepper@gmail.com>
55593         [BZ #13553]
55594         * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
55595         for non-gcc.
55596         * argp/argp-fmtstream.h: Use const instead __const.
55597         * argp/argp.h: Likewise.
55598         * assert/assert.h: Likewise.
55599         * bits/fenv.h: Likewise.
55600         * bits/sched.h: Likewise.
55601         * bits/sigset.h: Likewise.
55602         * bits/sigthread.h: Likewise.
55603         * catgets/nl_types.h: Likewise.
55604         * conform/data/pthread.h-data: Likewise.
55605         * crypt/crypt-private.h: Likewise.
55606         * crypt/crypt.h: Likewise.
55607         * crypt/crypt_util.c: Likewise.
55608         * ctype/ctype.h: Likewise.
55609         * debug/execinfo.h: Likewise.
55610         * debug/mbsnrtowcs_chk.c: Likewise.
55611         * debug/mbsrtowcs_chk.c: Likewise.
55612         * debug/wcsnrtombs_chk.c: Likewise.
55613         * debug/wcsrtombs_chk.c: Likewise.
55614         * debug/wcstombs_chk.c: Likewise.
55615         * dirent/dirent.h: Likewise.
55616         * dlfcn/dlfcn.h: Likewise.
55617         * elf/neededtest4.c: Likewise.
55618         * grp/grp.h: Likewise.
55619         * gshadow/gshadow.h: Likewise.
55620         * iconv/gconv.h: Likewise.
55621         * iconv/gconv_int.h: Likewise.
55622         * iconv/gconv_simple.c: Likewise.
55623         * iconv/iconv.h: Likewise.
55624         * iconv/loop.c: Likewise.
55625         * iconv/skeleton.c: Likewise.
55626         * include/aio.h: Likewise.
55627         * include/aliases.h: Likewise.
55628         * include/argz.h: Likewise.
55629         * include/arpa/inet.h: Likewise.
55630         * include/assert.h: Likewise.
55631         * include/dirent.h: Likewise.
55632         * include/dlfcn.h: Likewise.
55633         * include/execinfo.h: Likewise.
55634         * include/fcntl.h: Likewise.
55635         * include/fenv.h: Likewise.
55636         * include/glob.h: Likewise.
55637         * include/grp.h: Likewise.
55638         * include/libintl.h: Likewise.
55639         * include/mntent.h: Likewise.
55640         * include/netdb.h: Likewise.
55641         * include/pwd.h: Likewise.
55642         * include/rpc/netdb.h: Likewise.
55643         * include/sched.h: Likewise.
55644         * include/search.h: Likewise.
55645         * include/shadow.h: Likewise.
55646         * include/signal.h: Likewise.
55647         * include/stdio.h: Likewise.
55648         * include/stdlib.h: Likewise.
55649         * include/string.h: Likewise.
55650         * include/sys/socket.h: Likewise.
55651         * include/sys/stat.h: Likewise.
55652         * include/sys/statfs.h: Likewise.
55653         * include/sys/statvfs.h: Likewise.
55654         * include/sys/syslog.h: Likewise.
55655         * include/sys/time.h: Likewise.
55656         * include/sys/uio.h: Likewise.
55657         * include/time.h: Likewise.
55658         * include/unistd.h: Likewise.
55659         * include/utmp.h: Likewise.
55660         * include/wchar.h: Likewise.
55661         * include/wctype.h: Likewise.
55662         * inet/aliases.h: Likewise.
55663         * inet/arpa/inet.h: Likewise.
55664         * inet/netinet/ether.h: Likewise.
55665         * inet/netinet/in.h: Likewise.
55666         * intl/libintl.h: Likewise.
55667         * io/bits/fcntl2.h: Likewise.
55668         * io/fcntl.h: Likewise.
55669         * io/ftw.h: Likewise.
55670         * io/sys/poll.h: Likewise.
55671         * io/sys/stat.h: Likewise.
55672         * io/sys/statfs.h: Likewise.
55673         * io/sys/statvfs.h: Likewise.
55674         * io/utime.h: Likewise.
55675         * libio/bits/stdio.h: Likewise.
55676         * libio/bits/stdio2.h: Likewise.
55677         * libio/libio.h: Likewise.
55678         * libio/libioP.h: Likewise.
55679         * libio/stdio.h: Likewise.
55680         * locale/lc-ctype.c: Likewise.
55681         * locale/locale.h: Likewise.
55682         * login/utmp.h: Likewise.
55683         * malloc/arena.c: Likewise.
55684         * malloc/malloc.c: Likewise.
55685         * malloc/malloc.h: Likewise.
55686         * malloc/mcheck.c: Likewise.
55687         * malloc/mtrace.c: Likewise.
55688         * math/bits/mathcalls.h: Likewise.
55689         * math/fenv.h: Likewise.
55690         * math/math_private.h: Likewise.
55691         * misc/bits/error.h: Likewise.
55692         * misc/bits/syslog.h: Likewise.
55693         * misc/err.h: Likewise.
55694         * misc/error.h: Likewise.
55695         * misc/fstab.h: Likewise.
55696         * misc/mntent.h: Likewise.
55697         * misc/regexp.h: Likewise.
55698         * misc/search.h: Likewise.
55699         * misc/sgtty.h: Likewise.
55700         * misc/sys/mman.h: Likewise.
55701         * misc/sys/syslog.h: Likewise.
55702         * misc/sys/uio.h: Likewise.
55703         * misc/sys/xattr.h: Likewise.
55704         * misc/ttyent.h: Likewise.
55705         * nis/rpcsvc/ypclnt.h: Likewise.
55706         * nss/nss.h: Likewise.
55707         * posix/bits/unistd.h: Likewise.
55708         * posix/fnmatch.h: Likewise.
55709         * posix/glob.h: Likewise.
55710         * posix/sched.h: Likewise.
55711         * posix/spawn.h: Likewise.
55712         * posix/sys/wait.h: Likewise.
55713         * posix/unistd.h: Likewise.
55714         * posix/wordexp.h: Likewise.
55715         * pwd/pwd.h: Likewise.
55716         * resolv/netdb.h: Likewise.
55717         * resource/sys/resource.h: Likewise.
55718         * rt/aio.h: Likewise.
55719         * rt/bits/mqueue2.h: Likewise.
55720         * rt/mqueue.h: Likewise.
55721         * shadow/shadow.h: Likewise.
55722         * signal/signal.h: Likewise.
55723         * socket/send.c: Likewise.
55724         * socket/sendto.c: Likewise.
55725         * socket/sys/socket.h: Likewise.
55726         * stdio-common/printf.h: Likewise.
55727         * stdlib/bits/stdlib.h: Likewise.
55728         * stdlib/fmtmsg.h: Likewise.
55729         * stdlib/monetary.h: Likewise.
55730         * stdlib/stdlib.h: Likewise.
55731         * stdlib/ucontext.h: Likewise.
55732         * streams/stropts.h: Likewise.
55733         * string/argz.h: Likewise.
55734         * string/bits/string2.h: Likewise.
55735         * string/string.h: Likewise.
55736         * string/strings.h: Likewise.
55737         * sunrpc/rpc/auth.h: Likewise.
55738         * sunrpc/rpc/auth_des.h: Likewise.
55739         * sunrpc/rpc/clnt.h: Likewise.
55740         * sunrpc/rpc/netdb.h: Likewise.
55741         * sunrpc/rpc/pmap_clnt.h: Likewise.
55742         * sunrpc/rpc/xdr.h: Likewise.
55743         * sysdeps/generic/inttypes.h: Likewise.
55744         * sysdeps/generic/net/if.h: Likewise.
55745         * sysdeps/generic/sys/swap.h: Likewise.
55746         * sysdeps/gnu/net/if.h: Likewise.
55747         * sysdeps/gnu/utmpx.h: Likewise.
55748         * sysdeps/i386/fpu/bits/fenv.h: Likewise.
55749         * sysdeps/i386/i486/bits/string.h: Likewise.
55750         * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
55751         * sysdeps/s390/bits/string.h: Likewise.
55752         * sysdeps/s390/fpu/bits/fenv.h: Likewise.
55753         * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
55754         * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
55755         * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
55756         * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
55757         * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
55758         * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
55759         * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
55760         * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
55761         * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
55762         * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
55763         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
55764         * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
55765         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
55766         * sysdeps/unix/sysv/linux/readv.c: Likewise.
55767         * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
55768         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
55769         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
55770         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
55771         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
55772         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
55773         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
55774         * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
55775         * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
55776         * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
55777         * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
55778         * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
55779         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
55780         * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
55781         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
55782         * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
55783         * sysvipc/sys/ipc.h: Likewise.
55784         * sysvipc/sys/msg.h: Likewise.
55785         * sysvipc/sys/sem.h: Likewise.
55786         * sysvipc/sys/shm.h: Likewise.
55787         * termios/termios.h: Likewise.
55788         * time/sys/time.h: Likewise.
55789         * time/time.h: Likewise.
55790         * wcsmbs/bits/wchar2.h: Likewise.
55791         * wcsmbs/uchar.h: Likewise.
55792         * wcsmbs/wchar.h: Likewise.
55793         * wctype/wctype.h: Likewise.
55795         [BZ #13551]
55796         * Makeconfig: Remove all but ELF support including AIX support.
55797         * Makerules: Likewise.
55798         * config.h.in: Likewise.
55799         * config.make.in: Likewise.
55800         * configure: Likewise.
55801         * configure.in: Likewise.
55802         * csu/Makefile: Likewise.
55803         * csu/version.c: Likewise.
55804         * debug/Makefile: Likewise.
55805         * dlfcn/Makefile: Likewise.
55806         * elf/Makefile: Likewise.
55807         * extra-lib.mk: Likewise.
55808         * iconv/Makefile: Likewise.
55809         * include/libc-symbols.h: Likewise.
55810         * include/shlib-compat.h: Likewise.
55811         * resolv/Makefile: Likewise.
55812         * resolv/res_libc.c: Likewise.
55813         * rt/Makefile: Likewise.
55814         * sysdeps/i386/asm-syntax.h: Likewise.
55815         * sysdeps/i386/sysdep.h: Likewise.
55816         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
55817         * sysdeps/mach/sysdep.h: Likewise.
55818         * sysdeps/powerpc/powerpc32/Makefile: Likewise.
55819         * sysdeps/powerpc/powerpc64/Makefile: Likewise.
55820         * sysdeps/s390/asm-syntax.h: Likewise.
55821         * sysdeps/s390/s390-32/sysdep.h: Likewise.
55822         * sysdeps/s390/s390-64/sysdep.h: Likewise.
55823         * sysdeps/sh/sysdep.h: Likewise.
55824         * sysdeps/unix/sparc/sysdep.h: Likewise.
55825         * sysdeps/wordsize-32/divdi3.c: Likewise.
55826         * sysdeps/x86_64/sysdep.h: Likewise.
55828         * argp/Versions: Remove _argp_unlock_xxx.
55830         [BZ #13559]
55831         * abilist/ld.abilist: Update.  Adjust for removal of tls option.
55832         * abilist/libBrokenLocale.abilist: Likewise.
55833         * abilist/libanl.abilist: Likewise.
55834         * abilist/libc.abilist: Likewise.
55835         * abilist/libcrypt.abilist: Likewise.
55836         * abilist/libdl.abilist: Likewise.
55837         * abilist/libm.abilist: Likewise.
55838         * abilist/libnsl.abilist: Likewise.
55839         * abilist/libpthread.abilist: Likewise.
55840         * abilist/libresolv.abilist: Likewise.
55841         * abilist/librt.abilist: Likewise.
55842         * abilist/libthread_db.abilist: Likewise.
55843         * abilist/libutil.abilist: Likewise.
55844         * abilist/libnss_db.abilist: New file.
55846         * scripts/abilist.awk: Add support for indirect functions.
55848         * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
55850         * sysdeps/generic/ldsodefs.h: Remove Alpha support.
55852         * shlib-versions: Remove entries for ports architectures.
55854         * elf/tls-macros.h: Remove support for Alpha and IA-64.  Should be in
55855         files in ports.
55856         * elf/stackguard-macros.h: Remove support for IA-64.
55857         * elf/tst-auditmod1.c: Likewise.
55858         * sysdeps/generic/ldsodefs.h: Likewise.
55860         * sysdeps/unix/sysv/linux/configure.in: Ports should define
55861         libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
55862         configure files.
55864         [BZ #13552]
55865         * configure.in: Remove --enable-omitfp support.
55866         * FAQ.in: Adjust.
55867         * config.make.in: Likewise.
55868         * Makeconfig: Likewise.
55869         * manual/install.texi: Likewise.
55871         In case anyone cares, the IA-64 architecture could move to ports.
55872         * sysdeps/ia64/*: Removed.
55873         * sysdeps/unix/sysv/linux/ia64/*: Removed.
55874         * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
55876         [BZ #13555]
55877         * configure.in: Remove entries for unsupported architectures.
55879         [BZ #13533]
55880         * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
55881         * iconv/gconv_simple.c: Rename char16_t routines.  Add char16_t<->utf8
55882         routines.
55883         * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
55884         * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
55885         * wcsmbs/c16rtomb.c: Fix a few problems.  Disable all the code and
55886         fall back to using wcrtomb.
55887         * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
55888         * wcsmbs/wcsmbsload.c: Make char16 routines optional.  Adjust for
55889         renaming.
55890         * wcsmbs/Makefile (tests): Add tst-c16c32-1:
55891         * wcsmbs/tst-c16c32-1.c: New file.
55893         * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
55894         local variable.
55896         * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
55898         * elf/tst-unique3.cc: Add explicit declaration of gets.
55899         * elf/tst-unique3lib.cc: Likewise.
55900         * elf/tst-unique3lib2.cc: Likewise.
55901         * elf/tst-unique4.cc: Likewise.
55903         * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
55905 2012-01-06  Joseph Myers  <joseph@codesourcery.com>
55907         [BZ #13566]
55908         * assert/assert.h (static_assert): Don't define for C++.
55909         * libio/stdio.h (gets): Do declare for C++ <= C++11.
55910         * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
55912 2012-01-03  Ulrich Drepper  <drepper@gmail.com>
55914         * iconv/loop.c (single loop): Fix assertion in storing of
55915         remaining bytes.
55917         * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
55919 2012-01-01  Ulrich Drepper  <drepper@gmail.com>
55921         * posix/getconf.c: Update copyright year.
55922         * nss/getent.c: Likewise.
55923         * nss/makedb.c: Likewise.
55924         * iconv/iconvconfig.c: Likewise.
55925         * iconv/iconv_prog.c: Likewise.
55926         * elf/ldconfig.c: Likewise.
55927         * elf/pldd.c: Likewise.
55928         * elf/sotruss.ksh: Likewise.
55929         * catgets/gencat.c: Likewise.
55930         * csu/version.c: Likewise.
55931         * elf/ldd.bash.in: Likewise.
55932         * elf/sprof.c (print_version): Likewise.
55933         * locale/programs/locale.c: Likewise.
55934         * locale/programs/localedef.c: Likewise.
55935         * login/programs/pt_chown.c: Likewise.
55936         * nscd/nscd.c (print_version): Likewise.
55937         * debug/xtrace.sh: Likewise.
55938         * malloc/memusage.sh: Likewise.
55939         * malloc/mtrace.pl: Likewise.
55940         * debug/catchsegv.sh: Likewise.
55942 2011-12-30  Jakub Jelinek  <jakub@redhat.com>
55944         * posix/regex_internal.c (re_string_fetch_byte_case): Remove
55945         pure attribute.
55947 2011-12-24  Ulrich Drepper  <drepper@gmail.com>
55949         [BZ #13533]
55950         * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
55951         * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
55952         transformations.
55953         * iconv/gconv_int.h: Likewise.
55954         * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
55955         * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
55956         from libc for GLIBC_2.16.
55957         * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
55958         * wcsmbs/wcrtomb.c: Define c32rtomb alias.
55959         * wcsmbs/uchar.h: Really define mbstate_t.
55960         * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
55961         * wcsmbs/c16rtomb.c: New file.
55962         * wcsmbs/mbrtoc16.c: New file.
55963         * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
55964         for C/POSIX locale.
55965         (__wcsmbs_load_conv): Do not fill in c16 routines yet.
55966         * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
55968         * wcsmbs/wchar.h: Add missing __restrict.
55970 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
55972         [BZ #13532]
55973         * time/Makefile (routines): Add timespec_get.
55974         * time/Versions: Export timespec_get from libc for GLIBC_2.16.
55975         * time/time.h: Define TIME_UTC and declare timespec_get.  Define
55976         timespec for ISO C11.
55977         * time/timespec_get.c: New file.
55978         * sysdeps/unix/sysv/linux/timespec_get.c: New file.
55979         * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
55981         [BZ #13531]
55982         * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
55983         * stdlib/stdlib.h: Declare aligned_alloc.
55984         * Versions.def: Add GLIBC_2.16 for libc.
55985         * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
55987         [BZ 13527]
55988         * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
55989         ISO C11.
55991         * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
55992         code.
55994         [BZ #13528]
55995         * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
55997         [BZ #13529]
55998         * assert/assert.h (static_assert): Define.
56000         * version.h: Update for 2.16 development version.
56002         [BZ #13526]
56003         * include/features.h: Handle __STDC_VERSION__ >= 201112 and
56004         _ISOC11_SOURCE.
56006         * version.h (RELEASE): Bump for 2.15 release.
56007         * include/features.h (__GLIBC_MINOR__): Bump to 15.
56009         * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
56010         Patch by Marek Polacek <mpolacek@redhat.com>.
56012         * bits/byteswap.h: Protect long long constants with __extension__.
56013         * sysdeps/i386/bits/byteswap.h: Likewise.
56014         * sysdeps/ia64/bits/byteswap.h: Likewise.
56015         * sysdeps/s390/bits/byteswap.h: Likewise.
56016         * sysdeps/x86_64/bits/byteswap.h: Likewise.
56018 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
56020         [BZ #13540]
56021         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
56022         destination buffer.
56023         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
56025 2011-12-23  Marek Polacek  <polacek@redhat.com>
56027         * elf/dl-addr.c (determine_info): Add inline keyword.
56028         * elf/tst-auditmod4b.c (check_avx): Likewise.
56029         * elf/tst-auditmod6b.c (check_avx): Likewise.
56030         * elf/tst-auditmod6c.c (check_avx): Likewise.
56031         * elf/tst-auditmod7b.c (check_avx): Likewise.
56033 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
56035         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
56036         !__SSE_MATH__.
56038 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
56040         [BZ #13540]
56041         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
56042         processing for last bytes.
56044 2011-08-06  Bruno Haible  <bruno@clisp.org>
56046         [BZ #13061]
56047         * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
56048         U+0385, not to U+1FEE.
56050         [BZ #13062]
56051         * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
56052         entry for U+00A5 U+0301.
56054 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
56056         [BZ #13166]
56057         * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
56058         buffer for the output is too small.
56060         * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
56061         optimization.
56063         [BZ #13185]
56064         * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
56065         SSE flags if possible.
56067 2011-12-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
56069         [BZ #13540]
56070         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
56071         processing for last bytes.
56073 2011-12-22  Joseph Myers  <joseph@codesourcery.com>
56075         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
56076         (syscall-list-default-options, syscall-list-default-condition)
56077         (syscall-list-includes): Define.
56078         ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
56079         list of ABIs and options and #if conditions for each ABI.  Do not
56080         handle common syscalls between ABIs specially.
56081         * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
56082         Remove.
56083         (syscall-list-variants, syscall-list-32bit-options)
56084         (syscall-list-32bit-condition, syscall-list-64bit-options)
56085         (syscall-list-64bit-condition): Define.
56086         * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
56087         (syscall-list-variants, syscall-list-32bit-options)
56088         (syscall-list-32bit-condition, syscall-list-64bit-options)
56089         (syscall-list-64bit-condition): Define.
56090         * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
56091         Remove.
56092         (syscall-list-variants, syscall-list-32bit-options)
56093         (syscall-list-32bit-condition, syscall-list-64bit-options)
56094         (syscall-list-64bit-condition): Define.
56095         * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
56096         Remove.
56097         (syscall-list-variants, syscall-list-32bit-options)
56098         (syscall-list-32bit-condition, syscall-list-64bit-options)
56099         (syscall-list-64bit-condition): Define.
56101 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
56103         * locale/iso-639.def: Add brx entry.
56105         [BZ #13328]
56106         * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
56107         Proposed by Mariusz_Cukr <marcukr@op.pl>.
56109         * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
56110         __feraiseexcept_renamed.
56112 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
56114         [BZ #13538]
56115         * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
56116         EPOLLET with unsigned values.
56117         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
56118         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
56120         * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
56121         to large cancellation.
56122         * math/s_cacoshf.c: Likewise.
56123         * math/s_cacoshl.c: Likewise.
56125 2011-11-18  Richard B. Kreckel  <kreckel@ginac.de>
56127         [BZ #13305]
56128         [BZ #12786]
56129         * math/s_cacosh.c: Fix rare miscomputation in cacosh().
56130         * math/s_cacoshf.c: Likewise.
56131         * math/s_cacoshl.c: Likewise.
56133 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
56135         [BZ #13439]
56136         * iconv/gconv.h: Define __GCONV_SWAP.
56137         * iconvdata/unicode.c: The swap bit must be stored in __flags.
56138         * iconvdata/utf-16.c: Likewise.
56139         * iconvdata/utf-32.c: Likewise.
56141 2011-12-21  Andreas Schwab  <schwab@linux-m68k.org>
56143         [BZ #13524]
56144         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
56145         numerator after shifting it by one limb.
56147 2011-12-19  Rafael Ávila de Espíndola  <rafael.espindola@gmail.com>
56149         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
56150         under [__USE_EXTERN_INLINES].
56152 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
56154         [BZ #13446]
56155         * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
56157 2011-11-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
56159         * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
56160         * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
56161         optimized code.
56162         * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
56163         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
56164         * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
56165         * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
56166         for strncasecmp/strncasecmp_l compilation.
56167         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
56168         * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
56170 2011-12-08  Marek Polacek  <mpolacek@redhat.com>
56172         [BZ #13484]
56173         * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
56174         of __asm__.
56176 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
56178         [BZ #13506]
56179         * time/tzfile.c (__tzfile_read): Check values from file header.
56181 2011-11-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
56183         * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
56184         * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
56185         * powerpc/powerpc32/dl-start.S: Likewise.
56186         * powerpc/powerpc32/elf/start.S: Likewise.
56187         * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
56188         * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
56189         * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
56190         * powerpc/powerpc32/fpu/s_floor.S: Likewise.
56191         * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
56192         * powerpc/powerpc32/fpu/s_lround.S: Likewise.
56193         * powerpc/powerpc32/fpu/s_rint.S: Likewise.
56194         * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
56195         * powerpc/powerpc32/fpu/s_round.S: Likewise.
56196         * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
56197         * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
56198         * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
56199         * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
56200         * powerpc/powerpc32/memset.S: Likewise.
56201         * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
56202         * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
56203         * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
56204         * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
56205         * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
56206         * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
56207         * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
56208         * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
56209         * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
56210         * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
56211         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
56212         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
56213         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
56215 2011-11-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
56217         * math/libm-test.inc: Added more nearbyint tests.
56218         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
56219         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
56220         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
56221         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
56223 2011-11-21  Ross Lagerwall  <rosslagerwall@gmail.com>
56225         * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
56226         FD_CLOEXEC.
56228 2011-11-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
56230         * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
56231         Add wcscpy-ssse3 wcscpy-c.
56232         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
56233         * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
56234         * sysdeps/x86_64/multiarch/wcscpy.S: New file.
56235         * sysdeps/x86_64/wcschr.S: New file.
56236         * sysdeps/x86_64/wcsrchr.S: New file.
56237         * string/test-strcmp.c: Remove checking of wcscmp function for
56238         wrong alignments.
56239         * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
56240         (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
56241         wcsrchr-sse2 wcsrchr-c.
56242         * sysdeps/i386/i686/multiarch/wcschr.S: New file.
56243         * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
56244         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
56245         * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
56246         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
56247         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
56248         * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
56249         * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
56250         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
56251         * wcsmbc/wcschr.c (WCSCHR): New macro.
56253 2011-11-17  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
56255         * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
56256         * wcsmbs/test-wcsrchr.c: New file.
56257         * string/test-strrchr.c: Add wcsrchr support.
56258         (WIDE): New macro.
56259         * wcsmbs/test-wcscpy.c: New file.
56260         * string/test-strcpy.c: Add wcscpy support.
56261         (WIDE): New macro.
56263 2011-12-10  Ulrich Drepper  <drepper@gmail.com>
56265         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
56266         the inner loop.
56268 2011-12-06  Andreas Schwab  <schwab@linux-m68k.org>
56270         [BZ #13472]
56271         * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
56273 2011-12-04  Ulrich Drepper  <drepper@gmail.com>
56275         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
56276         Minor optimizations.
56278         * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
56279         * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
56280         * sunrpc/clnt_udp.c (clntudp_call): Likewise.
56282 2011-12-03  Ulrich Drepper  <drepper@gmail.com>
56284         * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
56285         IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
56286         IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
56287         for gcc to avoid warnings.
56288         * inet/Makefile (tests): Add tst-checks.
56289         * inet/tst-checks.c: New file.
56291         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
56292         warning.
56294         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
56295         __wmemcmp_sse2.
56297         * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
56298         * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
56300         * malloc/mcheck.h: Fix use of incorrect encoding in comment.
56302 2011-12-02  Ulrich Drepper  <drepper@gmail.com>
56304         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
56305         problem.
56307         * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
56309 2011-11-29  Joseph Myers  <joseph@codesourcery.com>
56311         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
56312         conditional on GCC version.
56313         (__arch_compare_and_exchange_val_8_acq)
56314         (__arch_compare_and_exchange_val_16_acq)
56315         (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
56316         (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
56317         (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
56319 2011-12-02  Joseph Myers  <joseph@codesourcery.com>
56321         * sysdeps/sh/backtrace.c: New file.
56323 2011-12-02  Andreas Schwab  <schwab@redhat.com>
56325         * misc/bits/select2.h (__FD_ELT): Mark as extension.  Add
56326         parenthesis.
56328 2011-12-01  Andreas Schwab  <schwab@redhat.com>
56330         * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
56331         falling back to utime.
56333 2011-11-30  Andreas Schwab  <schwab@redhat.com>
56335         * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
56336         expectations for float.
56338 2011-11-29  Andreas Schwab  <schwab@redhat.com>
56340         * locale/weight.h (findidx): Add parameter len.
56341         * locale/weightwc.h (findidx): Likewise.
56342         * posix/fnmatch_loop.c (FCT): Adjust caller.
56343         * posix/regcomp.c (build_equiv_class): Likewise.
56344         * posix/regex_internal.h (re_string_elem_size_at): Likewise.
56345         * posix/regexec.c (check_node_accept_bytes): Likewise.
56346         * string/strcoll_l.c (STRCOLL): Likewise.
56347         * string/strxfrm_l.c (STRXFRM): Likewise.
56349 2011-11-17  Ulrich Drepper  <drepper@gmail.com>
56351         * Makefile.in: Remove CVSOPT handling.
56352         * configure.in: Remove use of AC_REVISION.
56353         * iconvdata/Makefile (distribute): No need to filter out CVS.
56354         * scripts/list-sources.sh: Remove CVS, subversion and monotone
56355         handling.
56357 2011-11-16  Andreas Schwab  <schwab@redhat.com>
56359         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
56360         [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
56361         [USE_AS_STRNCASECMP_L]: Likewise.
56362         (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
56363         NO_TLS_DIRECT_SEG_REFS.
56364         * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
56365         Fix argument offsets for non-PIC.
56366         [USE_AS_STRNCASECMP_L]: Likewise.
56367         (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
56368         NO_TLS_DIRECT_SEG_REFS.
56370 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
56372         * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
56373         O_CLOEXEC.
56374         * locale/loadlocale.c (_nl_load_locale): Likewise.
56376 2011-11-15  Andreas Schwab  <schwab@redhat.com>
56378         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
56379         [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
56380         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
56381         (SYSCALL_GETTIME): Set errno on error.
56383         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
56384         count references to noai6ai_cached.
56386 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
56388         * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
56390         * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
56391         FD_CLOEXEC for /proc/self/maps.
56393         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
56394         FD_CLOEXEC for /proc/meminfo.
56396         * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
56397         gai.conf.
56399         * resolv/res_query.c (res_hostalias):  Don't allow cancellation and set
56400         FD_CLOEXEC for given file.
56402         * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
56404         * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
56405         FD_CLOEXEC for /etc/hosts.
56406         (_gethtent): Likewise.
56408         * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
56410         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
56411         cancellation and set FD_CLOEXEC for /etc/netgroup.
56413         * nss/nss_files/files-key.c (search): Don't allow cancellation when
56414         reading /etc/publickey.
56416         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
56417         allow cancellation when reading /etc/group.
56419         * nss/nss_files/files-alias.c (internal_setent): Don't allow
56420         cancellation.
56421         (get_next_alias): Likewise for included file.  Also set FD_CLOEXEC.
56423         * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
56424         when using data file.
56426         * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
56428         * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
56429         (write_nis_obj): Use "c" and "e" in fopen.
56431         * misc/mntent_r.c (__setmntent): Also append e to fopen format.
56433         * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
56435         * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
56437         * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
56439         * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
56440         locale.alias.
56442         * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
56444         * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
56446         * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
56448         * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
56449         file parsing and set FD_CLOEXEC.
56451 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
56453         * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
56455 2011-11-14  Andreas Schwab  <schwab@redhat.com>
56457         * malloc/arena.c (arena_get2): Don't call reused_arena when
56458         _int_new_arena failed.
56460 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
56462         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
56463         (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
56464         * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
56465         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
56466         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
56467         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
56468         to compile strcasecmp and strncasecmp.
56469         * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
56470         * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
56472         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
56474 2011-11-13  Ulrich Drepper  <drepper@gmail.com>
56476         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
56477         locale-defines.sym to gen-as-const-headers.
56478         (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
56479         strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
56480         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
56481         to compile strcasecmp and strncasecmp.
56482         * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
56483         strcasecmp_l and strncasecmp_l.
56484         * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
56485         * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
56486         * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
56487         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
56488         * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
56489         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
56490         * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
56491         * sysdeps/i386/i686/multiarch/strncase.S: New file.
56492         * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
56493         * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
56494         * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
56496 2011-11-12  Ulrich Drepper  <drepper@gmail.com>
56498         * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
56499         result of SYSDEP_GETTIME_CPU to retval.
56500         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
56501         parameter list to macro.  Remove trailing semicolon.  Adjust users.
56503         * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
56504         variable.
56506         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
56507         mantissa words.
56508         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
56510         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
56511         from unused variable.
56513         * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
56514         DWARF definitions.
56515         * sysdeps/generic/dwarf2.h: Don't define enums when using the file
56516         for assembling.
56518         * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
56519         over namespaces.
56521         * sunrpc/rpc_prot.c (rejected): Fix case value.
56523         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
56524         unsigned long long int to avoid warnings in shift.
56526         * posix/regex_internal.c (re_string_reconstruct): Actually use result
56527         of use of trans.
56528         * posix/regex_internal.h (re_string_wchar_at): Remove temporary
56529         variable tmp.
56531         * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
56532         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
56533         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
56535         * nis/nis_table.c (nis_list): Use variable of correct type for
56536         result of __follow_path call.
56538 2011-11-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
56540         * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
56541         of math functions ceil, trunc, floor, round, and sqrt, when
56542         avaliable on the platform.
56543         * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
56544         name clash.
56545         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
56546         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
56547         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
56549 2011-10-30  Marek Polacek  <mpolacek@redhat.com>
56551         * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
56552         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
56554 2011-11-11  Roland McGrath  <roland@hack.frob.com>
56556         * include/unistd.h: Fix __readlink return type.
56557         Reported by Chris Metcalf <cmetcalf@tilera.com>.
56559 2011-11-11  Ulrich Drepper  <drepper@gmail.com>
56561         * stdlib/ucontext.h: Undo last change for makecontext.
56563 2011-11-11  Andreas Schwab  <schwab@redhat.com>
56565         * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
56567         * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
56568         * setjmp/setjmp.h: Mark functions as non-leaf.
56569         * setjmp/bits/setjmp2.h: Likewise.
56570         * stdlib/ucontext.h: Likewise.
56572 2011-11-10  Andreas Schwab  <schwab@redhat.com>
56574         * malloc/arena.c (_int_new_arena): Don't increment narenas.
56575         (reused_arena): Don't check arena limit.
56576         (arena_get2): Atomically check arena limit.
56578 2011-11-08  Ulrich Drepper  <drepper@gmail.com>
56580         * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
56581         * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
56583         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
56584         instructions.
56586 2011-11-07  Andreas Schwab  <schwab@redhat.com>
56588         * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
56589         handler when locking.
56591         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
56592         Fix size of allocated buffer.
56594 2011-11-04  Andreas Schwab  <schwab@redhat.com>
56596         [BZ #10103]
56597         * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
56598         declarations for long double functions.
56599         * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
56601         * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
56603 2011-11-03  Andreas Schwab  <schwab@redhat.com>
56605         * nscd/nscd.c (main): Don't start AVC thread until credentials are
56606         installed.
56608         * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
56609         is disabled.
56611 2011-11-02  Samuel Thibault  <samuel.thibault@ens-lyon.org>
56613         * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
56615 2011-11-01  Andreas Schwab  <schwab@linux-m68k.org>
56617         * include/alloca.h (stackinfo_alloca_round): Define.
56618         (extend_alloca): Use it.
56619         [_STACK_GROWS_UP]: Correct check for adjacent allocation.
56620         * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
56621         here.
56623         * scripts/check-local-headers.sh: Ignore libaudit.h.
56625         * nscd/Makefile (extra-objs): Make recursively expanded.
56627 2011-11-01  Ulrich Drepper  <drepper@gmail.com>
56629         * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
56630         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
56632         * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
56633         * posix/tst-rfc3484-2.c: Likewise.
56634         * posix/tst-rfc3484-3.c: Likewise.
56636         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
56637         process_vm_writev.
56638         * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
56639         process_vm_writev.
56640         * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
56641         process_vm_writev from libc using GLIBC_2.15 version.
56643         * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
56645 2011-10-31  Paul Pluzhnikov  <ppluzhnikov@google.com>
56647         * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
56648         stack usage.
56650 2011-10-31  Ulrich Drepper  <drepper@gmail.com>
56652         [BZ #13367]
56653         * nss/getent.c (initgroups_keys): Show error message in case no group
56654         names are given.
56656         * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
56657         * inet/check_pf.c: Provide dummy versions of __free_in6ai and
56658         __bump_nl_timestamp.
56659         * nscd/connections (nscd_init): When host database is served open
56660         netlink socket and request notification about configuration changes.
56661         (main_loop_poll): Track netlink file descriptor and bump timestamp
56662         in case data becomes available.
56663         (main_loop_epoll): Likewise.
56664         * nscd/nscd-client.h (DB_VERSION): Bump to 2.
56665         (database_pers_head): Add extra_data fileds.
56666         Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
56667         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
56668         * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
56669         Adjust caller.
56670         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
56671         in6ai data, call __free_in6ai.
56672         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
56673         Add -DHAVE_NETLINK.
56674         * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite.  Cache the
56675         interface information.  Reuse previous data if netlink timestamp
56676         is not changed.
56677         (__bump_nl_timestamp): New function.
56678         (__free_in6ai): New function.
56680 2011-10-30  Ulrich Drepper  <drepper@gmail.com>
56682         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
56683         close_not_cancel_no_status here.
56684         (__check_pf): Reorganize code a bit to not call close twice if OOM.
56686 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
56688         [BZ #13276]
56689         * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
56690         return value.
56692         * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
56693         * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
56694         asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
56696 2011-07-03  Andreas Jaeger  <aj@suse.de>
56698         [BZ #10709]
56699         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
56700         of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
56701         * math/libm-test.inc (sin_test): Add test case.
56703 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
56705         [BZ #13337]
56706         * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
56707         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
56709         * elf/chroot_canon.c (chroot_canon): Cleanups.
56711         * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
56713         [BZ #13335]
56714         * elf/chroot_canon.c (chroot_canon): Fix readlink call.
56715         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
56717         * string/test-strchr.c: Make usable for strchrnul testing.
56718         * string/test-strchrnul.c: New file.
56719         * string/Makefile (strop-tests): Add strchrnul.
56721         * po/it.po: Update from translation team.
56722         * po/es.po: Likewise.
56724 2011-10-28  Ulrich Drepper  <drepper@gmail.com>
56726         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
56727         the three constants needed as parameters.  Drop the others.
56728         (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
56729         __m128i_strloadu_tolower.
56730         Create and initialize variable zero and use it in all the places
56731         where _mm_setzero_si128 was used.
56733         * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
56734         doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
56735         mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
56736         * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
56737         anymore.
56738         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
56739         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
56740         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
56741         __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
56742         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
56743         __mpranred, __mptan.
56744         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
56745         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
56746         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
56747         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
56748         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
56749         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
56750         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
56751         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
56752         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
56754 2011-10-28  Andreas Schwab  <schwab@redhat.com>
56756         * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
56757         redefine if SHARED.
56758         * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
56760         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
56761         wide char related routines to wcsmbs subdir.
56763 2011-10-27  Andreas Schwab  <schwab@redhat.com>
56765         [BZ #13344]
56766         * misc/sys/cdefs.h (__THROWNL): Define.
56767         * posix/unistd.h: Use __THREADNL instead of __THREAD
56768         for memory synchronization functions.
56770 2011-10-26  Roland McGrath  <roland@hack.frob.com>
56772         [BZ #13349]
56773         * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
56774         doesn't exist.
56775         * manual/stdio.texi (Obstack Streams): Node removed.
56777 2011-10-26  Andreas Schwab  <schwab@redhat.com>
56779         * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
56780         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
56781         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
56783         * math/math_private.h (math_force_eval): Allow non-addressable
56784         arguments.
56785         * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
56787 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
56789         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
56790         file is not needed.
56792         * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
56793         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
56794         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
56795         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
56796         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
56797         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
56798         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
56799         * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
56800         Add AVX variants.
56801         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
56802         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
56803         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
56804         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
56805         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
56806         * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
56807         * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
56808         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
56809         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
56810         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
56811         * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
56812         * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
56813         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
56814         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
56815         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
56816         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
56817         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
56818         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
56819         * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
56821         * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
56822         all the time.  Define bit_AVX.  Define HAS_* macros using bit_* macros.
56824         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
56825         place.  Use VEX encoding when compiling for AVX.
56827 2011-10-25  Andreas Schwab  <schwab@redhat.com>
56829         * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
56830         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
56832         * string/test-strchr.c (do_test): Don't generate NUL bytes.
56834 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
56836         * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
56837         useless if() expression.
56838         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
56839         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
56840         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
56841         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
56842         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
56843         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
56844         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
56845         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
56846         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
56847         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
56848         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
56849         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
56850         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
56851         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
56852         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
56853         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
56854         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
56855         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
56856         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
56858         * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
56860 2011-10-25  Andreas Schwab  <schwab@redhat.com>
56862         * elf/dl-deps.c (_dl_map_object_deps): Remove always true
56863         condition.
56864         * elf/dl-fini.c (_dl_sort_fini): Likewise.
56866 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
56868         * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
56869         .text section.  Avoid duplicate constants.
56870         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
56871         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
56872         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
56873         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
56874         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
56875         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
56876         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
56877         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
56878         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
56879         * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
56880         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
56881         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
56882         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
56883         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
56884         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
56885         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
56886         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
56887         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
56888         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
56889         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
56890         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
56891         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
56892         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
56893         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
56894         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
56895         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
56896         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
56897         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
56898         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
56899         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
56900         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
56901         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
56902         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
56903         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
56904         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
56905         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
56906         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
56907         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
56908         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
56909         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
56910         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
56911         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
56912         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
56913         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
56914         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
56916 2011-10-24  Ulrich Drepper  <drepper@gmail.com>
56918         * sysdeps/x86_64/dla.h: Move to ...
56919         * sysdeps/x86_64/fpu/dla.h: ...here.
56920         (DLA_FMS): Some compilers fail to inline __builtin_fma in some
56921         situations.  Use __builtin_fma only for gcc 4.6 and up.
56923         * config.make.in: Add have-mfma4 entry.
56924         * configure.in: Substitute libc_cv_cc_fma4.
56925         * math/Makefile (dbl-only-routines): Add sincostab.
56926         * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
56927         Use __sincostab not sincos.
56928         * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
56929         name is a macro.
56930         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
56931         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
56932         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
56933         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.  Define singArctan2
56934         using __copysign.
56935         * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr.  Don't define
56936         __cr and __cpymn.  Define __cpy unless NO___CPY is defined.  Define
56937         norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
56938         * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
56939         and __inv.
56940         * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
56941         * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
56942         __copysign.
56943         * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos.  Don't
56944         define aliases when function name is a macro.
56945         * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
56946         sysdeps/ieee754/dbl-64/sincos.tbl.
56947         * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
56948         fma4-enabled routines.
56949         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
56950         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
56951         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
56952         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
56953         * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
56954         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
56955         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
56956         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
56957         * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
56958         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
56959         * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
56960         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
56961         * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
56962         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
56963         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
56964         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
56965         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
56966         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
56967         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
56968         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
56969         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
56970         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
56971         * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
56972         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
56973         * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
56974         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
56975         * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
56976         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
56977         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
56978         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
56980         * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
56981         rename.
56982         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
56983         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
56984         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
56985         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
56986         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
56987         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
56988         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
56989         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
56991 2011-10-24  Andreas Schwab  <schwab@redhat.com>
56993         * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
56995 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
56997         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
56999         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
57000         prediction.
57001         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
57003         * string/strnlen.c: Don't define STRNLEN, reverse logic.
57004         Remove unused variable magic_bits.
57005         * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
57007         * string/strnlen.c: Define and use STRNLEN macro.
57008         * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
57009         Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
57010         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
57011         * wcsmbs/wcslen.c: Define and use WCSLEN.
57012         * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
57013         * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
57014         * sysdeps/i386/i686/multiarch/strnlen.S: New file.
57015         * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
57016         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
57017         * sysdeps/i386/i686/multiarch/wcslen.S: New file.
57018         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
57020 2011-10-20  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
57022         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
57023         strnlen-sse2-no-bsf.
57024         Rename strlen-no-bsf to strlen-sse2-no-bsf.
57025         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
57026         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
57027         Add strnlen support.
57028         (USE_AS_STRNLEN): New macro.
57029         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
57030         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
57031         Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
57032         * sysdeps/x86_64/wcslen.S: New file.
57034 2011-10-20  Michael Zolotukhin  <michael.v.zolotukhin@gmail.com>
57036         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
57037         XMM-moves are used for copying on small sizes.
57039 2011-10-19  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
57041         * wcsmbs/Makefile (strop-tests): Add wcschr.
57042         * wcsmbs/test-wcschr.c: New file.
57043         * string/test-strchr.c: Update.
57044         Add wcschr support.
57045         (WIDE): New macro.
57047 2011-10-18  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
57049         * wcsmbs/Makefile (strop-tests): Add wcslen.
57050         * wcsmbs/test-wcslen.c: New file.
57051         * string/test-strlen.c: Update.
57052         Add wcslen support.
57053         (WIDE): New macro.
57055 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
57057         * po/it.po: Update from translation team.
57059 2011-09-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
57061         * sysdeps/x86_64/wcscmp.S: Update.
57062         Fix wrong comparison semantics.
57063         wcscmp shall use signed comparison not unsigned.
57064         Don't use substraction to avoid overflow bug.
57065         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
57066         * wcsmbc/wcscmp.c: Likewise.
57067         * string/test-strcmp.c: Likewise.
57068         Add new tests to check cases with negative values.
57070 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
57072         * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
57073         * sysdeps/x86_64/dla.h: ...here.  New file.
57074         * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
57075         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
57076         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
57077         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
57078         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
57079         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
57080         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
57081         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
57082         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
57084 2011-10-23  Andreas Schwab  <schwab@linux-m68k.org>
57086         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
57087         __ynl_finite aliases.
57089 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
57091         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
57093         * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
57094         define DLA_FMA.
57095         [DLA_FMA] (EMULV): Use DLA_FMA.
57096         [DLA_FMA] (MUL12): Use EMULV.
57097         * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
57098         that are not needed.
57099         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
57100         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
57101         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
57102         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
57103         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
57104         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
57105         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
57107 2011-10-22  Andreas Schwab  <schwab@linux-m68k.org>
57109         * math/s_nan.c: Undef __nan.
57110         * math/s_nanf.c: Undef __nanf.
57111         * math/s_nanl.c: Undef __nanl.
57112         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
57113         "math_private.h".
57115 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
57117         * math/s_catan.c: Add branch predictions.
57118         * math/s_catanf.c: Likewise.
57119         * math/s_catanh.c: Likewise.
57120         * math/s_catanhf.c: Likewise.
57121         * math/s_catanhl.c: Likewise.
57122         * math/s_catanl.c: Likewise.
57123         * math/s_cexp.c: Likewise.
57124         * math/s_cexpf.c: Likewise.
57125         * math/s_cexpl.c: Likewise.
57126         * math/s_clog.c: Likewise.
57127         * math/s_clog10.c: Likewise.
57128         * math/s_clog10f.c: Likewise.
57129         * math/s_clog10l.c: Likewise.
57130         * math/s_clogf.c: Likewise.
57131         * math/s_clogl.c: Likewise.
57132         * math/s_csqrt.c: Likewise.
57133         * math/s_csqrtf.c: Likewise.
57134         * math/s_csqrtl.c: Likewise.
57135         * math/s_ctanf.c: Likewise.
57136         * math/s_ctanh.c: Likewise.
57137         * math/s_ctanhf.c: Likewise.
57138         * math/s_ctanhl.c: Likewise.
57139         * math/s_ctanl.c: Likewise.
57141         * math/math_private.h: Define __nan, __nanf, __nanl.
57142         * math/s_cacosh.c: Include <math_private.h>.
57143         * math/s_cacoshl.c: Likewise.
57144         * math/s_casinh.c: Likewise.
57145         * math/s_casinhf.c: Likewise.
57146         * math/s_casinhl.c: Likewise.
57147         * math/s_ccos.c: Rely entire on ccosh.
57148         * math/s_ccosf.c: Rely entire on ccoshf.
57149         * math/s_ccosl.c: Rely entirely on ccoshl.
57150         * math/s_ccosh.c: Add branch predicion helpers.  Add branch prediction.
57151         Remove tests for FE_INVALID.
57152         * math/s_ccoshf.c: Likewise.
57153         * math/s_ccoshl.c: Likewise.
57154         * math/s_csin.c: Likewise.
57155         * math/s_csinf.c: Likewise.
57156         * math/s_csinh.c Likewise.
57157         * math/s_csinhf.c: Likewise.
57158         * math/s_csinhl.c: Likewise.
57159         * math/s_csinl.c: Likewise.
57160         * math/s_ctan.c: Likewise.
57161         * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
57162         * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
57163         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
57165 2011-10-21  Ulrich Drepper  <drepper@gmail.com>
57167         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
57168         compilation problems.
57170         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
57171         __builtin_expect.
57173 2011-10-20  Ulrich Drepper  <drepper@gmail.com>
57175         * sysdeps/i386/configure.in: Test for -mfma4 option.
57176         * config.h.in: Add HAVE_FMA4_SUPPORT entry.
57177         * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
57178         COMMON_CPUID_INDEX_80000001.
57179         * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
57180         * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
57181         use it if FMA3 is not supported.
57182         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
57184         * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
57185         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
57187 2011-10-20  Andreas Schwab  <schwab@redhat.com>
57189         [BZ #12892]
57190         * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
57191         it would create a cycle with a link time dependency.
57193 2011-10-19  Ulrich Drepper  <drepper@gmail.com>
57195         * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
57196         instruction.
57197         * string/Makefile (strop-tests): Add rawmemchr.
57198         * string/test-rawmemchr.c: New file.
57200         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
57201         * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file.  Split out from...
57202         * sysdeps/x86_64/multiarch/strcmp.S: ...here.  Include strcmp-sse42.S
57203         when compiling str{,n}casecmp and when AVX is available.  Hook up
57204         new optimized code in initializers.
57206 2011-10-19  Andreas Schwab  <schwab@redhat.com>
57208         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
57209         __feraiseexcept instead of feraiseexcept.
57211 2011-10-18  Ulrich Drepper  <drepper@gmail.com>
57213         * math/math_private.h: Define defaults for libc_fetestexcept and
57214         libc_feupdateenv.
57215         * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
57216         * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
57217         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
57218         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
57219         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
57220         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
57221         libc_fetestexcept and libc_feupdateenv.
57223         * math/math_private.h: Define defaults for libc_feholdexcept_setround,
57224         libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
57225         * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
57226         * sysdeps/x86_64/fpu/math_private.h: Define special version of
57227         libc_feholdexcept_setround.
57229         * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
57230         Add s_nearbyint-c and s_nearbyintf-c.
57231         * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
57232         nearbyintf inlines.
57233         * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
57234         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
57235         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
57236         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
57238         * math/math_private.h: Define defaults for libc_fegetround,
57239         libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
57240         libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
57241         libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
57242         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
57243         libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
57244         standard functions.
57245         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
57246         Remove comments and hacks for old compiler versions.
57247         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
57248         libc_fegetround, libc_fesetround, libc_feholdexcept, and
57249         libc_feholdexceptl.
57251 2011-10-18  Andreas Schwab  <schwab@redhat.com>
57253         * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
57254         (__feraiseexcept_renamed): Add __NTH.
57255         (feraiseexcept): Add __NTH.  Rename local variables to fix
57256         namespace violations.
57258 2011-10-17  Ulrich Drepper  <drepper@gmail.com>
57260         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
57262         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
57264         * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
57265         recently added interfaces.
57266         * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
57268         * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
57269         about macro parameter expansion.
57271         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
57272         __NO_MATH_INLINES is defined.  Cleanups.
57274         * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
57275         and __floorf is target has SSE4.1.
57276         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
57277         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
57278         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
57279         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
57281         * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
57282         name.
57283         (floorf): Likewise.
57285         * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
57287 2011-10-17  Andreas Schwab  <schwab@redhat.com>
57289         * misc/sys/cdefs.h: Fix last change.
57291         * grp/initgroups.c (internal_getgrouplist): Fix initgroups
57292         database lookup.
57294 2011-10-16  Ulrich Drepper  <drepper@gmail.com>
57296         * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
57298         * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
57299         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
57300         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
57301         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
57302         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
57303         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
57304         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
57305         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
57306         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
57307         * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
57308         * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
57309         * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
57310         * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
57311         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
57312         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
57313         * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
57314         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
57315         * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
57316         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
57317         * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
57318         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
57319         * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
57321         * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
57322         ceil, ceilf, floor, floorf.
57324         * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
57325         Perform IRELATIVE relocations last.
57327         * elf/do-rel.h: Add another parameter nrelative, replacing the
57328         local variable with the same name.  Change name of the function
57329         to end in Rel or Rela (uppercase).
57330         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
57331         nrelative to ranges.  Only nonzero for DT_REL/DT_RELA.  Pass to the
57332         elf_dynamic_do_##reloc function.
57334 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
57336         * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
57337         is sufficient, at least on modern CPUs.
57339         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
57341         * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
57342         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
57344         * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
57345         __expl_finite.
57346         * math/bits/math-finite.h: Add entries for exp.
57347         * math/e_expl.c: Add __*_finite alias.
57348         * sysdeps/i386/fpu/e_exp.S: Likewise.
57349         * sysdeps/i386/fpu/e_expf.S: Likewise.
57350         * sysdeps/i386/fpu/e_expl.c: Likewise.
57351         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
57352         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
57353         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
57354         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
57355         * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
57356         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
57357         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
57359         * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
57360         is sufficient, at least on modern CPUs.
57362         * ctype/ctype-info.c (__ctype_init): Define.
57363         * include/ctype.h (__ctype_init): Declare.
57364         (__ctype_b_loc): The variable is always initialized.
57365         (__ctype_toupper_loc): Likewise.
57366         (__ctype_tolower_loc): Likewise.
57367         * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
57368         * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
57370 2011-10-15  Andreas Schwab  <schwab@linux-m68k.org>
57372         * wcsmbs/wmemcmp.c (WMEMCMP): Define.
57374         * configure.in: Also look in $cxxmachine/include for C++ system
57375         headers.
57377 2011-09-27  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
57379         * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
57380         memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
57381         * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
57382         * sysdeps/x86_64/multiarch/memcmp.S: Update.  Add __memcmp_ssse3.
57383         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
57384         (USE_AS_WMEMCMP): New macro.
57385         Fixing indents.
57386         * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
57387         * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
57388         * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
57389         * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
57390         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
57391         wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
57392         * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
57393         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
57394         * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
57395         * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
57396         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
57397         (USE_AS_WMEMCMP): New macro.
57398         * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
57399         * sysdeps/string/test-memcmp.c: Update.
57400         Fix simple_wmemcmp.
57401         Add new tests.
57402         * wcsmbs/wmemcmp.c: Update.
57403         (WMEMCMP): New macro.
57404         Fix overflow bug.
57406 2011-10-12  Andreas Jaeger  <aj@suse.de>
57408         [BZ #13268]
57409         * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
57411 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
57413         * libio/iofwide.c (do_length): Avoid warning.
57415         * ctype/ctype.h (__isctype_f): Add missing __THROW.
57417 2011-10-14  Ulrich Drepper  <drepper@gmail.com>
57419         * elf/pldd-xx.c (find_maps): Remove leftover debug message.
57421         * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
57422         * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
57423         * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
57424         * sysdeps/i386/i686/fpu/e_log.S: New file.
57425         * sysdeps/i386/i686/fpu/e_logf.S: New file.
57426         * sysdeps/i386/i686/fpu/e_logl.S: New file.
57428         * ctype/ctype.h: Add support for inlined isXXX functions when
57429         compiling C++ code.
57431 2011-10-14  Andreas Schwab  <schwab@redhat.com>
57433         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
57435         * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
57437 2011-10-13  Roland McGrath  <roland@hack.frob.com>
57439         [BZ #13291]
57440         * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
57442 2011-10-13  Andreas Schwab  <schwab@redhat.com>
57444         * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
57445         * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
57446         feraiseexcept.
57448         * sysdeps/x86_64/memrchr.S: Check for zero size.
57450         * string/stratcliff.c: Add memrchr tests.
57452 2011-10-12  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
57454         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
57455         memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
57456         rawmemchr-sse2 rawmemchr-sse2-bsf.
57457         * sysdeps/i386/i686/multiarch/memchr.S: New file.
57458         * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
57459         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
57460         * sysdeps/i386/i686/multiarch/memrchr.S: New file.
57461         * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
57462         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
57463         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
57464         * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
57465         * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
57466         * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
57467         * string/memrchr.c (MEMRCHR): New macro.
57469 2011-10-12  Ulrich Drepper  <drepper@gmail.com>
57471         Add integration with gcc's -ffinite-math-only and optimize wrapper
57472         functions in libm.
57473         * Versions.def: Define GLIBC_2.15 version for libm.
57474         * math/Makefile (headers): Add bits/math-finite.h.
57475         * math/bits/math-finite.h: New file.
57476         * sysdeps/ia64/fpu/bits/math-finite.h: New file.
57477         * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
57478         * math/e_acoshl.c: Add __*_finite alias.
57479         * math/e_acosl.c: Likewise.
57480         * math/e_asinl.c: Likewise.
57481         * math/e_atan2l.c: Likewise.
57482         * math/e_atanhl.c: Likewise.
57483         * math/e_coshl.c: Likewise.
57484         * math/e_exp10.c: Likewise.
57485         * math/e_exp10f.c: Likewise.
57486         * math/e_exp10l.c: Likewise.
57487         * math/e_exp2l.c: Likewise.
57488         * math/e_fmodl.c: Likewise.
57489         * math/e_gammal_r.c: Likewise.
57490         * math/e_hypotl.c: Likewise.
57491         * math/e_j0l.c: Likewise.
57492         * math/e_j1l.c: Likewise.
57493         * math/e_jnl.c: Likewise.
57494         * math/e_lgammal_r.c: Likewise.
57495         * math/e_log10l.c: Likewise.
57496         * math/e_log2l.c: Likewise.
57497         * math/e_logl.c: Likewise.
57498         * math/e_powl.c: Likewise.
57499         * math/e_sinhl.c: Likewise.
57500         * math/e_sqrtl.c: Likewise.
57501         * math/e_scalb.c: Completely rewritten and optimized.
57502         * math/e_scalbf.c: Likewise.
57503         * math/e_scalbl.c: Likewise.
57504         * math/w_acos.c: Likewise.
57505         * math/w_acosf.c: Likewise.
57506         * math/w_acosl.c: Likewise.
57507         * math/w_acosh.c: Likewise.
57508         * math/w_acoshf.c: Likewise.
57509         * math/w_acoshl.c: Likewise.
57510         * math/w_asin.c: Likewise.
57511         * math/w_asinf.c: Likewise.
57512         * math/w_asinl.c: Likewise.
57513         * math/w_atan2.c: Likewise.
57514         * math/w_atan2f.c: Likewise.
57515         * math/w_atan2l.c: Likewise.
57516         * math/w_atanh.c: Likewise.
57517         * math/w_atanhf.c: Likewise.
57518         * math/w_atanhl.c: Likewise.
57519         * math/w_exp10.c: Likewise.
57520         * math/w_exp10f.c: Likewise.
57521         * math/w_exp10l.c: Likewise.
57522         * math/w_fmod.c: Likewise.
57523         * math/w_fmodf.c: Likewise.
57524         * math/w_fmodl.c: Likewise.
57525         * math/w_j0.c: Likewise.
57526         * math/w_j0f.c: Likewise.
57527         * math/w_j0l.c: Likewise.
57528         * math/w_j1.c: Likewise.
57529         * math/w_j1f.c: Likewise.
57530         * math/w_j1l.c: Likewise.
57531         * math/w_jn.c: Likewise.
57532         * math/w_jnf.c: Likewise.
57533         * math/w_log.c: Likewise.
57534         * math/w_logf.c: Likewise.
57535         * math/w_logl.c: Likewise.
57536         * math/w_log10.c: Likewise.
57537         * math/w_log10f.c: Likewise.
57538         * math/w_log10l.c: Likewise.
57539         * math/w_log2.c: Likewise.
57540         * math/w_log2f.c: Likewise.
57541         * math/w_log2l.c: Likewise.
57542         * math/w_pow.c: Likewise.
57543         * math/w_powf.c: Likewise.
57544         * math/w_powl.c: Likewise.
57545         * math/w_remainder.c: Likewise.
57546         * math/w_remainderf.c: Likewise.
57547         * math/w_remainderl.c: Likewise.
57548         * math/w_scalb.c: Likewise.
57549         * math/w_scalbf.c: Likewise.
57550         * math/w_scalbl.c: Likewise.
57551         * math/w_sqrt.c: Likewise.
57552         * math/w_sqrtf.c: Likewise.
57553         * math/w_sqrtl.c: Likewise.
57554         * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
57555         are declared.  Include <bits/math-finite.h> if -ffinite-math-only is
57556         used.
57557         * math/math_private.h: Declare __kernel_standard_f.
57558         * math/w_cosh.c: Remove cruft and optimize a bit.
57559         * math/w_coshf.c: Likewise.
57560         * math/w_coshl.c: Likewise.
57561         * math/w_exp2.c: Likewise.
57562         * math/w_exp2f.c: Likewise.
57563         * math/w_exp2l.c: Likewise.
57564         * math/w_hypot.c: Likewise.
57565         * math/w_hypotf.c: Likewise.
57566         * math/w_hypotl.c: Likewise.
57567         * math/w_lgamma.c: Likewise.
57568         * math/w_lgamma_r.c: Likewise.
57569         * math/w_lgammaf.c: Likewise.
57570         * math/w_lgammaf_r.c: Likewise.
57571         * math/w_lgammal.c: Likewise.
57572         * math/w_lgammal_r.c: Likewise.
57573         * math/w_sinh.c: Likewise.
57574         * math/w_sinhf.c: Likewise.
57575         * math/w_sinhl.c: Likewise.
57576         * math/w_tgamma.c: Likewise.
57577         * math/w_tgammaf.c: Likewise.
57578         * math/w_tgammal.c: Likewise.
57579         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
57580         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
57581         * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
57582         Minor optimizations.  Pretty printing.  Remove cruft.
57583         * sysdeps/i386/fpu/e_acosf.S: Likewise.
57584         * sysdeps/i386/fpu/e_acosh.S: Likewise.
57585         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
57586         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
57587         * sysdeps/i386/fpu/e_acosl.c: Likewise.
57588         * sysdeps/i386/fpu/e_asin.S: Likewise.
57589         * sysdeps/i386/fpu/e_asinf.S: Likewise.
57590         * sysdeps/i386/fpu/e_atan2.S: Likewise.
57591         * sysdeps/i386/fpu/e_atan2f.S: Likewise.
57592         * sysdeps/i386/fpu/e_atan2l.c: Likewise.
57593         * sysdeps/i386/fpu/e_atanh.S: Likewise.
57594         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
57595         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
57596         * sysdeps/i386/fpu/e_exp10.S: Likewise.
57597         * sysdeps/i386/fpu/e_exp10f.S: Likewise.
57598         * sysdeps/i386/fpu/e_exp10l.S: Likewise.
57599         * sysdeps/i386/fpu/e_exp2.S: Likewise.
57600         * sysdeps/i386/fpu/e_exp2f.S: Likewise.
57601         * sysdeps/i386/fpu/e_exp2l.S: Likewise.
57602         * sysdeps/i386/fpu/e_fmod.S: Likewise.
57603         * sysdeps/i386/fpu/e_fmodf.S: Likewise.
57604         * sysdeps/i386/fpu/e_fmodl.c: Likewise.
57605         * sysdeps/i386/fpu/e_hypot.S: Likewise.
57606         * sysdeps/i386/fpu/e_hypotf.S: Likewise.
57607         * sysdeps/i386/fpu/e_log.S: Likewise.
57608         * sysdeps/i386/fpu/e_log10.S: Likewise.
57609         * sysdeps/i386/fpu/e_log10f.S: Likewise.
57610         * sysdeps/i386/fpu/e_log10l.S: Likewise.
57611         * sysdeps/i386/fpu/e_log2.S: Likewise.
57612         * sysdeps/i386/fpu/e_log2f.S: Likewise.
57613         * sysdeps/i386/fpu/e_log2l.S: Likewise.
57614         * sysdeps/i386/fpu/e_logf.S: Likewise.
57615         * sysdeps/i386/fpu/e_logl.S: Likewise.
57616         * sysdeps/i386/fpu/e_pow.S: Likewise.
57617         * sysdeps/i386/fpu/e_powf.S: Likewise.
57618         * sysdeps/i386/fpu/e_powl.S: Likewise.
57619         * sysdeps/i386/fpu/e_remainder.S: Likewise.
57620         * sysdeps/i386/fpu/e_remainderf.S: Likewise.
57621         * sysdeps/i386/fpu/e_remainderl.S: Likewise.
57622         * sysdeps/i386/fpu/e_scalb.S: Likewise.
57623         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
57624         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
57625         * sysdeps/i386/fpu/e_sqrt.S: Likewise.
57626         * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
57627         * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
57628         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
57629         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
57630         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
57631         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
57632         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
57633         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
57634         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
57635         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
57636         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
57637         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
57638         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
57639         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
57640         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
57641         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
57642         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
57643         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
57644         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
57645         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
57646         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
57647         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
57648         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
57649         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
57650         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
57651         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
57652         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
57653         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
57654         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
57655         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
57656         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
57657         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
57658         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
57659         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
57660         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
57661         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
57662         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
57663         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
57664         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
57665         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
57666         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
57667         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
57668         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
57669         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
57670         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
57671         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
57672         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
57673         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
57674         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
57675         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
57676         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
57677         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
57678         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
57679         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
57680         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
57681         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
57682         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
57683         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
57684         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
57685         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
57686         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
57687         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
57688         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
57689         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
57690         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
57691         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
57692         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
57693         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
57694         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
57695         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
57696         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
57697         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
57698         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
57699         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
57700         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
57701         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
57702         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
57703         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
57704         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
57705         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
57706         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
57707         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
57708         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
57709         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
57710         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
57711         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
57712         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
57713         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
57714         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
57715         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
57716         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
57717         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
57718         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
57719         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
57720         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
57721         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
57722         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
57723         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
57724         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
57725         * sysdeps/s390/fpu/e_sqrt.c: Likewise.
57726         * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
57727         * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
57728         * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
57729         * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
57730         * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
57731         * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
57732         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
57733         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
57734         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
57735         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
57736         * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
57737         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
57738         * sysdeps/x86_64/fpu/e_sqrt.c: Likewise.  Fix parameter order
57739         * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
57740         * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
57741         (__isnanf): Likewise.
57742         (__isinf_ns): Likewise.
57743         (__isinf_nsf): Likewise.
57744         (__finite): Likewise.
57745         (__finitef): Likewise.
57746         (__ieee754_sqrt): Define as macro.
57747         (__ieee754_sqrtf): Define as macro.
57748         (__ieee754_sqrtl): Define as macro.
57749         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
57750         inlined copy.
57751         * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
57752         __FINITE_MATH_ONLY__ consistent.
57753         * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
57755 2011-10-10  Andreas Schwab  <schwab@linux-m68k.org>
57757         * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
57758         of rawmemchr.
57760         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
57762 2011-10-09  Ulrich Drepper  <drepper@gmail.com>
57764         * po/ja.po: Update from translation team.
57766 2011-10-08  Roland McGrath  <roland@hack.frob.com>
57768         * locale/programs/locarchive.c (prepare_address_space): New function.
57769         (create_archive, enlarge_archive, open_archive): Use it.
57771         * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
57772         inside [SHARED], where it is used.
57774         * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
57776         * nss/getent.c (netgroup_keys): Remove unused variable.
57777         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
57779 2011-10-08  Ulrich Drepper  <drepper@gmail.com>
57781         * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
57782         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
57783         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
57784         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
57785         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
57786         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
57787         * math/Makefile (libm-calls): Add s_isinf_ns.
57788         * math/divtc3.c: Use __isinf_nsl instead of isinf.
57789         * math/multc3.c: Likewise.
57790         * math/s_casin.c: Likewise.
57791         * math/s_casinf.c: Likewise.
57792         * math/s_casinl.c: Likewise.
57793         * math/s_ccos.c: Likewise.
57794         * math/s_ccosf.c: Likewise.
57795         * math/s_ccosl.c: Likewise.
57796         * math/s_ctan.c: Likewise.
57797         * math/s_ctanf.c: Likewise.
57798         * math/s_ctanh.c: Likewise.
57799         * math/s_ctanhf.c: Likewise.
57800         * math/s_ctanhl.c: Likewise.
57801         * math/s_ctanl.c: Likewise.
57802         * math/w_fmod.c: Likewise.
57803         * math/w_fmodf.c: Likewise.
57804         * math/w_fmodl.c: Likewise.
57805         * math/w_remainder.c: Likewise.
57806         * math/w_remainderf.c: Likewise.
57807         * math/w_remainderl.c: Likewise.
57808         * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
57809         * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
57810         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
57811         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
57812         * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
57813         * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
57814         * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
57815         __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
57817         * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
57818         of the number.
57819         * stdio-common/printf_fphex.c: Likewise.
57820         * stdio-common/printf_size.c: Likewise.
57822         * math/e_exp10.c: Include math_private.h using <...> not "...".
57823         * math/e_exp10f.c: Likewise.
57824         * math/e_exp10l.c: Likewise.
57825         * math/e_exp2l.c: Likewise.
57826         * math/e_j0l.c: Likewise.
57827         * math/e_j1l.c: Likewise.
57828         * math/e_jnl.c: Likewise.
57829         * math/e_lgammal_r.c: Likewise.
57830         * math/e_rem_pio2l.c: Likewise.
57831         * math/e_scalb.c: Likewise.
57832         * math/e_scalbf.c: Likewise.
57833         * math/e_scalbl.c: Likewise.
57834         * math/k_cosl.c: Likewise.
57835         * math/k_sinl.c: Likewise.
57836         * math/k_tanl.c: Likewise.
57837         * math/s_cacoshf.c: Likewise.
57838         * math/s_catan.c: Likewise.
57839         * math/s_catanf.c: Likewise.
57840         * math/s_catanh.c: Likewise.
57841         * math/s_catanhf.c: Likewise.
57842         * math/s_catanhl.c: Likewise.
57843         * math/s_catanl.c: Likewise.
57844         * math/s_ccosh.c: Likewise.
57845         * math/s_ccoshf.c: Likewise.
57846         * math/s_ccoshl.c: Likewise.
57847         * math/s_cexp.c: Likewise.
57848         * math/s_cexpf.c: Likewise.
57849         * math/s_cexpl.c: Likewise.
57850         * math/s_clog.c: Likewise.
57851         * math/s_clog10.c: Likewise.
57852         * math/s_clog10f.c: Likewise.
57853         * math/s_clog10l.c: Likewise.
57854         * math/s_clogf.c: Likewise.
57855         * math/s_clogl.c: Likewise.
57856         * math/s_csin.c: Likewise.
57857         * math/s_csinf.c: Likewise.
57858         * math/s_csinh.c: Likewise.
57859         * math/s_csinhf.c: Likewise.
57860         * math/s_csinhl.c: Likewise.
57861         * math/s_csinl.c: Likewise.
57862         * math/s_csqrt.c: Likewise.
57863         * math/s_csqrtf.c: Likewise.
57864         * math/s_csqrtl.c: Likewise.
57865         * math/s_ctan.c: Likewise.
57866         * math/s_ctanf.c: Likewise.
57867         * math/s_ctanh.c: Likewise.
57868         * math/s_ctanhf.c: Likewise.
57869         * math/s_ctanhl.c: Likewise.
57870         * math/s_ctanl.c: Likewise.
57871         * math/s_ldexp.c: Likewise.
57872         * math/s_ldexpf.c: Likewise.
57873         * math/s_ldexpl.c: Likewise.
57874         * math/s_significand.c: Likewise.
57875         * math/s_significandf.c: Likewise.
57876         * math/s_significandl.c: Likewise.
57877         * math/w_acos.c: Likewise.
57878         * math/w_acosf.c: Likewise.
57879         * math/w_acosh.c: Likewise.
57880         * math/w_acoshf.c: Likewise.
57881         * math/w_acoshl.c: Likewise.
57882         * math/w_acosl.c: Likewise.
57883         * math/w_asin.c: Likewise.
57884         * math/w_asinf.c: Likewise.
57885         * math/w_asinl.c: Likewise.
57886         * math/w_atan2.c: Likewise.
57887         * math/w_atan2f.c: Likewise.
57888         * math/w_atan2l.c: Likewise.
57889         * math/w_atanh.c: Likewise.
57890         * math/w_atanhf.c: Likewise.
57891         * math/w_atanhl.c: Likewise.
57892         * math/w_cosh.c: Likewise.
57893         * math/w_coshf.c: Likewise.
57894         * math/w_coshl.c: Likewise.
57895         * math/w_dremf.c: Likewise.
57896         * math/w_exp10.c: Likewise.
57897         * math/w_exp10f.c: Likewise.
57898         * math/w_exp10l.c: Likewise.
57899         * math/w_exp2.c: Likewise.
57900         * math/w_exp2f.c: Likewise.
57901         * math/w_fmod.c: Likewise.
57902         * math/w_fmodf.c: Likewise.
57903         * math/w_fmodl.c: Likewise.
57904         * math/w_hypot.c: Likewise.
57905         * math/w_hypotf.c: Likewise.
57906         * math/w_hypotl.c: Likewise.
57907         * math/w_j0.c: Likewise.
57908         * math/w_j0f.c: Likewise.
57909         * math/w_j0l.c: Likewise.
57910         * math/w_j1.c: Likewise.
57911         * math/w_j1f.c: Likewise.
57912         * math/w_j1l.c: Likewise.
57913         * math/w_jn.c: Likewise.
57914         * math/w_jnf.c: Likewise.
57915         * math/w_jnl.c: Likewise.
57916         * math/w_lgamma.c: Likewise.
57917         * math/w_lgamma_r.c: Likewise.
57918         * math/w_lgammaf.c: Likewise.
57919         * math/w_lgammaf_r.c: Likewise.
57920         * math/w_lgammal.c: Likewise.
57921         * math/w_lgammal_r.c: Likewise.
57922         * math/w_log.c: Likewise.
57923         * math/w_log10.c: Likewise.
57924         * math/w_log10f.c: Likewise.
57925         * math/w_log10l.c: Likewise.
57926         * math/w_log2.c: Likewise.
57927         * math/w_log2f.c: Likewise.
57928         * math/w_log2l.c: Likewise.
57929         * math/w_logf.c: Likewise.
57930         * math/w_logl.c: Likewise.
57931         * math/w_pow.c: Likewise.
57932         * math/w_powf.c: Likewise.
57933         * math/w_powl.c: Likewise.
57934         * math/w_remainder.c: Likewise.
57935         * math/w_remainderf.c: Likewise.
57936         * math/w_remainderl.c: Likewise.
57937         * math/w_scalb.c: Likewise.
57938         * math/w_scalbf.c: Likewise.
57939         * math/w_scalbl.c: Likewise.
57940         * math/w_sinh.c: Likewise.
57941         * math/w_sinhf.c: Likewise.
57942         * math/w_sinhl.c: Likewise.
57943         * math/w_sqrt.c: Likewise.
57944         * math/w_sqrtf.c: Likewise.
57945         * math/w_sqrtl.c: Likewise.
57946         * math/w_tgamma.c: Likewise.
57947         * math/w_tgammaf.c: Likewise.
57948         * math/w_tgammal.c: Likewise.
57950         * po/ja.po: Update from translation team.
57952 2011-09-29  Andreas Jaeger  <aj@suse.de>
57954         [BZ #13179]
57955         * sunrpc/netname.c (netname2host): Fix logic.
57957         [BZ #6779]
57958         [BZ #6783]
57959         * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
57960         correctly.
57961         * math/w_remainder.c (__remainder): Likewise.
57962         * math/w_remainderf.c (__remainderf): Likewise.
57963         * math/libm-test.inc (remainder_test): Add test cases.
57965 2011-10-04  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
57967         * stdlib/longlong.h: Update from GCC.  Fix zarch smul_ppmm and
57968         sdiv_qrnnd.
57970 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
57972         * string/test-memcmp.c: Avoid unncessary #defines.
57973         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
57975 2011-08-31  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
57977         * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
57978         Use new sse2 version for core i3 - i7 as it's faster
57979         than sse42 version.
57980         (bit_Prefer_PMINUB_for_stringop): New.
57981         * sysdeps/x86_64/rawmemchr.S: Update.
57982         Replace with faster SSE2 version.
57983         * sysdeps/x86_64/memrchr.S: New file.
57984         * sysdeps/x86_64/memchr.S: Update.
57985         Replace with faster SSE2 version.
57987 2011-09-12  Marek Polacek  <mpolacek@redhat.com>
57989         * elf/dl-load.c (lose): Add cast to avoid warning.
57991 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
57993         * po/ca.po: Update from translation team.
57995         * inet/getnetgrent_r.c: Hook up nscd.
57996         * nscd/Makefile (routines): Add nscd_netgroup.
57997         (nscd-modules): Add netgroupcache.
57998         (CFLAGS-netgroupcache.c): Define.
57999         * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
58000         (cache_search): Add const to second parameter.
58001         * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
58002         INNETGR.
58003         (dbs): Add netgrdb entry.
58004         (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
58005         (verify_persistent_db): Handle netgrdb.
58006         (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
58007         * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
58008         GETFDNETGR.
58009         (netgroup_response_header): Define.
58010         (innetgroup_response_header): Define.
58011         (datahead): Add netgroup_response_header and innetgroup_response_header
58012         elements.
58013         * nscd/nscd.conf: Add entries for netgroup cache.
58014         * nscd/nscd.h (dbtype): Add netgrdb.
58015         (_PATH_NSCD_NETGROUP_DB): Define.
58016         (netgroup_iov_disabled): Declare.
58017         (xmalloc, xcalloc, xrealloc): Move declarations here.
58018         (cache_search): Adjust prototype.
58019         Add netgroup-related prototypes.
58020         * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
58021         * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
58022         (__nscd_innetgr): Declare.
58023         * nscd/selinux.c (perms): Use access_vector_t as element type and
58024         add netgroup-related initializers.
58025         * nscd/netgroupcache.c: New file.
58026         * nscd/nscd_netgroup.c: New file.
58027         * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
58028         * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
58029         For four parameters use innetgr.
58030         * nss/nss_files/files-init.c: Add definition and callback for netgr.
58031         * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
58032         (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
58033         * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
58035         * nscd/connections.c (register_traced_file): Don't register file
58036         for disabled databases.
58038 2011-10-06  Ulrich Drepper  <drepper@gmail.com>
58040         * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
58042         * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
58043         from tree and freeing node.
58045 2011-09-25  Jiri Olsa  <jolsa@redhat.com>
58047         * nss/nsswitch.c (__nss_database_lookup): Handle
58048         nss_parse_service_list out of memory case.
58050 2011-09-15  Jiri Olsa  <jolsa@redhat.com>
58052         * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
58053         out of memory case.
58055 2011-10-04  Andreas Schwab  <schwab@redhat.com>
58057         * include/dlfcn.h (__RTLD_NOIFUNC): Define.
58058         * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
58059         pass it down.
58060         * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
58061         elf_machine_rela, elf_machine_lazy_rel.
58062         (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
58063         (ELF_DYNAMIC_DO_REL): Likewise.
58064         (ELF_DYNAMIC_DO_RELA): Likewise.
58065         (ELF_DYNAMIC_RELOCATE): Likewise.
58066         * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
58067         to ELF_DYNAMIC_DO_REL.
58068         * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
58069         (dl_main): In trace mode always set __RTLD_NOIFUNC.
58070         * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
58071         elf_machine_rela.
58072         * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
58073         skip_ifunc, don't call ifunc function if non-zero.
58074         (elf_machine_rela): Likewise.
58075         (elf_machine_lazy_rel): Likewise.
58076         (elf_machine_lazy_rela): Likewise.
58077         * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
58078         (elf_machine_lazy_rel): Likewise.
58079         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
58080         Likewise.
58081         (elf_machine_lazy_rel): Likewise.
58082         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
58083         Likewise.
58084         (elf_machine_lazy_rel): Likewise.
58085         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
58086         (elf_machine_lazy_rel): Likewise.
58087         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
58088         (elf_machine_lazy_rel): Likewise.
58089         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
58090         (elf_machine_lazy_rel): Likewise.
58091         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
58092         (elf_machine_lazy_rel): Likewise.
58093         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
58094         (elf_machine_lazy_rel): Likewise.
58095         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
58096         (elf_machine_lazy_rel): Likewise.
58098 2011-09-28  Ulrich Drepper  <drepper@gmail.com>
58100         * nss/nss_files/files-init.c (_nss_files_init): Use static
58101         initialization for all the *_traced_file variables.
58103 2011-09-28  Andreas Schwab  <schwab@redhat.com>
58105         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
58107 2011-09-27  Roland McGrath  <roland@hack.frob.com>
58109         [BZ #13226]
58110         * manual/signal.texi (Longjmp in Handler): Grammar fixes.
58112 2011-09-27  Andreas Schwab  <schwab@redhat.com>
58114         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
58115         Reread the line before reparsing it.
58117 2011-09-26  Andreas Schwab  <schwab@redhat.com>
58119         * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
58121 2011-09-21  Chung-Lin Tang  <cltang@codesourcery.com>
58122             Maxim Kuvyrkov  <maxim@codesourcery.com>
58123             Joseph Myers  <joseph@codesourcery.com>
58125         * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
58126         if needed for __stack_chk_guard.
58128 2011-09-19  Roland McGrath  <roland@hack.frob.com>
58130         * sysdeps/posix/spawni.c (script_execute): Always define it.
58131         It will be optimized away if unused.
58132         (maybe_script_execute): New function.
58133         (__spawni): Call it.
58135         * Makerules: Don't include tls.make.
58136         (config-tls): Always set to thread.
58137         * tls.make.c: File removed.
58139 2011-09-19  Mike Frysinger  <vapier@gentoo.org>
58141         * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
58142         * config.make.in (CPPFLAGS-config): New substituted variable.
58144 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
58146         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
58148         [BZ #13192]
58149         * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
58150         Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
58152 2011-09-15  Roland McGrath  <roland@hack.frob.com>
58154         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
58155         (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
58156         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
58157         (CALL_FAIL): Likewise.
58158         * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
58159         (CALL_FAIL): Macro removed.
58160         Patch mostly by Mike Frysinger <vapier@gentoo.org>.
58162 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
58164         * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
58165         for __FINITE_MATH_ONLY__ == 1.
58167 2011-09-15  Andreas Schwab  <schwab@redhat.com>
58169         * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
58170         __ieee754_sqrt instead of sqrt.
58171         * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
58172         __ieee754_sqrtf instead of sqrtf.
58173         * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
58174         __floorf instead of floorf.
58175         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
58176         __floorf, __truncf instead of floorf, truncf.
58178 2011-09-14  Ulrich Drepper  <drepper@gmail.com>
58180         * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
58182         * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
58183         __extern_always_inline.
58184         Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
58185         32-bit.
58187 2011-09-14  Andreas Schwab  <schwab@redhat.com>
58189         * elf/rtld.c (dl_main): Also relocate in dependency order when
58190         doing symbol dependency testing.
58192 2011-09-13  Andreas Schwab  <schwab@linux-m68k.org>
58194         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
58195         Always define `refsym'.
58197 2011-09-13  Andreas Schwab  <schwab@redhat.com>
58199         * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
58200         (__FD_ELT): Renamed from __FDELT.
58201         * misc/bits/select2.h (__FD_ELT): Likewise.
58202         * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
58203         __FD_MASK instead of __FDELT, __FDMASK.
58204         * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
58205         Likewise.
58206         * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
58207         Likewise.
58209         * elf/Makefile (gen-ldd): Fix pattern.
58211         * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
58212         (init_tls): Likewise.
58214 2011-09-12  Ulrich Drepper  <drepper@gmail.com>
58216         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
58218 2011-09-12  Andreas Schwab  <schwab@redhat.com>
58220         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
58221         `struct cmsghdr *' instead of `void *'.
58222         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
58223         Likewise.
58225 2011-09-11  Andreas Schwab  <schwab@linux-m68k.org>
58227         * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
58228         if non-absolute.
58229         * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
58230         ldd_rewrite_script.
58232 2011-09-11  Ulrich Drepper  <drepper@gmail.com>
58234         * configure.in: Remove --with-tls option.
58235         * config.h.in: Remove HAVE_TLS_SUPPORT entry.
58236         * sysdeps/i386/elf/configure.in: Always test for TLS support and err
58237         out in case it is missing.
58238         * sysdeps/ia64/elf/configure.in: Likewise.
58239         * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
58240         * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
58241         * sysdeps/s390/s390-32/elf/configure.in: Likewise.
58242         * sysdeps/s390/s390-64/elf/configure.in: Likewise.
58243         * sysdeps/sh/elf/configure.in: Likewise.
58244         * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
58245         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
58246         * sysdeps/x86_64/elf/configure.in: Likewise.
58247         * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
58248         * sysdeps/mach/hurd/tls.h: Likewise.
58250         [BZ #13067]
58251         * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
58253         [BZ #13090]
58254         * configure.in: Fix use of AC_INIT.
58256         * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
58258 2011-09-10  Ulrich Drepper  <drepper@gmail.com>
58260         * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
58261         __set_errno.
58262         * malloc/hooks.c: Likewise.
58264         [BZ #11929]
58265         * malloc/arena.c (ptmalloc_init_minimal): Removed.  Initialize all
58266         variables statically.
58267         (narenas): Initialize.
58268         (list_lock): Initialize.
58269         (ptmalloc_init): Don't call ptmalloc_init_minimal.  Remove
58270         initializtion of main_arena and list_lock.  Small cleanups.
58271         Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
58272         * malloc/malloc.c: Remove malloc_getpagesize.  Include <ldsodefs.h>.
58273         Add initializers to main_arena and mp_.
58274         (malloc_state): Remove pagesize member.  Change all users to use
58275         GLRO(dl_pagesize).
58277         * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
58278         * sysdeps/unix/sysv/linux/getpagesize.c: Simplify.  GLRO(dl_pagesize)
58279         is always initialized.
58281         * malloc/malloc.c: Removed unused configurations and dead code.
58282         * malloc/arena.c: Likewise.
58283         * malloc/hooks.c: Likewise.
58284         * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
58286         * include/tls.h: Removed.  USE___THREAD must always be defined.
58287         * bits/libc-tsd.h: Don't handle !USE___THREAD.
58288         * elf/dl-libc.c: Likewise.
58289         * elf/dl-tsd.c: Likewise.
58290         * include/errno.h: Likewise.
58291         * include/netdb.h: Likewise.
58292         * include/resolv.h: Likewise.
58293         * inet/herrno-loc.c: Likewise.
58294         * inet/herrno.c: Likewise.
58295         * malloc/arena.c: Likewise.
58296         * malloc/hooks.c: Likewise.
58297         * malloc/malloc.c: Likewise.
58298         * resolv/res-state.c: Likewise.
58299         * resolv/res_libc.c: Likewise.
58300         * sysdeps/i386/dl-machine.h: Likewise.
58301         * sysdeps/ia64/dl-machine.h: Likewise.
58302         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
58303         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
58304         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
58305         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
58306         * sysdeps/sh/dl-machine.h: Likewise.
58307         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
58308         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
58309         * sysdeps/unix/i386/sysdep.S: Likewise.
58310         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
58311         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
58312         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
58313         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
58314         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
58315         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
58316         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
58317         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
58318         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
58319         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
58320         * sysdeps/unix/x86_64/sysdep.S: Likewise.
58321         * sysdeps/x86_64/dl-machine.h: Likewise.
58322         * tls.make.c: Likewise.
58324         * configure.in: Remove --with-__thread option.  Make tests for
58325         --no-whole-archive, __builtin_expect, symbol redirection, __thread,
58326         tls_model attribute fail if no support is available.  Remove
58327         USE_IN_LIBIO.
58328         * Makeconfig: Adjust for dropped configure option.  All features are
58329         now mandatory.
58330         * Makerules: Likewise.
58331         * Versions.def: Likewise.
58332         * argp/argp-fmtstream.c: Likewise.
58333         * argp/argp-fmtstream.h: Likewise.
58334         * argp/argp-help.c: Likewise.
58335         * assert/assert.c: Likewise.
58336         * config.h.in: Likewise.
58337         * config.make.in: Likewise.
58338         * configure: Likewise.
58339         * configure.in: Likewise.
58340         * csu/Versions: Likewise.
58341         * csu/init.c: Likewise.
58342         * elf/tst-audit2.c: Likewise.
58343         * elf/tst-tls10.c: Likewise.
58344         * elf/tst-tls10.h: Likewise.
58345         * elf/tst-tls11.c: Likewise.
58346         * elf/tst-tls12.c: Likewise.
58347         * elf/tst-tls14.c: Likewise.
58348         * elf/tst-tlsmod11.c: Likewise.
58349         * elf/tst-tlsmod12.c: Likewise.
58350         * elf/tst-tlsmod13.c: Likewise.
58351         * elf/tst-tlsmod13a.c: Likewise.
58352         * elf/tst-tlsmod14a.c: Likewise.
58353         * elf/tst-tlsmod15b.c: Likewise.
58354         * elf/tst-tlsmod16a.c: Likewise.
58355         * elf/tst-tlsmod16b.c: Likewise.
58356         * elf/tst-tlsmod7.c: Likewise.
58357         * elf/tst-tlsmod8.c: Likewise.
58358         * elf/tst-tlsmod9.c: Likewise.
58359         * gmon/gmon.c: Likewise.
58360         * grp/fgetgrent_r.c: Likewise.
58361         * grp/putgrent.c: Likewise.
58362         * hurd/fopenport.c: Likewise.
58363         * include/libc-symbols.h: Likewise.
58364         * include/tls.h: Likewise.
58365         * intl/gettextP.h: Likewise.
58366         * intl/loadinfo.h: Likewise.
58367         * locale/global-locale.c: Likewise.
58368         * locale/localeinfo.h: Likewise.
58369         * mach/devstream.c: Likewise.
58370         * malloc/arena.c: Likewise.
58371         * malloc/set-freeres.c: Likewise.
58372         * misc/err.c: Likewise.
58373         * misc/getttyent.c: Likewise.
58374         * misc/mntent_r.c: Likewise.
58375         * posix/getopt.c: Likewise.
58376         * posix/wordexp.c: Likewise.
58377         * pwd/fgetpwent_r.c: Likewise.
58378         * resolv/Versions: Likewise.
58379         * resolv/res_hconf.c: Likewise.
58380         * shadow/fgetspent_r.c: Likewise.
58381         * shadow/putspent.c: Likewise.
58382         * stdio-common/printf_fphex.c: Likewise.
58383         * stdio-common/tmpfile.c: Likewise.
58384         * stdlib/abort.c: Likewise.
58385         * stdlib/fmtmsg.c: Likewise.
58386         * sunrpc/auth_unix.c: Likewise.
58387         * sunrpc/clnt_perr.c: Likewise.
58388         * sunrpc/clnt_tcp.c: Likewise.
58389         * sunrpc/clnt_udp.c: Likewise.
58390         * sunrpc/clnt_unix.c: Likewise.
58391         * sunrpc/openchild.c: Likewise.
58392         * sunrpc/svc_simple.c: Likewise.
58393         * sunrpc/svc_tcp.c: Likewise.
58394         * sunrpc/svc_udp.c: Likewise.
58395         * sunrpc/svc_unix.c: Likewise.
58396         * sunrpc/xdr.c: Likewise.
58397         * sunrpc/xdr_array.c: Likewise.
58398         * sunrpc/xdr_rec.c: Likewise.
58399         * sunrpc/xdr_ref.c: Likewise.
58400         * sunrpc/xdr_stdio.c: Likewise.
58402 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
58404         * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
58406 2011-07-03  Andreas Jaeger  <aj@suse.de>
58408         * math/libm-test.inc (jn_test): Add tests for BZ#11589.
58409         * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
58410         regenerate with gen-libm-tests.pl.
58412 2010-05-12  Petr Baudis  <pasky@suse.cz>
58414         [BZ #11589]
58415         * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
58416         around j0() zero points by switching to j1().
58417         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
58418         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
58419         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
58420         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
58422 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
58424         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
58425         instead of 0.
58426         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
58427         instead of 0.
58428         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
58429         Patch in part by Pavel Roskin <proski@gnu.org>.
58431         [BZ #13138]
58432         * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
58433         realloc.
58434         (_IO_vfscanf_internal): Remove reteof.  Use errout after setting done.
58435         Free memory block if necessary.
58437         [BZ #12847]
58438         * libio/genops.c (INTDEF): For string streams the _lock pointer can
58439         be NULL.  Don't lock in this case.
58441 2011-09-09  Roland McGrath  <roland@hack.frob.com>
58443         * elf/elf.h (ELFOSABI_GNU): New macro.
58444         (ELFOSABI_LINUX): Define to that.
58446 2011-07-29  Denis Zaitceff  <zaitceff@gmail.com>
58448         * string/strncat.c (strncat): Undef the symbol in case it has been
58449         defined in bits/string.h.
58451 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
58453         * elf/sotruss.ksh: Clean up, fix, and complete help messages.
58455         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
58456         link map.
58458 2011-08-17  Andreas Jaeger  <aj@suse.de>
58460         * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
58462 2011-08-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
58463             Ian Lance Taylor  <iant@google.com>
58465         * math/libm-test.inc (lround_test): New testcase.
58466         * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
58468 2011-09-08  Ulrich Drepper  <drepper@gmail.com>
58470         * Makefile: Remove support for automatic cvs check-ins.
58471         * Makerules: Likewise.
58472         * config.make.in: Likewise.
58473         * configure.in: Likewise.
58474         * intl/Makefile: Likewise.
58475         * locale/Makefile: Likewise.
58476         * po/Makefile: Likewise.
58477         * posix/Makefile: Likewise.
58478         * sysdeps/gnu/Makefile: Likewise.
58479         * sysdeps/mach/hurd/Makefile: Likewise.
58480         * sysdeps/sparc/sparc32/Makefile: Likewise.
58482         [BZ #13118]
58483         * posix/Makefile (bug-regex32-ENV): Define.
58484         Patch by John Stanley <jpsinthemix@verizon.net>.
58486         * misc/Makefile (headers): Add bits/select2.h.
58487         * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
58488         * misc/bits/select2.h: New file.
58489         * include/bits/select2.h: New file.
58490         * debug/Makefile (routines): Add fdelt_chk.
58491         * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
58492         * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
58493         FD_ISSET.
58494         * debug/fdelt_chk.c: New file.
58496         * wcsmbs/test-wcscmp.c: Moved from string/*.  Adjust.
58497         * wcsmbs/test-wmemcmp.c: Likewise.
58498         * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
58499         * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
58501 2011-09-08  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
58503         * string/Makefile (strop-tests): Add memcmp.
58504         * string/test-wmemcmp.c: New file.
58505         * string/test-memcmp.c: Add wmemcmp support.
58507 2011-09-08  Roland McGrath  <roland@hack.frob.com>
58509         [BZ #13153]
58510         * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
58511         2011-07-19 change.
58513         * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
58514         garbage value in a __mach_port_mod_refs call in the cases of the
58515         task-self and thread-self ports.
58517 2011-09-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
58519         * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
58521 2011-09-08  Andreas Schwab  <schwab@redhat.com>
58523         * elf/dl-load.c (lose): Check for non-null L.
58525 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
58527         * elf/dl-load.c (open_verify): Use O_CLOEXEC.
58529         * elf/dl-libc.c (dlerror_run): Pass back error code from
58530         dl_catch_error.
58532         [BZ #13123]
58533         * elf/dl-load.c (lose): Free l_origin if it is valid.
58535         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
58536         names.
58537         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
58538         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
58539         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
58540         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
58541         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
58542         Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
58544 2011-08-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
58546         * sysdeps/powerpc/fpu/e_hypot.c: New file.
58547         * sysdeps/powerpc/fpu/e_hypotf.c: New file.
58548         * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
58549         * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
58550         * sysdeps/powerpc/fpu/k_cosf.c: New file.
58551         * sysdeps/powerpc/fpu/k_sinf.c: New file.
58552         * sysdeps/powerpc/fpu/s_cosf.c: New file.
58553         * sysdeps/powerpc/fpu/s_sinf.c: New file.
58554         * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
58555         * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
58557 2011-08-15  Alan Modra  <amodra@gmail.com>
58559         [BZ #13092]
58560         * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
58561         * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
58562         * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here.  Add
58563         ppc_mcount to static-only-routines.
58564         * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
58565         __mcount_internal.
58566         * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
58567         __mcount_internal with usual JUMPTARGET.  Remove useless nop.
58569 2011-08-18  David Flaherty  <flaherty@linux.vnet.ibm.com>
58571         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
58572         for finite and infinity parameters.
58574 2011-08-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
58576         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
58577         and add nop instructions for throughput optimization.
58578         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
58580 2011-07-28  Will Schmidt  <will_schmidt@vnet.ibm.com>
58582         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
58583         aligned copy for power7 with vector-scalar instructions.
58584         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
58586 2011-07-24  H.J. Lu  <hongjiu.lu@intel.com>
58588         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
58589         AVX check.
58591 2011-09-07  Andreas Schwab  <schwab@redhat.com>
58593         [BZ #13144]
58594         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
58595         last change.
58597 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
58599         * sysdeps/unix/sysv/linux/x86_64/init-first.c
58600         (_libc_vdso_platform_setup): If vDSO is not present store pointer to
58601         syscall wrapper around clock_gettime in __vdso_clock_gettime.
58602         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
58603         clock_gettime.
58605 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
58607         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
58608         Forgot to demangle the pointer.
58610         * sysdeps/i386/sysdep.h: Define atom_text_section.
58611         * sysdeps/x86_64/sysdep.h: Likewise.
58612         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
58613         section with atom_text_section.
58614         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
58615         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
58616         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
58617         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
58618         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
58620         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
58621         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
58622         already be defined.  Change to take two parameters and don't assign
58623         result to variable.  Adjust all users.
58624         Define INTERNAL_GETTIME if not already defined.
58625         Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
58626         call.
58627         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
58628         HAVE_CLOCK_GETTIME_VSYSCALL.
58629         * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
58631         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
58632         gettimeofday vsyscall, just use time.
58634 2011-09-06  Andreas Schwab  <schwab@redhat.com>
58636         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
58637         <errno.h>.
58639 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
58641         * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
58642         syscall on x86-64.
58643         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
58644         syscall.
58645         * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
58646         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
58647         syscall if possible.
58649 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
58651         * elf/pldd.c (get_process_info): Don't read whole ELF header, just
58652         e_ident.  Don't pass to find_mapsXX.
58653         * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
58655 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
58657         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
58658         strchr-sse2-no-bsf strrchr-sse2-no-bsf
58659         * sysdeps/x86_64/multiarch/strchr.S: Update.
58660         Check bit_slow_BSF bit.
58661         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
58662         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
58663         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
58665 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
58667         [BZ #13134]
58668         * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
58669         before glibc 2.15.
58670         (tryshell): Define.
58671         (__spawni): Change last parameter to be flag.  Test
58672         SPAWN_XFLAGS_USE_PATH flag to use path or not.
58673         Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
58674         * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
58675         * posix/spawni.c: Likewise.
58676         * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
58677         * posix/spawnp.c: Likewise.  Change normal version to use
58678         SPAWN_XFLAGS_USE_PATH.
58679         * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
58680         SPAWN_XFLAGS_TRY_SHELL.
58682         [BZ #13150]
58683         * posix/glob.h: Remove gcc 1.x support.
58685         [BZ #13068]
58686         * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
58688 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
58690         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
58691         strchr-sse2 strrchr-sse2 strchr-sse2-bsf
58692         strrchr-sse2-bsf
58693         * sysdeps/i386/i686/multiarch/strchr.S: New file.
58694         * sysdeps/i386/i686/multiarch/strrchr.S: New file.
58695         * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
58696         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
58697         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
58698         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
58700 2011-08-29  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
58702         * sysdeps/x86_64/wcscmp.S: New file.
58704         * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
58705         wcscmp-c wcscmp-sse2
58706         * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
58707         * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
58708         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
58709         * wcsmbs/wcscmp.c: Allow renaming.
58711 2011-09-05  David S. Miller  <davem@davemloft.net>
58713         * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
58714         stack slot, rather than the struct return pointer slot.
58715         * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
58716         * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
58717         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
58718         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
58720 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
58722         * po/ja.po: Update from translation team.
58724         [BZ #13144]
58725         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
58726         kernel in 64-bit binaries.
58728 2011-09-01  David S. Miller  <davem@davemloft.net>
58730         * elf/elf.h (HWCAP_SPARC_*): Move to..
58731         * sysdeps/sparc/sysdep.h: this new file and add new values.
58732         * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
58733         * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
58734         _DL_HWCAP_COUNT to 24.
58735         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
58736         entries.
58737         * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
58738         __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
58739         * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
58740         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
58741         instead of magic constants.
58742         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
58744 2011-08-31  David S. Miller  <davem@davemloft.net>
58746         * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
58747         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
58748         Reimplement to do errno handling inline.
58749         (SYSCALL_ERROR_HANDLER): New macro.
58750         (__SYSCALL_STRING): Do not do errno handling in asm.
58751         (__CLONE_SYSCALL_STRING): Delete.
58752         (__INTERNAL_SYSCALL_STRING): Delete.
58753         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
58754         sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
58755         (PSEUDO): Reimplement to do errno handling inline.
58756         (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
58757         (SYSCALL_ERROR_HANDLER): New macro.
58758         (__SYSCALL_STRING): Do not do errno handling in asm.
58759         (__CLONE_SYSCALL_STRING): Delete.
58760         (__INTERNAL_SYSCALL_STRING): Delete.
58761         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
58762         Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
58763         i386.
58764         (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
58765         (inline_syscall*): Add 'err' argument.
58766         (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
58767         INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
58768         (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
58769         INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
58771         * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
58772         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
58774 2011-08-30  Andreas Schwab  <schwab@redhat.com>
58776         * elf/rtld.c (dl_main): Relocate objects in dependency order.
58778 2011-08-29  Jiri Olsa <jolsa@redhat.com>
58780         * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
58781         directive.
58783 2011-08-24  David S. Miller  <davem@davemloft.net>
58785         * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
58787 2011-08-24  Andreas Schwab  <schwab@redhat.com>
58789         * elf/Makefile: Add rules to build and run unload8 test.
58790         * elf/unload8.c: New file.
58791         * elf/unload8mod1.c: New file.
58792         * elf/unload8mod1x.c: New file.
58793         * elf/unload8mod2.c: New file.
58794         * elf/unload8mod3.c: New file.
58796         * elf/dl-close.c (_dl_close_worker): Reset private search list if
58797         it wasn't used.
58799 2011-08-23  David S. Miller  <davem@davemloft.net>
58801         * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
58802         subtract stack bias.
58803         * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
58804         %sp not %fp in calculations.
58805         (_JMPBUF_UNWINDS_ADJ): Likewise.
58807         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
58808         (aio_suspend): Call it to force an exception region around the
58809         AIO_MISC_WAIT() invocation.
58811 2011-08-23  Andreas Schwab  <schwab@redhat.com>
58813         * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
58814         backslash.
58816 2011-07-04  Aurelien Jarno  <aurelien@aurel32.net>
58818         * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
58819         protection macro.
58820         * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
58821         and <dl-machine.h>.
58822         (Elf64_FuncDesc): Remove.
58824 2011-08-22  David S. Miller  <davem@davemloft.net>
58826         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
58827         sigaltstack check, add missing cfi directives.
58828         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
58829         missing cfi directives, and sigaltstack handling.
58831 2011-08-16  Andreas Schwab  <schwab@redhat.com>
58833         [BZ #11724]
58834         * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
58835         object is seen twice.
58836         * elf/dl-fini.c (_dl_sort_fini): Likewise.
58838         * elf/Makefile (distribute): Add tst-initorder2.c.
58839         (tests): Add tst-initorder2.
58840         (modules-names): Add tst-initorder2a tst-initorder2b
58841         tst-initorder2c tst-initorder2d.  Add rules to build them.
58842         ($(objpfx)tst-initorder2.out): New rule.
58843         * elf/tst-initorder2.c: New file.
58844         * elf/tst-initorder2.exp: New file.
58846 2011-08-22  Andreas Schwab  <schwab@redhat.com>
58848         * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
58850         * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
58851         dependencies back to end of function.
58853         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
58854         $(elfobjdir)/ld.so.
58856 2011-08-21  Ulrich Drepper  <drepper@gmail.com>
58858         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
58859         * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
58860         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
58861         * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
58862         * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
58863         of __vdso_gettimeofday.
58864         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
58865         __vdso_gettimeofday and __vdso_time.  Define __vdso_getcpu with
58866         attribute_hidden.
58867         (_libc_vdso_platform_setup): Remove initialization of
58868         __vdso_gettimeofday and __vdso_time.
58870 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
58872         * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
58873         and fgetc_unlocked.
58874         * nss/nss_files/files-key.c (search): Use fgets_unlocked and
58875         getc_unlocked.
58877         * elf/dl-open.c (add_to_global): Report additions to the global scope
58878         for LD_DEBUG=scopes.
58879         (dl_open_worker): Also print scope of newly loaded dependencies.
58880         (_dl_show_scope): Indicate if there is no scope.
58882         [BZ #13114]
58883         * stdio-common/Makefile (tests): Add bug24.
58884         * stdio-common/bug24.c: New file.
58886 2011-08-19  Andreas Jaeger  <aj@suse.de>
58888         [BZ #13114]
58889         * libio/fileops.c (_IO_new_file_fopen): Fix handling of
58890         non-existant file when using close-on-exec mode.
58892 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
58894         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
58895         the very first instruction.
58897         * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
58898         the CFI state in the end.
58899         * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
58900         inclusion of dl-trampoline.h.
58901         Based on a patch by Jiri Olsa <jolsa@redhat.com>.
58903 2011-08-19  Andreas Schwab  <schwab@redhat.com>
58905         * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
58906         expectations for long double.
58908         * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
58909         from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
58911 2011-08-14  David S. Miller  <davem@davemloft.net>
58913         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
58914         artificual limit depends upon the system page size.
58916 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
58918         * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
58919         * resolv/Makefile: Define CFLAGS-libresolv.
58921 2011-08-17  Andreas Schwab  <schwab@redhat.com>
58923         * nss/makedb.c (compute_tables): Make variables used in nested
58924         function static.
58926 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
58928         * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
58929         * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
58930         if buffer was too small.
58932         * elf/pldd.c (main): Attach to all threads in the process.
58933         Rewrite /proc handling to use *at functions.
58935 2011-08-16  Ulrich Drepper  <drepper@gmail.com>
58937         * elf/dl-open.c (_dl_show_scope): Take additional parameter which
58938         specifies first scope to show.
58939         (dl_open_worker): Update callers.  Move printing scope of new
58940         object to before the relocation.
58941         * elf/rtld.c (dl_main): Update _dl_show_scope call.
58942         * sysdeps/generic/ldsodefs.h: Update declaration.
58944         * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
58945         string for the scope number.
58947 2011-08-14  Ulrich Drepper  <drepper@gmail.com>
58949         * nscd/servicescache.c (cache_addserv): Make sure written is always
58950         initialized.
58952 2011-08-14  Roland McGrath  <roland@hack.frob.com>
58954         * sysdeps/i386/i486/bits/atomic.h
58955         (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
58956         statement expression, so as to suppress "set but not used" warning.
58957         (__arch_c_compare_and_exchange_val_64_acq): Likewise.
58959         * string/strncat.c (STRNCAT): Use prototype definition.
58961         * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
58962         (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
58963         -Iprograms here.
58964         (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
58965         (localedef-modules): Add localedef.
58966         (locale-modules): Add locale.
58968         * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
58969         * elf/rtld.c (dl_main): Invert order of assignment in last change,
58970         to avoid a warning.
58972 2011-08-14  David S. Miller  <davem@davemloft.net>
58974         * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
58975         RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
58977 2011-08-13  Ulrich Drepper  <drepper@gmail.com>
58979         * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
58980         (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
58981         * elf/rtld.c (dl_main): Set l_name of vDSO.
58982         Call _dl_show_scope when DL_DEBUG_SCOPES.
58983         (process_dl_debug): Recognize scopes flag and also set it for all.
58984         * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
58985         Declare _dl_show_scope.
58987         * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
58988         (do_dlopen): Pass caller_dlopen to dl_open.
58989         (__libc_dlopen_mode): Initialize caller_dlopen.
58991         * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
58992         of libc.  Make tolower call locale-independent.  Optimize a bit by
58993         using isdigit instead of isalnum.
58994         * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
58996 2011-08-12  Ulrich Drepper  <drepper@gmail.com>
58998         * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
58999         was a dependency or dynamically loaded.
59001 2011-08-11  Ulrich Drepper  <drepper@gmail.com>
59003         * intl/l10nflist.c: Allow architecture-specific pop function.
59004         * sysdeps/x86_64/l10nflist.c: New file.
59006         * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
59007         classification.
59009 2011-08-10  Andreas Schwab  <schwab@redhat.com>
59011         * include/dirent.h: Add libc_hidden_proto for scandirat and
59012         scandirat64.  Don't declare __scandirat64.
59013         * dirent/scandirat.c: Add libc_hidden_def.
59014         * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
59015         * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
59017 2011-08-10  David S. Miller  <davem@davemloft.net>
59019         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
59020         enum.
59021         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
59022         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
59023         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
59025 2011-08-09  Ulrich Drepper  <drepper@gmail.com>
59027         * Versions.def [libc]: Add GLIBC_2.15.
59028         * dirent/Makefile (routines): Add scandirat and scandirat64.
59029         * dirent/Versions [libc]: Export scandirat and scandirat64 for
59030         GLIBC_2.15.
59031         * dirent/dirent.h: Declare scandirat and scandirat64.
59032         * dirent/scandirat.c: New file.
59033         * dirent/scandirat64.c: New file.
59034         * sysdeps/wordsize-64/scandirat.c: New file.
59035         * sysdeps/wordsize-64/scandirat64.c: New file.
59036         * dirent/opendir.c: Define opendirat.
59037         * dirent/scandir.c: Move code to scandirat.c.  Implement scandir
59038         using scandirat.
59039         * dirent/scandir64.c: Adjust for scandir.c change.
59040         * include/dirent.h: Define scandir_cancel_struct.  Declare __opendirat,
59041         __scandirat64, and __scandir_cancel_handler.
59042         * sysdeps/unix/opendir.c: Rename __opendir to __opendirat.  Take
59043         additional parameter and use openat instead of open (outside of ld.so).
59044         Add new __opendir as wrapper around __opendirat.
59045         * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
59046         here without requiring old scandirat implementation.
59048 2011-08-08  Ulrich Drepper  <drepper@gmail.com>
59050         * dirent/scandir.c (cancel_handler): Renamed to
59051         __scandir_cancel_handler.  Do not define if SKIP_SCANDIR_CANCEL is
59052         defined.  Adjust users.
59053         * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
59054         * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
59056 2011-08-04  Ulrich Drepper  <drepper@gmail.com>
59058         * string/test-string.h (IMPL): Use __STRING to expand name and then
59059         stringify it.
59061         * string/test-strcmp.c: Unify most of the WIDE and !WIDE code.  Lots
59062         of cleanups.
59064 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
59066         * string/Makefile: Update.
59067         (strop-tests): Append strncat.
59068         * string/test-wcscmp.c: New file.
59069         New comprehensive test for wcscmp.
59070         * string/test-strcmp.c: Update.
59071         (WIDE): New define.
59073 2011-07-22  Andreas Schwab  <schwab@redhat.com>
59075         * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
59076         line.
59078 2011-07-26  Andreas Schwab  <schwab@redhat.com>
59080         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
59081         encoding to ACE if AI_IDN.
59083 2011-08-01  Jakub Jelinek  <jakub@redhat.com>
59085         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
59086         to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
59088 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
59090         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
59091         Fix overflow bug in strncat.
59092         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
59094         * string/test-strncat.c: Update.
59095         Add new tests for checking overflow bugs.
59097 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
59099         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
59100         strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
59101         * sysdeps/i386/i686/multiarch/strcat.S: New file.
59102         * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
59103         * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
59104         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
59105         * sysdeps/i386/i686/multiarch/strncat.S: New file.
59106         * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
59107         * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
59109         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
59110         (USE_AS_STRCAT): Define.
59111         Add strcat and strncat support.
59112         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
59114 2011-07-25  Andreas Schwab  <schwab@redhat.com>
59116         * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
59117         __n bigger than INT_MAX+1.
59118         (__strncmp_g): Likewise.
59120 2011-07-23  Ulrich Drepper  <drepper@gmail.com>
59122         * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
59123         * libio/stido.h: Likewise.
59125         * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
59126         (AF_NFC): Define.
59127         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
59128         (AF_NFC): Define.
59130         * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
59131         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
59132         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
59133         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
59134         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
59136         [BZ #13021]
59137         * scripts/test-installation.pl: Don't expect libnss_test1 to be
59138         installed.
59140         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
59141         typo.
59142         (_dl_x86_64_save_sse): Likewise.
59144 2011-07-22  Ulrich Drepper  <drepper@gmail.com>
59146         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
59147         OSXSAVE.
59148         (_dl_x86_64_save_sse): Likewise.
59150         * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
59152         * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
59154 2011-07-21  Andreas Schwab  <schwab@redhat.com>
59156         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
59157         change.
59158         (_dl_x86_64_save_sse): Use correct AVX check.
59160 2011-07-21  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
59162         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
59163         bug in strncpy/strncat.
59164         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
59166 2011-07-21  Ulrich Drepper  <drepper@gmail.com>
59168         * string/tester.c (test_strcat): Add tests for different alignments
59169         of source and destination.
59170         (test_strncat): Likewise.
59172 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
59174         [BZ #12852]
59175         * posix/glob.c (glob): Check passed in values before using them in
59176         expressions to avoid some overflows.
59177         (glob_in_dir): Likewise.
59179         [BZ #13007]
59180         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
59181         check for AVX enablement so that we don't crash with old kernels and
59182         new hardware.
59183         * elf/tst-audit4.c: Add same checks here.
59184         * elf/tst-audit6.c: Likewise.
59186         * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
59188 2011-07-09  Andreas Schwab  <schwab@linux-m68k.org>
59190         * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
59192 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
59194         * po/cs.po: Update from translation team.
59195         * po/bg.po: Likewise.
59197 2011-07-12  Marek Polacek  <mpolacek@redhat.com>
59199         * misc/sys/cdefs.h: Add support for const attribute.
59200         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
59201         to gnu_dev_{major,minor,makedev} functions.
59203 2011-07-20  Marek Polacek  <mpolacek@redhat.com>
59205         * intl/dcigettext.c (get_output_charset): Add missing bracket.
59207 2011-07-20  Andreas Schwab  <schwab@redhat.com>
59209         * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
59210         strlen results.
59212 2011-07-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
59214         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
59215         (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
59216         register in order to avoid conflicts with the soft frame pointer
59217         being held in r11 when necessary.
59218         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
59219         (INTERNAL_VSYSCALL_NCS): Likewise.
59221 2011-07-14  Marek Polacek  <mpolacek@redhat.com>
59223         * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
59224         * elf/dl-fini.c (_dl_fini): Adjust caller.
59225         * elf/dl-close.c (_dl_close_worker): Likewise.
59226         * sysdeps/generic/ldsodefs.h: Adjust declaration.
59228 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
59230         * elf/cache.c (load_aux_cache): Remove unnecessary condition of
59231         "aux_cache->nlibs < 0".
59233         * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
59234         in the reload-count case.
59236 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
59238         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
59239         strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
59240         strncat-sse2-unaligned strncat-c strlen-sse2-pminub
59241         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
59242         * sysdeps/x86_64/multiarch/strcat.S: New file.
59243         * sysdeps/x86_64/multiarch/strncat.S: New file.
59244         * sysdeps/x86_64/multiarch/strncat-c.c: New file.
59245         * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
59246         * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
59247         * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
59248         * sysdeps/x86_64/multiarch/strcpy-ssse3.S
59249         (USE_AS_STRCAT): Define.
59250         Add strcat and strncat support.
59251         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
59252         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
59253         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
59254         * string/strncat.c: Update.
59255         (USE_AS_STRNCAT): Define.
59256         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
59257         Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
59258         and i7.
59259         * sysdeps/x86_64/multiarch/init-arch.h
59260         (bit_Prefer_PMINUB_for_stringop): New.
59261         (index_Prefer_PMINUB_for_stringop): Likewise.
59262         * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
59263         bit_Prefer_PMINUB_for_stringop.
59265 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
59267         * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
59268         buffer64.
59269         * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
59270         of casting of buffer.
59271         * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
59272         buffer32 and buffer64.
59273         * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
59274         writes instead of casting of buffer.
59275         * crypt/md5.h (struct md5_ctx): Move buffer into union and add
59276         buffer32.
59277         * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
59278         casting of buffer.
59280 2011-07-19  Andreas Schwab  <schwab@redhat.com>
59282         * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
59284 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
59286         * nscd/nscd.c (termination_handler): Don't do anything for a database
59287         if it has not yet been initialized.
59289 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
59291         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
59293 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
59295         * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
59297 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
59299         * po/nl.po: Update from translation team.
59300         * po/sv.po: Likewise.
59302 2011-07-16  Roland McGrath  <roland@hack.frob.com>
59304         * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
59305         now disallowed by GCC.
59307         * configure.in (use-default-link): Default to yes if a test -shared
59308         link meets our qualifications.
59309         * configure: Regenerated.
59311         * config.make.in (output-format): New variable.
59312         * configure.in: Check for ld --print-output-format support.
59313         * configure: Regenerated.
59314         * Makerules ($(common-objpfx)format.lds)
59315         [$(output-format) != unknown]: Just use $(output-format),
59316         instead of the linker-script munging.
59318 2011-07-14  Roland McGrath  <roland@hack.frob.com>
59320         * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
59321         of $(common-objpfx)shlib.lds.
59322         * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
59324         * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
59325         Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
59327         * configure.in (-z relro check): Adjust test code to add a large
59328         writable data section after it.
59329         * configure: Regenerated.
59331 2011-07-11  Roland McGrath  <roland@hack.frob.com>
59333         * configure.in (-z relro check): Fix test code to make the variable
59334         truly const.
59335         * configure: Regenerated.
59337 2011-07-11  Ulrich Drepper  <drepper@gmail.com>
59339         * nscd/nscd.h (struct traced_file): Define.
59340         (struct database_dyn): Remove inotify_descr, reset_res, and filename
59341         elements.  Add traced_files.
59342         (inotify_fd): Declare.
59343         (register_traced_file): Declare.
59344         * nscd/connections.c (dbs): Remove reset_res and filename initializers.
59345         (inotify_fd): Export.
59346         (resolv_conf_descr): Remove.
59347         (nscd_init): Move inotify descriptor creation to main.
59348         Don't register files for notification here.
59349         (register_traced_file): New function.
59350         (invalidate_cache): Don't use reset_res to determine whether to call
59351         res_init, go through the list of registered files.
59352         (main_loop_poll): The inotify descriptors are now stored in the
59353         structures for the traced files.
59354         (main_loop_epoll): Likewise
59355         * nscd/nscd.c (main): Create inotify socket here.  Pass extra argument
59356         to __nss_disable_nscd.
59357         * nscd/cache.c (prune_cache): There is no single inotify descriptor
59358         for a database anymore.  Check the records for all the registered
59359         files instead.
59360         * nss/Makefile (libnss_files-routines): Add files-init.
59361         (libnss_db-routines): Add db-init.
59362         * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
59363         [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
59364         * nss/nss_db/db-init.c: New file.
59365         * nss/nss_files/files-init.c: New file.
59366         * nss/nsswitch.c (nss_load_library): New function.  Broken out of
59367         __nss_lookup_function.
59368         (__nss_lookup_function): Call nss_load_library.
59369         (nss_load_all_libraries): New function.
59370         (__nss_disable_nscd): Take parameter with callback function for files
59371         to register.  Set is_nscd.  Load all the DSOs for the NSS modules
59372         used for the cached services.
59373         * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
59374         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
59375         options for features to all the files in nscd.
59377         * nss/nsswitch.c (nss_parse_file): Add missing fclose.
59379 2011-07-10  Roland McGrath  <roland@hack.frob.com>
59381         * csu/elf-init.c (__libc_csu_init): Comment typo.
59383 2011-07-09  Ulrich Drepper  <drepper@gmail.com>
59385         * po/pl.po: Update from translation team.
59386         * po/ja.po: Likewise.
59387         * po/ru.po: Likewise.
59388         * po/ko.po: Likewise.
59389         * po/fr.po: Likewise.
59391 2011-07-09  Roland McGrath  <roland@hack.frob.com>
59393         * configure.in (.ctors/.dtors header and trailer check):
59394         Use an empirical test on a built program.
59395         * configure: Regenerated.
59397         * configure.in (-z relro check): Use an empirical test on a built DSO.
59398         Detect, but do not require, on ia64.
59399         * configure: Regenerated.
59401         * configure.in (READELF): Find it with AC_CHECK_TOOL.
59402         Update tests that use readelf to use $READELF instead.
59403         * configure: Regenerated.
59405 2011-07-08  Ulrich Drepper  <drepper@gmail.com>
59407         * malloc/hooks.c (memalign_check): Avoid using checked_request2size
59408         if the result is not used.
59410 2011-07-05  Andreas Jaeger  <aj@suse.de>
59412         [BZ#9696]
59413         * stdlib/tst-strtod.c: Add testcase.
59415 2011-07-07  Ulrich Drepper  <drepper@gmail.com>
59417         * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
59418         (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
59419         The latter has a higher limit.  Take additional parameter to pass to
59420         the new function.
59421         (__pathconf): Pass file to __statfs_link_max.
59422         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
59423         __statfs_link_max.
59424         * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
59425         __statfs_link_max.
59427         [BZ #12868]
59428         * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
59429         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
59430         Handle Lustre.
59431         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
59432         (__statfs_filesize_max): Likewise.
59433         Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
59435 2011-07-05  Andreas Jaeger  <aj@suse.de>
59437         * resolv/res_comp.c (dn_skipname): Remove unused variable.
59439 2011-07-06  Marek Polacek  <mpolacek@redhat.com>
59441         * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
59442         `status' variable.
59443         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
59444         Likewise.
59446 2011-07-04  H.J. Lu  <hongjiu.lu@intel.com>
59448         * Makefile (strop-tests): Add strncat.
59449         * string/test-strncat.c: New file.
59451 2011-06-30  Marek Polacek  <mpolacek@redhat.com>
59453         * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
59455 2011-06-21  Andreas Jaeger  <aj@suse.de>
59457         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
59458         Copy rule from iconvdata/Makefile.
59460 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
59462         [BZ #12922]
59463         * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
59464         but no long options are defined, just return 'W'.
59466 2011-06-22  Marek Polacek  <mpolacek@redhat.com>
59468         [BZ #9696]
59469         * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
59471 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
59473         * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
59474         netgroups to read.
59475         (innetgr): Likewise.
59477 2011-07-05  Roland McGrath  <roland@hack.frob.com>
59479         * config.make.in (install_root): Default to $(DESTDIR).
59481 2011-07-05  Ulrich Drepper  <drepper@gmail.com>
59483         * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
59485 2011-07-02  Roland McGrath  <roland@hack.frob.com>
59487         * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
59489         * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
59490         containing directory rather than embedding absolute directory names.
59492         * scripts/check-local-headers.sh: Rewritten using awk.
59493         Match by word, not by line.  Print error messages for matches.
59494         * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
59496         * Makerules [shlib-lds-flags empty]:
59497         ($(common-objpfx)libc_pic.opts): New target.
59498         ($(common-objpfx)libc_pic.os.clean): New target.
59499         ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
59501         * config.make.in (OBJCOPY): New variable.
59502         * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
59503         * configure: Regenerated.
59505         * config.make.in (use-default-link): New variable.
59506         * configure.in (use_default_link): Grok --with-default-link to set it.
59507         * configure: Regenerated.
59508         * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
59509         (shlib-lds, shlib-lds-flags): Define to empty.
59511         * Makerules (shlib-lds): New variable.
59512         (shlib-lds-flags): New variable.
59513         (build-shlib, build-moduile, build-module-asneeded): Use it.
59514         ($(common-objpfx)libc.so): Use $(shlib-lds).
59515         ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
59516         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
59518         * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
59519         DT_FLAGS/DT_FLAGS_1 with zero flags.
59521         * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
59522         linker script munging.
59524 2011-07-02  Ulrich Drepper  <drepper@gmail.com>
59526         * crypt/sha512.h (struct sha512_ctx): Add union to access total also
59527         as 128-bit value.
59528         * crypt/sha512.c (sha512_process_block): Perform total addition using
59529         128-bit if possible.
59530         (__sha512_finish_ctx): Likewise.
59531         * crypt/sha256.h (struct sha256_ctx): Add union to access total also
59532         as 64-bit value.
59533         * crypt/sha256.c (SWAP64): Define.
59534         (sha256_process_block): Perform total addition using 64-bit if
59535         possible.
59536         (__sha256_finish_ctx): Likewise.
59538 2011-07-01  Ulrich Drepper  <drepper@gmail.com>
59540         * nscd/pwdcache.c (cache_addpw): Cleanup.  Add branch prediction.
59541         * nscd/initgrcache.c (addinitgroupsX): Likewise.
59542         * nscd/hstcache.c (cache_addhst): Likewise.
59543         * nscd/grpcache.c (cache_addgr): Likewise.
59544         * nscd/aicache.c (addhstaiX): Likewise
59545         * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
59547 2011-07-01  Thorsten Kukuk  <kukuk@suse.de>
59549         * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
59550         * nscd/initgrcache.c (addinitgroupsX): Likewise.
59551         * nscd/hstcache.c (cache_addhst): Likewise.
59552         * nscd/grpcache.c (cache_addgr): Likewise.
59553         * nscd/aicache.c (addhstaiX): Likewise
59555 2011-07-01  Andreas Schwab  <schwab@redhat.com>
59557         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
59558         domain only when needed.
59560 2011-06-30  Andreas Schwab  <schwab@redhat.com>
59562         * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
59563         is always restored.
59565 2011-06-29  Ulrich Drepper  <drepper@gmail.com>
59567         * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
59568         are re-adding the entry.
59569         * nscd/servicescache.c (cache_addserv): Likewise.
59571 2011-06-30  Aurelien Jarno  <aurelien@aurel32.net>
59573         * sysdeps/generic/dl-irel.h: fix protection against multiple
59574         inclusions.
59575         * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
59577 2011-06-28  Ulrich Drepper  <drepper@gmail.com>
59579         [BZ #12935]
59580         * malloc/memusage.sh: Fix quoting in message.
59581         * debug/xtrace.sh: Likewise.
59583         * configure.in: Remove support for --experimental-malloc option, make
59584         it the default.
59585         * config.make.in: Likewise.
59586         * malloc/Makefile: Likewise.
59588 2011-06-27  Andreas Schwab  <schwab@redhat.com>
59590         * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
59591         two-byte characters.
59593 2011-06-27  Roland McGrath  <roland@hack.frob.com>
59595         * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
59596         AC_CACHE_CHECK invocation.
59597         * configure: Regenerated.
59599         * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
59601 2011-06-27  Ulrich Drepper  <drepper@gmail.com>
59603         [BZ #12350]
59604         * nscd/aicache.c (addhstaiX):  Restore only RES_USE_INET6
59605         bit from old_res_options.
59607         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
59609         * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
59610         value type for setfct.
59612 2011-06-23  H.J. Lu  <hongjiu.lu@intel.com>
59614         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
59615         __gettimeofday instead of gettimeofday.
59617 2011-06-26  Ulrich Drepper  <drepper@gmail.com>
59619         * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
59621 2011-06-24  H.J. Lu  <hongjiu.lu@intel.com>
59623         * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
59625         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
59626         info.
59628 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
59630         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
59631         strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
59632         strcpy-sse2-unaligned strncpy-sse2-unaligned
59633         stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
59634         * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
59635         * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
59636         * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
59637         * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
59638         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
59639         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
59640         * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
59641         * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
59642         * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
59643         (STRCPY): Support SSE2 and SSSE3 versions.
59645 2011-06-24  Ulrich Drepper  <drepper@gmail.com>
59647         [BZ #12874]
59648         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
59649         * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
59650         kernels which artificially limit size of requests.
59652 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
59654         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
59655         strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
59656         strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
59657         * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
59658         * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
59659         * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
59660         * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
59661         * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
59662         * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
59663         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
59664         * sysdeps/i386/i686/multiarch/strcpy.S: New file.
59665         * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
59666         * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
59667         * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
59668         * sysdeps/i386/i686/multiarch/strncpy.S: New file.
59669         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
59670         Enable unaligned load optimization for Intel Core i3, i5 and i7
59671         processors.
59672         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
59673         Define.
59674         (index_Fast_Unaligned_Load): Define.
59675         (HAS_FAST_UNALIGNED_LOAD): Define.
59677 2011-06-23  Marek Polacek  <mpolacek@redhat.com>
59679         * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
59681 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
59683         [BZ #12907]
59684         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
59685         until it is clear that the information is realy needed.
59686         Patch mostly by David Hanisch <david.hanisch@nsn.com>.
59688 2011-06-22  Andreas Schwab  <schwab@redhat.com>
59690         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
59692 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
59694         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
59695         /sys/devices/system/cpu/online if it is usable.
59697         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
59698         reading the information from the /proc filesystem to once a second.
59700 2011-06-21  Andreas Jaeger  <aj@suse.de>
59702         * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
59703         NULL after inclusion of kernel headers.
59705 2011-06-21  Ulrich Drepper  <drepper@gmail.com>
59707         * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
59708         calls to internal_setent.
59710         [BZ #12885]
59711         * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
59712         addresses using gethostbyname4_r ignore IPv4 addresses.
59714         * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
59715         branch using gethostbyname2 is only for AF_INET.  Optimize accordingly.
59717         * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
59719 2011-06-20  David S. Miller  <davem@davemloft.net>
59721         * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
59722         inclusions.
59723         * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
59725         * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
59726         (elf_irel): Use it.
59727         * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
59728         * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
59729         * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
59730         * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
59731         * sysdeps/x86_64/dl-irel.h: Likewise.
59733         * elf/dl-runtime.c: Use elf_ifunc_invoke.
59734         * elf/dl-sym.c: Likewise.
59736 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
59738         * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch.  We
59739         need to dereference resplen2.
59741 2011-06-14  Andreas Schwab  <schwab@redhat.com>
59743         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
59745 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
59747         * Makeconfig: Define vardbdir and inst_vardbdir.
59748         * nss/Makefile: Add rules to install db-Makefile.
59750         * nss/nss_db/db-XXX.c: Cleanup.
59752         * nss/Makefile (libnss_db-dbs): Add db-initgroups.
59753         * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
59754         GLIBC_PRIVATE.
59755         * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
59756         * nss/makedb.c: Implement -g option to specify that value strings
59757         are generated and should not be added to table iterated over for
59758         get*ent calls.
59759         * nss/nss_db/db-initgroups.c: New file.
59761         * nss/getent.c: Add support for initgroups lookups through getgrouplist
59762         interface.
59764         * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
59765         (internal_getgrouplist): Adjust to name change.
59766         Update use_initgroups_entry if this is not the first call.
59767         * nss/databases.def: Add initgroups entry.
59769         * nss/makedb.c (compute_tables): Check result of multiple hash table
59770         sizes to minimize maximum chain length.
59772 2011-06-14  Ulrich Drepper  <drepper@gmail.com>
59774         * Versions.def: Add entry for libnss_db.
59775         * shlib-versions: Likewise.
59776         * nss/Makefile: Add rules to build libnss_db.
59777         * nss/Versions: Add libnss_db information.  Organize libnss_files
59778         entries better.
59779         * nss/db-Makefile: Add gshadow support.  Change rules for the new
59780         makedb progra.  Some minor improvements to generate smaller files.
59781         * nss/nss_db/nss_db.h: Move NSS database header data structures to
59782         here from...
59783         * nss/makedb.c: ...here.
59784         Improve database format to be smaller and require less memory at
59785         runtime.
59786         * nss/nss_db/db-XXX.x: Adjust for new database format.  Don't use
59787         db anymore.
59788         * nss/nss_db/db-netgrp.c: Likewise.
59789         * nss/nss_db/db-open.c: Likewise.
59790         * nss/nss_files/flies-XXX.x: Adjust comments.
59791         * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
59792         * nss/nss_files/files-grp.c: Likewise.
59793         * nss/nss_files/files-hosts.c: Likewise.
59794         * nss/nss_files/files-network.c: Likewise.
59795         * nss/nss_files/files-proto.c: Likewise.
59796         * nss/nss_files/files-pwd.c: Likewise.
59797         * nss/nss_files/files-rpc.c: Likewise.
59798         * nss/nss_files/files-service.c: Likewise.
59799         * nss/nss_files/files-sgrp.c: Likewise.
59800         * nss/nss_files/files-spwd.c: Likewise.
59801         * nss/nss_db/db-alias.c: Removed.
59802         * nss/nss_db/dummy-db.h: Removed.
59804 2011-06-02  Ulrich Drepper  <drepper@gmail.com>
59806         * nss/makedb.c: Rewritten to not use database library.
59807         * nss/Makefile: Update to build new makedb program.
59809 2011-06-14  Andreas Jaeger  <aj@suse.de>
59811         * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
59812         memset declaration.
59814 2011-06-10  Andreas Schwab  <schwab@redhat.com>
59816         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
59817         tmpbuf.
59819 2011-06-10  Roland McGrath  <roland@hack.frob.com>
59821         * Makerules (shlib.lds): Fail if the linker script comes out empty.
59822         * elf/Makefile ($(objpfx)ld.so): Likewise.
59824         * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
59825         Don't list ld.so twice in dependencies.
59827         * posix/bug-regex31.c: Include <stdlib.h>.
59829         * nscd/hstcache.c (cache_addhst): Remove unused variable.
59831         * nis/nss_compat/compat-spwd.c
59832         (getspent_next_nss_netgr): Remove unused variable.
59833         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
59835         * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
59836         nonmembers" output to use the right array.
59838         * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
59840         * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
59842         * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
59843         * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
59844         * catgets/gencat.c (read_input_file): Likewise.
59845         * locale/programs/locarchive.c (enlarge_archive): Likewise.
59847         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
59848         variable definition inside #if's controlling its use.
59850         * inet/getnetgrent_r.c (innetgr): Remove unused variable.
59852         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
59854         * misc/syslog.c (__vsyslog_chk): Remove unused variable.
59856         * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
59857         unreachable code.
59859         * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
59861         * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
59862         * configure: Regenerated.
59864         * Makerules: Revert last change.
59865         * elf/Makefile: Likewise.
59867 2011-06-09  Roland McGrath  <roland@hack.frob.com>
59869         * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
59870         * elf/Makefile ($(objpfx)librtld.os): Likewise.
59871         (reloc-link): Likewise.
59873 2011-06-09  Ulrich Drepper  <drepper@gmail.com>
59875         * elf/Makefile: Add rules to build pldd.
59876         * elf/pldd.c: New file.
59877         * elf/pldd-xx.c: New file.
59879 2011-06-07  Ulrich Drepper  <drepper@gmail.com>
59881         * version.h: Update for 2.15 development version.
59883 2011-06-07  David S. Miller  <davem@davemloft.net>
59885         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
59886         ifuncs.
59887         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
59888         elf_machine_lazy_rel): Likewise.
59889         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
59890         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
59891         elf_machine_lazy_rel): Likewise.
59892         * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
59893         dl_hwcap via passed in argument.
59894         * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
59895         Likewise.
59897 2011-06-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
59899         * stdlib/longlong.h: Update from GCC.  Fix smul_ppmm for S/390.
59901 2011-06-06  Roland McGrath  <roland@hack.frob.com>
59903         [BZ #12849]
59904         * manual/fdl-1.1.texi: New file, verbatim from:
59905         http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
59906         * manual/lgpl-2.1.texi: New file, verbatim from:
59907         http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
59908         * manual/Makefile (licenses): New variable, list those new file names.
59909         (texis): Use it.
59910         (chapters.% top-menu.%): Include $(licenses) with $(appendices).
59912         * manual/fdl.texi: File removed.
59913         * manual/lesser.texi: File removed.
59914         * manual/libc.texinfo (Copying, Documentation License):
59915         Use new @include file names, put @appendix directive before @include.
59917 2011-06-04  Jakub Jelinek  <jakub@redhat.com>
59919         [BZ #12841]
59920         * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
59921         (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
59922         (mq_open): Add __NTH.
59924 2011-06-02  H.J. Lu  <hongjiu.lu@intel.com>
59926         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
59927         Assume Intel Core i3/i5/i7 processor if AVX is available.
59929 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
59931         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
59932         typo.
59934 2011-05-31  Andreas Schwab  <schwab@redhat.com>
59936         * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
59937         memory.  Use alloca_account.  Fix memory leak when retrying.
59939 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
59941         * version.h (RELEASE): Bump for 2.14 release.
59942         * include/features.h (__GLIBC_MINOR__): Bump to 14.
59944         * config.make.in (RANLIB): Remove entry.
59946 2011-05-30  Ulrich Drepper  <drepper@gmail.com>
59948         * po/Makefile (po-sed-cmd): Add ksh to extensions.
59949         (libc.pot): Work around missing support for .ksh extension in xgettext.
59951         [BZ #12684]
59952         * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
59953         if both request failed.
59954         (send_dg): In case of server errors clear resplen or *resplen2.
59956         [BZ #12454]
59957         * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
59958         when there are multiple maps.
59959         * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
59960         (_dl_fini): Remove test here.
59962         * elf/rtld.c (dl_main): Don't allow the loader to load itself.
59964 2011-05-29  Ulrich Drepper  <drepper@gmail.com>
59966         [BZ #12350]
59967         * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
59968         bit from old_res_options.
59969         (gaih_inet): Likewise.
59971         [BZ #11099]
59972         * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
59973         as signed.
59975         * resolv/res_init.c (res_setoptions): Make the code more compact.
59977         [BZ #11558]
59978         * resolv/res_init.c (res_setoptions): Recognize use-vc option and
59979         set RES_USEVC.
59981         [BZ #11634]
59982         * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
59984         * malloc/malloc.h: Mark malloc hook variables as deprecated.
59986         [BZ #11781]
59987         * malloc/malloc.h: Declare malloc hook variables as volatile.
59989         * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
59990         in last patch.
59992         [BZ #11799]
59993         * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
59994         raise in the comment.
59995         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
59996         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
59997         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
59999 2011-05-28  Ulrich Drepper  <drepper@gmail.com>
60001         [BZ #12811]
60002         * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
60003         grow the buffers more if it already has to be sufficient.
60004         (build_wcs_upper_buffer): Likewise.
60005         * posix/regexec.c (check_matching): Likewise.
60006         (clean_state_log_if_needed): Likewise.
60007         (extend_buffers): Don't enlarge buffers beyond size of the input
60008         buffer.
60009         Patches mostly by Emil Wojak <emil@wojak.eu>.
60010         * posix/bug-regex32.c: New file.
60011         * posix/Makefile (tests): Add bug-regex32.
60013         * locale/findlocale.c (_nl_find_locale): Return right away if
60014         _nl_explode_name failed.
60015         * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
60017         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
60019         * debug/xtrace.sh: Unify messages.
60020         * malloc/memusage.sh: Likewise.
60022         [BZ #12813]
60023         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
60024         time symbol from vDSO.  Substitute with vsyscall if not available.
60025         * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
60026         __vdso_time.
60028         * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
60029         * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
60030         * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
60031         Add sendmmsg and internal_sendmmsg.
60032         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
60033         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
60034         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
60036         * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
60037         * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
60038         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
60040 2011-05-27  Ulrich Drepper  <drepper@gmail.com>
60042         [BZ #12813]
60043         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
60044         Retrieve getcpu symbol from vDSO.  Substitute with vsyscall if not
60045         available.
60046         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
60047         __vdso_getcpu.
60049         [BZ #12814]
60050         * iconvdata/Makefile (tests): Add bug-iconv9.
60051         * iconvdata/bug-iconv9.c: New file.
60053 2011-05-27  Andreas Schwab  <schwab@redhat.com>
60055         [BZ #12814]
60056         * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
60058 2011-05-25  Jakub Jelinek  <jakub@redhat.com>
60060         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
60061         (struct user_regs_struct): Change intcs field back to cs.
60063 2011-05-25  Ulrich Drepper  <drepper@gmail.com>
60065         * po/ja.po: Update from translation team.
60067 2011-05-23  Ulrich Drepper  <drepper@gmail.com>
60069         [BZ #12795]
60070         * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
60071         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
60073 2011-05-20  Andreas Schwab  <schwab@redhat.com>
60075         * stdlib/longlong.h: Update from GCC.
60077 2011-05-23  Andreas Schwab  <schwab@redhat.com>
60079         * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
60080         parameter name.
60081         * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
60082         Add parameter name.
60083         (__sysconf): Pass it down.
60085 2011-05-22  Ulrich Drepper  <drepper@gmail.com>
60087         [BZ #12671]
60088         * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
60089         some situations.
60090         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
60091         * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
60092         add in in __libc_use_alloca calls.  Adjust callers.
60093         (glob): Use malloc in some situations.
60095         * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
60096         and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
60097         pltexit.
60099 2011-05-21  Ulrich Drepper  <drepper@gmail.com>
60101         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
60102         and CLOCK_BOOTTIME_ALARM.
60104         [BZ #12782]
60105         * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
60106         is returned.
60108         * string/_strerror.c (__strerror_r): Print negative errors as signed
60109         numbers.
60111         [BZ #12777]
60112         * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
60113         (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
60114         * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
60116         * configure.in: Fix typo in redirection and correct removal of test
60117         files in two cases.
60119         [BZ #12788]
60120         * locale/setlocale.c (new_composite_name): Fix test to check for
60121         identical name of all categories.
60123         [BZ #12792]
60124         * libio/filedoalloc.c (local_isatty): New function.
60125         (_IO_file_doallocate): Use local_isatty.
60126         * stdio-common/perror.c (perror): In case a new stream is used
60127         forward the stream error.
60128         * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
60129         error flag.
60131 2011-05-20  Ulrich Drepper  <drepper@gmail.com>
60133         [BZ #11869]
60134         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
60135         alloca.
60136         * include/alloca.h (extend_alloca_account): Define.
60138         [BZ #11857]
60139         * posix/regex.h: Fix comments with documentation of user-accessible
60140         fields after compilation and describe correct free'ing of pattern
60141         after re_compile_pattern.
60142         Patch by Reuben Thomas <rrt@sc3d.org>.
60144 2011-05-18  Ryan S. Arnold  <rsa@us.ibm.com>
60146         * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
60147         and -mno-altivec to prevent the compiler from using Altivec and/or
60148         VSX instructions when the corresponding registers are not available.
60150 2011-05-19  Andreas Schwab  <schwab@redhat.com>
60152         * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
60154 2011-05-19  Ulrich Drepper  <drepper@gmail.com>
60156         * libio/freopen.c (freopen): Use __dup2, not dup2.
60157         * libio/freopen64.c (freopen64): Likewise.
60159 2011-05-17  H.J. Lu  <hongjiu.lu@intel.com>
60161         [BZ #12775]
60162         * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
60163         * math/Makefile (tests): Add test-powl.
60164         (CFLAGS-test-powl.c): Define.
60165         * math/test-powl.c: New file.
60167 2011-05-16  H.J. Lu  <hongjiu.lu@intel.com>
60169         * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
60171 2011-05-17  Ulrich Drepper  <drepper@gmail.com>
60173         [BZ #11837]
60174         * iconvdata/gb18030.c: Update to GB18020-2005.
60176 2011-05-16  Ulrich Drepper  <drepper@gmail.com>
60178         * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
60179         RE_SYNTAX_POSIX_AWK): Update to match recent development.
60180         Patch by Aharon Robbins <arnold@skeeve.com>.
60182         [BZ #11892]
60183         * stdlib/putenv.c (putenv): Don't always create copy of the variable
60184         on the stack.
60186         [BZ #11895]
60187         * misc/pselect.c (__pselect): Handle timeout value errors hidden
60188         through underflows.
60190         [BZ #12766]
60191         * misc/error.c (error_at_line): Ensure file_name and old_file_name
60192         point to strings before performing equality test for error_one_per_line
60193         mode.
60195         [BZ #11697]
60196         * login/programs/pt_chown.c (do_pt_chown): Always call chown.
60198         [BZ #11820]
60199         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
60200         (struct user_fpregs_struct): Avoid __uint*_t types.
60202         [BZ #6420]
60203         * malloc/mtrace.c (tr_where): Add additional parameter to point to
60204         symbol info.  Use it instead of calling _dl_addr locally.
60205         (lock_and_info): New function.
60206         (tr_freehook): Call lock_and_info and pass symbol info as additional
60207         parameter to tr_where.
60208         (tr_mallochook): Likewise.
60209         (tr_reallochook): Likewise.
60210         (tr_memalignhook): Likewise.
60212         * malloc/mtrace.c: Remove support for USE_MTRACE_FILE.  It is not
60213         used and couldn't be at all thread-safe.
60215 2011-05-15  Ulrich Drepper  <drepper@gmail.com>
60217         * libio/freopen.c (freopen): Don't close old file descriptor
60218         before the new one is opened.  Instead dup the new file descriptor
60219         to the old one after the new stream is created.
60220         * libio/freopen64.c (freopen64): Likewise.
60221         * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
60222         * libio/fileops.c (_IO_new_file_close_it): Handle new
60223         _IO_FLAGS2_NOCLOSE flag.
60224         (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
60225         If _IO_file_open didn't set FD_CLOEXEC do it after the call.
60226         * libio/oldfileops.c (_IO_old_file_close_it): Handle new
60227         _IO_FLAGS2_NOCLOSE flag.
60228         * include/unistd.h: Add hidden_proto for dup3.
60229         Define __have_dup3.
60230         * io/dup3.c: Define hidden symbol.
60231         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
60233         [BZ #7101]
60234         * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
60235         when an incomplete long option is used.
60236         * posix/tst-getopt_long1.c: New file.
60237         * posix/Makefile (tests): Add tst-getopt_long1.
60239         [BZ #10138]
60240         * scripts/config.guess: Update from autoconf-2.68.
60241         * scripts/config.sub: Likewise.
60243         [BZ #10157]
60244         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
60245         tests into ...
60246         (has_cpuclock): ...this.  New function.
60247         * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
60248         macro here based on has_cpuclock code.
60250         [BZ #10149]
60251         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
60252         First byte (not low byte) is now always NUL.
60253         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
60255         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
60256         Use non-cancelable interfaces.
60258         [BZ #9809]
60259         * locale/iso-639.def: Add entry for Sorani.
60261         [BZ #11901]
60262         * include/stdlib.h: Move include protection to the right place.
60263         Define abort_msg_s.  Declare __abort_msg with it.
60264         * stdlib/abort.c (__abort_msg): Adjust type.
60265         * assert/assert.c (__assert_fail_base): New function.  Majority
60266         of code from __assert_fail.  Allocate memory for __abort_msg with
60267         mmap.
60268         (__assert_fail): Now call __assert_fail_base.
60269         * assert/assert-perr.c: Remove bulk of implementation.  Use
60270         __assert_fail_base.
60271         * include/assert.hL Declare __assert_fail_base.
60272         * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
60273         mmap.
60274         * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
60276 2011-05-14  Ulrich Drepper  <drepper@gmail.com>
60278         [BZ #11952]
60279         [BZ #12453]
60280         * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
60281         until all modules are registered in the DTV.
60282         * elf/Makefile: Add rules to build and run tst-tls19.
60283         * elf/tst-tls19.c: New file.
60284         * elf/tst-tls19mod1.c: New file.
60285         * elf/tst-tls19mod2.c: New file.
60286         * elf/tst-tls19mod3.c: New file.
60287         Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
60289         [BZ #12083]
60290         * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
60291         correctly.
60293         [BZ #12601]
60294         * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
60295         two-byte sequence errors.
60296         * iconvdata/Makefile (tests): Add bug-iconv8.
60297         * iconvdata/bug-iconv8.c: New file.
60299         [BZ #12626]
60300         * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
60301         buf2 definition.
60303         * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
60305         [BZ #12432]
60306         * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
60307         (dummy_getcfa): New function.
60308         (init): Get _Unwind_GetCFA address, use dummy if not found.
60309         (backtrace_helper): In recursion check, also check whether CFA changes.
60310         (__backtrace): Completely initialize arg.
60312         * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
60313         storing incomplete byte sequence in state object.  Avoid testing for
60314         guaranteed too small input if we know there is enough data available.
60316 2011-05-11  Andreas Schwab  <schwab@redhat.com>
60318         * Makeconfig (+link-pie): Indent.
60319         * Rules (binaries-pie): Define if $(have-fpie) and
60320         $(build-shared).
60321         (binaries-shared): Also filter out $(binaries-pie).
60322         ($(addprefix $(objpfx),$(binaries-pie))): New rule.
60323         * nscd/Makefile (others-pie): Add nscd.
60324         (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
60325         ($(objpfx)nscd): Remove command override.
60326         * login/Makefile (others-pie): Add pt_chown.
60327         ($(objpfx)pt_chown): Remove command override.
60328         * elf/Makefile: Add PIE tests to tests and tests-pie variables and
60329         remove command overrides.
60331 2011-05-13  Ulrich Drepper  <drepper@gmail.com>
60333         * libio/tst_putwc.c: Fix error messages.
60335         [BZ #12724]
60336         * libio/fileops.c (_IO_new_file_close_it): Always flush when
60337         currently writing and seek to current position when not.
60338         * libio/Makefile (tests): Add bug-fclose1.
60339         * libio/bug-fclose1.c: New file.
60341 2011-05-12  Ulrich Drepper  <drepper@gmail.com>
60343         [BZ #12511]
60344         * elf/dl-lookup.c (enter): Don't test for copy relocation here and
60345         don't set DF_1_NODELETE here.
60346         (do_lookup_x): When entering new entry test for copy relocation
60347         and if necessary set DF_1_NODELETE flag.
60348         * elf/tst-unique4.cc: New file.
60349         * elf/tst-unique4.h: New file.
60350         * elf/tst-unique4lib.cc: New file.
60351         * elf/Makefile: Add rules to build and run tst-unique4.
60352         Patch by Piotr Bury <pbury@goahead.com>.
60354 2011-05-11  Ulrich Drepper  <drepper@gmail.com>
60356         [BZ #12052]
60357         * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
60359         [BZ #12625]
60360         * misc/mntent_r.c (addmntent): Flush the stream after the output
60362         [BZ #12393]
60363         * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
60364         (is_trusted_path_normalize): Skip initial colon.  Append slash
60365         to empty buffer.  Duplicate is_trusted_path code but allow
60366         constructed patch to be prefix.
60367         (is_dst): Allow $ORIGIN followed by /.
60368         (_dl_dst_substitute): Correct clearing of check_for_trusted.
60369         Correct testing of result of is_trusted_path_normalize
60370         (decompose_rpath): Fix warning.
60372 2011-05-10  Ulrich Drepper  <drepper@gmail.com>
60374         [BZ #11257]
60375         * grp/initgroups.c (internal_getgrouplist): When we found the service
60376         list through the initgroups entry in nsswitch.conf do not always
60377         continue on a successful lookup.  Don't always use the
60378         __nss_group_database value if it is set.
60379         * nss/nsswitch.conf (initgroups): Change action for successful db
60380         lookup to continue for compatibility.
60382 2011-05-09  Ulrich Drepper  <drepper@gmail.com>
60384         [BZ #11532]
60385         * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
60386         and CP774 modules.
60387         * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
60388         and CP774 modules.
60389         * iconvdata/tst-tables.sh: Likewise.
60390         * iconvdata/cp770.c: New file.
60391         * iconvdata/cp771.c: New file.
60392         * iconvdata/cp772.c: New file.
60393         * iconvdata/cp773.c: New file.
60394         * iconvdata/cp774.c: New file.
60395         * iconvdata/testdata/CP770: New file.
60396         * iconvdata/testdata/CP770..UTF8: New file.
60397         * iconvdata/testdata/CP771: New file.
60398         * iconvdata/testdata/CP771..UTF8: New file.
60399         * iconvdata/testdata/CP772: New file.
60400         * iconvdata/testdata/CP772..UTF8: New file.
60401         * iconvdata/testdata/CP773: New file.
60402         * iconvdata/testdata/CP773..UTF8: New file.
60403         * iconvdata/testdata/CP774: New file.
60404         * iconvdata/testdata/CP774..UTF8: New file.
60406         * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
60407         END CHARMAP line.
60408         * iconvdata/gen-8bit-gap.sh: Likewise.
60409         * iconvdata/gen-8bit.sh: Likewise.
60411         * locale/iso-639.def: Add ary entry.
60413         [BZ #11258]
60414         * locale/C-translit.h.in: Add U20A1 transliteration.
60416         [BZ #12178]
60417         * locale/iso-639.def: Add wae entry.
60418         Patch by Kevin Bortis <bortis@translate-wae.ch>.
60420         [BZ #12545]
60421         * locale/programs/localedef.c (construct_output_path): Use ssize_t
60422         for n.
60424         [BZ #12711]
60425         * locale/C-translit.h.in: Add entry for U20B9.
60426         Patch by pravin.d.s@gmail.com.
60428 2011-05-08  Ulrich Drepper  <drepper@gmail.com>
60430         [BZ #12713]
60431         * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
60432         ENAMETOOLONG use generic getcwd.
60433         * sysdeps/posix/getcwd.c: Add support to use openat.  Make usable
60434         in rtld.  Use *stat64.
60435         * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
60436         Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
60437         * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
60438         * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
60439         * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
60440         * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
60441         * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
60442         __fstatat64 macros.
60443         * include/dirent.h: Add libc_hidden_proto for rewinddir.
60444         * dirent/rewinddir.c: Add libc_hidden_def.
60445         * sysdeps/mach/hurd/rewinddir.c: Likewise.
60446         * sysdeps/unix/rewinddir.c: Likewise.  Don't do locking outside libc.
60448         * include/dirent.h (__alloc_dir): Add flags parameter.
60449         * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
60450         * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
60451         __alloc_dir.
60452         (__alloc_dir): Take new parameter.  Don't call fcntl for invocations
60453         from fdopendir if O_CLOEXEC is already set.
60455 2011-03-15  Alan Modra  <amodra@gmail.com>
60457         * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
60458         l_tls_firstbyte_offset non-zero.  Save padding offset in
60459         l_tls_firstbyte_offset for later use.
60460         * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
60461         freeing static tls block.
60463 2011-03-05  Jonathan Nieder  <jrnieder@gmail.com>
60465         * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
60466         where #ifdef was intended.  The intent is to prevent ARG_MAX from
60467         being defined by the kernel headers.
60469 2011-05-07  Ulrich Drepper  <drepper@gmail.com>
60471         [BZ #12734]
60472         * resolv/resolv.h: Define RES_NOTLDQUERY.
60473         * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
60474         no-tld-query and set RES_NOTLDQUERY.
60475         * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
60476         * resolv/res_query.c (__libc_res_nsearch): Backport changes from
60477         modern BIND to search name as TLD unless forbidden.
60479 2011-05-07  Petr Baudis  <pasky@suse.cz>
60480             Ulrich Drepper  <drepper@gmail.com>
60482         [BZ #12393]
60483         * elf/dl-load.c (fillin_rpath): Move trusted path check...
60484         (is_trusted_path): ...to here.
60485         (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
60486         (_dl_dst_substitute): Verify expanded $ORIGIN path elements
60487         using is_trusted_path_normalize() in setuid scripts.
60489 2011-05-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
60491         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
60492         __BEGIN/__END_DECLS.
60494 2011-05-06  Ulrich Drepper  <drepper@gmail.com>
60496         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
60497         NSS_STATUS_NOTFOUND if no record was found.
60499 2011-05-05  Andreas Schwab  <schwab@redhat.com>
60501         * sunrpc/Makefile (headers): Add rpc/netdb.h.
60502         (headers-not-in-tirpc): Remove rpc/netdb.h
60503         * resolv/netdb.h: Revert last change.
60505 2011-05-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
60507         * Makeconfig (link-libc-static): Use --{start,end}-group to handle
60508         circular dependency between libgcc.a and libc.a.
60510 2011-05-05  Andreas Schwab  <schwab@redhat.com>
60512         * resolv/netdb.h: Don't include <rpc/netdb.h>.
60513         * nis/Makefile: Don't install rpcsvc/*.
60514         * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
60515         instead of <rpc/types.h>.
60516         (MAXHOSTNAMELEN): Define.
60518 2011-05-03  Andreas Schwab  <schwab@redhat.com>
60520         * elf/ldconfig.c (add_dir): Don't crash on empty path.
60522 2011-04-28  Maciej Babinski  <mbabinski@google.com>
60524         [BZ #12714]
60525         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
60526         gethostbyname4_r when IPv6 results are possible.
60528 2011-05-02  Ulrich Drepper  <drepper@gmail.com>
60530         [BZ #12723]
60531         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
60532         _PC_PIPE_BUF handling.
60534 2011-04-30  Bruno Haible  <bruno@clisp.org>
60536         [BZ #12717]
60537         * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
60538         * resolv/netdb.h (getnameinfo): Change type of flags parameter
60539         to 'int'.
60540         * inet/getnameinfo.c (getnameinfo): Likewise.
60542 2011-04-29  Ulrich Drepper  <drepper@gmail.com>
60544         * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
60545         to groups setting in database lookup.
60546         * nss/nsswitch.conf: Add initgroups entry.
60548 2011-04-22  Ulrich Drepper  <drepper@gmail.com>
60550         [BZ #12685]
60551         * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
60552         mode string.
60553         Patch by Eric Blake <eblake@redhat.com>.
60555 2011-04-20  H.J. Lu  <hongjiu.lu@intel.com>
60557         * sunrpc/Makefile (need-export-routines): Add svc_run.
60558         (routines): Remove svc_run.
60559         ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
60560         * sunrpc/clnt_perr.c (clnt_perrno): Export.
60561         * sunrpc/svc_run.c (svc_run): Likewise.
60562         * sunrpc/svc_udp.c (svcudp_create): Likewise.
60564 2011-04-21  Ulrich Drepper  <drepper@gmail.com>
60566         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
60567         problem in reallocation in last patch.
60569 2011-04-20  Ulrich Drepper  <drepper@gmail.com>
60571         * sunrpc/Makefile: Move inclusion of Rules.
60573 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
60575         * nss/nss_files/files-initgroups.c: New file.
60576         * nss/Makefile (libnss_files-routines): Add files-initgroups.
60577         * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
60578         _nss_files_initgroups_dyn.
60580 2011-03-31  Richard Sandiford  <richard.sandiford@linaro.org>
60582         * elf/elf.h (R_ARM_IRELATIVE): Define.
60584 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
60586         * po/ru.po: Update from translation team.
60588 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
60590         * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
60591         dependencies.
60593 2011-02-06  Mike Frysinger  <vapier@gentoo.org>
60595         [BZ #12653]
60596         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
60597         MEMCPY_CHK with USE_AS_BCOPY ifdef check.
60598         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
60599         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
60600         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
60602 2011-03-28  Andreas Schwab  <schwab@linux-m68k.org>
60604         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
60605         differing bytes.
60606         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
60607         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
60608         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
60610 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
60612         [BZ #12420]
60613         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
60614         storing it.
60615         * stdlib/bug-getcontext.c: New file.
60616         * stdlib/Makefile: Add rules to build and run bug-getcontext.
60618 2011-04-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
60620         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
60621         instructions into .machine "z9-109".
60622         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
60623         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
60625 2011-04-11  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
60627         * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
60628         between environment variables and auxiliary vector.
60630 2011-04-16  Ulrich Drepper  <drepper@gmail.com>
60632         * Makefile: Add rules to build linkobj/libc.so.
60633         * include/libc-symbols.h: Define libc_hidden_nolink.
60634         * include/rpc/auth.h: Mark functions which are to be hidden.
60635         * include/rpc/auth_des.h: Likewise.
60636         * include/rpc/auth_unix.h: Likewise.
60637         * include/rpc/clnt.h: Likewise.
60638         * include/rpc/des_crypt.h: Likewise.
60639         * include/rpc/key_prot.h: Likewise.
60640         * include/rpc/pmap_clnt.h: Likewise.
60641         * include/rpc/pmap_prot.h: Likewise.
60642         * include/rpc/pmap_rmt.h: Likewise.
60643         * include/rpc/rpc_msg.h: Likewise.
60644         * include/rpc/svc.h: Likewise.
60645         * include/rpc/svc_auth.h: Likewise.
60646         * include/rpc/xdr.h: Likewise.
60647         * nis/Makefile: Link all DSOs against linkobj/libc.so.
60648         * nss/Makefile: Likewise.
60649         * sunrpc/Makefile: Don't install headers.  Build library with normal
60650         entry points.  Don't build rpcinfo.  Link RPC tests appropriately.
60651         * sunrpc/auth_des.c: Hide exported symbols by default, export some
60652         for the compat linking library.  Remove use of INTDEF/INTUSE.
60653         * sunrpc/auth_none.c: Likewise.
60654         * sunrpc/auth_unix.c: Likewise.
60655         * sunrpc/authdes_prot.c: Likewise.
60656         * sunrpc/authuxprot.c: Likewise.
60657         * sunrpc/clnt_gen.c: Likewise.
60658         * sunrpc/clnt_perr.c: Likewise.
60659         * sunrpc/clnt_raw.c: Likewise.
60660         * sunrpc/clnt_simp.c: Likewise.
60661         * sunrpc/clnt_tcp.c: Likewise.
60662         * sunrpc/clnt_udp.c: Likewise.
60663         * sunrpc/clnt_unix.c: Likewise.
60664         * sunrpc/des_crypt.c: Likewise.
60665         * sunrpc/des_soft.c: Likewise.
60666         * sunrpc/get_myaddr.c: Likewise.
60667         * sunrpc/key_call.c: Likewise.
60668         * sunrpc/key_prot.c: Likewise.
60669         * sunrpc/netname.c: Likewise.
60670         * sunrpc/pm_getmaps.c: Likewise.
60671         * sunrpc/pm_getport.c: Likewise.
60672         * sunrpc/pmap_clnt.c: Likewise.
60673         * sunrpc/pmap_prot.c: Likewise.
60674         * sunrpc/pmap_prot2.c: Likewise.
60675         * sunrpc/pmap_rmt.c: Likewise.
60676         * sunrpc/publickey.c: Likewise.
60677         * sunrpc/rpc_cmsg.c: Likewise.
60678         * sunrpc/rpc_common.c: Likewise.
60679         * sunrpc/rpc_dtable.c: Likewise.
60680         * sunrpc/rpc_prot.c: Likewise.
60681         * sunrpc/rpc_thread.c: Likewise.
60682         * sunrpc/rtime.c: Likewise.
60683         * sunrpc/svc.c: Likewise.
60684         * sunrpc/svc_auth.c: Likewise.
60685         * sunrpc/svc_authux.c: Likewise.
60686         * sunrpc/svc_raw.c: Likewise.
60687         * sunrpc/svc_run.c: Likewise.
60688         * sunrpc/svc_simple.c: Likewise.
60689         * sunrpc/svc_tcp.c: Likewise.
60690         * sunrpc/svc_udp.c: Likewise.
60691         * sunrpc/svc_unix.c: Likewise.
60692         * sunrpc/svcauth_des.c: Likewise.
60693         * sunrpc/xcrypt.c: Likewise.
60694         * sunrpc/xdr.c: Likewise.
60695         * sunrpc/xdr_array.c: Likewise.
60696         * sunrpc/xdr_float.c: Likewise.
60697         * sunrpc/xdr_intXX_t.c: Likewise.
60698         * sunrpc/xdr_mem.c: Likewise.
60699         * sunrpc/xdr_rec.c: Likewise.
60700         * sunrpc/xdr_ref.c: Likewise.
60701         * sunrpc/xdr_sizeof.c: Likewise.
60702         * sunrpc/xdr_stdio.c: Likewise.
60704 2011-04-10  Ulrich Drepper  <drepper@gmail.com>
60706         [BZ #12650]
60707         * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
60708         * sysdeps/ia64/dl-tls.h: Likewise.
60709         * sysdeps/powerpc/dl-tls.h: Likewise.
60710         * sysdeps/s390/dl-tls.h: Likewise.
60711         * sysdeps/sh/dl-tls.h: Likewise.
60712         * sysdeps/sparc/dl-tls.h: Likewise.
60713         * sysdeps/x86_64/dl-tls.h: Likewise.
60714         * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
60716 2011-03-14  Andreas Schwab  <schwab@redhat.com>
60718         * elf/dl-load.c (_dl_dst_substitute): When skipping the first
60719         rpath element also skip the following colon.
60720         (expand_dynamic_string_token): Add is_path parameter and pass
60721         down to DL_DST_REQUIRED and _dl_dst_substitute.
60722         (decompose_rpath): Call expand_dynamic_string_token with
60723         non-zero is_path.  Ignore empty rpaths.
60724         (_dl_map_object_from_fd): Call expand_dynamic_string_token
60725         with zero is_path.
60727 2011-04-08  Andreas Schwab  <schwab@linux-m68k.org>
60729         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
60730         Make cancelable.
60732 2011-04-09  Ulrich Drepper  <drepper@gmail.com>
60734         [BZ #12655]
60735         * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
60736         Patch by Filipe David Manana <fdmanana@apache.org>.
60738 2011-04-07  Andreas Schwab  <schwab@redhat.com>
60740         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
60741         Maintain aligned stack.
60742         (CHECK_RSP): Remove unused macro.
60744 2011-04-03  Ulrich Drepper  <drepper@gmail.com>
60746         * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
60747         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
60749 2011-04-02  Ulrich Drepper  <drepper@gmail.com>
60751         * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
60753         * include/features.h: Mention __USE_XOPEN2K8 in comment.
60755 2011-03-26  H.J. Lu  <hongjiu.lu@intel.com>
60757         [BZ #12518]
60758         * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
60759         * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
60760         * sysdeps/x86_64/memmove.c: New file.
60761         * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
60762         (memcpy): Renamed to ...
60763         (__new_memcpy): This.
60764         (memcpy): Provide GLIBC_2_14 memcpy.
60765         * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
60766         (memcpy): Provide GLIBC_2_2_5 memcpy.
60768 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
60770         [BZ #12631]
60771         * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
60773 2011-03-30  Andreas Schwab  <schwab@redhat.com>
60775         * misc/syncfs.c: New file.
60776         * misc/Makefile (routines): Add syncfs.
60777         * posix/unistd.h: Declare syncfs.
60778         * sysdeps/unix/syscalls.list: Add syncfs.
60780 2011-04-01  Andreas Schwab  <schwab@redhat.com>
60782         * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
60783         open_by_handle_at.
60784         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
60785         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
60786         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
60787         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
60788         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
60789         * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
60790         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
60792 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
60794         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
60795         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
60796         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
60797         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
60798         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
60799         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
60800         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
60802         * io/Makefile: Compile fallocate.c, fallocate64.c, and
60803         sync_file_range.c with -fexceptions.
60804         * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
60805         * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
60806         * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
60807         * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
60808         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
60809         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
60810         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
60811         sync_file_range as cancellation point
60812         * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file.  This is
60813         now a wrapper around __call_sync_file_range with cancellation handling.
60814         * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
60815         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this.  Change
60816         function name to __call_sync_file_range.
60817         * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
60818         Add call_sync_file_range.
60820 2011-04-01  Andreas Schwab  <schwab@redhat.com>
60822         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
60823         bits/timex.h.
60825 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
60827         * iconv/iconv.h: Fix typo in comment.
60828         * io/fcntl.h: Likewise.
60829         * libio/stdio.h: Likewise.
60830         * posix/spawn.h: Likewise.
60831         * posix/unistd.h: Likewise.
60832         * stdlib/stdlib.h: Likewise.
60833         * time/time.h: Likewise.
60834         * wcsmbs/wchar.h: Likewise.
60836         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
60837         open_by_handle): Add.
60838         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
60839         and MAX_HANDLE_SZ.  Declare name_to_handle_at and open_by_handle.
60840         Augment a few comments.
60841         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
60842         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
60843         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
60844         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
60845         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
60846         * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
60847         open_by_handle.
60849         * io/fcntl.h (AT_EMPTY_PATH): Define.
60851 2011-03-30  Ulrich Drepper  <drepper@gmail.com>
60853         * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
60854         * sysdeps/unix/sysv/linux/bits/time.h: New file.
60855         * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
60856         to...
60857         * sysdeps/unix/sysv/linux/bits/timex.h: ...here.  New file.
60858         * Versions.def: Add GLIBC_2.14.
60859         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
60860         Export.
60862 2011-03-22  Ulrich Drepper  <drepper@gmail.com>
60864         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
60865         round counter.
60866         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
60868 2011-03-20  H.J. Lu  <hongjiu.lu@intel.com>
60870         [BZ #12597]
60871         * string/test-strncmp.c (do_page_test): New function.
60872         (check2): Likewise.
60873         (test_main): Call check2.
60874         * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
60876 2011-03-20  Ulrich Drepper  <drepper@gmail.com>
60878         [BZ #12587]
60879         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
60880         Handle cache information in CPU leaf 4.
60881         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
60883 2011-03-18  Ulrich Drepper  <drepper@gmail.com>
60885         [BZ #12583]
60886         * posix/fnmatch.c (fnmatch): Check size of pattern in wide
60887         character representation.
60888         Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
60890 2011-03-16  Ryan S. Arnold  <rsa@us.ibm.com>
60892         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
60893         END(__isnan) to END(__isnanf) to match function entry point/label
60894         EALIGN(__isnanf,...).
60896 2011-03-10  Jakub Jelinek  <jakub@redhat.com>
60898         * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
60900 2011-03-10  Ulrich Drepper  <drepper@gmail.com>
60902         [BZ #12510]
60903         * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
60904         copy from the symbol referenced in the relocation to initialize the
60905         used variable.
60906         Patch by Piotr Bury <pbury@goahead.com>.
60907         * elf/Makefile: Add rules to build and tst-unique3.
60908         * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
60909         * elf/tst-unique3.cc: New file.
60910         * elf/tst-unique3.h: New file.
60911         * elf/tst-unique3lib.cc: New file.
60912         * elf/tst-unique3lib2.cc: New file.
60914         * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
60916 2011-03-10  Mike Frysinger  <vapier@gentoo.org>
60918         * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
60919         $LDFLAGS and -nostdlib -nostartfiles to linking step.  Change main
60920         to _start.
60922 2011-03-06  Ulrich Drepper  <drepper@gmail.com>
60924         * elf/dl-load.c (_dl_map_object): If we are looking for the first
60925         to-be-loaded object along a path to loader is ld.so.
60927 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
60928             Ulrich Drepper  <drepper@gmail.com>
60930         * sysdeps/x86_64/memset.S: After aligning destination, code
60931         branches to different locations depending on the value of
60932         misalignment, when multiarch is enabled. Fix this.
60934 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
60936         * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
60937         Set _x86_64_preferred_memory_instruction for AMD processsors.
60938         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
60939         Set bit_Prefer_SSE_for_memop for AMD processors.
60941 2011-03-04  Ulrich Drepper  <drepper@gmail.com>
60943         * libio/fmemopen.c (fmemopen): Optimize a bit.
60945 2011-03-03  Andreas Schwab  <schwab@redhat.com>
60947         * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
60949 2011-03-03  Roland McGrath  <roland@redhat.com>
60951         * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
60953 2011-02-28  Aurelien Jarno  <aurelien@aurel32.net>
60955         * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
60956         __bzero_ultra1 instead of __memset_ultra1.
60958 2011-02-23  Andreas Schwab  <schwab@redhat.com>
60959             Ulrich Drepper  <drepper@gmail.com>
60961         [BZ #12509]
60962         * include/link.h (struct link_map): Add l_orig_initfini.
60963         * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
60964         returning unsuccessfully.
60965         * elf/dl-close.c (_dl_close_worker): If this is the last explicit
60966         close of a file loaded at startup, restore the original l_initfini
60967         list.
60968         * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
60969         list, store the pointer.
60970         * elf/Makefile ($(objpfx)noload-mem): New rule.
60971         (noload-ENV): Define.
60972         (tests): Add $(objpfx)noload-mem.
60973         * elf/noload.c: Include <memcheck.h>.
60974         (main): Call mtrace.  Close all opened handles.
60976 2011-02-17  Andreas Schwab  <schwab@redhat.com>
60978         [BZ #12454]
60979         * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
60980         dependencies are missing.
60982 2011-02-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
60984         Fix __if_freereq crash: Unlike the generic version which uses free,
60985         Hurd needs munmap.
60986         * sysdeps/mach/hurd/ifreq.h: New file.
60988 2011-01-27  Petr Baudis  <pasky@suse.cz>
60989             Ulrich Drepper  <drepper@gmail.com>
60991         [BZ 12445]#
60992         * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
60993         to extend_alloca().
60994         * stdio-common/bug23.c: New file.
60995         * stdio-common/Makefile (tests): Add bug23.
60997 2010-09-28  Andreas Schwab  <schwab@redhat.com>
60998             Ulrich Drepper  <drepper@gmail.com>
61000         [BZ #12489]
61001         * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
61002         before performing relro protection.  At old place add assertion
61003         to make sure nothing changed.
61005 2011-02-17  Nathan Sidwell  <nathan@codesourcery.com>
61006             Glauber de Oliveira Costa  <glommer@gmail.com>
61008         * elf/elf.h: Add new ARM TLS relocs.
61010 2011-02-16  Ryan S. Arnold  <rsa@us.ibm.com>
61012         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
61013         (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
61014         cast from r3.
61015         * sysdeps/wordsize-64/Makefile: New file.  Add tst-writev to
61016         'tests' variable.
61017         * sysdeps/wordsize-64/tst-writev.c: New file.
61019 2011-02-15  Ryan S. Arnold  <rsa@us.ibm.com>
61021         * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
61022         -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
61023         insns in _dl_start to prevent a TOC reference before relocs are
61024         resolved.
61026 2011-02-15  Ulrich Drepper  <drepper@gmail.com>
61028         [BZ #12469]
61029         * Makeconfig: Remove RANLIB definition.
61030         * Makerules: Don't use RANLIB.
61031         * aclocal.m4: Remove ranlib test.
61032         * configure.in: No need to check for ranlib.
61033         * elf/rtld-Rules: Don't use RANLIB.
61035 2011-02-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
61037         * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
61038         protection macro.
61039         * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
61040         inclusion protection macro.
61042         * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
61043         SIGRTMIN and SIGRTMAX and print information in that case only when
61044         SIGRTMIN is defined.
61046 2011-02-11  Jakub Jelinek  <jakub@redhat.com>
61048         * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
61049         arginfo fn returning -1.
61051         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
61052         and thousands string is zero terminated.
61054 2011-02-03  Andreas Schwab  <schwab@redhat.com>
61056         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
61057         sysdeps/unix/sysv/linux/bits/socket.h.
61059 2011-01-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
61061         * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
61062         (__CPU_COUNT): Remove old macros.
61063         (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
61064         (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
61065         (__CPU_ALLOC, __CPU_FREE): Add macros.
61066         (__sched_cpualloc, __sched_cpufree): Add declarations.
61068 2011-02-05  Ulrich Drepper  <drepper@gmail.com>
61070         * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
61071         (struct datahead): Reuse 32 bits of the alignment for a TTL field.
61072         * nscd/aicache.c (addhstaiX): Return timeout of added value.
61073         (readdhstai): Return value of addhstaiX call.
61074         * nscd/grpcache.c (cache_addgr): Return timeout of added value.
61075         (addgrbyX): Return value returned by cache_addgr.
61076         (readdgrbyname): Return value returned by addgrbyX.
61077         (readdgrbygid): Likewise.
61078         * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
61079         (addpwbyX): Return value returned by cache_addpw.
61080         (readdpwbyname): Return value returned by addhstbyX.
61081         (readdpwbyuid): Likewise.
61082         * nscd/servicescache.c (cache_addserv): Return timeout of added value.
61083         (addservbyX): Return value returned by cache_addserv.
61084         (readdservbyname): Return value returned by addservbyX:
61085         (readdservbyport): Likewise.
61086         * nscd/hstcache.c (cache_addhst): Return timeout of added value.
61087         (addhstbyX): Return value returned by cache_addhst.
61088         (readdhstbyname): Return value returned by addhstbyX.
61089         (readdhstbyaddr): Likewise.
61090         (readdhstbynamev6): Likewise.
61091         (readdhstbyaddrv6): Likewise.
61092         * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
61093         (readdinitgroups): Return value returned by addinitgroupsX.
61094         * nscd/cache.c (readdfcts): Change return value of functions to time_t.
61095         (prune_cache): Keep track of timeout value of re-added entries.
61096         * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
61097         * nscd/nscd.h: Adjust prototypes of readd* functions.
61099 2011-02-04  Roland McGrath  <roland@redhat.com>
61101         * nis/nis_server.c (nis_servstate): Use the right name for 0.
61102         (nis_stats): Likewise.
61103         * nis/nis_modify.c (nis_modify): Likewise.
61104         * nis/nis_remove.c (nis_remove): Likewise.
61105         * nis/nis_add.c (nis_add): Likewise.
61107         * elf/dl-object.c (_dl_new_object): Remove unused variable L.
61109         * posix/fnmatch_loop.c: Add some consts.
61111         * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
61113 2011-02-02  H.J. Lu  <hongjiu.lu@intel.com>
61115         [BZ #12460]
61116         * config.make.in (config-cflags-novzeroupper): Define.
61117         * configure.in: Substitute libc_cv_cc_novzeroupper.
61118         * elf/Makefile (AVX-CFLAGS): Define.
61119         (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
61120         (CFLAGS-tst-auditmod4a.c): Likewise.
61121         (CFLAGS-tst-auditmod4b.c): Likewise.
61122         (CFLAGS-tst-auditmod6b.c): Likewise.
61123         (CFLAGS-tst-auditmod6c.c): Likewise.
61124         (CFLAGS-tst-auditmod7b.c): Likewise.
61125         * sysdeps/i386/configure.in: Check -mno-vzeroupper.
61127 2011-02-02  Ulrich Drepper  <drepper@gmail.com>
61129         * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
61130         function to the callback.
61131         Patch partly by Jiri Olsa <jolsa@redhat.com>.
61133 2011-02-02  Andreas Schwab  <schwab@redhat.com>
61135         * shadow/sgetspent.c: Check return value of __sgetspent_r instead
61136         of errno.
61138 2011-01-19  Ulrich Drepper  <drepper@gmail.com>
61140         [BZ #11724]
61141         * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
61142         of constructors.
61143         * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
61144         of destructors.
61145         (_dl_fini): Don't call _dl_sort_fini if there is only one object.
61147         [BZ #11724]
61148         * elf/Makefile: Add rules to build and run new test.
61149         * elf/tst-initorder.c: New file.
61150         * elf/tst-initorder.exp: New file.
61151         * elf/tst-initordera1.c: New file.
61152         * elf/tst-initordera2.c: New file.
61153         * elf/tst-initordera3.c: New file.
61154         * elf/tst-initordera4.c: New file.
61155         * elf/tst-initorderb1.c: New file.
61156         * elf/tst-initorderb2.c: New file.
61157         * elf/tst-order-a1.c: New file.
61158         * elf/tst-order-a2.c: New file.
61159         * elf/tst-order-a3.c: New file.
61160         * elf/tst-order-a4.c: New file.
61161         * elf/tst-order-b1.c: New file.
61162         * elf/tst-order-b2.c: New file.
61163         * elf/tst-order-main.c: New file.
61164         New test case by George Gensure <werkt0@gmail.com>.
61166 2010-10-01  Andreas Schwab  <schwab@redhat.com>
61168         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
61169         decoding ACE if AI_CANONIDN.
61171 2011-01-18  Ulrich Drepper  <drepper@gmail.com>
61173         * elf/Makefile: Build IFUNC tests unless multi-arch = no.
61175 2011-01-17  Ulrich Drepper  <drepper@gmail.com>
61177         * version.h (RELEASE): Bump for 2.13 release.
61178         * include/features.h: (__GLIBC_MINOR__): Bump to 13.
61180         * io/fcntl.h: Define AT_NO_AUTOMOUNT.
61182         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
61183         MADV_NOHUGEPAGE.
61184         * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
61185         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
61186         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
61187         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
61188         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
61189         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
61191         * posix/getconf.c: Update copyright year.
61192         * catgets/gencat.c: Likewise.
61193         * csu/version.c: Likewise.
61194         * debug/catchsegv.sh: Likewise.
61195         * debug/xtrace.sh: Likewise.
61196         * elf/ldconfig.c: Likewise.
61197         * elf/ldd.bash.in: Likewise.
61198         * elf/sprof.c (print_version): Likewise.
61199         * iconv/iconv_prog.c: Likewise.
61200         * iconv/iconvconfig.c: Likewise.
61201         * locale/programs/locale.c: Likewise.
61202         * locale/programs/localedef.c: Likewise.
61203         * malloc/memusage.sh: Likewise.
61204         * malloc/mtrace.pl: Likewise.
61205         * nscd/nscd.c (print_version): Likewise.
61206         * nss/getent.c: Likewise.
61208         * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
61209         PF_CAIF, and PF_ALG.
61210         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
61212 2011-01-16  Andreas Schwab  <schwab@linux-m68k.org>
61214         * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
61215         (modules-names): Use them.
61216         (ifunc-test-modules, ifunc-pie-tests): Define.
61217         (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
61218         tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
61219         (test-extras): Likewise.
61220         ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
61221         $(compile-command.c).
61222         ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
61223         (all-built-dso): Define.
61224         (check-textrel.out, check-execstack.out): Depend on it.
61226         * configure.in: Don't override --enable-multi-arch.
61228 2011-01-15  Ulrich Drepper  <drepper@gmail.com>
61230         [BZ #6812]
61231         * nscd/hstcache.c (tryagain): Define.
61232         (cache_addhst): Return tryagain not notfound for temporary errors.
61233         (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
61234         failed.
61236 2011-01-14  Ulrich Drepper  <drepper@gmail.com>
61238         [BZ #10563]
61239         * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
61240         to make the syscall.
61241         * sysdeps/unix/sysv/linux/setgroups.c: New file.
61243         [BZ #12378]
61244         * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
61245         and fall back to matching as normal character if the string ends before
61246         the matching ']' is found.  This is what POSIX requires.
61247         * posix/testfnm.c: Adjust test result.
61248         * posix/globtest.sh: Adjust test result.  Add new test.
61249         * posix/tst-fnmatch.input: Likewise.
61250         * posix/tst-fnmatch2.c: Add new test.
61252 2010-12-28  Andreas Schwab  <schwab@linux-m68k.org>
61254         * elf/Makefile (check-execstack): Revert last change.  Depend on
61255         check-execstack.h.
61256         (check-execstack.h): New target.
61257         (generated): Add check-execstack.h.
61258         * elf/check-execstack.c: Include "check-execstack.h".
61259         (main): Revert last change.
61260         (handle_file): Return zero if GNU_STACK is absent and
61261         DEFAULT_STACK_PERMS doesn't include PF_X.
61263 2011-01-13  Ulrich Drepper  <drepper@gmail.com>
61265         * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
61266         in child fails because the descriptor is already closed.
61267         * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
61268         * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
61269         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
61271         [BZ #12397]
61272         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
61273         syscall.
61275         [BZ #10484]
61276         * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
61277         temporary buffer used to handle multi lookups locally.
61278         * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
61280 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
61282         * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
61283         loader is ld.so.
61285 2011-01-10  Paul Pluzhnikov  <ppluzhnikov@google.com>
61287         * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
61288         alignment for SSE2.
61290 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
61292         [BZ #12394]
61293         * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
61294         characters.  When rounding increased number of integer digits recompute
61295         number of groups.
61296         * stdio-common/tst-grouping.c: New file.
61297         * stdio-common/Makefile: Add rules to build and run tst-grouping.
61299 2011-01-09  Ulrich Drepper  <drepper@gmail.com>
61301         * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
61302         __FD_CLR, and __FS_ISSET.  gcc generates better code on its own.
61304         * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
61305         void.
61306         * bits/select.h: Likewise.
61308 2011-01-08  Ulrich Drepper  <drepper@gmail.com>
61310         * po/ja.po: Update from translation team.
61312 2011-01-04  David S. Miller  <davem@sunset.davemloft.net>
61314         [BZ #11155]
61315         * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
61316         implementation just like for lxstat, fxstatat, et al.
61318 2010-12-27  Jim Meyering  <meyering@redhat.com>
61320         [BZ #12348]
61321         * posix/regexec.c (build_trtable): Return failure indication upon
61322         calloc failure.  Otherwise, re_search_internal could infloop on OOM.
61324 2010-12-25  Ulrich Drepper  <drepper@gmail.com>
61326         [BZ #12201]
61327         * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
61328         * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
61329         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
61330         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
61332         [BZ #12207]
61333         * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
61335         [BZ #12204]
61336         * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
61337         * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
61339 2010-12-15  H.J. Lu  <hongjiu.lu@intel.com>
61341         * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
61342         * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
61343         script has SORT_BY_INIT_PRIORITY.
61344         * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
61345         NO_CTORS_DTORS_SECTIONS is defined.
61346         * elf/soinit.c: Likewise.
61347         * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
61348         NO_CTORS_DTORS_SECTIONS is defined.
61349         * sysdeps/mach/hurd/i386/init-first.c: Likewise.
61350         * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
61351         * sysdeps/sh/init-first.c: Likewise.
61352         * sysdeps/unix/sysv/linux/init-first.c: Likewise.
61354 2010-12-24  Ulrich Drepper  <drepper@gmail.com>
61356         * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
61357         always use the slow path.
61359 2010-12-15  Ryan S. Arnold  <rsa@us.ibm.com>
61361         * elf/Makefile: (check-execstack): Replace $(native-compile) with a
61362         similar rule which adds the sysdep directories to the header search in
61363         order to pick up the correct platform stackinfo.h.
61364         * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
61365         perform test if it is, otherwise return successfully without testing.
61366         * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
61367         DEFAULT_STACK_PERMS define in stackinfo.h.
61368         * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
61369         defined in stackinfo.h.
61370         * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
61371         DEFAULT_STACK_PERMS defined in stackinfo.h.
61372         * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
61373         * sysdeps/ia64/stackinfo.h: Likewise.
61374         * sysdeps/s390/stackinfo.h: Likewise.
61375         * sysdeps/sh/stackinfo.h: Likewise.
61376         * sysdeps/sparc/stackinfo.h: Likewise.
61377         * sysdeps/x86_64/stackinfo.h: Likewise.
61378         * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
61379         PF_X for powerpc64.  Retain PF_X for powerpc32.
61381 2010-12-19  Ulrich Drepper  <drepper@gmail.com>
61383         * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
61384         accurately.
61385         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
61386         GETDENTS_64BIT_ALIGNED.
61388 2010-12-14  Ulrich Drepper  <dreper@gmail.com>
61390         * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
61392 2010-12-10  Andreas Schwab  <schwab@redhat.com>
61394         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
61395         _GNU_SOURCE.
61397         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
61398         * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
61399         Remove __restrict.
61400         (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
61401         (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
61403 2010-12-09  Ulrich Drepper  <drepper@gmail.com>
61405         [BZ #11655]
61406         * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
61407         are initialized.
61409 2010-12-09  Jakub Jelinek  <jakub@redhat.com>
61411         * string/bits/string3.h (memmove, bcopy): Remove __restrict.
61413 2010-12-03  Ulrich Drepper  <drepper@gmail.com>
61415         * po/it.po: Update from translation team.
61417 2010-12-01  H.J. Lu  <hongjiu.lu@intel.com>
61419         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
61420         unused codes.
61422 2010-11-30  Ulrich Drepper  <drepper@gmail.com>
61424         * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
61426 2010-11-24  Andreas Schwab  <schwab@redhat.com>
61428         * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
61429         specially.
61430         (gaih_getanswer_slice): Likewise.
61432 2010-10-20  Jakub Jelinek  <jakub@redhat.com>
61434         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
61436 2010-05-31  Petr Baudis  <pasky@suse.cz>
61438         [BZ #11149]
61439         * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
61440         silently even in the chroot mode.
61442 2010-11-22  Ulrich Drepper  <drepper@gmail.com>
61444         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
61445         last patch a bit.  Pretty printing
61447 2010-05-31  Petr Baudis <pasky@suse.cz>
61449         [BZ #10085]
61450         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
61451         initialization of skip_initgroups_dyn.
61453 2010-11-19  Ulrich Drepper  <drepper@gmail.com>
61455         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
61456         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
61458 2010-11-16  Ulrich Drepper  <drepper@gmail.com>
61460         * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
61462 2010-11-11  Andreas Schwab  <schwab@redhat.com>
61464         * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
61465         * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
61466         (tst-fnmatch-ENV): Set MALLOC_TRACE.
61467         ($(objpfx)tst-fnmatch-mem): New rule.
61468         (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
61469         * posix/tst-fnmatch.c (main): Call mtrace.
61471 2010-11-11  H.J. Lu  <hongjiu.lu@intel.com>
61473         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
61474         Support Intel processor model 6 and model 0x2c.
61476 2010-11-10  Luis Machado  <luisgpm@br.ibm.com>
61478         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
61479           signed comparison.
61481 2010-11-09  H.J. Lu  <hongjiu.lu@intel.com>
61483         [BZ #12205]
61484         * string/test-strncasecmp.c (check_result): New function.
61485         (do_one_test): Use it.
61486         (check1): New function.
61487         (test_main): Use it.
61488         * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
61489         Support strcasecmp and strncasecmp.
61491 2010-11-08  Ulrich Drepper  <drepper@gmail.com>
61493         [BZ #12194]
61494         * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
61495         * sysdeps/x86_64/bits/byteswap.h: Likewise.
61497 2010-11-07  H.J. Lu  <hongjiu.lu@intel.com>
61499         * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
61500         IFUNC support.
61501         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
61502         memset-x86-64.
61503         * sysdeps/x86_64/multiarch/bzero.S: New file.
61504         * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
61505         * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
61506         * sysdeps/x86_64/multiarch/memset.S: New file.
61507         * sysdeps/x86_64/multiarch/memset_chk.S: New file.
61508         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
61509         Set bit_Prefer_SSE_for_memop for Intel processors.
61510         * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
61511         Define.
61512         (index_Prefer_SSE_for_memop): Define.
61513         (HAS_PREFER_SSE_FOR_MEMOP): Define.
61515 2010-11-04  Luis Machado  <luisgpm@br.ibm.com>
61517         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
61518         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
61520 2010-11-03  H.J. Lu  <hongjiu.lu@intel.com>
61522         [BZ #12191]
61523         * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
61524         (__x86_64_raw_data_cache_size_half): Likewise.
61525         (__x86_64_raw_shared_cache_size): Likewise.
61526         (__x86_64_raw_shared_cache_size_half): Likewise.
61528         * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
61529         (__x86_64_raw_data_cache_size_half): Likewise.
61530         (__x86_64_raw_shared_cache_size): Likewise.
61531         (__x86_64_raw_shared_cache_size_half): Likewise.
61532         (init_cacheinfo): Set __x86_64_raw_data_cache_size,
61533         __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
61534         and __x86_64_raw_shared_cache_size_half.  Round
61535         __x86_64_data_cache_size_half, __x86_64_data_cache_size
61536         __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
61537         to multiple of 256 bytes.
61539 2010-11-03  Ulrich Drepper  <drepper@gmail.com>
61541         [BZ #12167]
61542         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
61543         of inacessible symlinks.  Verify result of symlink before returning it.
61544         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
61545         Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
61547 2010-10-28  Erich Ritz  <erichritz@gmail.com>
61549         * math/math.h (isinf): Fix typo in comment.
61551 2010-11-01  Ulrich Drepper  <drepper@gmail.com>
61553         * po/da.po: Update from translation team.
61555 2010-10-26  Ulrich Drepper  <drepper@gmail.com>
61557         * elf/rtld.c (dl_main): Move assertion after the point where rtld map
61558         is added to the list.
61560 2010-10-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
61561             Ulrich Drepper  <drepper@gmail.com>
61563         * elf/dl-object.c (_dl_new_object): Don't append the new object to
61564         the global list here.  Move code to...
61565         (_dl_add_to_namespace_list): ...here.  New function.
61566         * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
61567         * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
61568         * elf/dl-load.c (lose): Don't remove the element from the list.
61569         (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
61570         (_dl_map_object): Likewise.
61572 2010-10-25  Ulrich Drepper  <drepper@gmail.com>
61574         [BZ #12159]
61575         * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
61576         into all bytes of SSE register.
61577         Patch by Richard Li <richardpku@gmail.com>.
61579 2010-10-24  Ulrich Drepper  <drepper@gmail.com>
61581         [BZ #12140]
61582         * malloc/malloc.c (_int_free): Fill correct number of bytes when
61583         perturbing.
61585 2010-10-20  Michael B. Brutman  <brutman@us.ibm.com>
61587         * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
61588         * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
61589         * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
61590         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
61591         * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
61592         submachine.
61593         * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
61595 2010-10-22  Andreas Schwab  <schwab@redhat.com>
61597         * include/dlfcn.h (__RTLD_SECURE): Define.
61598         * elf/dl-load.c (_dl_map_object): Remove preloaded parameter.  Use
61599         mode & __RTLD_SECURE instead.
61600         (open_path): Rename preloaded parameter to secure.
61601         * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
61602         * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
61603         * elf/dl-deps.c (openaux): Likewise.
61604         * elf/rtld.c (struct map_args): Remove is_preloaded.
61605         (map_doit): Don't use it.
61606         (dl_main): Likewise.
61607         (do_preload): Use __RTLD_SECURE instead of is_preloaded.
61608         (dlmopen_doit): Add __RTLD_SECURE to mode bits.
61610 2010-09-09  Andreas Schwab  <schwab@redhat.com>
61612         * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
61613         (sysd-rules-targets): Remove duplicates.
61614         * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
61615         rtld-%.$o dependency.
61617 2010-10-18  Andreas Schwab  <schwab@redhat.com>
61619         * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
61620         _dl_map_object do it.
61622 2010-10-19  Ulrich Drepper  <drepper@gmail.com>
61624         * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
61625         fast fma builtins, define the macros in the C99 standard.
61626         (FP_FAST_FMAF): Likewise.
61627         (FP_FAST_FMAL): Likewise.
61628         * sysdeps/x86_64/bits/mathdef.h: Likewise.
61630         * bits/mathdef.h: Update copyright year.
61631         * sysdeps/powerpc/bits/mathdef.h: Likewise.
61633 2010-10-19  Michael Meissner  <meissner@linux.vnet.ibm.com>
61635         * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
61636         builtins, define the macros in the C99 standard.
61637         (FP_FAST_FMAF): Likewise.
61638         (FP_FAST_FMAL): Likewise.
61639         * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
61640         multiply/add.
61641         (FP_FAST_FMAF): Likewise.
61643 2010-10-15  Jakub Jelinek  <jakub@redhat.com>
61645         [BZ #3268]
61646         * math/libm-test.inc (fma_test): Some new testcases.
61647         * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
61648         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
61649         y and infinite z.  Do multiplication by C already in long double.
61650         * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
61651         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
61652         y and infinite z.  Do bitwise or of inexact bit into u.d.
61653         * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
61654         * sysdeps/i386/fpu/s_fmaf.S: Removed.
61655         * sysdeps/i386/fpu/s_fma.S: Removed.
61656         * sysdeps/i386/fpu/s_fmal.S: Removed.
61658 2010-10-16  Jakub Jelinek  <jakub@redhat.com>
61660         [BZ #3268]
61661         * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
61662         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
61663         computation is not scheduled after fetestexcept.  Fix value
61664         of minimum denormal long double.
61666 2010-10-14  Jakub Jelinek  <jakub@redhat.com>
61668         [BZ #3268]
61669         * math/libm-test.inc (fma_test): Add some more tests.
61670         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
61671         correctly.
61673 2010-10-15  Andreas Schwab  <schwab@redhat.com>
61675         * scripts/data/localplt-s390-linux-gnu.data: New file.
61676         * scripts/data/localplt-s390x-linux-gnu.data: New file.
61678 2010-10-13  Jakub Jelinek  <jakub@redhat.com>
61680         [BZ #3268]
61681         * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
61682         * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
61683         instead of dbl-64.
61684         * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
61685         inlines.
61686         * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
61687         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
61688         if one of x and y is very large and the other is subnormal.
61689         * sysdeps/s390/fpu/s_fmaf.c: New file.
61690         * sysdeps/s390/fpu/s_fma.c: New file.
61691         * sysdeps/powerpc/fpu/s_fmaf.S: New file.
61692         * sysdeps/powerpc/fpu/s_fma.S: New file.
61693         * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
61694         * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
61695         * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
61697 2010-10-12  Jakub Jelinek  <jakub@redhat.com>
61699         [BZ #3268]
61700         * math/libm-test.inc (fma_test): Add some more fmaf tests, add
61701         fma tests.
61702         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
61703         * sysdeps/ieee754/dbl-64/s_fma.c: New file.
61704         * sysdeps/i386/i686/multiarch/s_fma.c: Include
61705         sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
61706         * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
61707         * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
61708         * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
61710 2010-10-12  Ulrich Drepper  <drepper@redhat.com>
61712         [BZ #12078]
61713         * posix/regcomp.c (parse_branch): One more memory leak plugged.
61714         * posix/bug-regex31.input: Add test case.
61716 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
61718         * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
61719         * posix/bug-regex31.input: New file.
61721         [BZ #12078]
61722         * posix/regcomp.c (parse_branch): Free memory when allocation failed.
61723         (parse_sub_exp): Fix last change, use postorder.
61725         * posix/bug-regex31.c: New file.
61726         * posix/Makefile: Add rules to build and run bug-regex31.
61728         * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
61730         [BZ #12078]
61731         * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
61733         [BZ #12108]
61734         * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
61735         to have entries in sys_siglist.
61737         [BZ #12093]
61738         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
61739         be NULL.
61741 2010-10-07  Jakub Jelinek  <jakub@redhat.com>
61743         [BZ #3268]
61744         * math/libm-test.inc (fma_test): Add 2 fmaf tests.
61745         * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
61746         * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
61747         sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
61748         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
61749         * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
61750         * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
61751         * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
61752         * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
61753         * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
61754         * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
61755         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
61756         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
61757         * math/ftestexcept.c (fetestexcept): Likewise.
61758         * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
61759         * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
61760         * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
61761         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
61762         * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
61763         * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
61764         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
61766 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
61768         [BZ #12107]
61769         * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
61770         newline.
61772 2010-10-06  Ulrich Drepper  <drepper@gmail.com>
61774         * string/bug-strstr1.c: New file.
61775         * string/Makefile: Add rules to build and run bug-strstr1.
61777 2010-10-05  Eric Blake  <eblake@redhat.com>
61779         [BZ #12092]
61780         * string/str-two-way.h (two_way_long_needle): Always clear memory
61781         when skipping input due to the shift table.
61783 2010-10-03  Ulrich Drepper  <drepper@gmail.com>
61785         [BZ #12005]
61786         * malloc/mcheck.c: Handle large requests.
61788         [BZ #12077]
61789         * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
61790         for strncmp and strncasecmp.
61791         * string/stratcliff.c: Add tests for strcmp and strncmp.
61792         * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
61794 2010-09-28  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
61796         * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
61797         __set_fpscr.
61799 2010-09-30  Andreas Jaeger  <aj@suse.de>
61801         * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
61802         (CGROUP_SUPER_MAGIC): Define.
61803         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
61804         Handle btrfs and cgroup file systems.
61805         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
61806         Likewise.
61808 2010-09-27  Luis Machado  <luisgpm@br.ibm.com>
61810         * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
61811         * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
61813 2010-09-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
61815         [BZ #12067]
61816         * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
61817         trying to locate the ELF header.
61819 2010-09-27  Andreas Schwab  <schwab@redhat.com>
61821         [BZ #11611]
61822         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
61823         Mask out sign-bit copies when constructing f_fsid.
61825 2010-09-24  Petr Baudis <pasky@suse.cz>
61827         * debug/stack_chk_fail_local.c: Add missing licence exception.
61828         * debug/warning-nop.c: Likewise.
61830 2010-09-15  Joseph Myers  <joseph@codesourcery.com>
61832         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
61833         implementing getdents64 using getdents syscall, set d_type if
61834         __ASSUME_GETDENTS32_D_TYPE.
61836 2010-09-16  Andreas Schwab  <schwab@redhat.com>
61838         * elf/dl-close.c (free_slotinfo, free_mem): Move to...
61839         * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
61841 2010-09-21  Ulrich Drepper  <drepper@redhat.com>
61843         [BZ #12037]
61844         * posix/unistd.h: Undo change of feature selection for ftruncate from
61845         2010-01-11.
61847 2010-09-20  Ulrich Drepper  <drepper@redhat.com>
61849         * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
61850         detection.
61852 2010-09-20  Andreas Schwab  <schwab@redhat.com>
61854         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
61855         fanotify_mark.
61856         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
61858 2010-09-14  Andreas Schwab  <schwab@redhat.com>
61860         * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
61861         variables after CHECK_SP call.
61862         * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
61864 2010-09-13  Andreas Schwab  <schwab@redhat.com>
61865             Ulrich Drepper  <drepper@redhat.com>
61867         * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
61868         re-relocationg ld.so.
61869         * elf/dl-support.c (_dl_non_dynamic_init): And here after the
61870         _dl_init_paths call.
61871         * elf/dl-load.c (_dl_init_paths).  Don't set GLRO(dl_init_all_dirs)
61872         here anymore.
61874 2010-09-14  Ulrich Drepper  <drepper@redhat.com>
61876         * resolv/res_init.c (__res_vinit): Count the default server we added.
61878 2010-09-08  Chung-Lin Tang  <cltang@codesourcery.com>
61879             Ulrich Drepper  <drepper@redhat.com>
61881         [BZ #11968]
61882         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
61883         (____longjmp_chk): Use %ebx for saving value across system call.
61884         Add unwind info.
61886 2010-09-06  Andreas Schwab  <schwab@redhat.com>
61888         * manual/Makefile: Don't mix pattern rules with normal rules.
61890 2010-09-05  Andreas Schwab  <schwab@linux-m68k.org>
61892         * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
61893         operation.
61894         * libio/iofdopen.c (_IO_new_fdopen): Likewise.
61895         * libio/iofopncook.c (_IO_cookie_init): Likewise.
61896         * libio/iovdprintf.c (_IO_vdprintf): Likewise.
61897         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
61898         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
61899         Likewise.
61901 2010-09-04  Ulrich Drepper  <drepper@redhat.com>
61903         [BZ #11979]
61904         * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
61905         IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
61907 2010-09-02  Ulrich Drepper  <drepper@redhat.com>
61909         * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
61910         * sysdeps/x86_64/addmul_1.S: Likewise.
61911         * sysdeps/x86_64/lshift.S: Likewise.
61912         * sysdeps/x86_64/mul_1.S: Likewise.
61913         * sysdeps/x86_64/rshift.S: Likewise.
61914         * sysdeps/x86_64/sub_n.S: Likewise.
61915         * sysdeps/x86_64/submul_1.S: Likewise.
61917 2010-09-01  Samuel Thibault  <samuel.thibault@ens-lyon.org>
61919         This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
61920         Define __sched_param instead of SCHED_* and sched_param when
61921         <bits/sched.h> is included with __need_schedparam defined.
61922         * bits/sched.h [__need_schedparam]
61923         (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
61924         [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
61925         (__defined_schedparam): Define to 1.
61926         (__sched_param): New structure, identical to sched_param.
61927         (__need_schedparam): Undefine.
61929 2010-08-31  Mike Frysinger  <vapier@gentoo.org>
61931         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
61932         (epoll_create1): Declare.
61934         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
61936 2010-08-31  Andreas Schwab  <schwab@redhat.com>
61938         [BZ #7066]
61939         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
61940         shifting retval into place.
61942 2010-09-01  Ulrich Drepper  <drepper@redhat.com>
61944         * nis/rpcsvc/nis.h: Update copyright notice.
61945         * nis/rpcsvc/nis.x: Likewise.
61946         * nis/rpcsvc/nis_callback.h: Likewise.
61947         * nis/rpcsvc/nis_callback.x: Likewise.
61948         * nis/rpcsvc/nis_object.x: Likewise.
61949         * nis/rpcsvc/nis_tags.h: Likewise.
61950         * nis/rpcsvc/yp.h: Likewise.
61951         * nis/rpcsvc/yp.x: Likewise.
61952         * nis/rpcsvc/ypupd.h: Likewise.
61953         * nis/yp_xdr.c: Likewise.
61954         * nis/ypupdate_xdr.c: Likewise.
61956         * sunrpc/pm_getport.c (__libc_rpc_getport): New function.  This is
61957         mainly the body of pmap_getport.  Add parameters to specify timeouts.
61958         (pmap_getport): Use __libc_rpc_getport.
61959         * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
61960         * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
61961         * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
61963 2010-08-31  Andreas Schwab  <schwab@linux-m68k.org>
61965         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
61966         fanotify_mark.
61968 2010-08-27  Roland McGrath  <roland@redhat.com>
61970         * sysdeps/i386/i686/multiarch/Makefile
61971         (CFLAGS-varshift.c): New variable.
61973 2010-08-27  Ulrich Drepper  <drepper@redhat.com>
61975         * sysdeps/i386/i686/multiarch/varshift.S: File removed.
61976         * sysdeps/i386/i686/multiarch/varshift.c: New file.
61978         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
61980         * sysdeps/x86_64/strlen.S: Minimal code improvement.
61982 2010-08-26  H.J. Lu  <hongjiu.lu@intel.com>
61984         * sysdeps/x86_64/strlen.S: Unroll the loop.
61985         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
61986         strlen-sse2 strlen-sse2-bsf.
61987         * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
61988         __strlen_no_bsf if bit_Slow_BSF is set.
61989         (__strlen_sse42): Removed.
61990         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
61991         * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
61993 2010-08-25  Roland McGrath  <roland@redhat.com>
61995         * sysdeps/x86_64/multiarch/varshift.S: File removed.
61996         * sysdeps/x86_64/multiarch/varshift.c: New file.
61997         * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
61998         * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
61999         * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
62000         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
62002 2010-08-25  H.J. Lu  <hongjiu.lu@intel.com>
62004         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
62005         strlen-sse2 strlen-sse2-bsf.
62006         * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
62007         __strlen_sse2_bsf if bit_Slow_BSF is unset.
62008         (__strlen_sse2): Removed.
62009         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
62010         * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
62011         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
62012         bit_Slow_BSF for Atom.
62013         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
62014         (index_Slow_BSF): Define.
62015         (HAS_SLOW_BSF): Define.
62017 2010-08-25  Ulrich Drepper  <drepper@redhat.com>
62019         [BZ #10851]
62020         * resolv/res_init.c (__res_vinit): When no server address at all
62021         is given default to loopback.
62023 2010-08-24  Roland McGrath  <roland@redhat.com>
62025         * configure.in: Remove config-name.h generation.
62026         * configure: Regenerated.
62027         * config-name.in: File removed.
62028         * scripts/config-uname.sh: New file.
62029         * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
62030         ($(objdir)config-name.h): New target.
62032         * sunrpc/rpc_parse.h: Avoid nested comment.
62034 2010-08-24  Richard Henderson  <rth@redhat.com>
62035             Ulrich Drepper  <drepper@redhat.com>
62036             H.J. Lu  <hongjiu.lu@intel.com>
62038         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
62039         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
62040         * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
62041         Replace _mm_srli_si128 with __m128i_shift_right.  Replace
62042         _mm_alignr_epi8 with _mm_loadu_si128.
62043         * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
62044         * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
62045         (__m128i_shift_right): Removed.
62046         * sysdeps/i386/i686/multiarch/varshift.h: New file.
62047         * sysdeps/i386/i686/multiarch/varshift.S: New file.
62048         * sysdeps/x86_64/multiarch/varshift.h: New file.
62049         * sysdeps/x86_64/multiarch/varshift.S: New file.
62051 2010-08-21  Mike Frysinger  <vapier@gentoo.org>
62053         * configure.in: Move assembler checks to before sysdep dir checking.
62055 2010-08-20  Petr Baudis  <pasky@suse.cz>
62057         * LICENSES: Sync the sunrpc license.
62059 2010-08-19  Ulrich Drepper  <drepper@redhat.com>
62061         * sunrpc/auth_des.c: Update copyright notice once again.
62062         * sunrpc/auth_none.c: Likewise.
62063         * sunrpc/auth_unix.c: Likewise.
62064         * sunrpc/authdes_prot.c: Likewise.
62065         * sunrpc/authuxprot.c: Likewise.
62066         * sunrpc/bindrsvprt.c: Likewise.
62067         * sunrpc/clnt_gen.c: Likewise.
62068         * sunrpc/clnt_perr.c: Likewise.
62069         * sunrpc/clnt_raw.c: Likewise.
62070         * sunrpc/clnt_simp.c: Likewise.
62071         * sunrpc/clnt_tcp.c: Likewise.
62072         * sunrpc/clnt_udp.c: Likewise.
62073         * sunrpc/clnt_unix.c: Likewise.
62074         * sunrpc/des_crypt.c: Likewise.
62075         * sunrpc/des_soft.c: Likewise.
62076         * sunrpc/get_myaddr.c: Likewise.
62077         * sunrpc/getrpcport.c: Likewise.
62078         * sunrpc/key_call.c: Likewise.
62079         * sunrpc/key_prot.c: Likewise.
62080         * sunrpc/openchild.c: Likewise.
62081         * sunrpc/pm_getmaps.c: Likewise.
62082         * sunrpc/pm_getport.c: Likewise.
62083         * sunrpc/pmap_clnt.c: Likewise.
62084         * sunrpc/pmap_prot.c: Likewise.
62085         * sunrpc/pmap_prot2.c: Likewise.
62086         * sunrpc/pmap_rmt.c: Likewise.
62087         * sunrpc/rpc/auth.h: Likewise.
62088         * sunrpc/rpc/auth_unix.h: Likewise.
62089         * sunrpc/rpc/clnt.h: Likewise.
62090         * sunrpc/rpc/des_crypt.h: Likewise.
62091         * sunrpc/rpc/key_prot.h: Likewise.
62092         * sunrpc/rpc/netdb.h: Likewise.
62093         * sunrpc/rpc/pmap_clnt.h: Likewise.
62094         * sunrpc/rpc/pmap_prot.h: Likewise.
62095         * sunrpc/rpc/pmap_rmt.h: Likewise.
62096         * sunrpc/rpc/rpc.h: Likewise.
62097         * sunrpc/rpc/rpc_des.h: Likewise.
62098         * sunrpc/rpc/rpc_msg.h: Likewise.
62099         * sunrpc/rpc/svc.h: Likewise.
62100         * sunrpc/rpc/svc_auth.h: Likewise.
62101         * sunrpc/rpc/types.h: Likewise.
62102         * sunrpc/rpc/xdr.h: Likewise.
62103         * sunrpc/rpc_clntout.c: Likewise.
62104         * sunrpc/rpc_cmsg.c: Likewise.
62105         * sunrpc/rpc_common.c: Likewise.
62106         * sunrpc/rpc_cout.c: Likewise.
62107         * sunrpc/rpc_dtable.c: Likewise.
62108         * sunrpc/rpc_hout.c: Likewise.
62109         * sunrpc/rpc_main.c: Likewise.
62110         * sunrpc/rpc_parse.c: Likewise.
62111         * sunrpc/rpc_parse.h: Likewise.
62112         * sunrpc/rpc_prot.c: Likewise.
62113         * sunrpc/rpc_sample.c: Likewise.
62114         * sunrpc/rpc_scan.c: Likewise.
62115         * sunrpc/rpc_scan.h: Likewise.
62116         * sunrpc/rpc_svcout.c: Likewise.
62117         * sunrpc/rpc_tblout.c: Likewise.
62118         * sunrpc/rpc_util.c: Likewise.
62119         * sunrpc/rpc_util.h: Likewise.
62120         * sunrpc/rpcinfo.c: Likewise.
62121         * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
62122         * sunrpc/rpcsvc/key_prot.x: Likewise.
62123         * sunrpc/rpcsvc/klm_prot.x: Likewise.
62124         * sunrpc/rpcsvc/mount.x: Likewise.
62125         * sunrpc/rpcsvc/nfs_prot.x: Likewise.
62126         * sunrpc/rpcsvc/nlm_prot.x: Likewise.
62127         * sunrpc/rpcsvc/rex.x: Likewise.
62128         * sunrpc/rpcsvc/rstat.x: Likewise.
62129         * sunrpc/rpcsvc/rusers.x: Likewise.
62130         * sunrpc/rpcsvc/sm_inter.x: Likewise.
62131         * sunrpc/rpcsvc/spray.x: Likewise.
62132         * sunrpc/rpcsvc/yppasswd.x: Likewise.
62133         * sunrpc/rtime.c: Likewise.
62134         * sunrpc/svc.c: Likewise.
62135         * sunrpc/svc_auth.c: Likewise.
62136         * sunrpc/svc_authux.c: Likewise.
62137         * sunrpc/svc_raw.c: Likewise.
62138         * sunrpc/svc_run.c: Likewise.
62139         * sunrpc/svc_simple.c: Likewise.
62140         * sunrpc/svc_tcp.c: Likewise.
62141         * sunrpc/svc_udp.c: Likewise.
62142         * sunrpc/svc_unix.c: Likewise.
62143         * sunrpc/svcauth_des.c: Likewise.
62144         * sunrpc/xcrypt.c: Likewise.
62145         * sunrpc/xdr.c: Likewise.
62146         * sunrpc/xdr_array.c: Likewise.
62147         * sunrpc/xdr_float.c: Likewise.
62148         * sunrpc/xdr_mem.c: Likewise.
62149         * sunrpc/xdr_rec.c: Likewise.
62150         * sunrpc/xdr_ref.c: Likewise.
62151         * sunrpc/xdr_sizeof.c: Likewise.
62152         * sunrpc/xdr_stdio.c: Likewise.
62154         * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
62155         handling.
62157 2010-08-19  Andreas Schwab  <schwab@redhat.com>
62159         * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
62161 2010-08-19  Luis Machado  <luisgpm@br.ibm.com>
62163         * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
62164         * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
62165         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
62166         * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
62167         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
62168         * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
62169         * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
62170         * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
62171         * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
62172         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
62173         * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
62174         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
62175         * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
62176         * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
62178 2010-07-26  Anton Blanchard  <anton@samba.org>
62180         * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
62181         * malloc/arena.c (heap_trim): Likewise.
62183 2010-08-16  Ulrich Drepper  <drepper@redhat.com>
62185         * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
62186         here.  Not...
62187         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
62188         * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
62190 2010-08-12  H.J. Lu  <hongjiu.lu@intel.com>
62192         * sysdeps/i386/elf/Makefile: New file.
62194 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
62196         * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
62197         from fanotify_init.
62198         * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
62199         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
62201 2010-08-15  Ulrich Drepper  <drepper@redhat.com>
62203         * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
62204         of strncasecmp_l.
62205         * sysdeps/multiarch/strcmp.S: Likewise.
62207 2010-08-14  Ulrich Drepper  <drepper@redhat.com>
62209         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
62210         strncase_l-nonascii.
62211         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
62212         Add strncase_l-ssse3.
62213         * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
62214         * sysdeps/x86_64/strcmp.S: Likewise.
62215         * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
62216         * sysdeps/x86_64/multiarch/strncase_l.S: New file.
62217         * sysdeps/x86_64/strncase.S: New file.
62218         * sysdeps/x86_64/strncase_l-nonascii.c: New file.
62219         * sysdeps/x86_64/strncase_l.S: New file.
62220         * string/Makefile (strop-tests): Add strncasecmp.
62221         * string/test-strncasecmp.c: New file.
62223         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
62224         warning.
62226         * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
62227         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
62229 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
62231         * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
62233 2010-08-12  Ulrich Drepper  <drepper@redhat.com>
62235         * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
62236         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
62237         * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
62239 2010-05-01  Alan Modra  <amodra@gmail.com>
62241         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
62242         * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
62243         * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
62244         * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
62245         * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
62246         tidying.  Don't tail-call __sigjmp_save for static lib.
62247         * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
62248         save location.
62249         (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
62250         (CALL_MCOUNT): Add eh info, and nop after bl.
62251         (TAIL_CALL_SYSCALL_ERROR): New macro.
62252         (PSEUDO_RET): Use it.
62253         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
62254         Correct save location of integer regs and cr.
62255         (_dl_profile_resolve): Correct cr save location.  Delete nops
62256         after bl when SHARED.  Reduce cfi size a little by better
62257         placement of cfi directives.
62258         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
62259         make a stack frame.  Instead use parm save area as a temp.
62260         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
62261         make a stack frame.  Use TAIL_CALL_SYSCALL_ERROR.
62262         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
62263         Don't make a stack frame for parent, use parm save area.
62264         Increase child stack frame to 112 bytes.  Don't save unused reg,
62265         and adjust reg usage.  Set up cfi on error recovery and
62266         epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
62267         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
62268         (__makecontext): Add dummy nop after jump to exit.
62269         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
62270         Use correct parm save area and cr save, reduce stack frame.
62271         Correct cfi for possible PSEUDO_RET frame setup.
62272         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
62273         Branch to local label emitted by PSEUDO_RET rather than
62274         __syscall_error.
62276 2010-08-12  Andreas Schwab  <schwab@redhat.com>
62278         [BZ #11904]
62279         * locale/programs/locale.c (print_assignment): New function.
62280         (show_locale_vars): Use it.
62282 2010-08-11  Ulrich Drepper  <drepper@redhat.com>
62284         * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
62285         field.
62286         (struct statfs64): Likewise.
62287         (_STATFS_F_FLAGS): Define.
62288         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
62289         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
62290         Don't define if __ASSUME_STATFS_F_FLAGS is defined.
62291         (ST_VALID): Define locally.
62292         (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
62293         __statvfs_getflags, use the provided value.
62294         * sysdeps/unix/sysv/linux/kernel-features.h: Define
62295         __ASSUME_STATFS_F_FLAGS.
62297         * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
62299         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
62300         Add sys/fanotify.h.
62301         * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
62302         fanotify_mask for GLIBC_2.13.
62303         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
62304         fanotify_init and fanotify_mark.
62305         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
62306         * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
62308         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
62309         Add prlimit.
62310         * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
62311         prlimit64 for GLIBC_2.13.
62312         * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
62313         prlimit64.
62314         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
62315         syscall.
62316         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
62317         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
62318         * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
62319         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
62320         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.  Also
62321         add prlimit alias.
62322         * sysdeps/unix/sysv/linux/prlimit.c: New file.
62324         [BZ #11903]
62325         * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
62326         Patch by Evgeni Bikov <bikovevg@iitp.ru>.
62328         * nss/Makefile: Add rules to build and run tst-nss-test1.
62329         * shlib-versions: Add entry for libnss_test1.
62330         * nss/nss_test1.c: New file.
62331         * nss/tst-nss-test1.c: New file.
62333         * nss/nsswitch.c (__nss_database_custom): Define new variable.
62334         (__nss_configure_lookup): Set appropriate entry in
62335         __nss_configure_lookup to true.
62336         * nss/nsswitch.h: Define enum with indeces of databases in
62337         databases and __nss_database_custom arrays.  Declare
62338         __nss_database_custom.
62339         * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
62340         to avoid using nscd when custom rules are installed.
62341         * nss/getXXbyYY_r.c: Likewise.
62342         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
62344         * nss/nss_files/files-parse.c: Whitespace fixes.
62346 2010-08-09  Ulrich Drepper  <drepper@redhat.com>
62348         [BZ #11883]
62349         * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
62350         * posix/fnmatch_loop.c: Likewise.
62352 2010-07-17  Andi Kleen  <ak@linux.intel.com>
62354         * sysdeps/i386/i386-mcount.S (__fentry__): Define.
62355         * sysdeps/x86_64/_mcount.S (__fentry__): Define.
62356         * stdlib/Versions (__fentry__): Add for GLIBC 2.13
62357         * Versions.def [GLIBC_2.13]: Add.
62359 2010-08-06  Ulrich Drepper  <drepper@redhat.com>
62361         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
62362         Also fail if tpwd after pwuid call is NULL.
62364 2010-07-31  Samuel Thibault  <samuel.thibault@ens-lyon.org>
62366         * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
62367         when converting to ms.
62369 2010-06-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
62371         * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
62372         EOPNOTSUPP errors with ENOTTY.
62373         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
62374         EOPNOTSUPP errors with ENOTTY.
62376 2010-07-31  Ulrich Drepper  <drepper@redhat.com>
62378         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
62379         Add strcasecmp_l-ssse3.
62380         * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
62381         strcasecmp.
62382         * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
62383         * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
62384         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
62386 2010-07-30  Ulrich Drepper  <drepper@redhat.com>
62388         * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
62390         * string/Makefile (strop-tests): Add strcasecmp.
62391         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
62392         strcasecmp_l-nonascii.
62393         (gen-as-const-headers): Add locale-defines.sym.
62394         * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
62395         * sysdeps/x86_64/strcasecmp.S: New file.
62396         * sysdeps/x86_64/strcasecmp_l.S: New file.
62397         * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
62398         * sysdeps/x86_64/locale-defines.sym: New file.
62399         * string/test-strcasecmp.c: New file.
62401         * string/test-strcasestr.c: Test both ends of the range of characters.
62402         * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
62404 2010-07-29  Roland McGrath  <roland@redhat.com>
62406         [BZ #11856]
62407         * manual/locale.texi (Yes-or-No Questions): Fix example code.
62409 2010-07-27  Ulrich Drepper  <drepper@redhat.com>
62411         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
62412         for ld.so.
62414 2010-07-27  Andreas Schwab  <schwab@redhat.com>
62416         * manual/memory.texi (Malloc Tunable Parameters): Document
62417         M_PERTURB.
62419 2010-07-26  Roland McGrath  <roland@redhat.com>
62421         [BZ #11840]
62422         * configure.in (-fgnu89-inline check): Set and substitute
62423         gnu89_inline, not libc_cv_gnu89_inline.
62424         * configure: Regenerated.
62425         * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
62427 2010-07-26  Ulrich Drepper  <drepper@redhat.com>
62429         * string/test-strnlen.c: New file.
62430         * string/Makefile (strop-tests): Add strnlen.
62431         * string/tester.c (test_strnlen): Add a few more test cases.
62432         * string/tst-strlen.c: Better error reporting.
62434         * sysdeps/x86_64/strnlen.S: New file.
62436 2010-07-24  Ulrich Drepper  <drepper@redhat.com>
62438         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
62439         lower-latency instructions.
62441 2010-07-23  Ulrich Drepper  <drepper@redhat.com>
62443         * string/test-strcasestr.c: New file.
62444         * string/test-strstr.c: New file.
62445         * string/Makefile (strop-tests): Add strstr and strcasestr.
62446         * string/str-two-way.h: Don't undefine MAX.
62447         * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
62449 2010-07-21  Andreas Schwab  <schwab@redhat.com>
62451         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
62452         strcasestr-nonascii.
62453         (CFLAGS-strcasestr-nonascii.c): Define.
62454         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
62455         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
62456         Remove unused attribute.
62458 2010-07-20  Roland McGrath  <roland@redhat.com>
62460         * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
62461         dl_hwcap_mask as well as dl_hwcap.  Without this, dsocaps matching in
62462         ld.so.cache was broken.  With it, there is no way to disable dsocaps
62463         like LD_HWCAP_MASK can disable hwcaps.
62465 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
62467         * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
62469 2010-07-16  Ulrich Drepper  <drepper@redhat.com>
62471         * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
62472         call in strcasestr.
62473         * sysdeps/x86_64/multiarch/strcasestr.c: Declare
62474         __strcasestr_sse42_nonascii.
62475         * sysdeps/x86_64/multiarch/Makefile: Add rules to build
62476         strcasestr-nonascii.c.
62477         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
62479 2010-06-15  Luis Machado  <luisgpm@br.ibm.com>
62481         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
62482         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
62483         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
62484         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
62486 2010-07-09  Ulrich Drepper  <drepper@redhat.com>
62488         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
62489         fcntl.
62491 2010-07-06  Andreas Schwab  <schwab@redhat.com>
62493         [BZ #11577]
62494         * elf/dl-version.c (match_symbol): Don't pass NULL occation to
62495         dl_signal_cerror.
62497 2010-07-06  Ulrich Drepper  <drepper@redhat.com>
62499         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
62500         _PC_PIPE_BUF using F_GETPIPE_SZ.
62502 2010-07-05  Roland McGrath  <roland@redhat.com>
62504         * manual/arith.texi (Rounding Functions): Fix rint description
62505         implicit in round description.
62507 2010-07-02  Ulrich Drepper  <drepper@redhat.com>
62509         * elf/Makefile: Fix linking for a few tests to make recent linker
62510         happy.
62512 2010-06-30  Andreas Schwab  <schwab@redhat.com>
62514         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
62515         $(common-objpfx)libc_nonshared.a.
62517 2010-06-21  Luis Machado  <luisgpm@br.ibm.com>
62519         * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
62520         * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
62521         * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
62522         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
62523         * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
62524         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
62525         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
62526         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
62527         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
62528         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
62529         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
62530         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
62531         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
62532         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
62533         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
62534         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
62535         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
62536         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
62537         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
62538         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
62539         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
62540         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
62541         * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
62542         * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
62543         * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
62544         * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
62545         * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
62546         * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
62547         * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
62548         * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
62549         * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
62550         * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
62551         * sysdeps/powerpc/powerpc32/power7/Implies: New file.
62552         * sysdeps/powerpc/powerpc64/power7/Implies: New file.
62553         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
62554         * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
62555         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
62556         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
62557         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
62558         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
62559         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
62560         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
62561         * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
62562         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
62563         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
62564         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
62565         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
62566         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
62568 2010-06-25  H.J. Lu  <hongjiu.lu@intel.com>
62570         * debug/memmove_chk.c (__memmove_chk): Renamed to ...
62571         (MEMMOVE_CHK): ...this.  Default to __memmove_chk.
62572         * string/memmove.c (memmove): Renamed to ...
62573         (MEMMOVE): ...this.  Default to memmove.
62574         * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
62575         * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
62576         (END_CHK): Define.
62577         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
62578         memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
62579         mempcpy-ssse3-back memmove-ssse3-back.
62580         * sysdeps/x86_64/multiarch/bcopy.S: New file .
62581         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
62582         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
62583         * sysdeps/x86_64/multiarch/memcpy.S: New file.
62584         * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
62585         * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
62586         * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
62587         * sysdeps/x86_64/multiarch/memmove.c: New file.
62588         * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
62589         * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
62590         * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
62591         * sysdeps/x86_64/multiarch/mempcpy.S: New file.
62592         * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
62593         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
62594         Define.
62595         (index_Fast_Copy_Backward): Define.
62596         (HAS_ARCH_FEATURE): Define.
62597         (HAS_FAST_REP_STRING): Define.
62598         (HAS_FAST_COPY_BACKWARD): Define.
62600 2010-06-21  Andreas Schwab  <schwab@redhat.com>
62602         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
62603         Restore proper fallback handling.
62605 2010-06-19  Ulrich Drepper  <drepper@redhat.com>
62607         [BZ #11701]
62608         * posix/group_member.c (__group_member): Correct checking loop.
62610         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
62611         OOM in getpwuid_r correctly.  Return error number when the caller
62612         should return, otherwise -1.
62613         (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
62614         call returning > 0 value.
62615         * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
62617 2010-06-07  Andreas Schwab  <schwab@redhat.com>
62619         * dlfcn/Makefile: Remove explicit dependencies on libc.so and
62620         libc_nonshared.a from targets in modules-names.
62622 2010-06-02  Kirill A. Shutemov  <kirill@shutemov.name>
62624         * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
62625         requires it.
62627 2010-06-10  Luis Machado  <luisgpm@br.ibm.com>
62629         * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
62630         * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
62631         * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
62632         * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
62634 2010-06-02  Andreas Schwab  <schwab@redhat.com>
62636         * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
62638 2010-06-14  Ulrich Drepper  <drepper@redhat.com>
62640         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
62641         and F_GETPIPE_SZ.
62642         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
62643         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
62644         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
62645         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
62646         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
62647         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
62649 2010-06-14  Roland McGrath  <roland@redhat.com>
62651         * manual/libc.texinfo (@copying): Change to GFDL v1.3.
62653 2010-06-07  Jakub Jelinek  <jakub@redhat.com>
62655         * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
62656         __REDIRECT followed by __THROW.
62657         * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
62658         * posix/getopt.h (getopt): Likewise.
62660 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
62662         * hurd/lookup-at.c (__file_name_lookup_at): Accept
62663         AT_SYMLINK_FOLLOW in AT_FLAGS.  Fail with EINVAL if both
62664         AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
62665         in AT_FLAGS.
62666         * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
62667         * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
62669 2010-05-28  Luis Machado  <luisgpm@br.ibm.com>
62671         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
62673 2010-05-26  H.J. Lu  <hongjiu.lu@intel.com>
62675         [BZ #11640]
62676         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
62677         Properly check family and model.
62679 2010-05-26  Takashi Yoshii  <takashi.yoshii.zj@renesas.com>
62681         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
62683 2010-05-24  Luis Machado  <luisgpm@br.ibm.com>
62685         * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
62687 2010-05-21  Ulrich Drepper  <drepper@redhat.com>
62689         * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
62690         symbol reference.
62692 2010-05-19  Andreas Schwab  <schwab@redhat.com>
62694         * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
62695         symbol reference.
62697 2010-05-21  Andreas Schwab  <schwab@redhat.com>
62699         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
62700         and internal_recvmmsg.
62701         * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
62702         * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
62703         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
62704         * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
62706         * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
62707         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
62708         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
62710 2010-05-20  Andreas Schwab  <schwab@redhat.com>
62712         * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
62714 2010-05-17  Luis Machado  <luisgpm@br.ibm.com>
62716         POWER7 optimizations.
62717         * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
62718         * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
62720 2010-05-19  Ulrich Drepper  <drepper@redhat.com>
62722         * version.h: Update for 2.13 development version.
62724 2010-05-12  Andrew Stubbs  <ams@codesourcery.com>
62726         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
62727         exceptions.  Return 0.
62729 2010-05-07  Roland McGrath  <roland@redhat.com>
62731         * elf/ldconfig.c (main): Add a const.
62733 2010-05-06  Ulrich Drepper  <drepper@redhat.com>
62735         * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
62736         (args_options): Add no-idn option.
62737         (ahosts_keys_int): Add idn_flags to ai_flags.
62738         (parse_option): Handle 'i' option to clear idn_flags.
62740         * malloc/malloc.c (_int_free): Possible race in the most recently
62741         added check.  Only act on the data if no current modification
62742         happened.
62744 See ChangeLog.17 for earlier changes.