hppa: fix pthreadtypes.h namespace failures
[glibc.git] / ChangeLog
blobbcb14cfab1cfbd7875248e5efaa77a44831bd974
1 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
3         * sysdeps/hppa/nptl/bits/pthreadtypes.h (pthread_mutex_t): Change
4         aligned to __aligned__.
5         (pthread_cond_t, pthread_rwlock_t): Likewise.
7 2015-07-30  Torvald Riegel  <triegel@redhat.com>
9         * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: Remove file.
11 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
13         * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h: Include bits/wordsize.h.
14         (struct sigaction): Change sa_flags from a long to an int, and add
15         __glibc_reserved0 before it for padding when __WORDSIZE is 64.
17 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
19         * hppa/sysdep.h: Delete sys/syscall.h and config.h includes.
20         * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: Delete
21         sysdeps/generic/sysdep.h include.
22         * sysdeps/unix/sysv/linux/hppa/sysdep.h: Wrap the whole file in
23         _LINUX_HPPA_SYSDEP_H defines.  Include sysdeps/unix/sysdep.h and
24         sysdeps/hppa/sysdep.h.
25         (ENTRY, PSEUDO): Undefine before defining.
27 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
29         * sysdeps/unix/sysv/linux/hppa/sysdep.h (INLINE_SYSCALL): Rewrite
30         from scratch to use INTERNAL_SYSCALL.
32 2015-07-29  H.J. Lu  <hongjiu.lu@intel.com>
34         [BZ #18078]
35         * scripts/check-localplt.awk: Support alternate relocations.
36         * scripts/localplt.awk: Also check relocations in DT_RELA/DT_REL
37         sections.
38         * sysdeps/unix/sysv/linux/i386/localplt.data: Mark free and
39         malloc entries with + REL R_386_GLOB_DAT.
40         * sysdeps/x86_64/localplt.data: New file.
42 2015-07-29  Andrew Senkevich  <andrew.senkevich@intel.com>
44         [BZ #18731]
45         * sysdeps/x86_64/fpu/math-tests-arch.h: Added AVX runtime check.
46         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
47         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
49 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
51         * sysdeps/unix/sysv/linux/ia64/localplt.data: Delete __tls_get_addr.
53 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
55         * sysdeps/ia64/bits/atomic.h (atomic_exchange_and_add): Define
56         directly in terms of __sync_fetch_and_add and delete (int) cast.
58 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
60         * sysdeps/unix/sysv/linux/ia64/Makefile (CPPFLAGS): Delete
61         the -D_ASM_IA64_CURRENT_H flag.
63 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
65         [BZ #18641]
66         * pwd/pwd.h (putpwent): Delete __nonnull markings.
68 2015-07-27  Andreas Schwab  <schwab@suse.de>
70         * conform/conformtest.pl (checknamespace): Filter out string
71         literals while tokenizing.
73 2015-07-26  Chung-Lin Tang  <cltang@codesourcery.com>
75         * sysdeps/nios2/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
76         * sysdeps/nios2/dl-machine.h (elf_machine_type_class): Handle
77         ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
79 2015-07-26  Chung-Lin Tang  <cltang@codesourcery.com>
81         * nptl/tst-join7mod.c: Add #include <string.h>.
83 2015-07-25  Chung-Lin Tang  <cltang@codesourcery.com>
85         * sysdeps/nios2/libm-test-ulps: Update.
87 2015-07-25  Chung-Lin Tang  <cltang@codesourcery.com>
89         * sysdeps/unix/sysv/linux/nios2/setcontext.S (__setcontext):
90         Fix order of arguments to the rt_sigprocmask syscall.
91         * sysdeps/unix/sysv/linux/nios2/swapcontext.S (__swapcontext):
92         Likewise.
94 2015-07-24  Roland McGrath  <roland@hack.frob.com>
96         * sysdeps/nacl/bits/fcntl.h (O_SHLOCK, O_EXLOCK): Macros removed.
98 2015-07-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
100         [BZ #18457]
101         * nptl/Makefile (tests): New test case tst-join7.
102         (modules-names): New test case module tst-join7mod.
103         * nptl/tst-join7.c: New file.
104         * nptl/tst-join7mod.c: New file.
105         * Makeconfig (tls-model): Pass -ftls-model=initial-exec for
106         all translation units in libc.so, libpthread.so and rtld.
108 2015-07-24  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
110         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
112 2015-07-24  Andrew Senkevich  <andrew.senkevich@intel.com>
114         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: Fixed AVX512 IFUNC.
115         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: Likewise.
116         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: Likewise.
117         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: Likewise.
118         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: Likewise.
119         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: Likewise.
120         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: Likewise.
121         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: Likewise.
122         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: Likewise.
123         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: Likewise.
124         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S: Likewise.
125         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: Likewise.
126         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Fixed wrappers to AVX2.
127         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Likewise.
128         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S: Fixed KNL
129         implementation.
131 2015-07-24  Szabolcs Nagy  <szabolcs.nagy@arm.com>
133         [BZ #17711]
134         * sysdeps/aarch64/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
135         * sysdeps/aarch64/dl-machine.h (elf_machine_type_class): Handle
136         ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
137         * sysdeps/arm/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
138         * sysdeps/arm/dl-machine.h (elf_machine_type_class): Handle
139         ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
141 2015-07-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
143         * stdlib/cxa_thread_atexit_impl.c: Use the lock name dl_load_lock
144         instead of just saying load lock in the comments.
146 2015-07-23  Roland McGrath  <roland@hack.frob.com>
148         * sysdeps/unix/Subdirs: Moved ...
149         * sysdeps/posix/Subdirs: ... here.
150         * login/pty.h (struct termios, struct winsize): Add forward decls.
151         * login/openpty.c (openpty): Put ioctl call under [TIOCSWINSZ].
152         * sysdeps/nacl/glob.c: Just #include <sysdeps/wordsize-64/glob.c>.
153         * sysdeps/arm/nacl/libc.abilist: Updated.
154         * sysdeps/nacl/libutil.abilist: New file.
156         * bits/signum.h: Update comments to mention 1003.1-2013 too.
157         (SIGWINCH): New macro.
159         * sysdeps/nacl/getdtsz.c (getdtablesize): Add missing weak_alias.
160         * sysdeps/arm/nacl/libc.abilist: Add it.
162 2015-07-23  Mike Frysinger  <vapier@gentoo.org>
164         * conform/linknamespace.pl (@whitelist): Add matherrf and matherrl.
166 2015-07-23  Mike Frysinger  <vapier@gentoo.org>
168         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h (struct sigaction):
169         Swap __glibc_reserved0 and sa_flags order.
171 2015-07-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
173         [BZ #18657]
174         * elf/dl-close.c (_dl_close_worker): Don't unload DSO if there
175         are pending TLS destructor calls.
176         * include/link.h (struct link_map): Add concurrency note for
177         L_TLS_DTOR_COUNT.
178         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
179         Don't touch the link map flag.  Atomically increment
180         l_tls_dtor_count.
181         (__call_tls_dtors): Atomically decrement l_tls_dtor_count.
182         Avoid taking the load lock and don't touch the link map flag.
183         * stdlib/tst-tls-atexit-nodelete.c: New test case.
184         * stdlib/Makefile (tests): Use it.
185         * stdlib/tst-tls-atexit.c (do_test): dlopen
186         tst-tls-atexit-lib.so again before dlclose.  Add conditionals
187         to allow tst-tls-atexit-nodelete test case to use it.
189 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
191         * sysdeps/unix/sysv/linux/ia64/bits/msq.h: Change sys/types.h include
192         to bits/types.h.
193         (msgqnum_t): New typedef.
194         (msglen_t): Likewise.
195         (struct msqid_ds): Update comment.  Change msg_qnum type to msgqnum_t
196         and msg_qbytes type to msglen_t.
198 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
200         * sysdeps/unix/sysv/linux/ia64/bits/stat.h (struct stat): Rename
201         pad0 to __glibc_reserved0.
202         (struct stat64): Likewise.
204 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
206         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h (struct sigaction):
207         Change sa_flags from a long to an int and add __glibc_reserved0 before
208         it for padding.
210 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
212         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (siginfo_t): Make struct
213         anonymous by deleting "siginfo" name.
215 2015-07-21  Roland McGrath  <roland@hack.frob.com>
217         * sysdeps/nacl/nacl-interface-list.h: Remove nacl_irt_filename.
218         * sysdeps/nacl/open.c (__libc_open): Use __nacl_irt_dev_filename
219         rather than __nacl_irt_filename.
220         * sysdeps/nacl/xstat.c (__xstat): Likewise.
222         * NEWS: New item for arm-nacl port.
223         * sysdeps/arm/nacl/libc.abilist: New file.
224         * sysdeps/nacl/ld.abilist: New file.
225         * sysdeps/nacl/libBrokenLocale.abilist: New file.
226         * sysdeps/nacl/libanl.abilist: New file.
227         * sysdeps/nacl/libcrypt.abilist: New file.
228         * sysdeps/nacl/libdl.abilist: New file.
229         * sysdeps/nacl/libm.abilist: New file.
230         * sysdeps/nacl/libpthread.abilist: New file.
231         * sysdeps/nacl/libresolv.abilist: New file.
232         * sysdeps/nacl/librt.abilist: New file.
234 2015-07-21  Chris Metcalf  <cmetcalf@ezchip.com>
236         * sysdeps/unix/sysv/linux/tile/makecontext.c (__makecontext): Call
237         __startcontext to initialize the new context.
238         * sysdeps/unix/sysv/linux/tile/setcontext.S (__startcontext): Set
239         up CFI directive to forbid further backtracing.
241 2015-07-21  Marko Myllynen  <myllynen@redhat.com>
243         * charmaps/ANSI_X3.110-1983: Remove obsolete repertoire map
244         reference.
245         * charmaps/ANSI_X3.4-1968: Likewise.
246         * charmaps/BS_4730: Likewise.
247         * charmaps/BS_VIEWDATA: Likewise.
248         * charmaps/CP1250: Likewise.
249         * charmaps/CP1251: Likewise.
250         * charmaps/CP1252: Likewise.
251         * charmaps/CP1253: Likewise.
252         * charmaps/CP1254: Likewise.
253         * charmaps/CP1255: Likewise.
254         * charmaps/CP1256: Likewise.
255         * charmaps/CSN_369103: Likewise.
256         * charmaps/EBCDIC-DK-NO: Likewise.
257         * charmaps/GB_1988-80: Likewise.
258         * charmaps/GREEK-CCITT: Likewise.
259         * charmaps/GREEK7: Likewise.
260         * charmaps/INIS-8: Likewise.
261         * charmaps/ISIRI-3342: Likewise.
262         * charmaps/ISO_2033-1983: Likewise.
263         * charmaps/ISO_5427-EXT: Likewise.
264         * locales/POSIX: Likewise.
265         * locales/ar_SA: Likewise.
266         * locales/be_BY: Likewise.
267         * locales/be_BY@latin: Likewise.
268         * locales/ca_ES: Likewise.
269         * locales/cs_CZ: Likewise.
270         * locales/da_DK: Likewise.
271         * locales/de_BE: Likewise.
272         * locales/de_CH: Likewise.
273         * locales/de_LU: Likewise.
274         * locales/en_AU: Likewise.
275         * locales/en_BW: Likewise.
276         * locales/en_CA: Likewise.
277         * locales/en_DK: Likewise.
278         * locales/en_GB: Likewise.
279         * locales/en_IE: Likewise.
280         * locales/en_NZ: Likewise.
281         * locales/en_ZA: Likewise.
282         * locales/en_ZW: Likewise.
283         * locales/es_AR: Likewise.
284         * locales/es_BO: Likewise.
285         * locales/es_CL: Likewise.
286         * locales/es_CO: Likewise.
287         * locales/es_DO: Likewise.
288         * locales/es_EC: Likewise.
289         * locales/es_ES: Likewise.
290         * locales/es_HN: Likewise.
291         * locales/es_MX: Likewise.
292         * locales/es_PA: Likewise.
293         * locales/es_PE: Likewise.
294         * locales/es_PY: Likewise.
295         * locales/es_SV: Likewise.
296         * locales/es_US: Likewise.
297         * locales/es_UY: Likewise.
298         * locales/es_VE: Likewise.
299         * locales/et_EE: Likewise.
300         * locales/fa_IR: Likewise.
301         * locales/fo_FO: Likewise.
302         * locales/fr_CA: Likewise.
303         * locales/fr_CH: Likewise.
304         * locales/gv_GB: Likewise.
305         * locales/he_IL: Likewise.
306         * locales/hr_HR: Likewise.
307         * locales/id_ID: Likewise.
308         * locales/is_IS: Likewise.
309         * locales/it_CH: Likewise.
310         * locales/iw_IL: Likewise.
311         * locales/kl_GL: Likewise.
312         * locales/ko_KR: Likewise.
313         * locales/kw_GB: Likewise.
314         * locales/lg_UG: Likewise.
315         * locales/lt_LT: Likewise.
316         * locales/lv_LV: Likewise.
317         * locales/mi_NZ: Likewise.
318         * locales/nhn_MX: Likewise.
319         * locales/nl_BE: Likewise.
320         * locales/pl_PL: Likewise.
321         * locales/sk_SK: Likewise.
322         * locales/sl_SI: Likewise.
323         * locales/sv_FI: Likewise.
324         * locales/tl_PH: Likewise.
325         * locales/tr_TR: Likewise.
326         * locales/vi_VN: Likewise.
328 2015-07-21  Khem Raj  <raj.khem@gmail.com>
330         [BZ #17475]
331         * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Adjust for rename
332         of tu_IN and bh_IN.
334 2015-07-21  Mike Frysinger  <vapier@gentoo.org>
336         [BZ #18694]
337         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h: Include
338         bits/wordsize.h.
339         (sigaction): Declare __glibc_reserved0 only when __WORDSIZE is 64.
341 2015-07-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
343         * stdlib/tst-tls-atexit-lib.c (do_foo): Rename to reg_dtor.
344         * stdlib/tst-tls-atexit.c: (is_loaded): New function.
345         (spawn_thread): New function.
346         (load): Rename to reg_dtor_and_close.  Move dlopen to...
347         (do_test): ... here.  Use IS_LOADED to test for its
348         availability.
350 2015-07-21  Andreas Schwab  <schwab@linux-m68k.org>
352         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
354 2015-07-20  H.J. Lu  <hongjiu.lu@intel.com>
356         [BZ #18696]
357         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (_sigfault): Add
358         si_addr_bnd.
359         (si_lower): New.
360         (si_upper): Likewise.
362 2015-07-16  David S. Miller  <davem@davemloft.net>
364         * sysdeps/sparc/fpu/libm-test-ulps: Regenerated.
366 2015-07-16  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
368         * libio/fmemopen.c (__fmemopen): Fix 'w' openmode with provided
369         buffer.
370         * stdio-common/tst-fmemopen2.c (do_test_with_buffer): Fix typo and
371         fail output information.
373 2015-07-16  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
375         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strstr-power7
376         and strstr-ppc64..
377         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
378         * sysdeps/powerpc/powerpc64/power7/strstr.S: New File.
379         * sysdeps/powerpc/powerpc64/multiarch/strstr-power7.S: New File.
380         * sysdeps/powerpc/powerpc64/multiarch/strstr-ppc64.c: New File.
381         * sysdeps/powerpc/powerpc64/multiarch/strstr.c: New File.
383 2015-07-16  Mike Frysinger  <vapier@gentoo.org>
385         * sysdeps/hppa/Versions (GLIBC_PRIVATE): Delete _dl_unmap.
386         * sysdeps/hppa/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
387         * sysdeps/ia64/Versions (GLIBC_PRIVATE): Delete _dl_unmap.
388         * sysdeps/ia64/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
390 2015-07-16  Mike Frysinger  <vapier@gentoo.org>
392         * elf/dl-symaddr.c (_dl_symbol_address): Add rtld_hidden_def.
393         * sysdeps/hppa/dl-lookupcfg.h (_dl_symbol_address): Add
394         rtld_hidden_proto.
395         * sysdeps/ia64/dl-lookupcfg.h (_dl_symbol_address): Likewise.
397 2015-07-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
399         * tst-nodelete-opened.c (do_test): Add comment to clarify how
400         the test can fail.
402         * stdlib/cxa_thread_atexit_impl.c: Whitespace fixup.
404         [BZ #18676]
405         * elf/tst-nodelete-opened.c: New test case.
406         * elf/tst-nodelete-opened-lib.c: New test case module.
407         * elf/Makefile (tests, modules-names): Use them.
408         * elf/dl-open.c (dl_open_worker): Set DF_1_NODELETE flag
409         early.
411 2015-07-15  David S. Miller  <davem@davemloft.net>
413         * sysdeps/sparc/nptl/pthread_barrier_init.c: Include
414         futex-intenal.h
415         * sysdeps/sparc/sparc32/sparcv9/Makefile (nscd): Add cpu_relax.
416         * sysdeps/sparc/sparc64/Makefile: Likewise.
417         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_spin_nop):
418         Remove space from macro define.
419         * sysdeps/sparc/sparc64/bits/atomic.h (atomic_spin_nop): Likewise.
421 2015-07-15  Pravin Satpute  <psatpute@redhat.com>
423         [BZ #17475]
424         * locale/iso-639.def: Update Bhili and Tulu language codes as
425         per iso639-3.
427 2015-07-15  Arjun Shankar  <arjun.is@lostca.se>
429         * elf/tst-leaks1.c (main): Converted to ...
430         (do_test): ... this.
431         (TEST_FUNCTION): New macro.
432         Include test-skeleton.c.
433         * localedata/tst-langinfo.c (main): Converted to ...
434         (do_test): ... this.
435         (TEST_FUNCTION): New macro.
436         Include test-skeleton.c.
437         * math/test-fpucw.c (main): Converted to ...
438         (do_test): ... this.
439         (TEST_FUNCTION): New macro.
440         Include test-skeleton.c.
441         * math/test-tgmath.c (main): Converted to ...
442         (do_test): ... this.
443         (TEST_FUNCTION): New macro.
444         Include test-skeleton.c.
445         * math/test-tgmath2.c (main): Converted to ...
446         (do_test): ... this.
447         (TEST_FUNCTION): New macro.
448         Include test-skeleton.c.
449         * setjmp/tst-setjmp.c (main): Converted to ...
450         (do_test): ... this.
451         (TEST_FUNCTION): New macro.
452         Include test-skeleton.c.
453         * stdio-common/tst-sscanf.c (main): Converted to ...
454         (do_test): ... this.
455         (TEST_FUNCTION): New macro.
456         Include test-skeleton.c.
457         * sysdeps/x86_64/tst-audit6.c (main): Converted to ...
458         (do_test): ... this.
459         (TEST_FUNCTION): New macro.
460         Include test-skeleton.c.
462         * elf/tst-audit9.c (main): Converted to ...
463         (do_test): ... this.
464         (TEST_FUNCTION): New macro.
465         Include test-skeleton.c.
467 2015-07-15  Mike Frysinger  <vapier@gentoo.org>
469         * timezone/tst-tzset.c (TIMEOUT): Define to 5.
471 2015-07-15  Stefan Liebler  <stli@linux.vnet.ibm.com>
473         * sysdeps/i386/i686/Makefile (test-xfail-tst-makecontext):
474         New variable.
476 2015-07-15  Stefan Liebler  <stli@linux.vnet.ibm.com>
478         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
480 2015-07-14  Roland McGrath  <roland@hack.frob.com>
482         * sysdeps/generic/dl-fileid.h: New file.
483         * sysdeps/posix/dl-fileid.h: New file.
484         * sysdeps/nacl/dl-fileid.h: New file.
485         * include/link.h: Include <dl-fileid.h>.
486         (struct link_map): Replace l_dev and l_ino with l_file_id.
487         * elf/dl-load.c (_dl_map_object_from_fd): Use _dl_get_file_id rather
488         than __fxstat64.  Use _dl_file_id_match_p rather than comparing l_dev
489         and l_ino directly.  Initialize l_file_id rather than l_dev and l_ino.
491 2015-07-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
493         * stdlib/tst-tls-atexit.c (do_test): Fix typo.
495 2015-07-14  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
497         * elf/Makefile [ifeq (yes,$(build-shared)) (tests)] (tst-nodelete):
498         Add iff $CXX is set.
499         [ifeq (yes,$(build-shared)) (modules-names)] (tst-nodelete-rtldmod):
500         Likewise.
501         (tst-nodelete-zmodiff): Likewise.
502         * nptl/Makefile [[ifeq (,$(CXX))] (tests-unsupported)]: Add tst-once5.
504 2015-07-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
506         * stdlib/tst-tls-atexit.c (load): Fix up whitespace.
508 2015-07-13  Wilco Dijkstra  <wdijkstr@arm.com>
510         * sysdeps/aarch64/fpu/math_private.h
511         (define math_opt_barrier): Add AArch64 version.
512         (math_force_eval): Likewise.
514 2015-07-13  Wilco Dijkstra  <wdijkstr@arm.com>
516         * sysdeps/aarch64/strlen.S (strlen): Optimize strlen.
518 2015-07-11  H.J. Lu  <hongjiu.lu@intel.com>
520         * stdio-common/tst-fmemopen2.c (do_test_without_buffer): Replace
521         %ld with %jd and cast to intmax_t.
522         (do_test_length_zero): Likewise.
524 2015-07-10  Roland McGrath  <roland@hack.frob.com>
526         * sysdeps/nacl/pthread_condattr_setclock.c: New file.
528 2015-07-10  Chris Metcalf  <cmetcalf@ezchip.com>
530         * sysdeps/tile/libm-test-ulps: Regenerated.
532         * math/test-fenvinline.c (feenable_test) [FE_ALL_EXCEPT == 0]:
533         Comment out the whole function, not just its body.
535 2015-07-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
537         * stdlib/tst-tls-atexit.c (load): Remove unnecessary mutex
538         locks.
540         * stdlib/tst-tls-atexit.c (load): Avoid boolean coercion.
542 2015-07-10  Torvald Riegel  <triegel@redhat.com>
544         * nptl/sem_waitcommon.c (__new_sem_wait_slow): Update comments.
545         (sem_assume_only_signals_cause_futex_EINTR): Remove.
547 2015-07-10  Torvald Riegel  <triegel@redhat.com>
549         * sysdeps/nptl/futex-internal.h: New file.
550         * sysdeps/nacl/futex-internal.h: New file.
551         * sysdeps/unix/sysv/linux/futex-internal.h: New file.
552         * nptl/allocatestack.c (setxid_mark_thread): Use futex wrappers with
553         error checking.
554         (setxid_unmark_thread): Likewise.
555         (__nptl_setxid): Likewise.
556         (__wait_lookup_done): Likewise.
557         * nptl/cancellation.c (__pthread_disable_asynccancel): Likewise.
558         * nptl/nptl-init.c (sighandler_setxid): Likewise.
559         * nptl/pthread_create.c (START_THREAD_DEFN): Likewise.
560         * nptl/pthread_once.c (clear_once_control): Likewise.
561         (__pthread_once_slow): Likewise.
562         * nptl/unregister-atfork.c (__unregister_atfork): Likewise.
563         * sysdeps/nacl/exit-thread.h (__exit_thread): Likewise.
564         * sysdeps/nptl/aio_misc.h (AIO_MISC_NOTIFY, AIO_MISC_WAIT): Likewise.
565         * sysdeps/nptl/fork.c (__libc_fork): Likewise.
566         * sysdeps/nptl/gai_misc.h (GAI_MISC_NOTIFY, GAI_MISC_WAIT): Likewise.
567         * nptl/pthread_rwlock_rdlock.c (__pthread_rwlock_rdlock_slow):
568         Likewise.
569         (__pthread_rwlock_rdlock): Likewise.
570         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
571         Likewise.
572         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
573         Likewise.
574         * nptl/pthread_rwlock_tryrdlock.c (__pthread_rwlock_tryrdlock):
575         Likewise.
576         * nptl/pthread_rwlock_unlock.c (__pthread_rwlock_unlock): Likewise.
577         * nptl/pthread_rwlock_wrlock.c (__pthread_rwlock_wrlock_slow:
578         Likewise.
579         * nptl/pthread_rwlock_init (__pthread_rwlock_init): Remove
580         __ASSUME_PRIVATE_FUTEX check.
581         * nptl/pthread_rwlockattr_setpshared (pthread_rwlockattr_setpshared):
582         Check that shared futexes are supported.
583         * nptl/pthread_barrier_wait.c (pthread_barrier_wait): Use futex
584         wrappers with error checking.
585         * nptl/pthread_barrier_init.c (pthread_barrier_init): Add comments,
586         remove attribute sanity check and __ASSUME_PRIVATE_FUTEX check.
587         * nptl/pthread_barrierattr_setpshared.c
588         (pthread_barrierattr_setpshared): Check that shared futexes are
589         supported.
590         * nptl/pthread_condattr_setpshared.c (pthread_condattr_setpshared):
591         Likewise.
592         * nptl/pthread_mutexattr_setpshared.c (pthread_mutexattr_setpshared):
593         Likewise.
594         * nptl/sem_init.c (futex_private_if_supported): Remove.
595         (__new_sem_init): Adapt and check that shared futexes are supported.
596         * nptl/sem_open.c (sem_open): Likewise.
597         * nptl/sem_post.c (futex_wake): Remove.
598         * nptl/sem_waitcommon.c (futex_abstimed_wait, futex_wake): Remove.
599         (do_futex_wait): Use futex wrappers with error checking.
600         * nptl/sem_wait.c: Include lowlevellock.h.
601         * sysdeps/sparc/nptl/pthread_barrier_init.c (__pthread_barrier_init):
602         Use futex_supports_pshared.
603         * sysdeps/sparc/nptl/pthread_barrier_wait.c (pthread_barrier_wait):
604         Use futex wrappers with error checking.
605         * sysdeps/sparc/sparc32/pthread_barrier_wait.c (pthread_barrier_wait):
606         Likewise.
607         * sysdeps/sparc/sparc32/sem_init.c (futex_private_if_supported): Remove.
608         * sysdeps/sparc/sparc32/sem_post.c (futex_wake): Likewise.
609         * sysdeps/sparc/sparc32/sem_open.c (sem_open): Use FUTEX_SHARED.
610         * sysdeps/sparc/sparc32/sem_waitcommon.c (futex_abstimed_wait): Remove.
611         (futex_wake): Likewise.
612         (sem_assume_only_signals_cause_futex_EINTR): Likewise.
613         (do_futex_wait): Use futex wrappers with error checking.
614         (__new_sem_wait_slow): Update EINTR handling.
615         * sysdeps/sparc/sparc32/sem_wait.c: Include lowlevellock.h.
617 2015-07-09  Martin Sebor  <msebor@redhat.com>
619         [BZ #18435]
620         * nptl/pthreadP.h (pthread_cleanup_push, pthread_cleanup_pop):
621         Revert commit ed225df3ad9cbac3c22ec3f0fbbed1f9c61d1c54.
622         * nptl/Makefile (test-xfail-tst-once5): Define.
624 2015-07-09  Roland McGrath  <roland@hack.frob.com>
626         * include/stdio.h: Add rtld_hidden_proto (__libc_fatal).
627         * elf/dl-minimal.c: For readability, reorder some definitions and
628         introduce more page breaks.  Include <stdio.h>.
629         (__libc_fatal): New function.
631         * include/unistd.h: Add rtld_hidden_proto for _exit.
632         * posix/_exit.c: Add rtld_hidden_def.
633         * sysdeps/mach/hurd/_exit.c: Likewise.
634         * sysdeps/nacl/_exit.c: Likewise.
635         * sysdeps/unix/sysv/linux/_exit.c: Likewise.
636         * sysdeps/unix/sysv/linux/i386/_exit.S: Likewise.
638 2015-07-09  H.J. Lu  <hongjiu.lu@intel.com>
640         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Improve
641         bndmov encoding with zero displacement.
643 2015-07-09  Igor Zamyatin  <igor.zamyatin@intel.com>
644             H.J. Lu  <hongjiu.lu@intel.com>
646         [BZ #18134]
647         * sysdeps/i386/configure.ac: Set HAVE_MPX_SUPPORT.
648         * sysdeps/i386/configure: Regenerated.
649         * sysdeps/i386/dl-trampoline.S (PRESERVE_BND_REGS_PREFIX): New.
650         (_dl_runtime_profile): Save and restore Intel MPX return bound
651         registers when calling _dl_call_pltexit.  Add
652         PRESERVE_BND_REGS_PREFIX before return.
653         * sysdeps/i386/link-defines.sym (LRV_BND0_OFFSET): New.
654         (LRV_BND1_OFFSET): Likewise.
655         * sysdeps/x86/bits/link.h (La_i86_retval): Add lrv_bnd0 and
656         lrv_bnd1.
657         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix
658         typo in bndmov encoding.
659         * sysdeps/x86_64/dl-trampoline.h: Properly save and restore
660         Intel MPX bound registers.  Add PRESERVE_BND_REGS_PREFIX before
661         branch instructions to preserve bounds.
663 2015-07-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
665         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist
666         [GLIBC_2.22]: Add fmemopen.
668 2015-07-09  Samuel Thibault  <samuel.thibault@ens-lyon.org>
670         * sysdeps/mach/hurd/mlock.c (mlock): When __get_privileged_ports
671         returns an error, also try to use host port from __mach_host_self for
672         the __vm_wire call.
673         * sysdeps/mach/hurd/munlock.c (munlock): Likewise.
675 2015-07-09  Szabolcs Nagy  <szabolcs.nagy@arm.com>
677         [BZ #18400]
678         [BZ #18648]
679         * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h (struct elf_prpsinfo):
680         Fix pr_uid and pr_gid members.
681         * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h (greg_t): Change the
682         definition to elf_greg_t.
684 2015-07-08  Roland McGrath  <roland@hack.frob.com>
686         [BZ #18383]
687         * sysdeps/arm/configure.ac (libc_cv_arm_tpoff_addend): New check.
688         Emit test-xfail-tst-tlsalign{,-static}=yes if it fails.
689         * sysdeps/arm/configure: Regenerated.
690         * elf/Makefile (test-xfail-tst-tlsalign): Variable removed.
691         (test-xfail-tst-tlsalign-static): Variable removed.
693         * Makerules (do-install-so): Use $(LN_S) rather than explicit 'ln -s'.
694         * elf/Makefile ($(objpfx)$(rtld-installed-name)): Use $(make-link)
695         rather than explicit 'ln -s'.
697         * resolv/rpc/netdb.h: New file.
698         * resolv/Makefile [sunrpc not in $(subdirs)] (headers): Add it.
700 2015-07-08  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
702         * stdio-common/tst-fmemopen2.c (do_test): Add test for NULL and zero
703         length buffers.
704         * stdio-common/tst-fmemopen.c (do_test): Refactor to use
705         test-skeleton.c.
707         [BZ #6544]
708         [BZ #11216]
709         [BZ #12836]
710         [BZ #13151]
711         [BZ #13152]
712         [BZ #14292]
713         * include/stdio.h (fmemopen): Remove hidden prototype.
714         (__fmemopen): Add new hidden prototype.
715         * libio/Makefile: Add oldfmemopen object.
716         * libio/Versions [GLIBC_2.22]: Add new fmemopen symbol.
717         * libio/fmemopen.c (__fmemopen): Function rewrite to be POSIX
718         compliance.
719         * libio/oldfmemopen.c: New file: old fmemopen implementation for
720         symbol compatibility.
721         * stdio-common/Makefile [tests]: Add new tst-fmemopen3.
722         * stdio-common/psiginfo.c [psiginfo]: Call __fmemopen instead of
723         fmemopen.
724         * stdio-common/tst-fmemopen3.c: New file: more fmemopen tests, focus
725         on append and read mode.
726         * sysdeps/unix/sysv/linux/aarch64/libc.abilist [GLIBC_2.22]: Add
727         fmemopen.
728         * sysdeps/unix/sysv/linux/alpha/libc.abilist [GLIBC_2.22]: Likewise.
729         * sysdeps/unix/sysv/linux/arm/libc.abilist [GLIBC_2.22]: Likewise.
730         * sysdeps/unix/sysv/linux/i386/libc.abilist [GLIBC_2.22]: Likewise.
731         * sysdeps/unix/sysv/linux/ia64/libc.abilist [GLIBC_2.22]:
732         Likewise.
733         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist
734         [GLIBC_2.22]: Likewise.
735         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist [GLIBC_2.22]:
736         Likewise.
737         * sysdeps/unix/sysv/linux/microblaze/libc.abilist [GLIBC_2.22]:
738         Likewise.
739         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
740         [GLIBC_2.22]: Likewise.
741         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
742         [GLIBC_2.22]: Likewise.
743         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
744         [GLIBC_2.22]: Likewise.
745         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
746         [GLIBC_2.22]: Likewise.
747         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
748         [GLIBC_2.22]: Likewise.
749         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
750         [GLIBC_2.22]: Likewise.
751         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist
752         [GLIBC_2.22]: Likewise.
753         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist [GLIBC_2.22]:
754         Likewise.
755         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist [GLIBC_2.22]:
756         Likewise.
757         * sysdeps/unix/sysv/linux/sh/libc.abilist [GLIBC_2.22]: Likewise.
758         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist
759         [GLIBC_2.22]: Likewise.
760         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist
761         [GLIBC_2.22]: Likewise.
762         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist
763         [GLIBC_2.22]: Likewise.
764         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist
765         [GLIBC_2.22]: Likewise.
766         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist [GLIBC_2.22]:
767         Likewise.
768         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist [GLIBC_2.22]:
769         Likewise.
770         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist [GLIBC_2.22]:
771         Likewise.
772         * sysdeps/unix/sysv/linux/hppa/libc.abilist [GLIBC_2.22]: Likewise.
773         * sysdeps/unix/sysv/linux/nios2/libc.abilist [GLIBC_2.22]: Likewise.
775 2015-07-08  Carlos O'Donell  <carlos@redhat.com>
777         [BZ #18643]
778         * sysdeps/unix/sysv/linux/bits/in.h: Define IPV6_RECVPATHMTU,
779         IPV6_PATHMTU, and IPV6_DONTFRAG.
781 2015-07-08  Feng Gao  <gfree.wind@gmail.com>
783         * libio/fileops.c: Use "|" instead of "+" when combine _IO_LINE_BUF
784         and _IO_UNBUFFERED.
785         * libio/oldfileops.c: Likewise.
786         * libio/wfileops.c: Likewise.
788 2015-07-08  Mike Frysinger  <vapier@gentoo.org>
790         * nscd/selinux.c: Delete selinux/flask.h include.
792 2015-07-08  Mike Frysinger  <vapier@gentoo.org>
794         [BZ #18641]
795         * pwd/pwd.h (fgetpwent): Add __nonnull markings.
796         (putpwent): Likewise.
797         (getpwnam): Likewise.
798         (getpwent_r): Likewise.
799         (getpwuid_r): Likewise.
800         (getpwnam_r): Likewise.
801         (fgetpwent_r): Likewise.
803 2015-07-08  Carlos O'Donell  <carlos@redhat.com>
805         [BZ #18557]
806         * inet/rcmd.c (__validuser2_sa): Check user first to
807         short-circuit host check.
809 2015-07-07  Pavel Kopyl  <p.kopyl@samsung.com>
810             Mikhail Ilin  <m.ilin@samsung.com>
812         [BZ #17833]
813         * elf/Makefile (tests): Add tst-nodelete.
814         (modules-names): Add tst-nodelete-uniquemod.
815         (tst-nodelete-uniquemod.so-no-z-defs): New.
816         (tst-nodelete-rtldmod.so-no-z-defs): Likewise.
817         (tst-nodelete-zmod.so-no-z-defs): Likewise.
818         ($(objpfx)tst-nodelete): Likewise.
819         ($(objpfx)tst-nodelete.out): Likewise.
820         (LDFLAGS-tst-nodelete): Likewise.
821         (LDFLAGS-tst-nodelete-zmod.so): Likewise.
822         * elf/dl-close.c (_dl_close_worker): Add a parameter to
823         implement forced object deletion.
824         (_dl_close): Pass false to _dl_close_worker.
825         * elf/dl-open.c (_dl_open): Pass true to _dl_close_worker.
826         * elf/tst-nodelete.cc: New file.
827         * elf/tst-nodeletelib.cc: Likewise.
828         * elf/tst-znodeletelib.cc: Likewise.
829         * include/dlfcn.h (_dl_close_worker): Add a new parameter.
831 2015-07-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
833         [BZ #18508]
834         * stdlib/Makefile ($(objpfx)tst-makecontext3):
835         Depend on $(libdl).
836         * stdlib/tst-makecontext.c (cf): Test if _Unwind_Backtrace
837         is not called infinitely times.
838         (backtrace_helper): New function.
839         (trace_arg): New struct.
840         (st1): Enlarge stack size.
841         * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
842         (__makecontext_ret): Omit cfi_startproc and cfi_endproc.
843         * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
844         Likewise.
846 2015-07-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
848         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
850 2015-07-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
852         * sysdeps/unix/sysv/linux/s390/bits/sem.h:
853         Include sys/types.h instead of bits/types.h.
854         Remove inclusion of bits/wordsize.h.
856 2015-07-07  H.J. Lu  <hongjiu.lu@intel.com>
858         * sysdeps/x86_64/tst-auditmod10b.c (la_symbind32): New.
859         * sysdeps/x86_64/tst-auditmod4b.c (la_symbind32): Likewise.
860         * sysdeps/x86_64/tst-auditmod5b.c (la_symbind32): Likewise.
861         * sysdeps/x86_64/tst-auditmod6b.c (la_symbind32): Likewise.
862         * sysdeps/x86_64/tst-auditmod6c.c (la_symbind32): Likewise.
863         * sysdeps/x86_64/tst-auditmod7b.c (la_symbind32): Likewise.
865 2015-07-07  H.J. Lu  <hongjiu.lu@intel.com>
867         * sysdeps/i386/Makefile (gen-as-const-headers)[elf]: Add
868         link-defines.sym.
869         * sysdeps/i386/dl-trampoline.S: Include <link-defines.h>.
870         (_dl_runtime_profile): Use LONG_DOUBLE_SIZE, LRV_SIZE,
871         LRV_EAX_OFFSET, LRV_EDX_OFFSET, LRV_ST0_OFFSET, LRV_ST1_OFFSET
872         and LR_SIZE.
873         * sysdeps/i386/link-defines.sym: New file.
875 2015-07-07  H.J. Lu  <hongjiu.lu@intel.com>
877         * sysdeps/i386/Makefile (tests)[elf]: Add tst-audit3.
878         (modules-names): Add tst-auditmod3a tst-auditmod3b.
879         ($(objpfx)tst-audit3): New rule.
880         ($(objpfx)tst-audit3.out): Likewise.
881         * sysdeps/i386/tst-audit3.c: New file.
882         * sysdeps/i386/tst-audit3.h: Likewise.
883         * sysdeps/i386/tst-auditmod3a.c: Likewise.
884         * sysdeps/i386/tst-auditmod3b.c: Likewise.
886 2015-07-07  Torvald Riegel  <triegel@redhat.com>
888         [BZ #18633]
889         * sysdeps/x86/bits/string.h (__memmove_g): Do not create invalid
890         pointer in C code.
891         (__strcat_c): Likewise.
892         (__strcat_g): Likewise.
894 2015-07-07  Cyril Hrubis <chrubis@suse.cz>
896         [BZ #18592]
897         * misc/sbrk.c: Set errno to ENOMEM on overflow.
899 2015-07-06  Wilco Dijkstra  <wdijkstr@arm.com>
901         * sysdeps/aarch64/fpu/math_private.h (__ieee754_sqrt):
902         New function.  (__ieee754_sqrtf): New function.
903         * sysdeps/aarch64/fpu/e_sqrt.c (__ieee754_sqrt):
904         New function.
905         * sysdeps/aarch64/fpu/e_sqrtf.c (__ieee754_sqrtf):
906         New function.
908 2015-07-06  Wilco Dijkstra  <wdijkstr@arm.com>
910         * sysdeps/ieee754/support.c: Remove unused file.
912 2015-07-06  Szabolcs Nagy  <szabolcs.nagy@arm.com>
914         * sysdeps/unix/sysv/linux/aarch64/getcontext.S (__getcontext): Use q
915         registers instead of d ones so the layout is kernel abi compatible.
916         * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext): Likewise.
917         * sysdeps/unix/sysv/linux/aarch64/swapcontext.S (__swapcontext):
918         Likewise.
920 2015-07-02  Szabolcs Nagy  <szabolcs.nagy@arm.com>
922         * sysdeps/aarch64/libm-test-ulps: Regenerated.
924 2015-07-01  Joseph Myers  <joseph@codesourcery.com>
926         [BZ #18619]
927         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Force underflow
928         and return argument in case of subnormal argument.
930 2015-07-01  Martin Sebor  <msebor@redhat.com>
932         [BZ #18435]
933         * nptl/Makefile: Add tst-once5.cc.
934         * nptl/pthreadP.h (pthread_cleanup_push, pthread_cleanup_pop):
935         Remove macro redefinitions.
936         * nptl/tst-once5.cc: New test.
938 2015-07-01  Joseph Myers  <joseph@codesourcery.com>
940         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
942         * sysdeps/arm/libm-test-ulps: Regenerated.
944         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
945         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
947 2015-06-30  Torvald Riegel  <triegel@redhat.com>
949         * nptl/DESIGN-systemtap-probes.txt: Remove lll_lock_wait,
950         lll_lock_wait_private and lll_futex_wake probes.
952         * sysdeps/unix/sysv/linux/i386/lowlevellock.h (BUSY_WAIT_NOP): Remove.
953         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (BUSY_WAIT_NOP):
954         Likewise.
955         * sysdeps/i386/i486/bits/atomic.h (atomic_delay): Rename to
956         atomic_spin_nop.
957         * sysdeps/x86_64/bits/atomic.h: Likewise.
958         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h (BUSY_WAIT_NOP): Rename
959         to atomic_spin_nop and move ...
960         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_spin_nop):
961         ... here and ...
962         * sysdeps/sparc/sparc64/bits/atomic.h: ... here.
963         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock): Use
964         atomic_spin_nop instead of BUSY_WAIT_NOP.
965         * nptl/pthread_mutex_timedlock.c (__pthread_mutex_timedlock):
966         Likewise.
967         * sysdeps/nacl/lll_timedwait_tid.c (__lll_timedwait_tid): Likewise.
968         * sysdeps/nacl/lowlevellock.h (BUSY_WAIT_NOP): Remove.
969         (lll_wait_tid): Use atomic_spin_nop instead of BUSY_WAIT_NOP.
970         * nscd/nscd-client.h (__nscd_acquire_maplock): Use atomic_spin_nop
971         instead of atomic_delay.
973 2015-06-29  Joseph Myers  <joseph@codesourcery.com>
975         [BZ #18613]
976         * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Take log of
977         X_ADJ not X when adjusting exponent.
978         (__ieee754_gamma_r): Do intermediate computations in
979         round-to-nearest then adjust overflowing and underflowing results
980         as needed.
981         * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Take log
982         of X_ADJ not X when adjusting exponent.
983         (__ieee754_gammaf_r): Do intermediate computations in
984         round-to-nearest then adjust overflowing and underflowing results
985         as needed.
986         * sysdeps/ieee754/ldbl-128/e_gammal_r.c (gammal_positive): Take
987         log of X_ADJ not X when adjusting exponent.
988         (__ieee754_gammal_r): Do intermediate computations in
989         round-to-nearest then adjust overflowing and underflowing results
990         as needed.  Use 1.0L not 1.0f as numerator of division.
991         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (gammal_positive): Take
992         log of X_ADJ not X when adjusting exponent.
993         (__ieee754_gammal_r): Do intermediate computations in
994         round-to-nearest then adjust overflowing and underflowing results
995         as needed.  Use 1.0L not 1.0f as numerator of division.
996         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (gammal_positive): Take log
997         of X_ADJ not X when adjusting exponent.
998         (__ieee754_gammal_r): Do intermediate computations in
999         round-to-nearest then adjust overflowing and underflowing results
1000         as needed.  Use 1.0L not 1.0f as numerator of division.
1001         * math/libm-test.inc (tgamma_test_data): Remove one test.  Moved
1002         to auto-libm-test-in.
1003         (tgamma_test): Use ALL_RM_TEST.
1004         * math/auto-libm-test-in: Add one test of tgamma.  Mark some other
1005         tests of tgamma with spurious-overflow.
1006         * math/auto-libm-test-out: Regenerated.
1007         * math/gen-libm-have-vector-test.sh: Do not check for START.
1008         * sysdeps/i386/fpu/libm-test-ulps: Update.
1009         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1011         [BZ #18612]
1012         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): For small
1013         arguments, just return 0.5 times the argument, with underflow
1014         forced as needed.
1015         * math/auto-libm-test-in: Add more tests of j1.
1016         * math/auto-libm-test-out: Regenerated.
1018         [BZ #16559]
1019         * sysdeps/ieee754/dbl-64/e_j1.c: Include <float.h>.
1020         (__ieee754_j1): Force underflow exception for small results.
1021         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
1022         * sysdeps/ieee754/flt-32/e_j1f.c: Include <float.h>.
1023         (__ieee754_j1f): Force underflow exception for small results.
1024         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
1025         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
1026         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
1027         * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <float.h>.
1028         (__ieee754_j1l): Force underflow exception for small results.
1029         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
1030         * math/auto-libm-test-in: Add more tests of j1 and jn.
1031         * math/auto-libm-test-out: Regenerated.
1033         * sysdeps/unix/sysv/linux/bits/in.h (IP_CHECKSUM): New macro.
1034         * sysdeps/unix/sysv/linux/bits/socket.h (PF_IB): Likewise.
1035         (PF_MPLS): Likewise.
1036         (AF_IB): Likewise.
1037         (AF_MPLS): Likewise.
1038         * sysdeps/unix/sysv/linux/sys/mount.h (MS_LAZYTIME): New enum
1039         value and macro.
1040         (MS_RMT_MASK): Include MS_LAZYTIME.
1042 2015-06-26  Mel Gorman  <mgorman@suse.de>
1044         [BZ #18502]
1045         * malloc/arena.c (heap_trim): Don't try to shrink a heap that is
1046         already minimal.
1048 2015-06-26  Matthew Fortune  <matthew.fortune@imgtec.com>
1050         * elf/elf.h (DT_MIPS_RLD_MAP_REL): New macro.
1051         (DT_MIPS_NUM): Update.
1052         * sysdeps/mips/dl-machine.h (ELF_MACHINE_DEBUG_SETUP): Handle
1053         DT_MIPS_RLD_MAP_REL.
1055 2015-06-25  Joseph Myers  <joseph@codesourcery.com>
1057         [BZ #16559]
1058         [BZ #18602]
1059         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Set
1060         round-to-nearest internally then recompute results that
1061         underflowed to zero in the original rounding mode.
1062         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
1063         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
1064         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
1065         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise
1066         * math/libm-test.inc (jn_test): Use ALL_RM_TEST.
1067         * sysdeps/i386/fpu/libm-test-ulps: Update.
1068         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1070 2015-06-25  Andrew Senkevich  <andrew.senkevich@intel.com>
1072         * NEWS: Fixed description of link with vector math library.
1074 2015-06-25  Andreas Schwab  <schwab@suse.de>
1076         [BZ #18549]
1077         * libio/fmemopen.c (fmemopen_write): Fix bounds check for ENOSPC.
1078         * libio/test-fmemopen.c (do_test): Add test for it.
1080 2015-06-25  H.J. Lu  <hongjiu.lu@intel.com>
1082         [BZ #17841]
1083         * Makeconfig (no-pie-ldflag): New.
1084         (+link): Set to $(+link-pie) if default to PIE.
1085         (+link-tests): Set to $(+link-pie-tests) if default to PIE.
1086         * config.make.in (build-pie-default): New.
1087         * configure.ac (libc_cv_pie_default): New.  Set to yes if -fPIE
1088         is default.  AC_SUBST.
1089         * configure: Regenerated.
1090         * elf/Makefile (LDFLAGS-tst-dlopen-aout): New.
1092 2015-06-24  Roland McGrath  <roland@hack.frob.com>
1094         * nptl/descr.h (struct pthread): Change type of field setxid_futex
1095         to 'unsigned int'.
1097         * resolv/gai_misc.h (struct waitlist): Change type of field
1098         counterp to 'volatile unsigned int *'.
1099         * sysdeps/nptl/gai_misc.h (GAI_MISC_WAIT): Use unsigned types for
1100         FUTEXADDR and OLDVAL.
1101         * resolv/getaddrinfo_a.c (getaddrinfo_a):
1102         Give local variable TOTAL type 'volatile unsigned int'.
1103         (struct async_waitlist): Change type of field counter to 'unsigned int'.
1104         * resolv/gai_suspend.c (gai_suspend):
1105         Give local variable CNTR type 'unsigned int'.
1107         * sysdeps/pthread/aio_misc.h (struct waitlist): Change type of field
1108         counterp to 'volatile unsigned int *'.
1109         * sysdeps/pthread/aio_suspend.c [DONT_NEED_AIO_MISC_COND]
1110         (do_aio_misc_wait): Give argument CNTR type 'unsigned int *'.
1111         (aio_suspend): Give local variable CNTR type 'unsigned int'.
1112         * sysdeps/pthread/lio_listio.c (lio_listio_internal):
1113         Give local variable TOTAL type 'volatile unsigned int'.
1114         (struct async_waitlist): Change type of field counter to 'unsigned int'.
1116 2015-06-24  H.J. Lu  <hongjiu.lu@intel.com>
1118         [BZ #18383]
1119         * csu/libc-tls.c (__libc_setup_tls) [TLS_TCB_AT_TP]: Align
1120         TCB_OFFSET to MAX_ALIGN, not just TCBALIGN.  Add comment.
1121         * elf/Makefile (test-xfail-tst-tlsalign{,-static}): Remove
1122         comment for i386/x86-64.
1123         (test-xfail-tst-tlsalign-extern-static): Removed.
1125 2015-06-24  Joseph Myers  <joseph@codesourcery.com>
1127         * math/test-double.h: New file.
1128         * math/test-float.h: Likewise.
1129         * math/test-ldouble.h: Likewise.
1130         * math/test-math-inline.h: Likewise.
1131         * math/test-math-no-inline.h: Likewise.
1132         * math/test-math-scalar.h: Likewise.
1133         * math/test-math-vector.h: Likewise.
1134         * math/test-vec-loop.h: Remove file.  Contents moved into
1135         test-math-vector.h.
1136         * math/libm-test.inc (MATHCONST): Do not document macro.
1137         * math/test-double.c: Include test-double.h, test-math-no-inline.h
1138         and test-math-scalar.h.
1139         (FUNC): Remove macro.
1140         (FUNC_TEST): Likewise.
1141         (FLOAT): Likewise.
1142         (MATHCONST): Likewise.
1143         (PRINTF_EXPR): Likewise.
1144         (PRINTF_XEXPR): Likewise.
1145         (PRINTF_NEXPR): Likewise.
1146         (TEST_DOUBLE): Likewise.
1147         (TEST_MATHVEC): Likewise.
1148         (__NO_MATH_INLINES): Likewise.
1149         * math/test-float.c: Include test-float.h, test-math-no-inline.h
1150         and test-math-scalar.h.
1151         (FUNC): Remove macro.
1152         (FUNC_TEST): Likewise.
1153         (FLOAT): Likewise.
1154         (MATHCONST): Likewise.
1155         (PRINTF_EXPR): Likewise.
1156         (PRINTF_XEXPR): Likewise.
1157         (PRINTF_NEXPR): Likewise.
1158         (TEST_FLOAT): Likewise.
1159         (TEST_MATHVEC): Likewise.
1160         (__NO_MATH_INLINES): Likewise.
1161         * math/test-idouble.c: Include test-double.h, test-math-inline.h
1162         and test-math-scalar.h.
1163         (FUNC): Remove macro.
1164         (FUNC_TEST): Likewise.
1165         (FLOAT): Likewise.
1166         (MATHCONST): Likewise.
1167         (PRINTF_EXPR): Likewise.
1168         (PRINTF_XEXPR): Likewise.
1169         (PRINTF_NEXPR): Likewise.
1170         (TEST_DOUBLE): Likewise.
1171         (TEST_MATHVEC): Likewise.
1172         (TEST_INLINE): Likewise.
1173         (__NO_MATH_INLINES): Likewise.
1174         * math/test-ifloat.c: Include test-float.h, test-math-inline.h and
1175         test-math-scalar.h.
1176         (FUNC): Remove macro.
1177         (FUNC_TEST): Likewise.
1178         (FLOAT): Likewise.
1179         (MATHCONST): Likewise.
1180         (PRINTF_EXPR): Likewise.
1181         (PRINTF_XEXPR): Likewise.
1182         (PRINTF_NEXPR): Likewise.
1183         (TEST_FLOAT): Likewise.
1184         (TEST_MATHVEC): Likewise.
1185         (TEST_INLINE): Likewise.
1186         (__NO_MATH_INLINES): Likewise.
1187         * math/test-ildoubl.c: Include test-ldouble.h, test-math-inline.h
1188         and test-math-scalar.h.
1189         (FUNC): Remove macro.
1190         (FUNC_TEST): Likewise.
1191         (FLOAT): Likewise.
1192         (MATHCONST): Likewise.
1193         (PRINTF_EXPR): Likewise.
1194         (PRINTF_XEXPR): Likewise.
1195         (PRINTF_NEXPR): Likewise.
1196         (TEST_LDOUBLE): Likewise.
1197         (TEST_MATHVEC): Likewise.
1198         (TEST_INLINE): Likewise.
1199         (__NO_MATH_INLINES): Likewise.
1200         * math/test-ldouble.c: Include test-ldouble.h,
1201         test-math-no-inline.h and test-math-scalar.h.
1202         (FUNC): Remove macro.
1203         (FUNC_TEST): Likewise.
1204         (FLOAT): Likewise.
1205         (MATHCONST): Likewise.
1206         (PRINTF_EXPR): Likewise.
1207         (PRINTF_XEXPR): Likewise.
1208         (PRINTF_NEXPR): Likewise.
1209         (TEST_LDOUBLE): Likewise.
1210         (TEST_MATHVEC): Likewise.
1211         (__NO_MATH_INLINES): Likewise.
1212         * math/test-double-vlen2.h: Include test-double.h,
1213         test-math-no-inline.h and test-math-vector.h.
1214         (FLOAT): Remove macro.
1215         (FUNC): Likewise.
1216         (MATHCONST): Likewise.
1217         (PRINTF_EXPR): Likewise.
1218         (PRINTF_XEXPR): Likewise.
1219         (PRINTF_NEXPR): Likewise.
1220         (TEST_DOUBLE): Likewise.
1221         (TEST_MATHVEC): Likewise.
1222         (__NO_MATH_INLINES): Likewise.
1223         (CNCT): Likewise.
1224         (CONCAT): Likewise.
1225         (WRAPPER_NAME): Likewise.
1226         (WRAPPER_DECL): Likewise.
1227         (WRAPPER_DECL_ff): Likewise.
1228         (WRAPPER_DECL_fFF): Likewise.
1229         (VECTOR_WRAPPER): Likewise.
1230         (VECTOR_WRAPPER_ff): Likewise.
1231         (VECTOR_WRAPPER_fFF): Likewise.
1232         (VEC_LEN): New macro.
1233         * math/test-double-vlen4.h: Include test-double.h,
1234         test-math-no-inline.h and test-math-vector.h.
1235         (FLOAT): Remove macro.
1236         (FUNC): Likewise.
1237         (MATHCONST): Likewise.
1238         (PRINTF_EXPR): Likewise.
1239         (PRINTF_XEXPR): Likewise.
1240         (PRINTF_NEXPR): Likewise.
1241         (TEST_DOUBLE): Likewise.
1242         (TEST_MATHVEC): Likewise.
1243         (__NO_MATH_INLINES): Likewise.
1244         (CNCT): Likewise.
1245         (CONCAT): Likewise.
1246         (WRAPPER_NAME): Likewise.
1247         (WRAPPER_DECL): Likewise.
1248         (WRAPPER_DECL_ff): Likewise.
1249         (WRAPPER_DECL_fFF): Likewise.
1250         (VECTOR_WRAPPER): Likewise.
1251         (VECTOR_WRAPPER_ff): Likewise.
1252         (VECTOR_WRAPPER_fFF): Likewise.
1253         (VEC_LEN): New macro.
1254         * math/test-double-vlen8.h: Include test-double.h,
1255         test-math-no-inline.h and test-math-vector.h.
1256         (FLOAT): Remove macro.
1257         (FUNC): Likewise.
1258         (MATHCONST): Likewise.
1259         (PRINTF_EXPR): Likewise.
1260         (PRINTF_XEXPR): Likewise.
1261         (PRINTF_NEXPR): Likewise.
1262         (TEST_DOUBLE): Likewise.
1263         (TEST_MATHVEC): Likewise.
1264         (__NO_MATH_INLINES): Likewise.
1265         (CNCT): Likewise.
1266         (CONCAT): Likewise.
1267         (WRAPPER_NAME): Likewise.
1268         (WRAPPER_DECL): Likewise.
1269         (WRAPPER_DECL_ff): Likewise.
1270         (WRAPPER_DECL_fFF): Likewise.
1271         (VECTOR_WRAPPER): Likewise.
1272         (VECTOR_WRAPPER_ff): Likewise.
1273         (VECTOR_WRAPPER_fFF): Likewise.
1274         (VEC_LEN): New macro.
1275         * math/test-float-vlen4.h: Include test-float.h,
1276         test-math-no-inline.h and test-math-vector.h.
1277         (FLOAT): Remove macro.
1278         (FUNC): Likewise.
1279         (MATHCONST): Likewise.
1280         (PRINTF_EXPR): Likewise.
1281         (PRINTF_XEXPR): Likewise.
1282         (PRINTF_NEXPR): Likewise.
1283         (TEST_FLOAT): Likewise.
1284         (TEST_MATHVEC): Likewise.
1285         (__NO_MATH_INLINES): Likewise.
1286         (CNCT): Likewise.
1287         (CONCAT): Likewise.
1288         (WRAPPER_NAME): Likewise.
1289         (WRAPPER_DECL): Likewise.
1290         (WRAPPER_DECL_ff): Likewise.
1291         (WRAPPER_DECL_fFF): Likewise.
1292         (VECTOR_WRAPPER): Likewise.
1293         (VECTOR_WRAPPER_ff): Likewise.
1294         (VECTOR_WRAPPER_fFF): Likewise.
1295         (VEC_LEN): New macro.
1296         * math/test-float-vlen8.h: Include test-float.h,
1297         test-math-no-inline.h and test-math-vector.h.
1298         (FLOAT): Remove macro.
1299         (FUNC): Likewise.
1300         (MATHCONST): Likewise.
1301         (PRINTF_EXPR): Likewise.
1302         (PRINTF_XEXPR): Likewise.
1303         (PRINTF_NEXPR): Likewise.
1304         (TEST_FLOAT): Likewise.
1305         (TEST_MATHVEC): Likewise.
1306         (__NO_MATH_INLINES): Likewise.
1307         (CNCT): Likewise.
1308         (CONCAT): Likewise.
1309         (WRAPPER_NAME): Likewise.
1310         (WRAPPER_DECL): Likewise.
1311         (WRAPPER_DECL_ff): Likewise.
1312         (WRAPPER_DECL_fFF): Likewise.
1313         (VECTOR_WRAPPER): Likewise.
1314         (VECTOR_WRAPPER_ff): Likewise.
1315         (VECTOR_WRAPPER_fFF): Likewise.
1316         (VEC_LEN): New macro.
1317         * math/test-float-vlen16.h: Include test-float.h,
1318         test-math-no-inline.h and test-math-vector.h.
1319         (FLOAT): Remove macro.
1320         (FUNC): Likewise.
1321         (MATHCONST): Likewise.
1322         (PRINTF_EXPR): Likewise.
1323         (PRINTF_XEXPR): Likewise.
1324         (PRINTF_NEXPR): Likewise.
1325         (TEST_FLOAT): Likewise.
1326         (TEST_MATHVEC): Likewise.
1327         (__NO_MATH_INLINES): Likewise.
1328         (CNCT): Likewise.
1329         (CONCAT): Likewise.
1330         (WRAPPER_NAME): Likewise.
1331         (WRAPPER_DECL): Likewise.
1332         (WRAPPER_DECL_ff): Likewise.
1333         (WRAPPER_DECL_fFF): Likewise.
1334         (VECTOR_WRAPPER): Likewise.
1335         (VECTOR_WRAPPER_ff): Likewise.
1336         (VECTOR_WRAPPER_fFF): Likewise.
1337         (VEC_LEN): New macro.
1338         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Do not include
1339         test-vec-loop.h.
1340         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
1341         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
1342         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
1343         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
1344         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
1345         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
1346         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Likewise.
1348 2015-06-24  Roland McGrath  <roland@hack.frob.com>
1350         * sysdeps/nacl/glob.c (getlogin_r): Macro renamed to ...
1351         (__getlogin_r): ... this.
1353 2015-06-24  Joseph Myers  <joseph@codesourcery.com>
1355         [BZ #18594]
1356         * math/s_ccosh.c (__ccosh): Compare with least normal value
1357         instead of comparing class with FP_SUBNORMAL.
1358         * math/s_ccoshf.c (__ccoshf): Likewise.
1359         * math/s_ccoshl.c (__ccoshl): Likewise.
1360         * math/s_cexp.c (__cexp): Likewise.
1361         * math/s_cexpf.c (__cexpf): Likewise.
1362         * math/s_cexpl.c (__cexpl): Likewise.
1363         * math/s_csin.c (__csin): Likewise.
1364         * math/s_csinf.c (__csinf): Likewise.
1365         * math/s_csinh.c (__csinh): Likewise.
1366         * math/s_csinhf.c (__csinhf): Likewise.
1367         * math/s_csinhl.c (__csinhl): Likewise.
1368         * math/s_csinl.c (__csinl): Likewise.
1369         * math/s_ctan.c (__ctan): Likewise.
1370         * math/s_ctanf.c (__ctanf): Likewise.
1371         * math/s_ctanh.c (__ctanh): Likewise.
1372         * math/s_ctanhf.c (__ctanhf): Likewise.
1373         * math/s_ctanhl.c (__ctanhl): Likewise.
1374         * math/s_ctanl.c (__ctanl): Likewise.
1375         * math/auto-libm-test-in: Add more tests of ccos, ccosh, cexp,
1376         csin, csinh, ctan and ctanh.
1377         * math/auto-libm-test-out: Regenerated.
1378         * math/libm-test.inc (cexp_test): Use ALL_RM_TEST.
1379         * sysdeps/i386/fpu/libm-test-ulps: Update.
1380         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1382 2015-06-24  Roland McGrath  <roland@hack.frob.com>
1384         * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): When sched_getcpu
1385         return value is wrong, print the expected value too.
1387 2015-06-24  H.J. Lu  <hongjiu.lu@intel.com>
1389         [BZ #18585]
1390         * elf/readlib.c (is_gdb_python_file): New.
1391         (process_file): Don't issue errors on filenames with -gdb.py
1392         suffix.
1394 2015-06-24  Joseph Myers  <joseph@codesourcery.com>
1396         * math/auto-libm-test-in: Add more tests of csin and csinh.
1397         * math/auto-libm-test-out: Regenerated.
1398         * math/libm-test.inc (csin_test_data): Remove tests moved to
1399         auto-libm-test-in.
1400         (csinh_test_data): Likewise.
1402         [BZ #18593]
1403         * math/s_csin.c (__csin): Negate before rather than after possibly
1404         overflowing multiplication.
1405         * math/s_csinf.c (__csinf): Likewise.
1406         * math/s_csinh.c (__csinh): Likewise.
1407         * math/s_csinhf.c (__csinhf): Likewise.
1408         * math/s_csinhl.c (__csinhl): Likewise.
1409         * math/s_csinl.c (__csinl): Likewise.
1410         * math/auto-libm-test-in: Add some tests of csin and csinh.
1411         * math/auto-libm-test-out: Regenerated.
1412         * math/libm-test.inc (csin_test_data): Use AUTO_TESTS_c_c.
1413         (csinh_test_data): Likewise.
1414         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
1416         [BZ #18586]
1417         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Force
1418         underflow exception for small results.
1420 2015-06-24  Andrew Senkevich  <andrew.senkevich@intel.com>
1422         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Fixed files list.
1423         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S: Renamed
1424         variable and included header.
1425         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S: Likewise.
1426         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S: Likewise.
1427         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S: Likewise.
1428         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S: Likewise.
1429         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S: Likewise.
1430         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S: Likewise.
1431         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S: Likewise.
1432         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S: Likewise.
1433         * sysdeps/x86_64/fpu/svml_s_trig_data.S: New file.
1434         * sysdeps/x86_64/fpu/svml_s_trig_data.h: Likewise.
1435         * sysdeps/x86_64/fpu/svml_s_cosf_data.S: Removed file.
1436         * sysdeps/x86_64/fpu/svml_s_cosf_data.h: Likewise.
1437         * sysdeps/x86_64/fpu/svml_s_sinf_data.S: Likewise.
1438         * sysdeps/x86_64/fpu/svml_s_sinf_data.h: Likewise.
1439         * sysdeps/x86_64/fpu/svml_s_sincosf_data.S: Likewise.
1440         * sysdeps/x86_64/fpu/svml_s_sincosf_data.h: Likewise.
1442 2015-06-23  Joseph Myers  <joseph@codesourcery.com>
1444         [BZ #16526]
1445         [BZ #16538]
1446         * sysdeps/ieee754/dbl-64/s_sin.c: Include <float.h>.
1447         (__sin): Force underflow exception for arguments with small
1448         absolute value.
1449         * sysdeps/ieee754/flt-32/k_sinf.c: Include <float.h>.
1450         (__kernel_sinf): Force underflow exception for arguments with
1451         small absolute value.
1452         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Include <float.h>.
1453         (__kernel_sincosl): Force underflow exception for arguments with
1454         small absolute value.
1455         * sysdeps/ieee754/ldbl-128/k_sinl.c: Include <float.h>.
1456         (__kernel_sinl): Force underflow exception for arguments with
1457         small absolute value.
1458         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Include <float.h>.
1459         (__kernel_sincosl): Force underflow exception for arguments with
1460         small absolute value.
1461         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Include <float.h>.
1462         (__kernel_sinl): Force underflow exception for arguments with
1463         small absolute value.
1464         * sysdeps/ieee754/ldbl-96/k_sinl.c: Include <float.h>.
1465         (__kernel_sinl): Force underflow exception for arguments with
1466         small absolute value.
1467         * sysdeps/powerpc/fpu/k_sinf.c: Include <float.h>.
1468         (__kernel_sinf): Force underflow exception for arguments with
1469         small absolute value.
1470         * math/auto-libm-test-in: Add more tests of sin and sincos.
1471         * math/auto-libm-test-out: Regenerated.
1473         [BZ #18245]
1474         [BZ #18583]
1475         * sysdeps/ieee754/k_standardl.c: Include <fenv.h>.
1476         (__kernel_standard_l): Use feholdexcept and fesetenv around
1477         conversion to double instead of special-casing overflow and
1478         underflow.
1479         * math/libm-test.inc (fmod_test_data): Add more tests.
1480         (remainder_test_data): Likewise.
1481         (sqrt_test_data): Likewise.
1483 2015-06-23  Torvald Riegel  <triegel@redhat.com>
1485         [BZ #17403]
1486         * sysdeps/x86_64/bits/atomic.h: (atomic_full_barrier,
1487         atomic_read_barrier, atomic_write_barrier): Define.
1488         * sysdeps/i386/i486/bits/atomic.h (atomic_full_barrier,
1489         atomic_read_barrier, atomic_write_barrier): Define.
1491 2015-06-23  Joseph Myers  <joseph@codesourcery.com>
1493         * math/Makefile [$(PERL) != no]
1494         ($(addprefix $(objpfx), $(addsuffix .o, $(libm-vec-tests)))): Move
1495         dependency on libm-test.stmp below the inclusion of Rules.
1497 2015-06-23  Andrew Senkevich  <andrew.senkevich@intel.com>
1499         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Fixed files list.
1500         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S: Renamed variable
1501         and included header.
1502         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S: Likewise.
1503         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S: Likewise.
1504         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S: Likewise.
1505         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S: Likewise.
1506         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S: Likewise.
1507         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S: Likewise.
1508         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S: Likewise.
1509         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S: Likewise.
1510         * sysdeps/x86_64/fpu/svml_d_trig_data.S: New file.
1511         * sysdeps/x86_64/fpu/svml_d_trig_data.h: Likewise.
1512         * sysdeps/x86_64/fpu/svml_d_cos2_core.S: Removed unneeded include.
1513         * sysdeps/x86_64/fpu/svml_d_cos4_core.S: Likewise.
1514         * sysdeps/x86_64/fpu/svml_d_cos8_core.S: Likewise.
1515         * sysdeps/x86_64/fpu/svml_d_cos_data.S: Removed file.
1516         * sysdeps/x86_64/fpu/svml_d_cos_data.h: Likewise.
1517         * sysdeps/x86_64/fpu/svml_d_sin_data.S: Likewise.
1518         * sysdeps/x86_64/fpu/svml_d_sin_data.h: Likewise.
1519         * sysdeps/x86_64/fpu/svml_d_sincos_data.S: Likewise.
1520         * sysdeps/x86_64/fpu/svml_d_sincos_data.h: Likewise.
1522 2015-06-23  Joseph Myers  <joseph@codesourcery.com>
1524         [BZ #18371]
1525         * math/s_csqrt.c (__csqrt): Avoid multiplication by 0.5 where
1526         intermediate but not final result might underflow.
1527         * math/s_csqrtf.c (__csqrtf): Likewise.
1528         * math/s_csqrtl.c (__csqrtl): Likewise.
1529         * math/auto-libm-test-in: Add more tests of csqrt.
1530         * math/auto-libm-test-out: Regenerated.
1531         * sysdeps/i386/fpu/libm-test-ulps: Update.
1533         [BZ #18219]
1534         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Reduce
1535         threshold on absolute value of exponent for which scaling is used.
1536         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
1537         * math/auto-libm-test-in: Add more tests of exp2.
1538         * math/auto-libm-test-out: Regenerated.
1540 2015-06-23  Dmitry V. Levin  <ldv@altlinux.org>
1542         [BZ #17977]
1543         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix unlocking
1544         when initializing interface list, based on the bug analysis
1545         and the patch proposed by Eric Newton.
1546         * resolv/tst-res_hconf_reorder.c: New test.
1547         * resolv/Makefile [$(have-thread-library) = yes] (tests): Add
1548         tst-res_hconf_reorder.
1549         ($(objpfx)tst-res_hconf_reorder): Depend on $(libdl)
1550         and $(shared-thread-library).
1551         (tst-res_hconf_reorder-ENV): New variable.
1553         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix typo
1554         in comment.
1556 2015-06-22  Joseph Myers  <joseph@codesourcery.com>
1558         [BZ #16353]
1559         * sysdeps/i386/fpu/s_expm1.S (dbl_min): New object.
1560         (__expm1): Force underflow exception for arguments with small
1561         absolute value.
1562         * sysdeps/i386/fpu/s_expm1f.S (flt_min): New object.
1563         (__expm1f): Force underflow exception for arguments with small
1564         absolute value.
1565         * sysdeps/ieee754/dbl-64/s_expm1.c: Include <float.h>.
1566         (__expm1): Force underflow exception for arguments with small
1567         absolute value.
1568         * sysdeps/ieee754/flt-32/s_expm1f.c: Include <float.h>.
1569         (__expm1f): Force underflow exception for arguments with small
1570         absolute value.
1571         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
1572         Check for small arguments before calling __expm1.
1573         * math/auto-libm-test-in: Do not mark underflow exceptions as
1574         possibly missing for bug 16353.
1575         * math/auto-libm-test-out: Regenerated.
1577 2015-06-22  Andreas Schwab  <schwab@suse.de>
1579         [BZ #18513]
1580         * resolv/nss_dns/dns-host.c (getanswer_r): Record TTL also for
1581         PTR queries.
1583 2015-06-22  Leonhard Holz  <leonhard.holz@web.de>
1585         * string/strcoll_l.c (STRCOLL): Remove unnecessary memset.
1587         * string/strcoll_l.c: Remove unused struct element idxnow.
1589 2015-06-21  Joseph Myers  <joseph@codesourcery.com>
1591         [BZ #18569]
1592         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Force
1593         underflow and return argument in case of subnormal argument.
1594         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
1595         Likewise.
1596         * math/auto-libm-test-in: Add more tests of expm1.
1597         * math/auto-libm-test-out: Regenerated.
1599         [BZ #16361]
1600         * sysdeps/i386/fpu/e_expl.S [!USE_AS_EXPM1L] (cmin): New object.
1601         (IEEE754_EXPL) [!USE_AS_EXPM1L]: Force underflow exception for
1602         tiny results.
1603         * sysdeps/x86_64/fpu/e_expl.S [!USE_AS_EXPM1L] (cmin): New object.
1604         (IEEE754_EXPL) [!USE_AS_EXPM1L]: Force underflow exception for
1605         tiny results.
1606         * math/auto-libm-test-in: Add more tests of exp and exp10.  Do not
1607         mark underflow exceptions as possibly missing for bug 16361.
1608         * math/auto-libm-test-out: Regenerated.
1610 2015-06-19  Joseph Myers  <joseph@codesourcery.com>
1612         * conform/data/sys/select.h-data [XOPEN2K8] (pselect): Expect.
1613         * conform/Makefile (test-xfail-XOPEN2K8/sys/select.h/conform):
1614         Remove variable.
1615         (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
1616         (test-xfail-XOPEN2K8/utmpx.h/conform).
1618         * conform/conformtest.pl ($xerrors): New variable.
1619         (note_error): New function.
1620         (compiletest): New argument $xfail.  Use not_error.
1621         (runtest): Likewise.
1622         (top level): Handle xfail- lines.  Update calls to compiletest and
1623         runtest.  Handle xfail- and optional- in headers listed with
1624         allow-header.
1625         * conform/data/fcntl.h-data (O_TTY_INIT): Use xfail-.
1626         (O_EXEC): Likewise.
1627         (O_SEARCH): Likewise.
1628         * conform/data/stropts.h-data (ioctl): Likewise.
1629         * conform/data/sys/ipc.h-data (ipc_perm.mode): Likewise.
1630         * conform/data/sys/sem.h-data (semid_ds.sem_nsems): Likewise.
1631         * conform/data/sys/socket.h-data (msghdr.msg_iovlen): Likewise.
1632         (msghdr.msg_controllen): Likewise.
1633         (cmsghdr.cmsg_len): Likewise.
1634         * conform/data/utmpx.h-data (utmpx.ut_tv): Likewise.
1635         * conform/Makefile (test-xfail-XPG3/sys/ipc.h/conform): Remove
1636         variable.
1637         (test-xfail-XPG3/sys/sem.h/conform): Likewise.
1638         (test-xfail-XPG4/stropts.h/conform): Likewise.
1639         (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
1640         (test-xfail-XPG4/sys/sem.h/conform): Likewise.
1641         (test-xfail-XPG4/sys/socket.h/conform): Likewise.
1642         (test-xfail-UNIX98/stropts.h/conform): Likewise.
1643         (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
1644         (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
1645         (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
1646         (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
1647         (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
1648         (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
1649         (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
1650         (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
1651         (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
1652         (test-xfail-POSIX2008/stropts.h/conform): Likewise.
1653         (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
1654         (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
1655         (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
1656         (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
1657         (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
1659 2015-06-19  Andrew Senkevich  <andrew.senkevich@intel.com>
1661         * sysdeps/ieee754/ldbl-opt/s_sin.c (__DECL_SIMD_sincos_disable,
1662         __DECL_SIMD_sincos_disablef, __DECL_SIMD_sincos_disablel): Added empty
1663         definitions for proper unfolding of __MATHDECL_VEC.
1665 2015-06-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
1667         * benchtests/bench-strcoll.c:
1668         Include string.h.
1669         (main): Remove unused variable res.
1671 2015-06-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
1673         * timezone/Makefile (%/UTC %/Universal):
1674         Generate test-result files for UTC and Universal.
1676 2015-06-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
1678         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
1680 2015-06-18  Joseph Myers  <joseph@codesourcery.com>
1682         [BZ #16350]
1683         * sysdeps/i386/fpu/s_asinh.S (__asinh): Force underflow exception
1684         for arguments with small absolute value.
1685         * sysdeps/i386/fpu/s_asinhf.S (__asinhf): Likewise.
1686         * sysdeps/i386/fpu/s_asinhl.S (__asinhl): Likewise.
1687         * sysdeps/ieee754/dbl-64/s_asinh.c: Include <float.h>.
1688         (__asinh): Force underflow exception for arguments with small
1689         absolute value.
1690         * sysdeps/ieee754/flt-32/s_asinhf.c: Include <float.h>.
1691         (__asinhf): Force underflow exception for arguments with small
1692         absolute value.
1693         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Include <float.h>.
1694         (__asinhl): Force underflow exception for arguments with small
1695         absolute value.
1696         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Include <float.h>.
1697         (__asinhl): Force underflow exception for arguments with small
1698         absolute value.
1699         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Include <float.h>.
1700         (__asinhl): Force underflow exception for arguments with small
1701         absolute value.
1702         * math/auto-libm-test-in: Do not mark underflow exceptions as
1703         possibly missing for bug 16350.
1704         * math/auto-libm-test-out: Regenerated.
1706         * include/bits/ipc.h: Remove file.
1707         * conform/Makefile (test-xfail-XPG3/sys/msg.h/conform): Remove
1708         variable.
1709         (test-xfail-XPG3/sys/shm.h/conform): Likewise.
1710         (test-xfail-XPG4/sys/msg.h/conform): Likewise.
1711         (test-xfail-XPG4/sys/shm.h/conform): Likewise.
1712         (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
1713         (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
1714         (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
1715         (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
1716         (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
1717         (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
1719         * math/auto-libm-test-in: Remove spurious underflow allowance for
1720         tests of cexp.
1721         * math/auto-libm-test-out: Regenerated.
1723         [BZ #18558]
1724         * sysdeps/unix/sysv/linux/bits/in.h (MCAST_JOIN_GROUP): Remove
1725         unconditional definition.
1726         (MCAST_BLOCK_SOURCE): Likewise.
1727         (MCAST_UNBLOCK_SOURCE): Likewise.
1728         (MCAST_LEAVE_GROUP): Likewise.
1729         (MCAST_JOIN_SOURCE_GROUP): Likewise.
1730         (MCAST_LEAVE_SOURCE_GROUP): Likewise.
1731         (MCAST_MSFILTER): Likewise.
1732         * conform/Makefile (test-xfail-XOPEN2K/arpa/inet.h/conform):
1733         Remove variable.
1734         (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
1735         (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
1736         (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
1737         (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
1738         (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
1740 2015-06-18  Andrew Senkevich  <andrew.senkevich@intel.com>
1742         * NEWS: Mention addition of x86_64 vector sincosf.
1743         * math/test-float-vlen16.h: Added wrapper for sincosf tests.
1744         * math/test-float-vlen4.h: Likewise.
1745         * math/test-float-vlen8.h: Likewise.
1746         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
1747         * sysdeps/x86/fpu/bits/math-vector.h: Added sincosf SIMD declaration.
1748         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
1749         * sysdeps/x86_64/fpu/Versions: New versions added.
1750         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
1751         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
1752         Added build of SSE, AVX2 and AVX512 IFUNC versions.
1753         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S
1754         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S
1755         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core.S
1756         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S
1757         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core.S
1758         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S
1759         * sysdeps/x86_64/fpu/svml_s_sincosf16_core.S
1760         * sysdeps/x86_64/fpu/svml_s_sincosf4_core.S
1761         * sysdeps/x86_64/fpu/svml_s_sincosf8_core.S
1762         * sysdeps/x86_64/fpu/svml_s_sincosf8_core_avx.S
1763         * sysdeps/x86_64/fpu/svml_s_sincosf_data.S: New file.
1764         * sysdeps/x86_64/fpu/svml_s_sincosf_data.h: New file.
1765         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Added 3 argument wrappers.
1766         * sysdeps/x86_64/fpu/test-float-vlen16.c: : Vector sincosf tests.
1767         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Likewise.
1768         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
1769         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
1770         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
1771         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
1772         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
1773         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
1775         * NEWS: Mention addition of x86_64 vector sincos.
1776         * bits/libm-simd-decl-stubs.h: Added stubs for sincos.
1777         * math/math.h (__MATHDECL_VEC): New macro.
1778         * math/bits/mathcalls.h: Added sincos declaration with __MATHDECL_VEC.
1779         * math/gen-libm-have-vector-test.sh: Added generation of sincos wrapper
1780         declaration under condition.
1781         * math/test-vec-loop.h (TEST_VEC_LOOP): Refactored.
1782         * math/test-double-vlen2.h: Added wrapper for sincos tests, reflected
1783         TEST_VEC_LOOP change.
1784         * math/test-double-vlen4.h: Likewise.
1785         * math/test-double-vlen8.h: Likewise.
1786         * math/test-float-vlen16.h: Reflected TEST_VEC_LOOP change.
1787         * math/test-float-vlen4.h: Likewise.
1788         * math/test-float-vlen8.h: Likewise.
1789         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
1790         * sysdeps/x86/fpu/bits/math-vector.h: Added sincos SIMD declaration.
1791         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
1792         * sysdeps/x86_64/fpu/Versions: New versions added.
1793         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
1794         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
1795         Added build of SSE, AVX2 and AVX512 IFUNC versions.
1796         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.S: New file.
1797         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S: New file.
1798         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.S: New file.
1799         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S: New file.
1800         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: New file.
1801         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S: New file.
1802         * sysdeps/x86_64/fpu/svml_d_sincos2_core.S: New file.
1803         * sysdeps/x86_64/fpu/svml_d_sincos4_core.S: New file.
1804         * sysdeps/x86_64/fpu/svml_d_sincos4_core_avx.S: New file.
1805         * sysdeps/x86_64/fpu/svml_d_sincos8_core.S: New file.
1806         * sysdeps/x86_64/fpu/svml_d_sincos_data.S: New file.
1807         * sysdeps/x86_64/fpu/svml_d_sincos_data.h: New file.
1808         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Added wrappers for sincos.
1809         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Vector sincos tests.
1810         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
1811         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
1812         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
1813         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
1814         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
1815         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
1816         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
1818         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
1819         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
1820         redirections for powf.
1821         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
1822         * sysdeps/x86_64/fpu/Versions: New versions added.
1823         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
1824         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
1825         Added build of SSE, AVX2 and AVX512 IFUNC versions.
1826         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Added 2 argument wrappers.
1827         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: New file.
1828         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S: New file.
1829         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core.S: New file.
1830         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core_sse4.S: New file.
1831         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core.S: New file.
1832         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core_avx2.S: New file.
1833         * sysdeps/x86_64/fpu/svml_s_powf16_core.S: New file.
1834         * sysdeps/x86_64/fpu/svml_s_powf4_core.S: New file.
1835         * sysdeps/x86_64/fpu/svml_s_powf8_core.S: New file.
1836         * sysdeps/x86_64/fpu/svml_s_powf8_core_avx.S: New file.
1837         * sysdeps/x86_64/fpu/svml_s_powf_data.S: New file.
1838         * sysdeps/x86_64/fpu/svml_s_powf_data.h: New file.
1839         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector powf tests.
1840         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
1841         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
1842         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
1843         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
1844         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
1845         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
1846         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
1847         * math/test-float-vlen16.h: Fixed 2 argument macro.
1848         * math/test-float-vlen4.h: Likewise.
1849         * math/test-float-vlen8.h: Likewise.
1850         * NEWS: Mention addition of x86_64 vector powf.
1852 2015-06-17  Joseph Myers  <joseph@codesourcery.com>
1854         * math/s_ctanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
1855         and redefine.
1856         * math/s_ctanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
1857         and redefine.
1858         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c: Remove file.
1859         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
1860         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
1862         [BZ #18553]
1863         * resource/getpriority.c (getpriority): Rename to __getpriority
1864         and define as weak alias of __getpriority.
1865         * resource/setpriority.c (setpriority): Rename to __setpriority
1866         and define as weak alias of __setpriority.
1867         * sysdeps/mach/hurd/getpriority.c (getpriority): Rename to
1868         __getpriority and define as weak alias of __getpriority.
1869         * sysdeps/mach/hurd/setpriority.c (setpriority): Rename to
1870         __setpriority and define as weak alias of __setpriority.
1871         * sysdeps/unix/syscalls.list (getpriority): Use __getpriority as
1872         strong name.
1873         (setpriority): Use __setpriority as strong name.
1874         * sysdeps/unix/sysv/linux/getpriority.c (getpriority): Rename to
1875         __getpriority and define as weak alias of __getpriority.
1876         * include/sys/resource.h (__getpriority): Declare.  Use
1877         libc_hidden_proto.
1878         (__setpriority): Likewise.
1879         (getpriority): Don't use libc_hidden_proto.
1880         (setpriority): Likewise.
1881         * sysdeps/posix/nice.c (nice): Call __getpriority instead of
1882         getpriority.  Call __setpriority instead of setpriority.
1883         * conform/Makefile (test-xfail-XPG3/unistd.h/linknamespace):
1884         Remove variable.
1886         [BZ #18547]
1887         * misc/getttyent.c (getttynam): Rename to __getttynam and define
1888         as weak alias of __getttynam.  Use prototype function definition.
1889         Call __setttyent, __getttyent and __endttyent instead of
1890         setttyent, getttyent and endttyent.
1891         (getttyent): Rename to __getttyent and define as weak alias of
1892         __getttyent.  Call __setttyent instead of setttyent.  Call
1893         __fgets_unlocked instead of fgets_unlocked.
1894         (setttyent): Rename to __setttyent and define as weak alias of
1895         __setttyent.
1896         (endttyent): Rename to __endttyent and define as weak alias of
1897         __endttyent.
1898         * include/ttyent.h (__getttyent): Declare.  Use libc_hidden_proto.
1899         (__setttyent): Likewise.
1900         (__endttyent): Likewise.
1901         (getttyent): Don't use libc_hidden_proto.
1902         (setttyent): Likewise.
1903         (endttyent): Likewise.
1904         * misc/ttyslot.c (ttyslot): Call __setttyent, __getttyent and
1905         __endttyent instead of setttyent, getttyent and endttyent.
1906         * conform/Makefile (test-xfail-XPG4/unistd.h/linknamespace):
1907         Remove variable.
1909         [BZ #18546]
1910         * socket/recv.c (__recv): Use libc_hidden_def.
1911         * socket/socket.c (__socket): Likewise.
1912         * sysdeps/mach/hurd/recv.c (__recv): Likewise.
1913         * sysdeps/mach/hurd/socket.c (__socket): Likewise.
1914         * sysdeps/unix/sysv/linux/generic/recv.c (__recv): Likewise.
1915         * sysdeps/unix/sysv/linux/recv.c (__recv): Use libc_hidden_weak.
1916         * sysdeps/unix/sysv/linux/socket.c (__socket): Use
1917         libc_hidden_def.
1918         * sysdeps/unix/sysv/linux/x86_64/recv.c (__recv): Use
1919         libc_hidden_weak.
1920         * include/sys/socket.h (__socket): Do not use attribute_hidden.
1921         Use libc_hidden_proto.
1922         (__recv): Likewise.
1923         * socket/Versions (libc): Export __recv and __socket at version
1924         GLIBC_PRIVATE.
1925         * sysdeps/unix/sysv/linux/mq_notify.c (helper_thread): Call __recv
1926         instead of recv.
1927         (init_mq_netlink): Call __socket instead of socket.
1928         * conform/Makefile (test-xfail-POSIX/mqueue.h/linknamespace):
1929         Remove variable.
1931         [BZ #18545]
1932         * rt/mq_timedreceive.c (mq_timedreceive): Rename to
1933         __mq_timedreceive and define as alias of __mq_timedreceive.  Use
1934         hidden_weak.
1935         * rt/mq_timedsend.c (mq_timedsend): Rename to __mq_timedsend and
1936         define as alias of __mq_timedsend.  Use hidden_weak.
1937         * sysdeps/unix/sysv/linux/syscalls.list (mq_timedsend): Use
1938         __mq_timedsend as strong name.
1939         (mq_timedreceive): Use __mq_timedreceive as strong name.
1940         * include/mqueue.h (__mq_timedsend): Declare.  Use hidden_proto.
1941         (__mq_timedreceive): Likewise.
1942         * sysdeps/unix/sysv/linux/mq_receive.c (mq_receive): Call
1943         __mq_timedreceive instead of mq_timedreceive.
1944         * sysdeps/unix/sysv/linux/mq_send.c (mq_send): Call __mq_timedsend
1945         instead of mq_timedsend.
1946         * conform/Makefile (test-xfail-UNIX98/mqueue.h/linknamespace):
1947         Remove variable.
1949         * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Use
1950         hidden_def and hidden_weak instead of libc_hidden_def and
1951         libc_hidden_weak.
1952         (top level): Refer to hidden_def in comment.
1953         * sysdeps/unix/syscall-template.S (syscall_hidden_def): New
1954         macro.  Use it instead of libc_hidden_def.
1955         * sysdeps/unix/sysv/linux/syscalls.list (mq_timedsend): Do not
1956         specify __GI_* name explicitly.
1957         (mq_timedreceive): Likewise.
1958         (mq_setattr): Likewise.
1960         [BZ #18544]
1961         * nptl/pthread_barrier_init.c (pthread_barrier_init): Rename to
1962         __pthread_barrier_init and define as weak alias of
1963         __pthread_barrier_init.
1964         * sysdeps/sparc/nptl/pthread_barrier_init.c
1965         (pthread_barrier_init): Likewise.
1966         * nptl/pthread_barrier_wait.c (pthread_barrier_wait): Rename to
1967         __pthread_barrier_wait and define as weak alias of
1968         __pthread_barrier_wait.
1969         * sysdeps/sparc/nptl/pthread_barrier_wait.c
1970         (pthread_barrier_wait): Likewise.
1971         * sysdeps/sparc/sparc32/pthread_barrier_wait.c
1972         (pthread_barrier_wait): Likewise.
1973         * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S
1974         (pthread_barrier_wait): Likewise.
1975         * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S
1976         (pthread_barrier_wait): Likewise.
1977         * nptl/Versions (libpthread): Export __pthread_barrier_init and
1978         __pthread_barrier_wait at version GLIBC_PRIVATE.
1979         * include/pthread.h (__pthread_barrier_init): Declare.
1980         (__pthread_barrier_wait): Likewise.
1981         * sysdeps/unix/sysv/linux/mq_notify.c (notification_function):
1982         Call __pthread_barrier_wait instead of pthread_barrier_wait.
1983         (helper_thread): Likewise.
1984         (init_mq_netlink): Call __pthread_barrier_init instead of
1985         pthread_barrier_init.
1987         [BZ #18542]
1988         * libio/iovswscanf.c (__vswscanf): Use libc_hidden_def.
1989         (vswscanf): Use ldbl_weak_alias instead of ldbl_strong_alias
1990         * include/wchar.h (__vswscanf): Declare.  Use libc_hidden_proto.
1991         * libio/swscanf.c (__swscanf): Call __vswscanf instead of
1992         vswscanf.
1993         * conform/Makefile (test-xfail-UNIX98/wchar.h/linknamespace):
1994         Remove variable.
1996         [BZ #18540]
1997         * libio/iofflush.c [!_IO_MTSAFE_IO] (__fflush_unlocked): Define as
1998         strong alias of _IO_fflush.  Use libc_hidden_def.
1999         * libio/iofflush_u.c (fflush_unlocked): Rename to
2000         __fflush_unlocked and define as weak alias of __fflush_unlocked.
2001         Use libc_hidden_weak.
2002         * include/stdio.h (__fflush_unlocked): Declare.  Use
2003         libc_hidden_proto.
2004         * misc/getpass.c (getpass): Call __fflush_unlocked instead of
2005         fflush_unlocked.
2006         * conform/Makefile (test-xfail-UNIX98/unistd.h/linknamespace):
2007         Remove variable.
2009         [BZ #18539]
2010         * stdlib/fmtmsg.c (addseverity): Rename to __addseverity and
2011         define as weak alias of __addseverity.
2012         * conform/Makefile (test-xfail-XPG4/fmtmsg.h/linknamespace):
2013         Remove variable.
2014         (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
2015         (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
2016         (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
2018         [BZ #18536]
2019         * misc/tsearch.c (__tsearch): Use libc_hidden_def.
2020         (__tfind): Likewise.
2021         (__tdelete): Likewise.
2022         (__twalk): Likewise.
2023         * misc/Versions (libc): Add __tdelete, __tfind, __tsearch and
2024         __twalk to GLIBC_PRIVATE.
2025         * include/search.h (__tsearch): Use libc_hidden_proto.
2026         (__tfind): Likewise.
2027         (__tdelete): Likewise.
2028         (__twalk): Likewise.
2029         * nptl/sem_close.c (sem_close): Call __twalk instead of twalk.
2030         Call __tdelete instead of tdelete.
2031         * nptl/sem_open.c (check_add_mapping): Call __tfind instead of
2032         tfind.  Call __tsearch instead of tsearch.
2033         * sysdeps/sparc/sparc32/sem_open.c (check_add_mapping): Likewise.
2034         * conform/Makefile (test-xfail-POSIX/semaphore.h/linknamespace):
2035         Remove variable.
2036         (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
2038         [BZ #18534]
2039         * stdio-common/dprintf.c (__dprintf): Use libc_hidden_def.
2040         (dprintf): Define as a weak alias of __dprintf, not a strong
2041         alias.
2042         * include/stdio.h (__dprintf): Declare.  Use libc_hidden_proto.
2043         * misc/syslog.c (__vsyslog_chk): Call __dprintf instead of
2044         dprintf.
2045         * conform/Makefile (test-xfail-XPG4/syslog.h/linknamespace):
2046         Remove variable.
2047         (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
2048         (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
2050         [BZ #18533]
2051         * misc/syslog.c (vsyslog): Define as a weak alias of __vsyslog,
2052         not a strong alias.
2053         * conform/Makefile (test-xfail-XOPEN2K8/syslog.h/linknamespace):
2054         Remove variable.
2056         [BZ #18532]
2057         * inet/in6_addr.c (in6addr_any): Rename to __in6addr_any and
2058         define as weak alias of __in6addr_any.  Use libc_hidden_data_weak.
2059         (in6addr_loopback): Rename to __in6addr_loopback and define as
2060         weak alias of __in6addr_loopback.  Use libc_hidden_data_weak.
2061         * include/netinet/in.h (__in6addr_loopback): Declare.  Use
2062         libc_hidden_proto.
2063         (__in6addr_any): Likewise.
2064         * inet/gethstbyad_r.c (PREPROCESS): Use __in6addr_any instead of
2065         in6addr_any.
2066         * conform/Makefile (test-xfail-XPG4/netdb.h/linknamespace): Remove
2067         variable.
2068         (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
2070 2015-06-17  Andrew Senkevich  <andrew.senkevich@intel.com>
2072         * bits/libm-simd-decl-stubs.h: Added stubs for pow.
2073         * math/bits/mathcalls.h: Added pow declaration with __MATHCALL_VEC.
2074         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
2075         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
2076         redirections for pow.
2077         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
2078         * sysdeps/x86_64/fpu/Versions: New versions added.
2079         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
2080         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
2081         build of SSE, AVX2 and AVX512 IFUNC versions.
2082         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Added 2 argument wrappers.
2083         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.S: New file.
2084         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core_sse4.S: New file.
2085         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.S: New file.
2086         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core_avx2.S: New file.
2087         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: New file.
2088         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S: New file.
2089         * sysdeps/x86_64/fpu/svml_d_pow2_core.S: New file.
2090         * sysdeps/x86_64/fpu/svml_d_pow4_core.S: New file.
2091         * sysdeps/x86_64/fpu/svml_d_pow4_core_avx.S: New file.
2092         * sysdeps/x86_64/fpu/svml_d_pow8_core.S: New file.
2093         * sysdeps/x86_64/fpu/svml_d_pow_data.S: New file.
2094         * sysdeps/x86_64/fpu/svml_d_pow_data.h: New file.
2095         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector pow test.
2096         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
2097         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
2098         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
2099         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
2100         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
2101         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
2102         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
2103         * NEWS: Mention addition of x86_64 vector pow.
2105         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
2106         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
2107         redirections for expf.
2108         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
2109         * sysdeps/x86_64/fpu/Versions: New versions added.
2110         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
2111         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
2112         build of SSE, AVX2 and AVX512 IFUNC versions.
2113         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: New file.
2114         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S: New file.
2115         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core.S: New file.
2116         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core_sse4.S: New file.
2117         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core.S: New file.
2118         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core_avx2.S: New file.
2119         * sysdeps/x86_64/fpu/svml_s_expf16_core.S: New file.
2120         * sysdeps/x86_64/fpu/svml_s_expf4_core.S: New file.
2121         * sysdeps/x86_64/fpu/svml_s_expf8_core.S: New file.
2122         * sysdeps/x86_64/fpu/svml_s_expf8_core_avx.S: New file.
2123         * sysdeps/x86_64/fpu/svml_s_expf_data.S: New file.
2124         * sysdeps/x86_64/fpu/svml_s_expf_data.h: New file.
2125         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector expf tests.
2126         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
2127         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
2128         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
2129         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
2130         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
2131         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
2132         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
2133         * NEWS: Mention addition of x86_64 vector expf.
2135         * bits/libm-simd-decl-stubs.h: Added stubs for exp.
2136         * math/bits/mathcalls.h: Added exp declaration with __MATHCALL_VEC.
2137         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
2138         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
2139         redirections for exp.
2140         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
2141         * sysdeps/x86_64/fpu/Versions: New versions added.
2142         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
2143         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
2144         build of SSE, AVX2 and AVX512 IFUNC versions.
2145         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.S: New file.
2146         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core_sse4.S: New file.
2147         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.S: New file.
2148         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core_avx2.S: New file.
2149         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: New file.
2150         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S: New file.
2151         * sysdeps/x86_64/fpu/svml_d_exp2_core.S: New file.
2152         * sysdeps/x86_64/fpu/svml_d_exp4_core.S: New file.
2153         * sysdeps/x86_64/fpu/svml_d_exp4_core_avx.S: New file.
2154         * sysdeps/x86_64/fpu/svml_d_exp8_core.S: New file.
2155         * sysdeps/x86_64/fpu/svml_d_exp_data.S: New file.
2156         * sysdeps/x86_64/fpu/svml_d_exp_data.h: New file.
2157         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector exp test.
2158         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
2159         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
2160         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
2161         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
2162         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
2163         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
2164         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
2165         * NEWS: Mention addition of x86_64 vector exp.
2167         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
2168         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
2169         redirections for logf.
2170         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
2171         * sysdeps/x86_64/fpu/Versions: New versions added.
2172         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
2173         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
2174         build of SSE, AVX2 and AVX512 IFUNC versions.
2175         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: New file.
2176         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S: New file.
2177         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core.S: New file.
2178         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core_sse4.S: New file.
2179         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core.S: New file.
2180         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core_avx2.S: New file.
2181         * sysdeps/x86_64/fpu/svml_s_logf16_core.S: New file.
2182         * sysdeps/x86_64/fpu/svml_s_logf4_core.S: New file.
2183         * sysdeps/x86_64/fpu/svml_s_logf8_core.S: New file.
2184         * sysdeps/x86_64/fpu/svml_s_logf8_core_avx.S: New file.
2185         * sysdeps/x86_64/fpu/svml_s_logf_data.S: New file.
2186         * sysdeps/x86_64/fpu/svml_s_logf_data.h: New file.
2187         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector logf tests.
2188         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
2189         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
2190         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
2191         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
2192         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
2193         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
2194         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
2195         * NEWS: Mention addition of x86_64 vector logf.
2197         * bits/libm-simd-decl-stubs.h: Added stubs for log.
2198         * math/bits/mathcalls.h: Added log declaration with __MATHCALL_VEC.
2199         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
2200         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
2201         redirections for log.
2202         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
2203         * sysdeps/x86_64/fpu/Versions: New versions added.
2204         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
2205         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
2206         build of SSE, AVX2 and AVX512 IFUNC versions.
2207         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.S: New file.
2208         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core_sse4.S: New file.
2209         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.S: New file.
2210         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core_avx2.S: New file.
2211         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: New file.
2212         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S: New file.
2213         * sysdeps/x86_64/fpu/svml_d_log2_core.S: New file.
2214         * sysdeps/x86_64/fpu/svml_d_log4_core.S: New file.
2215         * sysdeps/x86_64/fpu/svml_d_log4_core_avx.S: New file.
2216         * sysdeps/x86_64/fpu/svml_d_log8_core.S: New file.
2217         * sysdeps/x86_64/fpu/svml_d_log_data.S: New file.
2218         * sysdeps/x86_64/fpu/svml_d_log_data.h: New file.
2219         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector log
2220         test.
2221         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
2222         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
2223         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
2224         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
2225         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
2226         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
2227         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
2228         * NEWS: Mention addition of x86_64 vector log.
2230 2015-06-17  Szabolcs Nagy  <szabolcs.nagy@arm.com>
2232         * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return_lazy): Fix
2233         cfi_adjust_cfa_offset argument.
2234         (_dl_tlsdesc_undefweak, _dl_tlsdesc_dynamic): Likewise.
2235         (_dl_tlsdesc_resolve_rela, _dl_tlsdesc_resolve_hold): Likewise.
2237         [BZ #18034]
2238         * sysdeps/aarch64/dl-tlsdesc.h (_dl_tlsdesc_return_lazy): Declare.
2239         * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return_lazy): Define.
2240         (_dl_tlsdesc_undefweak): Guarantee TLSDESC entry and argument load-load
2241         ordering using ldar.
2242         (_dl_tlsdesc_dynamic): Likewise.
2243         (_dl_tlsdesc_return_lazy): Likewise.
2244         * sysdeps/aarch64/tlsdesc.c (_dl_tlsdesc_resolve_rela_fixup): Use
2245         relaxed atomics instead of volatile and synchronize with release store.
2246         (_dl_tlsdesc_resolve_hold_fixup): Use relaxed atomics instead of
2247         volatile.
2248         * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
2250 2015-06-15  Andrew Senkevich  <andrew.senkevich@intel.com>
2252         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
2253         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for sinf.
2254         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
2255         * sysdeps/x86_64/fpu/Versions: New versions added.
2256         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
2257         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
2258         build of SSE, AVX2 and AVX512 IFUNC versions.
2259         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: New file.
2260         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S: New file.
2261         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core.S: New file.
2262         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S: New file.
2263         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core.S: New file.
2264         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S: New file.
2265         * sysdeps/x86_64/fpu/svml_s_sinf16_core.S: New file.
2266         * sysdeps/x86_64/fpu/svml_s_sinf4_core.S: New file.
2267         * sysdeps/x86_64/fpu/svml_s_sinf8_core.S: New file.
2268         * sysdeps/x86_64/fpu/svml_s_sinf8_core_avx.S: New file.
2269         * sysdeps/x86_64/fpu/svml_s_sinf_data.S: New file.
2270         * sysdeps/x86_64/fpu/svml_s_sinf_data.h: New file.
2271         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector sinf tests.
2272         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
2273         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
2274         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
2275         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
2276         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
2277         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
2278         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
2279         * NEWS: Mention addition of x86_64 vector sinf.
2281 2015-06-14  Joseph Myers  <joseph@codesourcery.com>
2283         * conform/list-header-symbols.pl (%extra_syms): Add in6addr_any
2284         and in6addr_loopback for XOPEN2K, XOPEN2K8 and POSIX2008.
2285         * conform/Makefile (test-xfail-XOPEN2K/netdb.h/linknamespace):
2286         Remove variable.
2287         (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
2288         (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
2290 2015-06-12  Joseph Myers  <joseph@codesourcery.com>
2292         [BZ #18530]
2293         * libio/iofputs.c [!_IO_MTSAFE_IO] (__fputs_unlocked): Define as
2294         strong alias of _IO_fputs.  Use libc_hidden_def.
2295         * libio/iofputs_u.c (fputs_unlocked): Rename to __fputs_unlocked
2296         and define as weak alias of __fputs_unlocked.  Use
2297         libc_hidden_weak.
2298         * include/stdio.h (__fputs_unlocked): Declare.  Use
2299         libc_hidden_proto.
2300         * misc/syslog.c (__vsyslog_chk): Call __fputs_unlocked instead of
2301         fputs_unlocked.
2303         [BZ #18529]
2304         * resolv/netdb.h [__USE_POSIX]: Change condition to
2305         [__USE_XOPEN2K].
2306         * conform/data/netdb.h-data [XPG4 || UNIX98] (struct addrinfo): Do
2307         not expect.
2308         [XPG4 || UNIX98] (AI_PASSIVE): Likewise.
2309         [XPG4 || UNIX98] (AI_CANONNAME): Likewise.
2310         [XPG4 || UNIX98] (AI_NUMERICHOST): Likewise.
2311         [XPG4 || UNIX98] (AI_V4MAPPED): Likewise.
2312         [XPG4 || UNIX98] (AI_ALL): Likewise.
2313         [XPG4 || UNIX98] (AI_ADDRCONFIG): Likewise.
2314         [XPG4 || UNIX98] (AI_NUMERICSERV): Likewise.
2315         [XPG4 || UNIX98] (NI_NOFQDN): Likewise.
2316         [XPG4 || UNIX98] (NI_NUMERICHOST): Likewise.
2317         [XPG4 || UNIX98] (NI_NAMEREQD): Likewise.
2318         [XPG4 || UNIX98] (NI_NUMERICSERV): Likewise.
2319         [XPG4 || UNIX98] (NI_DGRAM): Likewise.
2320         [XPG4 || UNIX98] (EAI_AGAIN): Likewise.
2321         [XPG4 || UNIX98] (EAI_BADFLAGS): Likewise.
2322         [XPG4 || UNIX98] (EAI_FAIL): Likewise.
2323         [XPG4 || UNIX98] (EAI_FAMILY): Likewise.
2324         [XPG4 || UNIX98] (EAI_MEMORY): Likewise.
2325         [XPG4 || UNIX98] (EAI_NONAME): Likewise.
2326         [XPG4 || UNIX98] (EAI_SERVICE): Likewise.
2327         [XPG4 || UNIX98] (EAI_SOCKTYPE): Likewise.
2328         [XPG4 || UNIX98] (EAI_SYSTEM): Likewise.
2329         [XPG4 || UNIX98] (EAI_SYSTEM): Likewise.
2330         [XPG4 || UNIX98] (freeaddrinfo): Likewise.
2331         [XPG4 || UNIX98] (gai_strerror): Likewise.
2332         [XPG4 || UNIX98] (getaddrinfo): Likewise.
2333         [XPG4 || UNIX98] (getnameinfo): Likewise.
2335         [BZ #18528]
2336         * grp/grp.h (endgrent): Condition on [__USE_MISC ||
2337         __USE_XOPEN_EXTENDED], not [__USE_XOPEN_EXTENDED ||
2338         __USE_XOPEN2K8].
2339         (getgrent): Likewise.
2340         * conform/data/grp.h-data [XPG3 || POSIX2008] (getgrent): Do not
2341         expect.
2342         [XPG3 || POSIX2008] (endgrent): Likewise.
2343         [XPG3] (setgrent): Likewise.
2344         * conform/Makefile (test-xfail-XPG3/grp.h/conform): Remove
2345         variable.
2346         (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
2348         [BZ #18527]
2349         * login/getlogin_r.c (getlogin_r): Rename to __getlogin_r and
2350         define as weak alias of __getlogin_r.  Use libc_hidden_weak.
2351         * sysdeps/mach/hurd/getlogin_r.c (getlogin_r): Likewise.
2352         * sysdeps/unix/getlogin_r.c (getlogin_r): Likewise.
2353         * sysdeps/unix/sysv/linux/getlogin_r.c (getlogin_r): Likewise.
2354         * include/unistd.h (__getlogin_r): Declare.  Use
2355         libc_hidden_proto.
2356         * posix/glob.c (glob): Call __getlogin_r instead of getlogin_r.
2357         * conform/Makefile (test-xfail-XPG3/glob.h/linknamespace): Remove
2358         variable.
2359         (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
2360         (test-xfail-XPG4/glob.h/linknamespace): Likewise.
2361         (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
2363 2015-06-12  Martin Sebor  <msebor@redhat.com>
2365         [BZ #18512]
2366         * Makerules (check-install-supported): New target.
2367         (install): Add check-install-supported as a dependency.
2368         * manual/install.texi (Installing the C Library): Document
2369         that overriding prefix and exec_prefix is not supported.
2370         Mention DESTDIR.
2371         * INSTALL: Regenerate from the above.
2373 2015-06-12  Joseph Myers  <joseph@codesourcery.com>
2375         [BZ #18519]
2376         * posix/Versions (libc): Export __libc_pread at version
2377         GLIBC_PRIVATE.
2378         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Call __libc_pread
2379         instead of pread.
2380         * conform/Makefile (test-xfail-POSIX/aio.h/linknamespace): Remove
2381         variable.
2383         [BZ #18522]
2384         * misc/efgcvt_r.c
2385         [LONG_DOUBLE_COMPAT (libc, GLIBC_2_0) && !LONG_DOUBLE_CVT]
2386         (cvt_symbol): Use weak_alias instead of strong_alias.
2387         [LONG_DOUBLE_COMPAT (libc, GLIBC_2_0)] (cvt_symbol): Likewise.
2388         * conform/Makefile (test-xfail-XPG4/stdlib.h/linknamespace):
2389         Remove variable.
2390         (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
2391         (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
2393         [BZ #18520]
2394         * inet/herrno.c (h_errno): Rename to __h_errno.
2395         (__libc_h_errno): Define as alias of __h_errno not h_errno.
2396         * include/netdb.h [IS_IN_LIB && !IS_IN (libc)] (h_errno): Define
2397         to __h_errno instead of h_errno.
2398         * nptl/herrno.c (h_errno): Rename to __h_errno.
2399         (__h_errno_location): Refer to __h_errno not h_errno.
2400         * resolv/Versions (h_errno): Rename to __h_errno.
2401         * conform/Makefile (test-xfail-XOPEN2K8/grp.h/linknamespace):
2402         Remove variable.
2403         (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
2405 2015-06-11  Andrew Senkevich  <andrew.senkevich@intel.com>
2407         * configure.ac: More strict check for AVX512 assembler support.
2408         * configure: Regenerated.
2410         * bits/libm-simd-decl-stubs.h: Added stubs for sin.
2411         * math/bits/mathcalls.h: Added sin declaration with __MATHCALL_VEC.
2412         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
2413         * sysdeps/x86/fpu/bits/math-vector.h: SIMD declaration for sin.
2414         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
2415         * sysdeps/x86_64/fpu/Versions: New versions added.
2416         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
2417         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
2418         Added build of SSE, AVX2 and AVX512 IFUNC versions.
2419         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.S: New file.
2420         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S: New file.
2421         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.S: New file.
2422         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S: New file.
2423         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: New file.
2424         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S: New file.
2425         * sysdeps/x86_64/fpu/svml_d_sin2_core.S: New file.
2426         * sysdeps/x86_64/fpu/svml_d_sin4_core.S: New file.
2427         * sysdeps/x86_64/fpu/svml_d_sin4_core_avx.S: New file.
2428         * sysdeps/x86_64/fpu/svml_d_sin8_core.S: New file.
2429         * sysdeps/x86_64/fpu/svml_d_sin_data.S: New file.
2430         * sysdeps/x86_64/fpu/svml_d_sin_data.h: New file.
2431         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector sin
2432         test.
2433         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
2434         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
2435         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
2436         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
2437         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
2438         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
2439         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
2440         * NEWS: Mention addition of x86_64 vector sin.
2442 2015-06-11  Florian Weimer  <fweimer@redhat.com>
2444         * nptl/pthread_key_create.c (__pthread_key_create): Fix typo in
2445         comment.
2447 2015-06-10  Gleb Fotengauer-Malinovskiy  <glebfm@altlinux.org>
2449         [BZ #18479]
2450         * nptl/pt-interp.c: New file.
2451         * nptl/Makefile (libpthread-routines, libpthread-shared-only-routines):
2452         Add pt-interp.
2453         [[$(build-shared) = yes] ($(objpfx)pt-interp.os): Depend on
2454         $(common-objpfx)runtime-linker.h.
2456 2015-06-10  Dmitry V. Levin  <ldv@altlinux.org>
2458         * Makeconfig (+interp): Remove unused variable.
2459         * elf/Makefile ($(objpfx)interp.os): Define for [$(build-shared) = yes]
2460         only.  Depend on $(common-objpfx)runtime-linker.h instead of
2461         $(elf-objpfx)runtime-linker.h.
2462         ($(elf-objpfx)runtime-linker.h): Rename to
2463         $(common-objpfx)runtime-linker.h and move ...
2464         * Makerules [$(build-shared) = yes]: ... here.
2465         * elf/interp.c: Include <runtime-linker.h> instead of
2466         <elf/runtime-linker.h>.
2468 2015-06-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2470         * sysdeps/unix/sysv/linux/i386/gettimeofday.c
2471         (__gettimeofday_syscall): Remove vsyscall fallback.
2472         * sysdeps/unix/sysv/linux/i386/time.c (__time_syscall): Likewise.
2473         * sysdeps/unix/sysv/linux/x86/gettimeofday.c (__gettimeofday_syscall):
2474         Add syscall fallback function.
2475         (gettimeofday_ifunc): Use __gettimeofday_syscall as fallback mechanism
2476         if vDSO is not present.
2477         * sysdeps/unix/sysv/linux/x86/time.c (__time_syscall): Add syscall
2478         fallback function.
2479         (time_ifunc): Use __time_syscall as fallback mechanism if vDSO is not
2480         present.
2481         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: Remove file.
2482         * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
2484 2015-06-09  Joseph Myers  <joseph@codesourcery.com>
2486         [BZ #18497]
2487         * wcsmbs/wcscmp.c [!WCSCMP] (WCSCMP): Define as __wcscmp instead
2488         of wcscmp.
2489         (wcscmp): Define as weak alias of WCSCMP.
2490         * wcsmbs/wcscoll.c (STRCOLL): Define as __wcscoll instead of
2491         wcscoll.
2492         (USE_HIDDEN_DEF): Define.
2493         [!USE_IN_EXTENDED_LOCALE_MODEL] (wcscoll): Define as weak alias of
2494         __wcscoll.  Don't use libc_hidden_weak.
2495         * wcsmbs/wcscoll_l.c (STRCMP): Define as __wcscmp instead of
2496         wcscmp.
2497         * sysdeps/i386/i686/multiarch/wcscmp-c.c
2498         [SHARED] (libc_hidden_def): Define __GI___wcscmp instead of
2499         __GI_wcscmp.
2500         (weak_alias): Undefine and redefine.
2501         * sysdeps/i386/i686/multiarch/wcscmp.S (wcscmp): Rename to
2502         __wcscmp and define as weak alias of __wcscmp.
2503         * sysdeps/x86_64/wcscmp.S (wcscmp): Likewise.
2504         * include/wchar.h (__wcscmp): Declare.  Use libc_hidden_proto.
2505         (__wcscoll): Likewise.
2506         (wcscmp): Don't use libc_hidden_proto.
2507         (wcscoll): Likewise.
2508         * posix/regcomp.c (build_range_exp): Call __wcscoll instead of
2509         wcscoll.
2510         * posix/regexec.c (check_node_accept_bytes): Likewise.
2511         * conform/Makefile (test-xfail-XPG3/regex.h/linknamespace): Remove
2512         variable.
2513         (test-xfail-XPG4/regex.h/linknamespace): Likewise.
2514         (test-xfail-POSIX/regex.h/linknamespace): Likewise.
2516         [BZ #18507]
2517         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs): Rename to
2518         __fstatvfs and define as weak alias of __fstatvfs.  Use
2519         libc_hidden_weak.
2520         * sysdeps/unix/sysv/linux/statvfs.c (statvs): Rename to __statvfs
2521         and define as weak alias of __statvfs.  Use libc_hidden_weak.
2522         * sysdeps/unix/sysv/linux/wordsize-64/fstatvfs.c (__fstatvfs64):
2523         Define as alias of __fstatvfs, not fstatvfs.
2524         (fstatvfs64): Likewise.
2525         * sysdeps/unix/sysv/linux/wordsize-64/statvfs.c (__statvfs64):
2526         Define as alias of __statvfs, not statvfs.
2527         (statvfs64): Likewise.
2528         * conform/Makefile (test-xfail-POSIX/unistd.h/linknamespace):
2529         Remove variable.
2531 2015-06-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2533         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
2534         (HAVE_GETCPU_VSYSCALL): Define.
2535         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
2536         (HAVE_GETCPU_VSYSCALL): Likewise.
2537         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Remove file.
2538         * sysdeps/unix/sysv/linux/sched_getcpu.c
2539         (HAVE_VSYSCALL) [HAVE_GETCPU_VSYSCALL]: Define.
2540         (sched_getcpu): Use INLINE_VSYSCALL instead of INLINE_SYSCALL.
2541         * sysdeps/unix/sysv/linux/x86/libc-vdso.h (getcpu): Add vDSO
2542         prototype.
2543         * sysdeps/unix/sysv/linux/x86_64/init-first.c
2544         (__vdso_platform_setup): Remove vsyscall getcpu fallback.
2545         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Remove file.
2546         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (HAVE_GETCPU_VSYSCALL):
2547         Define.
2548         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: Remove file.
2549         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
2550         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c: Likewise.
2551         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
2553 2015-06-09  Andrew Senkevich  <andrew.senkevich@intel.com>
2555         * sysdeps/x86_64/fpu/Makefile: New file.
2556         * sysdeps/x86_64/fpu/Versions: New file.
2557         * sysdeps/x86_64/fpu/svml_d_cos_data.S: New file.
2558         * sysdeps/x86_64/fpu/svml_d_cos_data.h: New file.
2559         * sysdeps/x86_64/fpu/svml_d_cos2_core.S: New file.
2560         * sysdeps/x86_64/fpu/svml_d_cos4_core.S: New file.
2561         * sysdeps/x86_64/fpu/svml_d_cos4_core_avx.S: New file.
2562         * sysdeps/x86_64/fpu/svml_d_cos8_core.S: New file.
2563         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: New file.
2564         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.S: New file.
2565         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S: New file.
2566         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.S: New file.
2567         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S: New file.
2568         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: New file.
2569         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S: New file.
2570         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
2571         Added build of SSE, AVX2 and AVX512 IFUNC versions.
2572         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for cos.
2573         * math/bits/mathcalls.h: Added cos declaration with __MATHCALL_VEC.
2574         * sysdeps/x86_64/configure.ac: Options for libmvec build.
2575         * sysdeps/x86_64/configure: Regenerated.
2576         * sysdeps/x86_64/sysdep.h (cfi_offset_rel_rsp): New macro.
2577         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New file.
2578         * manual/install.texi (Configuring and compiling): Document
2579         --disable-mathvec.
2580         * INSTALL: Regenerated.
2581         * NEWS: Mention addition of libmvec and x86_64 vector cos.
2583         * math/Makefile: Added rules for vector tests.
2584         * math/gen-libm-have-vector-test.sh: Added generation of wrapper
2585         declaration under condition.
2586         * math/test-double-vlen2.h: New file.
2587         * math/test-double-vlen4.h: New file.
2588         * math/test-double-vlen8.h: New file.
2589         * math/test-vec-loop.h: Added initialization macro.
2590         * sysdeps/x86_64/fpu/Makefile: Added variables for vector tests.
2591         * sysdeps/x86_64/fpu/libm-test-ulps: Regenarated.
2592         * sysdeps/x86_64/fpu/math-tests-arch.h: New file.
2593         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: New file.
2594         * sysdeps/x86_64/fpu/test-double-vlen2.c: New file.
2595         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: New file.
2596         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: New file.
2597         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: New file.
2598         * sysdeps/x86_64/fpu/test-double-vlen4.c: New file.
2599         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: New file.
2600         * sysdeps/x86_64/fpu/test-double-vlen8.c: New file.
2602         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
2603         * sysdeps/x86_64/fpu/Versions: New versions added.
2604         * sysdeps/x86_64/fpu/svml_s_cosf4_core.S: New file.
2605         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core.S: New file.
2606         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S: New file.
2607         * sysdeps/x86_64/fpu/svml_s_cosf8_core_avx.S: New file.
2608         * sysdeps/x86_64/fpu/svml_s_cosf8_core.S: New file.
2609         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core.S: New file.
2610         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S: New file.
2611         * sysdeps/x86_64/fpu/svml_s_cosf16_core.S: New file.
2612         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: New file.
2613         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S: New file.
2614         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: New file.
2615         * sysdeps/x86_64/fpu/svml_s_cosf_data.S: New file.
2616         * sysdeps/x86_64/fpu/svml_s_cosf_data.h: New file.
2617         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
2618         Added build of SSE, AVX2 and AVX512 IFUNC versions.
2619         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
2620         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for cosf.
2621         * NEWS: Mention addition of x86_64 vector cosf.
2623         * math/Makefile: Added CFLAGS for new tests.
2624         * math/test-float-vlen16.h: New file.
2625         * math/test-float-vlen4.h: New file.
2626         * math/test-float-vlen8.h: New file.
2627         * math/test-double-vlen2.h: Fixed 2 argument macro and comment.
2628         * sysdeps/x86_64/fpu/Makefile: Added new tests and variables.
2629         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
2630         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: New file.
2631         * sysdeps/x86_64/fpu/test-float-vlen16.c: New file.
2632         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: New file.
2633         * sysdeps/x86_64/fpu/test-float-vlen4.c: New file.
2634         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: New file.
2635         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: New file.
2636         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: New file.
2637         * sysdeps/x86_64/fpu/test-float-vlen8.c: New file.
2639 2015-06-09 Marko Myllynen  <myllynen@redhat.com>
2641         * locale/C-ctype.c (PREDEFINED_CLASSES): Remove.
2642         * locale/programs/ld-ctype.c: Likewise.
2644 2015-06-08  Andrew Senkevich  <andrew.senkevich@intel.com>
2646         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX512F_Usable,
2647         bit_AVX512DQ_Usable, bit_Opmask_state, bit_ZMM0_15_state,
2648         bit_ZMM16_31_state): New macro.
2649         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
2650         Check and set bit_AVX512F_Usable, bit_AVX512DQ_Usable.
2652 2015-06-08  Joseph Myers  <joseph@codesourcery.com>
2654         * include/stdio.h (__open_memstream): Say "C++ tests" in comment.
2656 2015-06-06  Justus Winter  <4winter@informatik.uni-hamburg.de>
2658         * mach/mach/mach_traps.h (thread_switch): Fix typo in comment.
2660 2015-06-05  Joseph Myers  <joseph@codesourcery.com>
2662         [BZ #18498]
2663         * libio/memstream.c (open_memstream): Rename to __open_memstream
2664         and define as weak alias of __open_memstream.
2665         * include/stdio.h (__open_memstream): Declare.  Use
2666         libc_hidden_proto.
2667         (open_memstream): Don't use libc_hidden_proto.
2668         * misc/syslog.c (__vsyslog_chk): Call __open_memstream instead of
2669         open_memstream.
2670         * posix/getopt.c (_getopt_internal_r): Likewise.
2671         * conform/Makefile (test-xfail-XPG3/stdio.h/linknamespace): Remove
2672         variable.
2673         (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
2674         (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
2675         (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
2677         [BZ #18496]
2678         * posix/regex_internal.c (build_wcs_upper_buffer): Call __wcrtomb
2679         instead of wcrtomb.
2681         [BZ #18483]
2682         * signal/signal.h [__USE_XOPEN2K] (psignal): Change condition to
2683         [__USE_XOPEN2K8].  Remove redundant #endif.
2684         [__USE_XOPEN2K] (psiginfo): Change condition to [__USE_XOPEN2K8].
2685         Remove redundant #if.
2686         * conform/Makefile (test-xfail-XOPEN2K/signal.h/linknamespace):
2687         Remove variable.
2688         (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
2689         (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
2691         [BZ #18495]
2692         * wctype/wcfuncs.c (__iswalnum): Use libc_hidden_def.
2693         (__iswlower): Likewise.
2694         * include/wctype.h (__iswalnum): Declare.  Use libc_hidden_proto.
2695         (__iswlower): Likewise.
2696         * posix/regcomp.c (re_compile_fastmap_iter): Call __towlower
2697         instead of towlower.
2698         * posix/regex_internal.c (build_wcs_upper_buffer): Call __iswlower
2699         instead of iswlower.  Call __towupper instead of towupper.
2700         * posix/regex_internal.h (IS_WIDE_WORD_CHAR): Call __iswalnum
2701         instead of iswalnum.
2703 2015-06-05  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
2705         * malloc/tst-malloc-backtrace.c (do_test): Redirect libc fatal
2706         errors to stderr.
2708 2015-06-05  Florian Weimer  <fweimer@redhat.com>
2710         [BZ #15661]
2711         [BZ #17322]
2712         * sysdeps/posix/posix_fallocate64.c (__posix_fallocate64_l64):
2713         Check for overflow properly.  Check for O_APPEND.  Ignore large
2714         file system block sizes.  Add comments about problems.
2715         * sysdeps/posix/posix_fallocate.c (posix_fallocate): Likewise.
2716         * manual/filesys.texi (Storage Allocation): New node.
2718 2015-06-04  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2720         * sysdeps/unix/sysdep.h [SYSCALL_CANCEL]: New macro: define
2721         cancellable syscalls.
2722         (SYS_ify): Add guard to no redefine it.
2723         (INLINE_SYSCALL): Likewise.
2724         * sysdeps/unix/sysv/linux/accept4.c (accept4): Remove
2725         LIBC_CANCEL_ASYNC/INLINE_SYSCALL/LIBC_CANCEL_RESET and use
2726         SYSCALL_CANCEL instead.
2727         * sysdeps/unix/sysv/linux/alpha/fdatasync.c (__fdatasync): Likewise.
2728         * sysdeps/unix/sysv/linux/arm/pread.c (__libc_pread): Likewise.
2729         * sysdeps/unix/sysv/linux/arm/pread64.c (__libc_pread64): Likewise.
2730         * sysdeps/unix/sysv/linux/arm/pwrite.c (__libc_pwrite): Likewise.
2731         * sysdeps/unix/sysv/linux/arm/pwrite64.c (__libc_pwrite64): Likewise.
2732         * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Likewise.
2733         * sysdeps/unix/sysv/linux/fallocate.c (fallocate): Likewise.
2734         * sysdeps/unix/sysv/linux/fallocate64.c (fallocate64): Likewise.
2735         * sysdeps/unix/sysv/linux/generic/open.c (__libc_open): Likewise.
2736         * sysdeps/unix/sysv/linux/generic/open64.c (__libc_open64): Likewise.
2737         * sysdeps/unix/sysv/linux/generic/pause.c (__libc_pause): Likewise.
2738         * sysdeps/unix/sysv/linux/generic/poll.c (__poll): Likewise.
2739         * sysdeps/unix/sysv/linux/generic/recv.c (__libc_recv): Likewise.
2740         * sysdeps/unix/sysv/linux/generic/select.c (__select): Likewise.
2741         * sysdeps/unix/sysv/linux/generic/send.c (__libc_send): Likewise.
2742         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c (__libc_pread):
2743         Likewise.
2744         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c
2745         (__libc_pread64): Likewise.
2746         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c
2747         (__libc_preadv): Likewise.
2748         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c
2749         (__libc_readv64): Likewise.
2750         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c
2751         (__libc_pwrite): Likewise.
2752         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c
2753         (__libc_pwrite64): Likewise.
2754         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c
2755         (__libc_pwritev): Likewise.
2756         * sysdeps/sysv/linux/generic/wordsize-32/pwritev64.c
2757         (__libc_pwritev64): Likewise.
2758         * sysdeps/unix/sysv/linux/i386/fcntl.c (__libc_fcntl): Likewise.
2759         * sysdeps/unix/sysv/linux/mips/mips32/sync_file_range.c
2760         (sync_file_range): Likewise.
2761         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate.c (fallocate):
2762         Likewise.
2763         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate64.c (fallocate64):
2764         Likewise.
2765         * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Likewise.
2766         * sysdeps/unix/sysv/linux/mips/pread64.c (__libc_pread64): Likewise.
2767         * sysdeps/unix/sysv/linux/mips/pwrite.c (__libc_pwrite): Likewise.
2768         * sysdeps/unix/sysv/linux/mips/pwrite64.c (__libc_pwrite64): Likewise.
2769         * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Likewise.
2770         * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Likewise.
2771         * sysdeps/unix/sysv/linux/open64.c (__libc_open64): Likewise.
2772         * sysdeps/unix/sysv/linux/openat.c (__libc_openat): Likewise.
2773         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c (__libc_pread):
2774         Likewise.
2775         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
2776         (__libc_read64): Likewise.
2777         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c (__libc_write):
2778         Likewise.
2779         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c (__libc_write64):
2780         Likewise.
2781         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fcntl.c (__libc_fcntl):
2782         Likewise.
2783         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c (__libc_pread):
2784         Likewise.
2785         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
2786         (__libc_pread64): Likewise.
2787         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c (__libc_pwrite):
2788         Likewise.
2789         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
2790         (__libc_pwrite64): Likewise.
2791         * sysdeps/sysv/linux/powerpc/powerpc64/sync_file_range.c
2792         (sync_file_range): Likewise.
2793         * sysdeps/unix/sysv/linux/ppoll.c (ppoll): Likewise.
2794         * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Likewise.
2795         * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Likewise.
2796         * sysdeps/unix/sysv/linux/preadv.c (__libc_preadv): Likewise.
2797         * sysdeps/unix/sysv/linux/pselect.c (__pselect): Likewise.
2798         * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
2799         * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
2800         * sysdeps/unix/sysv/linux/pwritev.c (PWRITEV): Likewise.
2801         * sysdeps/unix/sysv/linux/readv.c (__libc_readv): Likewise.
2802         * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
2803         * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
2804         * sysdeps/unix/sysv/linux/sh/pread.c (__libc_pread): Likewise.
2805         * sysdeps/unix/sysv/linux/sh/pread64.c (__libc_pread64): Likewise.
2806         * sysdeps/unix/sysv/linux/sh/pwrite.c (__libc_pwrite): Likewise.
2807         * sysdeps/unix/sysv/linux/sh/pwrite64.c (__libc_pwrite64): Likewise.
2808         * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise.
2809         * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Likewise.
2810         * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
2811         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c (__libc_msgrcv):
2812         Likewise.
2813         * sysdeps/unix/sysv/linux/sync_file_range.c (sync_file_range):
2814         Likewise.
2815         * sysdeps/unix/sysv/linux/tcdrain.c (__libc_tcdrain): Likewise.
2816         * sysdeps/unix/sysv/linux/timer_routines.c (timer_helper_thread):
2817         Likewise.
2818         * sysdeps/unix/sysv/linux/wait.c (__libc_wait): Likewise.
2819         * sysdeps/unix/sysv/linux/waitid.c (__waitid): Likewise.
2820         * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Likewise.
2821         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c (fallocate):
2822         Likewise.
2823         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c (preadv): Likewise.
2824         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c (pwritev): Likewise.
2825         * sysdeps/unix/sysv/linux/writev.c (__libc_writev): Likewise.
2826         * sysdeps/unix/sysv/linux/x86_64/recv.c (__libc_recv): Likewise.
2827         * sysdeps/unix/sysv/linux/x86_64/send.c (__libc_send): Likewise.
2829 2015-06-04  Nathan Lynch  <nathan_lynch@codesourcery.com>
2831         * sysdeps/unix/sysv/linux/arm/Makefile: (sysdep_routines):
2832         Include dl-vdso.
2833         * sysdeps/unix/sysv/linux/arm/init-first.c: New file:
2834         Use VDSO routines for gettimeofday, clock_gettime if
2835         available.
2836         * sysdeps/unix/sysv/linux/arm/libc-vdso.h: New file:
2837         Declare VDSO symbols.
2838         * sysdeps/unix/sysv/linux/arm/sysdep.h:
2839         [HAVE_GETTIMEOFDAY_VSYSCALL]: Define.
2840         [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
2841         * sysdeps/unix/sysv/linux/arm/Versions: Add
2842         __vdso_clock_gettime.
2844 2015-06-04  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2846         * sysdeps/unix/sysv/linux/not-cancel.h (open_not_cancel): Rewrite to
2847         be an inline implementation regardless of library is built within.
2848         (open_not_cancel_2): Likewise.
2849         (__read_nocancel): Likewise.
2850         (__write_nocancel): Likewise.
2851         (openat_not_cancel): Likewise.
2852         (openat_not_cancel_3): Likewise.
2853         (openat64_not_cancel): Likewise.
2854         (openat64_not_cancel_3): Likewise.
2855         (__close_nocancel): Likewise.
2856         (pause_not_cancel): Likewise.
2857         (nanosleep_not_cancel): Likewise.
2858         (sigsuspend_not_cancel): Likewise.
2860 2015-06-04  Torvald Riegel  <triegel@redhat.com>
2862         [BZ #14958]
2863         * nptl/pthread_rwlock_rdlock.c (__pthread_rwlock_rdlock): Add missing
2864         wake-up.
2865         (__pthread_rwlock_rdlock_slow): Likewise.
2866         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
2867         Likewise.
2868         * nptl/pthread_rwlock_tryrdlock.c (__pthread_rwlock_tryrdlock):
2869         Likewise.
2870         * nptl/pthread_rwlock_unlock.c (__pthread_rwlock_unlock): Add comments.
2871         * nptl/tst-rwlock16.c: New file.
2872         * nptl/Makefile (tests): Add new test.
2874 2015-06-04  Torvald Riegel  <triegel@redhat.com>
2876         [BZ #18324]
2877         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock): Add
2878         missing wake-up of readers.
2879         * nptl/tst-rwlock15.c: New file.
2880         * nptl/Makefile (tests): Add new test.
2882 2015-06-03  Roland McGrath  <roland@hack.frob.com>
2884         * sysdeps/nacl/nacl-interfaces.c (try_supply): New static function.
2885         (PASTE_NAME (__nacl_supply_interface_, MODULE_NAME)): New function.
2886         * sysdeps/nacl/nacl-interfaces.h: Declare __nacl_supply_interface_libc
2887         and __nacl_supply_interface_rtld.
2888         * sysdeps/nacl/nacl_interface_ext_supply.c: New file.
2889         * sysdeps/nacl/Makefile [$(subdir) = csu] (sysdep_routines): Add it.
2890         * sysdeps/nacl/Versions (ld: GLIBC_PRIVATE):
2891         Add __nacl_supply_interface_rtld.
2892         (libc: GLIBC_2.22): Add nacl_interface_ext_supply.
2894 2015-06-03  Wilco Dijkstra  <wdijkstr@arm.com>
2896         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Replace finite with
2897         isfinite.
2898         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
2899         * sysdeps/ieee754/ldbl-opt/nldbl-finite.c (__finitel): Likewise.
2901 2015-06-03  Wilco Dijkstra  <wdijkstr@arm.com>
2903         * math/e_exp10.c: Replace __isinf*, __isnan*, __finite* and
2904         __signbit* with standard C99 macros.
2905         * math/e_exp10l.c: Likewise.
2906         * math/e_exp2l.c: Likewise.
2907         * math/e_scalb.c: Likewise.
2908         * math/e_scalbf.c: Likewise.
2909         * math/e_scalbl.c: Likewise.
2910         * math/s_ldexp.c: Likewise.
2911         * math/s_ldexpf.c: Likewise.
2912         * math/s_ldexpl.c: Likewise.
2913         * math/w_atan2.c: Likewise.
2914         * math/w_atan2f.c: Likewise.
2915         * math/w_atan2l.c: Likewise.
2916         * math/w_cosh.c: Likewise.
2917         * math/w_coshf.c: Likewise.
2918         * math/w_coshl.c: Likewise.
2919         * math/w_exp10.c: Likewise.
2920         * math/w_exp10f.c: Likewise.
2921         * math/w_exp10l.c: Likewise.
2922         * math/w_exp2.c: Likewise.
2923         * math/w_exp2f.c: Likewise.
2924         * math/w_exp2l.c: Likewise.
2925         * math/w_fmod.c: Likewise.
2926         * math/w_fmodf.c: Likewise.
2927         * math/w_fmodl.c: Likewise.
2928         * math/w_hypot.c: Likewise.
2929         * math/w_hypotf.c: Likewise.
2930         * math/w_hypotl.c: Likewise.
2931         * math/w_jnl.c: Likewise.
2932         * math/w_lgamma.c: Likewise.
2933         * math/w_lgamma_r.c: Likewise.
2934         * math/w_lgammaf.c: Likewise.
2935         * math/w_lgammaf_r.c: Likewise.
2936         * math/w_lgammal.c: Likewise.
2937         * math/w_lgammal_r.c: Likewise.
2938         * math/w_pow.c: Likewise.
2939         * math/w_powf.c: Likewise.
2940         * math/w_powl.c: Likewise.
2941         * math/w_remainder.c: Likewise.
2942         * math/w_remainderf.c: Likewise.
2943         * math/w_remainderl.c: Likewise.
2944         * math/w_scalb.c: Likewise.
2945         * math/w_scalbf.c: Likewise.
2946         * math/w_scalbl.c: Likewise.
2947         * math/w_scalbln.c: Likewise.
2948         * math/w_scalblnf.c: Likewise.
2949         * math/w_scalblnl.c: Likewise.
2950         * math/w_sinh.c: Likewise.
2951         * math/w_sinhf.c: Likewise.
2952         * math/w_sinhl.c: Likewise.
2953         * math/w_tgamma.c: Likewise.
2954         * math/w_tgammaf.c: Likewise.
2955         * math/w_tgammal.c: Likewise.
2956         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
2957         * sysdeps/ieee754/dbl-64/e_exp10.c: Likewise.
2958         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
2959         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
2960         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
2961         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
2962         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
2963         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
2964         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
2965         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
2966         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
2967         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
2968         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
2969         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
2970         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
2971         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
2972         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
2973         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
2974         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
2975         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
2976         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
2977         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
2978         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
2979         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
2980         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
2981         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
2982         * sysdeps/ieee754/ldbl-128ibm/w_expl.c: Likewise.
2983         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
2984         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
2985         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
2986         * sysdeps/ieee754/ldbl-opt/nldbl-finite.c: Likewise.
2987         * sysdeps/ieee754/ldbl-opt/nldbl-isinf.c: Likewise.
2988         * sysdeps/ieee754/ldbl-opt/nldbl-isnan.c: Likewise.
2989         * sysdeps/ieee754/ldbl-opt/nldbl-signbit.c: Likewise.
2990         * stdio-common/printf_fp.c: Likewise.
2991         * stdio-common/printf_fphex.c: Likewise.
2992         * stdio-common/printf_size.c: Likewise.
2994 2015-06-03  Joseph Myers  <joseph@codesourcery.com>
2996         [BZ #18470]
2997         * posix/fnmatch.c (fnmatch) [_LIBC]: Call __strnlen instead of
2998         strnlen.
2999         * conform/Makefile (test-xfail-XPG3/fnmatch.h/linknamespace):
3000         Remove variable.
3001         (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
3002         (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
3003         (test-xfail-POSIX/glob.h/linknamespace): Likewise.
3004         (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
3005         (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
3006         (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
3007         (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
3008         (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
3009         (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
3010         (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
3012         [BZ #18468]
3013         * wcsmbs/wmemchr.c (wmemchr): Rename to __wmemchr and define as
3014         weak alias of __wmemchr.  Use libc_hidden_weak.
3015         * include/wchar.h (__wmemchr): Declare.  Use libc_hidden_proto.
3016         * posix/fnmatch.c [HANDLE_MULTIBYTE] (MEMCHR): Use __wmemchr
3017         instead of wmemchr.
3019 2015-06-02  Roland McGrath  <roland@hack.frob.com>
3021         [BZ #18383]
3022         * elf/tst-tlsalign-extern.c: New file.
3023         * elf/tst-tlsalign-extern-static.c: New file.
3024         * elf/tst-tlsalign-vars.c: New file.
3025         * elf/Makefile (tests-static): Add tst-tlsalign-extern-static.
3026         [$(build-shared) = yes] (tests): Add tst-tlsalign-extern.
3027         ($(objpfx)tst-tlsalign-extern): Depend on tst-tlsalign-vars.o.
3028         ($(objpfx)tst-tlsalign-extern-static): Likewise.
3029         (test-xfail-tst-tlsalign-extern-static): New variable.
3031 2015-06-02  Joseph Myers  <joseph@codesourcery.com>
3033         * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h (INLINE_SYSCALL):
3034         Use variable name _sc_err instead of err.
3035         [__mips16] (INTERNAL_SYSCALL_NCS): Use variable name _sc_ret
3036         instead of ret.
3037         * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h
3038         (INLINE_SYSCALL): Use variable name _sc_err instead of err.
3039         * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h
3040         (INLINE_SYSCALL): Likewise.
3042         * string/strnlen.c [!STRNLEN] (__strnlen): Use libc_hidden_def.
3043         * include/string.h (__strnlen): Use libc_hidden_proto.
3044         * sysdeps/aarch64/strnlen.S (__strnlen): Use libc_hidden_def.
3045         * sysdeps/i386/i686/multiarch/strnlen-c.c [SHARED]
3046         (libc_hidden_def): Define __GI___strnlen as well as __GI_strnlen.
3047         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-power7.S
3048         (libc_hidden_def): Undefine and redefine.
3049         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c
3050         [SHARED] (libc_hidden_def): Define __GI___strnlen as well as
3051         __GI_strnlen.
3052         * sysdeps/powerpc/powerpc32/power7/strnlen.S (__strnlen): Use
3053         libc_hidden_def.
3054         * sysdeps/tile/tilegx/strnlen.c (__strnlen): Likewise.
3056         [BZ #18469]
3057         * wctype/wcfuncs.c (towlower): Rename to __towlower and define as
3058         weak alias of __towlower.  Use libc_hidden_weak.
3059         (towupper): Rename to __towupper and define as weak alias of
3060         __towupper.  Use libc_hidden_weak.
3061         * include/wctype.h (__towlower): Declare.  Use libc_hidden_proto.
3062         (__towupper): Likewise.
3063         * posix/fnmatch.c [HANDLE_MULTIBYTE && _LIBC] (FOLD): Use
3064         __towlower instead of towlower.
3066 2015-06-02  Roland McGrath  <roland@hack.frob.com>
3068         * stdlib/setenv.c [__GNUC__,__GNUC_MINOR__ < 4,7]: Use
3069         "-Wuninitialized" rather than "-Wmaybe-uninitialized" in pragma.
3071 2015-06-02  Szabolcs Nagy  <szabolcs.nagy@arm.com>
3073         * sysdeps/aarch64/libm-test-ulps: Update.
3075 2015-06-01  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3077         * sysdeps/unix/sysv/linux/i386/sysdep.h (HAVE_CLOCK_GETTIME_VSYSCALL):
3078         Define.
3079         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
3080         * sysdeps/unix/sysv/linux/x86_64/sysdep.h
3081         (HAVE_CLOCK_GETTIME_VSYSCALL): Likewise.
3082         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
3083         * sysdeps/unix/sysv/linux/timespec_get.c: Include errno.h.
3084         * sysdeps/unix/sysv/linux/x86/clock_gettime.c: Remove file.
3085         * sysdeps/unix/sysv/linux/x86/timespec_get.c: Likewise.
3087 2015-06-01  Martin Sebor  <msebor@redhat.com>
3089         [BZ #18116]
3090         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
3091         (__setcontext): Use extended four-operand version of mtsf whenever
3092         possible.
3093         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
3094         (__novec_swapcontext): Likewise.
3096 2015-06-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
3098         * benchtests/scripts/compare_bench.py: New file.
3099         * benchtests/scripts/import_bench.py (mean): New function.
3100         (split_list): Likewise.
3101         (do_for_all_timings): Likewise.
3102         (compress_timings): Likewise.
3104         * benchtests/scripts/import_bench.py: New file.
3105         * benchtests/scripts/validate_benchout.py: Import import_bench
3106         instead of jsonschema.
3107         (validate_bench): Remove function.
3108         (main): Use import_bench.
3110 2015-06-01  Steve Ellcey  <sellcey@imgtec.com>
3112         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Use a union to
3113         copy data from cur_ifr->ifr_addr and cur_ifr->ifr_netmask.
3115 2015-05-29  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3117         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3119 2015-05-28  Roland McGrath  <roland@hack.frob.com>
3121         * sysdeps/nacl/exit-thread.h (__exit_thread): If not detached,
3122         set THREAD_SELF->tid to a magic value and futex-wake it.
3123         Pass its address to the thread_exit system call.
3124         * sysdeps/nacl/pthread-pids.h (__nacl_get_tid): Assert that TID's low
3125         bit is clear.
3126         * sysdeps/nacl/lowlevellock.h: New file.
3127         * sysdeps/nacl/lll_timedwait_tid.c: New file.
3129         * sysdeps/nacl/lowlevellock-futex.h (lll_futex_timed_wait):
3130         Add TIMEOUT to current time, don't subtract it.
3132 2015-05-28  H.J. Lu  <hongjiu.lu@intel.com>
3134         [BZ #2981]
3135         [BZ #18422]
3136         * Makefile ($(objpfx)tst-audit2): Depend on $(libdl).
3137         ($(objpfx)tst-audit2.out): Also depend on
3138         $(objpfx)tst-auditmod9b.so.
3139         * elf/tst-audit2.c: Include <dlfcn.h>.
3140         (calloc_called): New.
3141         (calloc): Allow to be called more than once.
3142         (do_test): dllopen/dlclose $ORIGIN/tst-auditmod9b.so.
3144 2015-05-28  Wilco Dijkstra  <wdijkstr@arm.com>
3146         * sysdeps/ieee754/dbl-64/s_fabs.c: (__fabs): Call __builtin_fabs.
3147         * sysdeps/ieee754/flt-32/s_fabsf.c: (__fabsf): Likewise.
3149 2015-05-27  Marko Myllynen  <myllynen@redhat.com>
3151         * stdlib/monetary.h: Fix comment.
3153 2015-05-26  Chris Metcalf  <cmetcalf@ezchip.com>
3155         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_SYSCALL):
3156         Avoid using variables in #defines that might cause shadowing.
3157         (INTERNAL_VSYSCALL_CALL): Likewise.
3159 2015-05-26  Roland McGrath  <roland@hack.frob.com>
3161         * sysdeps/nacl/lll_timedlock_wait.c: New file.
3163         * nptl/lowlevellock.c (__lll_timedlock_wait): Moved ...
3164         * nptl/lll_timedlock_wait.c: ... to this new file.
3165         * nptl/Makefile (libpthread-routines): Add it.
3166         * nptl/lowlevellock.c (__lll_timedwait_tid): Moved ...
3167         * nptl/lll_timedwait_tid.c: ... to this new file.
3168         * nptl/Makefile (libpthread-routines): Add it.
3169         * sysdeps/sparc/sparc32/lll_timedlock_wait.c: New file.
3170         * sysdeps/sparc/sparc32/lll_timedwait_tid.c: New file.
3171         * sysdeps/unix/sysv/linux/i386/i486/lll_timedlock_wait.c: New file.
3172         * sysdeps/unix/sysv/linux/i386/i586/lll_timedlock_wait.c: New file.
3173         * sysdeps/unix/sysv/linux/i386/i686/lll_timedlock_wait.c: New file.
3174         * sysdeps/unix/sysv/linux/i386/i486/lll_timedwait_tid.c: New file.
3175         * sysdeps/unix/sysv/linux/i386/i586/lll_timedwait_tid.c: New file.
3176         * sysdeps/unix/sysv/linux/i386/i686/lll_timedwait_tid.c: New file.
3177         * sysdeps/unix/sysv/linux/x86_64/lll_timedlock_wait.c: New file.
3178         * sysdeps/unix/sysv/linux/x86_64/lll_timedwait_tid.c: New file.
3180 2015-05-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3182         * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c: Remove file.
3183         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
3184         * sysdeps/unix/sysv/linux/tile/gettimeofday.c: Likewise.
3185         * sysdeps/unix/sysv/linux/aarch64/sysdep.h
3186         (HAVE_GETTIMEOFDAY_VSYSCALL): Define.
3187         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
3188         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
3189         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
3190         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
3191         * sysdeps/unix/sysv/linux/tile/sysdep.h
3192         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
3193         * sysdeps/unix/sysv/linux/gettimeofday.c: New file: gettimeofday
3194         using vDSO syscall macro.
3196 2015-05-26  Andriy Rysin  <arysin@gmail.com>
3198         [BZ #17293]
3199         * uk_UA: Fix sorting order for Ukrainian locale
3201 2015-05-26  Marko Myllynen  <myllynen@redhat.com>
3203         * stdlib/monetary.h: Fix comment.
3205 2015-05-26  Szabolcs Nagy  <szabolcs.nagy@arm.com>
3207         [BZ #18234]
3208         * conform/data/sys/stat.h-data (struct stat): Add tests for st_atim,
3209         st_mtim and st_ctim members.
3210         * sysdeps/nacl/bits/stat.h (struct stat, struct stat64): Make
3211         st_atim, st_ctim, st_mtim visible under __USE_XOPEN2K8 only.
3212         * sysdeps/unix/sysv/linux/generic/bits/stat.h (struct stat,):
3213         (struct stat64): Likewise.
3214         * sysdeps/unix/sysv/linux/ia64/bits/stat.h (struct stat,):
3215         (struct stat64): Likewise.
3216         * sysdeps/unix/sysv/linux/microblaze/bits/stat.h (struct stat,):
3217         (struct stat64): Likewise.
3219 2015-05-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3221         * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c (HAVE_VSYSCALL):
3222         Define and include sysdep-vdso.h.
3223         * sysdeps/unix/sysv/linux/s390/gettimeofday.c (HAVE_VSYSCALL):
3224         Likewise.
3225         * sysdeps/unix/sysv/linux/tile/gettimeofday.c (HAVE_VSYSCALL):
3226         Likewise.
3227         * sysdeps/unix/sysv/linux/aarch64/init-first.c (__vdso_gettimeofday):
3228         Define with VDSO_SYMBOL and use PTR_MANGLE.
3229         (__vdso_clock_gettime): Likewise.
3230         (__vdso_clock_getres): Likewise.
3231         (_libc_vdso_platform_setup): Likewise.
3232         * sysdeps/unix/sysv/linux/i386/init-first.c (__vdso_clock_gettime):
3233         Likewise.
3234         (_libc_vdso_platform_setup): Likewise.
3235         * sysdeps/unix/sysv/linux/powerpc/init-first.c (__vdso_gettimeofday):
3236         Likewise.
3237         (__vdso_clock_gettime): Likewise.
3238         (__vdso_clock_getres): Likewise.
3239         (__vdso_get_tbfreq): Likewise.
3240         (__vdso_getcpu): Likewise.
3241         (__vdso_time): Likewise.
3242         (__vdso_sigtramp_rt64): Likewise.
3243         (__vdso_signtramp32): Likewise.
3244         (__vdso_sigtramp_rt32): Likewise.
3245         (_libc_vdso_platform_setup): Likewise.
3246         * sysdeps/unix/sysv/linux/s390/init-first.c (__vdso_gettimeofay):
3247         Likewise.
3248         (__vdso_clock_gettime): Likewise.
3249         (__vdso_clock_getres): Likewise.
3250         (_libc_vdso_platform_setup): Likewise.
3251         * sysdeps/unix/sysv/linux/tile/init-first.c (__vdso_gettimeofday):
3252         Likewise.
3253         (__vdso_clock_gettime): Likewise.
3254         (_libc_vdso_platform_setup): Likewise.
3255         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_clock_gettime):
3256         Likewise.
3257         (__vdso_getcpu): Likewise.
3258         * sysdeps/unix/sysv/linux/aarch64/libc-vdso.h (__vdso_gettimeoday):
3259         Use VDSO_SYMBOL macro to define.
3260         (__vdso_clock_gettime): Likewise.
3261         (__vdso_clock_getres): Likewise.
3262         * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h (__vdso_gettimeofday):
3263         Likewise.
3264         (__vdso_clock_gettime): Likewise.
3265         (__vdso_clock_getres): Likewise.
3266         (__vdso_get_tbfreq): Likewise.
3267         (__vdso_getcpu): Likewise.
3268         (__vdso_time): Likewise.
3269         (__vdso_sigtramp_rt64): Likewise.
3270         (__vdso_signtramp32): Likewise.
3271         (__vdso_sigtramp_rt32): Likewise.
3272         * sysdeps/unix/sysv/linux/s390/libc-vdso.h (__vdso_gettimeofday):
3273         Likewise.
3274         (__vdso_clock_gettime): Likewise.
3275         (__vdso_clock_getres): Likewise.
3276         * sysdeps/unix/sysv/linux/tile/libc-vdso.h (__vdso_gettimeofday):
3277         Likewise.
3278         (__vdso_clock_gettime): Likewise.
3279         * sysdeps/unix/sysv/linux/x86/libc-vdso.h (__vdso_clock_gettime):
3280         Likewise.
3281         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INLINE_VSYSCALL):  Remove
3282         macro.
3283         (INTERNAL_VSYSCALL): Likewise.
3284         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h (INLINE_VSYSCALL):
3285         Remove macro.
3286         (INTERNAL_VSYSCALL): Likewise.
3287         (INTERNAL_VSYSCALL_NCS): Likewise.
3288         (INTERNAL_VSYSCALL_CALL): New macro.
3289         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use PTR_DEMANGLE.
3290         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h (INLINE_VSYSCALL):
3291         Likewise.
3292         (INTERNAL_VSYSCALL): Likewise.
3293         (INTERNAL_VSYSCALL_NCS): Likewise.
3294         (INTERNAL_VSYSCALL_CALL): New macro.
3295         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use PTR_DEMANGLE.
3296         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
3297         (INLINE_VSYSCALL): Remove macro.
3298         (INTERNAL_VSYSCALL): Remove macro.
3299         (INTERNAL_VSYSCALL_NCS): Remove macro.
3300         (INTERNAL_VSYSCALL_CALL): New macro.
3301         (INTERNAL_VSYSCALL_CALL_TYPE): New macro.
3302         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use INTERNAL_VSYSCALL_CALL.
3303         (INTERNAL_VSYSCALL_NCS_TYPE): Likewise.
3304         (HAVE_CLOCK_GETRES_VSYSCALL): New define.
3305         (HAVE_CLOCK_GETTIME_VSYSCALL): Likewise.
3306         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
3307         (INLINE_VSYSCALL): Remove macro.
3308         (INTERNAL_VSYSCALL): Likewise.
3309         (INTERNAL_VSYSCALL_NCS): Likewise.
3310         (INTERNAL_VSYSCALL_CALL): New macro.
3311         (INTERNAL_VSYSCALL_CALL_TYPE): Likewise.
3312         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use INTERNAL_VSYSCALL_CALL and
3313         PTR_DEMANGLE on vDSO pointer.
3314         (INTERNAL_VSYSCALL_NCS_TYPE): Likewise.
3315         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Remove
3316         macro.
3317         (INTERNAL_SYSCALL): Likewise.
3318         (INTERNAL_VSYSCALL_NCS): Remove macro.
3319         (INTERNAL_VSYSCALL_CALL): New macro.
3320         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_VSYSCALL):
3321         Remove macro.
3322         (INTERNAL_VSYSCALL): Likewise.
3323         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Include
3324         sysdep-vdso.h instead of libc-vdso.h.
3325         * sysdeps/unix/sysv/linux/clock_getres.c (INTERNAL_VSYSCALL): Remove
3326         definition.
3327         (INLINE_VSYSCALL): Likewise.
3328         (HAVE_VSYSCALL) [HAVE_CLOCK_GETRES_VSYSCALL]: Define.
3329         * sysdeps/unix/sysv/linux/clock_gettime.c (INTERNAL_VSYSCALL): Remove
3330         definition.
3331         (INLINE_VSYSCALL): Likewise.
3332         (INTERNAL_VSYSCALL): Likewise.
3333         (HAVE_VSYSCALL) [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
3334         * sysdeps/unix/sysv/linux/timespec_get.c
3335         (INTERNAL_VSYSCALL) [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
3336         (timespec_get): Use ANSI prototype.
3337         * sysdeps/unix/sysv/linux/sysdep-vdso.h: New file: default vDSO macros
3338         and definition for Linux.
3340 2015-05-25  Andrew Senkevich  <andrew.senkevich@intel.com>
3342         * elf/Makefile (localplt-built-dso): libmvec added to localplt test.
3343         * include/libc-symbols.h: libmvec_hidden_* macro series added.
3345 2015-05-22  H.J. Lu  <hongjiu.lu@intel.com>
3347         [BZ #2981]
3348         [BZ #18410]
3349         * elf/dl-reloc.c (_dl_relocate_object): Don't issue an error
3350         for missing DT_PLTRELSZ.
3352 2015-05-22  Paul Eggert  <eggert@cs.ucla.edu>
3354         Remove obsolete aliases that broke 'locale -a'
3355         [BZ #18412]
3356         * intl/locale.alias: Remove obsolete aliases "bokmål" and "français"
3357         which caused 'locale -a' to output Latin-1 data in UTF-8 locales,
3358         breaking some applications that use 'locale -a' output.
3359         Change the encoding of this file from Latin-1 to ASCII to avoid
3360         other potential problems with people grepping this file.
3362 2015-05-22  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3364         * nptl/Makefile (CFLAGS-accept.c): Add -fexceptions and
3365         -fasynchronous-unwind-tables.
3366         (CFLAGS-sendto.c): Likewise.
3367         (CFLAGS-sendmsg.c): Likewise.
3368         (CFLAGS-connect.c): Likewise.
3369         (CFLAGS-recvmsg.c): Likewise.
3370         (CFLAGS-recvfrom.c): Likewise.
3371         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_invalid): Define.
3372         (SOCKETCALL): New macro: non-cancellable socketcall.
3373         (SOCKETCALL_CANCEL): New macro: cancellable socketcall.
3374         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = socket]: Remove
3375         internal_accept4, internal_recvmmsg, and internal_sendmmsg rules.
3376         * sysdeps/unix/sysv/linux/accept.c: New file.
3377         * sysdeps/unix/sysv/linux/bind.c: Likewise.
3378         * sysdeps/unix/sysv/linux/connect.c: Likewise.
3379         * sysdeps/unix/sysv/linux/getpeername.c: Likewise.
3380         * sysdeps/unix/sysv/linux/getsockname.c: Likewise.
3381         * sysdeps/unix/sysv/linux/getsockopt.c: Likewise.
3382         * sysdeps/unix/sysv/linux/listen.c: Likewise.
3383         * sysdeps/unix/sysv/linux/recv.c: Likewise.
3384         * sysdeps/unix/sysv/linux/recvfrom.c: Likewise.
3385         * sysdeps/unix/sysv/linux/recvmsg.c: Likewise.
3386         * sysdeps/unix/sysv/linux/send.c: Likewise.
3387         * sysdeps/unix/sysv/linux/sendmsg.c: Likewise.
3388         * sysdeps/unix/sysv/linux/sendto.c: Likewise.
3389         * sysdeps/unix/sysv/linux/setsockopt.c: Likewise.
3390         * sysdeps/unix/sysv/linux/shutdown.c: Likewise.
3391         * sysdeps/unix/sysv/linux/socket.c: Likewise.
3392         * sysdeps/unix/sysv/linux/socketpair.c: Likewise.
3393         * sysdeps/unix/sysv/linux/recvmmsg.c (__internal_recvmmsg): Remove
3394         prototype.
3395         (recvmmsg) [__ASSUME_RECVMMSG_SOCKETCALL]: Add C based implementation.
3396         (recvmmsg) [!__ASSUME_RECVMMSG_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
3397         instead of __internal_xxx function.
3398         * sysdeps/unix/sysv/linux/accept4.c (__internal_accept4): Remove
3399         prototype.
3400         (accept4) [__ASSUME_ACCEPT4_SOCKETCALL]: Add C based implementation.
3401         (accept4) [!__ASSUME_ACCEPT4_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
3402         instead of __internal_xxx function.
3403         * sysdeps/unix/sysv/linux/sendmmsg.c (__internal_sendmmsg): Remove
3404         prototype.
3405         (sendmmsg) [__ASSUME_SENDMMSG_SOCKETCALL]: Add C based implementation.
3406         (sendmmsg) [!__ASSUME_SENDMMSG_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
3407         instead of __internal_xxx function.
3408         * sysdeps/unix/sysv/linux/accept.S: Remove file.
3409         * sysdeps/unix/sysv/linux/bind.S: Likewise.
3410         * sysdeps/unix/sysv/linux/connect.S: Likewise.
3411         * sysdeps/unix/sysv/linux/getpeername.S: Likewise.
3412         * sysdeps/unix/sysv/linux/getsockname.S: Likewise.
3413         * sysdeps/unix/sysv/linux/getsockopt.S: Likewise.
3414         * sysdeps/unix/sysv/linux/arm/internal_accept4.S: Likewise.
3415         * sysdeps/unix/sysv/linux/arm/internal_recvmmsg.S: Likewise.
3416         * sysdeps/unix/sysv/linux/arm/internal_sendmmsg.S: Likewise.
3417         * sysdeps/unix/sysv/linux/i386/accept4.S: Likewise.
3418         * sysdeps/unix/sysv/linux/i386/internal_accept4.S: Likewise.
3419         * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
3420         * sysdeps/unix/sysv/linux/internal_accept4.S: Likewise.
3421         * sysdeps/unix/sysv/linux/internal_recvmmsg.S: Likewise.
3422         * sysdeps/unix/sysv/linux/internal_sendmmsg.S: Likewise.
3423         * sysdeps/unix/sysv/linux/listen.S: Likewise.
3424         * sysdeps/unix/sysv/linux/microblaze/socket.S: Likewise.
3425         * sysdeps/unix/sysv/linux/mips/mips32/internal_accept4.S: Likewise.
3426         * sysdeps/unix/sysv/linux/mips/mips32/internal_recvmmsg.S: Likewise.
3427         * sysdeps/unix/sysv/linux/mips/mips32/internal_sendmmsg.S: Likewise.
3428         * sysdeps/unix/sysv/linux/powerpc/powerpc32/socket.S: Likewise.
3429         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S: Likewise.
3430         * sysdeps/unix/sysv/linux/recv.S: Likewise.
3431         * sysdeps/unix/sysv/linux/recvfrom.S: Likewise.
3432         * sysdeps/unix/sysv/linux/recvmsg.S: Likewise.
3433         * sysdeps/unix/sysv/linux/s390/s390-32/socket.S: Likewise.
3434         * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
3435         * sysdeps/unix/sysv/linux/send.S: Likewise.
3436         * sysdeps/unix/sysv/linux/sendmsg.S: Likewise.
3437         * sysdeps/unix/sysv/linux/sendto.S: Likewise.
3438         * sysdeps/unix/sysv/linux/setsockopt.S: Likewise.
3439         * sysdeps/unix/sysv/linux/sh/socket.S: Likewise.
3440         * sysdeps/unix/sysv/linux/shutdown.S: Likewise.
3441         * sysdeps/unix/sysv/linux/socketpair.S: Likewise.
3442         * sysdeps/unix/sysv/linux/sparc/sparc32/socket.S: Likewise.
3443         * sysdeps/unix/sysv/linux/sparc/sparc64/socket.S: Likewise.
3444         * sysdeps/unix/sysv/linux/m68k/socket.S: Likewise.
3445         * sysdeps/unix/sysv/linux/hppa/socket.S: Likewise.
3446         * sysdeps/unix/sysv/linux/kernel-features.h: Adjust comment on how
3447         socketcall is implemented in GLIBC.
3449 2015-05-22  Joseph Myers  <joseph@codesourcery.com>
3451         * soft-fp/fmadf4.c: Include <libc-internal.h>.
3452         (__fma): Ignore uninitialized warnings around packing.
3453         * soft-fp/fmasf4.c: Include <libc-internal.h>.
3454         (__fmaf): Ignore uninitialized warnings around packing.
3455         * soft-fp/fmatf4.c: Include <libc-internal.h>.
3456         (__fmal): Ignore uninitialized warnings around packing.
3458         * sysdeps/ieee754/ldbl-128/k_tanl.c: Include <libc-internal.h>.
3459         (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
3460         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Include <libc-internal.h>.
3461         (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
3463         * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfcl): Make case 9 in
3464         switch statement into default case.
3465         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Likewise.
3467         * sysdeps/ieee754/ldbl-128/e_asinl.c (__ieee754_asinl): Don't use
3468         a conditional in forcing "inexact".
3469         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
3470         Likewise.
3472 2015-05-22  Roland McGrath  <roland@hack.frob.com>
3474         * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
3475         Use a separate INTERNAL_SYSCALL_DECL (err); in a local scope
3476         for each INTERNAL_SYSCALL use.
3478 2015-05-22  Joseph Myers  <joseph@codesourcery.com>
3480         [BZ #438]
3481         * posix/unistd.h (_POSIX2_C_VERSION): New macro.
3482         * conform/Makefile (test-xfail-POSIX/unistd.h/conform): Remove
3483         variable.
3485         [BZ #18444]
3486         * string/basename.c (basename): Rename to __basename and define as
3487         weak alias of __basename.  Use libc_hidden_weak.
3488         * include/string.h (__basename): Declare.  Use libc_hidden_proto.
3489         * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): Call
3490         __basename instead of basename.
3491         * conform/Makefile (test-xfail-POSIX2008/unistd.h/linknamespace):
3492         Remove variable.
3493         (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
3495 2015-05-18  Florian Weimer  <fweimer@redhat.com>
3497         * libio/libioP.h (_IO_MEMBER_TYPE, _IO_CAST_FIELD_ACCESS)
3498         (_IO_JUMPS_FILE_plus): New.
3499         (_IO_WIDE_JUMPS, _IO_CHECK_WIDE, _IO_JUMPS_FUNC): Use
3500         _IO_CAST_FIELD_ACCESS.
3501         * libio/fileops.c (libc_hidden_def, _IO_file_setbuf_mmap,
3502         mmap_remap_check, decide_maybe_mmap): Use _IO_JUMPS_FILE_plus.
3503         * libio/freopen.c (freopen): Likewise.
3504         * libio/freopen64.c (freopen64): Likewise.
3505         * libio/iofopen.c (__fopen_maybe_mmap): Likewise.
3506         * libio/iofopncook.c (_IO_old_fopencookie): Likewise.
3507         * libio/iofwide.c (_IO_fwide): Likewise.
3508         * libio/memstream.c (open_memstream): Likewise.
3509         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
3510         * libio/oldiofopen.c (_IO_old_fopen): Likewise.
3511         * libio/oldiopopen.c (_IO_old_popen): Likewise.
3513 2015-05-21  Joseph Myers  <joseph@codesourcery.com>
3515         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Include <libc-internal.h>.
3516         (__ieee754_lgamma_r): Ignore uninitialized warnings around use of
3517         NADJ.
3518         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Include <libc-internal.h>.
3519         (__ieee754_lgammaf_r): Ignore uninitialized warnings around use of
3520         NADJ.
3521         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Include <libc-internal.h>.
3522         (__ieee754_lgammal_r): Ignore uninitialized warnings around use of
3523         NADJ.
3525         * sysdeps/ieee754/dbl-64/mpa.c (norm): Remove if condition on
3526         (p == 4) case.
3528         * conform/linknamespace.pl (@whitelist): Add re_syntax_options.
3529         * conform/Makefile (test-xfail-UNIX98/regex.h/linknamespace):
3530         Remove variable.
3531         (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
3532         (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
3533         (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
3535 2015-05-21  Florian Weimer  <fweimer@redhat.com>
3537         * stdio-common/vfprintf.c (LABEL, JUMP_TABLE_BASE_LABEL, REF):
3538         Adjust jump table label generation macros.
3540 2015-05-21  Florian Weimer  <fweimer@redhat.com>
3542         * stdio-common/vfprintf.c (vfprintf): Move local variables
3543         args_malloced, specs, specs_malloced, and the code after
3544         do_positional to the printf_positional function.
3545         (printf_positional): New function.
3547 2015-05-21  Florian Weimer  <fweimer@redhat.com>
3549         * stdio-common/vfprintf.c (jump_table): Move out of the vfprintf
3550         function.
3551         (NOT_IN_JUMP_RANGE, CHAR_CLASS, LABEL, REF, JUMP, STEP0_3_TABLE,
3552         STEP4_TABLE, process_arg): Move macro definitions
3553         out of the vfprintf function.  (Cosmetic change only.)
3555 2015-05-21  Carlos O'Donell  <carlos@redhat.com>
3557         * benchtests/Makefile (stdio-common-bench): Define.
3558         (benchset): Add stdio-common-bench.
3559         * sprintf-inputs: New file.
3560         * sprintf-source.c: New file.
3562 2015-05-21  Andreas Schwab  <schwab@suse.de>
3564         [BZ #13028]
3565         [BZ #17053]
3566         * resolv/res_init.c (__res_vinit): Remove use of ext.nsmap member
3567         of struct __res_state.
3568         * resolv/res_send.c (__libc_res_nsend): Likewise.
3569         (get_nsaddr): New function.
3570         (res_ourserver_p, send_vc, reopen): Use it instead of accessing
3571         statp directly.
3573 2015-05-20  Joseph Myers  <joseph@codesourcery.com>
3575         * conform/GlibcConform.pm ($CFLAGS{"POSIX"}): Use
3576         -D_POSIX_C_SOURCE=199506L.
3578         * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Require.
3580         * conform/data/unistd.h-data (_POSIX_VERSION): Require.
3581         (_POSIX2_C_VERSION): Require if [POSIX || XPG3 || XPG4 || UNIX98].
3582         Do not mention otherwise.
3583         [POSIX] (_XOPEN_VERSION): Do not expect.
3584         [POSIX] (_XOPEN_XCU_VERSION): Likewise.
3585         [POSIX] (_POSIX2_C_BIND): Likewise.
3586         [POSIX] (_POSIX2_VERSION): Likewise.
3587         [POSIX] (_XOPEN_XPG2): Likewise.
3588         [POSIX] (_XOPEN_XPG3): Likewise.
3589         [POSIX] (_XOPEN_XPG4): Likewise.
3590         [POSIX] (_XOPEN_UNIX): Likewise.
3591         [POSIX] (_POSIX_ADVISORY_INFO): Likewise.
3592         [POSIX] (_POSIX_BARRIERS): Likewise.
3593         [POSIX] (_POSIX_CLOCK_SELECTION): Likewise.
3594         [POSIX] (_POSIX_CPUTIME): Likewise.
3595         [POSIX] (_POSIX_MONOTONIC_CLOCK): Likewise.
3596         [POSIX] (_POSIX_READER_WRITER_LOCKS): Likewise.
3597         [POSIX] (_POSIX_SHELL): Likewise.
3598         [POSIX] (_POSIX_SPAWN): Likewise.
3599         [POSIX] (_POSIX_SPIN_LOCKS): Likewise.
3600         [POSIX] (_POSIX_SPORADIC_SERVER): Likewise.
3601         [POSIX] (_POSIX_THREAD_CPUTIME): Likewise.
3602         [POSIX] (_POSIX_TYPED_MEMORY_OBJECTS): Likewise.
3603         [POSIX] (_POSIX_THREAD_SPORADIC_SERVER): Likewise.
3604         [POSIX] (_XBS5_ILP32_OFF32): Likewise.
3605         [POSIX] (_XBS5_ILP32_OFBIG): Likewise.
3606         [POSIX] (_XBS5_LP64_OFF64): Likewise.
3607         [POSIX] (_XBS5_LPBIG_OFFBIG): Likewise.
3608         [POSIX] (_POSIX_TIMEOUTS): Likewise.
3609         [POSIX] (_POSIX2_PBS): Likewise.
3610         [POSIX] (_POSIX2_PBS_ACCOUNTING): Likewise.
3611         [POSIX] (_POSIX2_PBS_CHECKPOINT): Likewise.
3612         [POSIX] (_POSIX2_PBS_LOCATE): Likewise.
3613         [POSIX] (_POSIX2_PBS_MESSAGE): Likewise.
3614         [POSIX] (_POSIX2_PBS_TRACK): Likewise.
3615         [POSIX] (_POSIX_TIMESTAMP_RESOLUTION): Likewise.
3616         [POSIX] (_CS_XBS5_ILP32_OFF32_CFLAGS): Likewise.
3617         [POSIX] (_CS_XBS5_ILP32_OFF32_LDFLAGS): Likewise.
3618         [POSIX] (_CS_XBS5_ILP32_OFF32_LIBS): Likewise.
3619         [POSIX] (_CS_XBS5_ILP32_OFF32_LINTFLAGS): Likewise.
3620         [POSIX] (_CS_XBS5_ILP32_OFFBIG_CFLAGS): Likewise.
3621         [POSIX] (_CS_XBS5_ILP32_OFFBIG_LDFLAGS): Likewise.
3622         [POSIX] (_CS_XBS5_ILP32_OFFBIG_LIBS): Likewise.
3623         [POSIX] (_CS_XBS5_ILP32_OFFBIG_LINTFLAGS): Likewise.
3624         [POSIX] (_CS_XBS5_LP64_OFF64_CFLAGS): Likewise.
3625         [POSIX] (_CS_XBS5_LP64_OFF64_LDFLAGS): Likewise.
3626         [POSIX] (_CS_XBS5_LP64_OFF64_LIBS): Likewise.
3627         [POSIX] (_CS_XBS5_LP64_OFF64_LINTFLAGS): Likewise.
3628         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_CFLAGS): Likewise.
3629         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LDFLAGS): Likewise.
3630         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LIBS): Likewise.
3631         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LINTFLAGS): Likewise.
3632         [POSIX] (_SC_2_C_BIND): Likewise.
3633         [POSIX] (_SC_2_C_VERSION): Likewise.
3634         [POSIX] (_SC_2_PBS): Likewise.
3635         [POSIX] (_SC_2_PBS_ACCOUNTING): Likewise.
3636         [POSIX] (_SC_2_PBS_CHECKPOINT): Likewise.
3637         [POSIX] (_SC_2_PBS_LOCATE): Likewise.
3638         [POSIX] (_SC_2_PBS_MESSAGE): Likewise.
3639         [POSIX] (_SC_2_PBS_TRACK): Likewise.
3640         [POSIX] (_SC_ATEXIT_MAX): Likewise.
3641         [POSIX] (_SC_BARRIERS): Likewise.
3642         [POSIX] (_SC_BASE): Likewise.
3643         [POSIX] (_SC_CLOCK_SELECTION): Likewise.
3644         [POSIX] (_SC_DEVICE_IO): Likewise.
3645         [POSIX] (_SC_DEVICE_SPECIFIC): Likewise.
3646         [POSIX] (_SC_DEVICE_SPECIFIC_R): Likewise.
3647         [POSIX] (_SC_FD_MGMT): Likewise.
3648         [POSIX] (_SC_FIFO): Likewise.
3649         [POSIX] (_SC_FILE_ATTRIBUTES): Likewise.
3650         [POSIX] (_SC_FILE_LOCKING): Likewise.
3651         [POSIX] (_SC_FILE_SYSTEM): Likewise.
3652         [POSIX] (_SC_IOV_MAX): Likewise.
3653         [POSIX] (_SC_MONOTONIC_CLOCK): Likewise.
3654         [POSIX] (_SC_NETWORKING): Likewise.
3655         [POSIX] (_SC_PAGE_SIZE): Likewise.
3656         [POSIX] (_SC_PASS_MAX): Likewise.
3657         [POSIX] (_SC_PIPE): Likewise.
3658         [POSIX] (_SC_READER_WRITER_LOCKS): Likewise.
3659         [POSIX] (_SC_REGEXP): Likewise.
3660         [POSIX] (_SC_SHELL): Likewise.
3661         [POSIX] (_SC_SIGNALS): Likewise.
3662         [POSIX] (_SC_SINGLE_PROCESS): Likewise.
3663         [POSIX] (_SC_SPIN_LOCKS): Likewise.
3664         [POSIX] (_SC_TYPED_MEMORY_OBJECTS): Likewise.
3665         [POSIX] (_SC_USER_GROUPS): Likewise.
3666         [POSIX] (_SC_USER_GROUPS_R): Likewise.
3667         [POSIX] (_SC_STREAMS): Likewise.
3668         [POSIX] (_SC_XBS5_ILP32_OFF32): Likewise.
3669         [POSIX] (_SC_XBS5_ILP32_OFFBIG): Likewise.
3670         [POSIX] (_SC_XBS5_LP64_OFF64): Likewise.
3671         [POSIX] (_SC_XBS5_LPBIG_OFFBIG): Likewise.
3672         [POSIX] (_SC_THREAD_ROBUST_PRIO_INHERIT): Likewise.
3673         [POSIX] (_SC_THREAD_ROBUST_PRIO_PROTECT): Likewise.
3674         [POSIX] (_PC_FILESIZEBITS): Likewise.
3675         [POSIX] (_PC_REC_INCR_XFER_SIZE): Likewise.
3676         [POSIX] (_PC_REC_MAX_XFER_SIZE): Likewise.
3677         [POSIX] (_PC_REC_MIN_XFER_SIZE): Likewise.
3678         [POSIX] (_PC_REC_XFER_ALIGN): Likewise.
3679         [POSIX] (uid_t): Likewise.
3680         [POSIX] (gid_t): Likewise.
3681         [POSIX] (off_t): Likewise.
3682         [POSIX] (pid_t): Likewise.
3683         [POSIX] (cuserid): Allow.
3684         (_SC_2_CHAR_TERM): Require constant.
3685         (_POSIX_ASYNCHRONOUS_IO): Remove duplicate optional-constant.
3686         * conform/Makefile (test-xfail-POSIX/unistd.h/conform): New
3687         variable.
3689 2015-05-20  Roland McGrath  <roland@hack.frob.com>
3691         * sysdeps/nacl/pthread-pids.h: New file.
3692         * sysdeps/nacl/createthread.c: Include <pthread-pids.h>.
3693         (create_thread): Use __nacl_get_tid to initialize PD->tid.
3695         * nptl/pthread-pids.h: New file.
3696         * sysdeps/unix/sysv/linux/pthread-pids.h: New file.
3697         * nptl/nptl-init.c: Include <pthread-pids.h>.
3698         (__pthread_initialize_minimal_internal):
3699         Call __pthread_initialize_pids instead of set_tid_address syscall.
3701         * sysdeps/unix/sysv/linux/usleep.c: Moved to ...
3702         * sysdeps/posix/usleep.c: ... here.
3704 2015-05-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3706         * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = misc)]: Remove
3707         call_pselect6 object.
3708         [$(subdir) = io]: Remove call_sync_file_range object.
3709         * sysdeps/unix/sysv/linux/i386/call_pselect6.S: Remove file.
3710         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Remove file.
3711         * sysdeps/unix/sysv/linux/i386/pselect.c: Remove file.
3712         * sysdeps/unix/sysv/linux/i386/sync_file_range.c: Remove file.
3714 2015-05-20  Wilco Dijkstra  <wdijkstr@arm.com>
3716         * math/s_cproj.c: Add include "math_private.h".
3717         * math/s_cprojf.c: Likewise.
3718         * math/s_cprojl.c: Likewise.
3720 2015-05-19  Joseph Myers  <joseph@codesourcery.com>
3722         [BZ #18244]
3723         * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Ignore explicit
3724         high mantissa bit when testing whether P is a NaN.
3725         * math/libm-test.inc (remainder_test_data): Add more tests.
3726         (remquo_test_data): Likewise.
3728         [BZ #18049]
3729         * sysdeps/i386/fpu/e_atanhl.S (__ieee754_atanhl): For exponents
3730         below -32, return the argument, with underflow if subnormal.
3731         * math/auto-libm-test-in: Add more tests of atanh.
3732         * math/auto-libm-test-out: Regenerated.
3734 2015-05-19  Roland McGrath  <roland@hack.frob.com>
3736         [BZ #18434]
3737         * nptl/tst-sem15.c: New file.
3738         * nptl/Makefile (tests): Add it.
3739         * nptl/sem_post.c (__new_sem_post) [!__HAVE_64B_ATOMICS]:
3740         s/<</>>/ to fix typo in EOVERFLOW check.
3741         * sysdeps/sparc/sparc32/sem_post.c (__new_sem_post): Likewise.
3743 2015-05-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
3745         * manual/strings.texi (envz_remove): Fix typo in safety
3746         annotations.
3748 2015-05-19  Paul Eggert  <eggert@cs.ucla.edu>
3749             Steve Ellcey  <sellcey@imgtec.com>
3751         * inet/rcmd.c (rresvport_af): Change ss to anonymous union
3752         in order to avoid strict alias warnings.
3753         (iruserok_af): Ditto for ra.
3755 2015-05-19  James Lemke  <jwlemke@codesourcery.com>
3757         [BZ #17581]
3758         * malloc/hooks.c
3759         (magicbyte): Convert to a function and avoid returning 0x01.
3760         (mem2mem_check): Avoid using a length byte equal to the magic byte.
3761         (mem2chunk_check): Fix unsigned comparisons to zero.
3762         Hoist defs of sz and magic.
3764 2015-05-19  Richard Henderson  <rth@redhat.com>
3766         * soft-fp/op-common.h (_FP_FROM_INT): Don't write to R.
3768         * sysdeps/alpha/fpu/libm-test-ulps: Update.
3770 2015-05-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
3772         [BZ #16159]
3773         * malloc/Makefile (tests): New test case tst-malloc-backtrace.
3774         * malloc/arena.c (arena_lock): Check if arena is corrupt.
3775         (reused_arena): Find a non-corrupt arena.
3776         (heap_trim): Pass arena to unlink.
3777         * malloc/hooks.c (malloc_check_get_size): Pass arena to
3778         malloc_printerr.
3779         (top_check): Likewise.
3780         (free_check): Likewise.
3781         (realloc_check): Likewise.
3782         * malloc/malloc.c (malloc_printerr): Add arena argument.
3783         (unlink): Likewise.
3784         (munmap_chunk): Adjust.
3785         (ARENA_CORRUPTION_BIT): New macro.
3786         (arena_is_corrupt): Likewise.
3787         (set_arena_corrupt): Likewise.
3788         (sysmalloc): Use mmap if there are no usable arenas.
3789         (_int_malloc): Likewise.
3790         (__libc_malloc): Don't fail if arena_get returns NULL.
3791         (_mid_memalign): Likewise.
3792         (__libc_calloc): Likewise.
3793         (__libc_realloc): Adjust for additional argument to
3794         malloc_printerr.
3795         (_int_free): Likewise.
3796         (malloc_consolidate): Likewise.
3797         (_int_realloc): Likewise.
3798         (_int_memalign): Don't touch corrupt arenas.
3799         * malloc/tst-malloc-backtrace.c: New test case.
3801         * Makefile (summarize-tests): Fix return value on success.
3803         * manual/string.texi (Envz Functions): Add envz_remove.
3805 2015-05-18  Roland McGrath  <roland@hack.frob.com>
3807         * sysdeps/posix/opendir.c: Include <stdbool.h>.
3808         (invalid_name): New function, broken out of ...
3809         (__opendirat): ... here.  Call it.
3810         (need_isdir_precheck): New function, broken out of ...
3811         (__opendirat): ... here.  Call it.
3812         Use __fxstatat64, not __xstatat64.
3813         (opendir_oflags): New function, broken out of ...
3814         (__opendirat): ... here.  Call it.
3815         (opendir_tail): New function, broken out of ...
3816         (__opendirat): ... here.  Call it.
3817         (__opendir): Call invalid_name, need_isdir_precheck, __xstat64, and
3818         opendir_tail, rather than punting to __opendirat.
3819         (__opendirat): Conditionalize function definition on [IS_IN (libc)].
3821 2015-05-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
3823         * .gitignore: Ignore generated *.pyc.
3825 2015-05-18  Arjun Shankar  <arjun.is@lostca.se>
3827         * include/stdio.h: Define __need_wint_t.
3828         * test-skeleton.c: Avoid `for' loop initial declaration.
3829         * nptl/tst-initializers1.c: Use test-skeleton.c.
3831 2015-05-17  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3833         [BZ #18418]
3834         * stdlib/tst-setcontext3.sh: Remove non-portable array use.
3836 2015-05-15  Joseph Myers  <joseph@codesourcery.com>
3838         [BZ #16352]
3839         * sysdeps/i386/fpu/e_atanh.S (dbl_min): New object.
3840         (__ieee754_atanh): Force underflow exception for results with
3841         small absolute value.
3842         * sysdeps/i386/fpu/e_atanhf.S (flt_min): New object.
3843         (__ieee754_atanhf): Force underflow exception for results with
3844         small absolute value.
3845         * sysdeps/ieee754/dbl-64/e_atanh.c: Include <float.h>.
3846         (__ieee754_atanh): Force underflow exception for results with
3847         small absolute value.
3848         * sysdeps/ieee754/flt-32/e_atanhf.c: Include <float.h>.
3849         (__ieee754_atanhf): Force underflow exception for results with
3850         small absolute value.
3851         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Include <float.h>.
3852         (__ieee754_atanhl): Force underflow exception for results with
3853         small absolute value.
3854         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Include <float.h>.
3855         (__ieee754_atanhl): Force underflow exception for results with
3856         small absolute value.
3857         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Include <float.h>.
3858         (__ieee754_atanhl): Force underflow exception for results with
3859         small absolute value.
3860         * math/auto-libm-test-in: Do not allow missing underflow
3861         exceptions from atanh.
3862         * math/auto-libm-test-out: Regenerated.
3864         [BZ #18221]
3865         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use 2**-13 not
3866         2**-28 as threshold for returning x or +/- 1/x.
3867         * math/auto-libm-test-in: Add more tests of tan.
3868         * math/auto-libm-test-out: Regenerated.
3870         [BZ #18220]
3871         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
3872         2**26 not 2**58 as threshold for returning x * (log (x) - 1).
3873         * math/auto-libm-test-in: Add another test of lgamma.
3874         * math/auto-libm-test-out: Regenerated.
3876 2015-05-15  Wilco Dijkstra  <wdijkstr@arm.com>
3878         * stdio-common/printf_fp.c (___printf_fp): Use abs.
3879         * stdlib/gmp-impl.h (ABS): Remove define.  (ABSIZ): Remove.
3880         * sysdeps/ieee754/dbl-64/branred.c (__branred): Use fabs.
3881         * sysdeps/ieee754/dbl-64/dla.h (EADD): Use fabs.
3882         (ESUB): Use fabs.  (ADD2): Use fabs.  (SUB2): Use fabs.
3883         (ADD2A): Use fabs.  (SUB2A): Use fabs.
3884         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Use fabs.
3885         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Use fabs.
3886         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use fabs.
3887         (log1): Use fabs.  (my_log2): Use fabs.
3888         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): Use fabs.
3889         * sysdeps/ieee754/dbl-64/mpa.h (ABS): Remove define.
3890         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use fabs.
3891         * sysdeps/ieee754/dbl-64/mydefs.h (ABS): Remove define.
3892         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use fabs.
3893         (__cos): Use fabs.  (slow): Use fabs.  (slow2): Use fabs.
3894         (sloww): Use fabs.  (sloww1): Use fabs.  (sloww2): Use fabs.
3895         (bslow1): Use fabs.  (bslow2): Use fabs.  (cslow2): Use fabs.
3896         (csloww): Use fabs.  (csloww1): Use fabs.  (csloww2): Use fabs.
3897         * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Use fabs.
3898         * sysdeps/x86_64/fpu/multiarch/e_log.c: add math.h include.
3900 2015-05-15  Joseph Myers  <joseph@codesourcery.com>
3902         [BZ #18217]
3903         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Use 2**-26 not 2**-56
3904         as threshold for returning 1 - x.
3905         * math/auto-libm-test-in: Add more tests of erfc.
3906         * math/auto-libm-test-out: Regenerated.
3908 2015-05-14  Joseph Myers  <joseph@codesourcery.com>
3910         [BZ #18196]
3911         * sysdeps/ieee754/flt-32/s_atanf.c (__atanf): Use 2^25 not 2^34 as
3912         threshold for large arguments.
3913         * math/auto-libm-test-in: Add another test of atan.
3914         * math/auto-libm-test-out: Regenerated.
3916         [BZ #16339]
3917         * sysdeps/i386/fpu/s_log1p.S (dbl_min): New object.
3918         (__log1p): Force underflow exception for results with small
3919         absolute value.
3920         * sysdeps/i386/fpu/s_log1pf.S (flt_min): New object.
3921         (__log1pf): Force underflow exception for results with small
3922         absolute value.
3923         * sysdeps/ieee754/dbl-64/s_log1p.c: Include <float.h>.
3924         (__log1p): Force underflow exception for results with small
3925         absolute value.
3926         * sysdeps/ieee754/flt-32/s_log1pf.c: Include <float.h>.
3927         (__log1pf): Force underflow exception for results with small
3928         absolute value.
3929         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Include <float.h>.
3930         (__log1pl): Force underflow exception for results with small
3931         absolute value.
3932         * math/auto-libm-test-in: Do not allow missing underflow
3933         exceptions from log1p.
3934         * math/auto-libm-test-out: Regenerated.
3936 2015-05-14  Jakub Bogusz  <qboosh@pld-linux.org>
3937             Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3939         [BZ #16704]
3940         * sysdeps/unix/make-syscalls.sh: Remove non-portable echo usage.
3942 2015-05-14  Andrew Senkevich  <andrew.senkevich@intel.com>
3944         * Makeconfig (rpath-dirs, all-subdirs): Added mathvec folder.
3945         (libmvec): New variable.
3946         * configure.ac: Added option for mathvec build.
3947         * configure: Regenerated.
3948         * mathvec/Depend: New file.
3949         * mathvec/Makefile: New file.
3950         * shlib-versions: Added libmvec.
3951         * math/Makefile: Added rule for libm.so installation.
3953         * bits/math-vector.h: New file.
3954         * bits/libm-simd-decl-stubs.h: New header.
3955         * math/Makefile (headers): Added new header
3956         libm-simd-decl-stubs.h.
3957         * math/math.h (__MATHCALL_VEC): New macro.
3959         * math/gen-libm-have-vector-test.sh: Script generates series of macros
3960         for conditions in testing functions.
3961         * math/Makefile: Added call of libm-have-vector-test.sh.
3962         * math/libm-test.inc (HAVE_VECTOR): New macros.
3964         * math/libm-test.inc: START refactored.
3965         * math/test-double.c (TEST_MATHVEC): Add define.
3966         * math/test-float.c: Likewise.
3967         * math/test-idouble.c: Likewise.
3968         * math/test-ifloat.c: Likewise.
3969         * math/test-ildoubl.c: Likewise.
3970         * math/test-ldouble.c: Likewise.
3971         * sysdeps/generic/math-tests-arch.h
3972         (INIT_ARCH_EXT, CHECK_ARCH_EXT): New helper macros for runtime
3973         architecture check.
3975         * math/test-double.c (FUNC_TEST): New macro.
3976         * math/test-float.c: Likewise.
3977         * math/test-idouble.c: Likewise.
3978         * math/test-ifloat.c: Likewise.
3979         * math/test-ildoubl.c: Likewise.
3980         * math/test-ldouble.c: Likewise.
3981         * math/libm-test.inc: Use FUNC_TEST for name of tested functions.
3983 2015-05-13  Roland McGrath  <roland@hack.frob.com>
3985         * sysdeps/nacl/fdopendir.c: New file.
3987         * dirent/scandir-tail.c: New file.
3988         * dirent/scandir64-tail.c: New file.
3989         * dirent/Makefile (routines): Add them.
3990         (CFLAGS-scandir-tail.c, CFLAGS-scandir64-tail.c): New variables.
3991         * include/dirent.h (__scandir_tail, __scandir64_tail): Declare them.
3992         * dirent/scandir.c [!SCANDIR] (SCANDIRAT): Macro removed.
3993         [!SCANDIR] (SCANDIR_TAIL): New macro.
3994         (SCANDIR): Call __opendir and __scandir_tail, not __scandirat.
3995         * dirent/scandir64.c [!_DIRENT_MATCHES_DIRENT64]
3996         (SCANDIRAT): Macro removed.
3997         (SCANDIR_TAIL): New macro.
3998         * dirent/scandirat.c [!SCANDIRAT] (READDIR): Macro removed.
3999         [!SCANDIRAT] (SCANDIR_TAIL): New macro.
4000         (SCANDIRAT): Just call __opendirat and __scandir_tail.
4001         * dirent/scandirat64.c [!_DIRENT_MATCHES_DIRENT64]
4002         (READDIR): Macro removed.
4003         (SCANDIR_TAIL): New macro.
4004         * sysdeps/unix/sysv/linux/i386/scandir64.c (READDIR): Macro removed.
4005         (SCANDIR_TAIL): New macro.
4007         * dirent/scandirat.c (__scandir_cancel_handler): Function moved ...
4008         * dirent/scandir-cancel.c: ... to this new file.
4009         * dirent/Makefile (routines): Add it.
4010         * dirent/scandirat64.c (SKIP_SCANDIR_CANCEL): Macro removed.
4011         * sysdeps/unix/sysv/linux/i386/scandir64.c
4012         (SKIP_SCANDIR_CANCEL): Macro removed.
4013         * include/dirent.h (__scandir_cancel_handler): Add attribute_hidden.
4015         * dirent/tst-scandir.c: New file.
4016         * dirent/tst-scandir64.c: New file.
4017         * dirent/Makefile (tests): Add them.
4019 2015-05-13  H.J. Lu  <hongjiu.lu@intel.com>
4021         [BZ #18409]
4022         * sysdeps/unix/make-syscalls.sh: Remove a trailing `\'.
4024 2015-05-13  Szabolcs Nagy  <szabolcs.nagy@arm.com>
4026         * sysdeps/aarch64/tls-macros.h (TLS_GD): Add "cc" to the clobber
4027         list.
4029 2015-05-13  Leonhard Holz  <leonhard.holz@web.de>
4031         * benchtests/bench-strcoll.c: New benchmark.
4032         * benchtests/Makefile: Generate locales and run benchmark.
4033         * benchtests/strcoll-inputs/filelist#C: New benchmark input file.
4034         * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Likewise.
4035         * benchtests/strcoll-inputs/lorem_ipsum#ar_SA.UTF-8: Likewise.
4036         * benchtests/strcoll-inputs/lorem_ipsum#cs_CZ.UTF-8: Likewise.
4037         * benchtests/strcoll-inputs/lorem_ipsum#da_DK.UTF-8: Likewise.
4038         * benchtests/strcoll-inputs/lorem_ipsum#el_GR.UTF-8: Likewise.
4039         * benchtests/strcoll-inputs/lorem_ipsum#en_GB.UTF-8: Likewise.
4040         * benchtests/strcoll-inputs/lorem_ipsum#en_US.UTF-8: Likewise.
4041         * benchtests/strcoll-inputs/lorem_ipsum#es_ES.UTF-8: Likewise.
4042         * benchtests/strcoll-inputs/lorem_ipsum#fr_FR.UTF-8: Likewise.
4043         * benchtests/strcoll-inputs/lorem_ipsum#hi_IN.UTF-8: Likewise.
4044         * benchtests/strcoll-inputs/lorem_ipsum#hu_HU.UTF-8: Likewise.
4045         * benchtests/strcoll-inputs/lorem_ipsum#is_IS.UTF-8: Likewise.
4046         * benchtests/strcoll-inputs/lorem_ipsum#it_IT.UTF-8: Likewise.
4047         * benchtests/strcoll-inputs/lorem_ipsum#iw_IL.UTF-8: Likewise.
4048         * benchtests/strcoll-inputs/lorem_ipsum#ja_JP.UTF-8: Likewise.
4049         * benchtests/strcoll-inputs/lorem_ipsum#pl_PL.UTF-8: Likewise.
4050         * benchtests/strcoll-inputs/lorem_ipsum#pt_PT.UTF-8: Likewise.
4051         * benchtests/strcoll-inputs/lorem_ipsum#ru_RU.UTF-8: Likewise.
4052         * benchtests/strcoll-inputs/lorem_ipsum#sr_RS.UTF-8: Likewise.
4053         * benchtests/strcoll-inputs/lorem_ipsum#sv_SE.UTF-8: Likewise.
4054         * benchtests/strcoll-inputs/lorem_ipsum#tr_TR.UTF-8: Likewise.
4055         * benchtests/strcoll-inputs/lorem_ipsum#vi_VN.UTF-8: Likewise.
4056         * benchtests/strcoll-inputs/lorem_ipsum#zh_CN.UTF-8: Likewise.
4058 2015-05-12  Ondřej Bílka  <neleai@seznam.cz>
4060         * sysdeps/x86_64/multiarch/strcspn.S: Remove plt indirection.
4061         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
4063 2015-05-12  Roland McGrath  <roland@hack.frob.com>
4065         * posix/uname-values.h: New file.
4066         * posix/uname.c: Include that instead of <config-name.h>.
4067         * sysdeps/nacl/uname-values.h: New file.
4068         * sysdeps/arm/nacl/uname-values.h: New file.
4070 2015-05-12  Joseph Myers  <joseph@codesourcery.com>
4072         * conform/linknamespace.pl (list_syms): Remove \[.*?\] before
4073         splitting into fields.
4075 2015-05-12  Leonhard Holz  <leonhard.holz@web.de>
4077         * locale/categories.def: Define _NL_COLLATE_ENCODING_TYPE.
4078         * locale/langinfo.h: Add _NL_COLLATE_ENCODING_TYPE to attribute list.
4079         * locale/localeinfo.h: Add enum collation_encoding_type.
4080         * locale/C-collate.c: Set _NL_COLLATE_ENCODING_TYPE to 8bit.
4081         * programs/ld-collate.c (collate_output): Add encoding type info.
4082         * string/strcoll_l.c (STRDIFF): New function.
4083         * (STRCOLL): Use STRDIFF to skip over equal prefix.
4084         * wcsmbs/wcscoll_l.c: Define STRDIFF.
4086 2015-05-11  Joseph Myers  <joseph@codesourcery.com>
4088         [BZ #18397]
4089         * sysdeps/mips/mips32/fpu/fpu_control.c: Move to ....
4090         * sysdeps/mips/mips32/fpu/fpucw-helpers.c: ... here.  Include
4091         <fpu_control.h> instead of <math/fpu_control.c>.
4092         * sysdeps/mips/mips32/fpu/Makefile: New file.
4094 2015-05-11  Andreas Schwab  <schwab@suse.de>
4096         [BZ #18007]
4097         * nis/nss_compat/compat-grp.c (internal_endgrent): Don't call
4098         nss_endgrent.
4099         (_nss_compat_endgrent): Call nss_endgrent.
4100         * nis/nss_compat/compat-pwd.c (internal_endpwent): Don't call
4101         nss_endpwent.
4102         (_nss_compat_endpwent): Call nss_endpwent.
4103         * nis/nss_compat/compat-spwd.c (internal_setspent): Add parameter
4104         needent, call nss_setspent only if non-zero.
4105         (_nss_compat_setspent, _nss_compat_getspent_r): Pass non-zero.
4106         (internal_endspent): Don't call nss_endspent.
4107         (_nss_compat_endspent): Call nss_endspent.
4108         * nss/nss_files/files-XXX.c (position, last_use, keep_stream):
4109         Remove.  All uses removed.
4110         (internal_setent): Remove parameter stayopen, add parameter
4111         stream.  Use it instead of global variable.
4112         (CONCAT(_nss_files_set,ENTNAME)): Pass global stream.
4113         (internal_endent, internal_getent): Add parameter stream.  Use it
4114         instead of global variable.
4115         (CONCAT(_nss_files_end,ENTNAME))
4116         (CONCAT(_nss_files_get,ENTNAME_r)): Pass global stream.
4117         (_nss_files_get##name##_r): Pass local stream.  Remove locking.
4118         * nss/nss_files/files-alias.c (position, last_use): Remove.  All
4119         uses removed.
4120         (internal_setent, internal_endent): Add parameter stream.  Use it
4121         instead of global variable.
4122         (_nss_files_setaliasent, _nss_files_endaliasent): Pass global
4123         stream.
4124         (get_next_alias): Add parameter stream.
4125         (_nss_files_getaliasent_r): Pass global stream.
4126         (_nss_files_getaliasbyname_r): Pass local stream.  Remove locking.
4127         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r)
4128         (_nss_files_gethostbyname4_r): Pass local stream to
4129         internal_setent, internal_getent and internal_endent.  Remove
4130         locking.
4132 2015-05-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
4134         * tst-strfmon1.c (tests): Update expected currency symbol.
4136 2015-05-08  Roland McGrath  <roland@hack.frob.com>
4138         * sysdeps/nacl/gethostname.c: New file.
4140 2015-05-08  Joseph Myers  <joseph@codesourcery.com>
4142         * math/auto-libm-test-in: Add more tests of csqrt, lgamma, log10
4143         and sinh.
4144         * math/auto-libm-test-out: Regenerated.
4145         * sysdeps/i386/fpu/libm-test-ulps: Update.
4146         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4148 2015-05-08  Carlos O'Donell  <carlos@redhat.com>
4150         [BZ #18125]
4151         * stdlib/tst-setcontext3.c: New file.
4152         * stdlib/tst-setcontext3.sh: New file.
4153         * stdlib/Makefile (tests): Add tst-setcontext3.
4154         (tst-setcontext3.out): Custom rule to run tst-setcontext3.sh
4155         to verify test program created output file.
4156         * sysdeps/unix/sysv/linux/aarch64/setcontext.S: Call exit.
4157         * sysdeps/unix/sysv/linux/arm/setcontext.S: Likewise.
4158         * sysdeps/unix/sysv/linux/hppa/setcontext.S: Likewise.
4159         * sysdeps/unix/sysv/linux/nios2/setcontext.S: Likewise.
4161 2015-05-06  Roland McGrath  <roland@hack.frob.com>
4163         [BZ #18383]
4164         * elf/tst-tlsalign.c: New file.
4165         * elf/tst-tlsalign-static.c: New file.
4166         * elf/tst-tlsalign-lib.c: New file.
4167         * elf/Makefile [$(build-shared) = yes] (tests): Add tst-tlsalign.
4168         (tests-static): Add tst-tlsalign-static.
4169         (modules-names): Add tst-tlsalign-lib.
4170         (test-xfail-tst-tlsalign): New variable.
4171         (test-xfail-tst-tlsalign-static): New variable.
4173         * sysdeps/nacl/nacl-test-wrapper.sh (NACL_LOADER):
4174         Use elf_loader_${arch}.nexe rather than loader_${arch}.nexe.
4176 2015-05-06  Joseph Myers  <joseph@codesourcery.com>
4178         * math/auto-libm-test-in: Add more tests of acosh, atanh, cos,
4179         csqrt, erfc, sin and sincos.
4180         * math/auto-libm-test-out: Regenerated.
4181         * sysdeps/i386/fpu/libm-test-ulps: Update.
4182         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4184 2015-05-06  Szabolcs Nagy  <szabolcs.nagy@arm.com>
4186         * sysdeps/aarch64/libm-test-ulps: Update.
4188 2015-05-05  Joseph Myers  <joseph@codesourcery.com>
4190         * math/auto-libm-test-in: Add more tests of acosh, atanh, clog,
4191         clog10, csqrt, erfc, exp2, expm1, log10, log2 and sinh.
4192         * math/auto-libm-test-out: Regenerated.
4193         * sysdeps/i386/fpu/libm-test-ulps: Update.
4194         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4196 2015-04-30  Daniel Marjamäki  <daniel.marjamaki@evidente.se>
4198         [BZ #18265]
4199         * wcsmbs/wchar.h (wcscpy): Add __nonnull attribute.
4200         (wcsncpy): Likewise.
4202 2015-05-05  Florian Weimer  <fweimer@redhat.com>
4204         * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
4205         Assume __ASSUME_FALLOCATE is always true.
4206         * sysdeps/unix/sysv/linux/posix_fallocate64.c
4207         (__posix_fallocate64_l64): Likweise.
4208         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate.c
4209         (posix_fallocate): Likewise.
4210         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate64.c
4211         (__posix_fallocate64_l64): Likewise.
4212         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
4213         [!__ASSUME_FALLOCATE]: Add comment.
4215 2015-05-05  Florian Weimer  <fweimer@redhat.com>
4217         * sysdeps/unix/sysv/linux/i386/Makefile
4218         (sysdep_routines) [$(subdir) = misc]: Remove call_fallocate.
4219         (sysdep_routines) [$(subdir) = io]: Add libc-do-syscall.
4220         * sysdeps/unix/sysv/linux/i386/call_fallocate.S: Remove.
4221         * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
4222         * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
4223         * sysdeps/unix/sysv/linux/i386/posix_fallocate.c: Likewise.
4224         * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c: Likewise.
4226 2015-05-02  Joseph Myers  <joseph@codesourcery.com>
4228         * math/auto-libm-test-in: Add more tests of atan, clog, clog10,
4229         cos, csqrt, erf, erfc, exp2, lgamma, log1p, sin, sincos, tanh and
4230         tgamma.
4231         * math/auto-libm-test-out: Regenerated.
4232         * sysdeps/i386/fpu/libm-test-ulps: Update.
4233         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4235 2015-05-01  Joseph Myers  <joseph@codesourcery.com>
4237         * math/auto-libm-test-in: Add more tests of tgamma.
4238         * math/auto-libm-test-out: Regenerated.
4239         * sysdeps/i386/fpu/libm-test-ulps: Update.
4240         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4242         * math/auto-libm-test-in: Add more tests of tanh.
4243         * math/auto-libm-test-out: Regenerated.
4244         * sysdeps/i386/fpu/libm-test-ulps: Update.
4245         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4247         * math/auto-libm-test-in: Add more tests of tan.
4248         * math/auto-libm-test-out: Regenerated.
4249         * sysdeps/i386/fpu/libm-test-ulps: Update.
4250         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4252         * math/auto-libm-test-in: Add more tests of cos, sin and sincos.
4253         * math/auto-libm-test-out: Regenerated.
4254         * sysdeps/i386/fpu/libm-test-ulps: Update.
4255         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4257         * math/auto-libm-test-in: Add another test of pow.
4258         * math/auto-libm-test-out: Regenerated.
4259         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
4261         * math/auto-libm-test-in: Add more tests of lgamma.
4262         * math/auto-libm-test-out: Regenerated.
4263         * sysdeps/i386/fpu/libm-test-ulps: Update.
4264         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4266         * math/auto-libm-test-in: Add more tests of log, log10, log2 and
4267         log1p.
4268         * math/auto-libm-test-out: Regenerated.
4269         * sysdeps/i386/fpu/libm-test-ulps: Update.
4270         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4272 2015-05-01  Mark Wielaard  <mjw@redhat.com>
4274         * elf/elf.h: Add SHF_COMPRESSED section flag, Elf32_Chdr and
4275         Elf64_Chdr structs and ELFCOMPRESS constants.
4277 2015-05-01  Joseph Myers  <joseph@codesourcery.com>
4279         * math/auto-libm-test-in: Add more tests of exp, exp10, exp2 and
4280         expm1.
4281         * math/auto-libm-test-out: Regenerated.
4282         * sysdeps/i386/fpu/libm-test-ulps: Update.
4283         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4285         * math/auto-libm-test-in: Add more tests of erf and erfc.
4286         * math/auto-libm-test-out: Regenerated.
4287         * sysdeps/i386/fpu/libm-test-ulps: Update.
4288         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4290 2015-05-01  Szabolcs Nagy  <szabolcs.nagy@arm.com>
4292         * config.h.in (HAVE_AARCH64_BE): Add.
4294 2015-04-30  Joseph Myers  <joseph@codesourcery.com>
4296         * math/auto-libm-test-in: Add more tests of csqrt.
4297         * math/auto-libm-test-out: Regenerated.
4298         * sysdeps/i386/fpu/libm-test-ulps: Update.
4299         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4301         * math/auto-libm-test-in: Add more tests of cosh and sinh.
4302         * math/auto-libm-test-out: Regenerated.
4303         * sysdeps/i386/fpu/libm-test-ulps: Update.
4304         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4306         * sysdeps/unix/sysv/linux/mips/mips32/waitid.c: Remove file.
4308 2015-04-29  Roland McGrath  <roland@hack.frob.com>
4310         * sysdeps/nacl/bits/typesizes.h (__CLOCK_T_TYPE): Use __SLONGWORD_TYPE.
4311         * sysdeps/nacl/nacl-interfaces.h (nacl_abi_clock_t): Use clock_t.
4313         * sysdeps/nacl/euidaccess.c (euidaccess): Renamed to __euidaccess.
4314         (euidaccess, eaccess): Define as weak aliases.
4316         * sysdeps/nacl/bits/typesizes.h (__SUSECONDS_T_TYPE): Use
4317         __SLONGWORD_TYPE rather than __S32_TYPE.  They are the same size,
4318         but __suseconds_t is often 'long int' so some sources assume that
4319         type is being used (e.g. they use %ld to print tv_usec).
4321 2015-04-29  Florian Weimer  <fweimer@redhat.com>
4323         [BZ #18007]
4324         * nss/nss_files/files-XXX.c (CONCAT): Always enable stayopen.
4325         (CVE-2014-8121)
4326         * nss/tst-nss-getpwent.c: New file.
4327         * nss/Makefile (tests): Add new test.
4329 2015-04-28  Joseph Myers  <joseph@codesourcery.com>
4331         [BZ #18346]
4332         * sysdeps/ieee754/ldbl-128/s_roundl.c (__roundl): Handle all
4333         exponents less than 48 as cases where high part of mantissa needs
4334         examining to determine whether argument is integral.
4335         * math/libm-test.inc (round_test_data): Add more tests.
4337 2015-04-28  Mark Wielaard  <mjw@redhat.com>
4339         * elf/elf.h (SHF_EXCLUDE): Use unsigned 1 for shift.
4341 2015-04-27  David S. Miller  <davem@davemloft.net>
4343         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Remove
4344         __tls_get_addr.
4345         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
4347 2015-04-27  H.J. Lu  <hongjiu.lu@intel.com>
4349         [BZ#18333]
4350         * time/tzset.c (__tzfile_read): Check tzspec_len == 0.
4352 2015-04-27  Florian Weimer  <fweimer@redhat.com>
4354         [BZ#18333]
4355         * time/tzset.c (parse_tzname): Return error on memory allocation
4356         failure.
4357         * test-skeleton.c (struct temp_name_list): Change type of name
4358         member to non-const.
4359         (add_temp_file): Create a copy of the file name.
4360         (delete_temp_files): Deallocate memory.
4361         (create_temp_file): Add comment.
4363 2015-04-24  Florian Weimer  <fweimer@redhat.com>
4365         * io/posix_fallocate.c (posix_fallocate): Do not set errno.
4366         * io/posix_fallocate64.c (posix_fallocate64): Likewise.
4368 2015-04-24  Roland McGrath  <roland@hack.frob.com>
4370         * sysdeps/arm/configure.ac (PI_STATIC_AND_HIDDEN): Define it.
4371         * sysdeps/arm/configure: Regenerated.
4373 2015-04-24  Florian Weimer  <fweimer@redhat.com>
4375         [BZ #17715]
4376         * time/tzfile.c (__tzfile_read): Check for large values of
4377         tzh_ttisstdcnt and tzh_ttisgmtcnt.  Use malloc instead of alloca.
4378         * time/tzset.c (__tzstring_len): New function, based on the old
4379         __tzstring function.
4380         (__tzstring): Call __tzstring_len.
4381         (parse_tzname): New helper function extracted from
4382         __tzset_parse_tz.  Call __tzstring_len, without making a copy of
4383         the input string.
4384         (parse_offset): New helper function extracted from
4385         __tzset_parse_tz.  Replace switch with fallthrough with
4386         initialization before sscanf.
4387         (parse_rule): Likewise.
4388         (__tzset_parse_tz): Rewrite using the new helper functions.  Use
4389         new-style function definition.
4390         * timezone/Makefile (tests): Add tst-tzset.
4391         (tst-tzset.out): Dependencies on time zone files.
4392         (tst-tzset-ENV): Set TZDIR.
4393         (testdata/XT%): Copy crafted time zone files.
4394         * timezone/README: Mention crafted time zone files.
4395         * timezone/testdata/XT1, timezone/testdata/XT2,
4396         timezone/testdata/XT3, timezone/testdata/XT4: New time zone test
4397         files.
4398         * timezone/tst-tzset.c: New test.
4400 2015-04-24  Florian Weimer  <fweimer@redhat.com>
4402         * Makeconfig (+gccwarn): Remove -Winline.
4404 2015-04-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
4406         * sysdeps/s390/fpu/libm-test-upls: Regenerate.
4408 2015-04-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
4410         * NEWS: Mention sysconf() cache information support for s390.
4411         * sysdeps/unix/sysv/linux/s390/sysconf.c: New File.
4413 2015-04-22  Wilco Dijkstra  <wdijkstr@arm.com>
4415         * math/k_casinh.c (__kernel_casinh): Use __copysign.
4416         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c
4417         (__nearbyint): Likewise.
4418         * sysdeps/ieee754/ldbl-opt/nldbl-copysign.c
4419         (copysignl): Likewise.
4421 2015-04-21  Arjun Shankar  <arjun.is@lostca.se>
4423         [BZ #18287]
4424         * resolv/nss_dns/dns-host.c (getanswer_r): Adjust buffer length
4425         based on padding.  (CVE-2015-1781)
4427 2015-04-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4429         * nptl/pthread_cond_timedwait.c: Change include bits/libc-vdso.h to just
4430         libc-vdso.h.
4431         * sysdeps/powerpc/powerpc32/backtrace.c: Likewise.
4432         * sysdeps/powerpc/powerpc64/backtrace.c: Likewise.
4433         * sysdeps/unix/sysv/linux/aarch64/init-first.c: Likewise.
4434         * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
4435         * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
4436         * sysdeps/unix/sysv/linux/gettimeofday.c: Likewise.
4437         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Likewise.
4438         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
4439         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
4440         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Likewise.
4441         * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
4442         * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
4443         * sysdeps/unix/sysv/linux/tile/gettimeofday.c: Likewise.
4444         * sysdeps/unix/sysv/linux/tile/init-first.c: Likewise.
4445         * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
4446         * sysdeps/unix/sysv/linux/aarch64/bits/libc-vdso.h: Move to ...
4447         * sysdeps/unix/sysv/linux/aarch64/libc-vdso.h: ... here.
4448         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Move to ...
4449         * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h: ... here.
4450         * sysdeps/unix/sysv/linux/s390/bits/libc-vdso.h: Move to ...
4451         * sysdeps/unix/sysv/linux/s390/libc-vdso.h: ... here.
4452         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso.h: Move to ...
4453         * sysdeps/unix/sysv/linux/tile/libc-vdso.h: ... here.
4455 2015-04-19  Paul Eggert  <eggert@cs.ucla.edu>
4457         * stdlib/setenv.c (__add_to_environ):
4458         Dump core quickly if setenv (..., NULL, ...) is called.
4459         This time, do it the right way, and pacify GCC with a pragma.
4461 2015-04-17  Roland McGrath  <roland@hack.frob.com>
4463         * elf/dl-close.c (_dl_close_worker) [DL_NNS == 1]: Just assert that
4464         IMAP->l_prev cannot be null, and #if out the code for the contrary
4465         case, avoiding 'assert (nsid != LM_ID_BASE)' making the compiler
4466         believe that NS (&_dl_ns[NSID]) could point outside the array.
4468         * elf/dl-open.c (_dl_open): Use __glibc_unlikely in invalid namespace
4469         check.  Reject NSID < 0 and NSID >= dl_nns, and check for DL_NNS==1,
4470         before using NSID as an index.
4472 2015-04-17  Il'ya Malakhov <ilmalakhov@yandex.ru>
4474         [BZ #17825]
4475         * sysdeps/sparc/sparc64/memchr.S: Fix signedness handling of length.
4476         * sysdeps/sparc/sparc64/memcmp.S: Likewise.
4477         * sysdeps/sparc/sparc64/strncmp.S: Likewise.
4479 2015-04-17  Roland McGrath  <roland@hack.frob.com>
4481         Add preliminary port to Google Native Client on ARM.
4482         * abi-tags (.*-.*-nacl.*): New entry.
4483         * sysdeps/arm/nacl: New directory.
4484         * sysdeps/nacl: New directory.
4486 2015-04-16  David S. Miller  <davem@davemloft.net>
4488         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Make use of
4489         lowlevellock-futex.h
4491 2015-04-16  Chris Metcalf  <cmetcalf@ezchip.com>
4493         * sysdeps/tile/configure.ac: New file.
4494         * sysdeps/tile/configure: Regenerated.
4496 2015-04-15  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4498         * wcsmbs/wcschr.c [WCSCHR] (wcschr): Define as __wcschr.  Remove
4499         conditionals for weak_alias and libc_hidden_weak.
4500         * sysdeps/i386/i686/multiarch/wcschr-c.c [libc]: Undefine
4501         libc_hidden_weak and weak_alias.
4502         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c [libc]:
4503         Undefine libc_hidden_weak. Define libc_hidden_def for SHARED builds
4504         and weak_alias for static one.
4506 2015-04-15  David S. Miller  <davem@davemloft.net>
4508         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
4510 2015-04-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
4512         [BZ #18206]
4513         * wcsmbs/wcsncmp.c (wcsncmp): Compare as wchar_t, not wint_t.
4514           Use signed comparision instead of substraction to avoid
4515           overflow bug.
4516         * localedata/tests-mbwc/tst_wcsncmp.c (tst_wcsncmp):
4517           Take the sign of ret.
4518         * localedata/tests-mbwc/dat_wcsncmp.c (tst_wcsncmp_loc):
4519           Do not expect precise return values. Only the sign matters.
4520         * wcsmbs/Makefile (strop-tests): Add wcsncmp.
4521         * wcsmbs/test-wcsncmp.c: New File.
4522         * string/test-strncmp.c: Add wcsncmp support.
4524 2015-04-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
4526         [BZ #6792]
4527         * math/w_log1p.c: New file.
4528         * math/w_log1pf.c: Likewise.
4529         * math/w_log1pl.c: Likewise.
4530         * math/Makefile (libm-calls): Add w_log1p.
4531         * math/s_log1pl.c (log1pl): Remove weak_alias.
4532         * sysdeps/i386/fpu/s_log1p.S (log1p): Likewise.
4533         * sysdeps/i386/fpu/s_log1pf.S (log1pf): Likewise.
4534         * sysdeps/i386/fpu/s_log1pl.S (log1pl): Likewise.
4535         * sysdeps/x86_64/fpu/s_log1pl.S (log1pl): Likewise.
4536         * sysdeps/ieee754/dbl-64/s_log1p.c (log1p): Likewise.
4537         [NO_LONG_DOUBLE] (log1pl): Likewise.
4538         * sysdeps/ieee754/flt-32/s_log1pf.c (log1pf): Likewise.
4539         * sysdeps/ieee754/ldbl-128/s_log1pl.c (log1pl): Likewise.
4540         * sysdeps/ieee754/ldbl-64-128/s_log1pl.c
4541         (log1p): Remove long_double_symbol.
4542         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (log1pl): Likewise.
4543         * sysdeps/ieee754/ldbl-64-128/w_log1pl.c: New file.
4544         * sysdeps/ieee754/ldbl-128ibm/w_log1pl.c: Likewise.
4545         * sysdeps/m68k/m680x0/fpu/s_log1p.c: Define empty weak_alias to
4546         remove weak_alias for corresponding log1p function.
4547         * sysdeps/m68k/m680x0/fpu/s_log1pf.c: Likewise.
4548         * sysdeps/m68k/m680x0/fpu/s_log1pl.c: Likewise.
4549         * sysdeps/ia64/fpu/w_log1p.c: New file.
4550         * sysdeps/ia64/fpu/w_log1pf.c: Likewise.
4551         * sysdeps/ia64/fpu/w_log1pl.c: Likewise.
4552         * math/libm-test.inc (log1p_test_data): Add errno expectations.
4554 2015-04-10  Joseph Myers  <joseph@codesourcery.com>
4556         [BZ #18247]
4557         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Decrease minimum
4558         decimal exponent by 1.
4559         * stdlib/tst-strtod-round-data: Add more tests.
4560         * stdlib/tst-strtod-round.c (tests): Regenerated.
4562 2015-04-09  Joseph Myers  <joseph@codesourcery.com>
4564         * math/auto-libm-test-in: Add more tests of clog and clog10.
4565         * math/auto-libm-test-out: Regenerated.
4566         * sysdeps/i386/fpu/libm-test-ulps: Update.
4567         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4569 2015-04-09  Roland McGrath  <roland@hack.frob.com>
4571         * Makeconfig (module-cppflags): Exclude all .v.i files.
4572         (skip-module-cppflags): Variable removed.
4574         * configure.ac (libc_config_ok): Initialize before reading
4575         preconfigure scripts, not after.
4576         * configure: Regenerated.
4578         * test-skeleton.c (TIMEOUT): Move #define to top level.
4579         (main): Grok environment variable TEST_DIRECT.  If set, print
4580         test expectation details into that file and then behave as if
4581         given --direct.
4583 2015-04-09  Florian Weimer  <fweimer@redhat.com>
4585         * malloc/tst-scratch_buffer.c (do_test): Suppress truncation
4586         warning on 32-bit.
4588 2015-04-08  David S. Miller  <davem@davemloft.net>
4590         * sysdeps/sparc/fpu/libm-test-ulps: Update.
4592 2015-04-08  Joseph Myers  <joseph@codesourcery.com>
4594         * math/auto-libm-test-in: Add more tests of atanh.
4595         * math/auto-libm-test-out: Regenerated.
4596         * sysdeps/i386/fpu/libm-test-ulps: Update.
4597         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4599         * math/auto-libm-test-in: Add more tests of atan.
4600         * math/auto-libm-test-out: Regenerated.
4601         * sysdeps/i386/fpu/libm-test-ulps: Update.
4602         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4604 2015-04-08  Florian Weimer  <fweimer@redhat.com>
4606         * elf/pldd.c (main): Rewrite to use struct
4607         scratch_buffer instead of extend_alloca.
4608         * elf/pldd-xx.c (find_maps): Likewise.
4609         * grp/initgroups.c: Include <scratch_buffer.h> instead of
4610         <alloca.h>.
4611         * grp/compat-initgroups.c (compat_call): Rewrite to use struct
4612         scratch_buffer instead of extend_alloca.
4613         * nscd/initgrcache.c: Include <scratch_buffer.h>, now needed by
4614         grp/compat-initgroups.c.
4615         * nis/nss_compat/compat-initgroups.c (_nss_compat_initgroups_dyn):
4616         Rewrite to use struct scratch_buffer instead of extend_alloca.
4617         * inet/getnameinfo.c (nrl_domainname, getnameinfo): Likewise.
4618         * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
4620 2015-04-08  Joseph Myers  <joseph@codesourcery.com>
4622         * math/auto-libm-test-in: Add more tests of cbrt.
4623         * math/auto-libm-test-out: Regenerated.
4624         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
4626         * math/auto-libm-test-in: Add more tests of cabs.
4627         * math/auto-libm-test-out: Regenerated.
4628         * sysdeps/i386/fpu/libm-test-ulps: Update.
4629         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4631         [BZ #18210]
4632         [BZ #18211]
4633         * sysdeps/ieee754/dbl-64/e_atan2.c: Include <fenv.h>.
4634         (__ieee754_atan2): Set FE_TONEAREST mode for internal
4635         computations.
4636         * math/auto-libm-test-in: Add more tests of atan2, carg, clog and
4637         clog10.
4638         * math/auto-libm-test-out: Regenerated.
4639         * sysdeps/i386/fpu/libm-test-ulps: Update.
4640         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4642         [BZ #18197]
4643         * sysdeps/ieee754/dbl-64/s_atan.c: Include <fenv.h>.
4644         (atan): Set FE_TONEAREST mode for internal computations.
4645         * math/auto-libm-test-in: Add more tests of atan.
4646         * math/auto-libm-test-out: Regenerated.
4648 2015-04-07  James Cowgill  <james410@cowgill.org.uk>
4650         [BZ #17930]
4651         * sysdeps/unix/sysv/linux/mips/bits/shm.h (SHM_NORESERVE): Define.
4653 2015-04-07  Florian Weimer  <fweimer@redhat.com>
4655         * malloc/scratch_buffer_grow_preserve.c: Include <string.h>
4657 2015-04-07  Florian Weimer  <fweimer@redhat.com>
4659         * include/scratch_buffer.h: New file.
4660         * malloc/scratch_buffer_grow.c: Likewise.
4661         * malloc/scratch_buffer_grow_preserve.c: Likewise.
4662         * malloc/scratch_buffer_set_array_size.c: Likewise.
4663         * malloc/tst-scratch_buffer.c: Likewise.
4664         * malloc/Makefile (routines): Add scratch_buffer_grow.
4665         (tests): Add test case.
4666         * malloc/Versions (GLIBC_PRIVATE): Export
4667         __libc_scratch_buffer_grow, __libc_scratch_buffer_grow_preserve,
4668         __libc_scratch_buffer_set_array_size.
4670 2015-04-06  Richard Henderson  <rth@redhat.com>
4672         * sysdeps/unix/alpha/sysdep.h: Unconditionally include dl-sysdep.h.
4673         * sysdeps/alpha/fpu/libm-test-ulps: Update.
4675         * math/test-fenvinline.c (feenable_test): Cast fe_exc to
4676         unsigned int before printing.
4678 2015-04-03  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
4680         [BZ #17596]
4681         * wcsmbs/mbrtowc.c (__mbrtowc): Add check for n=0.
4682         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
4684 2015-04-02  Florian Weimer  <fweimer@redhat.com>
4686         * include/libc-internal.h (libc_max_align_t): Define.
4688 2015-04-02  Andreas Schwab  <schwab@suse.de>
4690         [BZ #16850]
4691         * sysdeps/unix/sysv/linux/aarch64/bits/sigstack.h: New file.
4693 2015-04-02  Mel Gorman  <mgorman@suse.de>
4695         [BZ #17195]
4696         * malloc/arena.c (free): Apply trim threshold to per-thread heaps
4697         as well as the main arena.
4699 2015-03-31  H.J. Lu  <hongjiu.lu@intel.com>
4701         [BZ #18185]
4702         * sysdeps/x86_64/cacheinfo.c (init_cacheinfo): Limit threads
4703         sharing L2 cache to 2 for Silvermont/Knights Landing.
4705 2015-03-31  H.J. Lu  <hongjiu.lu@intel.com>
4707         [BZ #17711]
4708         * config.make.in (have-protected-data): New.
4709         * configure.ac: Check linker support for protected data symbol.
4710         * configure: Regenerated.
4711         * elf/Makefile (modules-names): Add tst-protected1moda and
4712         tst-protected1modb if $(have-protected-data) is yes.
4713         (tests): Add tst-protected1a and tst-protected1b if
4714         $(have-protected-data) is yes.
4715         ($(objpfx)tst-protected1a): New.
4716         ($(objpfx)tst-protected1b): Likewise.
4717         (tst-protected1modb.so-no-z-defs): Likewise.
4718         * elf/tst-protected1a.c: New file.
4719         * elf/tst-protected1b.c: Likewise.
4720         * elf/tst-protected1mod.h: Likewise.
4721         * elf/tst-protected1moda.c: Likewise.
4722         * elf/tst-protected1modb.c: Likewise.
4724 2015-03-31  H.J. Lu  <hongjiu.lu@intel.com>
4726         [BZ #17711]
4727         * elf/dl-lookup.c (do_lookup_x): When UNDEF_MAP is NULL, which
4728         indicates it is called from do_lookup_x on relocation against
4729         protected data, skip the data definion in the executable from
4730         copy reloc.
4731         (_dl_lookup_symbol_x): Pass ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA,
4732         instead of ELF_RTYPE_CLASS_PLT, to do_lookup_x for
4733         EXTERN_PROTECTED_DATA relocation against STT_OBJECT symbol.
4734         * sysdeps/generic/ldsodefs.h * (ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA):
4735         New.  Defined to 4 if DL_EXTERN_PROTECTED_DATA is defined,
4736         otherwise to 0.
4737         * sysdeps/i386/dl-lookupcfg.h (DL_EXTERN_PROTECTED_DATA): New.
4738         * sysdeps/i386/dl-machine.h (elf_machine_type_class): Set class
4739         to ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA for R_386_GLOB_DAT.
4740         * sysdeps/x86_64/dl-lookupcfg.h (DL_EXTERN_PROTECTED_DATA): New.
4741         * sysdeps/x86_64/dl-machine.h (elf_machine_type_class): Set class
4742         to ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA for R_X86_64_GLOB_DAT.
4744 2015-03-28  Martin Galvan  <martin.galvan@tallertechnologies.com>
4746         * sysdeps/nptl/pthread.h: Remove duplicate definition of
4747         PTHREAD_ADAPTIVE_MUTEX_INITIALIZER_NP.
4749 2015-03-27  Martin Galvan  <martin.galvan@tallertechnologies.com>
4751         * sysdeps/i386/nptl/tls.h: Swap comments between THREAD_SETMEM and
4752         THREAD_SETMEM_NC.
4753         * sysdeps/x86_64/nptl/tls.h: Ditto.
4755 2015-03-27  Roland McGrath  <roland@hack.frob.com>
4757         * dlfcn/tststatic.c (main): Converted to ...
4758         (do_test): ... this.
4759         (TEST_FUNCTION): New macro.
4760         Include test-skeleton.c.
4762 2015-03-26  Alan Modra  <amodra@gmail.com>
4764         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_fixup_plt):
4765         Don't segfault if ifunc resolver returns a NULL.  Do set plt to
4766         zero for undefined weak.
4767         (elf_machine_plt_conflict): Similarly.
4769 2015-03-25  Joseph Myers  <joseph@codesourcery.com>
4771         * math/auto-libm-test-in: Add more tests of acosh, asinh and
4772         atanh.
4773         * math/auto-libm-test-out: Regenerated.
4774         * sysdeps/i386/fpu/libm-test-ulps: Update.
4775         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4777         * math/auto-libm-test-in: Add another test of asin.
4778         * math/auto-libm-test-out: Regenerated.
4779         * sysdeps/i386/fpu/libm-test-ulps: Update.
4780         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4782         * sysdeps/unix/sysv/linux/i386/lowlevellock.h (LLL_EBX_LOAD):
4783         Remove macro.
4784         (LLL_EBX_REG): Likewise.
4785         (LLL_ENTER_KERNEL): Likewise.
4787         * math/auto-libm-test-in: Add more tests of asin.
4788         * math/auto-libm-test-out: Regenerated.
4789         * sysdeps/i386/fpu/libm-test-ulps: Update.
4790         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4792         [BZ #18138]
4793         * sysdeps/unix/sysv/linux/i386/sysdep.h (struct
4794         libc_do_syscall_args): New structure.
4795         (INTERNAL_SYSCALL_MAIN_0): New macro.
4796         (INTERNAL_SYSCALL_MAIN_1): Likewise.
4797         (INTERNAL_SYSCALL_MAIN_2): Likewise.
4798         (INTERNAL_SYSCALL_MAIN_3): Likewise.
4799         (INTERNAL_SYSCALL_MAIN_4): Likewise.
4800         (INTERNAL_SYSCALL_MAIN_5): Likewise.
4801         (INTERNAL_SYSCALL_MAIN_6): Likewise.  Call __libc_do_syscall.
4802         (INTERNAL_SYSCALL): Define to use INTERNAL_SYSCALL_MAIN_##nr.
4803         Replace conditional definitions by conditional definitions of ....
4804         (INTERNAL_SYSCALL_MAIN_INLINE): ... this.  New macro.
4805         * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S: New file.
4806         * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = nptl]
4807         (libpthread-sysdep_routines): Add libc-do-syscall.
4808         * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: Remove file.
4809         * sysdeps/unix/sysv/linux/i386/lowlevellock.h (SYS_futex): Define
4810         to __NR_futex not 240.
4812 2015-03-25  Alan Modra  <amodra@gmail.com>
4814         * NEWS: Advertise TLS optimization.
4815         * elf/elf.h (R_PPC_TLSGD, R_PPC_TLSLD, DT_PPC_OPT, PPC_OPT_TLS): Define.
4816         (DT_PPC_NUM): Increment.
4817         * elf/dynamic-link.h (HAVE_STATIC_TLS): Define.
4818         (CHECK_STATIC_TLS): Use here.
4819         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Optimize
4820         TLS descriptors.
4821         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
4822         * sysdeps/powerpc/dl-tls.c: New file.
4823         * sysdeps/powerpc/Versions: Add __tls_get_addr_opt.
4824         * sysdeps/powerpc/tst-tlsopt-powerpc.c: New tls test.
4825         * sysdeps/unix/sysv/linux/powerpc/Makefile: Add new test.
4826         Build tst-tlsmod2.so with --no-tls-get-addr-optimize.
4827         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: Update.
4828         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: Likewise.
4829         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: Likewise.
4831 2015-03-25  Alan Modra  <amodra@gmail.com>
4833         * sysdeps/powerpc/powerpc64/configure.ac: Correct "linker support
4834         for overlapping .opd entries" to "support...".
4835         * sysdeps/powerpc/powerpc64/configure: Regenerate
4837 2015-03-25  Joseph Myers  <joseph@codesourcery.com>
4839         * math/auto-libm-test-in: Add more tests of acos.
4840         * math/auto-libm-test-out: Regenerated.
4841         * sysdeps/i386/fpu/libm-test-ulps: Update.
4842         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4844         * math/auto-libm-test-in: Add more tests of expm1.
4845         * math/auto-libm-test-out: Regenerated.
4846         * sysdeps/i386/fpu/libm-test-ulps: Update.
4847         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4849 2015-03-24  Joseph Myers  <joseph@codesourcery.com>
4851         * math/auto-libm-test-in: Add more tests of cosh and sinh.
4852         * math/auto-libm-test-out: Regenerated.
4853         * sysdeps/i386/fpu/libm-test-ulps: Update.
4854         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4856         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
4857         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4859         * math/auto-libm-test-in: Add more tests of log2.
4860         * math/auto-libm-test-out: Regenerated.
4861         * sysdeps/i386/fpu/libm-test-ulps: Update.
4862         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4864 2015-03-23  Roland McGrath  <roland@hack.frob.com>
4866         * libio/iofdopen.c: Move FD_FLAGS declaration into its first use,
4867         inside [F_GETFL].  Remove POSIX_MODE local variable, just test the
4868         _IO_IS_APPENDING bit in READ_WRITE instead.
4870 2015-03-23  Florian Weimer  <fweimer@redhat.com>
4872         * sysdeps/unix/sysv/linux/pthread_setaffinity.c
4873         (__determine_cpumask_size): Replace extend_alloca with a
4874         variable-length array.  Do not treat res == 0 as an error.
4876 2015-03-23  Florian Weimer  <fweimer@redhat.com>
4878         [BZ #18100]
4879         * posix/wordexp.c (eval_expr_multdiv): Check for division by zero
4880         and integer overflow.
4881         * posix/wordexp-test.c (test_case): Add divide-by-zero test.
4882         (main): Add integer overflow tests.
4883         * manual/pattern.texi (Calling Wordexp): Document additional use
4884         for WRDE_SYNTAX.
4886 2015-03-23  Alan Modra  <amodra@gmail.com>
4888         * config.h.in: Remove HAVE_ASM_PPC_REL16.
4889         * sysdeps/powerpc/powerpc32/tls-macros.h: Remove HAVE_ASM_PPC_REL16
4890         and false branch of conditional.
4891         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
4892         Likewise.
4894 2015-03-21  Samuel Thibault  <samuel.thibault@ens-lyon.org
4896         * sysdeps/mach/hurd/Makefile ($(common-objpfx)errnos.d): Depend on
4897         libc-modules.h
4898         * sysdeps/mach/hurd/i386/trampoline.c (_hurd_setup_sighandler): Remove
4899         unused declaration of _hurd_intr_rpc_msg_in_trap.
4900         * mach/mach_init.c (__mach_init): Test whether HAVE_HOST_PAGE_SIZE is
4901         defined instead of whether it is non-zero.
4902         * sysdeps/mach/hurd/i386/intr-msg.h (INTR_MSG_TRAP): Use "+m"
4903         input constraint instead of both input and output constraint.  Use ecx
4904         clobber instead of %ecx.
4905         * sysdeps/mach/hurd/malloc-machine.h (mutex_init, mutex_lock,
4906         mutex_unlock): Use a statement expression instead of an expression list.
4907         * sysdeps/mach/hurd/setitimer.c (_hurd_itimer_thread_stack_size): Set
4908         type to vm_size_t instead of vm_address_t.
4909         * sysdeps/mach/hurd/fork.c (__fork): Test whether STACK_GROWTH_UP is
4910         defined instead of whether it is non-zero.
4911         * hurd/hurd/ioctl.h (_hurd_locked_install_cttyid): New declaration.
4912         * sysdeps/mach/hurd/setsid.c: Include <hurd/ioctl.h>.
4913         * sysdeps/mach/hurd/mmap.c (__mmap): Use 0 instead of NULL for
4914         comparisons with mapaddr.
4915         * nscd/nscd-client.h: Include <time.h>.
4916         * sysdeps/mach/hurd/dl-sysdep.c (fmh): Pass vm_offset_t dummy
4917         9th parameter to __vm_region instead of int.
4918         * bits/termios.h [!__USE_MISC] (EXTPROC): Do not define.
4919         * scripts/check-local-headers.sh (exclude): Add device/,
4920         hurd/hurd_types.h, hurd/ioctl_types.h, hurd/paths.h, hurd/ioctls.defs,
4921         cthreads.h.
4923 2015-03-19  Roland McGrath  <roland@hack.frob.com>
4925         * sysdeps/arm/memcpy.S [ARM_ALWAYS_BX]: Fix computed-jump calculations
4926         to account for alignment padding.
4927         * sysdeps/arm/memmove.S: Likewise.
4929 2015-03-19  Chris Metcalf  <cmetcalf@ezchip.com>
4931         * sysdeps/unix/sysv/linux/generic/README: New file.
4933 2015-03-18  Joseph Myers  <joseph@codesourcery.com>
4935         [BZ #18138]
4936         * nptl/sem_waitcommon.c: Include <kernel-features.h>.
4937         (futex_abstimed_wait)
4938         [__ASSUME_FUTEX_CLOCK_REALTIME && lll_futex_timed_wait_bitset]:
4939         Use lll_futex_timed_wait_bitset with FUTEX_CLOCK_REALTIME instead
4940         of lll_futex_timed_wait.
4942 2015-03-18  Brad Hubbard  <bhubbard@redhat.com>
4944         [BZ #17542]
4945         * sunrpc/svc.c (xprt_register): Use calloc to allocate xports.
4947 2015-03-17  Alexandre Oliva <aoliva@redhat.com>
4949         [BZ #17090]
4950         [BZ #17620]
4951         [BZ #17621]
4952         [BZ #17628]
4953         * NEWS: Update.
4954         * elf/dl-tls.c (_dl_update_slotinfo): Clean up outdated DTV
4955         entries with Static TLS too.  Skip entries past the end of the
4956         allocated DTV, from Alan Modra.
4957         (tls_get_addr_tail): Update to glibc_likely/unlikely.  Move
4958         Static TLS DTV entry set up from...
4959         (_dl_allocate_tls_init): ... here (fix modid assertion), ...
4960         * elf/dl-reloc.c (_dl_nothread_init_static_tls): ... here...
4961         * nptl/allocatestack.c (init_one_static_tls): ... and here...
4962         * elf/dlopen.c (dl_open_worker): Drop l_tls_modid upper bound
4963         for Static TLS.
4964         * elf/tlsdeschtab.h (map_generation): Return size_t.  Check
4965         that the slot we find is associated with the given map before
4966         using its generation count.
4967         * nptl_db/db_info.c: Include ldsodefs.h.
4968         (rtld_global, dtv_slotinfo_list, dtv_slotinfo): New typedefs.
4969         * nptl_db/structs.def (DB_RTLD_VARIABLE): New macro.
4970         (DB_MAIN_VARIABLE, DB_RTLD_GLOBAL_FIELD): Likewise.
4971         (link_map::l_tls_offset): New struct field.
4972         (dtv_t::counter): Likewise.
4973         (rtld_global): New struct.
4974         (_rtld_global): New rtld variable.
4975         (dl_tls_dtv_slotinfo_list): New rtld global field.
4976         (dtv_slotinfo_list): New struct.
4977         (dtv_slotinfo): Likewise.
4978         * nptl_db/td_symbol_list.c: Drop gnu/lib-names.h include.
4979         (td_lookup): Rename to...
4980         (td_mod_lookup): ... this.  Use new mod parameter instead of
4981         LIBPTHREAD_SO.
4982         * nptl_db/td_thr_tlsbase.c: Include link.h.
4983         (dtv_slotinfo_list, dtv_slotinfo): New functions.
4984         (td_thr_tlsbase): Check DTV generation.  Compute Static TLS
4985         addresses even if the DTV is out of date or missing them.
4986         * nptl_db/fetch-value.c (_td_locate_field): Do not refuse to
4987         index zero-length arrays.
4988         * nptl_db/thread_dbP.h: Include gnu/lib-names.h.
4989         (td_lookup): Make it a macro implemented in terms of...
4990         (td_mod_lookup): ... this declaration.
4991         * nptl_db/db-symbols.awk (DB_RTLD_VARIABLE): Override.
4992         (DB_MAIN_VARIABLE): Likewise.
4994 2015-03-16  H.J. Lu  <hongjiu.lu@intel.com>
4996         [BZ #18134]
4997         * sysdeps/x86_64/dl-trampoline.S (PRESERVE_BND_REGS_PREFIX): New.
4999 2015-03-15  Paul Eggert  <eggert@cs.ucla.edu>
5001         * stdlib/setenv.c (__add_to_environ): Revert previous change.
5003 2015-03-14  Andreas Schwab  <schwab@linux-m68k.org>
5005         [BZ #18128]
5006         * sysdeps/m68k/m680x0/m68020/bits/atomic.h (atomic_exchange_and_add)
5007         (atomic_add, atomic_increment_and_test)
5008         (atomic_decrement_and_test): Fix 64-bit arithmetic.
5010 2015-03-13  Paul Eggert  <eggert@cs.ucla.edu>
5012         * stdlib/setenv.c (__add_to_environ):
5013         Dump core quickly if setenv (..., NULL, ...) is called.
5015 2015-03-13  Roland McGrath  <roland@hack.frob.com>
5017         * sysdeps/arm/tls-macros.h: Include <sysdep.h>.
5018         (GET_SPECIAL_RELOC, GET_SPECIAL_PCREL): New macros to encapsulate
5019         all the necessary asm magic in one place.
5020         (TLS_LE, TLS_IE, TLS_LD, TLS_GD): Rewritten as C expressions
5021         using those.
5023 2015-03-13  Carlos O'Donell  <carlos@redhat.com>
5025         [BZ #14906]
5026         * nscd/cache.c (prune_cache): Use TRACED_FILE. Compare and update
5027         traced file mtime. Use consistent log message.
5028         * nscd/connections.c [HAVE_INOTIFY] (install_watches): New function.
5029         (register_traced_file): Call install_watches. Always set mtime.
5030         (invalidate_cache): Iterate over all trace files. Call install_watches.
5031         (inotify_check_files): Don't inline. Handle watching parent
5032         directories and configuration file movement in and out.
5033         (handle_inotify_events): New function.
5034         (main_loop_poll): Call handle_inotify_events.
5035         (main_loop_epoll): Likewise.
5036         * nscd/nscd.h: Define TRACED_FILE, TRACED_DIR, and PATH_MAX.
5037         (struct traced_file): Use array of inotify fds. Add parent directory,
5038         and basename.
5039         (struct database_dyn): Remove unused file_mtime.
5040         (init_traced_file): New inline function.
5041         (define_traced_file): New macro.
5042         * nss/nss_db/db-init.c: Use define_traced_file.
5043         (_nss_db_init): Use init_traced_file.
5044         * nss/nss_files/files-init.c: Use define_traced_file.
5045         (_nss_files_init): Use init_traced_file.
5047 2015-03-12  Joseph Myers  <joseph@codesourcery.com>
5049         * soft-fp/soft-fp.h (_FP_STATIC_ASSERT): New macro.
5050         [_LIBC]: Do not include <stdlib.h>.
5051         [!_LIBC] (abort): Remove declaration.
5052         * soft-fp/op-2.h (_FP_MUL_MEAT_2_120_240_double): Use
5053         _FP_STATIC_ASSERT instead of conditionally calling abort.
5054         * soft-fp/op-common.h (_FP_FROM_INT): Likewise.
5055         (_FP_EXTEND_CNAN): Likewise.
5056         (FP_TRUNC): Likewise.
5057         (__FP_CLZ): Likewise.
5058         * sysdeps/powerpc/nofpu/flt-rounds.c: Include <stdlib.h>.
5060 2015-03-12  Yaakov Selkowitz  <yselkowi@redhat.com>
5062         * manual/string.texi (XPG basename): Fix prototype.
5064 2015-03-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
5066         [BZ #18080]
5067         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S
5068         (__setcontext): Use SIG_SETMASK instead of SIG_BLOCK.
5069         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S
5070         (__setcontext): Likewise.
5071         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S
5072         (__swapcontext): Use SIG_SETMASK instead of SIG_BLOCK.
5073         Call rt_sigprocmask syscall one time to set new signal mask
5074         and retrieve the current signal mask instead of two calls.
5075         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S
5076         (__swapcontext): Likewise.
5077         * stdlib/Makefile (tests): Add new testcase tst-setcontext2.
5078         * stdlib/tst-setcontext2.c: New file.
5080 2015-03-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
5082         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
5084 2015-03-11  Aurelien Jarno  <aurelien@aurel32.net>
5086         [BZ #18093]
5087         * elf/cache.c (load_aux_cache): Regenerate the cache if it has
5088         the wrong size.
5090 2015-03-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
5092         [BZ #18043]
5093         * posix/wordexp.c (parse_param): Don't call setenv(..., NULL, 1).
5095 2015-03-11  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
5097         * config.h.in [HAVE_ASM_GLOBAL_DOT_NAME]: Remove define.
5098         * include/libc-symbols.h [HAVE_ASM_GLOBAL_DOT_NAME] (strong_alias):
5099         Remove define.
5100         [HAVE_ASM_GLOBAL_DOT_NAME] (strong_data_alias): Likewise.
5101         [HAVE_ASM_GLOBAL_DOT_NAME] (weak_alias): Likewise.
5102         [HAVE_ASM_GLOBAL_DOT_NAME] (_symbol_version): Likewise.
5103         [HAVE_ASM_GLOBAL_DOT_NAME] (_default_symbol_version): Likewise.
5104         [HAVE_ASM_GLOBAL_DOT_NAME] (HIDDEN_JUMPTARGET): Likewise.
5105         * nptl_db/db-symbols.h [HAVE_ASM_GLOBAL_DOT_NAME] (DOT): Remove
5106         define.
5107         * nptl_db/td_symbol_list.c (td_lookup): Remove
5108         HAVE_ASM_GLOBAL_DOT_NAME code.
5109         * sysdeps/powerpc/powerpc64/configure.ac: Remove
5110         HAVE_ASM_GLOBAL_DOT_NAME check.
5111         * sysdeps/powerpc/powerpc64/configure: Regenerate.
5112         * sysdeps/powerpc/powerpc64/sysdep.h [HAVE_ASM_GLOBAL_DOT_NAME]
5113         (DOT_LABEL): Remove define.
5114         [HAVE_ASM_GLOBAL_DOT_NAME] (BODY_LABEL): Likewise.
5115         [HAVE_ASM_GLOBAL_DOT_NAME] (ENTRY_2): Likewise.
5116         [HAVE_ASM_GLOBAL_DOT_NAME] (END_2): Likewise.
5117         * sysdeps/powerpc/powerpc64/tls-macros.h [HAVE_ASM_GLOBAL_DOT_NAME]
5118         (__TLS_GET_ADDR): Likewise.
5119         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h
5120         [HAVE_ASM_GLOBAL_DOT_NAME] (DASHDASHPFX): Likewise.
5122 2015-03-11  Carlos O'Donell  <carlos@redhat.com>
5124         [BZ #18111]
5125         * sysdeps/hppa/fpu/fpu_control.h (_FPU_HPPA_SHIFT_FLAGS): Define.
5126         (_FPU_SETCW): Initialize cw from fpsr before storing.
5127         * sysdeps/hppa/fpu/fsetexcptflg.c: Include fpu_control.h
5128         (fesetexceptflag): Rewrite using fpu_control.h.
5129         * sysdeps/hppa/fpu/feupdateenv.c: Handle FE_DFL_ENV, and FE_NOMASK_ENV.
5131 2015-03-11  John David Anglin  <danglin@gcc.gnu.org>
5133         [BZ #18110]
5134         * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Don't modify bufptr in
5135         asms.
5136         * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Likewise.
5138 2015-03-11  Joseph Myers  <joseph@codesourcery.com>
5140         * soft-fp/soft-fp.h (_FP_UNREACHABLE): New macro.
5141         * soft-fp/op-common.h (_FP_MUL): Use _FP_UNREACHABLE instead of
5142         abort.
5143         (_FP_FMA): Likewise.
5144         (_FP_DIV): Likewise.
5146 2015-03-10  Roland McGrath  <roland@hack.frob.com>
5148         * scripts/evaluate-test.sh: Grok exit code 77 as UNSUPPORTED and exit
5149         with 0 in that case.
5150         * Makefile (summarize-tests): New canned sequence, factored out of
5151         commands for targets tests and xtests.  Display summary lines that
5152         don't start with PASS: or XFAIL: rather than ones that do start with
5153         ERROR: or FAIL:.  Make the commands fail if any summary lines fail
5154         to start with X?PASS: or XFAIL: or UNSUPPORTED: rather than if any
5155         do start with ERROR: or FAIL:.
5156         * dlfcn/Makefile (tests): Add bug-atexit3 back here unconditionally
5157         (except for [$(build-shared) = yes]).
5158         (tests-unsupported) [$(CXX) empty]: Add bug-atexit3.
5159         (LDLIBS-bug-atexit3-lib.so): Conditionalize on [$(CXX) nonempty].
5160         ($(objpfx)bug-atexit3, $(objpfx)bug-atexit3.out): Likewise.
5161         * nptl/Makefile: Revert 2015-03-04 changes.
5162         [$(CXX) empty] (tests-unsupported): New variable.
5163         * debug/Makefile: Likewise.
5165         * posix/regcomp.c: Fix comment typos and formatting to harmonize with
5166         gnulib file.  Replace __attribute with __attribute__ throughout.
5168 2015-03-10  Carlos O'Donell  <carlos@redhat.com>
5170         * sysdeps/hppa/fpu/libm-test-ulps: Update.
5172 2015-03-10  Joseph Myers  <joseph@codesourcery.com>
5174         [BZ #18104]
5175         * math/auto-libm-test-in: Add another test of pow.
5176         * math/auto-libm-test-out: Regenerated.
5178 2015-03-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5180         * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_pow.c): Add
5181         $(config-cflags-nofma).
5183 2015-03-10  Joseph Myers  <joseph@codesourcery.com>
5185         * soft-fp/double.h [SOFT_FP_DOUBLE_H]: New multiple-include guard.
5186         * soft-fp/extended.h [SOFT_FP_EXTENDED_H]: Likewise.
5187         * soft-fp/op-1.h [SOFT_FP_OP_1_H]: Likewise.
5188         * soft-fp/op-2.h [SOFT_FP_OP_2_H]: Likewise.
5189         * soft-fp/op-4.h [SOFT_FP_OP_4_H]: Likewise.
5190         * soft-fp/op-8.h [SOFT_FP_OP_8_H]: Likewise.
5191         * soft-fp/op-common.h [SOFT_FP_OP_COMMON_H]: Likewise.
5192         * soft-fp/quad.h [SOFT_FP_QUAD_H]: Likewise.
5193         * soft-fp/single.h [SOFT_FP_SINGLE_H]: Likewise.
5194         * soft-fp/soft-fp.h (SOFT_FP_H): Define to 1 rather than empty.
5195         Add comment on closing #endif.
5197 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
5199         * posix/wordexp.c (CHAR_IN_SET): New macro.
5200         (parse_param): Use it.
5202 2015-03-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5204         * sysdeps/powerpc/fpu/libm-test-ulps: update.
5206 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
5208         [BZ #18043]
5209         * posix/wordexp.c (parse_param): Fix buffer overflow.
5210         * posix/wordexp-test.c (test_case): Add test case.
5212 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
5214         [BZ #18042]
5215         * posix/wordexp.c (parse_backtick): Fix off-by-one.
5216         * posix/wordexp-test.c (test_case): Add test for BZ #18042.
5218 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
5220         [BZ #18043]
5221         * posix/wordexp-test.c (test_case): Add test for BZ #18043
5222         (do_bz18043): Delete.
5223         (at_page_end): New.
5224         (testit): Refactor to have words at the edge of unreadable page.
5226 2015-03-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
5228         [BZ #16734]
5229         * libio/genops.c (_IO_unbuffer_all): Renamed from _IO_unbuffer_write.
5230         Cleanup read-only streams as well.
5231         (_IO_cleanup): Call _IO_unbuffer_all instead of _IO_unbuffer_write.
5233 2015-03-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
5235         * sysdeps/mach/hurd/bits/libc-lock.h [_LIBC]: Include
5236         <bits/libc-lockP.h>
5238 2015-03-07  Joseph Myers  <joseph@codesourcery.com>
5240         * soft-fp/soft-fp.h (_FP_ZERO_INIT): New macro.  Define depending
5241         on [__KERNEL__].
5242         * soft-fp/op-1.h (_FP_FRAC_DECL_1): Use _FP_ZERO_INIT.
5243         * soft-fp/op-2.h (_FP_FRAC_DECL_2): Likewise.
5244         * soft-fp/op-common.h (_FP_DECL): Likewise.
5246 2015-03-06  H.J. Lu  <hongjiu.lu@intel.com>
5248         * elf/ifuncdep2.c (global): Replace
5249         __attribute__((visibility("protected"))) with
5250         asm (".protected global").
5251         * elf/ifuncmod1.c (global): Likewise.
5252         * elf/ifuncmod5.c (global): Likewise.
5254 2015-03-06  Joseph Myers  <joseph@codesourcery.com>
5256         * soft-fp/soft-fp.h [!_LIBC && __KERNEL__]: Include
5257         <asm/sfp-machine.h> instead of <sfp-machine.h>.
5259 2015-03-06  Roland McGrath  <roland@hack.frob.com>
5261         * manual/install.texi (Configuring and compiling):
5262         Document test-wrapper-env-only.
5263         * INSTALL: Regenerated.
5265 2015-03-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
5267         [BZ #18043]
5268         * posix/wordexp.c (parse_param): Fix buffer overflow.
5269         * posix/wordexp-test.c (do_bz18043): Add test case.
5271 2015-03-06  Vincent Bernat  <vincent@bernat.im>
5273         * time/tst-strptime2.c (do_test): Ensure failing tests are
5274         reported correctly.
5275         * time/tst-strptime3.c (do_test): Likewise.
5277 2015-03-06  Samuel Thibault  <samuel.thibault@inria.fr>
5279         Fix aio_error thread-safety.
5280         * sysdeps/pthread/aio_error.c: New file
5281         * sysdeps/pthread/aio_misc.c: Remove optimistic comment about
5282         synchronization.
5284 2015-03-06  Florian Weimer  <fweimer@redhat.com>
5286         * stdio-common/vfprintf.c (THOUSANDS_SEP_T): New typedef.
5287         (group_number, vfprintf): Use it.
5288         (JUMP_TABLE_BASE_LABEL): New preprocessor macro.
5289         (JUMP, REF): Use it.
5290         (WORK_BUFFER_SIZE): New enum constant.
5291         (process_arg, vfprintf): Use it.
5293 2015-03-06  Rical Jasan  <ricaljasan@pacific.net>
5295         * manual/errno.texi (Error Messages): Complete example function
5296         by adding missing #define.
5297         (program_invocation_name): Add statement indicating GNU
5298         extension and reference which header file declares the variable.
5299         (program_invocation_short_name): Likewise.
5301 2015-03-06  Mike Frysinger  <vapier@gentoo.org>
5303         * manual/errno.texi (Error Messages): Delete strerror ISO C89
5304         compatibility note.
5306 2015-03-05  Roland McGrath  <roland@hack.frob.com>
5308         * Makeconfig (test-wrapper-env-only): New variable.
5309         * Rules (make-test-out): If variable $*-ENV-only is nonempty,
5310         then use that with $(test-wrapper-env-only) rather than using
5311         $(test-wrapper-env) $(run-program-env) $($*-ENV).
5313 2015-03-05  H.J. Lu  <hongjiu.lu@intel.com>
5315         [BZ #18082]
5316         * sysdeps/alpha/dl-machine.h (elf_machine_type_class): Replace
5317         ELF_RTYPE_CLASS_NOCOPY with ELF_RTYPE_CLASS_COPY in comments.
5318         * sysdeps/arm/dl-machine.h (elf_machine_type_class): Likewise.
5319         * sysdeps/hppa/dl-machine.h (elf_machine_type_class): Likewise.
5320         * sysdeps/i386/dl-machine.h (elf_machine_type_class): Likewise.
5321         * sysdeps/ia64/dl-machine.h (elf_machine_type_class): Likewise.
5322         * sysdeps/m68k/dl-machine.h (elf_machine_type_class): Likewise.
5323         * sysdeps/microblaze/dl-machine.h (elf_machine_type_class):
5324         Likewise.
5325         * sysdeps/nios2/dl-machine.h (elf_machine_type_class): Likewise.
5326         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_type_class):
5327         Likewise.
5328         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_type_class):
5329         Likewise.
5330         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_type_class):
5331         Likewise.
5332         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_type_class):
5333         Likewise.
5334         * sysdeps/sh/dl-machine.h (elf_machine_type_class): Likewise.
5335         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_type_class):
5336         Likewise.
5337         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_type_class):
5338         Likewise.
5339         * sysdeps/tile/dl-machine.h (elf_machine_type_class): Likewise.
5340         * sysdeps/x86_64/dl-machine.h (elf_machine_type_class): Likewise.
5342 2015-03-04  Roland McGrath  <roland@hack.frob.com>
5344         * sysdeps/generic/netinet/if_ether.h: Don't #include <features.h>.
5345         (ETH_ALEN): New macro.
5346         (struct ether_addr): Use it for length of ether_addr_octet.
5348         * nss/test-netdb.c: Don't #include <rpc/netdb.h>.
5349         (setdb): Don't call __nss_configure_lookup for "rpc".
5350         (do_test): Don't call test_rpc.
5351         (output_rpcent, test_rpc): Functions moved ...
5352         * sunrpc/test-rpcent.c: ... to this new file.
5353         * sunrpc/Makefile (tests): Add it.
5355         * nptl/tst-cancel4.c (tf_sigpause) [!SIGCANCEL]: Call pause instead of
5356         __xpg_sigpause.
5357         * nptl/tst-signal3.c: Conditionalize body on [SIGRTMIN].
5358         * nptl/tst-signal6.c: Likewise.
5359         * rt/tst-mqueue5.c: Conditionalize body on [SIGRTMIN && SA_SIGINFO].
5360         * rt/tst-timer4.c: Conditionalize body on [SA_SIGINFO].
5362         * configure.ac (libc_cv_cxx_link_ok): New check.
5363         Reset CXX to empty if it fails to link.
5364         * configure: Regenerated.
5365         * dlfcn/Makefile (tests, modules-names): Add bug-atexit3 and
5366         bug-atexit3-lib only if $(CXX) is nonempty.
5367         * nptl/Makefile (tests): Likewise for tst-cancel24.
5368         (tests, tests-static): Likewise for tst-cancel24-static.
5369         * debug/Makefile (tests): Likewise for tst-chk4, tst-chk5, tst-chk6,
5370         tst-lfschk4, tst-lfschk5, and tst-lfschk6.
5371         * elf/Makefile (tests, modules-names): Likewise for tst-unique3,
5372         tst-unique3lib, tst-unique3lib2, tst-unique4, and tst-unique4lib.
5374 2015-03-04  Andreas Schwab  <schwab@suse.de>
5376         [BZ #17631]
5377         * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Don't define
5378         for non-GCC compilers.
5379         * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
5380         Likewise.
5382 2015-03-03 Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
5384         [BZ #17776]
5385         * sysdeps/powerpc/bits/fenvinline.h (feraiseexcept): Convert input to
5386         integer before bitwise and assembly operations.
5387         (feclearexcept): Likewise.
5388         * math/test-fenvinline.c: New file.
5389         * math/Makefile: Add test-fenvinline test.
5391 2015-03-03  Alan Modra  <amodra@gmail.com>
5393         [BZ #16512]
5394         * scripts/localplt.awk: Strip off symbol version.
5395         * NEWS: Mention bug fix.
5397 2015-03-02  Roland McGrath  <roland@hack.frob.com>
5399         * sysdeps/pthread/timer_routines.c
5400         (timer_free_list, thread_free_list, thread_active_list): Make static.
5402 2015-03-02  Joseph Myers  <joseph@codesourcery.com>
5404         [BZ #17779]
5405         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
5406         [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
5407         Undefine.
5408         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
5409         [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
5410         Likewise.
5411         * sysdeps/unix/sysv/linux/sh/kernel-features.h
5412         [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
5413         Likewise.
5415 2015-03-02  Paul Pluzhnikov  <ppluzhnikov@google.com>
5417         [BZ #18036]
5418         * posix/fnmatch_loop.c (END): Detect invalid pattern.
5419         * posix/tst-fnmatch3.c (do_bz18036): Add test case.
5421 2015-03-02  Andreas Schwab  <schwab@suse.de>
5423         * elf/Makefile ($(elf-objpfx)runtime-linker.st): Fix typo in
5424         variable name.
5426 2015-03-02  Florian Weimer  <fweimer@redhat.com>
5428         * nis/nss_nis/nis-initgroups.c (_nss_nis_initgroups_dyn):
5429         Return error status.
5431 2015-02-27  Alexandre Oliva <aoliva@redhat.com>
5433         [BZ #15969]
5434         * locale/findlocale.c (_nl_find_locale): Introduce const
5435         version of loc_name and drop unsafe type casts.
5437 2015-02-27  Roland McGrath  <roland@hack.frob.com>
5439         * dlfcn/tststatic2.c (main): Converted to ...
5440         (do_test): ... this.
5441         (TEST_FUNCTION): New macro.
5442         Include test-skeleton.c.
5444 2015-02-27  H.J. Lu  <hongjiu.lu@intel.com>
5446         [BZ #17711]
5447         * elf/Makefile (tests): Add vismain only if PIE is enabled.
5448         (tests-pie): Add vismain.
5449         (CFLAGS-vismain.c): New.
5450         * elf/vismain.c: Add comments for PIE requirement.
5452 2015-02-27  Joseph Myers  <joseph@codesourcery.com>
5454         [BZ #18046]
5455         [BZ #18047]
5456         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Use
5457         0x1p-56L as threshold for just returning the argument.
5458         * sysdeps/ieee754/ldbl-96/e_atanhl.c (__ieee754_atanhl): Use
5459         0x1p-32L as threshold for just returning the argument.
5460         * math/auto-libm-test-in: Add more tests of atanh.
5461         * math/auto-libm-test-out: Regenerated.
5462         * sysdeps/i386/fpu/libm-test-ulps: Update.
5463         * sysdeps/x86_64/fpu/libm-test-ulp: Likewise.
5465 2015-02-27  Wilco Dijkstra  wdijkstr@arm.com
5467         * string/bcopy.c (bcopy): Call memmove for performance.
5469 2015-02-27  Wilco Dijkstra  wdijkstr@arm.com
5471         * string/bzero.c (__bzero): Call memset for performance.
5473 2015-02-27  John David Anglin  <dave.anglin@bell.net>
5475         [BZ #18068]
5476         * sysdeps/unix/sysv/linux/hppa/bits/fcntl.h (__O_SYNC): Change
5477         to 00100000.
5479 2015-02-27  Joseph Myers  <joseph@codesourcery.com>
5481         * sysdeps/ieee754/k_standard.c (CSTR): Add comment.
5483 2015-02-26  Joseph Myers  <joseph@codesourcery.com>
5485         * sysdeps/ieee754/k_standard.c (CSTR): New macro.
5486         (__kernel_standard): Use CSTR macro when setting exc.name.
5487         * sysdeps/ieee754/Makefile [$(subdir) = math]
5488         (CFLAGS-k_standard.c): Remove variable.
5490         * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Change last case for
5491         setting p and q from "else if" to "else".
5492         (qzero): Likewise.
5493         * sysdeps/ieee754/dbl-64/e_j1.c (pone): Likewise.
5494         (qone): Likewise.
5495         * sysdeps/ieee754/flt-32/e_j0f.c (pzerof): Likewise.
5496         (qzerof): Likewise.
5497         * sysdeps/ieee754/flt-32/e_j1f.c (ponef): Likewise.
5498         (qonef): Likewise.
5499         * sysdeps/ieee754/ldbl-96/e_j0l.c (pzero): Likewise.
5500         (qzero): Likewise.
5501         * sysdeps/ieee754/ldbl-96/e_j1l.c (pone): Likewise.
5502         (qone): Likewise.
5504         [BZ #18038]
5505         [BZ #18039]
5506         * sysdeps/ieee754/ldbl-128/e_acosl.c (__ieee754_acosl): Only
5507         return pi/2 for arguments below 0x1p-113L.
5508         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Only
5509         return pi/2 for arguments below 0x1p-106L.
5510         * math/auto-libm-test-in: Add more tests of acos.
5511         * math/auto-libm-test-out: Regenerated.
5513         [BZ #16351]
5514         * sysdeps/i386/fpu/e_asin.S (dbl_min): New object.
5515         (MO): New macro.
5516         (__ieee754_asin): Force underflow exception for results with small
5517         absolute value.
5518         * sysdeps/i386/fpu/e_asinf.S (flt_min): New object.
5519         (MO): New macro.
5520         (__ieee754_asinf): Force underflow exception for results with
5521         small absolute value.
5522         * sysdeps/ieee754/dbl-64/e_asin.c: Include <float.h> and <math.h>.
5523         (__ieee754_asin): Force underflow exception for results with small
5524         absolute value.
5525         * sysdeps/ieee754/flt-32/e_asinf.c: Include <float.h>.
5526         (__ieee754_asinf): Force underflow exception for results with
5527         small absolute value.
5528         * sysdeps/ieee754/ldbl-128/e_asinl.c: Include <float.h>.
5529         (__ieee754_asinl): Force underflow exception for results with
5530         small absolute value.
5531         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Include <float.h>.
5532         (__ieee754_asinl): Force underflow exception for results with
5533         small absolute value.
5534         * sysdeps/ieee754/ldbl-96/e_asinl.c: Include <float.h>.
5535         (__ieee754_asinl): Force underflow exception for results with
5536         small absolute value.
5537         * sysdeps/x86_64/fpu/multiarch/e_asin.c [HAVE_FMA4_SUPPORT]:
5538         Include <math.h>.
5539         * math/auto-libm-test-in: Do not mark underflow exceptions as
5540         possibly missing for bug 16351.
5541         * math/auto-libm-test-out: Regenerated.
5543         [BZ #18030]
5544         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Adjust exponent
5545         of power of 2 down when low part has opposite sign.
5546         * math/libm-test.inc (logb_test_data): Add more tests.
5548 2015-02-26  Andreas Schwab  <schwab@suse.de>
5550         [BZ #18032]
5551         * posix/fnmatch_loop.c (FCT): Remove extra increment when skipping
5552         over collating symbol inside a bracket expression.  Minor cleanup.
5553         * posix/tst-fnmatch3.c (do_test): Add test case.
5555 2015-02-26  Joseph Myers  <joseph@codesourcery.com>
5557         [BZ #18029]
5558         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl):
5559         Adjust exponent of power of 2 down when low part has opposite
5560         sign.
5561         * math/libm-test.inc (ilogb_test_data): Add more tests.
5563 2015-02-26  Alexandre Oliva  <aoliva@redhat.com>
5565         [BZ #15969]
5566         * locale/findlocale.c (_nl_find_locale): Fix constness error in
5567         the previous change.
5569         [BZ #15969]
5570         * locale/findlocale.c (_nl_find_locale): Retry archive search
5571         after alias expansion.
5573 2015-02-25  Roland McGrath  <roland@hack.frob.com>
5575         * iconv/tst-iconv3.c (main): Converted to ...
5576         (do_test): ... this.
5577         (TEST_FUNCTION): New macro.
5578         Include test-skeleton.c.
5580         * iconv/tst-iconv5.c (testcode, number): Make variables static const.
5581         (convert): Make function static.
5582         (test_unalign): Likewise.  Add const to argument pointee types.
5583         (main): Replace with static function do_test.
5584         Print "Succeeded." only if RET is zero.
5585         (TEST_FUNCTION): New macro.
5586         Include test-skeleton.c.
5588         * iconv/gconv_conf.c (__gconv_get_path): Don't crash if __getcwd
5589         returns a null pointer.
5591 2015-02-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5593         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Define memcpy
5594         to __memcpy_ppc only for static builds.
5596 2015-02-25  Joseph Myers  <joseph@codesourcery.com>
5598         [BZ #18020]
5599         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use 2**56 and
5600         2**-56 not 2**28 and 2**-29 as thresholds for simpler formulas.
5601         * math/auto-libm-test-in: Add more tests of asinh.
5602         * math/auto-libm-test-out: Regenerated.
5603         * sysdeps/i386/fpu/libm-test-ulps: Update.
5604         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5606 2015-02-25  Cong Wang  <xiyou.wangcong@gmail.com>
5608         [BZ #15850]
5609         * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Put in6_pktinfo
5610         and ip6_mtuinfo definitions here.
5611         * sysdeps/unix/sysv/linux/bits/in.h [_UAPI_IPV6_H]: Wrap code
5612         in this define too.  Update comment.
5614 2015-02-24  Benno Schulenberg  <bensberg@justemail.net>
5616         * elf/sprof.c (load_shobj): Tweak error message to match others.
5618 2015-02-24  Kevin Easton  <kevin@guarana.org>
5620         [BZ #16145] (partial fix)
5621         * time/tzset.c (__tz_convert): Unlock tzset_lock earlier
5622         to reduce lock contention.
5624 2015-02-24  Miroslav Lichvar  <mlichvar@redhat.com>
5626         * sysdeps/unix/sysv/linux/bits/timex.h: Update version.
5627         (struct timex): Update time comment.
5628         (ADJ_SETOFFSET): Define.
5630 2015-02-24  Joseph Myers  <joseph@codesourcery.com>
5632         [BZ #18019]
5633         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
5634         2**56 not 2**28 as threshold for log (2x) formula.
5635         * math/auto-libm-test-in: Add more tests of acosh.
5636         * math/auto-libm-test-out: Regenerated.
5637         * sysdeps/i386/fpu/libm-test-ulps: Update.
5638         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5640 2015-02-24  Mike Frysinger  <vapier@gentoo.org>
5642         * include/alloca.h [_STACK_GROWS_DOWN] (extend_alloca): Add
5643         parenthesis around the buf assignment.
5644         [_STACK_GROWS_UP] (extend_alloca): Add a char* cast.
5646 2015-02-24  Joseph Myers  <joseph@codesourcery.com>
5648         [BZ #16783]
5649         * sysdeps/i386/fpu/e_scalb.S (__ieee754_scalb): Do not handle
5650         arguments (NaN, -Inf) the same as (+/-Inf, -Inf).
5651         * sysdeps/i386/fpu/e_scalbf.S (__ieee754_scalbf): Likewise.
5652         * sysdeps/i386/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
5653         * sysdeps/x86_64/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
5654         * math/libm-test.inc (scalb_test_data): Add more tests.
5656 2015-02-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
5658         [BZ #17916]
5659         * libio/fileops.c (_IO_new_file_fopen): Limit stack use
5660         * libio/tst-fopenloc.c (do_test, do_bz17916): Add a large ccs= test
5662 2015-02-24  Eric Rannaud  <e@nanocritical.com>
5664         [BZ #17523]
5665         * io/fcntl.h (__OPEN_NEEDS_MODE): New macro.
5666         * io/bits/fcntl2.h (open): Use it.
5667         (openat): Likewise.
5668         * io/open.c (__libc_open): Likewise.
5669         * io/open64.c (__libc_open64): Likewise.
5670         * io/open64_2.c (__open64_2): Likewise.
5671         * io/open_2.c (__open_2): Likewise.
5672         * io/openat.c (__openat): Likewise.
5673         * io/openat64.c (__openat64): Likewise.
5674         * io/openat64_2.c (__openat64_2): Likewise.
5675         * io/openat_2.c (__openat_2): Likewise.
5676         * sysdeps/mach/hurd/open.c (__libc_open): Likewise.
5677         * sysdeps/mach/hurd/openat.c (__openat): Likewise.
5678         * sysdeps/posix/open64.c (__libc_open64): Likewise.
5679         * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
5680         * sysdeps/unix/sysv/linux/generic/open.c (__libc_open): Likewise.
5681         (__open_nocancel): Likewise.
5682         * sysdeps/unix/sysv/linux/generic/open64.c (__libc_open64): Likewise.
5683         * sysdeps/unix/sysv/linux/open64.c (__libc_open64): Likewise.
5684         * sysdeps/unix/sysv/linux/openat.c (__OPENAT): Likewise.
5686 2015-02-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
5688         [BZ #14841]
5689         * resolv/gethnamaddr.c (getanswer): Skip logging if
5690         RES_USE_DNSSEC is set.
5691         * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
5693 2015-02-24  Mike Frysinger  <vapier@gentoo.org>
5695         * sysdeps/unix/sysv/linux/hppa/sysdep.h: Include dl-sysdep.h.
5697 2015-02-23  Alexandre Oliva <aoliva@redhat.com>
5699         * include/stdc-predef.h (__STDC_ISO_10646__): Update to
5700         201304L, for Unicode 7.
5702 2015-02-23  H.J. Lu  <hongjiu.lu@intel.com>
5704         [BZ #17836]
5705         * csu/Makefile (extra-objs): Add gmon-start.o if not builing
5706         shared library.  Add gmon-start.os otherwise.
5707         ($(objpfx)g$(start-installed-name)): Use $(objpfx)S%
5708         $(objpfx)gmon-start.os if builing shared library.
5709         ($(objpfx)g$(static-start-installed-name)): Likewise.
5711 2015-02-23  Andreas Schwab  <schwab@suse.de>
5713         * elf/Makefile (CFLAGS-tst-audit2.c): Define.
5715 2015-02-22  Paul Pluzhnikov  <ppluzhnikov@google.com>
5717         [BZ #17269]
5718         * libio/wstrops.c (_IO_wstr_overflow): Guard against integer overflow
5719         (enlarge_userbuf): Likewise.
5721 2015-02-22  Chung-Lin Tang  <cltang@codesourcery.com>
5723         * libio/tst-memstream2.c (TIMEOUT): Define as 100.
5724         * math/atest-exp.c (TIMEOUT): Adjust to 200.
5725         * math/atest-exp2.c (TIMEOUT): Adjust to 300.
5726         * math/atest-sincos.c (TIMEOUT): Adjust to 600.
5728 2015-02-20  Joseph Myers  <joseph@codesourcery.com>
5730         * soft-fp/op-common.h (_FP_FROM_INT): Wrap call to abort in
5731         expression inside statement expression.
5733 2015-02-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
5735         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Include
5736         <sysdeps/nptl/lowlevellock.h> and remove macros and
5737         functions that are now defined there.
5738         (SYS_futex): Remove.
5739         (lll_compare_and_swap): Remove.
5740         * sysdeps/s390/bits/atomic.h (atomic_exchange_acq): Define.
5742 2015-02-19  Joseph Myers  <joseph@codesourcery.com>
5744         [BZ #17999]
5745         * dirent/scandir.c [!SCANDIR] (SCANDIRAT): Define to __scandirat
5746         instead of scandirat.
5747         * dirent/scandirat.c [!SCANDIRAT] (SCANDIRAT): Likewise.
5748         [!SCANDIRAT] (SCANDIRAT_WEAK_ALIAS): Define.
5749         [SCANDIRAT_WEAK_ALIAS] (scandirat): Define as weak alias of
5750         __scandirat.
5751         * include/dirent.h (scandirat): Do not use libc_hidden_proto.
5752         (__scandirat): Declare.  Use libc_hidden_proto.
5753         * conform/Makefile (test-xfail-POSIX2008/dirent.h/linknamespace):
5754         Remove variable.
5755         (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
5757 2015-02-18  Joseph Myers  <joseph@codesourcery.com>
5759         [BZ #15319]
5760         * sysdeps/i386/fpu/e_atan2.S (dbl_min): New object.
5761         (MO): New macro.
5762         (__ieee754_atan2): For results with small absolute value, force
5763         underflow exception and remove excess range and precision from
5764         return value.
5765         * sysdeps/i386/fpu/e_atan2f.S (flt_min): New object.
5766         (MO): New macro.
5767         (__ieee754_atan2f): For results with small absolute value, force
5768         underflow exception and remove excess range and precision from
5769         return value.
5770         * sysdeps/i386/fpu/s_atan.S (dbl_min): New object.
5771         (MO): New macro.
5772         (__atan): For results with small absolute value, force underflow
5773         exception and remove excess range and precision from return value.
5774         * sysdeps/i386/fpu/s_atanf.S (flt_min): New object.
5775         (MO): New macro.
5776         (__atanf): For results with small absolute value, force underflow
5777         exception and remove excess range and precision from return value.
5778         * sysdeps/ieee754/dbl-64/e_atan2.c: Include <float.h> and
5779         <math.h>.
5780         (__ieee754_atan2): Force underflow exception for results with
5781         small absolute value.
5782         * sysdeps/ieee754/dbl-64/s_atan.c: Include <float.h> and
5783         <math_private.h>.
5784         (atan): Force underflow exception for results with small absolute
5785         value.
5786         * sysdeps/ieee754/flt-32/s_atanf.c: Include <float.h>.
5787         (__atanf): Force underflow exception for results with small
5788         absolute value.
5789         * sysdeps/ieee754/ldbl-128/s_atanl.c: Include <float.h> and
5790         <math.h>.
5791         (__atanl): Force underflow exception for results with small
5792         absolute value.
5793         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <float.h>.
5794         (__atanl): Force underflow exception for results with small
5795         absolute value.
5796         * sysdeps/x86/fpu/bits/mathinline.h
5797         [!__SSE2_MATH__ && !__x86_64__ && __LIBC_INTERNAL_MATH_INLINES]
5798         (__ieee754_atan2): Only define inline for long double.
5799         * sysdeps/x86_64/fpu/multiarch/e_atan2.c
5800         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Include <math.h>.
5801         * math/auto-libm-test-in: Do not mark underflow exceptions as
5802         possibly missing for bug 15319.  Add more tests of atan2.
5803         * math/auto-libm-test-out: Regenerated.
5804         * math/libm-test.inc (casin_test_data): Do not mark underflow
5805         exceptions as possibly missing for bug 15319.
5806         (casinh_test_data): Likewise.
5807         * sysdeps/i386/fpu/libm-test-ulps: Update.
5809 2015-02-18  Steve Ellcey  <sellcey@imgtec.com>
5811         * sysdeps/unix/sysv/linux/mips/bits/endian.h: Remove.
5812         * sysdeps/mips/bits/endian.h: Fix comments.
5814 2015-02-18  Joseph Myers  <joseph@codesourcery.com>
5816         [BZ #17996]
5817         * include/search.h (hcreate_r): Don't use libc_hidden_proto.
5818         (hdestroy_r): Likewise.
5819         (hsearch_r): Likewise.
5820         (__hcreate_r): Declare and use libc_hidden_proto.
5821         (__hdestroy_r): Likewise.
5822         (__hsearch_r): Likewise.
5823         * misc/hsearch.c (hsearch): Call __hsearch_r instead of hsearch_r.
5824         (hcreate): Call __hcreate_r instead of hcreate_r.
5825         (__hdestroy): Call __hdestroy_r instead of hdestroy_r.
5826         * misc/hsearch_r.c (hcreate_r): Rename to __hcreate_r and define
5827         as weak alias of __hcreate_r.
5828         (hdestroy_r): Rename to __hdestroy_r and define as weak alias of
5829         __hdestroy_r.
5830         (hsearch_r): Rename to __hsearch_r and define as weak alias of
5831         __hsearch_r.
5832         * conform/Makefile (test-xfail-XPG3/search.h/linknamespace):
5833         Remove variable.
5834         (test-xfail-XPG4/search.h/linknamespace): Likewise.
5835         (test-xfail-UNIX98/search.h/linknamespace): Likewise.
5836         (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
5837         (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
5839 2015-02-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
5841         * malloc/malloc.c (__libc_malloc): Consolidate arena_lookup and
5842         arena_lock into a single arena_get.
5844 2015-02-17  Carlos O'Donell  <carlos@redhat.com>
5846         * dl-reloc.c: Inlucde libc-internal.h.
5847         (_dl_try_allocate_static_tls): Call ALIGN_UP.
5848         (_dl_relocate_object): Call ALIGN_UP, ALIGN_DOWN, and PTR_ALIGN_DOWN.
5849         (_dl_protect_relro): Call ALIGN_UP and ALIGN_DOWN.
5850         * malloc/arena.c (new_heap): Use pagesize. Call ALIGN_UP.
5851         (grow_heap): Likewise.
5852         * malloc/malloc.c: Include libc-internal.h.
5853         (do_check_malloc): Call powerof2.
5854         (sysmalloc): Use pagesize. Call ALIGN_UP.
5855         (systrim): Use pagesize.
5856         (mremap_chunk): Use pagesize. Call ALIGN_UP.
5857         (__libc_valloc): Use pagesize.
5858         (__libc_pvalloc): Use pagesize. Call ALIGN_UP.
5860 2015-02-17  Joseph Myers  <joseph@codesourcery.com>
5862         [BZ #17991]
5863         * include/sys/resource.h (__getrlimit64): Declare.  Use
5864         libc_hidden_proto.
5865         * resource/getrlimit64.c (getrlimit64): Rename to __getrlimit64
5866         and define as weak alias of __getrlimit64.  Use libc_hidden_weak.
5867         * sysdeps/posix/spawni.c (__spawni): Call __getrlimit64 instead of
5868         getrlimit64.
5869         * sysdeps/unix/sysv/linux/getrlimit64.c (getrlimit64): Rename to
5870         __getrlimit64.
5871         [!getrlimit64] (getrlimit64): Define as weak alias of
5872         __getrlimit64.  Use libc_hidden_weak.
5873         * sysdeps/unix/sysv/linux/i386/getrlimit64.c (getrlimit64): Define
5874         using __getrlimit64 not __new_getrlimit64.
5875         (__GI_getrlimit64): Likewise.
5876         * sysdeps/unix/sysv/linux/mips/getrlimit64.c (getrlimit64):
5877         Likewise.
5878         (__GI_getrlimit64): Likewise.
5879         (__old_getrlimit64): Use __getrlimit64 not __new_getrlimit64.
5880         * sysdeps/unix/sysv/linux/powerpc/powerpc64/syscalls.list
5881         (getrlimit): Add __getrlimit64 alias.
5882         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (getrlimit):
5883         Likewise.
5884         * conform/Makefile (test-xfail-XOPEN2K/spawn.h/linknamespace):
5885         Remove variable.
5886         (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
5887         (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
5889 2015-02-17  Paul Pluzhnikov  <ppluzhnikov@google.com>
5891         * libio/fileops.c: Add missing sys/mman.h
5892         * libio/iopopen.c: Add missing fcntl.h, remove redundant unistd.h
5894 2015-02-17  Joseph Myers  <joseph@codesourcery.com>
5896         * manual/math.texi (Errors in Math Functions): Clarify goals
5897         regarding inexact and underflow exceptions.
5899 2015-02-17  Steve Ellcey  <sellcey@imgtec.com>
5901         * sysdeps/mips/memcpy.S: Move R6 PREFETCH_STORE_HINT check.
5902         * sysdeps/mips/memset.S: Ditto.
5904 2015-02-17  Steve Ellcey  <sellcey@imgtec.com>
5906         * sysdeps/mips/bits/endian.h (__MIPSEL): Use #ifdef instead of #if.
5908 2015-02-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
5910         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c
5911         (__v1longjmp): Remove versioned symbol.
5912         (__v1siglongjmp): Remove alias and versioned symbol.
5913         (__v2longjmp): Use DEFINE_LONGJMP instead of alias.
5914         (__v2siglongjmp): Likewise.
5916 2015-02-16  Torvald Riegel  <triegel@redhat.com>
5918         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Remove file.
5920 2015-02-16  Mike Frysinger  <vapier@gentoo.org>
5922         * sysdeps/unix/sysv/linux/ia64/getpagesize.c: Delete.
5924 2015-02-16  Joseph Myers  <joseph@codesourcery.com>
5926         [BZ #17987]
5927         * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Ensure sign of
5928         zero result does not depend on the sign resulting from
5929         subtraction.
5930         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
5931         Likewise.
5932         * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
5933         * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
5934         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
5935         * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
5936         * math/libm-test.inc (remquo_test_data): Add more tests.
5938 2015-02-16  Paul Eggert  <eggert@cs.ucla.edu>
5940         * manual/time.texi (TZ Variable): glibc no longer comes with tzdata.
5941         Problem reported by J William Piggott.
5943 2015-02-16  Joseph Myers  <joseph@codesourcery.com>
5945         [BZ #17978]
5946         * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Do not form
5947         products 4 * y and 2 * y where those would overflow.
5948         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
5949         Likewise.
5950         * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
5951         * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
5952         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
5953         * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
5954         * math/libm-test.inc (remquo_test_data): Add more tests.
5956         * sysdeps/mips/sgidefs.h [!_ABIO64] (_ABIO64): New macro.
5958         * sysdeps/mips/memcpy.S [_COMPILING_NEWLIB]: Change condition to
5959         [defined _COMPILING_NEWLIB].
5960         * sysdeps/mips/memset.S [_COMPILING_NEWLIB]: Likewise.
5961         * sysdeps/mips/strcmp.S [_COMPILING_NEWLIB]: Likewise.
5963         * sysdeps/mips/sys/asm.h [__mips_isa_rev < 6]: Change condition to
5964         [!defined __mips_isa_rev || __mips_isa_rev < 6].
5966 2015-02-16  Torvald Riegel  <triegel@redhat.com>
5968         * nptl/tst-cond25.c (cleanup): Explicitly check that the mutex is
5969         acquired.
5971 2015-02-15  Matthew Fortune <Matthew.Fortune@imgtec.com>
5973         [BZ #17792]
5974         * sysdeps/unix/sysv/linux/ia64/sys/user.h (NBPG): Remove.
5975         (UPAGES, HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR,
5976         HOST_STACK_END_ADDR): Likewise.
5978 2015-02-13  Steve Ellcey  <sellcey@imgtec.com>
5980         * sysdeps/mips/bits/endian.h (__MIPSEB): Use #ifdef instead of #if.
5981         * sysdeps/mips/memcpy.S (__MIPSEB): Ditto.
5982         * sysdeps/mips/memset.S (__MIPSEB): Ditto.
5984 2015-02-13  Roland McGrath  <roland@hack.frob.com>
5986         * sysdeps/generic/c++-types.data: New file.
5987         * sysdeps/generic/ld.abilist: New file.
5988         * sysdeps/generic/libBrokenLocale.abilist: New file.
5989         * sysdeps/generic/libanl.abilist: New file.
5990         * sysdeps/generic/libc.abilist: New file.
5991         * sysdeps/generic/libcrypt.abilist: New file.
5992         * sysdeps/generic/libdl.abilist: New file.
5993         * sysdeps/generic/libm.abilist: New file.
5994         * sysdeps/generic/libpthread.abilist: New file.
5995         * sysdeps/generic/libresolv.abilist: New file.
5996         * sysdeps/generic/librt.abilist: New file.
5998 2015-02-13  Joseph Myers  <joseph@codesourcery.com>
6000         [BZ #17569]
6001         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
6002         Compute absolute value of x as modified by fmod, not original
6003         value of x.
6004         * math/libm-test.inc (RUN_TEST_ffI_f1): Rename to
6005         RUN_TEST_ffI_f1_mod8.  Check extra return value mod 8.
6006         (RUN_TEST_LOOP_ffI_f1): Rename to RUN_TEST_LOOP_ffI_f1_mod8.  Call
6007         RUN_TEST_ffI_f1_mod8.
6008         (remquo_test_data): Add more tests.
6010 2015-02-13  Roland McGrath  <roland@hack.frob.com>
6012         * sysdeps/init_array/pt-crti.S: New file.
6014 2015-02-13  Joseph Myers  <joseph@codesourcery.com>
6016         [BZ #17967]
6017         * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Use
6018         __builtin_fmaf instead of relying on contraction of a * b + c.
6020 2015-02-12  J William Piggott  <elseifthen@gmx.com>
6022         [BZ #17969]
6023         * manual/time.texi: correct the zoneinfo path in the TZ Variable
6024         node.
6026 2015-02-12  Joseph Myers  <joseph@codesourcery.com>
6028         [BZ #17964]
6029         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Use
6030         __builtin_fma instead of relying on contraction of a * b + c.
6032 2015-02-12  Roland McGrath  <roland@hack.frob.com>
6034         * Makeconfig (ASFLAGS): Add -Werror=undef.
6035         * sysdeps/arm/Versions (libc: GLIBC_2.19): New (empty) version set.
6036         * sysdeps/unix/make-syscalls.sh: Always emit #define's for
6037         SYSCALL_CANCELLABLE, SYSCALL_NOERRNO, SYSCALL_ERRVAL, to 1 or 0.
6039         * Makeconfig (after-link): New variable.
6040         (+link-pie, +link-pie-tests): Use it.
6041         (+link-static, +link-static-tests): Likewise.
6042         (+link, +link-tests): Likewise.
6043         * Makerules (build-module, build-module-asneeded): Likewise.
6044         (lib%.so, $(common-objpfx)libc.so, $(common-objpfx)linkobj/libc.so):
6045         Likewise.
6046         * elf/Makefile ($(objpfx)ld.so): Likewise.
6048 2015-02-12  Rüdiger Sonderfeld  <ruediger@c-plusplus.net>
6050         [BZ #17965]
6051         * manual/time.texi (Elapsed Time): tv_sec is of type time_t in
6052         both struct timeval and struct timespec.
6054 2015-02-12  Joseph Myers  <joseph@codesourcery.com>
6056         [BZ #16560]
6057         * math/e_exp2l.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
6058         and redefine.
6059         (__ieee754_exp2l): Do not multiply small fractional parts by
6060         M_LN2l.
6061         * sysdeps/i386/fpu/e_exp2l.S (__ieee754_exp2l): Just add 1 to
6062         small argument.
6063         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
6064         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
6065         * sysdeps/x86_64/fpu/e_exp2l.S (__ieee754_exp2l): Likewise.
6066         * math/auto-libm-test-in: Add more tests of exp2.
6067         * math/auto-libm-test-out: Regenerated.
6069 2015-02-12  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
6071         * sysdeps/powerpc/powerpc64/power7/strncpy.S (strncpy): Optimize
6072         unaligned path.
6074 2015-02-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6076         * sysdeps/unix/sysv/linux/powerpc/htm.h [TABORT]: Fix encoding for
6077         little endian.
6079 2015-02-12  Andreas Schwab  <schwab@suse.de>
6081         [BZ #15790]
6082         * nptl/pthread_mutexattr_gettype.c (pthread_mutexattr_gettype):
6083         Filter out elision flags from value returned in kind.
6084         * nptl/Makefile (tests): Add tst-pthread-mutexattr.
6085         * nptl/tst-pthread-mutexattr.c: New file.
6087 2015-02-11  Samuel Thibault  <samuel.thibault@ens-lyon.org>
6089         * abi-tags: Revert ae20c9a: rename back gnu into gnu-gnu.
6090         * configure.ac, configure: Revert ba90e05: modify gnu-* host_os back
6091         into gnu-gnu, and update comment to refer to abi-tags.
6093 2015-02-11  Joseph Myers  <joseph@codesourcery.com>
6095         [BZ #15467]
6096         * sysdeps/ieee754/dbl-64/s_sincos.c: Include <errno.h>.
6097         (__sincos): Set errno to EDOM for infinite argument.
6098         * sysdeps/ieee754/flt-32/s_sincosf.c: Include <errno.h>.
6099         (SINCOSF_FUNC): Set errno to EDOM for infinite argument.
6100         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Include <errno.h>.
6101         (__sincosl): Set errno to EDOM for infinite argument.
6102         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Include <errno.h>.
6103         (__sincosl): Set errno to EDOM for infinite argument.
6104         * sysdeps/ieee754/ldbl-96/s_sincosl.c: Include <errno.h>.
6105         (__sincosl): Set errno to EDOM for infinite argument.
6106         * math/libm-test.inc (sincos_test_data): Test errno setting.
6108 2015-02-11  Leonhard Holz  <leonhard.holz@web.de>
6110         * string/strxfrm_l.c: Remove #define STRCMP.
6111         * string/strcoll_l.c: Remove #define STRLEN.
6112         * wcsmbs/wcsxfrm_l.c: Remove #define STRCMP.
6113         * wcsmbs/wcscoll_l.c: Remove #define STRLEN.
6115 2015-02-10  Joseph Myers  <joseph@codesourcery.com>
6117         * sysdeps/mips/soft-fp/sfp-machine.h: Move to ....
6118         * sysdeps/mips/mips32/sfp-machine.h: ... here.
6119         * sysdeps/mips/mips64/soft-fp/Makefile: Move to ....
6120         * sysdeps/mips/mips64/Makefile: ... here.
6121         * sysdeps/mips/mips64/soft-fp/e_sqrtl.c: Move to ....
6122         * sysdeps/mips/mips64/e_sqrtl.c: ... here.
6123         * sysdeps/mips/mips64/soft-fp/sfp-machine.h: Move to ....
6124         * sysdeps/mips/mips64/sfp-machine.h: ... here.
6125         * sysdeps/mips/mips32/Implies: Remove mips/soft-fp.
6126         * sysdeps/mips/mips64/n32/Implies: Remove mips/mips64/soft-fp.
6127         * sysdeps/mips/mips64/n64/Implies: Likewise.
6129 2015-02-10  Roland McGrath  <roland@hack.frob.com>
6131         * math/test-snan.c: Drop unnecessary #include's of <stdlib.h>,
6132         <sys/time.h>, <string.h>, and <errno.h>.
6133         (dest_offset, dest_address, value, zero): Remove unused variables.
6134         (ldouble): Remove typedef.
6135         (myFPsighandler): Use simple handler signature, not SA_SIGINFO
6136         signature.  Pass 1 to siglongjmp rather than 0 (which is converted to
6137         1).  Fix code style.
6138         (set_sigaction_FP, remove_sigaction_FP): Functions removed.
6139         (check): Function removed.
6140         (CHECK): New macro.
6141         (TEST_FUNC): Fix code style.  Use CHECK macro rather than repeating
6142         boilerplate feclearexcept + feenableexcept + sigsetjmp code.
6143         Don't call set_sigaction_FP and remove_sigaction_FP here.
6144         (ldouble_test): Just use 'long double' as macro argument, no need for
6145         the 'ldouble' typedef.
6146         (do_test): Set up SIGFPE handler at start, using plain signal rather
6147         than sigaction.  Fix code style.
6149 2015-02-10  Evangelos Foutras  <evangelos@foutrelis.com>
6151         [BZ #17949]
6152         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Fix position of
6153         jump label.
6155 2015-02-09  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
6157         * sysdeps/powerpc/powerpc32/configure.ac: Remove R_PPC_REL16 check.
6158         * sysdeps/powerpc/powerpc32/configure: Regenerated.
6160         * sysdeps/powerpc/configure.ac: Remove file.
6161         * sysdeps/powerpc/configure: Likewise.
6163         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
6164         [sysdep_routines]: Remove wordcopy-power6 object.
6165         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
6166         (__memmove_power7): Use local call for wordcopy and memcpy symbols.
6167         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c
6168         (__memmove_ppc32): Likewise.
6169         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: Remove
6170         file.
6171         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Remove file.
6172         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c [IS_IN (libc)]:
6173         Remove preprocessor.
6175         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
6176         [sysdep_routines]: Remove wide chars objects.
6177         [wcsmbs]: New rule for wide char objects.
6179         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
6180         Remove wordcopy-power6 obejct.
6181         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c (__memmove_ppc):
6182         Use local call for wordcopy and memcpy symbols.
6183         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: Remove file.
6184         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: Add default
6185         implementation for loader.
6186         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Remove file.
6188         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
6189         Remove wordcopy-power7 object.
6190         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: Remove file.
6191         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c
6192         (_wordcopy_fwd_aligned): Remove POWER7 specialization.
6193         (_wordcopy_fwd_dest_aligned): Likewise.
6194         (_wordcopy_bwd_aligned): Likewise.
6195         (_wordcopy_bwd_dest_aligned): Likewise.
6197         * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c (__bcopy_ppc):
6198         Rewrite to call __memmove_ppc instead of include default
6199         implementation.
6201         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
6202         Remove wide chars objects.
6203         [wcsmbs]: New rule for wide char objects.
6205 2015-02-09  Andreas Schwab  <schwab@suse.de>
6207         [BZ #17912]
6208         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
6209         in terms of __O_DIRECTORY.
6211 2015-02-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
6213         * time/getdate.c: Include <stdbool.h>.
6214         * sysdeps/gnu/unwind-resume.c [!PTR_MANGLE] (__libgcc_s_init): Do not
6215         call PTR_MANGLE.
6216         [!PTR_DEMANGLE] (_Unwind_Resume, __gcc_personality_v0): Do not call
6217         PTR_DEMANGLE.
6219 2015-02-07  Paul Eggert  <eggert@cs.ucla.edu>
6221         Add ersatz _Static_assert on older C hosts
6222         * misc/sys/cdefs.h (_Static_assert): Define a substitute, if on a
6223         pre-C11 C platform that is not known to support _Static_assert.
6225 2015-02-07  Richard Braun  <rbraun@sceen.net>
6227         * hurd/hurd/signal.h (_hurd_critical_section_lock): Don't unlock
6228         sigstate.
6229         * sysdeps/mach/hurd/mmap.c (__mmap): Also handle PROT_NONE case.
6231 2015-02-07  Samuel Thibault  <samuel.thibault@ens-lyon.org>
6233         * sysdeps/pthread/aio_misc.c [!AIO_PRIO_DELTA_MAX]: Do not check
6234         priority against unexistent AIO_PRIO_DELTA_MAX.
6235         * misc/chflags.c (chflags): Set flags parameter type to unsigned long
6236         instead of int.
6237         * misc/fchflags.c (fchflags): Likewise.
6238         * sysdeps/mach/hurd/chflags.c (chflags): Likewise.
6239         * sysdeps/mach/hurd/fchflags.c (fchflags): Likewise.
6240         * sysdeps/mach/hurd/bits/stat.h [__USE_MISC] (UF_SETTABLE, UF_NODUMP,
6241         UF_IMMUTABLE, UF_APPEND, UF_OPAQUE, UF_NOUNLINK, SF_SETTABLE,
6242         SF_ARCHIVED, SF_IMMUTABLE, SF_APPEND, SF_NOUNLINK, SF_SNAPSHOT):
6243         Declare macros.
6244         [__USE_MISC] (chflags, fchflags): Declare functions.
6245         * hurd/hurdselect.c (_hurd_select): In the poll case, do not return
6246         EINVAL when nfds is greater than FD_SETSIZE.
6247         * hurd/hurd/resource.h (MACH_PRIORITY_TO_NICE,
6248         NICE_TO_MACH_PRIORITY): Align nice levels on Mach priorities from 5 to
6249         45.
6250         * hurd/hurdselect.c (_hurd_select): Pass MACH_RCV_INTERRUPT to
6251         __mach_msg.  If that returns MACH_RCV_INTERRUPTED, set ERR to EINTR.
6252         * hurd/hurdselect.c (_hurd_select): Remove unreachable check for
6253         MACH_RCV_TIMED_OUT.
6254         * hurd/hurd/signal.h (_hurd_self_sigstate,
6255         _hurd_critical_section_lock, _hurd_critical_section_unlock):
6256         Explicit casts from void *.
6257         * sysdeps/mach/hurd/tls.h: Include <stdint.h> and <sysdep.h>.
6258         * abi-tags: Rename gnu-gnu os into gnu.
6260         [BZ #4719]
6261         * sysdeps/mach/hurd/bits/ioctls.h (_IOT__IOTBASE_long, _IOT_char,
6262         _IOT_short, _IOT_int, _IOT_long, _IOT__IOTBASE_int8_t,
6263         _IOT__IOTBASE_uint8_t, _IOT__IOTBASE_int16_t, _IOT__IOTBASE_uint16_t,
6264         _IOT__IOTBASE_int32_t, _IOT__IOTBASE_uint32_t, _IOT__IOTBASE_int64_t,
6265         _IOT__IOTBASE_uint64_t, _IOT__IOTBASE_size_t, _IOT__IOTBASE_ssize_t,
6266         _IOTBASE_unsigned, _IOTBASE_signed): Define macros.
6268         [BZ #17944]
6269         * hurd/hurdsocket.h: New file, defines _hurd_sun_path_dupa which
6270         duplicates ADDR->sun_path with sockaddr LEN limitation.
6271         * sysdeps/mach/hurd/connect.c: Include <string.h>
6272         (__connect): Give result of _hurd_sun_path_dupa to name lookup.
6273         * sysdeps/mach/hurd/sendmsg.c: Likewise.
6274         * sysdeps/mach/hurd/sendto.c: Likewise.
6275         * sysdeps/mach/hurd/bind.c: Call _hurd_sun_path_dupa instead of
6276         implementing it by hand.
6278 2015-02-06  Roland McGrath  <roland@hack.frob.com>
6280         * sysdeps/arm/sysdep.h [!PROF] [ARCH_HAS_T2 && !PIC] (LDR_GLOBAL):
6281         Use sfi_breg on ldr.
6282         [!PROF] [ARCH_HAS_T2 && PIC && ARM_PCREL_MOVW_OK] (LDR_GLOBAL):
6283         Likewise.
6285         * nptl/tst-cancel25.c (tf2): Test for SIGCANCEL being blocked only if
6286         it's defined.
6287         * nptl/tst-signal7.c (do_test): Test SIGCANCEL only if it's defined.
6288         Test SIGSETXID only if it's defined.
6290         * nptl/tst-locale1.c (useless): Use SIGRTMIN only if it's defined.
6292         * rt/tst-timer2.c (do_test): Don't initialize SIGEV.sigev_signo, which
6293         will not be used.  Use NULL rather than 0 for .sigev_notify_attributes.
6295         * nptl/tst-align2.c: Moved ...
6296         * sysdeps/unix/sysv/linux/tst-align-clone.c: ... here.
6297         * nptl/Makefile (tests): Remove tst-align2.
6298         * sysdeps/unix/sysv/linux/Makefile
6299         [$(subdir) = nptl] (tests): Add tst-align-clone.
6300         * nptl/tst-getpid1.c: Moved ...
6301         * sysdeps/unix/sysv/linux/tst-getpid1.c: ... here.
6302         * nptl/tst-getpid2.c: Moved ...
6303         * sysdeps/unix/sysv/linux/tst-getpid2.c: ... here.
6304         * nptl/Makefile (tests): Move tst-getpid1 and tst-getpid2 ...
6305         * sysdeps/unix/sysv/linux/Makefile
6306         [$(subdir) = nptl] (tests): ... here.
6307         * nptl/Makefile (tst-getpid2-ENV): Move variable ...
6308         * sysdeps/unix/sysv/linux/Makefile
6309         [$(subdir) = nptl] (tst-getpid2-ENV): ... here.
6311         * nptl/tst-cleanup2.c (do_test): Use signal rather than sigaction.
6312         Drop trailing \n from perror argument.  Use return rather than exit.
6314         * nptl/tst-cancel20.c (do_test): Conditionalize SA_SIGINFO-using tests
6315         on [SA_SIGINFO].
6316         * nptl/tst-cancel21.c (do_test): Likewise.
6317         * debug/tst-backtrace6.c: Include <signal.h> first thing.
6318         Conditionalize inclusion of tst-backtrace5.c on [SA_SIGINFO].
6319         [!SA_SIGINFO]: Make it a stub test.
6321         * misc/tst-pselect.c (do_test): Don't set SA_NOCLDWAIT in sa_flags for
6322         SIGCHLD; it's redundant with SIG_IGN as sa_handler.
6324         * posix/tst-getlogin.c: Move to ...
6325         * login/tst-getlogin.c: ... here.
6326         * posix/Makefile (tests): Move tst-getlogin to ...
6327         * login/Makefile (tests): ... here.
6329         * libio/tst-atime.c (do_test): Move local variables SV and E
6330         inside [ST_NOATIME] conditional.
6332         * dirent/tst-fdopendir.c (O_NOATIME): If not defined, #define to 0.
6334         * nptl/tst-kill5.c (do_test): Use INT_MAX rather than SIGRTMAX + 10.
6336         * nptl/tst-join5.c: Drop #include <sys/syscall.h>.
6337         (wait_code): New function replaces macro.
6338         Call nanosleep rather than syscall.
6340         * nptl/pt-system.c: Rewritten.  Put everything under
6341         [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
6342         Use IFUNC to redirect when possible.
6344         * nptl/pt-longjmp.c: Rewritten.  Put everything under
6345         [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
6346         Use IFUNC to redirect when possible.
6348         * nptl/pt-fork.c: Rewritten.  Put everything under
6349         [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
6350         Use IFUNC to redirect when possible.
6351         * nptl/Versions (libpthread: GLIBC_2.22): New (empty) version set.
6353         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: Remove all
6354         code under [!__ASSUME_FUTEX_CLOCK_REALTIME], since that is defined
6355         unconditionally nowadays.  This included the only reference to
6356         __vdso_clock_gettime that appears outside libc proper.
6357         * sysdeps/unix/sysv/linux/x86_64/Versions (libc: GLIBC_PRIVATE):
6358         Remove version set (containing only __vdso_clock_gettime).
6359         * sysdeps/unix/sysv/linux/x86/libc-vdso.h (__vdso_clock_gettime):
6360         Add attribute_hidden.
6361         * sysdeps/unix/sysv/linux/i386/init-first.c (__vdso_clock_gettime):
6362         Likewise.  Drop __attribute__ ((nocommon)), libc_hidden_proto, and
6363         libc_hidden_data_def.
6364         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
6365         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
6367         * inet/Versions (libc: GLIBC_2.0): Move getrpcbyname, getrpcbyname_r,
6368         getrpcbynumber, getrpcbynumber_r, getrpcent, getrpcent_r, endrpcent,
6369         setrpcent, and getrpcport to ...
6370         * sunrpc/Versions (libc: GLIBC_2.0): ... here.
6371         * inet/Versions (libc: GLIBC_2.1.2): Move getrpcbyname_r,
6372         getrpcbynumber_r, and getrpcent_r to ...
6373         * sunrpc/Versions (libc: GLIBC_2.1.2): ... this new set.
6374         * inet/getrpcbyname.c: Moved ...
6375         * sunrpc/getrpcbyname.c: ... here.
6376         * inet/getrpcbyname_r.c: Moved ...
6377         * sunrpc/getrpcbyname_r.c: ... here.
6378         * inet/getrpcbynumber.c: Moved ...
6379         * sunrpc/getrpcbynumber.c: ... here.
6380         * inet/getrpcbynumber_r.c: Moved ...
6381         * sunrpc/getrpcbynumber_r.c: ... here.
6382         * inet/getrpcent.c: Moved ...
6383         * sunrpc/getrpcent.c: ... here.
6384         * inet/getrpcent_r.c: Moved ...
6385         * sunrpc/getrpcent_r.c: ... here.
6386         * inet/Makefile (routines): Move those to ...
6387         * sunrpc/Makefile (routines): ... here.
6388         * nss/Makefile (databases): Add key and rpc only if sunrpc appears in
6389         the $(subdirs) list.
6390         (CPPFLAGS-getent.c): New variable.  Pass -D option to set HAVE_SUNRPC
6391         to 0 or 1, indicating whether sunrpc appears in the $(subdirs) list.
6392         * nss/getent.c (print_rpc, rpc_keys): Conditionalize on [HAVE_SUNRPC].
6393         (databases): Conditionalize rpc entry on [HAVE_SUNRPC].
6395         * elf/Makefile (routines): Include $(all-dl-routines), not just
6396         $(dl-routines).
6397         (rtld-routines): Likewise.  Use = rather than :=.
6398         * sysdeps/aarch64/Makefile [$(subdir) = elf]
6399         (sysdep_routines, sysdep-rtld-routines): Don't add tlsdesc and
6400         dl-tlsdesc to these; sysdep-dl-routines alone is enough.
6401         * sysdeps/arm/Makefile: Likewise.
6402         * sysdeps/i386/Makefile: Likewise.
6403         * sysdeps/x86_64/Makefile: Likewise.
6404         * sysdeps/hppa/Makefile [$(subdir) = elf]
6405         (sysdep_routines, sysdep-rtld-routines): Don't add
6406         $(sysdep-dl-routines) to these.
6407         * sysdeps/ia64/Makefile: Likewise.
6408         * sysdeps/unix/sysv/linux/ia64/Makefile: Likewise.
6409         * sysdeps/unix/sysv/linux/aarch64/Makefile [$(subdir) = elf]
6410         [$(build-shared) = yes] (sysdep_routines, sysdep-rtld-routines):
6411         Don't add dl-static to these; sysdep-dl-routines alone is enough.
6412         * sysdeps/unix/sysv/linux/m68k/Makefile: Likewise.
6413         * sysdeps/unix/sysv/linux/mips/Makefile: Likewise.
6414         * sysdeps/unix/sysv/linux/powerpc/Makefile: Likewise.
6415         * sysdeps/unix/sysv/linux/tile/Makefile: Likewise.
6416         * sysdeps/powerpc/Makefile [$(subdir) = elf]
6417         (sysdep_routines, sysdep-rtld-routines): Don't add dl-machine to
6418         these; sysdep-dl-routines alone is enough.
6420 2015-02-06  Joseph Myers  <joseph@codesourcery.com>
6422         [BZ #17932]
6423         * soft-fp/op-common.h (_FP_FMA): Set exponent of result in case
6424         where multiplication results in zero and third argument is finite
6425         and nonzero.
6426         * math/auto-libm-test-in: Add more tests of fma.
6427         * math/auto-libm-test-out: Regenerated.
6429         * soft-fp/op-common.h (_FP_CMP_CHECK_DENORM): New macro.
6430         (_FP_CMP_CHECK_FLUSH_ZERO): Likewise.
6431         (_FP_CMP): Use_FP_CMP_CHECK_DENORM and _FP_CMP_CHECK_FLUSH_ZERO.
6432         (_FP_CMP_EQ): Likewise.
6433         (_FP_CMP_UNORD): Use _FP_CMP_CHECK_DENORM.
6435         * soft-fp/op-common.h (FP_EXTEND): Rename to _FP_EXTEND_CNAN with
6436         extra argument CHECK_NAN.  Redefine as wrapper around
6437         _FP_EXTEND_CNAN.
6439 2015-02-06  Carlos O'Donell  <carlos@systemhalted.org>
6441         * version.h (RELEASE): Set to "stable".
6442         (VERSION): Set to "2.21"
6443         * include/features.h (__GLIBC_MINOR__): Set to 21.
6445         * sysdeps/unix/sysv/linux/hppa/pthread.h: Sync with pthread.h.
6447 2015-02-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
6448             Paul Eggert  <eggert@cs.ucla.edu>
6450         [BZ #16618]
6451         * stdio-common/tst-sscanf.c (main): Test for buffer overflow.
6452         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Compute needed
6453         size in bytes. Store needed elements in wpmax. Use needed size
6454         in bytes for extend_alloca.
6456 2015-02-05  Carlos O'Donell  <carlos@systemhalted.org>
6458         * manual/install.texi: Latest tested versions are GCC 4.9.2,
6459         binutls 2.25, and texinfo 5.2.
6460         * INSTALL: Regenerate.
6461         * sysdeps/nios2/configure: Regenerate.
6462         * sysdeps/unix/sysv/linux/nios2/configure: Regenerate.
6463         * manual/contrib.texi: Update.
6464         * po/be.po: Update.
6465         * po/bg.po: Update.
6466         * po/ca.po: Update.
6467         * po/cs.po: Update.
6468         * po/da.po: Update.
6469         * po/de.po: Update.
6470         * po/el.po: Update.
6471         * po/eo.po: Update.
6472         * po/es.po: Update.
6473         * po/fi.po: Update.
6474         * po/fr.po: Update.
6475         * po/gl.po: Update.
6476         * po/hr.po: Update.
6477         * po/hu.po: Update.
6478         * po/ia.po: Update.
6479         * po/id.po: Update.
6480         * po/it.po: Update.
6481         * po/ja.po: Update.
6482         * po/ko.po: Update.
6483         * po/lt.po: Update.
6484         * po/nb.po: Update.
6485         * po/nl.po: Update.
6486         * po/pl.po: Update.
6487         * po/pt_BR.po: Update.
6488         * po/ru.po: Update.
6489         * po/rw.po: Update.
6490         * po/sk.po: Update.
6491         * po/sl.po: Update.
6492         * po/sv.po: Update.
6493         * po/tr.po: Update.
6494         * po/uk.po: Update.
6495         * po/vi.po: Update.
6496         * po/zh_CN.po: Update.
6497         * po/zh_TW.po: Update.
6499         * sysdeps/hppa/Makefile (CFLAGS-dl-fptr.c): Add -Wno-error.
6500         * sysdeps/hppa/bits/setjmp.h: Union is named __jmp_buf_internal_tag.
6501         * sysdeps/hppa/dl-irel.h: Remove #warning.
6502         * sysdeps/hppa/entry.h: Provide prototype for
6503         __canonicalize_funcptr_for_compare and cast argument.
6504         * sysdeps/hppa/fpu/fegetexcept.c (fegetexcept): Add semicolon.
6505         * sysdeps/hppa/fpu/ftestexcept.c (fetestexcept): Likewise.
6506         * sysdeps/hppa/sotruss-lib.c: New file.
6507         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h
6508         (atomic_compare_and_exchange_val_acq): Use __typeof__.
6509         (atomic_compare_and_exchange_bool_acq): Likewise.
6510         * sysdeps/unix/sysv/linux/hppa/mmap.c: Use weak alias.
6511         * sysdeps/unix/sysv/linux/hppa/pthread.h: Include pthread.h.
6513         * sysdeps/unix/sysv/linux/hppa/syscall.S: Delete file.
6514         * sysdeps/unix/sysv/linux/hppa/sysdep.c: Move syscall from here...
6515         * sysdeps/unix/sysv/linux/hppa/syscall.c: ... to here.
6517 2015-02-05  Chung-Lin Tang  <cltang@codesourcery.com>
6519         * sysdeps/nios2/machine-gmon.h (NIOS2_MCOUNT_CALL): Correct name of
6520         called function in non-PIC case.
6522 2015-01-31  David S. Miller  <davem@davemloft.net>
6524         * sysdeps/sparc/sparc32/bits/atomic.h
6525         (__sparc32_atomic_do_unlock24): Put the memory barrier before the
6526         unlock not after it.
6527         (__v9_compare_and_exchange_val_32_acq): Use unions to avoid getting
6528         volatile register usage warnings from the compiler.
6530         * sysdeps/sparc/nptl/sem_init.c: Delete.
6531         * sysdeps/sparc/nptl/sem_post.c: Delete.
6532         * sysdeps/sparc/nptl/sem_timedwait.c: Delete.
6533         * sysdeps/sparc/nptl/sem_wait.c: Delete.
6534         * sysdeps/sparc/sparc32/sem_init.c: New file.
6535         * sysdeps/sparc/sparc32/sem_waitcommon.c: New file.
6536         * sysdeps/sparc/sparc32/sem_open.c: Generic nptl version with
6537         padding explicitly initialized.
6538         * sysdeps/sparc/sparc32/sem_post.c: Generic nptl version using
6539         padding for in-semaphore spinlock.
6540         * sysdeps/sparc/sparc32/sem_wait.c: Likewise.
6541         * sysdeps/sparc/sparc32/sem_trywait.c: Delete.
6542         * sysdeps/sparc/sparc32/sem_timedwait.c: Delete.
6543         * sysdeps/sparc/sparc32/sparcv9/sem_init.c: New file.
6544         * sysdeps/sparc/sparc32/sparcv9/sem_open.c: New file.
6545         * sysdeps/sparc/sparc32/sparcv9/sem_post.c: New file.
6546         * sysdeps/sparc/sparc32/sparcv9/sem_waitcommon.c: New file.
6547         * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: Redirect to nptl
6548         version.
6549         * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: Delete.
6550         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Delete.
6552 2015-01-30  H.J. Lu  <hongjiu.lu@intel.com>
6554         [BZ #17801]
6555         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
6556         Set the bit_AVX_Fast_Unaligned_Load bit for AVX2.
6557         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX_Fast_Unaligned_Load):
6558         New.
6559         (index_AVX_Fast_Unaligned_Load): Likewise.
6560         (HAS_AVX_FAST_UNALIGNED_LOAD): Likewise.
6561         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Check the
6562         bit_AVX_Fast_Unaligned_Load bit instead of the bit_AVX_Usable bit.
6563         * sysdeps/x86_64/multiarch/memcpy_chk.S (__memcpy_chk): Likewise.
6564         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy): Likewise.
6565         * sysdeps/x86_64/multiarch/mempcpy_chk.S (__mempcpy_chk): Likewise.
6566         * sysdeps/x86_64/multiarch/memmove.c (__libc_memmove): Replace
6567         HAS_AVX with HAS_AVX_FAST_UNALIGNED_LOAD.
6568         * sysdeps/x86_64/multiarch/memmove_chk.c (__memmove_chk): Likewise.
6570 2015-01-29  Andreas Schwab  <schwab@suse.de>
6572         * sysdeps/nptl/allocrtsig.c: Include <signal.h>.
6574 2015-01-29  Siddhesh Poyarekar <siddhesh@redhat.com>
6576         [BZ #17892]
6577         * nscd/nscd_stat.c (send_stats): Initialize DATA.
6579 2015-01-28  Martin Sebor  <msebor@redhat.com>
6581         * math/README.libm-test: Clarify. Add "How to read the test output."
6583 2015-01-28  Chris Metcalf  <cmetcalf@ezchip.com>
6585         * sysdeps/tile/tilegx/bits/atomic.h [!_LP64] (__HAVE_64B_ATOMICS):
6586         Define to 0.
6588 2015-01-28  Joseph Myers  <joseph@codesourcery.com>
6590         * sysdeps/mips/bits/atomic.h [_MIPS_SIM == _ABIN32]
6591         (__HAVE_64B_ATOMICS): Define to 0.
6593 2015-01-28  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
6595         [BZ #17885]
6596         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Fix correct
6597         value to set as new flag.
6599         [BZ #16576]
6600         * sysdeps/powerpc/fpu/math_private.h [__CPU_HAS_FSQRT]: Remove define
6601         and use _ARCH_PPCSQ instead.
6602         (__ieee754_sqrt): Likewise.
6603         (__ieee754_sqrtf): Likewise.
6604         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Build only if
6605         _ARCH_PPCSQ is defined.
6606         (__ieee754_sqrt): Use _ARCH_PPCSQ to select wheter to use hardware
6607         fsqrt instruction.
6608         * sysdeps/powerpc/fpu/e_sqrtf.c (__ieee754_sqrtf): Build only if
6609         _ARCH_PPCSQ is defined.
6610         (__ieee754_sqrtf): Use _ARCH_PPCSQ to select wheter to use hardware
6611         fsqrts instruction.
6612         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Remove file.
6614 2015-01-27  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
6616         * iconv/loop.c: Suppress array out of bound warning caused by GCC
6617         bug (GCC BZ #64739).
6619 2015-01-25  Andreas Schwab  <schwab@linux-m68k.org>
6621         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h (lll_futex_requeue):
6622         Mark _retval as used.
6623         (lll_futex_wake_unlock): Likewise.
6624         (lll_futex_timed_wait_requeue_pi): Likewise.
6626         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
6627         (atomic_compare_and_exchange_val_acq): Use uint32_t for the
6628         register variables.
6630         * sysdeps/m68k/m680x0/fpu/fraiseexcpt.c (__feraiseexcept): Use
6631         libm_hidden_def.
6633         * sysdeps/m68k/bits/byteswap.h (__bswap_16, __bswap_32)
6634         (__bswap_64): Mark as __always_inline.
6636 2015-01-25  Bram  <bug_rh@spam.wizbit.be>
6638         [BZ #15378]
6639         * elf/dl-load.c (open_path): Avoid writing to 'env_path_list'
6640         when none of the search directories exist.
6642 2015-01-24  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
6644         [BZ #17869]
6645         * sysdeps/powerpc/powerpc64/power8/memset.S: Use power7 instead of
6646         power8 in .machine directive.
6648         [BZ #17868]
6649         * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Force value
6650         set dependency from opd value.
6652 2015-01-23  H.J. Lu  <hongjiu.lu@intel.com>
6654         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
6655         Treat model numbers 0x4a/0x4d/0x5a/0x5d as Intel Silvermont
6656         architecture.
6658 2015-01-23  H.J. Lu  <hongjiu.lu@intel.com>
6660         [BZ #17870]
6661         * nptl/sem_post.c (__new_sem_post): Replace unsigned long int
6662         with uint64_t.
6663         * nptl/sem_waitcommon.c (__sem_wait_cleanup): Replace 1UL with
6664         (uint64_t) 1.
6665         (__new_sem_wait_fast): Replace unsigned long with uint64_t.
6666         (__new_sem_wait_slow): Replace unsigned long int with uint64_t.
6667         Replace 1UL with (uint64_t) 1.
6668         * sysdeps/nptl/internaltypes.h (new_sem): Replace unsigned long
6669         int with uint64_t.
6671 2015-01-23  Roland McGrath  <roland@hack.frob.com>
6673         * inet/if_index.c (if_nameindex): Add missing libc_hidden_weak.
6674         (if_freenameindex): Likewise.
6676         * resource/getrlimit64.c: Add missing libc_hidden_def.
6678 2015-01-22  Joseph Myers  <joseph@codesourcery.com>
6680         * soft-fp/op-common.h (_FP_ADD_INTERNAL): Declare labels with
6681         __label__.
6682         (_FP_FMA): Likewise.
6683         (_FP_TO_INT_ROUND): Likewise.
6684         (_FP_FROM_INT): Likewise.
6686 2015-01-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6688         [BZ #16418]
6689         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c (__get_clockfreq):
6690         Make code racy and cancel safe.
6692 2015-01-21  Carlos O'Donell  <carlos@redhat.com>
6694         * sysdeps/arm/unwind-resume.h: Fix copyright year.
6695         * dlfcn/tst-rec-dlopen.c: Fix incorrect copyright year and
6696         attribution.
6698         * pwd/tst-getpw.c: Rewrite.
6700         [BZ #17702]
6701         * dlfcn/Makefile (tests): Add tst-rec-dlopen.
6702         (modules-names): Add moddummy1 and moddummy2.
6703         ($(objpfx)tst-rec-dlopen): Define.
6704         * dlfcn/moddummy1.c: New file.
6705         * dlfcn/moddummy2.c: New file.
6706         * dlfcn/tst-rec-dlopen.c: New file.
6707         * elf/dl-cache.c (_dl_load_cache_lookup):
6708         Return char*. Copy result with alloca/strcpy/strdup.
6709         * elf/dl-load.c (_dl_map_object): _dl_load_cached_lookup
6710         returns char*. Free cached. If not saving realname
6711         free cached.
6712         * elf/dl-open.c (dl_open_worker): Do not assert that
6713         _r_debug->r_state is RT_CONSISTENT.
6714         * sysdeps/generic/ldsodefs.h: _dl_load_cache_lookup
6715         returns char*.
6717 2015-01-21  Torvald Riegel  <triegel@redhat.com>
6718             Carlos O'Donell  <carlos@redhat.com>
6720         [BZ #12674]
6721         * nptl/sem_waitcommon.c: New file.
6722         * nptl/sem_wait.c: Include sem_waitcommon.c.
6723         (__sem_wait_cleanup, do_futex_wait): Remove.
6724         (__new_sem_wait): Adapt.
6725         (__new_sem_trywait): New function.
6726         (__old_sem_trywait): Moved here from nptl/sem_trywait.c.
6727         * nptl/sem_timedwait.c: Include sem_waitcommon.c.
6728         (__sem_wait_cleanup, do_futex_timed_wait): Remove.
6729         (sem_timedwait): Adapt.
6730         * nptl/sem_post.c (__new_sem_post): Adapt.
6731         (futex_wake): New function.
6732         (__old_sem_post): Add release MO fence.
6733         * nptl/sem_open.c (sem_open): Adapt.
6734         * nptl/sem_init.c (__new_sem_init): Adapt.
6735         (futex_private_if_supported): New function.
6736         * nptl/sem_getvalue.c (__new_sem_getvalue): Adapt.
6737         (__old_sem_getvalue): Add using previous code.
6738         * sysdeps/nptl/internaltypes.h: Adapt.
6739         * nptl/tst-sem13.c (do_test): Adapt.
6740         * nptl/tst-sem11.c (main): Adapt.
6741         * nptl/sem_trywait.c: Remove.
6742         * nptl/DESIGN-sem.txt: Remove.
6743         * nptl/Makefile (libpthread-routines): Remove sem_trywait.
6744         (gen-as-const-headers): Remove structsem.sym.
6745         * nptl/structsem.sym: Remove.
6746         * sysdeps/unix/sysv/linux/alpha/sem_post.c: Remove.
6747         * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Remove.
6748         * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Remove.
6749         * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Remove.
6750         * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Remove.
6751         * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Remove.
6752         * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Remove.
6753         * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Remove.
6754         * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Remove.
6755         * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Remove.
6756         * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Remove.
6757         * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Remove.
6758         * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Remove.
6759         * sysdeps/unix/sysv/linux/powerpc/sem_post.c: Remove.
6760         * sysdeps/unix/sysv/linux/sh/sem_post.S: Remove.
6761         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Remove.
6762         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Remove.
6763         * sysdeps/unix/sysv/linux/sh/sem_wait.S: Remove.
6764         * sysdeps/unix/sysv/linux/x86_64/sem_post.S: Remove.
6765         * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Remove.
6766         * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Remove.
6767         * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Remove.
6769 2015-01-20  Carlos O'Donell  <carlos@redhat.com>
6771         * INSTALL: Regenerated.
6773         * po/libc.pot: Regenerated.
6775 2015-01-18  Chung-Lin Tang  <cltang@codesourcery.com>
6776             Sandra Loosemore  <sandra@codesourcery.com>
6777             Andrew Jenner  <andrew@codesourcery.com>
6778             Joseph Myers  <joseph@codesourcery.com>
6779             Nathan Sidwell  <nathan@codesourcery.com>
6781         * NEWS: Mention new Nios II port.
6782         * sysdeps/nios2/Implies: New file.
6783         * sysdeps/nios2/Makefile: New file.
6784         * sysdeps/nios2/Subdirs: New file.
6785         * sysdeps/nios2/Versions: New file.
6786         * sysdeps/nios2/__longjmp.S: New file.
6787         * sysdeps/nios2/abort-instr.h: New file.
6788         * sysdeps/nios2/backtrace.c: New file.
6789         * sysdeps/nios2/bits/endian.h: New file.
6790         * sysdeps/nios2/bits/fenv.h: New file.
6791         * sysdeps/nios2/bits/link.h: New file.
6792         * sysdeps/nios2/bits/setjmp.h: New file.
6793         * sysdeps/nios2/bsd-_setjmp.S: New file.
6794         * sysdeps/nios2/bsd-setjmp.S: New file.
6795         * sysdeps/nios2/configure: New generated file.
6796         * sysdeps/nios2/configure.ac: New file.
6797         * sysdeps/nios2/crti.S: New file.
6798         * sysdeps/nios2/crtn.S: New file.
6799         * sysdeps/nios2/dl-init.c: New file.
6800         * sysdeps/nios2/dl-machine.h: New file.
6801         * sysdeps/nios2/dl-sysdep.h: New file.
6802         * sysdeps/nios2/dl-tls.h: New file.
6803         * sysdeps/nios2/dl-trampoline.S: New file.
6804         * sysdeps/nios2/gccframe.h: New file.
6805         * sysdeps/nios2/gmp-mparam.h: New file.
6806         * sysdeps/nios2/jmpbuf-offsets.h: New file.
6807         * sysdeps/nios2/jmpbuf-unwind.h: New file.
6808         * sysdeps/nios2/ldsodefs.h: New file.
6809         * sysdeps/nios2/libc-tls.c: New file.
6810         * sysdeps/nios2/libm-test-ulps: New file.
6811         * sysdeps/nios2/machine-gmon.h: New file.
6812         * sysdeps/nios2/math-tests.h: New file.
6813         * sysdeps/nios2/math_private.h: New file.
6814         * sysdeps/nios2/memusage.h: New file.
6815         * sysdeps/nios2/nptl/Makefile: New file.
6816         * sysdeps/nios2/nptl/bits/pthreadtypes.h: New file.
6817         * sysdeps/nios2/nptl/bits/semaphore.h: New file.
6818         * sysdeps/nios2/nptl/pthread_spin_lock.c: New file.
6819         * sysdeps/nios2/nptl/pthreaddef.h: New file.
6820         * sysdeps/nios2/nptl/tcb-offsets.sym: New file.
6821         * sysdeps/nios2/nptl/tls.h: New file.
6822         * sysdeps/nios2/preconfigure: New file.
6823         * sysdeps/nios2/s_fma.c: New file.
6824         * sysdeps/nios2/s_fmaf.c: New file.
6825         * sysdeps/nios2/setjmp.S: New file.
6826         * sysdeps/nios2/sfp-machine.h: New file.
6827         * sysdeps/nios2/sotruss-lib.c: New file.
6828         * sysdeps/nios2/stackguard-macros.h: New file.
6829         * sysdeps/nios2/stackinfo.h: New file.
6830         * sysdeps/nios2/start.S: New file.
6831         * sysdeps/nios2/sysdep.h: New file.
6832         * sysdeps/nios2/tls-macros.h: New file.
6833         * sysdeps/nios2/tst-audit.h: New file.
6834         * sysdeps/unix/sysv/linux/nios2/Implies: New file.
6835         * sysdeps/unix/sysv/linux/nios2/Makefile: New file.
6836         * sysdeps/unix/sysv/linux/nios2/Versions: New file.
6837         * sysdeps/unix/sysv/linux/nios2/arch-fork.h: New file.
6838         * sysdeps/unix/sysv/linux/nios2/bits/atomic.h: New file.
6839         * sysdeps/unix/sysv/linux/nios2/bits/mman.h: New file.
6840         * sysdeps/unix/sysv/linux/nios2/cacheflush.c: New file.
6841         * sysdeps/unix/sysv/linux/nios2/clone.S: New file.
6842         * sysdeps/unix/sysv/linux/nios2/configure: New generated file.
6843         * sysdeps/unix/sysv/linux/nios2/configure.ac: New file.
6844         * sysdeps/unix/sysv/linux/nios2/getcontext.S: New file.
6845         * sysdeps/unix/sysv/linux/nios2/kernel-features.h: New file.
6846         * sysdeps/unix/sysv/linux/nios2/kernel_rt_sigframe.h: New file.
6847         * sysdeps/unix/sysv/linux/nios2/makecontext.c: New file.
6848         * sysdeps/unix/sysv/linux/nios2/profil-counter.h: New file.
6849         * sysdeps/unix/sysv/linux/nios2/setcontext.S: New file.
6850         * sysdeps/unix/sysv/linux/nios2/shlib-versions: New file.
6851         * sysdeps/unix/sysv/linux/nios2/sigcontextinfo.h: New file.
6852         * sysdeps/unix/sysv/linux/nios2/swapcontext.S: New file.
6853         * sysdeps/unix/sysv/linux/nios2/sys/cachectl.h: New file.
6854         * sysdeps/unix/sysv/linux/nios2/sys/procfs.h: New file.
6855         * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h: New file.
6856         * sysdeps/unix/sysv/linux/nios2/sys/user.h: New file.
6857         * sysdeps/unix/sysv/linux/nios2/syscall.S: New file.
6858         * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h: New file.
6859         * sysdeps/unix/sysv/linux/nios2/sysdep.S: New file.
6860         * sysdeps/unix/sysv/linux/nios2/sysdep.h: New file.
6861         * sysdeps/unix/sysv/linux/nios2/ucontext_i.sym: New file.
6862         * sysdeps/unix/sysv/linux/nios2/vfork.S: New file.
6863         * sysdeps/unix/sysv/linux/nios2/c++-types.data: New file.
6864         * sysdeps/unix/sysv/linux/nios2/ld.abilist: New file.
6865         * sysdeps/unix/sysv/linux/nios2/libBrokenLocale.abilist: New file.
6866         * sysdeps/unix/sysv/linux/nios2/libanl.abilist: New file.
6867         * sysdeps/unix/sysv/linux/nios2/libc.abilist: New file.
6868         * sysdeps/unix/sysv/linux/nios2/libcrypt.abilist: New file.
6869         * sysdeps/unix/sysv/linux/nios2/libdl.abilist: New file.
6870         * sysdeps/unix/sysv/linux/nios2/libm.abilist: New file.
6871         * sysdeps/unix/sysv/linux/nios2/libnsl.abilist: New file.
6872         * sysdeps/unix/sysv/linux/nios2/libpthread.abilist: New file.
6873         * sysdeps/unix/sysv/linux/nios2/libresolv.abilist: New file.
6874         * sysdeps/unix/sysv/linux/nios2/librt.abilist: New file.
6875         * sysdeps/unix/sysv/linux/nios2/libthread_db.abilist: New file.
6876         * sysdeps/unix/sysv/linux/nios2/libutil.abilist: New file.
6877         * sysdeps/unix/sysv/linux/nios2/localplt.data: New file.
6879 2015-01-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
6881         [BZ #17844]
6882         * sysdeps/unix/sysv/linux/s390/s390-32/getutent.c
6883         (getutent): Use weak_alias in non SHARED case
6884         and default_symbol_version in SHARED case.
6885         * sysdeps/unix/sysv/linux/s390/s390-32/getutent_r.c
6886         (getutent_r, pututline): Likewise.
6887         * sysdeps/unix/sysv/linux/s390/s390-32/getutid.c
6888         (getutid): Likewise.
6889         * sysdeps/unix/sysv/linux/s390/s390-32/getutid_r.c
6890         (getutid_r): Likewise.
6891         * sysdeps/unix/sysv/linux/s390/s390-32/getutline.c
6892         (getutline): Likewise.
6893         * sysdeps/unix/sysv/linux/s390/s390-32/getutline_r.c
6894         (getutline_r): Likewise.
6895         * sysdeps/unix/sysv/linux/s390/s390-32/updwtmp.c
6896         (updwtmp): Likewise.
6898 2015-01-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
6900         [BZ #17848]
6901         * sysdeps/s390/s390-32/memcmp.S
6902         (memcmp_g5): Rename to __memcmp_g5.
6903         * sysdeps/s390/s390-32/memcpy.S
6904         (memcpy_g5): Rename to __memcpy_g5.
6905         Jump to __memcpy_mvcle instead of memcpy_mvcle.
6906         (memcpy_mvcle) Rename to __memcpy_mvcle.
6907         * sysdeps/s390/s390-32/memset.S
6908         (memset_g5): Rename to __memset_g5.
6909         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
6910         (IFUNC_RESOLVE): Prefix ifunc-resolve function
6911         and use prefixed functions.
6912         * sysdeps/s390/s390-32/multiarch/memcmp.S
6913         (memcmp_z196): Rename to __memcmp_z196.
6914         (memcmp_z10): Rename to __memcmp_z10.
6915         (memcmp): Set alias to __memcmp_g5.
6916         (bcmp): Set alias to __memcmp_g5.
6917         * sysdeps/s390/s390-32/multiarch/memcpy.S
6918         (memcpy_z196): Rename to __memcpy_z196.
6919         Jump to __memcpy_mvcle instead of memcpy_mvcle.
6920         (memcpy_z10): Rename to __memcpy_z10.
6921         Jump to __memcpy_mvcle instead of memcpy_mvcle.
6922         (memcpy): Set alias to __memcpy_g5.
6923         * sysdeps/s390/s390-32/multiarch/memset.S
6924         (memset_z196): Rename to __memset_z196.
6925         Jump to __memset_mvcle instead of memset_mvcle.
6926         (memset_z10): Rename to __memset_z10.
6927         Jump to __memset_mvcle instead of memset_mvcle.
6928         (memset_mvcle) Rename to __memset_mvcle.
6929         (memset): Set alias to __memset_g5.
6930         * sysdeps/s390/s390-64/memcmp.S
6931         (memcmp_z900): Rename to __memcmp_z900.
6932         * sysdeps/s390/s390-64/memcpy.S
6933         (memcpy_z900): Rename to __memcpy_z900.
6934         Jump to __memcpy_mvcle instead of memcpy_mvcle.
6935         (memcpy_mvcle) Rename to __memcpy_mvcle.
6936         * sysdeps/s390/s390-64/memset.S
6937         (memset_z900): Rename to __memset_z900.
6938         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c
6939         (IFUNC_RESOLVE): Prefix ifunc-resolve function
6940         and use prefixed functions.
6941         * sysdeps/s390/s390-64/multiarch/memcmp.S
6942         (memcmp_z196): Rename to __memcmp_z196.
6943         (memcmp_z10): Rename to __memcmp_z10.
6944         (memcmp): Set alias to __memcmp_z900.
6945         (bcmp): Set alias to __memcmp_z900.
6946         * sysdeps/s390/s390-64/multiarch/memcpy.S
6947         (memcpy_z196): Rename to __memcpy_z196.
6948         Jump to __memcpy_mvcle instead of memcpy_mvcle.
6949         (memcpy_z10): Rename to __memcpy_z10.
6950         Jump to __memcpy_mvcle instead of memcpy_mvcle.
6951         (memcpy): Set alias to __memcpy_z900.
6952         * sysdeps/s390/s390-64/multiarch/memset.S
6953         (memset_z196): Rename to __memset_z196.
6954         Jump to __memset_mvcle instead of memset_mvcle.
6955         (memset_z10): Rename to __memset_z10.
6956         Jump to __memset_mvcle instead of memset_mvcle.
6957         (memset_mvcle) Rename to __memset_mvcle.
6958         (memset): Set alias to __memset_z900.
6960 2015-01-14  Joseph Myers  <joseph@codesourcery.com>
6962         [BZ #17748]
6963         * sysdeps/powerpc/nofpu/feholdexcpt.c (__feholdexcept): Call
6964         __fesetenv instead of fesetenv.
6966 2015-01-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
6968         * sysdeps/s390/dl-tls.h [IS_IN (rtld)]: Define __tls_get_addr
6969         macro.
6971 2015-01-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6973         * sysdeps/powerpc/powerpc64/power7/memcmp.S (memcmp): Fix performance
6974         regression on LE.
6976         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power8.S: New file.
6977         * sysdeps/powerpc/powerpc64/power8/strncmp.S: New file.
6978         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
6979         strncmp-power8 object.
6980         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6981         (__libc_ifunc_impl_list): Add __strncmp_power8 implementation.
6982         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c (strncmp): Likewise.
6983         * NEWS: Update.
6985 2015-01-13  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
6986             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6988         * sysdeps/powerpc/powerpc64/power7/strcmp.S (strcmp): Optimize
6989         trailing byte check.
6991 2015-01-13  David S. Miller  <davem@davemloft.net>
6993         * include/signal.h (__sigreturn): Guard with __USE_MISC.
6995 2015-01-13  Roland McGrath  <roland@hack.frob.com>
6997         * login/logout.c (logout): Use memset rather than bzero.
6998         * nis/nss_compat/compat-pwd.c (getpwent_next_file): Likewise.
6999         * nis/nss_compat/compat-spwd.c (getspent_next_file): Likewise.
7000         * resolv/gethnamaddr.c (gethostbyaddr): Use memcmp rather than bcmp.
7001         (_gethtbyaddr): Likewise.
7002         * locale/programs/simple-hash.c (bcopy): Macro removed.
7004 2015-01-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7006         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
7007         Add strcmp-power8 object.
7008         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
7009         (__libc_ifunc_impl_list): Add __strcmp_power8 implementation.
7010         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power8.S: New file.
7011         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c (strcmp): Add
7012         __strcmp_power8 implementation.
7013         * sysdeps/powerpc/powerpc64/power8/strcmp.S: New file.
7014         * NEWS: Update.
7016         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
7017         Add strncpy-power8 and stpncpy-power8 objects.
7018         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
7019         (__libc_ifunc_impl_list): Add __strncpy_power8 and stpncpy_power8
7020         implementations.
7021         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: New file.
7022         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c (__stpncpy): Add
7023         __stpncpy_power8 implementation.
7024         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power8.S: New file.
7025         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c (strncpy): Add
7026         __strncpy_power8 implementation.
7027         * sysdeps/powerpc/powerpc64/power8/stpncpy.S: New file.
7028         * sysdeps/powerpc/powerpc64/power8/strncpy.S: New file.
7029         * NEWS: Update.
7031         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.c: New file.
7032         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: Remove file.
7033         * sysdeps/powerpc/powerpc64/power7/strncat.S: Likewise.
7035         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
7036         strncat-power8 object.
7037         * sysdeps/powerpc/powerpc64/multiarch/strcat.c (strcat): Add
7038         __strcat_power8 implementation.
7039         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
7040         (__libc_ifunc_impl_list): Add __strcat_power8 implementation.
7041         * sysdeps/powerpc/powerpc64/multiarch/strcat-power8.c: New file:
7042         optimized strcat for power8.
7044         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
7045         strcpy-power8 and stpcpy-power8 objects.
7046         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
7047         (__libc_ifunc_impl_list): Add __strcpy_power8 and __stpcpy_power8
7048         implementations.
7049         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power8.S: New file:
7050         multiarch stpcpy implementation for POWER8.
7051         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power8.S: New file;
7052         multiarch strcpy implementation for POWER8.
7053         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c (strcpy): Add
7054         __strcpy_power8 function.
7055         * sysdeps/powerpc/powerpc64/power8/stpcpy.S: New file: optimized
7056         stpcpy for POWER8.
7057         * sysdeps/powerpc/powerpc64/power8/strcpy.S: New file: optimized
7058         strcpy for POWER8.
7059         * NEWS: Update.
7061 2015-01-13  Leonhard Holz  <leonhard.holz@web.de>
7063         [BZ #16009]
7064         * string/strxfrm_l.c (STRXFRM): Allocate fixed size cache for
7065         weights and rules. Use do_xfrm_cached if data fits in cache,
7066         do_xfrm otherwise.  Moved former main loop to...
7067         * (do_xfrm_cached): New function.
7068         * (do_xfrm): Non-caching version of do_xfrm_cached. Uses
7069         find_idx, find_position and stack_push.
7070         * (find_idx): New function.
7071         * (find_position): Likewise.
7072         * localedata/sort-test.sh: Added test run for do_xfrm.
7073         * localedata/xfrm-test.c (main): Added command line option
7074         -nocache to run the test with strings that are too large for
7075         the STRXFRM cache.
7077 2015-01-13  Torvald Riegel  <triegel@redhat.com>
7079         * sysdeps/nptl/fork.c (__libc_fork): Provide address of futex
7080         variable to lll_futex_wake call, not the value itself.
7082 2015-01-12  Joseph Myers  <joseph@codesourcery.com>
7084         [BZ #17803]
7085         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (twom63): Rename to
7086         twom64.  Adjust value to 0x1p-64L.
7087         (__scalblnl): Only return standard underflowing result for K <=
7088         -64 not K <= -63; adjust exponent for underflowing result by 64
7089         not 63.
7090         * math/libm-test.inc (scalbn_test_data): Add more tests.
7091         (scalbln_test_data): Likewise.
7093         [BZ #17834]
7094         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (two63): Change value to
7095         0x1p63L.
7096         (__scalblnl): Get new exponent of adjusted subnormal value from ES
7097         not HX.
7098         * math/libm-test.inc (scalbn_test_data): Add more tests.
7099         (scalbln_test_data): Likewise.
7101 2015-01-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7102             Stefani Seibold  <stefani@seibold.net>
7104         * sysdeps/unix/sysv/linux/x86_64/Makefile [$(subdir) = elf]
7105         (sysdep_routines): Add dl-vdso here, ...
7106         * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = elf]
7107         (sysdep_routines): ... not here.
7108         * sysdeps/unix/sysv/linux/i386/gettimeofday.c: New file: set syscall
7109         fallback when vDSO is not presented.
7110         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_clock_gettime):
7111         Define with libc_hidden_proto/libc_hidden_data_def definitions.
7112         (_libc_vdso_platform_setup): Rename to __vdso_platform_setup.
7113         * sysdeps/unix/sysv/linux/i386/init-first.c: New file: likewise.
7114         * sysdeps/unix/sysv/linux/i386/time.c: New file: likewise.
7115         * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Moved to ...
7116         * sysdeps/unix/sysv/linux/x86/libc-vdso.h: ... here.
7117         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: Move to ...
7118         * sysdeps/unix/sysv/linux/x86/clock_gettime.c: ... here.
7119         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: Move to ...
7120         * sysdeps/unix/sysv/linux/x86/gettimeofday.c: ... here.  Also added
7121         fallback configurable symbol when vDSO is not available.
7122         * sysdeps/unix/sysv/linux/x86_64/time.c: Move to ...
7123         * sysdeps/unix/sysv/linux/x86/time.c: ... here.  Also refactored to
7124         be able to redefine fallback symbol when vDSO is not available.
7125         * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: Move to ...
7126         * sysdeps/unix/sysv/linux/x86/timespec_get.c: ... here.
7128 2015-01-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7130         * sysdeps/powerpc/nptl/tls.h (tcbhead_t): Add tm_capable field.
7131         (TLS_INIT_TP): Add tm_capable initialization.
7132         (TLS_DEFINE_INIT_TP): Likewise.
7133         (THREAD_GET_TM_CAPABLE): New file: get tm_capable field value from
7134         TCB.
7135         (THREAD_SET_TM_CAPABLE): New file: set tm_capable field value in TCB.
7136         * sysdeps/powerpc/nptl/tcb-offsets.sym (TM_CAPABLE): Add field offset
7137         calculation.
7138         * sysdeps/powerpc/powerpc32/sysdep.h (DO_CALL): Abort hardware
7139         transactoion is lock elision is built and TCB tm_capable is set.
7140         * sysdeps/powerpc/powerpc64/sysdep.h (DO_CALL): Likewise.
7141         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
7142         (INTERNAL_SYSCALL_NCS): Likewise.
7143         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
7144         (INTERNAL_SYSCALL_NCS): Likewise.
7145         * sysdeps/powerpc/sysdep.h (ABORT_TRANSACTION): New define.
7147         * sysdeps/powerpc/nptl/elide.h: New file: generic lock elision support
7148         for powerpc.
7149         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
7150         [pthread_rwlock_t] (__pad1): Change size to 7 bytes in 64 bits case
7151         and remove it for 32 bits case.
7152         [pthread_rwlock_t] (__rwelision): New field for lock elision.
7153         (__PTHREAD_RWLOCK_ELISION_EXTRA): Adjust for new lock elision field
7154         initialization.
7155         * sysdeps/unix/sysv/linux/powerpc/elision-conf.c (elision_init):
7156         Disable lock elision with rdlocks if elision is not available.
7158         * sysdeps/unix/sysv/linux/powerpc/Makefile [nptl]
7159         (sysdep_routines): Add lock elision objects.
7160         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
7161         [pthread_mutex_t] (__spins): Rework to add lock elision field.
7162         [pthread_mutex_t] (__elision): Add field.
7163         [__PTHREAD_SPINS]: Adjust to init lock elision field.
7164         * sysdeps/unix/sysv/linux/powerpc/elision-conf.c: New file: lock
7165         elision definitions for powerpc.
7166         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c: New file:
7167         implementation of lock elision for powerpc.
7168         * sysdeps/unix/sysv/linux/powerpc/elision-timed.c: New file:
7169         implementation of timed lock elision for powerpc.
7170         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c: New file:
7171         implementation of trylock with lock elision for powerpc.
7172         * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c: New file:
7173         implementaion of unlock for lock elision for powerpc.
7174         * sysdeps/unix/sysv/linux/powerpc/force-elision.h: New file:
7175         automatic enable lock elision for mutexes.
7176         * sysdeps/unix/sysv/linux/powerpc/htm.h: New file: hardware
7177         transaction execution definitions for powerpc.
7178         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: New file: add TLE
7179         definitions.
7180         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_cond_lock.c: New file.
7181         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_lock.c: Likewise.
7182         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_timedlock.c: Likewise.
7183         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_trylock.c: Likewise.
7184         * NEWS: Update.
7186 2015-01-09  Roland McGrath  <roland@hack.frob.com>
7188         * sysdeps/posix/shm-directory.c: Use <> rather than ""
7189         for #include of <shm-directory.h>.
7191 2015-01-09  Chung-Lin Tang  <cltang@codesourcery.com>
7193         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Remove MIN() and
7194         assign raw DT_REL[A]COUNT value to ranges[0].nrelative.
7196 2015-01-09  Matthew Fortune <matthew.fortune@imgtec.com>
7198         [BZ #17791]
7199         * NEWS: Mention bug fix.
7200         * sysdepsysdeps/unix/sysv/linux/microblaze/sys/user.h
7201         (PAGE_SHIFT, PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Remove.
7202         (HOST_TEXT_START_ADDR, HOST_STACK_END_ADDR): Remove.
7204 2015-01-09  Torvald Riegel <triegel@redhat.com>
7206         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Delete file.
7208 2015-01-09  Torvald Riegel <triegel@redhat.com>
7210         * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: Delete file.
7212 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
7214         * sysdeps/microblaze/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as void
7215         pointer and cast to uintptr_t.
7217 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
7219         * sysdeps/microblaze/nptl/tls.h (__microblaze_get_thread_area): Function
7220         removed.
7221         (READ_THREAD_POINTER): Use __microblaze_thread_area instead.
7223 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
7225         * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Use NULL instead
7226         of 0.
7228 2015-01-08  Roland McGrath  <roland@hack.frob.com>
7230         * sysdeps/pthread/timer_routines.c: Fix <pthreadP.h> include to use
7231         <nptl/pthreadP.h> instead.
7232         * sysdeps/pthread/aio_notify.c: Include <signal.h> for raise decl.
7234         * signal/allocrtsig.c (RESERVED_SIGRT): New macro, defined to 0 if not
7235         already defined.
7236         [__SIGRTMIN] (init): Function removed.
7237         [__SIGRTMIN] (initialized): Variable removed.
7238         [!__SIGRTMIN] (current_rtmin, current_rtmax): Variables removed.
7239         [__SIGRTMIN] (current_rtmin, current_rtmax): Initialize to
7240         __SIGRTMIN + RESERVED_SIGRT and __SIGRTMAX, respectively.
7241         (__libc_current_sigrtmin) [__SIGRTMIN]: Don't call init.
7242         (__libc_current_sigrtmin) [!__SIGRTMIN]: Just return -1.
7243         (__libc_current_sigrtmin): Add __libc_current_sigrtmin_private alias.
7244         (__libc_current_sigrtmax) [__SIGRTMIN]: Don't call init.
7245         (__libc_current_sigrtmax) [!__SIGRTMIN]: Just return -1.
7246         (__libc_current_sigrtmax): Add __libc_current_sigrtmax_private alias.
7247         (__libc_allocate_rtsig) [__SIGRTMIN]: Don't call init.
7248         (__libc_allocate_rtsig): Add __libc_allocate_rtsig_private alias.
7249         * sysdeps/nptl/allocrtsig.c: New file.
7250         * sysdeps/unix/sysv/linux/allocrtsig.c: File removed.
7251         * sysdeps/unix/sysv/linux/testrtsig.h: File removed.
7252         * sysdeps/generic/testrtsig.h: File removed.
7254         * nptl/pthread_sigmask.c [SIGCANCEL || SIGTIMER || SIGSETXID]: #error.
7255         (pthread_sigmask): Call sigprocmask, not __sigprocmask.
7257         * nptl/nptl-init.c (pthread_functions): Conditionalize
7258         .ptr__nptl_setxid initialization on [SIGSETXID].
7260         * sysdeps/nptl/sys/procfs.h: New file.
7261         * nptl_db/Makefile (headers): Add it.
7262         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Don't add it.
7264         * nptl/pthreadP.h (check_cpuset_attr): Moved ...
7265         * sysdeps/unix/sysv/linux/check-cpuset.h: ... to this new file.
7266         * nptl/pthread_attr_setaffinity.c: Include it.
7267         * nptl/pthread_setattr_default_np.c: Likewise.
7268         * nptl/check-cpuset.h: New file.
7270 2015-01-08  Richard Henderson  <rth@redhat.com>
7272         * elf/Makefile (CFLAGS-tst-execstack-mod.c): Add -Wno-trampolines
7273         (CFLAGS-tst-execstack-prog.c): Likewise.
7274         * nptl/Makefile (CFLAGS-tst-execstack-mod.c): Likewise.
7276 2015-01-08  Chung-Lin Tang  <cltang@codesourcery.com>
7277             Sandra Loosemore  <sandra@codesourcery.com>
7278             Andrew Jenner  <andrew@codesourcery.com>
7279             Joseph Myers  <joseph@codesourcery.com>
7280             Nathan Sidwell  <nathan@codesourcery.com>
7282         * elf/elf.h (EM_ALTERA_NIOS2): New machine number for Altera Nios II.
7283         (DT_NIOS2_GP): New dynamic entry type for Nios II _gp address.
7284         (R_NIOS2_NONE,R_NIOS2_S16,R_NIOS2_U16): Define Nios II relocations.
7285         (R_NIOS2_PCREL16,R_NIOS2_CALL26,R_NIOS2_IMM5): Likewise.
7286         (R_NIOS2_CACHE_OPX,R_NIOS2_IMM6,R_NIOS2_IMM8,R_NIOS2_HI16): Likewise.
7287         (R_NIOS2_LO16,R_NIOS2_HIADJ16,R_NIOS2_BFD_RELOC_32): Likewise.
7288         (R_NIOS2_BFD_RELOC_16,R_NIOS2_BFD_RELOC_8,R_NIOS2_GPREL): Likewise.
7289         (R_NIOS2_GNU_VTINHERIT,R_NIOS2_GNU_VTENTRY,R_NIOS2_UJMP): Likewise.
7290         (R_NIOS2_CJMP,R_NIOS2_CALLR,R_NIOS2_ALIGN,R_NIOS2_GOT16): Likewise.
7291         (R_NIOS2_CALL16,R_NIOS2_GOTOFF_LO,R_NIOS2_GOTOFF_HA): Likewise.
7292         (R_NIOS2_PCREL_LO,R_NIOS2_PCREL_HA,R_NIOS2_TLS_GD16): Likewise.
7293         (R_NIOS2_TLS_LDM16,R_NIOS2_TLS_LDO16,R_NIOS2_TLS_IE16): Likewise.
7294         (R_NIOS2_TLS_LE16,R_NIOS2_TLS_DTPMOD,R_NIOS2_TLS_DTPREL): Likewise.
7295         (R_NIOS2_TLS_TPREL,R_NIOS2_COPY,R_NIOS2_GLOB_DAT): Likewise.
7296         (R_NIOS2_JUMP_SLOT,R_NIOS2_RELATIVE,R_NIOS2_GOTOFF): Likewise.
7297         (R_NIOS2_CALL26_NOAT,R_NIOS2_GOT_LO,R_NIOS2_GOT_HA): Likewise.
7298         (R_NIOS2_CALL_LO,R_NIOS2_CALL_HA): Likewise.
7300 2015-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7302         * sysdeps/unix/sysv/linux/futimens.c (futimens): Use address of first
7303         timespec struct member in syscall macro.
7304         * sysdeps/unix/sysv/linux/utimensat.c (utimensat): Likewise.
7305         * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Use address of
7306         first timeval struct member in syscall macro.
7307         * sysdeps/unix/sysv/linux/utimes.c (__utimeS): Likewise.
7309 2015-01-07  Joseph Myers  <joseph@codesourcery.com>
7311         [BZ #17748]
7312         * include/fenv.h (__feupdateenv): Use libm_hidden_proto.
7313         * math/feupdateenv.c (__feupdateenv): Use libm_hidden_def.
7314         * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Rename to
7315         __feupdateenv and define as weak alias of __feupdateenv.  Use
7316         libm_hidden_weak.
7317         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Use
7318         libm_hidden_def.
7319         * sysdeps/arm/feupdateenv.c (feupdateenv): Rename to __feupdateenv
7320         and define as weak alias of __feupdateenv.  Use libm_hidden_weak.
7321         * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
7322         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Use
7323         libm_hidden_def.
7324         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Rename to
7325         __feupdateenv and define as weak alias of __feupdateenv.  Use
7326         libm_hidden_weak.
7327         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Use
7328         libm_hidden_def.
7329         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Rename to
7330         __feupdateenv and define as weak alias of __feupdateenv.  Use
7331         libm_hidden_weak.
7332         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Use
7333         libm_hidden_def.
7334         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
7335         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
7336         (__feupdateenv): Likewise.
7337         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Rename to
7338         __feupdateenv and define as weak alias of __feupdateenv.  Use
7339         libm_hidden_weak.
7340         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
7341         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Use
7342         libm_hidden_def.
7343         * sysdeps/tile/math_private.h (__feupdateenv): New inline
7344         function.
7345         * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Use
7346         libm_hidden_def.
7347         * sysdeps/generic/math_private.h (default_libc_feupdateenv): Call
7348         __feupdateenv instead of feupdateenv.
7349         (default_libc_feupdateenv_test): Likewise.
7350         (libc_feresetround_ctx): Likewise.
7352 2015-01-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7354         * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Fix function
7355         prototype.
7357 2015-01-07  Chris Metcalf  <cmetcalf@ezchip.com>
7359         * posix/regcomp.c (parse_bracket_exp): Initialize type to
7360         COLL_SYM in a couple of places to avoid uninitialized variable
7361         wanings on tilegx gcc 4.8.2.
7363 2015-01-07  Richard Earnshaw  <rearnsha@arm.com>
7365         * sysdeps/aarch64/strcpy.S: New file.
7366         * sysdeps/aarch64/stpcpy.S: New file.
7367         * NEWS: Updated.
7369 2015-01-07  Richard Earnshaw  <rearnsha@arm.com>
7371         * sysdeps/aarch64/strrchr.S: New file.
7372         * NEWS: Updated.
7374 2015-01-07  Eric Biggers  <ebiggers3@gmail.com>
7376         [BZ #17658]
7377         * stdlib/setenv.c: Fix memory leak when setting large,
7378         duplicate string.
7380 2015-01-06  Vladimir A. Nazarenko  <naszar@ya.ru>
7382         [BZ #17273]
7383         * misc/mntent_r.c (__getmntent_r): Cut off trailing spaces
7384         and tabs from buffer before parsing fstab entry.
7385         * misc/tst-mntent.c (main): Add test for mount entry with
7386         trailing spaces and tabs.
7388 2015-01-06  Joseph Myers  <joseph@codesourcery.com>
7390         [BZ #17748]
7391         * include/fenv.h (__fesetround): Declare.  Use libm_hidden_proto.
7392         * math/fesetround.c (fesetround): Rename to __fesetround and
7393         define as weak alias of __fesetround.  Use libm_hidden_weak.
7394         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Likewise.
7395         * sysdeps/alpha/fpu/fesetround.c (fesetround): Likewise.
7396         * sysdeps/arm/fesetround.c (fesetround): Likewise.
7397         * sysdeps/hppa/fpu/fesetround.c (fesetround): Likewise.
7398         * sysdeps/i386/fpu/fesetround.c (fesetround): Likewise.
7399         * sysdeps/ia64/fpu/fesetround.c (fesetround): Likewise.
7400         * sysdeps/m68k/fpu/fesetround.c (fesetround): Likewise.
7401         * sysdeps/mips/fpu/fesetround.c (fesetround): Likewise.
7402         * sysdeps/powerpc/fpu/fenv_libc.h (__fesetround): Rename to
7403         __fesetround_inline.
7404         * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetround_ppc): Call
7405         __fesetround_inline instead of __fesetround.
7406         * sysdeps/powerpc/fpu/fesetround.c (fesetround): Rename to
7407         __fesetround and define as weak alias of __fesetround.  Use
7408         libm_hidden_weak.  Call __fesetround_inline instead of
7409         __fesetround.
7410         * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Rename to
7411         __fesetround and define as weak alias of __fesetround.  Use
7412         libm_hidden_weak.
7413         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c (fesetround):
7414         Likewise.
7415         * sysdeps/s390/fpu/fesetround.c (fesetround): Likewise.
7416         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
7417         * sysdeps/sparc/fpu/fesetround.c (fesetround): Likewise.
7418         * sysdeps/tile/math_private.h (__fesetround): New inline function.
7419         * sysdeps/x86_64/fpu/fesetround.c (fesetround): Rename to
7420         __fesetround and define as weak alias of __fesetround.  Use
7421         libm_hidden_weak.
7422         * sysdeps/generic/math_private.h (default_libc_fesetround): Call
7423         __fesetround instead of fesetround.
7424         (default_libc_feholdexcept_setround): Likewise.
7425         (libc_feholdsetround_ctx): Likewise.
7426         (libc_feholdsetround_noex_ctx): Likewise.
7428         [BZ #17748]
7429         * include/fenv.h (__fesetenv): Use libm_hidden_proto.
7430         * math/fesetenv.c (__fesetenv): Use libm_hidden_def.
7431         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
7432         and define as weak alias of __fesetenv.  Use libm_hidden_weak.
7433         * sysdeps/alpha/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
7434         * sysdeps/arm/fesetenv.c (fesetenv): Rename to __fesetenv and
7435         define as weak alias of __fesetenv.  Use libm_hidden_weak.
7436         * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Likewise.
7437         * sysdeps/i386/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
7438         * sysdeps/ia64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
7439         define as weak alias of __fesetenv.  Use libm_hidden_weak.
7440         * sysdeps/m68k/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
7441         * sysdeps/mips/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
7442         define as weak alias of __fesetenv.  Use libm_hidden_weak.
7443         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Use
7444         libm_hidden_def.
7445         * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Likewise.
7446         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c (__fesetenv):
7447         Likewise.
7448         * sysdeps/s390/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
7449         define as weak alias of __fesetenv.  Use libm_hidden_weak.
7450         * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
7451         * sysdeps/sparc/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
7452         * sysdeps/tile/math_private.h (__fesetenv): New inline function.
7453         * sysdeps/x86_64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
7454         and define as weak alias of __fesetenv.  Use libm_hidden_weak.
7455         * sysdeps/generic/math_private.h (default_libc_fesetenv): Use
7456         __fesetenv instead of fesetenv.
7457         (libc_feresetround_noex_ctx): Likewise.
7458         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
7459         * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
7460         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Likewise.
7461         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
7462         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
7463         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
7464         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
7465         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
7466         (__feupdateenv): Likewise.
7467         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
7468         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
7469         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
7470         * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Likewise.
7472 2015-01-06  Aurelien Jarno  <aurelien@aurel32.net>
7474         [BZ #17806]
7475         * resolv/res_init.c (__res_iclose): Only clear nsinit if the
7476         addresses have been freed.
7478 2015-01-06  Aurelien Jarno  <aurelien@aurel32.net>
7480         * resolv/res_init.c (__res_vinit): Improve comments about nserv
7481         and nservall.
7483 2015-01-06  Ondřej Bílka  <neleai@seznam.cz>
7485         * sysdeps/unix/sysv/linux/check_pf.c (make_request):
7486         Clean up check_pf allocation pattern. addresses
7488 2015-01-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7490         * nptl/pthread_cancel.c (pthread_cancel): Use ANSI prototype.
7491         * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Likewise.
7492         * nptl/pthread_cond_wait.c (__pthread_cond_wait): Likewise.
7493         * nptl/pthread_exit.c (__pthread_exit): Likewise.
7494         * nptl/pthread_join.c (pthread_join): Likewise.
7495         * nptl/pthread_timedjoin.c (pthread_timedjoin_np): Likewise.
7496         * sysdeps/posix/waitid.c (__waitid): Likewise.
7497         * sysdeps/unix/sysv/linux/arm/pread.c (__libc_pread): Likewise.
7498         * sysdeps/unix/sysv/linux/arm/pread64.c (__libc_pread64): Likewise.
7499         * sysdeps/unix/sysv/linux/arm/pwrite.c (__libc_pwrite): Likewise.
7500         * sysdeps/unix/sysv/linux/arm/pwrite64.c (__libc_pwrite64): Likewise.
7501         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c (__libc_pread):
7502         Likewise.
7503         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c
7504         (__libc_pread64): Likewise.
7505         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c
7506         (__libc_pwrite): Likewise.
7507         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c
7508         (__libc_pwrite64): Likewsie.
7509         * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Likewise.
7510         * sysdeps/unix/sysv/linux/mips/pread64.c (__libc_pread64): Likewise.
7511         * sysdeps/unix/sysv/linux/mips/pwrite.c (__libc_pwrite): Likewise.
7512         * sysdeps/unix/sysv/linux/mips/pwrite64.c (__libc_pwrite64): Likewise.
7513         * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Likewise.
7514         * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Likewise.
7515         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
7516         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c (__libc_pread):
7517         Likewise.
7518         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
7519         (__libc_pread64): Likewise.
7520         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c (__libc_pwrite):
7521         Likewise.
7522         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
7523         (__libc_pwrite64): Likewise.
7524         * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Likewise.
7525         * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Likewise.
7526         * sysdeps/unix/sysv/linux/preadv.c (PREADV): Likewise.
7527         * sysdeps/unix/sysv/linux/pthread_kill.c (__pthread_kill): Likewise.
7528         * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
7529         * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
7530         * sysdeps/unix/sysv/linux/pwritev.c (__libc_pwritev): Likewise.
7531         * sysdeps/unix/sysv/linux/sh/pread.c (__libc_pread): Likewise.
7532         * sysdeps/unix/sysv/linux/sh/pread64.c (__libc_pread64): Likewise.
7533         * sysdeps/unix/sysv/linux/sh/pwrite.c (__libc_pwrite): Likewise.
7534         * sysdeps/unix/sysv/linux/sh/pwrite64.c (__libc_write64): Likewise.
7535         * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise.
7536         * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Likewise.
7537         * sysdeps/unix/sysv/linux/sigwait.c (__sigwait): Likewise.
7538         * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
7539         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c (__libc_msgrcv):
7540         Likewise.
7542 2015-01-06  Andrew Senkevich  <andrew.n.senkevich@gmail.com>
7544         * math/Makefile (CFLAGS-test-float.c): Remove -frounding-math.
7545         (CFLAGS-test-double.c): Likewise.
7546         (CFLAGS-test-ldouble.c): Likewise.
7547         (CPPFLAGS-test-ifloat.c): Likewise.
7548         (CPPFLAGS-test-idouble.c): Likewise.
7549         (CPPFLAGS-test-ildoubl.c): Likewise.
7550         (CFLAGS-test-test-fenv.c): Remove variable.
7551         (CFLAGS-test-misc.c): Likewise.
7553 2015-01-06  H.J. Lu  <hongjiu.lu@intel.com>
7555         [BZ #17797]
7556         * bits/time.h (CLOCKS_PER_SEC): Changed to ((clock_t) 1000000).
7557         * sysdeps/unix/sysv/linux/bits/time.h (CLOCKS_PER_SEC): Likewise.
7558         * sysdeps/unix/sysv/linux/clock.c (clock): _Static_assert
7559         CLOCKS_PER_SEC == 1000000.
7560         * time/clocktest.c (main): Replace %ld with %jd and cast to
7561         intmax_t.
7563 2015-01-05  Roland McGrath  <roland@hack.frob.com>
7565         * sysdeps/generic/unwind-resume.h: New file.
7566         * sysdeps/gnu/unwind-resume.c: Include it.
7567         (libgcc_s_personality): Use PERSONALITY_PROTO macro for the prototype.
7568         (__gcc_personality_v0): Likewise, and PERSONALITY_ARGS for the callee
7569         argument list.
7570         (libgcc_s_resume): Variable renamed to __libgcc_s_resume, made hidden
7571         global rather than static.
7572         (_Unwind_Resume): Update user.
7573         Conditionalize definition on [!HAVE_ARCH_UNWIND_RESUME].
7574         (init): Likewise.  Renamed to __libgcc_s_init, made hidden global
7575         rather than static.  Add __attribute__ ((cold)).
7576         (_Unwind_Resume, __gcc_personality_v0): Update callers.
7577         * sysdeps/nptl/unwind-forcedunwind.c: Likewise.
7578         * sysdeps/arm/arm-unwind-resume.S: New file.
7579         * sysdeps/arm/rt-arm-unwind-resume.S: New file.
7580         * sysdeps/arm/pt-arm-unwind-resume.S: New file.
7581         * sysdeps/arm/Makefile [$(subdir) = csu]
7582         (sysdep_routines, shared-only-routines): Add arm-unwind-resume.
7583         [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
7584         Add rt-arm-unwind-resume.
7585         [$(subdir) = nptl]
7586         (libpthread-sysdep_routines, libpthread-shared-only-routines):
7587         Add pt-arm-unwind-resume.
7588         * sysdeps/unix/sysv/linux/arm/unwind-resume.c: File removed.
7589         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: File removed.
7591 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
7593         [BZ #17748]
7594         * include/fenv.h (__feholdexcept): Declare.  Use
7595         libm_hidden_proto.
7596         * math/feholdexcpt.c (feholdexcept): Rename to __feholdexcept and
7597         define as weak alias of __feholdexcept.  Use libm_hidden_weak.
7598         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Likewise.
7599         * sysdeps/alpha/fpu/feholdexcpt.c (feholdexcept): Likewise.
7600         * sysdeps/arm/feholdexcpt.c (feholdexcept): Likewise.
7601         * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Likewise.
7602         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Likewise.
7603         * sysdeps/ia64/fpu/feholdexcpt.c (feholdexcept): Likewise.
7604         * sysdeps/m68k/fpu/feholdexcpt.c (feholdexcept): Likewise.
7605         * sysdeps/mips/fpu/feholdexcpt.c (feholdexcept): Likewise.
7606         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
7607         * sysdeps/powerpc/nofpu/feholdexcpt.c (feholdexcept): Likewise.
7608         * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c
7609         (feholdexcept): Likewise.
7610         * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
7611         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
7612         * sysdeps/sparc/fpu/feholdexcpt.c (feholdexcept): Likewise.
7613         * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
7614         * sysdeps/generic/math_private.h (default_libc_feholdexcept): Use
7615         __feholdexcept instead of feholdexcept.
7616         (default_libc_feholdexcept_setround): Likewise.
7618 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
7620         * sysdeps/mips/memset.S (memset): Modify for mips32r6/mips64r6
7621         to avoid using stl/str to align destination.
7623 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
7625         * sysdeps/mips/memcpy.S: Add support for mips32r6/mips64r6.
7627 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
7629         [BZ #17796]
7630         * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise.c
7631         [!SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)] (posix_fadvise64):
7632         Define as weak alias not strong alias.
7634 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
7636         * sysdeps/mips/dl-machine.h (elf_machine_load_address): Replace
7637         bltzal with addiupc.
7638         (RTLD_START): Ditto.
7640 2015-01-05  Chris Metcalf  <cmetcalf@ezchip.com>
7642         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso.h: Fix return type
7643         for __vdso_* functions in declarations.
7644         * sysdeps/unix/sysv/linux/tile/init-first.c: Likewise for
7645         definitions.
7646         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL,
7647         INTERNAL_VSYSCALL): Use struct return types to check for error.
7649         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c [!defined _LP64
7650         && REGISTER_CAST_INT32_TO_INT64]: Provide explicit lround()
7651         function with cast from llround().
7652         * sysdeps/tile/sysdep.h (REGISTER_CAST_INT32_TO_INT64): Define.
7653         * sysdeps/x86_64/x32/sysdep.h (REGISTER_CAST_INT32_TO_INT64):
7654         Define.
7656 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
7658         [BZ #17793]
7659         * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c (posix_fadvise64):
7660         Define as weak alias not strong alias.
7662         [BZ #17635]
7663         * ctype/ctype-c99.c: New file.  isblank implementation moved from
7664         ...
7665         * ctype/ctype-extn.c: ... here.
7666         (__isblank_l): Move to ...
7667         * ctype/ctype-c99_l.c: ... here.  New file.
7668         * ctype/Makefile (routines): Add ctype-c99 and ctype-c99_l.
7669         * conform/Makefile (test-xfail-ISO99/ctype.h/linknamespace):
7670         Remove variable.
7671         (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
7672         (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
7673         (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
7674         (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
7675         (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
7677         [BZ #17777]
7678         * sysdeps/unix/sysv/linux/wordsize-64/posix_fadvise.c
7679         (posix_fadvise64): Define as weak alias not strong alias.
7680         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
7681         (posix_fallocate64): Likewise.
7682         * conform/Makefile (test-xfail-XOPEN2K/fcntl.h/linknamespace):
7683         Remove variable.
7684         (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
7685         (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
7686         (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
7687         (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
7688         (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
7690 2015-01-05  Matthew Fortune  <matthew.fortune@imgtec.com>
7692         [BZ #16191]
7693         * NEWS: Mention bug fix.
7694         * sysdeps/unix/sysv/linux/mips/sys/user.h (PAGE_SHIFT): Remove.
7695         (PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Likewise.
7696         (HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR): Likewise.
7697         (HOST_STACK_END_ADDR): Likewise.
7699 2015-01-02  Joseph Myers  <joseph@codesourcery.com>
7701         [BZ #17748]
7702         * include/fenv.h (__fegetround): Declare.  Use libm_hidden_proto.
7703         * math/fegetround.c (fegetround): Rename to __fegetround and
7704         define as weak alias of __fegetround.  Use libm_hidden_weak.
7705         * sysdeps/aarch64/fpu/fegetround.c (fegetround): Likewise.
7706         * sysdeps/alpha/fpu/fegetround.c (fegetround): Likewise.
7707         * sysdeps/arm/fegetround.c (fegetround): Likewise.
7708         * sysdeps/hppa/fpu/fegetround.c (fegetround): Likewise.
7709         * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
7710         * sysdeps/ia64/fpu/fegetround.c (fegetround): Likewise.
7711         * sysdeps/m68k/fpu/fegetround.c (fegetround): Likewise.
7712         * sysdeps/mips/fpu/fegetround.c (fegetround): Likewise.
7713         * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
7714         Undefine after rather than before function definition; use
7715         parentheses around function name in definition.
7716         (__fegetround): Also undefine macro after function definition.
7717         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Rename to
7718         __fegetround and define as weak alias of __fegetround.  Use
7719         libm_hidden_weak.  Do not undefine as macro.
7720         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
7721         Likewise.
7722         * sysdeps/s390/fpu/fegetround.c (fegetround): Rename to
7723         __fegetround and define as weak alias of __fegetround.  Use
7724         libm_hidden_weak.
7725         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
7726         * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
7727         * sysdeps/tile/math_private.h (__fegetround): New inline function.
7728         * sysdeps/x86_64/fpu/fegetround.c (fegetround): Rename to
7729         __fegetround and define as weak alias of __fegetround.  Use
7730         libm_hidden_weak.
7731         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Use
7732         __fegetround instead of fegetround.
7734         [BZ #17782]
7735         * sysdeps/unix/sysv/linux/mips/bits/termios.h (TIOCSER_TEMT):
7736         Condition macro definition on [__USE_MISC].
7738         [BZ #17781]
7739         * sysdeps/unix/sysv/linux/mips/bits/sigaction.h
7740         (struct sigaction): Change type of sa_flags field to int.
7742         [BZ #17780]
7743         * sysdeps/unix/sysv/linux/mips/bits/fcntl.h (struct flock)
7744         [!__USE_FILE_OFFSET64 && _MIPS_SIM != _ABI64]: Rename pad field to
7745         __glibc_reserved0.
7747         * nptl/version.c (banner): Use single year in copyright notice.
7749         * NEWS: Update copyright dates.
7750         * catgets/gencat.c (print_version): Likewise.
7751         * csu/version.c (banner): Likewise.
7752         * debug/catchsegv.sh: Likewise.
7753         * debug/pcprofiledump.c (print_version): Likewise.
7754         * debug/xtrace.sh (do_version): Likewise.
7755         * elf/ldconfig.c (print_version): Likewise.
7756         * elf/ldd.bash.in: Likewise.
7757         * elf/pldd.c (print_version): Likewise.
7758         * elf/sotruss.sh: Likewise.
7759         * elf/sprof.c (print_version): Likewise.
7760         * iconv/iconv_prog.c (print_version): Likewise.
7761         * iconv/iconvconfig.c (print_version): Likewise.
7762         * locale/programs/locale.c (print_version): Likewise.
7763         * locale/programs/localedef.c (print_version): Likewise.
7764         * login/programs/pt_chown.c (print_version): Likewise.
7765         * malloc/memusage.sh (do_version): Likewise.
7766         * malloc/memusagestat.c (print_version): Likewise.
7767         * malloc/mtrace.pl: Likewise.
7768         * manual/libc.texinfo: Likewise.
7769         * nptl/version.c (banner): Likewise.
7770         * nscd/nscd.c (print_version): Likewise.
7771         * nss/getent.c (print_version): Likewise.
7772         * nss/makedb.c (print_version): Likewise.
7773         * posix/getconf.c (main): Likewise.
7774         * scripts/test-installation.pl: Likewise.
7775         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
7777 2015-01-02  Will Newton  <will.newton@linaro.org>
7779         * sysdeps/arm/armv7/configure: Removed.
7780         * sysdeps/arm/armv7/configure.ac: Likewise.
7782 2015-01-02  Joseph Myers  <joseph@codesourcery.com>
7784         * All files with FSF copyright notices: Update copyright dates
7785         using scripts/update-copyrights.
7786         * intl/plural.c: Regenerated.
7787         * locale/programs/charmap-kw.h: Likewise.
7788         * locale/programs/locfile-kw.h: Likewise.
7790 2015-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
7792         * scripts/gen-posix-conf-vars.awk (END): Don't use sprintf.
7794 2014-12-31  Joseph Myers  <joseph@codesourcery.com>
7796         [BZ #17748]
7797         * include/fenv.h (__fegetenv): Use libm_hidden_proto.
7798         * math/fegetenv.c (__fegetenv): Use libm_hidden_def.
7799         * sysdeps/aarch64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
7800         and define as weak alias of __fegetenv.  Use libm_hidden_weak.
7801         * sysdeps/alpha/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
7802         * sysdeps/arm/fegetenv.c (fegetenv): Rename to __fegetenv and
7803         define as weak alias of __fegetenv.  Use libm_hidden_weak.
7804         * sysdeps/hppa/fpu/fegetenv.c (fegetenv): Likewise.
7805         * sysdeps/i386/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
7806         * sysdeps/ia64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
7807         define as weak alias of __fegetenv.  Use libm_hidden_weak.
7808         * sysdeps/m68k/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
7809         * sysdeps/mips/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
7810         define as weak alias of __fegetenv.  Use libm_hidden_weak.
7811         * sysdeps/powerpc/fpu/fegetenv.c (__fegetenv): Use
7812         libm_hidden_def.
7813         * sysdeps/powerpc/nofpu/fegetenv.c (__fegetenv): Likewise.
7814         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (__fegetenv):
7815         Likewise.
7816         * sysdeps/s390/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
7817         define as weak alias of __fegetenv.  Use libm_hidden_weak.
7818         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
7819         * sysdeps/sparc/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
7820         * sysdeps/tile/math_private.h (__fegetenv): New inline function.
7821         * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
7822         and define as weak alias of __fegetenv.  Use libm_hidden_weak.
7823         * sysdeps/generic/math_private.h (libc_feholdsetround_ctx): Use
7824         __fegetenv instead of fegetenv.
7825         (libc_feholdsetround_noex_ctx): Likewise.
7827 2014-12-31  Matthew Fortune  <matthew.fortune@imgtec.com>
7829         * elf/elf.h (PT_MIPS_ABIFLAGS): Define.
7830         (Elf_MIPS_ABIFlags_v0): New structure.
7831         (EF_MIPS_FP64): Define.
7832         (MIPS_AFL_REG_NONE, MIPS_AFL_REG_32, MIPS_AFL_REG_64): Likewise.
7833         (MIPS_AFL_REG_128, MIPS_AFL_ASE_DSP, MIPS_AFL_ASE_DSP64): Likewise.
7834         (MIPS_AFL_ASE_DSPR2, MIPS_AFL_ASE_EVA, MIPS_AFL_ASE_MCU): Likewise.
7835         (MIPS_AFL_ASE_MDMX, MIPS_AFL_ASE_MIPS3D, MIPS_AFL_ASE_MT): Likewise.
7836         (MIPS_AFL_ASE_SMARTMIPS, MIPS_AFL_ASE_VIRT): Likewise.
7837         (MIPS_AFL_ASE_VIRT64, MIPS_AFL_ASE_MSA, MIPS_AFL_ASE_MSA64): Likewise.
7838         (MIPS_AFL_ASE_MIPS16, MIPS_AFL_ASE_MICROMIPS): Likewise.
7839         (MIPS_AFL_ASE_XPA, MIPS_AFL_EXT_XLR, MIPS_AFL_EXT_OCTEON2): Likewise.
7840         (MIPS_AFL_EXT_OCTEONP, MIPS_AFL_EXT_LOONGSON_3A): Likewise.
7841         (MIPS_AFL_EXT_OCTEON, MIPS_AFL_EXT_5900, MIPS_AFL_EXT_4010): Likewise.
7842         (MIPS_AFL_EXT_4100, MIPS_AFL_EXT_3900, MIPS_AFL_EXT_10000): Likewise.
7843         (MIPS_AFL_EXT_SB1, MIPS_AFL_EXT_4111, MIPS_AFL_EXT_4120): Likewise.
7844         (MIPS_AFL_EXT_5400, MIPS_AFL_EXT_5500): Likewise.
7845         (MIPS_AFL_EXT_LOONGSON_2E, MIPS_AFL_EXT_LOONGSON_2F): Likewise.
7846         (Val_GNU_MIPS_ABI_FP_ANY, Val_GNU_MIPS_ABI_FP_DOUBLE): New enum values.
7847         (Val_GNU_MIPS_ABI_FP_SINGLE, Val_GNU_MIPS_ABI_FP_SOFT): Likewise.
7848         (Val_GNU_MIPS_ABI_FP_OLD_64, Val_GNU_MIPS_ABI_FP_XX): Likewise.
7849         (Val_GNU_MIPS_ABI_FP_64, Val_GNU_MIPS_ABI_FP_64A): Likewise.
7850         (Val_GNU_MIPS_ABI_FP_MAX): Likewise.
7851         * sysdeps/mips/Makefile [subdir=elf]: Add tst-abi-interlink,
7852         tst-mode-switch-1, tst-mode-switch-2, tst-mode-switch-3 tests.
7853         * sysdeps/mips/bits/linkmap.h (struct link_map_machine): Add fpmode
7854         field.
7855         * sysdeps/mips/dl-machine.h (elf_machine_matches_host): Reject
7856         EF_MIPS_FP64.
7857         * sysdeps/mips/dl-machine-reject-phdr.h: New file.
7858         * sysdeps/mips/tst-abi-fp32mod.c: Likewise.
7859         * sysdeps/mips/tst-abi-fpxxmod.c: Likewise.
7860         * sysdeps/mips/tst-abi-fpxxomod.c: Likewise.
7861         * sysdeps/mips/tst-abi-fp64mod.c: Likewise.
7862         * sysdeps/mips/tst-abi-fp64amod.c: Likewise.
7863         * sysdeps/mips/tst-abi-interlink.c: Likewise.
7864         * sysdeps/mips/tst-mode-switch-1.c: Likewise.
7865         * sysdeps/mips/tst-mode-switch-2.c: Likewise.
7866         * sysdeps/mips/tst-mode-switch-3.c: Likewise.
7867         * sysdeps/unix/sysv/linux/mips/configure.ac (o32-fpabi): Define to
7868         record the current FP ABI extension.
7869         (mips-mode-switch): Define to show if kernel headers support mode
7870         switching.
7871         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
7872         * sysdeps/unix/sysv/linux/mips/ldsodefs.h: Increase maximum
7873         supported SYSV ABI version to 3.
7874         * sysdeps/unix/sysv/linux/mips/libc-abis: Add new MIPS_O32_FP64
7875         feature.
7877 2014-12-31  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
7878             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7880         * sysdeps/powerpc/powerpc64/power7/strcpy.S (strcpy): Optimize unaligned
7881         path.
7882         * benchtests/bench-strcpy.c (test_main): Add more unaligned inputs.
7884 2014-12-31  Joseph Myers  <joseph@codesourcery.com>
7886         * sysdeps/powerpc/bits/fenvinline.h (fegetround): Rename macro to
7887         __fegetround and redefine to call __fegetround.  Remove condition
7888         on [!__NO_MATH_INLINES].
7889         * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove inline
7890         function.
7891         * sysdeps/powerpc/nofpu/fenv_libc.h: Remove file.
7892         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
7893         Remove macro.
7894         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Include <fenv.h>
7895         instead of <fenv_libc.h>.
7896         (__llrintl): Call fegetround instead of __fegetround.
7897         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Include <fenv.h>
7898         instead of <fenv_libc.h>.
7899         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
7900         (__lrintl): Call fegetround instead of __fegetround.
7901         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Include <fenv.h>
7902         instead of <fenv_libc.h>.
7903         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
7904         (__rintl): Call fegetround instead of __fegetround.
7906 2014-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
7908         * scripts/gen-posix-conf-vars.awk: Don't use multi-dimensional
7909         arrays.
7911 2014-12-30  H.J. Lu  <hongjiu.lu@intel.com>
7913         [BZ #17775]
7914         * sysdeps/i386/dl-machine.h (PI_STATIC_AND_HIDDEN): Removed.
7915         (elf_machine_dynamic) [!PI_STATIC_AND_HIDDEN]: Likewise.
7916         (elf_machine_load_address) [!PI_STATIC_AND_HIDDEN]: Likewise.
7918 2014-12-30  Andrew Senkevich  <andrew.senkevich@intel.com>
7920         * sysdeps/i386/tls-macros.h: Include <features.h>.
7921         (TLS_LE): Use non-PIC version for GCC >= 5.0.
7922         (TLS_IE): Likewise.
7923         (TLS_LD): Likewise.
7924         (TLS_GD): Likewise.
7925         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Don't
7926         define for GCC >= 5.0.
7928 2014-12-30  Chris Metcalf  <cmetcalf@ezchip.com>
7930         * math/test-fenv.c (test_single_exception, set_single_exc,
7931         feenv_nomask_test, feenv_mask_test, feexcp_nomask_test,
7932         feexcp_mask_test, feenable_test, fe_single_test): Add
7933         [!FE_ALL_EXCEPT] test so these routines are not compiled in the
7934         case where they are not used.
7935         * math/libm-test.inc: Likewise.
7936         * setjmp/test-setjmp-fp.c: Mark attribute ((unused)) on variable
7937         unused in the absence of FP rounding/exception support.
7938         * stdio-common/tst-printf-round.c: Likewise.
7939         * stdlib/tst-strtod-round.c: Likewise.
7940         * stdlib/tst-strtod-underflow.c: Likewise.
7942 2014-12-30  Joseph Myers  <joseph@codesourcery.com>
7944         [BZ #17723]
7945         * include/fenv.h (__feraiseexcept): Use libm_hidden_proto.
7946         * math/fraiseexcpt.c (__feraiseexcept): Use libm_hidden_def.
7947         * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
7948         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
7949         libm_hidden_weak.
7950         * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Likewise.
7951         * sysdeps/hppa/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
7952         * sysdeps/i386/fpu/fraiseexcpt.c (__feraiseexcept): Use
7953         libm_hidden_def.
7954         * sysdeps/ia64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
7955         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
7956         libm_hidden_weak.
7957         * sysdeps/m68k/coldfire/fpu/fraiseexcpt.c (feraiseexcept):
7958         Likewise.
7959         * sysdeps/microblaze/math_private.h (__feraiseexcept): New macro.
7960         * sysdeps/mips/fpu/fraiseexcpt.c (feraiseexcept): Rename to
7961         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
7962         libm_hidden_weak.
7963         * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Use
7964         libm_hidden_def.
7965         * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
7966         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c
7967         (__feraiseexcept): Likewise.
7968         * sysdeps/s390/fpu/fraiseexcpt.c (feraiseexcept): Rename to
7969         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
7970         libm_hidden_weak.
7971         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
7972         * sysdeps/sparc/fpu/fraiseexcpt.c (__feraiseexcept): Use
7973         libm_hidden_def.
7974         * sysdeps/tile/math_private.h (__feraiseexcept): New macro.
7975         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (__feraiseexcept):
7976         Use libm_hidden_def.
7977         * sysdeps/x86_64/fpu/fraiseexcpt.c (__feraiseexcept): Use
7978         libm_hidden_def.
7979         (feraiseexcept): Define as weak not strong alias.  Use
7980         libm_hidden_weak.
7981         * sysdeps/x86/fpu/bits/fenv.h (__feraiseexcept_invalid_divbyzero):
7982         New inline function.  Factored out of ...
7983         (feraiseexcept): ... here.  Use __feraiseexcept_invalid_divbyzero.
7984         * sysdeps/x86/fpu/include/bits/fenv.h: New file.
7985         * math/e_scalb.c (invalid_fn): Call __feraiseexcept instead of
7986         feraiseexcept.
7987         * math/w_acos.c (__acos): Likewise.
7988         * math/w_asin.c (__asin): Likewise.
7989         * math/w_ilogb.c (__ilogb): Likewise.
7990         * math/w_j0.c (y0): Likewise.
7991         * math/w_j1.c (y1): Likewise.
7992         * math/w_jn.c (yn): Likewise.
7993         * math/w_log.c (__log): Likewise.
7994         * math/w_log10.c (__log10): Likewise.
7995         * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Likewise.
7996         * sysdeps/aarch64/fpu/math_private.h
7997         (libc_feupdateenv_test_aarch64): Likewise.
7998         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
7999         * sysdeps/arm/fenv_private.h (libc_feupdateenv_test_vfp): Likewise.
8000         * sysdeps/arm/feupdateenv.c (feupdateenv): Likewise.
8001         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
8002         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
8003         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
8004         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Likewise.
8005         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
8006         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
8007         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
8009 2014-12-30  H.J. Lu  <hongjiu.lu@intel.com>
8011         [BZ #17732]
8012         * io/test-utime.c (main): Replace %ld with %jd and cast to
8013         intmax_t.
8014         * libio/tst-ftell-active-handler.c (do_append_test): Likewise.
8015         * nptl/tst-mutex5.c: Include <stdint.h>.
8016         (do_test): Replace %ld with %jd and cast to intmax_t.
8017         * posix/tst-regex.c (run_test): Likewise.
8018         (run_test_backwards): Likewise.
8019         * rt/tst-clock.c: Include <stdint.h>.
8020         (clock_test): Replace %ld with %jd and cast to intmax_t.
8021         * rt/tst-cpuclock1.c: Include <stdint.h>.
8022         (do_test): Replace %lu with %ju and cast to uintmax_t.
8023         * rt/tst-cpuclock2.c: Include <stdint.h>.
8024         (do_test): Replace %lu with %ju and cast to uintmax_t.
8025         * rt/tst-mqueue1.c: Include <stdint.h>.
8026         (check_attrs): Replace %ld with %jd and cast to intmax_t.
8027         * rt/tst-mqueue3.c (fct): Replace %ld with %jd and cast to
8028         intmax_t.
8029         * rt/tst-mqueue4.c (do_test): Likewise.
8030         * rt/tst-timer4.c: Include <stdint.h>.
8031         (check_ts): Replace %ld with %jd and cast to intmax_t.
8032         (do_test): Likewise.
8033         * stdio-common/tst-fmemopen2.c (do_test): Replace %ld with %jd
8034         and cast to intmax_t.
8035         * sysdeps/pthread/tst-timer.c (main): Likewise.
8036         * time/clocktest.c (main): Likewise.
8037         * time/tst-posixtz.c (do_test): Likewise.
8038         * timezone/tst-timezone.c (main): Likewise.
8040 2014-12-30  Andrew Senkevich  <andrew.senkevich@intel.com>
8041             H.J. Lu  <hongjiu.lu@intel.com>
8043         * sysdeps/i386/i686/multiarch/bcopy-sse2-unaligned.S: New file.
8044         * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S: Likewise.
8045         * sysdeps/i386/i686/multiarch/memmove-sse2-unaligned.S: Likewise.
8046         * sysdeps/i386/i686/multiarch/mempcpy-sse2-unaligned.S: Likewise.
8047         * sysdeps/i386/i686/multiarch/bcopy.S: Select the sse2_unaligned
8048         version if bit_Fast_Unaligned_Load is set.
8049         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
8050         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
8051         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
8052         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
8053         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
8054         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
8055         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
8056         bcopy-sse2-unaligned, memcpy-sse2-unaligned,
8057         memmove-sse2-unaligned and mempcpy-sse2-unaligned.
8058         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c (MAX_IFUNC): Set
8059         to 4.
8060         (__libc_ifunc_impl_list): Test __bcopy_sse2_unaligned,
8061         __memmove_chk_sse2_unaligned, __memmove_sse2_unaligned,
8062         __memcpy_chk_sse2_unaligned, __memcpy_sse2_unaligned,
8063         __mempcpy_chk_sse2_unaligned, and __mempcpy_sse2_unaligned.
8065 2014-12-29  Chris Metcalf  <cmetcalf@ezchip.com>
8067         * sysdeps/unix/sysv/linux/tst-setgetname.c (do_test): Use #ifndef
8068         instead of #if to avoid a Wundef warning.
8069         * stdlib/tst-limits.c (do_test): Likewise.
8071         * sysdeps/tile/math_private.h (fetestexcept): Add macro to
8072         parallel other exception macros.
8073         (fegetenv): Convert from macro to extern inline so that it applies
8074         retroactively to inline functions already seen by the compiler.
8075         (fesetenv, feupdateenv, fegetround, fesetround): Likewise.
8077         * posix/Makefile (before-compile): Use $(objpfx) for
8078         posix-conf-vars-def.h.
8080 2014-12-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
8082         * posix/getconf.c (main): Use size_t for type of I.
8083         * scripts-gen-posix-conf-vars.awk (END): Use size_t for type of
8084         NSPEC.
8086         * posix/posix-conf-vars.list (SPEC:XBS5): Add sysconf prefix.
8087         * posix/confstr.c: Define NEED_SPEC_ARRAY to 0.
8088         * posix/posix-envs.def: Likewise.
8089         * sysdeps/posix/sysconf.c: Likewise.
8090         * posix/getconf.c: Define NEED_SPEC_ARRAY to 1.
8091         (specs): Remove array.
8092         * scripts/gen-posix-conf-vars.awk: Support generation of specs
8093         array.
8095         * posix/posix-conf-vars.list: Add _POSIX sysconf namespace.
8096         * sysdeps/posix/sysconf.c: Include posix-conf-vars.h.
8097         (__sysconf): Use CONF_IS_* macros.
8099         * posix/Makefile (before-compile): Add posix-conf-vars-def.h.
8100         ($(objpfx)posix-conf-vars-def.h): New target.
8101         * posix/posix-conf-vars.list: New file.
8102         * posix/posix-conf-vars.h: New file.
8103         * posix/confstr.c: Include posix-conf-vars.h.
8104         (confstr): Use CONF_IS_* macros.
8105         * posix/posix-envs.def: Include posix-conf-vars.h.  Use
8106         CONF_IS_* macros.
8107         * scripts/gen-posix-conf-vars.awk: New file.
8109 2014-12-26  Chris Metcalf  <cmetcalf@ezchip.com>
8111         * sysdeps/tile/math_private.h (fegetenv, fesetenv, feupdateenv,
8112         fegetround): Add no-op macros to avoid linknamespace issues.
8114         * sysdeps/unix/sysv/linux/clock_settime.c (SYSDEP_SETTIME): Remove
8115         definitions of INTERNAL_VSYSCALL and INLINE_VSYSCALL.
8117         * sysdeps/unix/sysv/linux/tile/sysdep.h
8118         (HAVE_CLOCK_GETTIME_VSYSCALL): Move definition out of
8119         assembly-specific section to avoid a redefinition warning.
8121         * sysdeps/tile/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast to
8122         long before casting to pointer to avoid a cast warning.
8124 2014-12-23  Chris Metcalf  <cmetcalf@ezchip.com>
8126         * sysdeps/tile/tilegx/Implies: New file.
8128 2014-12-23  Richard Earnshaw  <rearnsha@arm.com>
8130         * string/stpcpy.c (__stpcpy): Rewrite using strlen and memcpy.
8132 2014-12-23  Florian Weimer  <fweimer@redhat.com>
8134         * iconvdata/run-iconv-test.sh: Actually test iconv modules.
8136 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
8138         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES): Do
8139         not define.
8140         * sysdeps/unix/sysv/linux/utimes.c: Do not include
8141         <kernel-features.h>.
8142         (__utimes) [__NR_utimes]: Make code unconditional.
8143         (__utimes) [!__ASSUME_UTIMES]: Remove conditional code.
8144         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
8145         (__ASSUME_UTIMES): Do not undefine.
8146         * sysdeps/unix/sysv/linux/tile/kernel-features.h
8147         (__ASSUME_UTIMES): Likewise.
8148         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
8149         (__ASSUME_UTIMES): Define for [__LINUX_KERNEL_VERSION >= 0x030e00]
8150         instead of undefining for [__LINUX_KERNEL_VERSION < 0x030e00].
8151         * sysdeps/unix/sysv/linux/hppa/utimes.c: New file.
8153 2014-12-22  Steve Ellcey  <sellcey@imgtec.com>
8155         * sysdeps/mips/memcpy.S: Fix preprocessor indentation.
8157 2014-12-22  Chris Metcalf  <cmetcalf@ezchip.com>
8159         [BZ #17747]
8160         * math/w_j0.c [defined NO_LONG_DOUBLE] (j0, y0): Convert strong
8161         alias to weak alias for j0l, y0l.
8162         * math/w_j1.c [defined NO_LONG_DOUBLE] (j1, y1): Likewise.
8163         * math/w_jn.c [defined NO_LONG_DOUBLE] (jn, yn): Likewise.
8165         [BZ #17746]
8166         * sysdeps/tile/tilegx/strstr.c (STRSTR2): Remove implicit boolean
8167         conversion.
8169 2014-12-22  Steve Ellcey  <sellcey@imgtec.com>
8171         * sysdeps/unix/mips/sysdep.h (__mips_isa_rev): Set
8172         to zero if not already defined.
8174 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
8176         [BZ #17724]
8177         * sysdeps/ieee754/k_standard.c: Don't include <float.h>.
8178         (__kernel_standard_f): Remove.  Moved to k_standardf.c.
8179         (__kernel_standard_l): Remove.  Moved to k_standardl.c with
8180         (char *) casts added.
8181         * sysdeps/ieee754/k_standardf.c: New file.
8182         * sysdeps/ieee754/k_standardl.c: Likewise.
8183         * math/Makefile (libm-support): Remove k_standard.
8184         (libm-calls): Add k_standard.
8186 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
8188         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
8189         Optimize to avoid an unnecessary FPCR read.
8191 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
8193         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv):
8194         Optimize to reduce FPCR/FPSR accesses.
8196 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
8198         * sysdeps/aarch64/fpu/ftestexcept.c (fetestexcept):
8199         Call libc_fetestexcept_aarch64.
8201 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
8203         * sysdeps/aarch64/fpu/fesetround.c (fesetround):
8204         Call libc_fesetround_aarch64.
8206 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
8208         [BZ #17733]
8209         * sysdeps/unix/sysv/linux/bind.S (NO_WEAK_ALIAS): Do not define.
8210         (__bind): Do not define as weak alias.
8211         * sysdeps/unix/sysv/linux/getsockname.S (NO_WEAK_ALIAS): Do not
8212         define.
8213         (__getsockname): Do not define as weak alias.
8215 2014-12-22  Will Newton  <will.newton@linaro.org>
8217         * manual/install.texi: Document that we require bison 2.7
8218         or above.
8219         * INSTALL: Regenerate.
8220         * configure.ac: Use AC_CHECK_PROG_VER instead of
8221         AC_PATH_PROG when checking for bison and check for
8222         version 2.7 or above.
8223         * configure: Regenerate.
8225 2014-12-21  Chris Metcalf  <cmetcalf@ezchip.com>
8227         [BZ #17745]
8228         * sysdeps/tile/ffs.c (__ffs): Moved ffsll definition...
8229         * sysdeps/tile/ffsll.c (ffsll): To here.
8231         * sysdeps/unix/sysv/linux/tile/localplt.data: Removed.
8233 2014-12-21  H.J. Lu  <hongjiu.lu@intel.com>
8235         * elf/dl-tls.c (__tls_get_addr): Provide the hidden definition
8236         if not defined.
8237         * sysdeps/i386/dl-tls.h (___tls_get_addr): Provide the hidden
8238         definition.
8239         * sysdeps/i386/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
8240         hidden ___tls_get_addr.
8241         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
8242         hidden __tls_get_addr.
8243         * sysdeps/generic/localplt.data (__tls_get_addr): Removed.
8244         * sysdeps/unix/sysv/linux/i386/localplt.data (___tls_get_addr):
8245         Likewise.
8247 2014-12-21  Andreas Schwab  <schwab@linux-m68k.org>
8249         * sysdeps/m68k/dl-machine.h (RTLD_START): Remove @PLTPC from
8250         _dl_init call.
8252 2014-12-21  H.J. Lu  <hongjiu.lu@intel.com>
8254         * sysdeps/i386/dl-machine.h (_dl_start_user): Remove @PLT
8255         from "call _dl_init@PLT".
8256         * sysdeps/x86_64/dl-machine.h (_dl_start_user): Likewise.
8258 2014-12-21  Anders Kaseorg  <andersk@mit.edu>
8260         * manual/search.texi: (Array Sort Function): Clarify stable sorting
8261         guarantees.
8263 2014-12-20  Chris Metcalf  <cmetcalf@ezchip.com>
8265         * sysdeps/unix/sysv/linux/tile/localplt.data: New file.
8267 2014-12-19  Chris Metcalf  <cmetcalf@ezchip.com>
8269         [BZ #17744]
8270         * sysdeps/tile/tilegx/strstr.c (STRSTR): Call __strnlen, not
8271         strnlen.
8273 2014-12-19  Steve Ellcey  <sellcey@imgtec.com>
8275         * sysdeps/mips/addmul_1.S (__mpn_addmul_1): Use mulu/muhu instead
8276         of multu on MIPSr6.
8277         * sysdeps/mips/mul_1.S (__mpn_mul_1): Ditto.
8278         * sysdeps/mips/submul_1.S (__mpn_submul_1): Ditto.
8279         * sysdeps/mips/mips64/addmul_1.S (__mpn_addmul_1): Ditto.
8280         * sysdeps/mips/mips64/mul_1.S (__mpn_mul_1): Ditto.
8281         * sysdeps/mips/mips64/submul_1.S (__mpn_submul_1): Ditto.
8283 2014-12-19  Steve Ellcey  <sellcey@imgtec.com>
8285         * sysdeps/mips/sys/asm.h (PTR_ADDU): Use addu on mips32r6/mips64r6.
8286         (PTR_ADDIU): Use addiu for mips32r6/mips64r6.
8287         (PTR_SUBU): Use subu for mips32r6/mips64r6.
8288         (PTR_SUBIU): Use subu for mips32r6/mips64r6 (subiu does not exist).
8289         * sysdeps/mips/machine-gmon.h (PTR_ADDU_STRING) Use addu for
8290         mips32r6/mips64r6.
8291         (PTR_SUBU_STRING) Use subu for mips32r6/mips64r6.
8293 2014-12-19  Ondřej Bílka  <neleai@seznam.cz>
8295         * string/strncat.c (STRNCAT): Simplify implementation.
8297 2014-12-19  David S. Miller  <davem@davemloft.net>
8299         * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Use a union to
8300         access the quad as both a long double and as a series of 4 words.
8302         * get-dynamic-info.h (elf_get_dynamic_info): Ignore -Warray-bounds for a
8303         link_map->l_info array access.
8305 2014-12-19  Chris Metcalf  <cmetcalf@ezchip.com>
8307         * iconvdata/tst-loading.c (TIMEOUT): Increase timeout 10 sec.
8309         * math/atest-exp.c (TIMEOUT): Increase timeout to 10 sec.
8310         * math/atest-exp2.c (TIMEOUT): Likewise.
8311         * math/atest-sincos.c (TIMEOUT): Likewise.
8313 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
8315         * sysdeps/x86_64/x32/Makefile (CFLAGS-s_llround.c): Replace
8316         -Wno-error with -fno-builtin-lround.
8318 2014-12-19  Torvald Riegel  <triegel@redhat.com>
8320         * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: New file.
8321         Contains futex constants and functions moved over from ...
8322         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.  Include
8323         <lowlevellock-futex.h>.
8324         (lll_wait_tid): Use lll_futex_wait instead of assembly code.
8325         (lll_timedwait_tid): Add comments and parentheses around macro
8326         arguments.
8328 2014-12-19  Torvald Riegel  <triegel@redhat.com>
8330         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Include
8331         <lowlevellock-futex.h>.  Remove FUTEX_* constants defined there.
8332         (__lll_private_flag): Remove.
8333         (lll_futex_wait): Likewise.
8334         (lll_futex_timed_wait): Likewise.
8335         (lll_futex_wake): Likewise.
8336         (lll_futex_requeue): Likewise.
8337         (lll_wait_tid): Use lll_futex_wait instead of assembly code.
8338         (__lll_timedwait_tid): Spell out argument names.
8339         (lll_timedwait_tid): Add comments and parentheses around macro
8340         arguments.
8341         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Make FUTEX_* constants,
8342         LLL_SHARED and LLL_PRIVATE usable from assembly code.
8344 2014-12-19  Torvald Riegel  <triegel@redhat.com>
8346         * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Remove file.
8347         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
8348         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
8349         * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Likewise.
8350         * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Likewise.
8351         * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Likewise.
8352         * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Likewise.
8353         * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Likewise.
8354         * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Likewise.
8355         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: Likewise.
8356         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: Likewise.
8357         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Likewise.
8358         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Likewise.
8359         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Likewise.
8360         * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Likewise.
8361         * sysdeps/unix/sysv/linux/sh/sem_post.S: Likewise.
8362         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Likewise.
8363         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Likewise.
8364         * sysdeps/unix/sysv/linux/sh/sem_wait.S: Likewise.
8366 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
8368         * sysdeps/x86_64/x32/Makefile: New file.
8370 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
8372         * sysdeps/i386/ldbl2mpn.c (__mpn_extract_long_double): Replace
8373         1L with (mp_limb_t) 1.
8375 2014-12-17  Roland McGrath  <roland@hack.frob.com>
8377         * sysdeps/nptl/fork.c (__fork_generation_pointer): Variable moved ...
8378         * nptl/libc_pthread_init.c: ... here.
8379         * sysdeps/nptl/fork.c (__fork_handlers): Variable moved ...
8380         * nptl/register-atfork.c: ... here.
8382         * sysdeps/nptl/gai_misc.h (__gai_start_notify_thread):
8383         Use pthread_sigmask rather than INTERNAL_SYSCALL.
8384         Use assert_perror to check its return value.
8385         (__gai_create_helper_thread): Likewise.
8387         * inet/if_index.c (__if_freenameindex): Add libc_hidden_def.
8389         * malloc/malloc.c (alloc_perturb, free_perturb): Remove inline keyword.
8391 2014-12-17  Joseph Myers  <joseph@codesourcery.com>
8393         [BZ #17725]
8394         * sysdeps/generic/profil-counter.h (profil_counter): Rename to
8395         __profil_counter.
8396         * sysdeps/unix/sysv/linux/hppa/profil-counter.h (profil_counter):
8397         Likewise.
8398         * sysdeps/unix/sysv/linux/i386/profil-counter.h (profil_counter):
8399         Likewise.
8400         * sysdeps/unix/sysv/linux/ia64/profil-counter.h (profil_counter):
8401         Likewise.
8402         * sysdeps/unix/sysv/linux/s390/s390-32/profil-counter.h
8403         (profil_counter): Likewise.
8404         * sysdeps/unix/sysv/linux/s390/s390-64/profil-counter.h
8405         (profil_counter): Likewise.
8406         * sysdeps/unix/sysv/linux/sh/profil-counter.h (profil_counter):
8407         Likewise.
8408         * sysdeps/unix/sysv/linux/tile/profil-counter.h (profil_counter):
8409         Likewise.
8410         * sysdeps/unix/sysv/linux/x86_64/profil-counter.h
8411         (profil_counter): Likewise.
8412         * sysdeps/unix/sysv/linux/arm/profil-counter.h (profil_counter):
8413         Likewise.
8414         [!__profil_counter] (profil_counter): Define as weak alias of
8415         __profil_counter.
8416         * sysdeps/unix/sysv/linux/sparc/sparc32/profil-counter.h
8417         (profil_counter): Rename to __profil_counter.
8418         [!__profil_counter] (profil_counter): Define as weak alias of
8419         __profil_counter.
8420         * sysdeps/unix/sysv/linux/sparc/sparc64/profil-counter.h
8421         (profil_counter): Rename to __profil_counter.
8422         [!__profil_counter] (profil_counter): Define as weak alias of
8423         __profil_counter.
8424         * sysdeps/posix/profil.c: Update comment referring to
8425         profil_counter.
8426         (__profil): Use __profil_counter instead of profil_counter.
8427         * sysdeps/posix/sprofil.c (profil_counter): Rename to
8428         __profil_counter.  Use __profil_counter_ushort and
8429         __profil_counter_uint in definitions.
8430         (__sprofil): Use __profil_counter_uint and __profil_counter_ushort
8431         instead of profil_counter_uint and profil_counter_ushort.
8433         [BZ #17722]
8434         * inet/inet_mkadr.c (inet_makeaddr): Rename to __inet_makeaddr and
8435         define as weak alias of __inet_makeaddr.
8436         * resolv/inet_addr.c (inet_addr): Rename to __inet_addr and define
8437         as weak alias of __inet_addr.
8438         * resolv/inet_pton.c (inet_pton): Rename to __inet_pton and define
8439         as weak alias of __inet_pton.  Use libc_hidden_weak.
8440         * include/arpa/inet.h (__inet_pton): Declare.  Use
8441         libc_hidden_proto.
8442         (inet_makeaddr): Don't use libc_hidden_proto.
8443         (__inet_makeaddr): Declare.  Use libc_hidden_proto.
8444         * resolv/res_init.c (__res_vinit): Use __inet_pton instead of
8445         inet_pton.  Use __inet_makeaddr instead of inet_makeaddr.
8446         * conform/Makefile (test-xfail-POSIX/pthread.h/linknamespace):
8447         Remove variable.
8448         (test-xfail-POSIX/sched.h/linknamespace): Likewise.
8449         (test-xfail-POSIX/time.h/linknamespace): Likewise.
8451 2014-12-17  Steve Ellcey  <sellcey@imgtec.com>
8453         * inet/getnetgrent_r.c: Move while loop to be inside if statement.
8455 2014-12-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
8457         * stdio-common/bug-vfprintf-nargs.c (do_test):
8458         Cast value to intptr_t to avoid format warning
8459         for usage with PRIdPTR printing macro.
8461 2014-12-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
8463         * libio/tst-widetext.c (do_test):
8464         Use format type %td instead of %Zd for ptrdiff_t
8465         in order to avoid format warning.
8467 2014-12-17  Andreas Schwab  <schwab@suse.de>
8469         * nscd/mem.c (gc): Add size_t cast to match printf format.
8471 2014-12-16  Roland McGrath  <roland@hack.frob.com>
8473         * sysdeps/gnu/unwind-resume.c: #include <sysdep.h>.
8474         (init): Apply PTR_MANGLE to pointers before storing them.
8475         (_Unwind_Resume, __gcc_personality_v0): Apply PTR_DEMANGLE to pointers
8476         before using them.
8478 2014-12-16  Joseph Myers  <joseph@codesourcery.com>
8480         [BZ #17719]
8481         * sysdeps/x86_64/memrchr.S (memrchr): Rename to __memrchr and
8482         define as weak alias of __memrchr.
8483         (__memrchr): Do not define as strong alias of memrchr.
8484         * conform/Makefile (test-xfail-XPG4/libgen.h/linknamespace):
8485         Remove variable.
8486         (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
8487         (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
8488         (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
8490         [BZ #17717]
8491         * inet/if_index.c (if_nametoindex): Rename to __if_nametoindex and
8492         define as weak alias of __if_nametoindex.  Use libc_hidden_weak.
8493         (if_indextoname): Rename to __if_indextoname and define as weak
8494         alias of __if_indextoname.  Use libc_hidden_weak.
8495         (if_freenameindex): Rename to __if_freenameindex and define as
8496         weak alias of __if_freenameindex.
8497         (if_nameindex): Rename to __if_nameindex and define as weak alias
8498         of __if_nameindex.
8499         * sysdeps/mach/hurd/if_index.c (if_nametoindex): Rename to
8500         __if_nametoindex and define as weak alias of __if_nametoindex.
8501         Use libc_hidden_weak.
8502         (if_freenameindex): Rename to __if_freenameindex and define as
8503         weak alias of __if_freenameindex.
8504         (if_nameindex): Rename to __if_nameindex and define as weak alias
8505         of __if_nameindex.
8506         (if_indextoname): Rename to __if_indextoname and define as weak
8507         alias of __if_indextoname.  Use libc_hidden_weak.
8508         * sysdeps/unix/sysv/linux/if_index.c (if_nametoindex): Rename to
8509         __if_nametoindex and define as weak alias of __if_nametoindex.
8510         Use libc_hidden_weak.
8511         (if_freenameindex): Rename to __if_freenameindex and define as
8512         weak alias of __if_freenameindex.  Use libc_hidden_weak.
8513         (if_nameindex_netlink): Use __if_freenameindex instead of
8514         if_freenameindex.
8515         (if_nameindex): Rename to __if_nameindex and define as weak alias
8516         of __if_nameindex.  Use libc_hidden_weak.
8517         (if_indextoname): Rename to __if_indextoname and define as weak
8518         alias of __if_indextoname.  Use libc_hidden_weak.
8519         * include/net/if.h [!_ISOMAC] (__if_nametoindex): Declare and use
8520         libc_hidden_proto.
8521         [!_ISOMAC] (__if_freenameindex): Likewise.
8522         * resolv/res_init.c (__res_vinit): Use __if_nametoindex instead of
8523         if_nametoindex.
8524         * conform/Makefile (test-xfail-XPG4/grp.h/linknamespace): Remove
8525         variable.
8526         (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
8527         (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
8528         (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
8529         (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
8530         (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
8531         (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
8532         (test-xfail-UNIX98/time.h/linknamespace): Likewise.
8534         * conform/Makefile (test-xfail-UNIX98/semaphore.h/linknamespace):
8535         Remove variable.
8536         (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
8537         (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
8539 2014-12-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
8541         * resolv/res_send.c (__libc_res_nsend): Disable warning 'array
8542         subscript above bounds'
8544         * resolv/res_send.c (__libc_res_nsend): Fix check for nsmap
8545         bounds.
8547 2014-12-16  Arjun Shankar  <arjun.is@lostca.se>
8549         * libio/tst-fopenloc.c: Use test-skeleton.c.
8551         * stdlib/tst-bsearch.c: Use test-skeleton.c.
8552         (entry): Rename to ITEM.
8553         (do_test, comp): Adjust.
8555         * stdio-common/tst-fseek.c: Use test-skeleton.c.
8557 2014-12-16  Torvald Riegel  <triegel@redhat.com>
8559         * string/tester.c: Include <libc-internal.h>.
8560         (test_memset): Ignore -Wmemset-transposed-args.
8562 2014-12-16  Torvald Riegel  <triegel@redhat.com>
8564         * misc/tst-mntent2.c (do_test): Fix warning.
8566 2014-12-16  Torvald Riegel  <triegel@redhat.com>
8568         * elf/tst-unique4lib.cc(a): Mark as used.
8570 2014-12-16  Florian Weimer  <fweimer@redhat.com>
8572         [BZ #17630]
8573         * resolv/nss_dns/dns-network.c (getanswer_r): Iterate over alias
8574         names.
8576 2014-12-16  Allan McRae  <allan@archlinux.org>
8578         * stdio-common/Makefile (tests): Re-add bug26.
8580 2014-12-15  Ondřej Bílka  <neleai@seznam.cz>
8582         [BZ #17657]
8583         * locale/programs/ld-ctype.c (find_translit2, read_widestring): Return
8584         static array.
8586 2014-12-15  Bernard Ogden  <bernie.ogden@linaro.org>
8588         * nptl/lowlevellock.c (__lll_lock_wait_private): Add comments.
8589         (__lll_lock_wait): Likewise.
8590         (__lll_timedlock_wait): Likewise.
8591         (__lll_timedwait_tid): Likewise.
8592         * nptl/lowlevelrobustlock.c (__lll_robust_lock_wait): Likewise.
8593         (__lll_robust_timedlock_wait): Likewise.
8594         * sysdeps/nptl/lowlevellock.h (lll_trylock): Likewise.
8595         (lll_cond_trylock): Likewise.
8596         (__lll_lock): Likewise.
8597         (__lll_robust_lock): Likewise.
8598         (__lll_cond_lock): Likewise.
8599         (lll_robust_cond_lock): Likewise.
8600         (__lll_timedlock): Likewise.
8601         (__lll_robust_timedlock): Likewise.
8602         (__lll_unlock): Likewise.
8603         (__lll_robust_unlock): Likewise.
8604         (lll_wait_tid): Likewise.
8605         (lll_timedwait_tid): Likewise.
8607 2014-12-15  Torvald Riegel  <triegel@redhat.com>
8609         * nptl/tst-sem4.c (do_test): Start with a fresh semaphore state.
8611 2014-12-15  Torvald Riegel  <triegel@redhat.com>
8613         * nptl/tst-mutex5.c (do_test): Do not skip tests if elision is enabled.
8615 2014-12-15  Adhemerval Zanella  <Azanella@linux.vnet.ibm.com>
8617         * stdio-common/test-vfprintf.c: Include <libc-internal.h>.
8618         * stdio-common/tst-sprintf.c: Likewise.
8620 2014-12-15  Torvald Riegel  <triegel@redhat.com>
8622         * sysdeps/unix/sysv/linux/s390/pthread_once.c: Remove file.
8624 2014-12-15  Jeff Law  <law@redhat.com>
8626         [BZ #16617]
8627         * stdio-common/vfprintf.c (vfprintf): Allocate large specs array
8628         on the heap.  (CVE-2012-3406)
8629         * stdio-common/bug23-2.c, stdio-common/bug23-3.c: New file.
8630         * stdio-common/bug23-4.c: New file.  Test case by Joseph Myers.
8631         * stdio-common/Makefile (tests): Add bug23-2, bug23-3, bug23-4.
8633 2014-12-15  Will Newton  <will.newton@linaro.org>
8635         * manual/install.texi: Bump required version of texinfo
8636         to 4.7 from 4.5.
8637         * INSTALL: Regenerated.
8638         * configure.ac: Check for makeinfo version 4.7 and above.
8639         * configure: Regenerated.
8641 2014-12-12  Roland McGrath  <roland@hack.frob.com>
8643         * sysdeps/posix/shm-directory.h (SHM_GET_NAME): Take new argument
8644         PREFIX, string constant to insert between directory and name.
8645         * sysdeps/posix/shm_open.c: Update caller.
8646         * sysdeps/posix/shm_unlink.c: Likewise.
8647         * nptl/semaphoreP.h (struct mountpoint_info): Type removed.
8648         (__where_is_shmfs, mountpoint, __namedsem_once): Declarations removed.
8649         (SEM_SHM_PREFIX): New macro.
8650         * sysdeps/posix/Makefile (librt-routines): Add shm-directory only if
8651         [$(have-thread-library) = no].
8652         * nptl/Makefile (libpthread-routines): Add shm-directory.
8653         * nptl/Versions (GLIBC_PRIVATE): Add __shm_directory.
8654         * sysdeps/nptl/shm-directory.h: New file.
8655         * sysdeps/posix/shm-directory.c
8656         [IS_IN (libpthread)] (__shm_directory): Add hidden_def.
8657         * sysdeps/unix/sysv/linux/shm-directory.c: Likewise.
8658         * nptl/sem_open.c (check_add_mapping): Use munmap function rather than
8659         INTERNAL_SYSCALL.
8660         (__where_is_shmfs): Function removed.
8661         (mountpoint, defaultmount, defaultdir, __namedsem_once):
8662         Variables removed.
8663         (sem_open): Use __libc_close function rather than INTERNAL_SYSCALL.
8664         Use SHM_GET_NAME.
8665         * nptl/sem_unlink.c: Prototypify.  Use SHM_GET_NAME.
8667         * sysdeps/nptl/bits/libc-lockP.h [IS_IN (libpthread)]
8668         (PTFAVAIL, __libc_ptf_call, __libc_ptf_call_always): Define as
8669         unconditional for use inside libpthread.
8670         [IS_IN (libpthread)]: Include <nptl/pthreadP.h>.
8672 2014-12-12  Roland McGrath  <roland@hack.frob.com>
8674         * nptl/pthread_getaffinity.c: New file.
8675         * nptl/pthread_setaffinity.c: New file.
8676         * nptl/pthread_getname.c: New file.
8677         * nptl/pthread_setname.c: New file.
8679         * nptl/pthread_create.c (START_THREAD_DEFN)
8680         [! __ASSUME_SET_ROBUST_LIST]: Add missing & in lll_futex_wake argument.
8682 2014-12-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
8683             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8685         * resolv/res_send.c (send_vc): Disable warning resplen may
8686         be used uninitialized.
8688 2014-12-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
8690         * nptl/tst-mutex6.c
8691         (ATTR_NULL): New define checks ATTR against NULL.
8692         (do_test): Use !ATTR_NULL instead of ATTR != NULL.
8693         * nptl/tst-mutexpp6.c (ATTR_NULL): New define.
8695 2014-12-11  James Lemke  <jwlemke@codesourcery.com>
8697         [BZ #17581]
8698         * malloc/hooks.c
8699         (mem2mem_check): Revert my previous change.
8700         (malloc_check_get_size): Revert my previous change.
8701         (mem2chunk_check): Revert my previous change.
8703 2014-12-11  Roland McGrath  <roland@hack.frob.com>
8705         * sysdeps/posix/shm-directory.c: New file.
8706         * sysdeps/posix/shm-directory.h: New file.
8707         * sysdeps/posix/Makefile [($(subdir) = rt] (librt-routines): Add it.
8708         * sysdeps/posix/shm_open.c: Use SHM_GET_NAME.
8709         Use O_NOFOLLOW and O_CLOEXEC if available.  Transmute EISDIR to EINVAL.
8710         * sysdeps/posix/shm_unlink.c: Use SHM_GET_NAME.
8711         Transmute EPERM to EACCES.
8712         * sysdeps/unix/sysv/linux/shm-directory.c: New file, most code taken
8713         from ...
8714         * sysdeps/unix/sysv/linux/shm_open.c: ... here.  File removed.
8715         * sysdeps/unix/sysv/linux/shm_unlink.c: File removed.
8717 2014-12-11  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
8719         * sysdeps/sh/jmpbuf_unwind.h (_jmpbuf_sp): Declare SP as void
8720         pointer and cast to uintptr_t.
8721         * sysdeps/sh/nptl/tls.h (TLS_INIT_TP): Use NULL instead of 0.
8722         * sysdeps/unix/sysv/linux/sh/lowlevellock.h (lll_futex_timed_wait):
8723         Add cast to avoid warning.
8724         * sysdeps/unix/sysv/linux/sh/register-dump.h: Use 0 instead of NULL.
8726 2014-12-11  Joseph Myers  <joseph@codesourcery.com>
8728         * nptl/semaphore.h: Move to ...
8729         * sysdeps/pthread/semaphore.h: ... here.
8730         * Makefile (installed-headers): Change nptl/semaphore.h to
8731         sysdeps/pthread/semaphore.h.
8733 2014-12-11  Roland McGrath  <roland@hack.frob.com>
8735         * misc/tst-error1.c (do_test): Ignore -Wformat-security for
8736         generated error format strings.
8738         * stdio-common/tstdiomisc.c (t2): Ignore -Wformat and
8739         -Wformat-extra-args warnings for scanf formats.
8740         * stdio-common/scanf4.c (main): Ignore -Wformat-zero-length around
8741         test of zero-length format (duh).
8742         * stdio-common/scanf7.c (main): Ignore -Wformat warnings for
8743         corner-case scanf format test.
8744         * stdio-common/test-vfprintf.c (do_test): Ignore -Wformat-security for
8745         generated fprintf format string.
8746         * stdio-common/tst-sprintf.c (do_test): Ignore -Wformat warnings for
8747         corner-case sprintf format tests.
8748         * stdio-common/tst-printf.c: Ignore -Wformat throughout.
8749         * stdio-common/tst-printfsz.c (main): Ignore -Wformat and
8750         -Wformat-extra-args warnings throughout.
8751         * stdio-common/Makefile (CFLAGS-tstdiomisc.c): Variable removed.
8752         (CFLAGS-scanf4.c): Likewise.
8753         (CFLAGS-scanf7.c): Likewise.
8754         (CFLAGS-tst-sprintf.c): Likewise.
8755         (CFLAGS-tst-printf.c): Likewise.
8756         (CFLAGS-tst-printfsz.c): Likewise.
8758 2014-12-11  Joseph Myers  <joseph@codesourcery.com>
8760         * include/cpio.h: New file.
8761         * include/fmtmsg.h: Likewise.
8763         * tst-mbswcs1.c (show): Use %zu format instead of %Zd.  Cast
8764         corresponding format argument to size_t.
8765         * tst-mbswcs2.c (show): Likewise.  Use %td format for ptrdiff_t
8766         arguments.
8767         * tst-mbswcs3.c (show): Use %zu format instead of %Zd.  Cast
8768         corresponding format argument to size_t.
8769         * tst-mbswcs4.c (show): Likewise.  Use %td format for ptrdiff_t
8770         arguments.
8771         * tst-mbswcs5.c (show): Use %zu format instead of %Zd.  Cast
8772         corresponding format argument to size_t.
8773         * tst-trans.c (do_test): Use %lc format for wint_t arguments.
8774         * Makefile (CFLAGS-tst-mbswcs1.c): Remove variable.
8775         (CFLAGS-tst-mbswcs2.c): Likewise.
8776         (CFLAGS-tst-mbswcs3.c): Likewise.
8777         (CFLAGS-tst-mbswcs4.c): Likewise.
8778         (CFLAGS-tst-mbswcs5.c): Likewise.
8779         (CFLAGS-tst-trans.c): Likewise
8781 2014-12-11  Roland McGrath  <roland@hack.frob.com>
8783         * posix/regexbug1.c (main): Use "%s" format with regerror results,
8784         rather than assuming they won't contain any '%'s.
8786 2014-12-11  Chris Metcalf  <cmetcalf@ezchip.com>
8788         * sysdeps/tile/tilegx/memset.c (__memcpy): Add
8789         inhibit_loop_to_libcall to avoid recursive calls.
8790         * sysdeps/tile/tilegx/memcpy.c (__memcpy): Likewise.
8791         * sysdeps/tile/tilepro/memcpy.c (__memcpy): Likewise.
8793 2014-12-11  Adhemerval Zanella  <Azanella@linux.vnet.ibm.com>
8795         * include/sys/socket.h (__sendmmsg): Add __USE_GNU guards on function
8796         prototype.
8798 2014-12-11  Steve Ellcey  <sellcey@imgtec.com>
8800         * sysdeps/mips/dl-trampoline.c: Modify switch expression to have
8801         integer value instead of boolean.
8803 2014-12-11  Steve Ellcey  <sellcey@imgtec.com>
8805         * malloc/malloc.c: Fix powerof2 check.
8807 2014-12-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
8809         * locale/programs/locfile.h (maybe_swap_uint32):
8810         Remove inline and add unused attribute.
8812 2014-12-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
8814         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
8815         Truncating assembler expression to a .long expression.
8817 2014-12-11  Andreas Schwab  <schwab@suse.de>
8819         * elf/rtld.c (struct map_args): Constify str member.
8820         (do_preload): Constify fname argument.
8822 2014-12-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8824         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Remove overflow warnings for
8825         constants definition.
8827 2014-12-11  Andreas Schwab  <schwab@suse.de>
8829         [BZ #16657]
8830         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Use
8831         FORCE_ELISION instead of DO_ELISION.
8832         * sysdeps/unix/sysv/linux/x86/force-elision.h (DO_ELISION):
8833         Remove.
8834         * sysdeps/unix/sysv/linux/s390/force-elision.h (DO_ELISION):
8835         Likewise.
8837         * iconvdata/gconv-modules: Remove duplicate entry.
8839 2014-12-11  Will Newton  <will.newton@linaro.org>
8841         Merge gettext 0.19.3 into intl/.
8843         This involves a number of cosmetic changes to comments
8844         and ANSI function definitions and prototypes throughout
8845         all the files. The gettext copyright header is used but
8846         with the date ranges taken from the glibc copy.
8848         * NEWS: Add gettext merge to 2.21.
8849         * intl/bindtextdom.c: Switch to gettext copyright.
8850         Use ANSI definitions and prototypes.
8851         Use gl_* locking primitives rather than __libc_* ones.
8852         Use __builtin_expect rather than __glibc_likely/unlikely.
8853         * intl/dcgettext.c: Switch to gettext copyright.
8854         Use ANSI definitions and prototypes.
8855         * intl/dcigettext.c: Switch to gettext copyright.
8856         Use ANSI definitions and prototypes.
8857         (INTDIV0_RAISES_SIGFPE): New define.
8858         Use gl_* locking primitives rather than __libc_* ones.
8859         Include eval-plural.h instead of plural-eval.c.
8860         Use __builtin_expect rather than __glibc_likely/unlikely.
8861         * intl/dcngettext.c: Switch to gettext copyright.
8862         Use ANSI definitions and prototypes.
8863         * intl/dgettext.c: Likewise.
8864         * intl/dngettext.c: Likewise.
8865         * intl/plural-eval.c: Renamed to...
8866         * intl/eval-plural.h: ...this.
8867         * intl/explodename.c: Switch to gettext copyright.
8868         Use ANSI definitions and prototypes.
8869         (_nl_explode_name): Use strchr instead of __rawmemchr.
8870         * intl/finddomain.c: Switch to gettext copyright.
8871         Use ANSI definitions and prototypes.
8872         Use gl_* locking primitives rather than __libc_* ones.
8873         (_nl_find_domain): Use malloc rather than alloca for
8874         allocation of temporary locale name.
8875         * intl/gettext.c: Switch to gettext copyright.
8876         Use ANSI definitions and prototypes.
8877         * intl/gettextP.h: Switch to gettext copyright.
8878         Use ANSI definitions and prototypes.
8879         Use gl_* locking primitives rather than __libc_* ones.
8880         * intl/gmo.h: Switch to gettext copyright.
8881         (struct sysdep_string): Move struct segment_pair outside of
8882         struct definition.
8883         * intl/hash-string.c: Use ANSI definitions and prototypes.
8884         * intl/hash-string.h: Switch to gettext copyright.
8885         Use ANSI definitions and prototypes.
8886         * intl/l10nflist.c: Switch to gettext copyright.
8887         Use ANSI definitions and prototypes.
8888         (_nl_normalize_codeset): Avoid integer overflow.
8889         * intl/loadinfo.h: Switch to gettext copyright.
8890         Use ANSI definitions and prototypes.
8891         (LIBINTL_DLL_EXPORTED): New define.
8892         (PATH_SEPARATOR): New define.
8893         * intl/loadmsgcat.c: Switch to gettext copyright.
8894         * intl/localealias.c: Switch to gettext copyright.
8895         Use ANSI definitions and prototypes.
8896         (_nl_expand_alias): Use PATH_SEPARATOR.
8897         * intl/ngettext.c: Switch to gettext copyright.
8898         Use ANSI definitions and prototypes.
8899         * intl/plural-exp.c: Likewise.
8900         * intl/plural-exp.h: Switch to gettext copyright.
8901         Use ANSI definitions and prototypes.
8902         (struct expression): Move definition of enum operator outside
8903         of struct definition.
8904         * intl/plural.c: Regenerate.
8905         * intl/plural.y: Switch to gettext copyright.
8906         Use ANSI definitions and prototypes.
8907         Port to bison 3.0.
8908         * intl/textdomain.c: Switch to gettext copyright.
8909         Use ANSI definitions and prototypes.
8910         Use gl_* locking primitives rather than __libc_* ones.
8912 2014-12-10  Steve Ellcey  <sellcey@imgtec.com>
8914         * debug/warning-nop.c: Add used atrribute.
8916 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
8918         * sysdeps/unix/sysv/linux/mips/mips32/waitid.c: New file.
8920         * sysdeps/unix/sysv/linux/mips/mips64/Makefile
8921         [$(subdir) == signal] (CFLAGS-sigaction.c): New variable.
8922         [$(subdir) == nptl] (CFLAGS-sigaction.c): Likewise.
8924 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
8925             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8927         [BZ #17634]
8928         * wcsmbs/wcschr.c [!WCSCHR] (wcschr): Define as __wcschr.
8929         Undefine after defining function.  Define as weak alias of
8930         __wcschr.  Use libc_hidden_weak.
8931         * include/wchar.h (__wcschr): Declare.  Use libc_hidden_proto.
8932         * sysdeps/i386/i686/multiarch/wcschr-c.c [IS_IN (libc) && SHARED]
8933         (libc_hidden_def): Also define __GI___wcschr alias.
8934         * sysdeps/i386/i686/multiarch/wcschr.S (wcschr): Rename to
8935         __wcschr and define as weak alias of __wcschr.
8936         * sysdeps/powerpc/power6/wcschr.c [!WCSCHR] (WCSCHR): Define as
8937         __wcschr.
8938         [!WCSCHR] (DEFAULT_WCSCHR): Define.
8939         [DEFAULT_WCSCHR] (__wcschr): Use libc_hidden_def.
8940         [DEFAULT_WCSCHR] (wcschr): Define as weak alias of __wcschr.  Use
8941         libc_hidden_weak.  Do not use libc_hidden_def.
8942         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c
8943         [IS_IN (libc) && SHARED] (libc_hidden_def): Also define
8944         __GI___wcschr alias.
8945         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c
8946         [IS_IN (libc)] (wcschr): Define as macro expanding to
8947         __redirect_wcschr.
8948         [IS_IN (libc)] (__wcschr_ppc): Use __redirect_wcschr in typeof.
8949         [IS_IN (libc)] (__wcschr_power6): Likewise.
8950         [IS_IN (libc)] (__wcschr_power7): Likewise.
8951         [IS_IN (libc)] (__libc_wcschr): New.  Define with libc_ifunc
8952         instead of wcschr.
8953         [IS_IN (libc)] (wcschr): Undefine and define as weak alias of
8954         __libc_wcschr.
8955         [!IS_IN (libc)] (libc_hidden_def): Do not undefine and redefine.
8956         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c (wcschr): Rename to
8957         __wcschr and define as weak alias of __wcschr.  Use
8958         libc_hidden_builtin_def.
8959         * sysdeps/x86_64/wcschr.S (wcschr): Rename to __wcschr and define
8960         as weak alias of __wcschr.  Use libc_hidden_weak.
8961         * time/alt_digit.c (_nl_get_walt_digit): Use __wcschr instead of
8962         wcschr.
8963         * time/era.c (_nl_init_era_entries): Likewise.
8964         * conform/Makefile (test-xfail-ISO/time.h/linknamespace): Remove
8965         variable.
8966         (test-xfail-XPG3/time.h/linknamespace): Likewise.
8967         (test-xfail-XPG4/time.h/linknamespace): Likewise.
8969 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
8971         * libio/tst-ftell-active-handler.c (do_ftruncate_test): Use %ld
8972         format for long int variable.
8974 2014-12-10  Anders Kaseorg  <andersk@MIT.EDU>
8976         [BZ #10672]
8977         * manual/search.texi: (Array Sort Function): Remove claim how to make
8978         qsort stable.
8980 2014-12-10  Andreas Schwab  <schwab@suse.de>
8982         [BZ #12847]
8983         * sysdeps/nptl/fork.c (fresetlockfiles): Skip files with
8984         user-controlled locks.
8986 2014-12-10  Richard Earnshaw  <rearnsha@arm.com>
8988         * sysdeps/aarch64/strchrnul.S (vrepmask): Use a call-clobbered
8989         register.
8991 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
8993         * configure.ac (--disable-werror): New configure option.
8994         (enable_werror): New AC_SUBST.
8995         * configure: Regenerated.
8996         * config.make.in (enable-werror): New variable.
8997         * Makeconfig [$(enable-werror) = yes] (+gccwarn): Add -Werror
8998         -Wno-error=undef.
8999         (+gccwarn-c): Do not use -Werror=implicit-function-declaration.
9000         * manual/install.texi (Configuring and compiling): Document
9001         --disable-werror.
9002         * INSTALL: Regenerated.
9003         * debug/Makefile (CFLAGS-tst-chk1.c): Add -Wno-error.
9004         (CFLAGS-tst-chk2.c): Likewise.
9005         (CFLAGS-tst-chk3.c): Likewise.
9006         (CFLAGS-tst-chk4.cc): Likewise.
9007         (CFLAGS-tst-chk5.cc): Likewise.
9008         (CFLAGS-tst-chk6.cc): Likewise.
9009         (CFLAGS-tst-lfschk1.c): Likewise.
9010         (CFLAGS-tst-lfschk2.c): Likewise.
9011         (CFLAGS-tst-lfschk3.c): Likewise.
9012         (CFLAGS-tst-lfschk4.cc): Likewise.
9013         (CFLAGS-tst-lfschk5.cc): Likewise.
9014         (CFLAGS-tst-lfschk6.cc): Likewise.
9016         * stdio-common/tst-printfsz.c: Include <libc-internal.h>.
9017         (main): Disable -Wdeprecated-declarations around calls to
9018         register_printf_function.
9020         * stdio-common/tst-unlockedio.c: Include <libc-internal.h>.
9021         (do_test): Disable -Wdiv-by-zero around some calls to
9022         fwrite_unlocked and fread_unlocked.
9024         * include/libc-internal.h (DIAG_PUSH_NEEDS_COMMENT): New macro.
9025         (DIAG_POP_NEEDS_COMMENT): Likewise.
9026         (_DIAG_STR1): Likewise.
9027         (_DIAG_STR): Likewise.
9028         (DIAG_IGNORE_NEEDS_COMMENT): Likewise.
9029         * stdio-common/bug21.c: Include <libc-internal.h>.
9030         (do_test): Disable -Wformat around call to sscanf.
9031         * stdio-common/scanf14.c: Include <libc-internal.h>.
9032         (main): Disable -Wformat around some calls to scanf functions.
9034 2014-12-09  Torvald Riegel  <triegel@redhat.com>
9036         * sysdeps/unix/sysv/linux/sh/pthread_once.S: Remove file.
9038 2014-12-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9040         * libio/tst-ftell-active-handler.c (do_ftell_test): Fix wide-character
9041         stack variable alignment.
9043 2014-12-06  Joseph Myers  <joseph@codesourcery.com>
9045         [BZ #17682]
9046         * resource/Versions (libc): Add __getrlimit at GLIBC_PRIVATE.
9047         * resource/getrlimit.c (__getrlimit): Use libc_hidden_def.
9048         * sysdeps/mach/hurd/getrlimit.c (__getrlimit): Likewise.
9049         * include/sys/resource.h (__getrlimit): Use libc_hidden_proto.
9050         * nptl/nptl-init.c (__pthread_initialize_minimal_internal): Use
9051         __getrlimit instead of getrlimit.
9052         * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Use
9053         __gettimeofday instead of gettimeofday.
9054         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
9055         Likewise.
9056         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
9057         Likewise.
9058         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
9059         * conform/Makefile (test-xfail-POSIX2008/aio.h/linknamespace):
9060         Remove variable.
9061         (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
9062         (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
9064 2014-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9066         * libio/tst-ftell-active-handler.c (do_ftell_test): Fix buffer overrun
9067         for wide-character tests.
9069 2014-12-04  Roland McGrath  <roland@hack.frob.com>
9071         * io/openat64.c: #include <libc-internal.h>
9072         (__openat64): Prototypify.  Use ignore_value on MODE.
9073         * io/openat.c: Likewise.
9074         * misc/reboot.c: #include <libc-internal.h>
9075         (reboot): Prototypify.  Use ignore_value on HOWTO.
9076         * misc/ptrace.c: #include <libc-internal.h>
9077         (ptrace): Prototypify.  Use ignore_value for va_arg'd parameters.
9079 2014-12-04  Joseph Myers  <joseph@codesourcery.com>
9081         * conform/list-header-symbols.pl (%extra_syms): Add h_errno for
9082         XPG4, UNIX98 and XOPEN2K.
9083         * conform/Makefile (test-xfail-XOPEN2K/grp.h/linknamespace):
9084         Remove variable.
9085         (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
9087 2014-12-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
9089         * libio/fileops.c: Use ISO C style for function definitions.
9090         * libio/iofopen.c: Likewise.
9091         * libio/wfileops.c: Likewise.
9093         [BZ #17653]
9094         * libio/fileops.c (_IO_new_file_underflow): Unset cached
9095         offset on EOF.
9096         * libio/wfileops.c (_IO_wfile_underflow): Likewise.
9097         * libio/tst-ftell-active-handler.c (fgets_func_t): New type.
9098         (fgets_func): Function pointer to fgets and fgetws.
9099         (do_ftell_test): Add test to verify ftell value after read
9100         EOF.
9101         (do_test): Set fgets_func.
9103         * libio/tst-ftell-active-handler.c (do_ftruncate_test): Add
9104         O_TRUNC flag for w and w+ modes.
9105         (do_rewind_test): Likewise.
9106         (do_ftell_test): Likewise.
9107         (do_write_test): Likewise.
9109         [BZ #17647]
9110         * libio/fileops.c (do_ftell): Seek only when there are
9111         unflushed writes.
9112         * libio/wfileops.c (do_ftell_wide): Likewise.
9113         * libio/tst-ftell-active-handler.c (do_ftruncate_test): New
9114         test case.
9115         (do_one_test): Call it.
9117 2014-12-03  Joseph Myers  <joseph@codesourcery.com>
9119         * conform/list-header-symbols.pl (%extra_syms): Add getdate_err
9120         for XPG4, UNIX98, XOPEN2K and XOPEN2K8.
9121         * conform/Makefile (test-xfail-XOPEN2K/pthread.h/linknamespace):
9122         Remove variable.
9123         (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
9124         (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
9125         (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
9127 2014-12-02  Joseph Myers  <joseph@codesourcery.com>
9129         * conform/Makefile (test-xfail-XOPEN2K/aio.h/linknamespace):
9130         Remove variable.
9131         (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
9133         [BZ #17668]
9134         * inet/ifaddrs.c (getifaddrs): Rename to __getifaddrs and define
9135         as weak alias of __getifaddrs.  Use libc_hidden_weak.
9136         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
9137         __freeifaddrs.  Use libc_hidden_weak.
9138         * sysdeps/gnu/ifaddrs.c (getifaddrs): Rename to __getifaddrs and
9139         define as weak alias of __getifaddrs.  Use libc_hidden_weak.
9140         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
9141         __freeifaddrs.  Use libc_hidden_weak.
9142         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs): Rename to
9143         __getifaddrs and define as weak alias of __getifaddrs.  Use
9144         libc_hidden_weak.
9145         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
9146         __freeifaddrs.  Use libc_hidden_weak.
9147         * conform/Makefile (test-xfail-XOPEN2K/net/if.h/linknamespace):
9148         Remove variable.
9149         (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
9150         (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
9152 2014-12-02  Petar Jovanovic  <petar.jovanovic@rt-rk.com>
9154         [BZ #17601]
9155         * sysdeps/mips/start.S (__start): Use indirect jump to call
9156         __libc_start_main.
9158 2014-12-02  Joseph Myers  <joseph@codesourcery.com>
9160         * nptl/tst-stack4.c (dso_process): Use int not uintptr_t for t.
9162         * nptl/tst-mutex1.c: Include <stdbool.h>.
9163         [!ATTR] (ATTR_NULL): New macro.
9164         (do_test): Test !ATTR_NULL instead of ATTR != NULL.
9165         * nptl/tst-mutexpi1.c (ATTR_NULL): New macro.
9166         * nptl/tst-mutexpp1.c (ATTR_NULL): New macro.
9168         * posix/tst-getopt_long1.c (do_test): Cast elements of argv array
9169         to char *.
9171         [BZ #17665]
9172         * posix/unistd.h [__USE_MISC || (__USE_XOPEN && !__USE_UNIX98)]:
9173         Change conditional to [__USE_MISC].
9175         [BZ #17664]
9176         * misc/mntent_r.c (__getmntent_r): Use __fgets_unlocked instead of
9177         fgets_unlocked.
9178         * resolv/res_hconf.c [IS_IN (libc)] (fgets_unlocked): Define to
9179         __fgets_unlocked.
9180         * resolv/res_init.c (__res_vinit): Use __fgets_unlocked instead of
9181         fgets_unlocked.
9182         * conform/Makefile (test-xfail-XPG4/sys/statvfs.h/linknamespace):
9183         Remove variable.
9184         (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
9185         (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
9186         (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
9187         (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
9188         (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
9189         (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
9190         (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
9191         (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
9192         (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
9194         * elf/tst-unique4lib.cc (b): Mark with __attribute__ ((used)).
9196 2014-12-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9198         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
9199         Remove strpbrk objects.
9200         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
9201         (__libc_ifunc_impl_list): Remove strpbrk implementation.
9202         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: Remove file.
9203         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Remove file.
9204         * sysdeps/powerpc/powerpc64/power7/strpbrk.S: Remove file.
9205         * sysdeps/powerpc/powerpc64/strpbrk.S: New file.
9207         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
9208         Remove strcspn objects.
9209         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
9210         (__libc_ifunc_impl_list): Remove strcspn implementation.
9211         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: Remove file.
9212         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Remove file.
9213         * sysdeps/powerpc/powerpc64/power7/strcspn.S: Remove file.
9214         * sysdeps/powerpc/powerpc64/strcspn.S: New file.
9216         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
9217         Remove strspn objetcs.
9218         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
9219         (__libc_ifunc_impl_list): Remove strspn implementation.
9220         * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: Remove file.
9221         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
9222         * sysdeps/powerpc/powerpc64/power7/strspn.S: Remove file.
9223         * sysdeps/powerpc/powerpc64/strspn.S: New file.
9225 2014-12-01  James Lemke  <jwlemke@codesourcery.com>
9227         [BZ #17581]
9228         * malloc/hooks.c
9229         (mem2mem_check): Add a terminator to the chain of checking blocks.
9230         (malloc_check_get_size): Use it here.
9231         (mem2chunk_check): Ditto.
9233 2014-12-01  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
9235         * sysdeps/powerpc/powerpc64/strtok.S: New file.
9236         * sysdeps/powerpc/powerpc64/strtok_r.S: New file.
9238 2014-11-29  Carlos O'Donell  <carlos@redhat.com>
9240         * bits/ioctl-types.h: Indent preprocessor directives correctly.
9242         * nptl/nptl-init.c: Include libc-internal.h.
9243         (__pthread_initialize_minimal_internal): Use ROUND_UP.
9245         * elf/ldconfig.c (search_dir): Expand comment.
9247 2014-11-29  Joseph Myers  <joseph@codesourcery.com>
9249         * conform/Makefile (linknamespace-symlist-stdlibs-base): New
9250         variable.
9251         (linknamespace-symlist-stdlibs-tests): Likewise.
9252         (tests-special): Append $(linknamespace-symlist-stdlibs-tests)
9253         instead of $(objpfx)symlist-stdlibs.
9254         (linknamespace-libs-isoc): New variable.
9255         (linknamespace-libs): Use $(linknamespace-libs-isoc).
9256         (linknamespace-libs-ISO): New variable.
9257         (linknamespace-libs-ISO99): Likewise.
9258         (linknamespace-libs-ISO11): Likewise.
9259         (linknamespace-libs-XPG3): Likewise.
9260         (linknamespace-libs-XPG4): Likewise.
9261         (linknamespace-libs-POSIX): Likewise.
9262         (linknamespace-libs-UNIX98): Likewise.
9263         (linknamespace-libs-XOPEN2K): Likewise.
9264         (linknamespace-libs-POSIX2008): Likewise.
9265         (linknamespace-libs-XOPEN2K8): Likewise.
9266         ($(objpfx)symlist-stdlibs): Replace by
9267         $(linknamespace-symlist-stdlibs-tests).  Use
9268         $(linknamespace-libs-$*) as set of libraries.
9269         ($(linknamespace-header-tests)): Update dependencies.  Use
9270         $(objpfx)symlist-stdlibs-$$std for --libsyms argument.
9271         (test-xfail-XPG4/sys/mman.h/linknamespace): Remove.
9272         * conform/linknamespace.pl: Remove comment about considering
9273         definitions of symbols from irrelevant libraries.
9275 2014-11-28  H.J. Lu  <hongjiu.lu@intel.com>
9277         [BZ #13862]
9278         * elf/dl-tls.c: Include <atomic.h>.
9279         (oom): Remove #ifdef SHARED/#endif.
9280         (_dl_static_dtv, _dl_initial_dtv): Moved before ...
9281         (_dl_resize_dtv): This.  Extracted from _dl_update_slotinfo.
9282         (_dl_allocate_tls_init): Resize DTV if the current DTV isn't
9283         big enough.
9284         (_dl_update_slotinfo): Call _dl_resize_dtv to resize DTV.
9285         * nptl/Makefile (tests): Add tst-stack4.
9286         (modules-names): Add tst-stack4mod.
9287         ($(objpfx)tst-stack4): New.
9288         (tst-stack4mod.sos): Likewise.
9289         ($(objpfx)tst-stack4.out): Likewise.
9290         ($(tst-stack4mod.sos)): Likewise.
9291         (clean): Likewise.
9292         * nptl/tst-stack4.c: New file.
9293         * nptl/tst-stack4mod.c: Likewise.
9295 2014-11-27  J. Brown  <jb999@gmx.de>
9297         * sysdeps/x86/bits/string.h: Add recent CPUs.
9299 2014-11-27  Joseph Myers  <joseph@codesourcery.com>
9301         * misc/tst-pselect.c (do_test): Use sigprocmask instead of
9302         sigblock.
9304         * libio/bug-ungetwc1.c (do_test): Verify results of getwc and
9305         feof.
9307         * dlfcn/failtestmod.c (constr): Do not store result of dlsym in a
9308         variable.
9310 2014-11-27  Stefan Liebler  <stli@linux.vnet.ibm.com>
9312         * nscd/connections.c: Include libc-internal.h because of macro
9313         usage ignore_value.
9315 2014-11-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
9317         * string/bits/string3.h (__warn_memset_zero_len): Don't
9318         declare for gcc newer than 5.0.
9319         (memset): Don't test for zero-length __LEN for gcc newer than
9320         5.0.
9322 2014-11-27  Joseph Myers  <joseph@codesourcery.com>
9324         * stdio-common/tst-fmemopen.c (do_test): Cast st_size values to
9325         size_t for %zu format.
9327         * nss/tst-nss-test1.c (do_test): Use %td printf format for pointer
9328         difference, not %ju.
9330 2014-11-26  Joseph Myers  <joseph@codesourcery.com>
9332         * include/libc-internal.h (ignore_value): New macro.
9333         * nscd/connections.c (restart): Wrap calls to setuid and setgid
9334         with ignore_value.
9336         * sysdeps/mips/__longjmp.c (____longjmp): Use prototype
9337         definition.
9339         * nptl/tst-cancel-self-cancelstate.c (do_test): Cast argument of
9340         pthread_cleanup_push to void *.
9342         * sysdeps/unix/sysv/linux/arm/libc-do-syscall.S (_FORTIFY_SOURCE):
9343         Undefine.
9345         [BZ #16619]
9346         [BZ #16740]
9347         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Use 1LL << 52
9348         instead of 1L << 52.
9350         * libio/bug-rewind.c (do_test): Check fwscanf return values.
9351         * libio/bug-rewind2.c (do_test): Likewise.
9353         * debug/test-stpcpy_chk-ifunc.c: Remove file.
9354         * debug/test-strcpy_chk-ifunc.c: Likewise.
9355         * wcsmbs/test-wcschr-ifunc.c: Likewise.
9356         * wcsmbs/test-wcscmp-ifunc.c: Likewise.
9357         * wcsmbs/test-wcscpy-ifunc.c: Likewise.
9358         * wcsmbs/test-wcslen-ifunc.c: Likewise.
9359         * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
9360         * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
9361         * Rules [$(multi-arch) = no] (tests): Do not filter out
9362         $(tests-ifunc).
9363         [$(multi-arch) = no] (xtests): Do not filter out $(xtests-ifunc).
9364         * debug/Makefile (tests-ifunc): Remove variable.
9365         (tests): Do not add $(tests-ifunc).
9366         * wcsmbs/Makefile (tests-ifunc): Remove variable.
9367         (tests): Do not add $(tests-ifunc).
9368         * benchtests/bench-string.h (TEST_IFUNC): Remove macro.
9369         [TEST_IFUNC]: Remove conditionals.
9370         * string/test-string.h (TEST_IFUNC): Remove macro.
9371         [TEST_IFUNC]: Remove conditionals.
9373         * string/test-strchr.c [!WIDE] (L): New macro.
9374         [WIDE] (L): Likewise.
9375         (check1): Use CHAR instead of char.  Use L on string and character
9376         constants.
9378 2014-11-26  Adhemerval Zanella  <azanella@linux.ibm.com>
9380         * csu/tst-atomic.c (do_test): Add atomic_exchange_and_add_{acq,rel}
9381         tests.
9382         * sysdeps/powerpc/bits/atomic.h
9383         (__arch_atomic_exchange_and_add_32_acq): Add definition.
9384         (__arch_atomic_exchange_and_add_32_rel): Likewise.
9385         (atomic_exchange_and_add_acq): Likewise.
9386         (atomic_exchange_and_add_rel): Likewise.
9387         * sysdeps/powerpc/powerpc32/bits/atomic.h
9388         (__arch_atomic_exchange_and_add_64_acq): Add definition.
9389         (__arch_atomic_exchange_and_add_64_rel): Likewise.
9390         * sysdeps/powerpc/powerpc64/bits/atomic.h
9391         (__arch_atomic_exchange_and_add_64_acq): Add definition.
9392         (__arch_atomic_exchange_and_add_64_rel): Likewise.
9394 2014-11-26  Torvald Riegel  <triegel@redhat.com>
9396         * nptl/tpp.c (__init_sched_fifo_prio, __pthread_tpp_change_priority):
9397         Change synchronization of __sched_fifo_min_prio and
9398         __sched_fifo_max_prio.
9399         * nptl/pthread_mutexattr_getprioceiling.c
9400         (pthread_mutexattr_getprioceiling): Likewise.
9401         * nptl/pthread_mutexattr_setprioceiling.c
9402         (pthread_mutexattr_setprioceiling): Likewise.
9403         * nptl/pthread_mutex_init.c (__pthread_mutex_init): Likewise.
9404         * nptl/pthread_mutex_setprioceiling.c (pthread_mutex_setprioceiling):
9405         Likewise.
9407 2014-11-26  Joseph Myers  <joseph@codesourcery.com>
9409         * setjmp/jmpbug.c (test): Make foo volatile and cast it to
9410         void.
9412 2014-11-25  Joseph Myers  <joseph@codesourcery.com>
9414         * stdio-common/tst-printf-round.c (test_hex_in_one_mode): Make
9415         third argument const.
9417 2014-11-25  Paul Eggert  <eggert@cs.ucla.edu>
9419         fnmatch: work around GCC compiler warning bug with uninit var
9420         * posix/fnmatch_loop.c (FCT): Use a scalar not a one-item array.
9421         This works around a bug with x86-64 GCC 4.9.2 and earlier
9422         where 'gcc -O2 -Wmaybe-uninitialized' incorrectly complains
9423         "../locale/weightwc.h:93:7: warning: '*((void *)&str+4)' may be
9424         used uninitialized in this function [-Wmaybe-uninitialized]".
9426 2014-11-25  Joseph Myers  <joseph@codesourcery.com>
9428         * posix/bug-regex31.c (main): Return RES not 0.
9430 2014-11-25  Anton Blanchard <anton@samba.org>
9432         * sysdeps/powerpc/bits/atomic.h
9433         (__arch_compare_and_exchange_bool_64_rel): Load from mem.
9435 2014-11-24  Sterling Augustine  <saugustine@google.com>
9437         * sysdeps/x86_64/start.S (_start): Use ENTRY and END macros.
9439 2014-11-24  Ryan Cumming  <etaoins@gmail.com>
9441         [BZ #17608]
9442         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_TAI.
9444 2014-11-24  Joseph Myers  <joseph@codesourcery.com>
9446         [BZ #17633]
9447         * stdio-common/perror.c (perror): Call __fileno instead of fileno.
9448         * conform/Makefile (test-xfail-ISO/stdio.h/linknamespace): Remove
9449         variable.
9450         (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
9451         (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
9453 2014-11-24  Wilco Dijkstra  <wdijkstr@arm.com>
9455         * string/strncpy.c (strncpy): Improve performance by using memset.
9457 2014-11-24  Wilco Dijkstra  <wdijkstr@arm.com>
9459         * string/strcpy.c (strcpy):
9460         Improve performance by using strlen and memcpy.
9462 2014-11-24  Leonhard Holz  <leonhard.holz@web.de>
9464         * string/strcoll_l.c (get_next_seq): __always_inline.
9465         * string/strcoll_l.c (do_compare): __always_inline.
9467 2014-11-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
9469         * include/bits/stdlib-float.h: Use IS_IN only if _ISOMAC is
9470         defined.
9471         * include/mqueue.h: Likewise.
9472         * include/stdlib.h: Likewise.
9474         * stdlib/isomac.c (fmt): Replace NOT_IN_libc with IN_MODULE.
9475         (get_null_defines): Adjust.
9476         * sunrpc/Makefile: Adjust comment.
9477         * Makerules (CPPFLAGS-nonlib): Remove NOT_IN_libc.
9478         * elf/Makefile (CPPFLAGS-sotruss-lib): Likewise.
9479         (CFLAGS-interp.c): Likewise.
9480         (CFLAGS-ldconfig.c): Likewise.
9481         (CPPFLAGS-.os): Likewise.
9482         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
9483         * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
9484         * extra-modules.mk (extra-modules.mk): Likewise.
9485         * iconv/Makefile (CPPFLAGS-iconvprogs): Likewise.
9486         * locale/Makefile (CPPFLAGS-locale_programs): Likewise.
9487         * malloc/Makefile (CPPFLAGS-memusagestat): Likewise.
9488         * nscd/Makefile (CPPFLAGS-nscd): Likewise.
9489         * nss/Makefile (CPPFLAGS-nss_test1): Likewise.
9490         * stdlib/Makefile (CFLAGS-tst-putenvmod.c): Likewise.
9491         * sysdeps/gnu/Makefile ($(objpfx)errlist-compat.c): Likewise.
9492         * sysdeps/unix/sysv/linux/Makefile (CPPFLAGS-lddlibc4): Likewise.
9493         * iconvdata/Makefile (CPPFLAGS): Likewise.
9494         (cpp-srcs-left): Add libof for all iconvdata routines.
9495         * bits/stdio-lock.h: Replace NOT_IN_libc with IS_IN.
9496         * include/assert.h: Likewise.
9497         * include/ctype.h: Likewise.
9498         * include/errno.h: Likewise.
9499         * include/libc-symbols.h: Likewise.
9500         * include/math.h: Likewise.
9501         * include/netdb.h: Likewise.
9502         * include/resolv.h: Likewise.
9503         * include/stdio.h: Likewise.
9504         * include/stdlib.h: Likewise.
9505         * include/string.h: Likewise.
9506         * include/sys/stat.h: Likewise.
9507         * include/wctype.h: Likewise.
9508         * intl/l10nflist.c: Likewise.
9509         * libidn/idn-stub.c: Likewise.
9510         * libio/libioP.h: Likewise.
9511         * nptl/libc_multiple_threads.c: Likewise.
9512         * nptl/pthreadP.h: Likewise.
9513         * posix/regex_internal.h: Likewise.
9514         * resolv/res_hconf.c: Likewise.
9515         * sysdeps/arm/armv7/multiarch/memcpy.S: Likewise.
9516         * sysdeps/arm/memmove.S: Likewise.
9517         * sysdeps/arm/sysdep.h: Likewise.
9518         * sysdeps/generic/_itoa.h: Likewise.
9519         * sysdeps/generic/symbol-hacks.h: Likewise.
9520         * sysdeps/gnu/errlist.awk: Likewise.
9521         * sysdeps/gnu/errlist.c: Likewise.
9522         * sysdeps/i386/i586/memcpy.S: Likewise.
9523         * sysdeps/i386/i586/memset.S: Likewise.
9524         * sysdeps/i386/i686/memcpy.S: Likewise.
9525         * sysdeps/i386/i686/memmove.S: Likewise.
9526         * sysdeps/i386/i686/mempcpy.S: Likewise.
9527         * sysdeps/i386/i686/memset.S: Likewise.
9528         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
9529         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
9530         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: Likewise.
9531         * sysdeps/i386/i686/multiarch/memchr-sse2.S: Likewise.
9532         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
9533         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
9534         * sysdeps/i386/i686/multiarch/memcmp-ssse3.S: Likewise.
9535         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
9536         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
9537         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
9538         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
9539         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
9540         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
9541         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
9542         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
9543         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
9544         * sysdeps/i386/i686/multiarch/memrchr-c.c: Likewise.
9545         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: Likewise.
9546         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: Likewise.
9547         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
9548         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
9549         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
9550         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
9551         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
9552         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
9553         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
9554         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: Likewise.
9555         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
9556         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Likewise.
9557         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
9558         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
9559         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
9560         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
9561         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
9562         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
9563         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
9564         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
9565         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
9566         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
9567         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
9568         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
9569         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
9570         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
9571         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
9572         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
9573         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
9574         * sysdeps/i386/i686/multiarch/wcschr-c.c: Likewise.
9575         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: Likewise.
9576         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
9577         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
9578         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
9579         * sysdeps/i386/i686/multiarch/wcscpy-c.c: Likewise.
9580         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Likewise.
9581         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
9582         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
9583         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: Likewise.
9584         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
9585         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: Likewise.
9586         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: Likewise.
9587         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
9588         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
9589         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
9590         * sysdeps/ia64/fpu/libm-symbols.h: Likewise.
9591         * sysdeps/nptl/bits/libc-lock.h: Likewise.
9592         * sysdeps/nptl/bits/libc-lockP.h: Likewise.
9593         * sysdeps/nptl/bits/stdio-lock.h: Likewise.
9594         * sysdeps/posix/closedir.c: Likewise.
9595         * sysdeps/posix/opendir.c: Likewise.
9596         * sysdeps/posix/readdir.c: Likewise.
9597         * sysdeps/posix/rewinddir.c: Likewise.
9598         * sysdeps/powerpc/novmx-sigjmp.c: Likewise.
9599         * sysdeps/powerpc/powerpc32/__longjmp.S: Likewise.
9600         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
9601         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
9602         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
9603         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Likewise.
9604         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: Likewise.
9605         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: Likewise.
9606         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: Likewise.
9607         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: Likewise.
9608         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: Likewise.
9609         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: Likewise.
9610         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: Likewise.
9611         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: Likewise.
9612         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: Likewise.
9613         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: Likewise.
9614         * sysdeps/powerpc/powerpc32/power4/multiarch/memset.c: Likewise.
9615         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: Likewise.
9616         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: Likewise.
9617         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: Likewise.
9618         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr.c: Likewise.
9619         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: Likewise.
9620         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: Likewise.
9621         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: Likewise.
9622         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: Likewise.
9623         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: Likewise.
9624         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: Likewise.
9625         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: Likewise.
9626         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: Likewise.
9627         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: Likewise.
9628         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: Likewise.
9629         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: Likewise.
9630         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: Likewise.
9631         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: Likewise.
9632         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: Likewise.
9633         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Likewise.
9634         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
9635         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
9636         * sysdeps/powerpc/powerpc64/__longjmp.S: Likewise.
9637         * sysdeps/powerpc/powerpc64/multiarch/bzero.c: Likewise.
9638         * sysdeps/powerpc/powerpc64/multiarch/memchr.c: Likewise.
9639         * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: Likewise.
9640         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: Likewise.
9641         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: Likewise.
9642         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: Likewise.
9643         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Likewise.
9644         * sysdeps/powerpc/powerpc64/multiarch/memmove.c: Likewise.
9645         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: Likewise.
9646         * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: Likewise.
9647         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: Likewise.
9648         * sysdeps/powerpc/powerpc64/multiarch/memset.c: Likewise.
9649         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: Likewise.
9650         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.S: Likewise.
9651         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Likewise.
9652         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: Likewise.
9653         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: Likewise.
9654         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: Likewise.
9655         * sysdeps/powerpc/powerpc64/multiarch/strcat.c: Likewise.
9656         * sysdeps/powerpc/powerpc64/multiarch/strchr.c: Likewise.
9657         * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: Likewise.
9658         * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: Likewise.
9659         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: Likewise.
9660         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.S: Likewise.
9661         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c: Likewise.
9662         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Likewise.
9663         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: Likewise.
9664         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: Likewise.
9665         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: Likewise.
9666         * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: Likewise.
9667         * sysdeps/powerpc/powerpc64/multiarch/strncat.c: Likewise.
9668         * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: Likewise.
9669         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: Likewise.
9670         * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: Likewise.
9671         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: Likewise.
9672         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: Likewise.
9673         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Likewise.
9674         * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: Likewise.
9675         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: Likewise.
9676         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
9677         * sysdeps/powerpc/powerpc64/multiarch/strspn.c: Likewise.
9678         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c: Likewise.
9679         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
9680         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c: Likewise.
9681         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Likewise.
9682         * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
9683         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Likewise.
9684         * sysdeps/s390/s390-32/multiarch/memcmp.S: Likewise.
9685         * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
9686         * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
9687         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
9688         * sysdeps/s390/s390-64/multiarch/memcmp.S: Likewise.
9689         * sysdeps/s390/s390-64/multiarch/memcpy.S: Likewise.
9690         * sysdeps/s390/s390-64/multiarch/memset.S: Likewise.
9691         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
9692         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
9693         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: Likewise.
9694         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
9695         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
9696         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Likewise.
9697         * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: Likewise.
9698         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
9699         * sysdeps/unix/alpha/sysdep.S: Likewise.
9700         * sysdeps/unix/alpha/sysdep.h: Likewise.
9701         * sysdeps/unix/make-syscalls.sh: Likewise.
9702         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
9703         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
9704         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
9705         * sysdeps/unix/sysv/linux/alpha/vfork.S: Likewise.
9706         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
9707         * sysdeps/unix/sysv/linux/arm/sysdep.h: Likewise.
9708         * sysdeps/unix/sysv/linux/getpid.c: Likewise.
9709         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
9710         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
9711         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Likewise.
9712         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
9713         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
9714         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
9715         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
9716         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
9717         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
9718         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
9719         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
9720         * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
9721         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
9722         * sysdeps/unix/sysv/linux/m68k/sysdep.h: Likewise.
9723         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
9724         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
9725         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
9726         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
9727         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
9728         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
9729         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
9730         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
9731         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: Likewise.
9732         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
9733         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
9734         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
9735         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
9736         * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
9737         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
9738         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
9739         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
9740         * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
9741         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
9742         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
9743         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
9744         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
9745         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
9746         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
9747         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
9748         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
9749         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
9750         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
9751         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
9752         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
9753         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
9754         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
9755         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
9756         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Likewise.
9757         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
9758         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
9759         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
9760         * sysdeps/wordsize-32/symbol-hacks.h: Likewise.
9761         * sysdeps/x86_64/memcpy.S: Likewise.
9762         * sysdeps/x86_64/memmove.c: Likewise.
9763         * sysdeps/x86_64/memset.S: Likewise.
9764         * sysdeps/x86_64/multiarch/init-arch.h: Likewise.
9765         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
9766         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
9767         * sysdeps/x86_64/multiarch/memcmp.S: Likewise.
9768         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: Likewise.
9769         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
9770         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
9771         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
9772         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
9773         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
9774         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
9775         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
9776         * sysdeps/x86_64/multiarch/memset-avx2.S: Likewise.
9777         * sysdeps/x86_64/multiarch/memset.S: Likewise.
9778         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
9779         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Likewise.
9780         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
9781         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
9782         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
9783         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
9784         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Likewise.
9785         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
9786         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
9787         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
9788         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
9789         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
9790         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
9791         * sysdeps/x86_64/multiarch/wcscpy-c.c: Likewise.
9792         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
9793         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
9794         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Likewise.
9795         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
9796         * sysdeps/x86_64/strcmp.S: Likewise.
9798         * extra-lib.mk (CPPFLAGS-$(lib)): Remove IS_IN_$(lib).
9800         * elf/Makefile (CPPFLAGS-.os): Remove IS_IN_rtld.
9801         * elf/dl-open.c: Use IS_IN (rtld) instead if IS_IN_rtld.
9802         * elf/rtld-Rules: Likewise.
9803         * elf/setup-vdso.h: Likewise.
9804         * include/assert.h: Likewise.
9805         * include/bits/stdlib-float.h: Likewise.
9806         * include/errno.h: Likewise.
9807         * include/sys/stat.h: Likewise.
9808         * include/unistd.h: Likewise.
9809         * sysdeps/aarch64/setjmp.S: Likewise.
9810         * sysdeps/alpha/setjmp.S: Likewise.
9811         * sysdeps/arm/__longjmp.S: Likewise.
9812         * sysdeps/arm/aeabi_unwind_cpp_pr1.c: Likewise.
9813         * sysdeps/arm/setjmp.S: Likewise.
9814         * sysdeps/arm/sysdep.h: Likewise.
9815         * sysdeps/generic/_itoa.h: Likewise.
9816         * sysdeps/generic/dl-sysdep.h: Likewise.
9817         * sysdeps/generic/ldsodefs.h: Likewise.
9818         * sysdeps/i386/dl-tls.h: Likewise.
9819         * sysdeps/i386/setjmp.S: Likewise.
9820         * sysdeps/m68k/setjmp.c: Likewise.
9821         * sysdeps/mach/hurd/dl-execstack.c: Likewise.
9822         * sysdeps/mach/hurd/opendir.c: Likewise.
9823         * sysdeps/posix/getcwd.c: Likewise.
9824         * sysdeps/posix/opendir.c: Likewise.
9825         * sysdeps/posix/profil.c: Likewise.
9826         * sysdeps/powerpc/dl-procinfo.h: Likewise.
9827         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
9828         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
9829         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
9830         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
9831         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Likewise.
9832         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
9833         * sysdeps/s390/dl-tls.h: Likewise.
9834         * sysdeps/s390/s390-32/setjmp.S: Likewise.
9835         * sysdeps/s390/s390-64/setjmp.S: Likewise.
9836         * sysdeps/sh/sh3/setjmp.S: Likewise.
9837         * sysdeps/sh/sh4/setjmp.S: Likewise.
9838         * sysdeps/unix/alpha/sysdep.h: Likewise.
9839         * sysdeps/unix/arm/sysdep.S: Likewise.
9840         * sysdeps/unix/i386/sysdep.S: Likewise.
9841         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
9842         * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
9843         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
9844         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
9845         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
9846         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
9847         * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
9848         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
9849         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
9850         * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
9851         * sysdeps/unix/sysv/linux/m68k/m68k-helpers.S: Likewise.
9852         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
9853         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
9854         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
9855         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
9856         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
9857         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
9858         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
9859         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
9860         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
9861         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
9862         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
9863         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
9864         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
9865         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
9866         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
9867         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
9868         * sysdeps/unix/x86_64/sysdep.S: Likewise.
9869         * sysdeps/x86_64/setjmp.S: Likewise.
9871         * include/math.h: Use IS_IN instead of IS_IN_libm.
9872         * sysdeps/alpha/fpu/s_copysign.c: Likewise.
9873         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
9874         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
9875         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
9876         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
9877         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
9878         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
9879         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
9880         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
9881         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
9882         * sysdeps/ieee754/ldbl-64-128/s_copysignl.c: Likewise.
9883         * sysdeps/ieee754/ldbl-64-128/s_finitel.c: Likewise.
9884         * sysdeps/ieee754/ldbl-64-128/s_frexpl.c: Likewise.
9885         * sysdeps/ieee754/ldbl-64-128/s_isinfl.c: Likewise.
9886         * sysdeps/ieee754/ldbl-64-128/s_isnanl.c: Likewise.
9887         * sysdeps/ieee754/ldbl-64-128/s_modfl.c: Likewise.
9888         * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c: Likewise.
9889         * sysdeps/ieee754/ldbl-64-128/s_signbitl.c: Likewise.
9890         * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: Likewise.
9891         * sysdeps/ieee754/ldbl-opt/s_copysign.c: Likewise.
9892         * sysdeps/ieee754/ldbl-opt/s_finite.c: Likewise.
9893         * sysdeps/ieee754/ldbl-opt/s_frexp.c: Likewise.
9894         * sysdeps/ieee754/ldbl-opt/s_isinf.c: Likewise.
9895         * sysdeps/ieee754/ldbl-opt/s_isnan.c: Likewise.
9896         * sysdeps/ieee754/ldbl-opt/s_ldexp.c: Likewise.
9897         * sysdeps/ieee754/ldbl-opt/s_ldexpl.c: Likewise.
9898         * sysdeps/ieee754/ldbl-opt/s_modf.c: Likewise.
9899         * sysdeps/ieee754/ldbl-opt/s_scalbln.c: Likewise.
9900         * sysdeps/ieee754/ldbl-opt/s_scalbn.c: Likewise.
9901         * sysdeps/powerpc/power5+/fpu/s_modf.c: Likewise.
9902         * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Likewise.
9903         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
9904         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
9905         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c:
9906         Likewise.
9907         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c:
9908         Likewise.
9909         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c:
9910         Likewise.
9911         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c:
9912         Likewise.
9913         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c:
9914         Likewise.
9915         * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
9916         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Likewise.
9917         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
9918         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
9919         * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
9920         * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
9921         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: Likewise.
9922         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: Likewise.
9923         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: Likewise.
9924         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: Likewise.
9925         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: Likewise.
9926         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Likewise.
9927         * sysdeps/powerpc/powerpc64/fpu/s_copysignl.S: Likewise.
9928         * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
9929         * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
9930         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
9931         * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
9932         * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
9933         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
9934         * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
9935         * sysdeps/powerpc/powerpc64/power7/fpu/s_isnan.S: Likewise.
9936         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: Likewise.
9937         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: Likewise.
9938         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: Likewise.
9939         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: Likewise.
9940         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
9941         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S: Likewise.
9943         * nptl/lowlevellock.c: Use IS_IN instead of IS_IN_libpthread.
9944         * nptl/pthreadP.h: Likewise.
9945         * nptl_db/structs.def: Likewise.
9946         * sysdeps/arm/sysdep.h: Likewise.
9947         * sysdeps/nptl/bits/libc-lock.h: Likewise.
9948         * sysdeps/nptl/bits/libc-lockP.h: Likewise.
9949         * sysdeps/sparc/sparc32/lowlevellock.c: Likewise.
9950         * sysdeps/unix/alpha/sysdep.h: Likewise.
9951         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
9952         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
9953         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
9954         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
9955         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
9956         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
9957         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
9958         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
9959         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
9960         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
9961         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
9962         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
9963         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
9964         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
9965         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
9966         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
9967         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
9968         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
9969         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
9970         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
9971         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
9972         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
9973         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
9974         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
9975         * sysdeps/unix/sysv/linux/x86_64/cancellation.S: Likewise.
9976         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
9978         * include/mqueue.h: Use IS_IN instead of IS_IN_librt.
9979         * nptl/pthreadP.h: Likewise.
9980         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
9981         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
9982         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
9983         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
9984         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
9985         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
9986         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
9987         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
9988         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
9989         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
9990         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
9991         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
9992         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
9993         Likewise.
9994         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
9995         Likewise.
9996         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
9997         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
9998         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
9999         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
10000         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
10001         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
10002         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
10003         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
10005         * dlfcn/dladdr.c: Use IS_IN.
10006         * dlfcn/dladdr1.c: Likewise.
10007         * dlfcn/dlclose.c: Likewise.
10008         * dlfcn/dlerror.c: Likewise.
10009         * dlfcn/dlinfo.c: Likewise.
10010         * dlfcn/dlmopen.c: Likewise.
10011         * dlfcn/dlopen.c: Likewise.
10012         * dlfcn/dlsym.c: Likewise.
10013         * dlfcn/dlvsym.c: Likewise.
10015         * include/ifaddrs.h: Use IS_IN.
10016         * inet/check_pf.c: Likewise.
10017         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
10018         * nscd/Makefile (CPPFLAGS-nscd): Remove IS_IN_nscd.
10020         * elf/Makefile (CFLAGS-ldconfig.c): Remove definition of
10021         IS_IN_ldconfig.
10022         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.c: Use IS_IN.
10023         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.h: Likewise.
10025         * include/shlib-compat.h [!NOT_IN_libc]: Remove.
10026         * nss/nss_files/files-parse.c (IS_IN_libc): Replace with
10027         IS_IN (libc).
10029         * elf/Makefile (libof-sotruss-lib): Set as extramodules.
10031         * elf/Makefile (CPPFLAGS-.os): Remove IN_LIB.
10032         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
10033         * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
10034         * include/libc-symbols.h (IS_IN_LIB): New macro.
10035         * include/errno.h: Use IS_IN_LIB instead of IN_LIB.
10036         * include/netdb.h: Likewise.
10037         * include/stap-probe.h: Remove all uses of IN_LIB.
10039         * Makeconfig (module-cppflags-real): Define MODULE_NAME
10040         instead of IN_MODULE.
10041         * include/libc-symbols.h (IN_MODULE): Define using
10042         MODULE_NAME.
10043         (PASTE_NAME, PASTE_NAME1): New macros.
10044         * include/stap-probe.h (LIBC_PROBE_1): Use MODULE_NAME instead
10045         of IN_LIB.
10046         (STAP_PROBE_ASM): Likewise.
10048 2014-11-23  Samuel Thibault  <samuel.thibault@ens-lyon.org>
10050         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Call
10051         __mach_init in dlopened libc.
10053 2014-11-22  Mike Frysinger  <vapier@gentoo.org>
10055         * sysdeps/arm/preconfigure.ac: Delete EABI check.
10056         * sysdeps/arm/preconfigure: Regenerate.
10058 2014-11-21  Roland McGrath  <roland@hack.frob.com>
10060         * nptl/pthread_create.c (__pthread_create_2_1): Set
10061         ATTR_FLAG_POLICY_SET and/or ATTR_FLAG_SCHED_SET in PD->flags
10062         when copying values from IATTR into PD.
10064 2014-11-21  Will Newton  <will.newton@linaro.org>
10065             Andrew Pinski  <andrew.pinski@caviumnetworks.com>
10067         * sysdeps/aarch64/dl-machine.h (elf_machine_load_address):
10068         Refactor inline-asm.  Also add comment.
10070         * sysdeps/aarch64/bits/link.h (la_aarch64_gnu_pltenter): Use
10071         ElfW macro instead of hardcoded Elf64 types.
10072         (la_aarch64_gnu_pltenter): Likewise.
10073         * sysdeps/aarch64/dl-machine.h
10074         (elf_machine_runtime_setup): Use ElfW(Addr).
10076         * elf/elf.h (R_AARCH64_P32_ABS32, R_AARCH64_P32_COPY,
10077         R_AARCH64_P32_GLOB_DAT, R_AARCH64_P32_JUMP_SLOT,
10078         R_AARCH64_P32_RELATIVE, R_AARCH64_P32_TLS_DTPMOD,
10079         R_AARCH64_P32_TLS_DTPREL, R_AARCH64_P32_TLS_TPREL,
10080         R_AARCH64_P32_TLSDESC, R_AARCH64_P32_IRELATIVE): Define.
10081         (R_AARCH64_TLS_DTPMOD64): Rename to ..
10082         (R_AARCH64_TLS_DTPMOD): This.
10083         (R_AARCH64_TLS_DTPREL64): Rename to ...
10084         (R_AARCH64_TLS_DTPREL): This.
10085         (R_AARCH64_TLS_TPREL64): Rename to ...
10086         (R_AARCH64_TLS_TPREL): This.
10087         * sysdeps/aarch64/dl-machine.h (elf_machine_type_class): Update
10088         R_AARCH64_TLS_DTPMOD64, R_AARCH64_TLS_DTPREL64, and
10089         R_AARCH64_TLS_TPREL64.
10090         (elf_machine_rela): Likewise.
10092 2014-11-21  Torvald Riegel  <triegel@redhat.com>
10094         * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS): Fix value
10095         by setting it to 0.  64b atomics are not supported currently.
10097 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
10099         [BZ #16469]
10100         * resolv/res_query.c (__libc_res_nsearch): Skip leading dot in
10101         search domain names.
10103 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
10105         [BZ #16469]
10106         * NEWS: Update.
10107         * resolv/res_query.c (__libc_res_nquerydomain): Retain
10108         trailing dot.
10109         * posix/tst-getaddrinfo5.c: New.
10110         * posix/Makefile (tests): Add it.
10112 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
10114         [BZ #14498]
10115         * NEWS: Fixed.
10116         * nss/nss_db/db-XXX.c (_nss_db_get##name##_r): Update hidx
10117         after parsing line but before break_if_match.
10118         * nss/nss_files/files-service (DB_LOOKUP): Don't "continue;"
10119         if there is a protocol mismatch.
10121 2014-11-21  Ma Shimiao <mashimiao.fnst@cn.fujitsu.com>
10123         * manual/sysinfo.texi (addmntent): It is actually MT-Safe,
10124         because the potential race is on the user-supplied stream.
10126 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
10128         * sysdeps/posix/ctermid.c (ctermid): Return a pointer to a
10129         string literal if not passed a buffer.
10130         * manual/job.texi (ctermid): Update reasoning, note deviation
10131         from posix, suggest mtasurace when not passed a buffer, for
10132         future non-preliminary safety notes.
10134 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
10136         * manual/users.texi (cuserid): Fix MT-Safety note for the case
10137         of not passing it a buffer.
10138         Reported by Peng Haitao.
10140 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
10142         * manual/Makefile ($(objpfx)stamp-summary): Require
10143         check-safety.sh to pass.
10144         * manual/check-safety.sh: Wish for verification that every
10145         @deftypefn and @deftypefun is followed by a @safety remark.
10147 2014-11-20  Roland McGrath  <roland@hack.frob.com>
10149         * nptl/unwind.c (unwind_cleanup): Use __libc_fatal.
10151         * nptl/pthread_setcanceltype.c [!SIGCANCEL]: Return ENOTSUP early for
10152         PTHREAD_CANCEL_ASYNCHRONOUS.
10153         * nptl/pthread_cancel.c [!SIGCANCEL]: Just abort rather than trying to
10154         send SIGCANCEL.
10156         * nptl/default-sched.h: New file.
10157         * sysdeps/unix/sysv/linux/default-sched.h: New file.
10158         * nptl/pthread_create.c: Include it.
10159         (__pthread_create_2_1): Use collect_default_sched instead of making
10160         Linux syscalls here directly.
10162 2014-11-20  Torvald Riegel  <triegel@redhat.com>
10164         * nptl/pthread_once.c (clear_once_control, __pthread_once_slow,
10165         __pthread_once): Use C11 atomics.
10167 2014-11-20  Torvald Riegel  <triegel@redhat.com>
10169         * csu/tst-atomic.c (do_test): Add tests for C11-like atomics.
10171 2014-11-20  Torvald Riegel  <triegel@redhat.com>
10173         * include/atomic.h (__atomic_link_error, __atomic_check_size,
10174         atomic_thread_fence_acquire, atomic_thread_fence_release,
10175         atomic_thread_fence_seq_cst, atomic_load_relaxed,
10176         atomic_load_acquire, atomic_store_relaxed, atomic_store_release,
10177         atomic_compare_exchange_weak_relaxed,
10178         atomic_compare_exchange_weak_acquire,
10179         atomic_compare_exchange_weak_release,
10180         atomic_exchange_acquire, atomic_exchange_release,
10181         atomic_fetch_add_relaxed, atomic_fetch_add_acquire,
10182         atomic_fetch_add_release, atomic_fetch_add_acq_rel,
10183         atomic_fetch_and_acquire,
10184         atomic_fetch_or_relaxed, atomic_fetch_or_acquire): New.
10186 2014-11-20  Torvald Riegel  <triegel@redhat.com>
10188         * sysdeps/aarch64/bits/atomic.h (__HAVE_64B_ATOMICS,
10189         USE_ATOMIC_COMPILER_BUILTINS): Define.
10190         * sysdeps/alpha/bits/atomic.h (__HAVE_64B_ATOMICS,
10191         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
10192         * sysdeps/arm/bits/atomic.h (__HAVE_64B_ATOMICS,
10193         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
10194         * sysdeps/i386/i486/bits/atomic.h (__HAVE_64B_ATOMICS,
10195         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
10196         * sysdeps/ia64/bits/atomic.h (__HAVE_64B_ATOMICS,
10197         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
10198         * sysdeps/m68k/coldfire/bits/atomic.h (__HAVE_64B_ATOMICS,
10199         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
10200         * sysdeps/m68k/m680x0/m68020/bits/atomic.h (__HAVE_64B_ATOMICS,
10201         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
10202         * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS,
10203         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
10204         * sysdeps/mips/bits/atomic.h (__HAVE_64B_ATOMICS,
10205         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
10206         * sysdeps/powerpc/powerpc32/bits/atomic.h (__HAVE_64B_ATOMICS,
10207         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
10208         * sysdeps/powerpc/powerpc64/bits/atomic.h (__HAVE_64B_ATOMICS,
10209         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
10210         * sysdeps/s390/bits/atomic.h (__HAVE_64B_ATOMICS,
10211         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
10212         * sysdeps/sparc/sparc32/bits/atomic.h (__HAVE_64B_ATOMICS,
10213         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
10214         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (__HAVE_64B_ATOMICS,
10215         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
10216         * sysdeps/sparc/sparc64/bits/atomic.h (__HAVE_64B_ATOMICS,
10217         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
10218         * sysdeps/tile/tilegx/bits/atomic.h (__HAVE_64B_ATOMICS,
10219         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
10220         * sysdeps/tile/tilepro/bits/atomic.h (__HAVE_64B_ATOMICS,
10221         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
10222         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h (__HAVE_64B_ATOMICS,
10223         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
10224         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
10225         (__HAVE_64B_ATOMICS, USE_ATOMIC_COMPILER_BUILTINS): Likewise.
10226         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (__HAVE_64B_ATOMICS,
10227         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
10228         * sysdeps/x86_64/bits/atomic.h (__HAVE_64B_ATOMICS,
10229         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
10231 2014-11-19  Roland McGrath  <roland@hack.frob.com>
10233         * nptl/pthread_create.c (__pthread_create_2_1): Don't try to validate
10234         the sched_priority value here.  It was already checked when the user
10235         called pthread_attr_setschedparam.
10237         * nptl/tst-bad-schedattr.c: New file.
10238         * nptl/Makefile (tests): Add it.
10240 2014-11-19  Carlos O'Donell  <carlos@redhat.com>
10241             Florian Weimer  <fweimer@redhat.com>
10242             Joseph Myers  <joseph@codesourcery.com>
10243             Adam Conrad  <adconrad@0c3.net>
10244             Andreas Schwab  <schwab@suse.de>
10245             Brooks  <bmoses@google.com>
10247         [BZ #17625]
10248         * wordexp-test.c (__dso_handle): Add prototype.
10249         (__register_atfork): Likewise.
10250         (__app_register_atfork): New function.
10251         (registered_forks): New global.
10252         (register_fork): New function.
10253         (test_case): Add 3 new tests for WRDE_CMDSUB.
10254         (main): Call __app_register_atfork.
10255         (testit): If WRDE_NOCMD set registered_forks to zero, run test, and if
10256         fork count is non-zero fail the test.
10257         * posix/wordexp.c (exec_comm): Return WRDE_CMDSUB if WRDE_NOCMD flag
10258         is set.
10259         (parse_dollars): Remove check for WRDE_NOCMD.
10260         (parse_dquote): Likewise.
10262 2014-11-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
10264         * Makeconfig (built-modules): List non-library modules to be
10265         built.
10266         (module-cppflags): Include libc-modules.h for
10267         everything except shlib-versions.v.i.
10268         (CPPFLAGS): Use it.
10269         (before-compile): Add libc-modules.h.
10270         ($(common-objpfx)libc-modules.h,
10271         $(common-objpfx)libc-modules.stmp): New targets.
10272         (common-generated): Add libc-modules.h and libc-modules.stmp.
10273         ($(common-objpfx)Versions.v.i): Depend on libc-modules.h.
10274         * include/libc-symbols.h: Don't include libc-modules.h.
10275         * include/libc-modules.h: Remove file.
10276         * scripts/gen-libc-modules.awk: New script to generate
10277         libc-modules.h.
10278         * sysdeps/unix/Makefile ($(common-objpfx)sysd-syscalls):
10279         Depend on libc-modules.stmp.
10281         * include/shlib-compat.h (_SHLIB_COMPAT): Use IS_IN.
10283         * Makeconfig (in-module): Get value of libof set for the
10284         translation unit.
10285         (CPPFLAGS): Use $(in-module).
10286         * Makerules: Don't suffix routine names for nonlib.
10287         * include/libc-modules.h: New file.
10288         * include/libc-symbols.h: Include libc-modules.h
10289         (IS_IN): New macro to replace IS_IN_* macros.
10290         * elf/Makefile: Set libof-* for each routine.
10291         * elf/rtld-Rules: Likewise.
10292         * extra-modules.mk: Likewise.
10293         * iconv/Makefile: Likewise.
10294         * iconvdata/Makefile: Likewise.
10295         * locale/Makefile: Likewise.
10296         * malloc/Makefile: Likewise.
10297         * nss/Makefile: Likewise.
10298         * sysdeps/gnu/Makefile: Likewise.
10299         * sysdeps/ieee754/ldbl-opt/Makefile: Likewise.
10300         * sysdeps/unix/sysv/linux/Makefile: Likewise.
10301         * sysdeps/s390/s390-64/Makefile: Likewise.
10302         * nscd/Makefile: Set libof-* for each routine.  Set CFLAGS and
10303         CPPFLAGS for nscd instead of nonlib.
10305 2014-11-18  Roland McGrath  <roland@hack.frob.com>
10307         * nptl/createthread.c: New file.
10309         * nptl/createthread.c: Moved ...
10310         * sysdeps/unix/sysv/linux/createthread.c: ... here.
10312         * nptl/createthread.c: Add proper top-line comment.
10313         (do_clone): Folded into ...
10314         (create_thread): ... here.  Take new arguments STOPPED_START and
10315         THREAD_RAN.  Always set PD->stopped_start to something here.  Don't
10316         increment __nptl_threads, do event-reporting logic, do
10317         CHECK_THREAD_SYSINFO, or set THREAD_SELF->header.multiple_threads
10318         here.  Set *THREAD_RAN after ARCH_CLONE call succeeds.  Don't do any
10319         resource cleanup if sched_setaffinity or sched_setscheduler fails,
10320         just send SIGCANCEL.
10321         * nptl/pthread_create.c: Forward-declare create_thread before
10322         including createthread.c.
10323         (start_thread): Use new macro START_THREAD_DEFN to replace defining
10324         declaration, and new macro START_THREAD_SELF to replace argument.
10325         Remove return statement.
10326         (report_thread_creation): New function.
10327         (__pthread_create_2_1): Use it.  Do TD_CREATE reporting,
10328         synchronization logic, and __nptl_nthreads increment here, around
10329         calling create_thread.  Do CHECK_THREAD_SYSINFO and initialize
10330         PD->parent_cancelhandling here, before create_thread.  When
10331         create_thread fails, do __nptl_nthreads decrement, setxid_futex wake,
10332         __deallocate_stack, and ENOMEM translation here.
10334 2014-11-18  Joseph Myers  <joseph@codesourcery.com>
10336         [BZ #17616]
10337         * sysdeps/ieee754/dbl-64/mpa.c (mpone): Rename to __mpone.
10338         (mptwo): Rename to __mptwo.
10339         (__inv): Use __mptwo instead of mptwo.
10340         * sysdeps/ieee754/dbl-64/mpa.h (mpone): Rename to __mpone.
10341         (mptwo): Rename to __mptwo.
10342         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __mpone instead
10343         of mpone and __mptwo instead of mptwo.
10344         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Use __mpone
10345         instead of mpone.
10346         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
10347         * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Likewise.
10348         * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use __mpone instead
10349         of mpone and __mptwo instead of mptwo.
10350         (__mpranred): Use __mpone instead of mpone.
10351         * conform/Makefile (test-xfail-ISO/math.h/linknamespace): Remove
10352         variable.
10353         (test-xfail-ISO99/complex.h/linknamespace): Likewise.
10354         (test-xfail-ISO99/math.h/linknamespace): Likewise.
10355         (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
10356         (test-xfail-ISO11/complex.h/linknamespace): Likewise.
10357         (test-xfail-ISO11/math.h/linknamespace): Likewise.
10358         (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
10359         (test-xfail-XPG3/math.h/linknamespace): Likewise.
10360         (test-xfail-XPG4/math.h/linknamespace): Likewise.
10361         (test-xfail-POSIX/math.h/linknamespace): Likewise.
10362         (test-xfail-UNIX98/math.h/linknamespace): Likewise.
10363         (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
10364         (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
10365         (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
10366         (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
10367         (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
10368         (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
10369         (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
10370         (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
10371         (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
10373 2014-11-18  Tom de Vries  <tom@codesoucery.com>
10375         * manual/signal.texi (Primitives Interrupted by Signals): In section,
10376         replace BSD Handler xref with BSD Signal Handling.
10378 2014-11-17  Richard Henderson  <rth@redhat.com>
10380         * sysdeps/alpha/soft-fp/local-soft-fp.h (_FP_UNPACK_RAW_2): Remove.
10381         (_FP_PACK_RAW_2): Remove.
10382         (AXP_DECL_RETURN_Q): Rename from FP_DECL_RETURN, use _FP_UNION_Q.
10383         (AXP_RETURN_Q): Rename from FP_RETURN, use _FP_UNION_Q.
10384         (AXP_UNPACK_RAW_Q, AXP_UNPACK_SEMIRAW_Q, AXP_UNPACK_Q): New.
10385         (AXP_PACK_RAW_Q, AXP_PACK_SEMIRAW_Q, AXP_PACK_Q): New.
10386         * sysdeps/alpha/soft-fp/ots_add.c (_OtsAddX): Update to match.
10387         * sysdeps/alpha/soft-fp/ots_cmp.c (internal_equality): Likewise.
10388         * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Likewise.
10389         * sysdeps/alpha/soft-fp/ots_cvtqux.c (_OtsCvtQUX): Likewise.
10390         * sysdeps/alpha/soft-fp/ots_cvtqx.c (_OtsCvtQX): Likewise.
10391         * sysdeps/alpha/soft-fp/ots_cvttx.c (_OtsConvertFloatTX): Likewise.
10392         * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Likewise.
10393         * sysdeps/alpha/soft-fp/ots_cvtxt.c (_OtsConvertFloatXT): Likewise.
10394         * sysdeps/alpha/soft-fp/ots_div.c (_OtsDivX): Likewise.
10395         * sysdeps/alpha/soft-fp/ots_mul.c (_OtsMulX): Likewise.
10396         * sysdeps/alpha/soft-fp/ots_nintxq.c (_OtsNintXQ): Likewise.
10397         * sysdeps/alpha/soft-fp/ots_sub.c (_OtsSubX): Likewise.
10399 2014-11-14  Roland McGrath  <roland@hack.frob.com>
10401         * signal/signal.h [__USE_MISC]
10402         (struct sigvec): Remove type.
10403         (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): Remove macros.
10404         (sigvec): Remove declaration.
10405         * sysdeps/posix/sigvec.c: Moved ...
10406         * signal/sigvec.c: ... here, replacing old file.
10407         (struct sigvec): New type, copied from old signal.h definition.
10408         (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): New macros, likewise copied.
10409         (__sigvec): Convert definition to prototype.
10410         (sigvec): Replace weak_alias with compat_symbol.
10411         * signal/Versions (libc: GLIBC_2.21): New version set.
10412         * include/signal.h: Remove __sigvec declaration.
10413         * sysdeps/unix/bsd/sigvec.c: Remove file.
10414         * sysdeps/unix/bsd/syscalls.list: Remove sigvec.
10415         * manual/signal.texi (BSD Handler): Remove subsection.
10416         Move siginterrupt up to ...
10417         (BSD Signal Handling): ... here.  Mark it as XPG rather than BSD.
10418         (Blocking in BSD): Fold subsection into its parent.
10419         * NEWS: Mention sigvec removal.
10421 2014-11-14  Joseph Myers  <joseph@codesourcery.com>
10423         * sysdeps/x86_64/fpu/dla.h [__FMA4__ && __GNUC_PREREQ (4, 6)]
10424         (DLA_FMS): Make definition conditional only on [__FMA4__].
10425         [__FMA4__ && !__GNUC_PREREQ (4, 6)] (DLA_FMS): Remove conditional
10426         definition.
10428         * sysdeps/arm/sysdep.h [PROF && __GNUC_PREREQ(4,4)] (CALL_MCOUNT):
10429         Make definition conditional only on [PROF].
10430         [PROF && !__GNUC_PREREQ(4,4)] (CALL_MCOUNT): Remove conditional
10431         definition.
10432         [__GNUC_PREREQ(4,4)] (mcount): Make definition unconditional.
10433         [!__GNUC_PREREQ(4,4)] (mcount): Remove conditional definition.
10435         * signal/signal.h (__sigpause): Only declare if [__USE_XOPEN &&
10436         !__GNUC__].
10437         * include/signal.h (__sigpause): Move declaration above call to
10438         libc_hidden_proto.
10439         * conform/Makefile (test-xfail-ISO/signal.h/linknamespace): Remove
10440         variable.
10441         (test-xfail-ISO99/signal.h/linknamespace): Likewise.
10442         (test-xfail-ISO11/signal.h/linknamespace): Likewise.
10444 2014-11-14  David S. Miller  <davem@davemloft.net>
10446         * sysdeps/sparc/sparc64/rtld-memcpy.c (NO_MEMPCPY_STPCPY_REDIRECT):
10447         Define before including <string/memcpy.c> and <string/mempcpy.c>.
10449 2014-11-14  Joseph Myers  <joseph@codesourcery.com>
10451         * configure.ac (libc_cv_compiler_ok): Require GCC 4.6 or later.
10452         * configure: Regenerated.
10453         * manual/install.texi (Tools for Compilation): Document a
10454         requirement of GCC 4.6 or later and that GCC 4.9 is the newest
10455         compiler verified to work.
10456         * INSTALL: Regenerated.
10458         * include/string.h [NO_MEMPCPY_STPCPY_REDIRECT] (mempcpy): Do not
10459         redeclare with asm name.
10460         [NO_MEMPCPY_STPCPY_REDIRECT] (stpcpy): Likewise.
10461         * string/mempcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Define before
10462         including <string.h>.
10463         * string/stpcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
10464         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c
10465         [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
10466         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c
10467         [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
10468         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
10469         [SHARED && !NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
10471 2014-11-13  Joseph Myers  <joseph@codesourcery.com>
10473         * stdlib/strtol.c (__strtol): Use prototype definition.
10475         [BZ #17594]
10476         * stdlib/strtol.c (SYM__): New macro.
10477         (SYM__1): Likewise.
10478         (__strtol): Likewise.
10479         (strtol): Rename to __strtol and define as weak alias of
10480         __strtol.  Use libc_hidden_weak.
10482 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
10484         * sysdeps/s390/s390-32/dl-machine.h (RTLD_START):
10485         Use numbered labels in inline assembly.
10487 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
10489         * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp):
10490         Add setjmp LIBC_PROBE.
10491         * sysdeps/s390/s390-64/setjmp.S (__sigsetjmp):
10492         Likewise.
10493         * sysdeps/s390/s390-32/__longjmp.c (__longjmp):
10494         Add longjmp, longjmp_target LIBC_PROBE.
10495         * sysdeps/s390/s390-64/__longjmp.c (__longjmp):
10496         Likewise.
10498 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
10500         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
10501         Gate the definition of refsym additionally with !RTLD_BOOTSTRAP
10502         to get rid of unused variable warning.
10504 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
10506         * sysdeps/s390/s390-32/backtrace.c (__backtrace):
10507         Check for unwind_backtrace ==  NULL only in SHARED case.
10508         (__backchain_backtrace): Compile only in SHARED case.
10509         * sysdeps/s390/s390-64/backtrace.c (__backtrace):
10510         Likewise.
10511         (__backchain_backtrace): Declare as static.
10513 2014-11-12  Roland McGrath  <roland@hack.frob.com>
10515         * nptl/createthread.c [!TLS_MULTIPLE_THREADS_IN_TCB]
10516         (__libc_multiple_threads_ptr): Variable moved ...
10517         * nptl/nptl-init.c [!TLS_MULTIPLE_THREADS_IN_TCB]: ... here.
10519 2014-11-12  Joseph Myers  <joseph@codesourcery.com>
10521         * conform/GlibcConform.pm: New file.
10522         * conform/conformtest.pl: Use GlibcConform module.
10523         * conform/linknamespace.pl: New file.
10524         * conform/list-header-symbols.pl: Likewise.
10525         * conform/Makefile (linknamespace-symlists-base): New variable.
10526         (linknamespace-symlists-tests): Likewise.
10527         (linknamespace-header-base): Likewise.
10528         (linknamespace-header-tests): Likewise.
10529         (tests-special): Add new tests.
10530         ($(linknamespace-symlists-tests)): New rule.
10531         (linknamespace-libs): New variable.
10532         ($(objpfx)symlist-stdlibs): New rule.
10533         ($(linknamespace-header-tests)): Likewise.
10534         (test-xfail-XPG3/varargs.h/linknamespace): New variable.
10535         (test-xfail-XPG4/varargs.h/linknamespace): Likewise.
10536         (test-xfail-UNIX98/varargs.h/linknamespace): Likewise.
10537         (test-xfail-XPG4/ndbm.h/linknamespace): Likewise.
10538         (test-xfail-UNIX98/ndbm.h/linknamespace): Likewise.
10539         (test-xfail-XOPEN2K/ndbm.h/linknamespace): Likewise.
10540         (test-xfail-XOPEN2K8/ndbm.h/linknamespace): Likewise.
10541         (test-xfail-ISO/math.h/linknamespace): Likewise.
10542         (test-xfail-ISO/signal.h/linknamespace): Likewise.
10543         (test-xfail-ISO/stdio.h/linknamespace): Likewise.
10544         (test-xfail-ISO/time.h/linknamespace): Likewise.
10545         (test-xfail-ISO99/complex.h/linknamespace): Likewise.
10546         (test-xfail-ISO99/ctype.h/linknamespace): Likewise.
10547         (test-xfail-ISO99/math.h/linknamespace): Likewise.
10548         (test-xfail-ISO99/signal.h/linknamespace): Likewise.
10549         (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
10550         (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
10551         (test-xfail-ISO11/complex.h/linknamespace): Likewise.
10552         (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
10553         (test-xfail-ISO11/math.h/linknamespace): Likewise.
10554         (test-xfail-ISO11/signal.h/linknamespace): Likewise.
10555         (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
10556         (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
10557         (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
10558         (test-xfail-XPG3/fnmatch.h/linknamespace): Likewise.
10559         (test-xfail-XPG3/glob.h/linknamespace): Likewise.
10560         (test-xfail-XPG3/math.h/linknamespace): Likewise.
10561         (test-xfail-XPG3/regex.h/linknamespace): Likewise.
10562         (test-xfail-XPG3/search.h/linknamespace): Likewise.
10563         (test-xfail-XPG3/stdio.h/linknamespace): Likewise.
10564         (test-xfail-XPG3/time.h/linknamespace): Likewise.
10565         (test-xfail-XPG3/unistd.h/linknamespace): Likewise.
10566         (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
10567         (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
10568         (test-xfail-XPG4/fmtmsg.h/linknamespace): Likewise.
10569         (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
10570         (test-xfail-XPG4/glob.h/linknamespace): Likewise.
10571         (test-xfail-XPG4/grp.h/linknamespace): Likewise.
10572         (test-xfail-XPG4/libgen.h/linknamespace): Likewise.
10573         (test-xfail-XPG4/math.h/linknamespace): Likewise.
10574         (test-xfail-XPG4/netdb.h/linknamespace): Likewise.
10575         (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
10576         (test-xfail-XPG4/regex.h/linknamespace): Likewise.
10577         (test-xfail-XPG4/search.h/linknamespace): Likewise.
10578         (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
10579         (test-xfail-XPG4/stdlib.h/linknamespace): Likewise.
10580         (test-xfail-XPG4/sys/mman.h/linknamespace): Likewise.
10581         (test-xfail-XPG4/sys/statvfs.h/linknamespace): Likewise.
10582         (test-xfail-XPG4/syslog.h/linknamespace): Likewise.
10583         (test-xfail-XPG4/time.h/linknamespace): Likewise.
10584         (test-xfail-XPG4/unistd.h/linknamespace): Likewise.
10585         (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
10586         (test-xfail-POSIX/aio.h/linknamespace): Likewise.
10587         (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
10588         (test-xfail-POSIX/glob.h/linknamespace): Likewise.
10589         (test-xfail-POSIX/math.h/linknamespace): Likewise.
10590         (test-xfail-POSIX/mqueue.h/linknamespace): Likewise.
10591         (test-xfail-POSIX/pthread.h/linknamespace): Likewise.
10592         (test-xfail-POSIX/regex.h/linknamespace): Likewise.
10593         (test-xfail-POSIX/sched.h/linknamespace): Likewise.
10594         (test-xfail-POSIX/semaphore.h/linknamespace): Likewise.
10595         (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
10596         (test-xfail-POSIX/time.h/linknamespace): Likewise.
10597         (test-xfail-POSIX/unistd.h/linknamespace): Likewise.
10598         (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
10599         (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
10600         (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
10601         (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
10602         (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
10603         (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
10604         (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
10605         (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
10606         (test-xfail-UNIX98/math.h/linknamespace): Likewise.
10607         (test-xfail-UNIX98/mqueue.h/linknamespace): Likewise.
10608         (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
10609         (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
10610         (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
10611         (test-xfail-UNIX98/regex.h/linknamespace): Likewise.
10612         (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
10613         (test-xfail-UNIX98/search.h/linknamespace): Likewise.
10614         (test-xfail-UNIX98/semaphore.h/linknamespace): Likewise.
10615         (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
10616         (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
10617         (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
10618         (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
10619         (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
10620         (test-xfail-UNIX98/time.h/linknamespace): Likewise.
10621         (test-xfail-UNIX98/unistd.h/linknamespace): Likewise.
10622         (test-xfail-UNIX98/wchar.h/linknamespace): Likewise.
10623         (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
10624         (test-xfail-XOPEN2K/aio.h/linknamespace): Likewise.
10625         (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
10626         (test-xfail-XOPEN2K/fcntl.h/linknamespace): Likewise.
10627         (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
10628         (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
10629         (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
10630         (test-xfail-XOPEN2K/grp.h/linknamespace): Likewise.
10631         (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
10632         (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
10633         (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
10634         (test-xfail-XOPEN2K/net/if.h/linknamespace): Likewise.
10635         (test-xfail-XOPEN2K/netdb.h/linknamespace): Likewise.
10636         (test-xfail-XOPEN2K/pthread.h/linknamespace): Likewise.
10637         (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
10638         (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
10639         (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
10640         (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
10641         (test-xfail-XOPEN2K/signal.h/linknamespace): Likewise.
10642         (test-xfail-XOPEN2K/spawn.h/linknamespace): Likewise.
10643         (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
10644         (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
10645         (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
10646         (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
10647         (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
10648         (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
10649         (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
10650         (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
10651         (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
10652         (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
10653         (test-xfail-POSIX2008/aio.h/linknamespace): Likewise.
10654         (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
10655         (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
10656         (test-xfail-POSIX2008/dirent.h/linknamespace): Likewise.
10657         (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
10658         (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
10659         (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
10660         (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
10661         (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
10662         (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
10663         (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
10664         (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
10665         (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
10666         (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
10667         (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
10668         (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
10669         (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
10670         (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
10671         (test-xfail-POSIX2008/unistd.h/linknamespace): Likewise.
10672         (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
10673         (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
10674         (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
10675         (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
10676         (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
10677         (test-xfail-XOPEN2K8/grp.h/linknamespace): Likewise.
10678         (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
10679         (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
10680         (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
10681         (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
10682         (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
10683         (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
10684         (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
10685         (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
10686         (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
10687         (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
10688         (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
10689         (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
10690         (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
10691         (test-xfail-XOPEN2K8/syslog.h/linknamespace): Likewise.
10692         (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
10693         (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
10694         (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
10696         [BZ #17589]
10697         * intl/localealias.c [_LIBC] (FGETS): Use __fgets_unlocked instead
10698         of fgets_unlocked.
10700         [BZ #17585]
10701         * string/memmem.c [!_LIBC] (__memmem): Define to memmem.
10702         (memmem): Rename to __memmem and define as weak alias of
10703         __memmem.  Use libc_hidden_weak.
10704         (__memmem): Use libc_hidden_def.
10705         * include/string.h (__memmem): Declare.  Use libc_hidden_proto.
10706         * locale/findlocale.c (valid_locale_name): Use __memmem instead of
10707         memmem.
10709         [BZ #17582]
10710         * libio/iofgets.c [weak_alias && !_IO_MTSAFE_IO]
10711         (__fgets_unlocked): Add alias of _IO_fgets.  Use libc_hidden_def.
10712         * libio/iofgets_u.c (fgets_unlocked): Rename to __fgets_unlocked
10713         and define as weak alias of __fgets_unlocked.  Use
10714         libc_hidden_weak.
10715         (__fgets_unlocked): Use libc_hidden_def.
10716         * include/stdio.h (__fgets_unlocked): Declare.  Use
10717         libc_hidden_proto.
10718         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Use
10719         __fgets_unlocked instead of fgets_unlocked.
10720         * sysdeps/unix/sysv/linux/alpha/getsysstats.c
10721         (GET_NPROCS_CONF_PARSER): Likewise.
10722         * sysdeps/unix/sysv/linux/sparc/getsysstats.c
10723         (GET_NPROCS_CONF_PARSER): Likewise.
10725         [BZ #17574]
10726         * wcsmbs/wmemset.c (wmemset): Rename to __wmemset and define as
10727         weak alias of __wmemset.  Use libc_hidden_weak.
10728         (__wmemset): Use libc_hidden_def.
10729         * include/wchar.h (__wmemset): Declare.  Use libc_hidden_proto.
10730         * stdio-common/printf_fp.c (___printf_fp): Call __wmemset instead
10731         of wmemset.
10733         [BZ #17573]
10734         * include/string.h [NOT_IN_libc || !SHARED] (mempcpy): Declare
10735         with asm name __mempcpy.
10736         [NOT_IN_libc || !SHARED] (stpcpy): Declare with asm name __stpcpy.
10738         [BZ #17572]
10739         * sysdeps/x86_64/rawmemchr.S (rawmemchr): Rename to __rawmemchr
10740         and define as weak alias of __rawmemchr.
10741         (__rawmemchr): Do not define as strong alias of rawmemchr.
10743         [BZ #17571]
10744         * stdlib/msort.c (qsort_r): Rename to __qsort_r and define as weak
10745         alias of __qsort_r.
10746         (qsort): Call __qsort_r instead of qsort_r.
10747         * include/stdlib.h (qsort_r): Do not call libc_hidden_proto.
10748         (__qsort_r): Declare.  Call libc_hidden_proto.
10749         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Call __qsort_r
10750         instead of qsort_r.
10751         * nscd/gai.c (__qsort_r): Define to qsort_r.
10752         * posix/tst-rfc3484.c (__qsort_r): Likewise.
10753         * posix/tst-rfc3484-2.c (__qsort_r): Likewise.
10754         * posix/tst-rfc3484-3.c (__qsort_r): Likewise.
10756         [BZ #17570]
10757         * malloc/malloc.c (malloc_info): Rename to __malloc_info and
10758         define as weak alias of __malloc_info.
10760         [BZ #17584]
10761         * dirent/rewinddir.c (rewinddir): Rename to __rewinddir and define
10762         as weak alias of __rewinddir.  Don't use libc_hidden_def.
10763         (__rewinddir): Use libc_hidden_def.
10764         * sysdeps/mach/hurd/rewinddir.c: Rename to __rewinddir and define
10765         as weak alias of __rewinddir.  Don't use libc_hidden_def.
10766         (__rewinddir): Use libc_hidden_def.
10767         * sysdeps/posix/rewinddir.c: Rename to __rewinddir and define as
10768         weak alias of __rewinddir.  Don't use libc_hidden_def.
10769         (__rewinddir): Use libc_hidden_def.
10770         * include/dirent.h (rewinddir): Don't use libc_hidden_proto.
10771         (__rewinddir): Use libc_hidden_proto.
10772         * sysdeps/posix/getcwd.c [!_LIBC] (__rewinddir): Define to
10773         rewinddir.
10774         (__getcwd): Use __rewinddir instead of rewinddir.
10776         [BZ #17583]
10777         * libio/fileno.c (fileno): Rename to __fileno and define as weak
10778         alias of __fileno.  Use libc_hidden_weak.
10779         (__fileno): Use libc_hidden_def.
10780         [weak_alias] (fileno_unlocked): Define as weak alias of __fileno.
10781         * libio/ftello.c (ftello): Rename to __ftello and define as weak
10782         alias of __ftello.
10783         [__OFF_T_MATCHES_OFF64_T] (ftello64): Define as weak alias of
10784         __ftello.
10785         * libio/iofread.c [weak_alias && !_IO_MTSAFE_IO]
10786         (__fread_unlocked): Define as strong alias of _IO_fread.  Use
10787         libc_hidden_def.
10788         (fread_unlocked): Don't use libc_hidden_ver.
10789         * libio/iofread_u.c (fread_unlocked): Rename to __fread_unlocked
10790         and define as weak alias of __fread_unlocked.  Don't use
10791         libc_hidden_def.
10792         (__fread_unlocked): Use libc_hidden_def.
10793         * include/stdio.h (__fileno): Declare.  Use libc_hidden_proto.
10794         (ftello): Don't use libc_hidden_proto.
10795         (__ftello): Declare.  Use libc_hidden_proto.
10796         (fread_unlocked): Don't use libc_hidden_proto.
10797         (__fread_unlocked): Declare.  Use libc_hidden_proto.
10798         * time/tzfile.c (__tzfile_read): Use __fileno, __fread_unlocked
10799         and __ftello instead of fileno, fread_unlocked and ftello.
10801 2012-11-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
10803         * sysdeps/s390/s390-32/bcopy.S (__bcopy): Use GOT instead of
10804         GOT12.
10805         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
10806         Likewise.
10807         (_dl_start_user): Likewise.
10808         * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp): Likewise.
10810 2014-11-12  Carlos O'Donell  <carlos@redhat.com>
10811             Siddhesh Poyarekar  <siddhesh@redhat.com>
10813         * sysdeps/s390/s390-32/dl-machine.h (_dl_start_user):
10814         Move argv and envp down instead of moving argc up.
10815         * sysdeps/s390/s390-32/dl-sysdep.h: New file.
10817 2014-11-12  Leonhard Holz  <leonhard.holz@web.de>
10819         [BZ #17506]
10820         * test-skeleton.c (main): Return successful if one of
10821         EXPECTED_SIGNAL or EXPECTED_STATUS is met when both given.
10822         * string/tst-strcoll-overflow.c: Define expected status.
10824 2014-11-12  Tatiana Udalova  <t.udalova@samsung.com>
10826         [BZ #17475]
10827         * locale/iso-639.def: Define Bhili and Tulu language codes.
10829 2014-11-11  Alan Hayward  <alan.hayward@arm.com>
10831         * sysdeps/unix/sysv/linux/aarch64/bits/ipc.h: New file.
10833 2014-11-10  Renlin Li  <Renlin.Li@arm.com>
10835         [BZ #17555]
10836         * sysdeps/aarch64/start.S (_start): Delete x29 overwritten assignment.
10838 2014-11-10  Andrew Senkevich  <andrew.n.senkevich@gmail.com>
10840         * configure.ac: Updated check of minimal required version to
10841         2.22.
10842         * manual/install.texi (Tools for Compilation): Updated version
10843         number.
10844         * configure: Regenerated.
10845         * INSTALL: Likewise.
10847 2014-11-07  Andreas Schwab  <schwab@linux-m68k.org>
10849         * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Remove
10850         __tls_get_addr.
10852 2014-11-07  Joseph Myers  <joseph@codesourcery.com>
10854         * include/sys/wait.h (__libc_waitpid): Remove declaration.
10855         * posix/waitpid.c (__libc_waitpid): Rename to __waitpid.
10856         (__waitpid): Don't define as alias.  Use libc_hidden_def not
10857         libc_hidden_weak.
10858         (waitpid): Define as alias of __waitpid.
10859         * sysdeps/unix/bsd/waitpid.c (__libc_waitpid): Rename to
10860         __waitpid.
10861         (__waitpid): Don't define as alias.  Use libc_hidden_def not
10862         libc_hidden_weak.
10863         (waitpid): Define as alias of __waitpid.
10864         * sysdeps/unix/sysv/linux/i386/syscalls.list (waitpid): Remove
10865         __libc_waitpid alias.
10866         * sysdeps/unix/sysv/linux/m68k/syscalls.list (waitpid): Likewise.
10867         * sysdeps/unix/sysv/linux/powerpc/syscalls.list (waitpid):
10868         Likewise.
10869         * sysdeps/unix/sysv/linux/sh/syscalls.list (waitpid): Likewise.
10870         * sysdeps/unix/sysv/linux/sparc/syscalls.list (waitpid): Likewise.
10871         * sysdeps/unix/sysv/linux/tile/waitpid.S (__libc_waitpid): Remove
10872         alias.
10873         * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Rename to
10874         __waitpid.
10875         (__waitpid): Don't define as alias.  Use libc_hidden_def not
10876         libc_hidden_weak.
10877         (waitpid): Define as alias of __waitpid.
10879 2014-11-06  Carlos O'Donell  <carlos@redhat.com>
10881         * manual/llio.texi: Add comment that write safety has been
10882         fixed in Linux.
10884         * elf/Makefile (all-built-dso): Add $(common-objpfx)elf/ld.so.
10885         (localplt-build-dso): Add elf/ld.so.
10886         * sysdeps/unix/sysv/linux/i386/localplt.data: Add ___tls_get_addr
10887         i.e. 3 underscore version, __libc_memalign, malloc, calloc, realloc,
10888         and free for ld.so.
10889         * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: Add
10890         __libc_memalign, malloc, calloc, realloc, and free for ld.so.
10891         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data:
10892         Likewise.
10893         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
10894         Likewise.
10895         * sysdeps/unix/sysv/linux/s390/localplt.data: Likewise.
10896         * sysdeps/generic/localplt.data: Add __tls_get_addr i.e. 2 underscore
10897         version, __libc_memalign, malloc, calloc, realloc and free for ld.so.
10898         * sysdeps/unix/sysv/linux/aarch64/localplt.data: Likewise.
10899         * sysdeps/unix/sysv/linux/arm/localplt.data: Likewise.
10900         * sysdeps/unix/sysv/linux/alpha/localplt.data: Likewise.
10901         * sysdeps/unix/sysv/linux/ia64/localplt.data: Likewise.
10902         * sysdeps/unix/sysv/linux/m68k/localplt.data: Likewise.
10903         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Likewise.
10904         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Likewise.
10905         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
10907 2014-11-05  Joseph Myers  <joseph@codesourcery.com>
10909         [BZ #14132]
10910         * include/libc-symbols.h (INTUSE): Remove macro.
10911         (INTDEF): Likewise.
10912         (INTVARDEF): Likewise.
10913         (_INTVARDEF): Likewise.
10914         (INTDEF2): Likewise.
10915         (INTVARDEF2): Likewise.
10916         * elf/rtld.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Use
10917         rtld_hidden_def instead of INTVARDEF.
10918         * sysdeps/generic/ldsodefs.h [IS_IN_rtld]
10919         (_dl_starting_up_internal): Remove declaration.
10920         (_dl_starting_up): Use rtld_hidden_proto.
10921         * elf/dl-init.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Remove
10922         declaration.
10923         [!HAVE_INLINED_SYSCALLS] (_dl_starting_up_internal): Likewise.
10924         (_dl_init) [!HAVE_INLINED_SYSCALLS]: Don't use INTUSE with
10925         _dl_starting_up.
10926         * elf/dl-writev.h (_dl_writev): Likewise.
10927         * sysdeps/powerpc/powerpc64/dl-machine.h [!HAVE_INLINED_SYSCALLS]
10928         (DL_STARTING_UP_DEF): Use __GI__dl_starting_up instead of
10929         _dl_starting_up_internal.
10931 2014-11-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10933         * stdio-common/tst-fmemopen.c (do_test): Refactor to use
10934         test-skeleton.c.
10936 2014-11-05  Will Newton  <will.newton@linaro.org>
10938         * benchtests/Makefile: (bench-malloc): Add malloc thread
10939         scalability benchmark.
10940         * benchtests/bench-malloc-threads.c: New file.
10942 2014-11-05  Richard Earnshaw  <rearnsha@arm.com>
10944         * sysdeps/aarch64/strchrnul.S: New file.
10946 2014-11-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10948         * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Simplify
10949         definition.
10950         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
10951         Likwise.
10952         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
10953         Likewise.
10954         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
10955         Likewise.
10956         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
10957         Likewise.
10958         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
10959         Likewise.
10961 2014-11-05  Arjun Shankar  <arjun.is@lostca.se>
10963         * catgets/test-gencat.c: Use test-skeleton.c.
10964         * catgets/tst-catgets.c: Likewise.
10965         * csu/tst-empty.c: Likewise.
10966         * elf/tst-audit2.c: Likewise.
10967         * elf/tst-global1.c: Likewise.
10968         * elf/tst-pathopt.c: Likewise.
10969         * elf/tst-piemod1.c: Likewise.
10970         * elf/tst-tls10.c: Likewise.
10971         * elf/tst-tls11.c: Likewise.
10972         * elf/tst-tls12.c: Likewise.
10973         * gnulib/tst-gcc.c: Likewise.
10974         * iconvdata/tst-e2big.c: Likewise.
10975         * iconvdata/tst-loading.c: Likewise.
10976         * iconv/tst-iconv1.c: Likewise.
10977         * iconv/tst-iconv2.c: Likewise.
10978         * inet/test-inet6_opt.c: Likewise.
10979         * inet/tst-gethnm.c: Likewise.
10980         * inet/tst-network.c: Likewise.
10981         * inet/tst-ntoa.c: Likewise.
10982         * intl/tst-codeset.c: Likewise.
10983         * intl/tst-gettext2.c: Likewise.
10984         * intl/tst-gettext3.c: Likewise.
10985         * intl/tst-ngettext.c: Likewise.
10986         * intl/tst-translit.c: Likewise.
10987         * io/test-stat.c: Likewise.
10988         * libio/test-fmemopen.c: Likewise.
10989         * libio/tst-freopen.c: Likewise.
10990         * libio/tst-sscanf.c: Likewise.
10991         * libio/tst-ungetwc1.c: Likewise.
10992         * libio/tst-ungetwc2.c: Likewise.
10993         * libio/tst-widetext.c: Likewise.
10994         * localedata/tst-ctype.c: Likewise.
10995         * localedata/tst-digits.c: Likewise.
10996         * localedata/tst-leaks.c: Likewise.
10997         * localedata/tst-mbswcs1.c: Likewise.
10998         * localedata/tst-mbswcs2.c: Likewise.
10999         * localedata/tst-mbswcs3.c: Likewise.
11000         * localedata/tst-mbswcs4.c: Likewise.
11001         * localedata/tst-mbswcs5.c: Likewise.
11002         * localedata/tst-setlocale.c: Likewise.
11003         * localedata/tst-trans.c: Likewise.
11004         * localedata/tst-wctype.c: Likewise.
11005         * localedata/tst-xlocale1.c: Likewise.
11006         * login/tst-grantpt.c: Likewise.
11007         * malloc/tst-calloc.c: Likewise.
11008         * malloc/tst-malloc.c: Likewise.
11009         * malloc/tst-mallocstate.c: Likewise.
11010         * malloc/tst-mcheck.c: Likewise.
11011         * malloc/tst-mtrace.c: Likewise.
11012         * malloc/tst-obstack.c: Likewise.
11013         * math/atest-exp2.c: Likewise.
11014         * math/atest-exp.c: Likewise.
11015         * math/atest-sincos.c: Likewise.
11016         * math/test-matherr.c: Likewise.
11017         * math/test-misc.c: Likewise.
11018         * math/test-powl.c: Likewise.
11019         * math/tst-definitions.c: Likewise.
11020         * misc/tst-dirname.c: Likewise.
11021         * misc/tst-efgcvt.c: Likewise.
11022         * misc/tst-fdset.c: Likewise.
11023         * misc/tst-hsearch.c: Likewise.
11024         * misc/tst-mntent2.c: Likewise.
11025         * nptl/tst-sem7.c: Likewise.
11026         * nptl/tst-sem8.c: Likewise.
11027         * nptl/tst-sem9.c: Likewise.
11028         * nss/test-netdb.c: Likewise.
11029         * posix/tst-fnmatch.c: Likewise.
11030         * posix/tst-getlogin.c: Likewise.
11031         * posix/tst-gnuglob.c: Likewise.
11032         * posix/tst-mmap.c: Likewise.
11033         * pwd/tst-getpw.c: Likewise.
11034         * resolv/tst-inet_ntop.c: Likewise.
11035         * rt/tst-timer.c: Likewise.
11036         * stdio-common/test-fseek.c: Likewise.
11037         * stdio-common/test-popen.c: Likewise.
11038         * stdio-common/test-vfprintf.c: Likewise.
11039         * stdio-common/tst-cookie.c: Likewise.
11040         * stdio-common/tst-fileno.c: Likewise.
11041         * stdio-common/tst-gets.c: Likewise.
11042         * stdio-common/tst-obprintf.c: Likewise.
11043         * stdio-common/tst-perror.c: Likewise.
11044         * stdio-common/tst-sprintf2.c: Likewise.
11045         * stdio-common/tst-sprintf3.c: Likewise.
11046         * stdio-common/tst-sprintf.c: Likewise.
11047         * stdio-common/tst-swprintf.c: Likewise.
11048         * stdio-common/tst-tmpnam.c: Likewise.
11049         * stdio-common/tst-unbputc.c: Likewise.
11050         * stdio-common/tst-wc-printf.c: Likewise.
11051         * stdlib/tst-environ.c: Likewise.
11052         * stdlib/tst-fmtmsg.c: Likewise.
11053         * stdlib/tst-limits.c: Likewise.
11054         * stdlib/tst-rand48-2.c: Likewise.
11055         * stdlib/tst-rand48.c: Likewise.
11056         * stdlib/tst-random2.c: Likewise.
11057         * stdlib/tst-random.c: Likewise.
11058         * stdlib/tst-strtol.c: Likewise.
11059         * stdlib/tst-strtoll.c: Likewise.
11060         * stdlib/tst-tls-atexit.c: Likewise.
11061         * stdlib/tst-xpg-basename.c: Likewise.
11062         * string/test-ffs.c: Likewise.
11063         * string/tst-bswap.c: Likewise.
11064         * string/tst-inlcall.c: Likewise.
11065         * string/tst-strtok.c: Likewise.
11066         * string/tst-strxfrm.c: Likewise.
11067         * sysdeps/x86_64/tst-audit10.c: Likewise.
11068         * sysdeps/x86_64/tst-audit3.c: Likewise.
11069         * sysdeps/x86_64/tst-audit4.c: Likewise.
11070         * sysdeps/x86_64/tst-audit5.c: Likewise.
11071         * time/tst-ftime_l.c: Likewise.
11072         * time/tst-getdate.c: Likewise.
11073         * time/tst-mktime3.c: Likewise.
11074         * time/tst-mktime.c: Likewise.
11075         * time/tst-posixtz.c: Likewise.
11076         * time/tst-strptime2.c: Likewise.
11077         * time/tst-strptime3.c: Likewise.
11078         * wcsmbs/tst-btowc.c: Likewise.
11079         * wcsmbs/tst-mbrtowc.c: Likewise.
11080         * wcsmbs/tst-mbsrtowcs.c: Likewise.
11081         * wcsmbs/tst-wchar-h.c: Likewise.
11082         * wcsmbs/tst-wcpncpy.c: Likewise.
11083         * wcsmbs/tst-wcrtomb.c: Likewise.
11084         * wcsmbs/tst-wcsnlen.c: Likewise.
11085         * wcsmbs/tst-wcstof.c: Likewise.
11087 2014-11-04  Joseph Myers  <joseph@codesourcery.com>
11089         [BZ #14132]
11090         * elf/dl-profile.c (_dl_mcount): Use rtld_hidden_def instead of
11091         INTDEF.
11092         * sysdeps/generic/ldsodefs.h (_dl_mcount_internal): Remove
11093         declaration.
11094         (_dl_mcount): Use rtld_hidden_proto.
11095         * elf/dl-runtime.c (_dl_profile_fixup): Don't use INTUSE with
11096         _dl_mcount.
11097         * elf/rtld.c (_rtld_global_ro): Likewise.
11099         [BZ #14132]
11100         * elf/dl-init.c (_dl_init): Don't use INTDEF.
11101         * sysdeps/aarch64/dl-machine.h (RTLD_START): Use _dl_init instead
11102         of _dl_init_internal.
11103         * sysdeps/alpha/dl-machine.h (RTLD_START): Likewise.
11104         * sysdeps/arm/dl-machine.h (RTLD_START): Likewise.
11105         * sysdeps/hppa/dl-machine.h (RTLD_START): Likewise.
11106         * sysdeps/i386/dl-machine.h (RTLD_START): Likewise.
11107         * sysdeps/ia64/dl-machine.h (RTLD_START): Likewise.
11108         * sysdeps/m68k/dl-machine.h (RTLD_START): Likewise.
11109         * sysdeps/microblaze/dl-machine.h (RTLD_START): Likewise.
11110         * sysdeps/mips/dl-machine.h (RTLD_START): Likewise.
11111         * sysdeps/powerpc/powerpc32/dl-start.S (_start): Likewise.
11112         * sysdeps/s390/s390-32/dl-machine.h (RTLD_START): Likewise.
11113         * sysdeps/s390/s390-64/dl-machine.h (RTLD_START): Likewise.
11114         * sysdeps/sh/dl-machine.h (RTLD_START): Likewise.
11115         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
11116         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
11117         * sysdeps/tile/dl-start.S (_start): Likewise.
11118         * sysdeps/x86_64/dl-machine.h (RTLD_START): Likewise.
11119         * sysdeps/x86_64/x32/dl-machine.h (RTLD_START): Likewise.
11121         [BZ #14132]
11122         * sysdeps/generic/ldsodefs.h (_dl_argv): Use rtld_hidden_proto.
11123         [IS_IN_rtld] (_dl_argv_internal): Do not declare.
11124         (rtld_progname): Make macro definition unconditional.
11125         * elf/rtld.c (_dl_argv): Use rtld_hidden_data_def instead of
11126         INTDEF.
11127         (dlmopen_doit): Do not use INTUSE with _dl_argv.
11128         (dl_main): Likewise.
11129         * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
11130         * sysdeps/alpha/dl-machine.h (RTLD_START): Use __GI__dl_argv
11131         instead of _dl_argv_internal.
11132         * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
11133         __GI__dl_argv instead of INTUSE(_dl_argv).
11134         * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Use
11135         __GI__dl_argv instead of _dl_argv_internal.
11137         * soft-fp/op-common.h (_FP_TO_INT_ROUND): New macro.
11138         * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_D): New
11139         macro.
11140         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_D): Likewise.
11141         * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_E):
11142         New macro.
11143         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_E): Likewise.
11144         * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_Q): New
11145         macro.
11146         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_Q): Likewise.
11147         * soft-fp/single.h (FP_TO_INT_ROUND_S): New macro.
11149 2014-11-04  Andreas Schwab  <schwab@suse.de>
11151         * posix/regex_internal.h: Don't include <locale/elem-hash.h>.
11153 2014-11-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11155         * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Encode
11156         mtvsrd instruction in binary form.
11158 2014-11-03  Andreas Schwab  <schwab@suse.de>
11160         [BZ #17522]
11161         * libio/wfileops.c (_IO_wdo_write): If the file buffer has room
11162         for less than MB_LEN_MAX use a local buffer of that size.
11163         * libio/tst-fputws.c: New file.
11164         * libio/Makefile (tests): Add tst-fputws.
11166 2014-11-01  Jose E. Marchesi  <jose.marchesi@oracle.com>
11168         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu): fix
11169         the size of the fpu_fr.fpu_dregs[] array.
11171 2014-11-01  Joseph Myers  <joseph@codesourcery.com>
11173         * posix/nanosleep.c (__libc_nanosleep): Rename to __nanosleep.
11174         (__nanosleep): Do not define as alias.
11175         (nanosleep): Define as alias of __nanosleep.
11176         * sysdeps/unix/sysv/linux/syscalls.list (nanosleep): Remove
11177         __libc_nanosleep name.
11179 2014-10-31  Joseph Myers  <joseph@codesourcery.com>
11181         * aclocal.m4 (GLIBC_AUTOCONF_VERSION): Mention need to update
11182         install.texi in comment.
11184 2014-10-31  Torvald Riegel  <triegel@redhat.com>
11186         * sysdeps/powerpc/bits/atomic.h (atomic_write_barrier): Remove and...
11187         * sysdeps/powerpc/powerpc32/bits/atomic.h (atomic_write_barrier):
11188         ... add here and use lwsync or sync ...
11189         * sysdeps/powerpc/powerpc64/bits/atomic.h (atomic_write_barrier):
11190         ... and add here using lwsync.
11192 2014-10-31  Matthew Fortune  <matthew.fortune@imgtec.com>
11194         * elf/dl-machine-reject-phdr.h: New file.
11195         * elf/dl-load.c: #include that.
11196         (open_verify): Call elf_machine_reject_phdr_p and ignore the file
11197         if that returned true.
11199 2014-10-31  Roland McGrath  <roland@hack.frob.com>
11201         [BZ #17496]
11202         * Makerules: Move gnu/lib-names.h generation chunk up, to right after
11203         gen-as-const-headers chunk.  Add a big scare comment after the last
11204         safe place to touch before-compile.
11206 2014-10-31  Joseph Myers  <joseph@codesourcery.com>
11208         * manual/install.texi (Tools for Compilation): Update autoconf
11209         version requirements.
11210         * INSTALL: Regenerated.
11212         * misc/pselect.c [!__pselect] (__libc_pselect): Remove alias.
11213         * sysdeps/unix/sysv/linux/pselect.c [__NR_pselect6]
11214         (__libc_pselect): Likewise.
11216         [BZ #14138]
11217         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Remove file.
11218         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
11219         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
11220         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
11222 2014-10-31  Torvald Riegel  <triegel@redhat.com>
11224         * sysdeps/sparc/sparc32/bits/atomic.h (atomic_write_barrier): Use
11225         correct barrier instruction.
11226         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_write_barrier):
11227         Likewise.
11228         * sysdeps/sparc/sparc64/bits/atomic.h (atomic_write_barrier):
11229         Likewise.
11231 2014-10-30  Roland McGrath  <roland@hack.frob.com>
11233         * include/ctype.h: Include <ctype/ctype.h> first thing rather than
11234         after defining inlines.  Instead, just use parens to defeat macro
11235         expansion of __isctype in its declaration.
11237 2014-10-30  Joseph Myers  <joseph@codesourcery.com>
11239         * include/sys/uio.h (__libc_readv): Remove declaration.
11240         (__libc_writev): Likewise.
11241         * misc/readv.c (__libc_readv): Rename to __readv.
11242         (__readv): Do not define as alias.
11243         (readv): Define as alias of __readv.
11244         * misc/writev.c (__libc_writev): Rename to __writev.
11245         (__writev): Do not define as alias.
11246         (writev): Define as alias of __writev.
11247         * sysdeps/posix/readv.c (__libc_readv): Rename to __readv.
11248         (__readv): Do not define as alias.
11249         (readv): Define unconditionally as alias of __readv.
11250         * sysdeps/posix/writev.c (__libc_writev): Rename to __writev.
11251         (__writev): Do not define as alias.
11252         (writev): Define unconditionally as alias of __writev.
11253         * sysdeps/unix/syscalls.list (readv): Do not define __libc_readv
11254         name.
11255         (writev): Do not define __libc_writev name.
11257 2014-10-30  Roland McGrath  <roland@hack.frob.com>
11259         * iconv/iconv_charmap.c (add_bytes): Make IN argument pointer to const.
11260         (convert_charseq): New function, broken out of ...
11261         (use_from_charmap): ... here.  Call it.
11262         (use_to_charmap): Use convert_charseq and free instead of duplicating
11263         its code with a variable-length stack struct.
11265 2014-10-30  Joseph Myers  <joseph@codesourcery.com>
11267         * include/fcntl.h (__libc_creat): Remove declaration.
11268         * io/creat.c (__libc_creat): Rename to creat.
11269         (creat): Do not define as alias.
11270         * sysdeps/unix/sysv/linux/alpha/creat.c (creat64): Define as alias
11271         of creat instead of __libc_creat.
11272         * sysdeps/unix/sysv/linux/generic/creat.c (__libc_creat): Rename
11273         to creat.
11274         (creat): Do not define as alias.
11275         [__WORDSIZE == 64] (creat64): Define as alias of creat instead of
11276         __libc_creat.
11277         * sysdeps/unix/sysv/linux/syscalls.list (creat): Do not define
11278         __libc_creat name.
11279         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (creat):
11280         Likewise.
11282 2014-10-29  Carlos O'Donell  <carlos@redhat.com>
11284         * manual/llio.texi: Add comments discussing why write() may be
11285         considered MT-unsafe on Linux.
11287 2014-10-28  Carlos O'Donell  <carlos@redhat.com>
11289         * dl-load.c (local_strdup): Remove.
11290         (expand_dynamic_string_token): Use __strdup.
11291         (decompose_rpath): Likewise.
11292         (_dl_map_object): Likewise.
11294 2014-10-28  Joseph Myers  <joseph@codesourcery.com>
11296         [BZ #14132]
11297         * sysdeps/generic/unwind-dw2-fde.c
11298         (__register_frame_info_bases_internal): Do not declare.
11299         (__register_frame_info_table_bases_internal): Likewise.
11300         (__deregister_frame_info_bases_internal): Likewise.
11301         (__register_frame_info_bases): Declare and use hidden_proto before
11302         definition.  Use hidden_def instead of INTDEF.
11303         (__register_frame_info_table_bases): Likewise.
11304         (__deregister_frame_info_bases): Likewise.
11305         (__register_frame_info): Do not use INTUSE.
11306         (__register_frame): Likewise.
11307         (__register_frame_info_table): Likewise.
11308         (__register_frame_table): Likewise.
11309         (__deregister_frame_info): Likewise.
11310         (__deregister_frame): Likewise.
11312 2014-10-27  Gratian Crisan  <gratian.crisan@ni.com>
11314         * sysdeps/unix/sysv/linux/arm/kernel-features.h
11315         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_FUTEX_LOCK_PI): Do
11316         not undefine.
11317         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_REQUEUE_PI):
11318         Likewise.
11319         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_SET_ROBUST_LIST):
11320         Likewise.
11322 2014-10-27  Joseph Myers  <joseph@codesourcery.com>
11324         [BZ #14138]
11325         * sysdeps/unix/sysv/linux/arm/setfsgid.c: Remove file.
11326         * sysdeps/unix/sysv/linux/arm/setfsuid.c: Likewise.
11327         * sysdeps/unix/sysv/linux/i386/setfsgid.c: Likewise.
11328         * sysdeps/unix/sysv/linux/i386/setfsuid.c: Likewise.
11329         * sysdeps/unix/sysv/linux/m68k/setfsgid.c: Likewise.
11330         * sysdeps/unix/sysv/linux/m68k/setfsuid.c: Likewise.
11331         * sysdeps/unix/sysv/linux/s390/s390-32/setfsgid.c: Likewise.
11332         * sysdeps/unix/sysv/linux/s390/s390-32/setfsuid.c: Likewise.
11333         * sysdeps/unix/sysv/linux/sh/setfsgid.c: Likewise.
11334         * sysdeps/unix/sysv/linux/sh/setfsuid.c: Likewise.
11335         * sysdeps/unix/sysv/linux/sparc/sparc32/setfsgid.c: Likewise.
11336         * sysdeps/unix/sysv/linux/sparc/sparc32/setfsuid.c: Likewise.
11337         * sysdeps/unix/sysv/linux/arm/syscalls.list (setfsgid): Add
11338         syscall.
11339         (setfsuid): Likewise.
11340         * sysdeps/unix/sysv/linux/i386/syscalls.list (setfsgid): Likewise.
11341         (setfsuid): Likewise.
11342         * sysdeps/unix/sysv/linux/m68k/syscalls.list (setfsgid): Likewise.
11343         (setfsuid): Likewise.
11344         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setfsgid):
11345         Likewise.
11346         (setfsuid): Likewise.
11347         * sysdeps/unix/sysv/linux/sh/syscalls.list (setfsgid): Likewise.
11348         (setfsuid): Likewise.
11349         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (setfsgid):
11350         Likewise.
11351         (setfsuid): Likewise.
11353 2014-10-27  Andreas Schwab  <schwab@suse.de>
11355         [BZ #17501]
11356         * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Fix
11357         check for Slow_SSE4_2 feature bit.
11358         * sysdeps/i386/i686/multiarch/strcmp.S (STRCMP): Likewise.
11359         * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
11360         * sysdeps/x86_64/multiarch/strcmp.S (STRCMP, __strcascmp):
11361         Likewise.  Fix check for Fast_Unaligned_Load feature bit.
11363 2014-10-24  Roland McGrath  <roland@hack.frob.com>
11365         * configure.ac: Validate compiler version with a empirical test of
11366         __GNUC__ and __GNUC_MINOR__ predefined values, rather than by grepping
11367         $CC -v output.
11368         * configure: Regenerated.
11370         * inet/htons.c (htons): Prototypify.
11371         * inet/htonl.c (htonl): Likewise.
11373 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
11375         * string/strncat.c (strncat): Improve performance by using strlen.
11377 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
11379         * string/strcat.c (strcat): Improve performance by using strlen/strcpy.
11381 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
11383         * sysdeps/aarch64/fpu/fgetexcptflg.c (fegetexceptflag):
11384         Call libc_fetestexcept_aarch64.
11386 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
11388         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept):
11389         Call libc_feholdexcept_aarch64.
11391 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
11393         * sysdeps/aarch64/fpu/fegetround.c (fegetround):
11394         Call get_rounding_mode.
11396 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
11398         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
11399         Simplify logic.
11401 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
11403         * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept):
11404         Simplify logic.
11406 2014-10-24  Joseph Myers  <joseph@codesourcery.com>
11408         [BZ #14138]
11409         * sysdeps/unix/sysv/linux/arm/getegid.c: Remove file.
11410         * sysdeps/unix/sysv/linux/arm/geteuid.c: Likewise.
11411         * sysdeps/unix/sysv/linux/arm/getgid.c: Likewise.
11412         * sysdeps/unix/sysv/linux/arm/getgroups.c: Likewise.
11413         * sysdeps/unix/sysv/linux/arm/getresgid.c: Likewise.
11414         * sysdeps/unix/sysv/linux/arm/getresuid.c: Likewise.
11415         * sysdeps/unix/sysv/linux/arm/getuid.c: Likewise.
11416         * sysdeps/unix/sysv/linux/i386/getegid.c: Likewise.
11417         * sysdeps/unix/sysv/linux/i386/geteuid.c: Likewise.
11418         * sysdeps/unix/sysv/linux/i386/getgid.c: Likewise.
11419         * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
11420         * sysdeps/unix/sysv/linux/i386/getresgid.c: Likewise.
11421         * sysdeps/unix/sysv/linux/i386/getresuid.c: Likewise.
11422         * sysdeps/unix/sysv/linux/i386/getuid.c: Likewise.
11423         * sysdeps/unix/sysv/linux/m68k/getegid.c: Likewise.
11424         * sysdeps/unix/sysv/linux/m68k/geteuid.c: Likewise.
11425         * sysdeps/unix/sysv/linux/m68k/getgid.c: Likewise.
11426         * sysdeps/unix/sysv/linux/m68k/getgroups.c: Likewise.
11427         * sysdeps/unix/sysv/linux/m68k/getresgid.c: Likewise.
11428         * sysdeps/unix/sysv/linux/m68k/getresuid.c: Likewise.
11429         * sysdeps/unix/sysv/linux/m68k/getuid.c: Likewise.
11430         * sysdeps/unix/sysv/linux/s390/s390-32/getegid.c: Likewise.
11431         * sysdeps/unix/sysv/linux/s390/s390-32/geteuid.c: Likewise.
11432         * sysdeps/unix/sysv/linux/s390/s390-32/getgid.c: Likewise.
11433         * sysdeps/unix/sysv/linux/s390/s390-32/getgroups.c: Likewise.
11434         * sysdeps/unix/sysv/linux/s390/s390-32/getresgid.c: Likewise.
11435         * sysdeps/unix/sysv/linux/s390/s390-32/getresuid.c: Likewise.
11436         * sysdeps/unix/sysv/linux/s390/s390-32/getuid.c: Likewise.
11437         * sysdeps/unix/sysv/linux/sh/getegid.c: Likewise.
11438         * sysdeps/unix/sysv/linux/sh/geteuid.c: Likewise.
11439         * sysdeps/unix/sysv/linux/sh/getgid.c: Likewise.
11440         * sysdeps/unix/sysv/linux/sh/getgroups.c: Likewise.
11441         * sysdeps/unix/sysv/linux/sh/getresgid.c: Likewise.
11442         * sysdeps/unix/sysv/linux/sh/getresuid.c: Likewise.
11443         * sysdeps/unix/sysv/linux/sh/getuid.c: Likewise.
11444         * sysdeps/unix/sysv/linux/sparc/sparc32/getegid.c: Likewise.
11445         * sysdeps/unix/sysv/linux/sparc/sparc32/geteuid.c: Likewise.
11446         * sysdeps/unix/sysv/linux/sparc/sparc32/getgid.c: Likewise.
11447         * sysdeps/unix/sysv/linux/sparc/sparc32/getgroups.c: Likewise.
11448         * sysdeps/unix/sysv/linux/sparc/sparc32/getuid.c: Likewise.
11449         * sysdeps/unix/sysv/linux/arm/syscalls.list (getegid): Add
11450         syscall.
11451         (geteuid): Likewise.
11452         (getgid): Likewise.
11453         (getuid): Likewise.
11454         (getresgid): Likewise.
11455         (getresuid): Likewise.
11456         (getgroups): Likewise.
11457         * sysdeps/unix/sysv/linux/i386/syscalls.list (getegid): Likewise.
11458         (geteuid): Likewise.
11459         (getgid): Likewise.
11460         (getuid): Likewise.
11461         (getresgid): Likewise.
11462         (getresuid): Likewise.
11463         (getgroups): Likewise.
11464         * sysdeps/unix/sysv/linux/m68k/syscalls.list (getegid): Likewise.
11465         (geteuid): Likewise.
11466         (getgid): Likewise.
11467         (getuid): Likewise.
11468         (getresgid): Likewise.
11469         (getresuid): Likewise.
11470         (getgroups): Likewise.
11471         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (getegid):
11472         Likewise.
11473         (geteuid): Likewise.
11474         (getgid): Likewise.
11475         (getuid): Likewise.
11476         (getresgid): Likewise.
11477         (getresuid): Likewise.
11478         (getgroups): Likewise.
11479         * sysdeps/unix/sysv/linux/sh/syscalls.list (getegid): Likewise.
11480         (geteuid): Likewise.
11481         (getgid): Likewise.
11482         (getuid): Likewise.
11483         (getresgid): Likewise.
11484         (getresuid): Likewise.
11485         (getgroups): Likewise.
11486         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (getegid):
11487         Likewise.
11488         (geteuid): Likewise.
11489         (getgid): Likewise.
11490         (getuid): Likewise.
11491         (getgroups): Likewise.
11493         [BZ #14138]
11494         * sysdeps/unix/sysv/linux/i386/chown.c: Remove file.
11495         * sysdeps/unix/sysv/linux/i386/fchown.c: Likewise.
11496         * sysdeps/unix/sysv/linux/i386/lchown.c: Likewise.
11497         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
11498         * sysdeps/unix/sysv/linux/s390/s390-32/fchown.c: Remove file.
11499         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Likewise.
11500         * sysdeps/unix/sysv/linux/sh/chown.c: Likewise.
11501         * sysdeps/unix/sysv/linux/sh/fchown.c: Likewise.
11502         * sysdeps/unix/sysv/linux/sh/lchown.c: Likewise.
11503         * sysdeps/unix/sysv/linux/sparc/sparc32/chown.c: Likewise.
11504         * sysdeps/unix/sysv/linux/sparc/sparc32/fchown.c: Likewise.
11505         * sysdeps/unix/sysv/linux/sparc/sparc32/lchown.c: Likewise.
11506         * sysdeps/unix/sysv/linux/s390/s390-32/Versions (GLIBC_2.1): Add
11507         __chown.
11508         * sysdeps/unix/sysv/linux/i386/syscalls.list (chown): Add syscall.
11509         (lchown): Likewise.
11510         (fchown): Likewise.
11511         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (chown):
11512         Likewise.
11513         (lchown): Likewise.
11514         (fchown): Likewise.
11515         * sysdeps/unix/sysv/linux/sh/syscalls.list (chown): Likewise.
11516         (lchown): Likewise.
11517         (fchown): Likewise.
11518         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (chown):
11519         Likewise.
11520         (lchown): Likewise.
11521         (fchown): Likewise.
11523 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
11525         * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept):
11526         Simplify logic.
11528 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
11530         * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
11531         Cleanup logic.
11533 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
11535         * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
11536         Remove unused include.
11538 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
11540         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Remove spaces.
11541         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Remove spaces.
11542         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Remove spaces.
11543         * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Remove spaces.
11545 2014-10-23  Carlos O'Donell  <carlos@systemhalted.org>
11546             Helge Deller <deller@gmx.de>
11548         [BZ #17508]
11549         * sysdeps/unix/sysv/linux/hppa/bits/signum.h: Remove SIGEMT.
11550         Define SIGSTKFLT as 7. Define SIGSYS as 31. Define SIGXCPU as 12.
11551         Remove SIGLOST. Define SIGXFSZ as 30. Define __SIGRTMIN as 32.
11553 2014-10-23  Joseph Myers  <joseph@codesourcery.com>
11555         [BZ #14132]
11556         * sysdeps/powerpc/powerpc32/libgcc-compat.S (__ashldi3_v_glibc20):
11557         Remove macro definition.
11558         (__ashrdi3_v_glibc20): Likewise.
11559         (__lshrdi3_v_glibc20): Likewise.
11560         (__cmpdi2_v_glibc20): Likewise.
11561         (__ucmpdi2_v_glibc20): Likewise.
11562         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixdfdi_v_glibc20): Likewise.
11563         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
11564         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
11565         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
11566         [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
11567         [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdisf_v_glibc20): Likewise.
11569 2014-10-22  Roland McGrath  <roland@hack.frob.com>
11571         * inet/netgroup.h (struct name_list): Use C99 [] syntax rather than
11572         old GNU extension [0] syntax.
11573         * nscd/nscd_helper.c (open_socket): Use a flexible array member and
11574         alloca rather than an array member with variable length.
11575         * nscd/netgroupcache.c (addgetnetgrentX): Likewise.
11576         * nscd/nscd.c (invalidate_db): New function, broken out of ...
11577         (parse_opt): ... here.  Likewise use alloca there.
11578         Validate the -i argument before checking for rootness.
11579         (send_shutdown): New function, broken out of ...
11580         (parse_opt): ... here.
11582 2014-10-22  Roland McGrath  <roland@hack.frob.com>
11584         * sysdeps/arm/__longjmp.S [NEED_HWCAP] [IS_IN_rtld]: Use LDST_PCREL
11585         macro to get at the _rt_local_ro field.
11586         [NEED_HWCAP] [!IS_IN_rtld]: Use LDR_GLOBAL to get at _rtld_global_ro
11587         ([PIC] case) or _dl_hwcap ([!PIC] case).
11588         * sysdeps/arm/setjmp.S: Likewise.
11590         * config.h.in (ARM_PCREL_MOVW_OK): New macro.
11591         * sysdeps/arm/configure.ac: New check to define it.
11592         * sysdeps/arm/configure: Regenerated.
11593         * sysdeps/arm/sysdep.h [__ASSEMBLER__]: Include <arm-features.h>.
11594         (LDST_INDEXED_NOINDEX, LDST_INDEXED_INDEX): New macros.
11595         (LDST_INDEXED, LDST_PC_INDEXED): New macros, differing definitions
11596         depending on [ARM_NO_INDEX_REGISTER] and [__thumb2__].
11597         (LDST_PCREL) [!__thumb2__ && ARCH_HAS_T2 && ARM_PCREL_MOVW_OK]:
11598         Use move/movt pair instead of a load.
11599         (LDST_GLOBAL): Macro removed.
11600         (LDR_GLOBAL): New macro replaces it.
11601         (LDR_HIDDEN): New macro.
11602         (PTR_MANGLE_LOAD): Use LDR_GLOBAL rather than LDST_GLOBAL.
11603         Use LDR_HIDDEN instead for __pointer_chk_guard_local.
11605         * setjmp/tst-setjmp-static.c: New file.
11606         * setjmp/Makefile (tests): Add it.
11607         (tests-static): New variable.
11609 2014-10-22  Maciej W. Rozycki  <macro@codesourcery.com>
11611         [BZ #17485]
11612         * sysdeps/unix/sysv/linux/mips/vfork.S (__libc_vfork): Define.
11614 2014-10-21  Joseph Myers  <joseph@codesourcery.com>
11616         [BZ #14132]
11617         * math/s_ldexpf.c (__ldexpf): Do not use INTDEF.
11619 2014-10-21  Roland McGrath  <roland@hack.frob.com>
11621         * nptl/version.c (__nptl_main): Call __libc_write, not __write.
11623 2014-10-20  Roland McGrath  <roland@hack.frob.com>
11625         * io/fts.c (dirent_not_directory): New function.
11626         (fts_build): Call it.
11628 2014-10-20  Roland McGrath  <roland@hack.frob.com>
11630         * nptl/version.c (__nptl_main): Use normal __write rather than
11631         INTERNAL_SYSCALL.
11632         (banner): Update copyright years.
11634         * nptl/pthread_rwlock_timedrdlock.c: #include <sys/time.h> before using
11635         gettimeofday.
11636         * nptl/pthread_rwlock_timedwrlock.c: Likewise.
11637         * nptl/pthread_cond_timedwait.c: Likewise.
11638         * nptl/pthread_mutex_timedlock.c: Likewise.
11639         * nptl/sem_timedwait.c: Likewise.
11641         * sysdeps/nptl/bits/libc-lock.h
11642         [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
11643         (__libc_lock_init_recursive): Return void, not 0.
11644         * sysdeps/nptl/bits/libc-lockP.h (__libc_lock_init): Likewise.
11645         (__libc_rwlock_init): Likewise.
11646         * sysdeps/nptl/bits/stdio-lock.h (_IO_lock_init): Likewise.
11648 2014-10-20  Torvald Riegel  <triegel@redhat.com>
11650         [BZ #15215]
11651         * nptl/pthread_once.c (__pthread_once): Split out fast path to ...
11652         (__pthread_once_slow): ... here.
11653         * sysdeps/unix/sysv/linux/i386/pthread_once.S: Remove file.
11654         * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Remove file.
11656 2014-10-20  Torvald Riegel  <triegel@redhat.com>
11658         [BZ #15215]
11659         * nptl/pthreadP.h (__PTHREAD_ONCE_INPROGRESS, __PTHREAD_ONCE_DONE,
11660         __PTHREAD_ONCE_FORK_GEN_INCR): New.
11661         * sysdeps/nptl/fork.c (__libc_fork): Use them.
11662         * nptl/pthread_once.c (__pthread_once): Likewise.
11663         Update comments.
11665 2014-10-20  Joseph Myers  <joseph@codesourcery.com>
11667         [BZ #14138]
11668         * sysdeps/unix/syscalls.list (readv): Use __libc_readv as strong
11669         name.
11670         (writev): Use __libc_writev as strong name.
11671         * sysdeps/unix/sysv/linux/readv.c: Remove file.
11672         * sysdeps/unix/sysv/linux/writev.c: Likewise.
11674 2014-10-17  Roland McGrath  <roland@hack.frob.com>
11676         * nptl/createthread.c (TLS_DEFINE_INIT_TP, TLS_VALUE): Macros removed.
11678         * sysdeps/i386/nptl/tls.h
11679         (THREAD_SELF_SYSINFO, THREAD_SYSINFO): Macros removed.
11680         [NEED_DL_SYSINFO] (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO):
11681         New macros.
11682         * sysdeps/ia64/nptl/tls.h [NEED_DL_SYSINFO]
11683         (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO): New macros.
11684         * nptl/allocatestack.c (allocate_stack) [NEED_DL_SYSINFO]:
11685         Call SETUP_THREAD_SYSINFO instead of doing an assignment.
11686         * nptl/createthread.c (create_thread) [NEED_DL_SYSINFO]:
11687         Call CHECK_THREAD_SYSINFO instead of doing an assert.
11689         * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
11690         Conditionalize FUTEX_PRIVATE_FLAG and FUTEX_CLOCK_REALTIME probes
11691         on [__NR_futex].
11692         * nptl/pthread_mutex_init.c (prio_inherit_missing): New function,
11693         broken out of ...
11694         (__pthread_mutex_init): ... here.  Call it.
11695         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full):
11696         Conditionalize PI cases on [__NR_futex].
11697         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock): Likewise.
11698         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Likewise.
11699         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
11701         * nptl/nptl-init.c (sighandler_setxid, __xidcmd): Make definitions
11702         conditional on [SIGSETXID].
11703         (sigcancel_handler): Make definition conditional on [SIGCANCEL].
11704         (__pthread_initialize_minimal_internal): Set up SIGCANCEL only if it
11705         is defined.  Likewise for SIGSETXID.
11706         * nptl/allocatestack.c (setxid_mark_thread, setxid_unmark_thread):
11707         Conditionalize definitions on [SIGSETXID].
11708         (setxid_signal_thread, __nptl_setxid_error, __nptl_setxid): Likewise.
11709         * nptl/pthread_create.c (start_thread): Conditionalize SIGCANCEL
11710         unblocking on [SIGCANCEL].
11712         * nptl/nptl-init.c (__nptl_set_robust): Conditionalize body on
11713         [__NR_set_robust_list].
11715 2014-10-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
11717         * string/strcoll_l.c (get_next_seq): Fix up formatting.
11718         (do_compare): Likewise.
11720 2014-10-17  Leonhard Holz  <leonhard.holz@web.de>
11722         [BZ #15884]
11723         * string/strcoll_l.c: Don't include stdio.h.
11724         (coll_seq): Remove members idxarr and rulearr.
11725         (get_next_seq_cached): Remove function.
11726         (get_next_seq): Likewise.
11727         (get_next_seq_nocache): Rename to get_next_seq.
11728         (do_compare): Remove function.
11729         (do_compare_nocache): Rename to do_compare.
11730         (STRCOLL): Remove weight and rules cache.
11732 2014-10-16  Roland McGrath  <roland@hack.frob.com>
11734         * sysdeps/arm/soft-fp/sfp-machine.h: Filed moved ...
11735         * sysdeps/arm/sfp-machine.h: ... to here.
11736         * sysdeps/arm/Implies: Remove arm/soft-fp.
11738 2014-10-14  Joseph Myers  <joseph@codesourcery.com>
11740         * conform/data/sys/utsname.h-data (*_t): Allow.
11741         * conform/data/sys/wait.h-data [POSIX] (uid_t): Do not define.
11742         [POSIX] (WEXITED): Do not expect constant.
11743         [POSIX] (WSTOPPED): Likewise.
11744         [POSIX] (WNOHANG): Likewise.
11745         [POSIX] (WNOWAIT): Likewise.
11746         [POSIX] (siginfo_t): Do not expect type or elements.
11747         [POSIX] (pid_t): Do not expect type.
11748         [POSIX] (signal.h): Do not allow header.
11749         [POSIX] (sys/resource.h): Likewise.
11750         [POSIX] (si_*): Do not allow pattern.
11751         [POSIX] (W*): Likewise.
11752         [POSIX] (P_*): Likewise.
11753         [POSIX] (BUS_*): Likewise.
11754         [POSIX] (CLD_*): Likewise.
11755         [POSIX] (FPE_*): Likewise.
11756         [POSIX] (ILL_*): Likewise.
11757         [POSIX] (POLL_*): Likewise.
11758         [POSIX] (SEGV_*): Likewise.
11759         [POSIX] (SI_*): Likewise.
11760         [POSIX] (TRAP_*): Likewise.
11761         * conform/Makefile (test-xfail-POSIX/sys/wait.h/conform): New
11762         variable.
11764 2014-10-14  Paul Pluzhnikov  <ppluzhnikov@google.com>
11766         [BZ #12926]
11767         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Avoid
11768         infinite loop when __recvmsg returns 0.
11770 2014-10-10  Joseph Myers  <joseph@codesourcery.com>
11772         * CANCEL-FCT-WAIVE: Remove file.
11773         * CANCEL-FILE-WAIVE: Likewise.
11775         [BZ #14132]
11776         * elf/dl-sysdep.c (__libc_enable_secure): Use rtld_hidden_data_def
11777         instead of INTVARDEF.
11778         (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
11779         * sysdeps/mach/hurd/dl-sysdep.c (__libc_enable_secure): Use
11780         rtld_hidden_data_def instead of INTVARDEF.
11781         (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
11782         * elf/dl-deps.c (expand_dst): Likewise.
11783         * elf/dl-load.c (_dl_dst_count): Likewise.
11784         (_dl_dst_substitute): Likewise.
11785         (decompose_rpath): Likewise.
11786         (_dl_init_paths): Likewise.
11787         (open_path): Likewise.
11788         (_dl_map_object): Likewise.
11789         * elf/rtld.c (dl_main): Likewise.
11790         (process_dl_audit): Likewise.
11791         (process_envvars): Likewise.
11792         * include/unistd.h [IS_IN_rtld] (__libc_enable_secure_internal):
11793         Remove declaration.
11794         (__libc_enable_secure): Use rtld_hidden_proto.
11796 2014-10-09  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
11798         * elf/dl-load.c
11799         (add_path): New function broken out of _dl_rtld_di_serinfo.
11800         (_dl_rtld_di_serinfo): Remove that nested function.  Update call sites.
11802 2014-10-09  Joseph Myers  <joseph@codesourcery.com>
11804         * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_D): Use
11805         parentheses around macro arguments.
11806         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_DP): Likewise.
11807         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_D): Likewise.
11808         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_DP): Likewise.
11809         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_D): Likewise.
11810         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_DP): Likewise.
11811         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_D): Likewise.
11812         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
11813         [_FP_W_TYPE_SIZE < 64] (FP_PACK_D): Likewise.
11814         [_FP_W_TYPE_SIZE < 64] (FP_PACK_DP): Likewise.
11815         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_D): Likewise.
11816         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_DP): Likewise.
11817         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_D): Likewise.
11818         [_FP_W_TYPE_SIZE < 64] (FP_CMP_D): Likewise.
11819         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_D): Likewise.
11820         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_D): Likewise.
11821         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_D): Likewise.
11822         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_D): Likewise.
11823         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_D): Likewise.
11824         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_DP): Likewise.
11825         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_D): Likewise.
11826         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_DP): Likewise.
11827         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_D): Likewise.
11828         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_DP): Likewise.
11829         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_D): Likewise.
11830         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
11831         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_D): Likewise.
11832         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_DP): Likewise.
11833         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_D): Likewise.
11834         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_DP): Likewise.
11835         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_D): Likewise.
11836         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_D): Likewise.
11837         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_D): Likewise.
11838         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_D): Likewise.
11839         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_D): Likewise.
11840         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_D): Likewise.
11841         * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_E):
11842         Likewise.
11843         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_EP): Likewise.
11844         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_E): Likewise.
11845         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
11846         [_FP_W_TYPE_SIZE < 64] (FP_PACK_E): Likewise.
11847         [_FP_W_TYPE_SIZE < 64] (FP_PACK_EP): Likewise.
11848         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_E): Likewise.
11849         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_EP): Likewise.
11850         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_E): Likewise.
11851         [_FP_W_TYPE_SIZE < 64] (FP_CMP_E): Likewise.
11852         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_E): Likewise.
11853         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_E): Likewise.
11854         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_E): Likewise.
11855         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_E): Likewise.
11856         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_E): Likewise.
11857         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_EP): Likewise.
11858         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_E): Likewise.
11859         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
11860         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_E): Likewise.
11861         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_EP): Likewise.
11862         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_E): Likewise.
11863         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_EP): Likewise.
11864         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_E): Likewise.
11865         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_E): Likewise.
11866         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_E): Likewise.
11867         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_E): Likewise.
11868         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_E): Likewise.
11869         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_E): Likewise.
11870         * soft-fp/op-1.h (_FP_FRAC_SRST_1): Likewise.
11871         (_FP_FRAC_SRS_1): Likewise.
11872         (_FP_FRAC_CLZ_1): Likewise.
11873         (_FP_MUL_MEAT_1_imm): Likewise.
11874         (_FP_MUL_MEAT_1_wide): Likewise.
11875         (_FP_MUL_MEAT_1_hard): Likewise.
11876         (_FP_SQRT_MEAT_1): Likewise.
11877         (_FP_FRAC_ASSEMBLE_1): Likewise.
11878         (_FP_FRAC_DISASSEMBLE_1): Likewise.
11879         * soft-fp/op-2.h (_FP_FRAC_CLZ_2): Likewise.
11880         (__FP_CLZ_2): Likewise.
11881         (_FP_MUL_MEAT_2_wide): Likewise.
11882         (_FP_MUL_MEAT_2_wide_3mul): Likewise.
11883         (_FP_MUL_MEAT_2_gmp): Likewise.
11884         (_FP_MUL_MEAT_2_120_240_double): Likewise.
11885         (_FP_SQRT_MEAT_2): Likewise.
11886         (_FP_FRAC_ASSEMBLE_2): Likewise.
11887         (_FP_FRAC_DISASSEMBLE_2): Likewise.
11888         * soft-fp/op-4.h (_FP_FRAC_SRS_4): Likewise.
11889         (_FP_FRAC_CLZ_4): Likewise.
11890         (_FP_MUL_MEAT_4_wide): Likewise.
11891         (_FP_MUL_MEAT_4_gmp): Likewise.
11892         (_FP_SQRT_MEAT_4): Likewise.
11893         (_FP_FRAC_ASSEMBLE_4): Likewise.
11894         (_FP_FRAC_DISASSEMBLE_4): Likewise.
11895         * soft-fp/op-common.h (_FP_CMP): Likewise.
11896         (_FP_CMP_EQ): Likewise.
11897         (_FP_CMP_UNORD): Likewise.
11898         (_FP_TO_INT): Likewise.
11899         (_FP_FROM_INT): Likewise.
11900         [!__FP_CLZ] (__FP_CLZ): Likewise.
11901         (_FP_DIV_HELP_imm): Likewise.
11902         * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_Q):
11903         Likewise.
11904         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_QP): Likewise.
11905         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_Q): Likewise.
11906         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_QP): Likewise.
11907         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_Q): Likewise.
11908         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_QP): Likewise.
11909         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
11910         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
11911         [_FP_W_TYPE_SIZE < 64] (FP_PACK_Q): Likewise.
11912         [_FP_W_TYPE_SIZE < 64] (FP_PACK_QP): Likewise.
11913         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_Q): Likewise.
11914         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_QP): Likewise.
11915         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_Q): Likewise.
11916         [_FP_W_TYPE_SIZE < 64] (FP_CMP_Q): Likewise.
11917         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_Q): Likewise.
11918         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_Q): Likewise.
11919         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_Q): Likewise.
11920         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_Q): Likewise.
11921         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_Q): Likewise.
11922         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_QP): Likewise.
11923         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_Q): Likewise.
11924         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_QP): Likewise.
11925         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_Q): Likewise.
11926         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_QP): Likewise.
11927         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
11928         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
11929         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_Q): Likewise.
11930         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_QP): Likewise.
11931         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_Q): Likewise.
11932         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_QP): Likewise.
11933         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_Q): Likewise.
11934         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_Q): Likewise.
11935         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_Q): Likewise.
11936         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_Q): Likewise.
11937         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_Q): Likewise.
11938         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_Q): Likewise.
11939         * soft-fp/single.h (FP_UNPACK_RAW_S): Likewise.
11940         (FP_UNPACK_RAW_SP): Likewise.
11941         (FP_PACK_RAW_S): Likewise.
11942         (FP_PACK_RAW_SP): Likewise.
11943         (FP_UNPACK_S): Likewise.
11944         (FP_UNPACK_SP): Likewise.
11945         (FP_UNPACK_SEMIRAW_S): Likewise.
11946         (FP_UNPACK_SEMIRAW_SP): Likewise.
11947         (FP_PACK_S): Likewise.
11948         (FP_PACK_SP): Likewise.
11949         (FP_PACK_SEMIRAW_S): Likewise.
11950         (FP_PACK_SEMIRAW_SP): Likewise.
11951         (_FP_SQRT_MEAT_S): Likewise.
11952         (FP_CMP_S): Likewise.
11953         (FP_CMP_EQ_S): Likewise.
11954         (FP_CMP_UNORD_S): Likewise.
11955         (FP_TO_INT_S): Likewise.
11956         (FP_FROM_INT_S): Likewise.
11958         * soft-fp/op-common.h (_FP_TO_INT): Handle rsigned == 2.
11960         * soft-fp/soft-fp.h (FP_EX_INVALID_SNAN): New macro.
11961         (FP_EX_INVALID_IMZ): Likewise.
11962         (FP_EX_INVALID_IMZ_FMA): Likewise.
11963         (FP_EX_INVALID_ISI): Likewise.
11964         (FP_EX_INVALID_ZDZ): Likewise.
11965         (FP_EX_INVALID_IDI): Likewise.
11966         (FP_EX_INVALID_SQRT): Likewise.
11967         (FP_EX_INVALID_CVI): Likewise.
11968         (FP_EX_INVALID_VC): Likewise.
11969         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Specify more precise
11970         "invalid" exceptions.
11971         (_FP_CHECK_SIGNAN_SEMIRAW): Likewise.
11972         (_FP_ADD_INTERNAL): Likewise.
11973         (_FP_MUL): Likewise.
11974         (_FP_FMA): Likewise.
11975         (_FP_DIV): Likewise.
11976         (_FP_CMP_CHECK_NAN): Likewise.
11977         (_FP_SQRT): Likewise.
11978         (_FP_TO_INT): Likewise.
11979         (FP_EXTEND): Likewise.
11981 2014-10-09  Allan McRae  <allan@archlinux.org>
11983         * po/fr.po: Update French translation from translation project.
11985 2014-10-09  Joseph Myers  <joseph@codesourcery.com>
11987         [BZ #14132]
11988         * stdlib/cxa_atexit.c (__cxa_atexit): Use libc_hidden_def instead
11989         of INTDEF.
11990         * include/stdlib.h (__cxa_atexit_internal): Remove declaration.
11991         (__cxa_atexit): Use libc_hidden_proto.
11992         [!NOT_IN_libc] (__cxa_atexit): Remove macro definition.
11994         [BZ #14132]
11995         * include/wctype.h [!_ISOMAC] (__iswalpha_l_internal): Remove
11996         declaration.
11997         [!_ISOMAC] (__iswdigit_l_internal): Likewise.
11998         [!_ISOMAC] (__iswspace_l_internal): Likewise.
11999         [!_ISOMAC] (__iswxdigit_l_internal): Likewise.
12000         [!_ISOMAC] (__iswctype_internal): Likewise.
12001         * stdio-common/siglist.c (_sys_siglist_internal): Remove alias.
12002         * sysdeps/unix/syscalls.list (chown): Remove __chown_internal
12003         alias.
12004         (fcntl): Remove __fcntl_internal alias.
12005         * sysdeps/unix/sysv/linux/hppa/syscalls.list (connect): Remove
12006         __connect_internal alias.
12007         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (connect):
12008         Likewise.
12010         * soft-fp/soft-fp.h (FP_DENORM_ZERO): New macro.
12011         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Check
12012         FP_DENORM_ZERO.
12013         (_FP_CHECK_FLUSH_ZERO): New macro.
12014         (_FP_ADD_INTERNAL): Call _FP_CHECK_FLUSH_ZERO.
12015         (_FP_CMP): Likewise.
12016         (_FP_CMP_EQ): Likewise.
12017         (_FP_TO_INT): Do not set inexact for subnormal arguments if
12018         FP_DENORM_ZERO.
12019         (FP_EXTEND): Call _FP_CHECK_FLUSH_ZERO.
12020         (FP_TRUNC): Likewise.
12022         * soft-fp/op-common.h (_FP_TO_INT): Ensure maximum exponent is
12023         treated as invalid conversion, not as normal exponent.
12025         * soft-fp/op-common.h (_FP_CMP_CHECK_NAN): New macro.
12026         (_FP_CMP): Add extra argument EX.  Call _FP_CMP_CHECK_NAN.
12027         (_FP_CMP_EQ): Likewise.
12028         (_FP_CMP_UNORD): Likewise.
12029         * soft-fp/double.h (FP_CMP_D): Add extra argument EX.
12030         (FP_CMP_EQ_D): Likewise.
12031         (FP_CMP_UNORD_D): Likewise.
12032         * soft-fp/extended.h (FP_CMP_E): Likewise.
12033         (FP_CMP_EQ_E): Likewise.
12034         (FP_CMP_UNORD_E): Likewise.
12035         * soft-fp/quad.h (FP_CMP_Q): Likewise.
12036         (FP_CMP_EQ_Q): Likewise.
12037         (FP_CMP_UNORD_Q): Likewise.
12038         * soft-fp/single.h (FP_CMP_S): Likewise.
12039         (FP_CMP_EQ_S): Likewise.
12040         (FP_CMP_UNORD_S): Likewise.
12041         * soft-fp/eqdf2.c (__eqdf2): Update call to FP_CMP_EQ_D.
12042         * soft-fp/eqsf2.c (__eqsf2): Update call to FP_CMP_EQ_S.
12043         * soft-fp/eqtf2.c (__eqtf2): Update call to FP_CMP_EQ_Q.
12044         * soft-fp/gedf2.c (__gedf2): Update call to FP_CMP_D.
12045         * soft-fp/gesf2.c (__gesf2): Update call to FP_CMP_S.
12046         * soft-fp/getf2.c (__getf2): Update call to FP_CMP_Q.
12047         * soft-fp/ledf2.c (__ledf2): Update call to FP_CMP_D.
12048         * soft-fp/lesf2.c (__lesf2): Update call to FP_CMP_S.
12049         * soft-fp/letf2.c (__letf2): Update call to FP_CMP_Q.
12050         * soft-fp/unorddf2.c (__unorddf2): Update call to FP_CMP_UNORD_D.
12051         * soft-fp/unordsf2.c (__unordsf2): Update call to FP_CMP_UNORD_S.
12052         * soft-fp/unordtf2.c (__unordtf2): Update call to FP_CMP_UNORD_Q.
12053         * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Update call
12054         to FP_CMP_Q.
12055         * sysdeps/sparc/sparc32/soft-fp/q_cmp.c (_Q_cmp): Update call to
12056         FP_CMP_Q.
12057         * sysdeps/sparc/sparc32/soft-fp/q_cmpe.c (_Q_cmpe): Likewise.
12058         * sysdeps/sparc/sparc32/soft-fp/q_feq.c (_Q_feq): Update call to
12059         FP_CMP_EQ_Q.
12060         * sysdeps/sparc/sparc32/soft-fp/q_fge.c (_Q_fge): Update call to
12061         FP_CMP_Q.
12062         * sysdeps/sparc/sparc32/soft-fp/q_fgt.c (_Q_fgt): Likewise.
12063         * sysdeps/sparc/sparc32/soft-fp/q_fle.c (_Q_fle): Likewise.
12064         * sysdeps/sparc/sparc32/soft-fp/q_flt.c (_Q_flt): Likewise.
12065         * sysdeps/sparc/sparc32/soft-fp/q_fne.c (_Q_fne): Update call to
12066         FP_CMP_EQ_Q.
12067         * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c (_Qp_cmp): Update call to
12068         FP_CMP_Q.
12069         * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c (_Qp_cmpe): Likewise.
12070         * sysdeps/sparc/sparc64/soft-fp/qp_feq.c (_Qp_feq): Update call to
12071         FP_CMP_EQ_Q.
12072         * sysdeps/sparc/sparc64/soft-fp/qp_fge.c (_Qp_fge): Update call to
12073         FP_CMP_Q.
12074         * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c (_Qp_fgt): Likewise.
12075         * sysdeps/sparc/sparc64/soft-fp/qp_fle.c (_Qp_fle): Likewise.
12076         * sysdeps/sparc/sparc64/soft-fp/qp_flt.c (_Qp_flt): Likewise.
12077         * sysdeps/sparc/sparc64/soft-fp/qp_fne.c (_Qp_fne): Update call to
12078         FP_CMP_EQ_Q.
12080         * soft-fp/op-common.h (FP_EXTEND): When a subnormal input produces
12081         a subnormal result, set the underflow exception if trapping on
12082         underflow is enabled.
12083         * soft-fp/soft-fp.h (FP_INIT_TRAPPING_EXCEPTIONS): New macro.
12084         (FP_INIT_EXCEPTIONS): Default to FP_INIT_TRAPPING_EXCEPTIONS.
12085         [FP_NO_EXACT_UNDERFLOW] (FP_TRAPPING_EXCEPTIONS): Undefine and
12086         redefine to 0.
12087         * soft-fp/extenddftf2.c (FP_NO_EXACT_UNDERFLOW): Define.
12088         * soft-fp/extendsfdf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
12089         * soft-fp/extendsftf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
12090         * soft-fp/extendxftf2.c (__extendxftf2): Use
12091         FP_INIT_TRAPPING_EXCEPTIONS instead of FP_INIT_ROUNDMODE.
12093         * soft-fp/soft-fp.h (FP_CLEAR_EXCEPTIONS): Remove macro.
12094         * sysdeps/sparc/sparc32/soft-fp/q_itoq.c: Define FP_NO_EXCEPTIONS.
12095         (_Q_itoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
12096         FP_HANDLE_EXCEPTIONS.
12097         * sysdeps/sparc/sparc32/soft-fp/q_lltoq.c: Define FP_NO_EXCEPTIONS.
12098         (_Q_lltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
12099         FP_HANDLE_EXCEPTIONS.
12100         * sysdeps/sparc/sparc32/soft-fp/q_ulltoq.c: Define FP_NO_EXCEPTIONS.
12101         (_Q_ulltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
12102         FP_HANDLE_EXCEPTIONS.
12103         * sysdeps/sparc/sparc32/soft-fp/q_utoq.c: Define FP_NO_EXCEPTIONS.
12104         (_Q_utoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
12105         FP_HANDLE_EXCEPTIONS.
12107 2014-10-08  Joseph Myers  <joseph@codesourcery.com>
12109         [BZ #14132]
12110         * sysdeps/unix/sysv/linux/include/sys/timex.h: New file.
12111         * sysdeps/unix/sysv/linux/adjtime.c [!ADJTIMEX] (ADJTIMEX): Do not
12112         use INTUSE.
12113         [!ADJTIMEX] (INTUSE(__adjtimex)): Remove declaration.
12114         * sysdeps/unix/sysv/linux/alpha/adjtime.c (__adjtimex_internal):
12115         Remove alias.
12116         (__adjtimex): Define using libc_hidden_ver.
12117         * sysdeps/unix/sysv/linux/ntp_gettime.c (INTUSE(__adjtimex)):
12118         Remove declaration.
12119         (ntp_gettime): Call __adjtimex directly.
12120         * sysdeps/unix/sysv/linux/ntp_gettimex.c (INTUSE(__adjtimex)):
12121         Remove declaration.
12122         (ntp_gettimex): Call __adjtimex directly.
12123         * sysdeps/unix/sysv/linux/syscalls.list (adjtimex): Remove
12124         __adjtimex_internal alias.
12126 2014-10-08  Roland McGrath  <roland@hack.frob.com>
12128         [BZ #17460]
12129         * nscd/nscd.c (more_help): Rewrite list of tables collection
12130         using xstrdup and asprintf.
12132         * nscd/nscd_conf.c: Remove local xstrdup declaration.
12134 2014-10-08  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
12135             Roland McGrath  <roland@hack.frob.com>
12137         * elf/dl-lookup.c (enter_unique_sym): New function, broken out of ...
12138         (do_lookup_unique): ... local function 'enter' here; update callers.
12140 2014-10-06  Joseph Myers  <joseph@codesourcery.com>
12142         * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Condition
12143         compat_symbol calls on [SHARED].
12144         * sysdeps/unix/sysv/linux/powerpc/lchown.S: Remove file.
12145         * sysdeps/unix/sysv/linux/i386/syscalls.list (oldsetrlimit):
12146         Remove.
12147         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
12148         * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list
12149         (oldsetrlimit): Remove.
12150         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
12151         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
12152         (lchown): New syscall entry.
12153         (oldsetrlimit): Remove.
12154         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
12155         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list
12156         (oldsetrlimit): Remove.
12157         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
12159         [BZ #14138]
12160         * sysdeps/unix/sysv/linux/arm/fchown.c: Remove file.
12161         * sysdeps/unix/sysv/linux/arm/lchown.c: Likewise.
12162         * sysdeps/unix/sysv/linux/m68k/fchown.c: Likewise.
12163         * sysdeps/unix/sysv/linux/m68k/lchown.c: Likewise.
12164         * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
12165         * sysdeps/unix/sysv/linux/arm/syscalls.list (lchown): Add syscall.
12166         (fchown): Likewise.
12167         * sysdeps/unix/sysv/linux/m68k/syscalls.list (lchown): Likewise.
12168         (fchown): Likewise.
12169         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list (chown):
12170         Likewise.
12172 2014-10-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12174         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Remove file.
12175         * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c
12176         (pthread_spin_unlock): Use __ARCH_REL_INSTR instead of
12177         __lll_rel_instr and __ARCH_ACQ_INSTR instead of __lll_acq_instr.
12178         * sysdeps/unix/sysv/linux/powerpc/sem_post.c (__new_sem_post):
12179         Likewise.
12180         (__old_sem_post): Likewise.
12182 2014-10-06  Chris Metcalf  <cmetcalf@tilera.com>
12184         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Define
12185         INLINE_VSYSCALL, INTERNAL_VSYSCALL, and
12186         HAVE_CLOCK_GETTIME_VSYSCALL macros.
12187         * sysdeps/unix/sysv/linux/tile/gettimeofday.c (__gettimeofday):
12188         Use INLINE_VSYSCALL macro.
12189         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso: Add declaration of
12190         __vdso_clock_gettime.
12191         * sysdeps/unix/sysv/linux/tile/init-first.c
12192         (_libc_vdso_platform_setup): Set new __vdso_clock_gettime global.
12193         * sysdeps/unix/sysv/linux/tile/Versions (GLIBC_PRIVATE): Add
12194         __vdso_clock_gettime.
12196         * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Fix code
12197         to set up frame more cleanly.
12199         * sysdeps/tile/memcmp.c: New file.
12201         * sysdeps/unix/sysv/linux/tile/sysconf.c: New file.
12203         * sysdeps/tile/tilegx/string-endian.h (STRSHIFT): New macro.
12204         * sysdeps/tile/tilegx/strcasestr.c: New file.
12205         * sysdeps/tile/tilegx/strnlen.c: New file.
12206         * sysdeps/tile/tilegx/strstr.c: New file.
12208         * sysdeps/tile/tilegx/string-endian.h (copy_byte): Optimize.
12210 2014-10-06  Arjun Shankar  <arjun.is@lostca.se>
12212         * nptl/tst-setuid3.c: Write errors to stdout.
12214 2014-10-01  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
12216         * elf/dl-deps.c
12217         (preload): New functions broken out of _dl_map_object_deps.
12218         (_dl_map_object_deps):  Remove a nested function. Update call sites.
12220 2014-10-01  Joseph Myers  <joseph@codesourcery.com>
12222         [BZ #14138]
12223         * sysdeps/unix/sysv/linux/execve.c: Remove file.
12224         * sysdeps/unix/sysv/linux/syscalls.list (execve): Add syscall.
12226 2014-10-01  Steve Ellcey  <sellcey@mips.com>
12228         * sysdeps/mips/strcmp.S: New.
12230 2014-09-30  Joseph Myers  <joseph@codesourcery.com>
12232         [BZ #14138]
12233         * sysdeps/unix/sysv/linux/syscalls.list (fchownat): New syscall.
12234         (linkat): Likewise.
12235         (mkdirat): Likewise.
12236         (readlinkat): Likewise.
12237         (renameat): Likewise.
12238         (symlinkat): Likewise.
12239         (unlinkat): Likewise.
12240         * sysdeps/unix/sysv/linux/fchownat.c: Remove file.
12241         * sysdeps/unix/sysv/linux/linkat.c: Likewise.
12242         * sysdeps/unix/sysv/linux/mkdirat.c: Likewise.
12243         * sysdeps/unix/sysv/linux/readlinkat.c: Likewise.
12244         * sysdeps/unix/sysv/linux/renameat.c: Likewise.
12245         * sysdeps/unix/sysv/linux/symlinkat.c: Likewise.
12246         * sysdeps/unix/sysv/linux/unlinkat.c: Likewise.
12248 2014-09-30  Will Newton  <will.newton@linaro.org>
12250         * math/math.h: Define long double math functions if
12251         _LIBC_TEST is defined.
12252         * stdlib/tst-strtod-round.c: Define _LIBC_TEST.
12254         * localedata/Makefile: Move assignment to tests-special
12255         into an ifdef testing run-built-tests.
12256         * timezone/Makefile: Likewise.
12258 2014-09-29  Joseph Myers  <joseph@codesourcery.com>
12260         * sysdeps/x86/Makefile ($(objpfx)tst-ld-sse-use.out): Run script
12261         with $(BASH) not $(SHELL).
12263 2014-09-29  Carlos O'Donell  <carlos@redhat.com>
12264             Matthew LeGendre  <legendre1@llnl.gov>
12266         [BZ #17411]
12267         * elf/dl-reloc.c (_dl_relocate_object): Allocate correct amount for
12268         l_reloc_result.
12270 2014-09-29  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
12272         * stdio-common/printf_fp.c
12273         (hack_digit): New function, broken out of ...
12274         (__printf_fp): ... local function here.  Update call sites.
12275         hack_digit now takes an additional parameter that is a pointer
12276         to a struct of the referenced locals.  Those locals moved inside
12277         the struct and references updated.
12279 2014-09-29  H.J. Lu  <hongjiu.lu@intel.com>
12281         * aclocal.m4: Require autoconf 2.69.
12282         * configure: Regenerated.
12283         * sysdeps/aarch64/configure: Likewise.
12284         * sysdeps/alpha/configure: Likewise.
12285         * sysdeps/arm/armv7/configure: Likewise.
12286         * sysdeps/arm/configure: Likewise.
12287         * sysdeps/ia64/configure: Likewise.
12288         * sysdeps/mach/configure: Likewise.
12289         * sysdeps/mips/configure: Likewise.
12290         * sysdeps/s390/configure: Likewise.
12291         * sysdeps/unix/sysv/linux/mips/configure: Likewise.
12292         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Likewise.
12294         * sysdeps/alpha/configure.ac: Avoid empty lines at the end of
12295         file.
12296         * sysdeps/ia64/configure.ac: Likewise.
12298 2014-09-26  Joseph Myers  <joseph@codesourcery.com>
12300         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Do not
12301         specify symbol version for ld.so.  Do not include entry for
12302         libpthread.
12303         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
12304         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
12305         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
12307         [BZ #14171]
12308         * Makeconfig [$(build-shared) = yes]
12309         ($(common-objpfx)soversions.mk): Don't handle SONAMEs specified in
12310         makefiles.
12311         [$(build-shared) = yes && $(soversions.mk-done) = t]
12312         ($(common-objpfx)gnu/lib-names.h): Remove rule.
12313         [$(build-shared) = yes && $(soversions.mk-done) = t]
12314         ($(common-objpfx)gnu/lib-names.stmp): Likewise.  Split and moved
12315         to Makerules.
12316         [$(build-shared) = yes && $(soversions.mk-done) = t]
12317         (before-compile): Don't append $(common-objpfx)gnu/lib-names.h
12318         here.
12319         [$(build-shared) = yes && $(soversions.mk-done) = t]
12320         (common-generated): Don't append gnu/lib-names.h and
12321         gnu/lib-names.stmp here.
12322         * Makerules [$(build-shared) = yes && $(soversions.mk-done) = t]
12323         (lib-names-h-abi): New variable.
12324         [$(build-shared) = yes && $(soversions.mk-done) = t]
12325         (lib-names-stmp-abi): Likewise.
12326         [$(build-shared) = yes && $(soversions.mk-done) = t &&
12327         abi-variants] (before-compile): Append
12328         $(common-objpfx)$(lib-names-h-abi).
12329         [$(build-shared) = yes && $(soversions.mk-done) = t &&
12330         abi-variants] (common-generated): Append gnu/lib-names.h.
12331         [$(build-shared) = yes && $(soversions.mk-done) = t &&
12332         abi-variants] (install-others-nosubdir): Depend on
12333         $(inst_includedir)/$(lib-names-h-abi).
12334         [$(build-shared) = yes && $(soversions.mk-done) = t &&
12335         abi-variants] ($(common-objpfx)gnu/lib-names.h): New rule.
12336         [$(build-shared) = yes && $(soversions.mk-done) = t]
12337         ($(common-objpfx)$(lib-names-h-abi)): New rule.
12338         [$(build-shared) = yes && $(soversions.mk-done) = t]
12339         ($(common-objpfx)$(lib-names-stmp-abi)): Likewise.
12340         [$(build-shared) = yes && $(soversions.mk-done) = t]
12341         (common-generated): Append $(lib-names-h-abi) and
12342         $(lib-names-stmp-abi).
12343         * scripts/lib-names.awk: Do not handle multi being set.
12344         * sysdeps/unix/sysv/linux/aarch64/Makefile (abi-lp64-ld-soname):
12345         Remove variable.
12346         (abi-lp64_be-ld-soname): Likewise.
12347         * sysdeps/unix/sysv/linux/arm/Makefile (abi-soft-ld-soname):
12348         Likewise.
12349         (abi-hard-ld-soname): Likewise.
12350         * sysdeps/unix/sysv/linux/i386/shlib-versions: New file.
12351         * sysdeps/unix/sysv/linux/mips/Makefile (abi-o32_soft-ld-soname):
12352         Remove variable.
12353         (abi-o32_hard-ld-soname): Likewise.
12354         (abi-o32_soft_2008-ld-soname): Likewise.
12355         (abi-o32_hard_2008-ld-soname): Likewise.
12356         (abi-n32_soft-ld-soname): Likewise.
12357         (abi-n32_hard-ld-soname): Likewise.
12358         (abi-n32_soft_2008-ld-soname): Likewise.
12359         (abi-n32_hard_2008-ld-soname): Likewise.
12360         (abi-n64_soft-ld-soname): Likewise.
12361         (abi-n64_hard-ld-soname): Likewise.
12362         (abi-n64_soft_2008-ld-soname): Likewise.
12363         (abi-n64_hard_2008-ld-soname): Likewise.
12364         * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-64-v1-ld-soname):
12365         Likewise.
12366         (abi-64-v2-ld-soname): Likewise.
12367         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Add
12368         ld.so entries.
12369         * sysdeps/unix/sysv/linux/s390/Makefile (abi-64-ld-soname): Remove
12370         variable.
12371         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Add ld.so
12372         entry.
12373         * sysdeps/unix/sysv/linux/x86/Makefile (abi-32-ld-soname): Remove
12374         variable.
12375         (abi-64-ld-soname): Likewise.
12376         (abi-x32-ld-soname): Likewise.
12377         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Add ld.so
12378         entry.
12379         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
12381 2014-09-23  Joseph Myers  <joseph@codesourcery.com>
12383         [BZ #14138]
12384         * sysdeps/unix/sysv/linux/arm/setrlimit.c: Remove file.
12385         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Likewise.
12386         * sysdeps/unix/sysv/linux/m68k/setrlimit.c: Likewise.
12387         * sysdeps/unix/sysv/linux/powerpc/setrlimit.c: Likewise.
12388         * sysdeps/unix/sysv/linux/s390/s390-32/setrlimit.c: Likewise.
12389         * sysdeps/unix/sysv/linux/sh/setrlimit.c: Likewise.
12390         * sysdeps/unix/sysv/linux/i386/syscalls.list (setrlimit): Add
12391         syscall entry for GLIBC_2.2 symbol version.
12392         * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list (setrlimit):
12393         Likewise.
12394         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
12395         (setrlimit): Likewise.
12396         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setrlimit):
12397         Likewise.
12399 2014-09-23  Will Newton  <will.newton@linaro.org>
12401         * sysdeps/unix/sysv/linux/arm/bits/hwcap.h: Check for
12402         _LINUX_ARM_SYSDEP_H include guard too.
12403         * sysdeps/unix/sysv/linux/arm/sysdep.h (_SYS_AUXV_H): Remove
12404         define.
12406 2014-09-20  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
12408         * sysdeps/unix/sysv/linux/eventfd.c:
12409         Make first argument unsigned.
12410         * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h: Likewise.
12411         * sysdeps/unix/sysv/linux/sys/eventfd.h: Likewise.
12413 2014-09-20  Ondřej Bílka  <neleai@seznam.cz>
12415         * socket/recvmmsg.c (recvmmsg): Drop const argument.
12416         * socket/sys/socket.h: Likewise
12417         * sysdeps/unix/sysv/linux/recvmmsg.c: Likewise.
12419 2014-09-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
12421         * stdlib/longlong.h: Add __udiv_w_sdiv prototype.
12423 2014-09-17  Arjun Shankar  <arjun.is@lostca.se>
12425         * time/tst-ftime.c: New test.
12426         * time/Makefile (tests): Add tst-ftime.
12428 2014-09-17  Joseph Myers  <joseph@codesourcery.com>
12430         * soft-fp/extended.h: Fix comment formatting.
12431         * soft-fp/op-1.h: Likewise.
12432         * soft-fp/op-2.h: Likewise.
12433         * soft-fp/op-4.h: Likewise.
12434         * soft-fp/op-8.h: Likewise.
12435         * soft-fp/op-common.h: Likewise.
12436         * soft-fp/soft-fp.h: Likewise.
12438         * soft-fp/op-common.h (_FP_TO_INT): Correct formatting.
12440 2014-09-16  Joseph Myers  <joseph@codesourcery.com>
12442         [BZ #6652]
12443         * Makeconfig (soversions-default-setname): Remove variable.
12444         ($(common-objpfx)soversions.i): Don't pass default_setname to
12445         soversions.awk.
12446         * Makerules ($(common-objpfx)abi-versions.h): Don't pass
12447         oldest_abi to abi-versions.awk.
12448         * config.h.in (GLIBC_OLDEST_ABI): Remove macro undefine.
12449         * config.make.in (oldest-abi): Remove variable.
12450         * configure.ac (--enable-oldest-abi): Remove configure option.
12451         * configure: Regenerated.
12452         * csu/version.c (banner) [GLIBC_OLDEST_ABI]: Remove conditional
12453         text.
12454         * scripts/abi-versions.awk: Do not handle oldest_abi variable.
12455         * scripts/soversions.awk: Do not handle default_setname variable.
12456         * sysdeps/mach/hurd/configure.ac: Do not handle oldest_abi
12457         variable.
12458         * sysdeps/mach/hurd/configure: Regenerated.
12459         * sysdeps/unix/sysv/linux/configure.ac: Do not handle oldest_abi
12460         variable.
12461         * sysdeps/unix/sysv/linux/configure: Regenerated.
12463 2014-09-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
12465         * elf/Makefile (CFLAGS-interp.c): Remove.
12466         ($(elf-objpfx)runtime-linker.h): Generate header with linker
12467         path string.
12468         * elf/interp.c: Include generated runtime-linker.h
12470         * Makerules (lib%.so): Don't include $(+interp) in
12471         prerequisites.
12472         * elf/Makefile (CFLAGS-interp.c): Don't define NOT_IN_libc.
12473         * dlfcn/eval.c: Remove file.
12475         * posix/getconf.c (vars): Don't check for _[SP]C_* and _CS
12476         macros.
12478         [BZ #17266]
12479         * misc/sys/cdefs.h: Define __extern_always_inline for clang
12480         4.2 and newer.
12482         [BZ #17370]
12483         * libio/wfileops.c (do_ftell_wide): Free OUT on error path.
12485 2014-09-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
12486             Jakub Jelinek  <jakub@redhat.com>
12488         [BZ #17266]
12489         * libio/stdio.h: Check definition of __fortify_function
12490         instead of __extern_always_inline to include bits/stdio2.h.
12491         * math/bits/math-finite.h [__USE_XOPEN || __USE_ISOC99]: Also
12492         check if __extern_always_inline is defined.
12493         [__USE_MISC || __USE_XOPEN]: Likewise.
12494         [__USE_ISOC99] Likewise.
12495         * misc/sys/cdefs.h (__fortify_function): Define only if
12496         __extern_always_inline is defined.
12497         [!__cplusplus || __GNUC_PREREQ (4,3)]: Revert to defining
12498         __extern_always_inline and __extern_inline only for g++-4.3
12499         and newer or a compatible gcc.
12501 2014-09-15  Andreas Schwab  <schwab@linux-m68k.org>
12503         [BZ #17371]
12504         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
12505         last change to handle zero prefix length.
12507 2014-09-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
12509         * sysdeps/posix/sysconf.c (__sysconf): Return -1 for
12510         _SC_REGEX_VERSION.
12512         * posix/getconf.c (vars): Add _POSIX_IPV6 and
12513         _POSIX_RAW_SOCKETS.
12515 2014-09-13  Allan McRae  <allan@archlinux.org>
12517         * po/ru.po: Update Russian translation from translation project.
12519 2014-09-12  Roland McGrath  <roland@hack.frob.com>
12521         * locale/programs/locale.c (show_locale_vars): Inline local function
12522         into its sole call site.  Clean up some style nits.
12523         (print_item): New function, broken out of ...
12524         (show_info): ... local function here.  Clean up style nits.
12526         * locale/programs/ld-ctype.c (set_one_default): New function, broken
12527         out of ...
12528         (set_class_defaults): ... local function set_default here.
12529         Define set_default as a macro locally to pass constant parameters.
12530         (allocate_arrays, set_class_defaults): Use C99 for scope for each CNT,
12531         rather than a shared local.
12533         * stdlib/rpmatch.c (try): New function, broken out of ...
12534         (rpmatch): ... local function here.  Also, prototypify definition.
12536 2014-09-12  Joseph Myers  <joseph@codesourcery.com>
12538         * scripts/soversions.awk: Do not handle configuration names.
12539         * Makeconfig ($(common-objpfx)soversions.i): Do not pass cpu,
12540         vendor and os variables to soversions.awk.
12541         * configure.ac: Do not modify gnu-* host_os.
12542         * configure: Regenerated
12543         * shlib-versions: Remove first column with configuration names.
12544         * nptl/shlib-versions: Likewise.
12545         * nptl_db/shlib-versions: Likewise.
12546         * sysdeps/hppa/shlib-versions: Likewise.
12547         * sysdeps/m68k/shlib-versions: Likewise.
12548         * sysdeps/mach/hurd/shlib-versions: Likewise.
12549         * sysdeps/unix/sysv/linux/aarch64/shlib-versions: Likewise.
12550         * sysdeps/unix/sysv/linux/alpha/shlib-versions: Likewise.
12551         * sysdeps/unix/sysv/linux/arm/shlib-versions: Likewise.
12552         * sysdeps/unix/sysv/linux/hppa/shlib-versions: Likewise.
12553         * sysdeps/unix/sysv/linux/ia64/shlib-versions: Likewise.
12554         * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: Likewise.
12555         * sysdeps/unix/sysv/linux/microblaze/shlib-versions: Likewise.
12556         * sysdeps/unix/sysv/linux/mips/shlib-versions: Likewise.
12557         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
12558         Likewise.
12559         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
12560         * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
12561         * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
12562         * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
12563         * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
12564         * sysdeps/unix/sysv/linux/tile/shlib-versions: Likewise.
12565         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
12566         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
12568         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
12569         (HAVE_ELFV2_ABI): AC_DEFINE in ELFv2 case.
12570         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
12571         Regenerated.
12572         * config.h.in (HAVE_ELFV2_ABI): New macro undefine.
12573         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
12574         Condition symbol version definitions on [HAVE_ELFV2_ABI].
12576         * shlib-versions: Remove OS-specific entries.  Moved to files in
12577         sysdeps.
12578         * sysdeps/mach/hurd/shlib-versions: New file.
12579         * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
12581         * nptl/shlib-versions: Remove architecture-specific entries.
12582         Moved to files in sysdeps.
12583         * shlib-versions: Likewise.
12584         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: New
12585         file.
12586         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
12587         * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
12588         * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
12589         * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
12591         * sysdeps/gnu/netinet/udp.h (UDP_NO_CHECK6_TX): New macro.
12592         (UDP_NO_CHECK6_RX): Likewise.
12594 2014-09-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
12596         * sysdeps/posix/sysconf.c (__sysconf): Spell
12597         _POSIX_DEVICE_SPECIFIC and _POSIX_DEVICE_SPECIFIC_R correctly.
12599 2014-08-12  Florian Weimer  <fweimer@redhat.com>
12601         * iconv/gconv_open.c (__gconv_open): Remove transliteration module
12602         loading.
12603         * iconv/Versions (__gconv_transliterate): Export for use from
12604         gconv modules.
12605         * iconv/gconv.h (__GCONV_TRANSLIT): New flag.
12606         (struct __gconv_trans_data, __gconv_trans_fct,
12607         __gconv_trans_context_fct, __gconv_trans_query_fct,
12608         __gconv_trans_init_fct, __gconv_trans_end_fct): Remove type
12609         definitions.
12610         (struct __gconv_step_data): Remove __trans member.
12611         (__gconv_transliterate): Declaration moved from gconv_int.h.  No
12612         longer hidden.  Remove unused trans_data argument.
12613         * iconv/gconv_int.h (struct trans_struct): Remove definition.
12614         (__gconv_translit_find): Remove declaration.
12615         (__gconv_transliterate): Declaration moved to gconv.h.  Add hidden
12616         prototype.
12617         * iconv/gconv_close.c (__gconv_close): Remove __trans cleanup.
12618         * iconv/gconv_trans.c (__gconv_transliterate): Remove unused
12619         trans_data argument.  Add hidden definition.
12620         (__gconv_translit_find): Remove.
12621         * iconv/loop.c (STANDARD_TO_LOOP_ERR_HANDLER): Call
12622         __gconv_transliterate directly if __GCONV_TRANSLIT is set.
12623         * iconv/skeleton.c: Remove transliteration initialization.
12624         * libio/fileops.c (_IO_new_file_fopen): Adjust struct
12625         __gconv_step_data initialization.
12626         * libio/iofwide.c (__libio_translit_): Remove.
12627         (_IO_fwide): Adjust struct __gconv_step_data initialization.
12628         * wcsmbs/btowc.c (__btowc): Likewise.
12629         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
12630         * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
12631         * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Likewise.
12632         * wcsmbs/mbsrtowcs_l.c (__mbsrtowcs_l): Likewise.
12633         * wcsmbs/wcrtomb.c (__wcrtomb): Likewise.
12634         * wcsmbs/wcsnrtombs.c (__wcsnrtombs): Likewise.
12635         * wcsmbs/wcsrtombs.c (__wcsrtombs): Likewise.
12636         * wcsmbs/wctob.c (wctob): Likewise.
12638 2014-09-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
12640         [BZ #16194]
12641         * sysdeps/x86/tst-xmmymm.sh: Rename file to...
12642         * sysdeps/x86/tst-ld-sse-use.sh: ... this.  Check for zmm
12643         register usage.
12644         * sysdeps/x86/Makefile: Adjust.
12646 2014-09-11  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
12647             Roland McGrath  <roland@hack.frob.com>
12649         * locale/weight.h: Add include guard.
12650         (findidx): Make static rather than auto; take new parameters
12651         TABLE, INDIRECT, and EXTRA instead of getting them as outer locals.
12652         * locale/weightwc.h: Likewise.
12653         * posix/fnmatch_loop.c
12654         (FCT): Change type of EXTRA from int32_t to wint_t.
12655         Don't include either header inside the function.
12656         Call FINDIDX rather than findidx, and pass new arguments.
12657         #undef FINDIDX at the end of the file.
12658         * posix/fnmatch.c [_LIBC]: #include <locale/weight.h> and define
12659         FINDIDX before including fnmatch_loop.c for the non-wide version.
12660         [_LIBC] [HANDLE_MULTIBYTE]: #define findidx to findidxwc around
12661         #include <locale/weightwc.h>, and define FINDIDX to findidxwc
12662         for the wide version.
12663         * posix/regcomp.c [_LIBC]: #include <locale/weight.h>.
12664         (build_equiv_class) [_LIBC]: Don't #include it inside the function.
12665         Pass new arguments to findidx.
12666         * posix/regexec.c [RE_ENABLE_I18N] [_LIBC]: #include <locale/weight.h>.
12667         [RE_ENABLE_I18N] (check_node_accept_bytes) [_LIBC]:
12668         Don't #include it inside the function.  Pass new arguments to findidx.
12669         * posix/regex_internal.h
12670         [!NOT_IN_libc] [_LIBC]: #include <locale/weight.h>.
12671         (re_string_elem_size_at): Don't #include it inside the function.
12672         Pass new arguments to findidx.
12673         * string/strcoll_l.c: #include WEIGHT_H at top level.
12674         (get_next_seq): Don't #include it inside the function.
12675         Pass new arguments to findidx.
12676         (get_next_seq_nocache): Likewise.
12677         * string/strxfrm_l.c: #include WEIGHT_H at top level.
12678         (STRXFRM): Don't #include it inside the function.
12679         Pass new arguments to findidx.
12681 2014-09-11  Florian Weimer  <fweimer@redhat.com>
12683         [BZ #17344]
12684         * malloc/malloc.c (unlink): Turn asserts into a call to
12685         malloc_printerr.
12687 2014-09-11  Tim Lammens  <tim.lammens@gmail.com>
12689         [BZ #17370]
12690         * libio/wfileops (do_ftell_wide): Free OUT.
12692 2014-09-10  Chris Metcalf  <cmetcalf@tilera.com>
12694         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Remove file.
12696 2014-09-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
12698         [BZ #17363]
12699         * inet/getnetgrent_r.c (__internal_getnetgrent_r): Try next
12700         group if the current group is empty.
12702 2014-09-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12704         * benchtests/bench-memset.c (test_main): Add more test from size
12705         from 32 to 512 bytes.
12706         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
12707         Add POWER8 memset object.
12708         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12709         (__libc_ifunc_impl_list): Add POWER8 memset and bzero implementations.
12710         * sysdeps/powerpc/powerpc64/multiarch/bzero.c (__bzero): Add POWER8
12711         implementation.
12712         * sysdeps/powerpc/powerpc64/multiarch/memset.c (__libc_memset):
12713         Likewise.
12714         * sysdeps/powerpc/powerpc64/multiarch/memset-power8.S: New file:
12715         multiarch POWER8 memset optimization.
12716         * sysdeps/powerpc/powerpc64/power8/memset.S: New file: optimized
12717         POWER8 memset optimization.
12719         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
12720         Remove bzero multiarch objects.
12721         * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: Remove file.
12722         * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: Likewise.
12723         * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: Likewise.
12724         * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S [NO_BZERO_IMPL]:
12725         Remove define.
12726         [__bzero]: Redefine to specific name.
12727         * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: Likewise.
12728         * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: Likewise.
12729         * sysdeps/powerpc/powerpc64/power4/memset.S [NO_BZERO_IMPL]: Remove
12730         define.
12731         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
12732         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
12734 2014-09-10  Florian Weimer  <fweimer@redhat.com>
12736         * Makeconfig (gccwarn-c): Turn implicit-function-declaration
12737         warnings into errors.
12739         * stdlib/tst-tls-atexit-lib.c: Include <stdlib.h>, for the
12740         __cxa_thread_atexit_impl prototype.
12742 2014-09-09  Steve Ellcey  <sellcey@mips.com>
12744         * sysdeps/mips/preconfigure: Put code inside mips* case statement.
12745         Fix capitalization of error message.
12747 2014-09-09  Steve Ellcey  <sellcey@mips.com>
12749         * sysdeps/mips/preconfigure: Modify ABI tests.
12751 2014-09-07  Carlos O'Donell  <carlos@systemhalted.org>
12753         * sysdeps/unix/sysv/linux/hppa/c++-types.data: New file.
12755 2014-09-07  Roland McGrath  <roland@hack.frob.com>
12756             Carlos O'Donell  <carlos@systemhalted.org>
12758         * sysdeps/unix/sysv/linux/hppa/nptl/libc-lowlevellock.c: File removed.
12759         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Moved ...
12760         * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: ... here.
12761         * sysdeps/unix/sysv/linux/hppa/nptl/pt-vfork.S: Moved ...
12762         * sysdeps/unix/sysv/linux/hppa/pt-vfork.S: ... here.
12763         * sysdeps/unix/sysv/linux/hppa/nptl/pthread.h: Moved ...
12764         * sysdeps/unix/sysv/linux/hppa/pthread.h: ... here.
12765         * sysdeps/unix/sysv/linux/hppa/nptl/pthreadP.h: Moved ...
12766         * sysdeps/unix/sysv/linux/hppa/pthreadP.h: ... here.
12767         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_broadcast.c: Moved ...
12768         * sysdeps/unix/sysv/linux/hppa/pthread_cond_broadcast.c: ... here.
12769         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_destroy.c: Moved ...
12770         * sysdeps/unix/sysv/linux/hppa/pthread_cond_destroy.c: ... here.
12771         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_init.c: Moved ...
12772         * sysdeps/unix/sysv/linux/hppa/pthread_cond_init.c: ... here.
12773         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_signal.c: Moved ...
12774         * sysdeps/unix/sysv/linux/hppa/pthread_cond_signal.c: ... here.
12775         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_timedwait.c: Moved ...
12776         * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c: ... here.
12777         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_wait.c: Moved ...
12778         * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c: ... here.
12779         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Moved ...
12780         * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: ... here.
12781         * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h: Moved ...
12782         * sysdeps/hppa/nptl/bits/pthreadtypes.h: ... here.
12783         * sysdeps/unix/sysv/linux/hppa/nptl/bits/semaphore.h: Moved ...
12784         * sysdeps/hppa/nptl/bits/semaphore.h: ... here.
12785         * sysdeps/unix/sysv/linux/hppa/clone.S: Include <tcb-offsets.h>.
12786         Deconditionalize the code that was previously under [RESET_PID].
12787         * sysdeps/unix/sysv/linux/hppa/nptl/clone.S: File removed.
12788         * sysdeps/unix/sysv/linux/hppa/arch-fork.h: New file.
12789         * sysdeps/unix/sysv/linux/hppa/nptl/fork.c: File removed.
12790         * sysdeps/hppa/nptl/tcb-offsets.sym: Include pthread.h and don't
12791         include sysdep.h.
12793 2014-09-08  Allan McRae  <allan@archlinux.org>
12795         * version.h (RELEASE): Set to "development".
12796         (VERSION): Set to "2.20.90"
12798 2014-09-07  Allan McRae  <allan@archlinux.org
12800         * version.h (RELEASE): Set to "stable".
12801         (VERSION): Set to "2.20"
12802         * include/features.h (__GLIBC_MINOR__): Set to 20.
12804         * manual/contrib.texi: Add entries for Wilco Dijkstra and Stefan
12805         Liebler.
12807         * po/ko.po: Update Korean translation from translation project.
12809 2014-09-06  Chris Metcalf  <cmetcalf@tilera.com>
12811         [BZ #17354]
12812         * sysdeps/tile/dl-machine.h (elf_machine_rela): Add a MUNGE_SIGNED
12813         macro for handling signed relocations.
12815 2014-09-03  Florian Weimer  <fweimer@redhat.com>
12817         [BZ #17325]
12818         * iconvdata/ibm1364.c (BODY): Fix check for sentinel.
12819         * iconvdata/ibm932.c (BODY): Replace invalid sentinel check with
12820         assert.
12821         * iconvdata/ibm933.c (BODY): Fix check for sentinel.
12822         * iconvdata/ibm935.c (BODY): Likewise.
12823         * iconvdata/ibm937.c (BODY): Likewise.
12824         * iconvdata/ibm939.c (BODY): Likewise.
12825         * iconvdata/ibm943.c (BODY): Replace invalid sentinel check with
12826         assert.
12827         * iconvdata/Makefile (iconv-test.out): Pass module list to test
12828         script.
12829         * iconvdata/run-iconv-test.sh: New test loop for checking for
12830         decoder crashers.
12832 2014-09-02  Khem Raj  <raj.khem@gmail.com>
12834         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (fegetenv): Add
12835         libm_hidden_ver.
12837 2014-09-01  Allan McRae  <allan@archlinux.org>
12839         * po/eo.po: Update Esperanto translation from translation project.
12841         * po/ca.po: Update Catalan translation from translation project.
12843 2014-08-28  Samuel Thibault  <samuel.thibault@ens-lyon.org>
12845         * sysdeps/mach/hurd/fork.c (__fork): Lock SS->lock around
12846         __proc_dostop call.
12848 2014-08-27  Mark Wielaard  <mjw@redhat.com>
12850         [BZ #17319]
12851         * sysdeps/i386/nptl/tls.h (TLS_INIT_TP): Use INTERNAL_SYSCALL
12852         to call set_thread_area instead of hand written asm.
12853         (__NR_set_thread_area): Removed define.
12854         (TLS_FLAG_WRITABLE): Likewise.
12855         (__ASSUME_SET_THREAD_AREA): Remove check.
12856         (TLS_EBX_ARG): Remove define.
12857         (TLS_LOAD_EBX): Likewise.
12859 2014-08-27  Samuel Thibault  <samuel.thibault@ens-lyon.org>
12861         Simplify atomicity of socket creation in bind.
12863         * sysdeps/mach/hurd/bind.c (__bind): Use dir_lookup(node, "") instead of
12864         looking up the name after linking the file.
12866 2014-08-27  Allan McRae  <allan@archlinux.org>
12868         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
12870 2014-08-26  Florian Weimer  <fweimer@redhat.com>
12872         [BZ #17187]
12873         * iconv/gconv_trans.c (struct known_trans, search_tree, lock,
12874         trans_compare, open_translit, __gconv_translit_find):
12875         Remove module loading code.
12877 2014-08-26  Allan McRae  <allan@archlinux.org>
12879         * po/vi.po: Update Vietnamese translation from translation project.
12881         * po/uk.po: Update Ukrainian translation from translation project.
12883         * po/fr.po: Update French translation from translation project.
12885         * po/ru.po: Update Russian translation from translation project.
12887         * po/pl.po: Update Polish translation from translation project.
12889         * po/cs.po: Update Czech translation from translation project.
12891         * po/de.po: Update German translation from translation project.
12893         * po/bg.po: Update Bulgarian translation from translation project.
12895         * po/sv.po: Update Sweedish translation from translation project.
12897         * po/nl.po: Update Dutch translation from translation project.
12899         * po/es.po: Update Spanish translation from translation project.
12901 2014-08-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
12903         * nptl/Makefile (CFLAGS-pthread_atfork.c): Remove.
12905         * catgets/Makefile (CPPFLAGS-gencat): Remove.
12906         * iconv/Makefile (CPPFLAGS-iconv_prog): Likewise.
12907         (CPPFLAGS-iconvconfig): Likewise.
12908         * timezone/Makefile (CPPFLAGS-zic): Likewise.
12910         * include/libc-symbols.h: Remove unnecessary check for
12911         NOT_IN_libc.
12912         * nptl/pthreadP.h: Likewise.
12913         * sysdeps/aarch64/setjmp.S: Likewise.
12914         * sysdeps/alpha/setjmp.S: Likewise.
12915         * sysdeps/arm/sysdep.h: Likewise.
12916         * sysdeps/i386/setjmp.S: Likewise.
12917         * sysdeps/m68k/setjmp.c: Likewise.
12918         * sysdeps/posix/getcwd.c: Likewise.
12919         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
12920         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
12921         * sysdeps/s390/s390-32/setjmp.S: Likewise.
12922         * sysdeps/s390/s390-64/setjmp.S: Likewise.
12923         * sysdeps/sh/sh3/setjmp.S: Likewise.
12924         * sysdeps/sh/sh4/setjmp.S: Likewise.
12925         * sysdeps/unix/alpha/sysdep.h: Likewise.
12926         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
12927         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
12928         * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
12929         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
12930         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
12931         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
12932         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
12933         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
12934         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
12935         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
12936         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
12937         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
12938         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
12939         * sysdeps/x86_64/setjmp.S: Likewise.
12941 2014-08-13  Joseph Myers  <joseph@codesourcery.com>
12943         [BZ #17263]
12944         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Include
12945         <stdint.h>.
12946         (__get_clockfreq): Use uint64_t instead of hp_timing_t in
12947         INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK call.
12949 2014-08-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
12951         * sysdeps/x86/fpu/bits/mathinline.h: Fix typo in comment.
12953         [BZ #17262]
12954         * sysdeps/x86/fpu/bits/mathinline.h: Check both __SSE2_MATH__
12955         and __x86_64__ when disabling x87 inline functions.
12957 2014-08-12  H.J. Lu  <hongjiu.lu@intel.com>
12959         [BZ #17259]
12960         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Replace cpuid
12961         asm statement with __cpuid_count.
12963 2014-08-12  Mike Frysinger  <vapier@gentoo.org>
12965         * configure.ac: Change __ehdr_start code to dereference the struct.
12966         Run readelf on the output to look for relocations.
12967         * configure: Regenerated.
12969 2014-08-12  Joseph Myers  <joseph@codesourcery.com>
12971         [BZ #17261]
12972         * sysdeps/powerpc/nofpu/fenv_const.c (__fe_enabled_env): Change
12973         value to 0.
12974         (__fe_nonieee_env): Define as an alias for __fe_dfl_env.
12976 2014-08-12  Roland McGrath  <roland@hack.frob.com>
12978         * NEWS: Mention x86-64 ld.so use of Intel MPX instructions.
12980 2014-08-12  Bernard Ogden  <bernie.ogden@linaro.org>
12982         [BZ #16892]
12983         * sysdeps/nptl/lowlevellock.h (__lll_timedlock): Use
12984         atomic_compare_and_exchange_bool_acq rather than atomic_exchange_acq.
12986 2014-08-12  Sean Anderson  <seanga2@gmail.com>
12988         * malloc/malloc.c: Fix typo in comment.
12990 2014-08-09  Allan McRae  <allan@archlinux.org>
12992         * Regenerate libc.po.
12994 2014-08-08  Mike Frysinger  <vapier@gentoo.org>
12996         * intl/tst-gettext2.sh: Check every lang file for creation.
12998 2014-08-07  Wilco Dijkstra  <wdijkstr@arm.com>
13000         * sysdeps/aarch64/fpu/math_private.h
13001         (libc_feholdsetround_noex_aarch64_ctx): New function.
13003 2014-08-07  Wilco Dijkstra  <wdijkstr@arm.com>
13005         * sysdeps/arm/armv6/strcpy.S (strcpy):
13006         Fix performance issue in misaligned cases.
13008 2014-08-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13010         * sysdeps/unix/sysv/linux/powerpc/bits/ioctl-types.h (struct winsize):
13011         Move definition from termios.h.
13012         (struct termio): Likewise.
13013         (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
13014         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
13015         N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
13016         N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
13017         Likewise.
13018         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (struct winsize):
13019         Move definition to ioctl-types.h
13020         (struct termio): Likewise.
13021         (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
13022         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
13023         N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
13024         N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
13025         Likewise.
13027 2014-08-05  Richard Henderson  <rth@redhat.com>
13029         * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Always raise
13030         exceptions.
13031         * sysdeps/alpha/soft-fp/Makefile [soft-fp] (sysdep_routines):
13032         Add fraiseexcpt.
13033         * sysdeps/alpha/soft-fp/sfp-machine.h (FP_HANDLE_EXCEPTIONS):
13034         Use __feraiseexcept.
13035         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (feraiseexcept):
13036         Protect libm symbols with IS_IN_libm.
13038         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Remove file.
13040 2014-08-04  Bernard Ogden  <bernie.ogden@linaro.org>
13042         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Remove file.
13044 2014-08-04  Will Newton  <will.newton@linaro.org>
13046         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Remove
13047         file.
13049 2014-08-04  Mike Frysinger  <vapier@gentoo.org>
13051         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (PSEUDO): Add nocancel
13052         variants for each function.
13054 2014-08-04  Roland McGrath  <roland@hack.frob.com>
13056         * sysdeps/unix/sysv/linux/ia64/nptl/Makefile: File removed, contents
13057         appended ...
13058         * sysdeps/unix/sysv/linux/ia64/Makefile: ... here.
13059         * sysdeps/unix/sysv/linux/ia64/nptl/Versions: File removed, contents
13060         appended ...
13061         * sysdeps/unix/sysv/linux/ia64/Versions: ... here.
13062         * sysdeps/unix/sysv/linux/ia64/nptl/__ia64_longjmp.S: Moved ...
13063         * sysdeps/unix/sysv/linux/ia64/__ia64_longjmp.S: ... here.
13064         * sysdeps/unix/sysv/linux/ia64/nptl/__sigstack_longjmp.c: Moved ...
13065         * sysdeps/unix/sysv/linux/ia64/__sigstack_longjmp.c: ... here.
13066         * sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data: Moved ...
13067         * sysdeps/unix/sysv/linux/ia64/c++-types.data: ... here.
13068         * sysdeps/unix/sysv/linux/ia64/nptl/dl-sysdep.h: Moved ...
13069         * sysdeps/unix/sysv/linux/ia64/dl-sysdep.h: ... here.
13070         * sysdeps/unix/sysv/linux/ia64/nptl/ld.abilist: Moved ...
13071         * sysdeps/unix/sysv/linux/ia64/ld.abilist: ... here.
13072         * sysdeps/unix/sysv/linux/ia64/nptl/libBrokenLocale.abilist: Moved ...
13073         * sysdeps/unix/sysv/linux/ia64/libBrokenLocale.abilist: ... here.
13074         * sysdeps/unix/sysv/linux/ia64/nptl/libanl.abilist: Moved ...
13075         * sysdeps/unix/sysv/linux/ia64/libanl.abilist: ... here.
13076         * sysdeps/unix/sysv/linux/ia64/nptl/libc.abilist: Moved ...
13077         * sysdeps/unix/sysv/linux/ia64/libc.abilist: ... here.
13078         * sysdeps/unix/sysv/linux/ia64/nptl/libcrypt.abilist: Moved ...
13079         * sysdeps/unix/sysv/linux/ia64/libcrypt.abilist: ... here.
13080         * sysdeps/unix/sysv/linux/ia64/nptl/libdl.abilist: Moved ...
13081         * sysdeps/unix/sysv/linux/ia64/libdl.abilist: ... here.
13082         * sysdeps/unix/sysv/linux/ia64/nptl/libm.abilist: Moved ...
13083         * sysdeps/unix/sysv/linux/ia64/libm.abilist: ... here.
13084         * sysdeps/unix/sysv/linux/ia64/nptl/libnsl.abilist: Moved ...
13085         * sysdeps/unix/sysv/linux/ia64/libnsl.abilist: ... here.
13086         * sysdeps/unix/sysv/linux/ia64/nptl/libpthread.abilist: Moved ...
13087         * sysdeps/unix/sysv/linux/ia64/libpthread.abilist: ... here.
13088         * sysdeps/unix/sysv/linux/ia64/nptl/libresolv.abilist: Moved ...
13089         * sysdeps/unix/sysv/linux/ia64/libresolv.abilist: ... here.
13090         * sysdeps/unix/sysv/linux/ia64/nptl/librt.abilist: Moved ...
13091         * sysdeps/unix/sysv/linux/ia64/librt.abilist: ... here.
13092         * sysdeps/unix/sysv/linux/ia64/nptl/libthread_db.abilist: Moved ...
13093         * sysdeps/unix/sysv/linux/ia64/libthread_db.abilist: ... here.
13094         * sysdeps/unix/sysv/linux/ia64/nptl/libutil.abilist: Moved ...
13095         * sysdeps/unix/sysv/linux/ia64/libutil.abilist: ... here.
13096         * sysdeps/unix/sysv/linux/ia64/nptl/localplt.data: Moved ...
13097         * sysdeps/unix/sysv/linux/ia64/localplt.data: ... here.
13098         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Moved ...
13099         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: ... here.
13100         * sysdeps/unix/sysv/linux/ia64/nptl/sysdep-cancel.h: Moved ...
13101         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: ... here.
13102         * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Moved ...
13103         * sysdeps/unix/sysv/linux/ia64/timer_create.c: ... here.
13104         * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Moved ...
13105         * sysdeps/unix/sysv/linux/ia64/timer_delete.c: ... here.
13106         * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Moved ...
13107         * sysdeps/unix/sysv/linux/ia64/timer_getoverr.c: ... here.
13108         * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Moved ...
13109         * sysdeps/unix/sysv/linux/ia64/timer_gettime.c: ... here.
13110         * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Moved ...
13111         * sysdeps/unix/sysv/linux/ia64/timer_settime.c: ... here.
13112         * sysdeps/unix/sysv/linux/ia64/nptl/unwind-forcedunwind.c: Moved ...
13113         * sysdeps/unix/sysv/linux/ia64/unwind-forcedunwind.c: ... here.
13114         Update #include.
13115         * sysdeps/unix/sysv/linux/ia64/nptl/unwind_longjmp.c: Moved ...
13116         * sysdeps/unix/sysv/linux/ia64/unwind_longjmp.c: ... here.
13118 2014-08-04  Roland McGrath  <roland@hack.frob.com>
13120         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h: Moved ...
13121         * sysdeps/ia64/nptl/bits/pthreadtypes.h: ... here.
13122         * sysdeps/unix/sysv/linux/ia64/nptl/bits/semaphore.h: Moved ...
13123         * sysdeps/ia64/nptl/bits/semaphore.h: ... here.
13124         * sysdeps/unix/sysv/linux/ia64/nptl/bits/local_lim.h: Moved ...
13125         * sysdeps/unix/sysv/linux/ia64/bits/local_lim.h: ... here.
13127 2014-08-04  Roland McGrath  <roland@hack.frob.com>
13129         * nptl/sysdeps/pthread/createthread.c: Include <arch-fork.h>.
13130         * sysdeps/unix/sysv/linux/ia64/arch-fork.h (ARCH_CLONE): New macro.
13131         * sysdeps/ia64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
13132         * sysdeps/unix/sysv/linux/ia64/nptl/createthread.c: File removed.
13134 2014-08-04  Roland McGrath  <roland@hack.frob.com>
13136         * sysdeps/unix/sysv/linux/ia64/nptl/vfork.S: Moved ...
13137         * sysdeps/unix/sysv/linux/ia64/vfork.S: ... here.
13138         (__libc_vfork): Define function under this name.
13139         (__vfork): Define as an alias.
13140         * sysdeps/unix/sysv/linux/ia64/pt-vfork.S: New file.
13141         * sysdeps/unix/sysv/linux/ia64/nptl/pt-vfork.S: File removed.
13143 2014-08-04  Roland McGrath  <roland@hack.frob.com>
13145         * sysdeps/unix/sysv/linux/ia64/clone2.S: Deconditionalize the code
13146         that was previously under [RESET_PID].
13147         * sysdeps/unix/sysv/linux/ia64/nptl/clone2.S: File removed.
13149 2014-08-04  Andreas Schwab  <schwab@suse.de>
13151         * sysdeps/ieee754/ldbl-96/s_fma.c: Include <math_private.h>.
13153 2014-08-03  Mike Frysinger  <vapier@gentoo.org>
13155         * stdlib/tst-setcontext.c (test_stack): Fix coding style.
13156         (main): Likewise.
13158 2014-08-01  Roland McGrath  <roland@hack.frob.com>
13160         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: File removed.
13162 2014-08-01  Richard Henderon  <rth@redhat.com>
13164         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use math_force_eval before
13165         feclearexcept; use math_opt_barrier instead of open-coded asm; fix
13166         typo in exact zero test.
13167         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
13168         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
13169         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
13171 2014-08-01  Roland McGrath  <roland@hack.frob.com>
13173         * sysdeps/unix/sysv/linux/arm/sysdep.h (PTR_MANGLE_LOAD, PTR_MANGLE)
13174         (PTR_MANGLE2, PTR_DEMANGLE, PTR_DEMANGLE2): Move these macros...
13175         * sysdeps/arm/sysdep.h: ... here.
13176         [!__ASSEMBLER__]: Include <stdint.h>.
13178 2014-08-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
13180         * include/libc-symbols.h (HAVE_LIBINTL_H): Define macro.
13181         (HAVE_WCTYPE_H): Likewise.
13182         (HAVE_ISWCTYPE): Likewise.
13183         (ENABLE_NLS): Likewise.
13184         * posix/regex_internal.h [(defined MB_CUR_MAX && HAVE_WCTYPE_H
13185         && HAVE_ISWCTYPE) || _LIBC]: Sync up with gnulib.
13187         * posix/regex_internal.c: Check if DEBUG is defined and is
13188         set.
13190         * include/libc-symbols.h (HAVE_MBSTATE_T): Define macro.
13191         (HAVE_MBSRTOWCS): Likewise.
13192         * posix/fnmatch.c: Include string.h unconditionally.
13194 2014-08-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
13196         * NEWS: Explain the s390 jmp_buf / ucontext_t ABI change
13197         reversal.
13199 2014-07-31  Roland McGrath  <roland@hack.frob.com>
13201         * sysdeps/generic/safe-fatal.h: New file.
13202         * sysdeps/unix/sysv/linux/safe-fatal.h: New file.
13203         * nptl/forward.c: Include it.
13204         (__pthread_unwind): Use __safe_fatal as default action, rather
13205         than a bogus use of INTERNAL_SYSCALL that could never work.
13207         * config.h.in (HAVE_BUILTIN_TRAP): New #define to 0.
13208         * configure.ac (libc_cv_builtin_trap): New test.
13209         * configure: Regenerated.
13210         * sysdeps/generic/abort-instr.h [HAVE_BUILTIN_TRAP]
13211         (ABORT_INSTRUCTION): Define using __builtin_trap.
13213         * nptl/pthreadP.h (SIGCANCEL, SIGTIMER, SIGSETXID, __xidcmd): Moved ...
13214         * sysdeps/unix/sysv/linux/nptl-signals.h: ... to this new file.
13215         * sysdeps/nptl/nptl-signals.h: New file.
13216         * nptl/pthreadP.h: Include <nptl-signals.h>.
13218 2014-07-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
13220         * sysdeps/s390/s390-64/utf16-utf32-z9.c
13221         (ONE_DIRECTION): Define.
13222         * sysdeps/s390/s390-64/utf8-utf16-z9.c
13223         (ONE_DIRECTION): Define.
13224         * sysdeps/s390/s390-64/utf8-utf32-z9.c
13225         (ONE_DIRECTION): Define.
13227 2014-07-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
13229         * sysdeps/s390/Makefile: Delete file.
13230         * sysdeps/s390/Versions (GLIBC_2.19): Remove __setjmp.
13231         * sysdeps/s390/__longjmp.c: Delete file.
13232         * sysdeps/s390/bits/setjmp.h (__s390_jmp_buf):
13233         Remove fields __flags and __reserved.
13234         * sysdeps/s390/longjmp.c: Include setjmp/longjmp.c
13235         and add versioning.
13236         * sysdeps/s390/rtld-__longjmp.c: Delete file.
13237         * sysdeps/s390/rtld-global-offsets.sym: Likewise.
13238         * sysdeps/s390/rtld-setjmp.S: Likewise.
13239         * sysdeps/s390/s390-32/__longjmp-common.c: Move to ...
13240         * sysdeps/s390/s390-32/__longjmp.c: ... here.
13241         * sysdeps/s390/s390-32/setjmp-common.S: Move to ...
13242         * sysdeps/s390/s390-32/setjmp.S: ... here.
13243         Add versioning.
13244         (__sigsetjmp): Remove setting __flags field.
13245         * sysdeps/s390/s390-64/__longjmp-common.c:Move to ...
13246         * sysdeps/s390/s390-64/__longjmp.c: ... here.
13247         * sysdeps/s390/s390-64/setjmp-common.S: Move to ...
13248         * sysdeps/s390/s390-64/setjmp.S: ... here.
13249         Add versioning.
13250         (__sigsetjmp): Remove setting __flags field.
13251         * sysdeps/s390/setjmp.S: Delete file.
13252         * sysdeps/s390/sigjmp.c: Likewise.
13253         * sysdeps/s390/v1-longjmp.c: Likewise.
13254         * sysdeps/s390/v1-setjmp.h: Likewise.
13255         * sysdeps/s390/v1-sigjmp.c: Likewise.
13256         * sysdeps/unix/sysv/linux/s390/Makefile (sysdep_routines):
13257         Remove v1-longjmp_chk.
13258         * sysdeps/unix/sysv/linux/s390/getcontext.S: Delete file.
13259         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c:
13260         Include debug/longjmp_chk.c and add versioning.
13261         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c:
13262         Include nptl/pt-longjmp.c and add versioning.
13263         * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: Delete file.
13264         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c:
13265         Include __longjmp.c.
13266         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
13267         Move to ...
13268         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: ... here.
13269         (__getcontext): Remove setting __flags field.
13270         Add versioning.
13271         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
13272         Don't restore upper high grps.
13273         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S:
13274         Likewise.
13275         (__swapcontext): Remove setting uc_flags field.
13276         * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym:
13277         Delete file.
13278         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
13279         Include __longjmp.c.
13280         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
13281         Move to ...
13282         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: ... here.
13283         (__getcontext): Remove setting __flags field.
13284         Add versioning.
13285         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S:
13286         (__swapcontext): Remove setting uc_flags field.
13287         * unix/sysv/linux/s390/s390-64/ucontext_i.sym: Delete file.
13288         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (ucontext):
13289         Remove fields uc_high_gprs and __reserved.
13290         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym:
13291         New file with reverted content.
13292         * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: Delete file.
13293         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist:
13294         Regenerated.
13295         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist:
13296         Regenerated.
13298 2014-07-31  Andreas Schwab  <schwab@suse.de>
13300         * config.h.in (HAVE_IFUNC): Define to 0.
13301         * rt/clock-compat.c [HAVE_IFUNC]: Check for value, not
13302         definedness.
13304 2014-07-30  Ling Ma  <ling.ml@alibaba-inc.com>
13306         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
13307         memmove-avx-unaligned, memcpy-avx-unaligned and
13308         mempcpy-avx-unaligned.
13309         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
13310         Add tests for AVX memcpy functions.
13311         * sysdeps/x86_64/multiarch/memcpy.S: Add support for AVX memcpy.
13312         * sysdeps/x86_64/multiarch/memcpy_chk.S: Add support for AVX
13313         memcpy_chk.
13314         * sysdeps/x86_64/multiarch/memmove.c: Add support for AVX memmove.
13315         * sysdeps/x86_64/multiarch/memmove_chk.c: Add support for AVX
13316         memmove_chk.
13317         * sysdeps/x86_64/multiarch/mempcpy.S: Add support for AVX mempcpy.
13318         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Add support for AVX
13319         mempcpy_chk.
13320         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: New file.
13321         * sysdeps/x86_64/multiarch/mempcpy-avx-unaligned.S: New file.
13322         * sysdeps/x86_64/multiarch/memmove-avx-unaligned.S: New file.
13324 2013-07-29  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13326         [BZ #17213]
13327         * sysdeps/powerpc/powerpc64/entry.h: Fix TEXT_START definition for
13328         powerpc64le.
13330 2014-07-29  Jeff Layton  <jlayton@poochiereds.net>
13332         [BZ #16839]
13333         * manual/llio.texi: Add section about open file description locks.
13334         * manual/examples/ofdlocks.c: Example of open file description
13335         lock usage.
13336         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Define F_OFD_GETLK,
13337         F_OFD_SETLK, and F_OFD_SETLKW.
13339 2014-07-23  Allan McRae  <allan@archlinux.org>
13341         * po/es.po: Update Spanish translation from translation project.
13343 2014-07-18  Andreas Schwab  <schwab@linux-m68k.org>
13345         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Removed.
13347 2014-07-17  Maciej W. Rozycki  <macro@codesourcery.com>
13349         [BZ #17078]
13350         * sysdeps/arm/dl-machine.h (elf_machine_rela)
13351         [RESOLVE_CONFLICT_FIND_MAP]: Handle R_ARM_TLS_DESC relocation.
13352         (elf_machine_lazy_rel): Handle prelinked R_ARM_TLS_DESC entries.
13354 2014-07-17  Joseph Myers  <joseph@codesourcery.com>
13356         [BZ #17088]
13357         * math/fesetenv.c (__fesetenv)
13358         [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Return 1 for FE_NOMASK_ENV.
13359         * math/feupdateenv.c (__feupdateenv)
13360         [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Likewise.
13362         * sysdeps/unix/sysv/linux/s390/kernel-features.h: New file.
13363         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
13364         (__ASSUME_SOCKETCALL): Do not define.
13366         * sysdeps/unix/sysv/linux/sh/kernel-features.h: New file.
13367         * sysdeps/unix/sysv/linux/kernel-features.h [__sh__]
13368         (__ASSUME_SOCKETCALL): Do not define.
13369         (__ASSUME_ST_INO_64_BIT): Define unconditionally.
13370         [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
13371         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
13372         [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
13373         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
13374         [__LINUX_KERNEL_VERSION >= 0x030000 && __sh__]
13375         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
13376         [__sh__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
13378         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: New file.
13379         * sysdeps/unix/sysv/linux/kernel-features.h [__powerpc__]
13380         (__ASSUME_SOCKETCALL): Do not define.
13381         (__ASSUME_IPC64): Define unconditionally.
13382         [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
13383         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
13384         [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
13385         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
13386         [__LINUX_KERNEL_VERSION >= 0x030000 && __powerpc__]
13387         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
13388         [__powerpc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL):
13389         Likewise.
13391         * sysdeps/unix/sysv/linux/sparc/kernel-features.h: New file.
13392         * sysdeps/unix/sysv/linux/kernel-features.h [__sparc__]
13393         (__ASSUME_SOCKETCALL): Do not define.
13394         (__ASSUME_SET_ROBUST_LIST): Define unconditionally.
13395         (__ASSUME_FUTEX_LOCK_PI): Likewise.
13396         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL): Do not define.
13397         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
13398         (__ASSUME_REQUEUE_PI): Define unconditionally.
13399         [__LINUX_KERNEL_VERSION >= 0x020621 && __sparc__]
13400         (__ASSUME_RECVMMSG_SYSCALL): Do not define.
13401         [__sparc__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
13402         [__LINUX_KERNEL_VERSION >= 0x030000 && __sparc__]
13403         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
13404         [__sparc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
13406         * sysdeps/unix/sysv/linux/i386/kernel-features.h: New file.
13407         * sysdeps/unix/sysv/linux/kernel-features.h [__i386__]
13408         (__ASSUME_SOCKETCALL): Do not define.
13409         [__LINUX_KERNEL_VERSION >= 0x020621 && __i386__]
13410         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
13411         [__i386__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
13412         [__LINUX_KERNEL_VERSION >= 0x030000 && __i386__]
13413         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
13414         [__i386__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
13416         * sysdeps/unix/sysv/linux/x86_64/kernel-features.h: New file.
13417         * sysdeps/unix/sysv/linux/kernel-features.h [__x86_64__]
13418         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
13419         [__LINUX_KERNEL_VERSION >= 0x020621 && __x86_64__]
13420         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
13421         [__LINUX_KERNEL_VERSION >= 0x030000 && __x86_64__]
13422         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
13423         [__x86_64__ && __LINUX_KERNEL_VERSION >= 0x030100]
13424         (__ASSUME_GETCPU_SYSCALL): Likewise.
13426         * aclocal.m4 (LIBC_SLIBDIR_RTLDDIR): New macro.
13427         * sysdeps/gnu/configure.ac: Use LIBC_SLIBDIR_RTLDDIR.  Remove
13428         cases for individual architectures.
13429         * sysdeps/gnu/configure: Regenerated.
13430         * sysdeps/unix/sysv/linux/aarch64/configure.ac: Use
13431         LIBC_SLIBDIR_RTLDDIR.
13432         * sysdeps/unix/sysv/linux/aarch64/configure: Regenerated.
13433         * sysdeps/unix/sysv/linux/mips/configure.ac: Use
13434         LIBC_SLIBDIR_RTLDDIR.
13435         * sysdeps/unix/sysv/linux/mips/configure: Regenerated.
13436         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: Use
13437         LIBC_SLIBDIR_RTLDDIR.
13438         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
13439         Regenerated.
13440         * sysdeps/unix/sysv/linux/s390/s390-64/configure.ac: New file.
13441         * sysdeps/unix/sysv/linux/s390/s390-64/configure: New generated
13442         file.
13443         * sysdeps/unix/sysv/linux/sparc/sparc64/configure.ac: New file.
13444         * sysdeps/unix/sysv/linux/sparc/sparc64/configure: New generated
13445         file.
13446         * sysdeps/unix/sysv/linux/x86_64/64/configure.ac: New file.
13447         * sysdeps/unix/sysv/linux/x86_64/64/configure: New generated file.
13448         * sysdeps/unix/sysv/linux/x86_64/x32/configure.ac: New file.
13449         * sysdeps/unix/sysv/linux/x86_64/x32/configure: Generate.
13451         * sysdeps/aarch64/shlib-versions: Move to ...
13452         * sysdeps/unix/sysv/linux/aarch64/shlib-versions: ... here.
13453         * sysdeps/alpha/shlib-versions: Move to ...
13454         * sysdeps/unix/sysv/linux/alpha/shlib-versions: ... here.
13455         * sysdeps/arm/shlib-versions: Move to ...
13456         * sysdeps/unix/sysv/linux/arm/shlib-versions: ... here.
13457         * sysdeps/hppa/shlib-versions: Move all contents except for
13458         libgcc_s entry to ...
13459         * sysdeps/unix/sysv/linux/hppa/shlib-versions: ... here.  Merge in
13460         entry from ...
13461         * sysdeps/hppa/nptl/shlib-versions: ... here.  Remove file.
13462         * sysdeps/ia64/shlib-versions: Move to ...
13463         * sysdeps/unix/sysv/linux/ia64/shlib-versions: ... here.  Merge in
13464         entry from ...
13465         * sysdeps/ia64/nptl/shlib-versions: ... here.  Remove file.
13466         * sysdeps/m68k/coldfire/shlib-versions: Move to ...
13467         * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: ... here.
13468         * sysdeps/microblaze/shlib-versions: Move to ...
13469         * sysdeps/unix/sysv/linux/microblaze/shlib-versions: ... here.
13470         * sysdeps/mips/shlib-versions: Move to ...
13471         * sysdeps/unix/sysv/linux/mips/shlib-versions: ... here.  Merge in
13472         entry from ...
13473         * sysdeps/mips/nptl/shlib-versions: ... here.  Remove file.
13474         * sysdeps/tile/shlib-versions: Move to ...
13475         * sysdeps/unix/sysv/linux/tile/shlib-versions: ... here.
13476         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Merge in entry
13477         from ...
13478         * sysdeps/x86_64/64/shlib-versions: ... here.  Remove file.
13479         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Merge in
13480         entry from ...
13481         * sysdeps/x86_64/x32/shlib-versions: ... here.  Remove file.
13483 2014-07-17  Will Newton  <will.newton@linaro.org>
13485         * sysdeps/arm/bits/atomic.h
13486         (__arch_compare_and_exchange_bool_8_int): Evaluate to zero.
13487         (__arch_compare_and_exchange_bool_16_int): Likewise.
13488         (__arch_compare_and_exchange_bool_64_int): Likewise.
13490         * iconv/loop.c: Move definition of LOOPFCT and gconv_btowc
13491         into an #else block.
13493 2014-07-16  Roland McGrath  <roland@hack.frob.com>
13495         * sysdeps/arm/preconfigure.ac: Apply EABI sanity check to arm*, not
13496         just Linux configurations.  Test empirically that the compiler sets
13497         __ARM_EABI__, rather than using the tuple to decide.
13498         * sysdeps/arm/preconfigure: Regenerated.
13499         * sysdeps/unix/sysv/linux/arm/configure: File removed.
13500         * sysdeps/unix/sysv/linux/arm/configure.ac: File removed,
13501         contents appended ...
13502         * sysdeps/arm/configure.ac: ... here.
13503         * sysdeps/arm/configure: Regenerated.
13505 2014-07-15  Roland McGrath  <roland@hack.frob.com>
13507         * nptl/pthread_kill.c: New file.
13508         * nptl/pthread_sigmask.c: New file.
13509         * nptl/pthread_sigqueue.c: New file.
13511         * sysdeps/nptl/lowlevellock.h: New file.
13512         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: New file.
13513         * sysdeps/nptl/lowlevellock-futex.h: New file.
13515         * nptl/pthreadP.h (__current_sigrtmin, __current_sigrtmax):
13516         Remove dead declarations.
13518 2014-07-14  H.J. Lu  <hongjiu.lu@intel.com>
13520         * config.h.in (HAVE_AVX2_SUPPORT): New #undef.
13521         * sysdeps/i386/configure.ac: Set HAVE_AVX2_SUPPORT and
13522         config-cflags-avx2.
13523         * sysdeps/x86_64/configure.ac: Likewise.
13524         * sysdeps/i386/configure: Regenerated.
13525         * sysdeps/x86_64/configure: Likewise.
13526         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
13527         memset-avx2 only if config-cflags-avx2 is yes.
13528         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
13529         Tests for memset_chk and memset only if HAVE_AVX2_SUPPORT is
13530         defined.
13531         * sysdeps/x86_64/multiarch/memset.S: Define multiple versions
13532         only if HAVE_AVX2_SUPPORT is defined.
13533         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
13535 2014-07-14  Alan Modra  <amodra@gmail.com>
13537         [BZ #17153]
13538         * elf/elf.h (DT_PPC64_NUM): Correct value.
13539         * NEWS: Add to fixed bug list.
13541 2014-07-13  Jim Meyering  <meyering@fb.com>
13543         [BZ 17150]
13544         regex: don't deref NULL upon heap allocation failure
13545         * posix/regcomp.c: (parse_dup_op): Handle duplicate_tree
13546         failure in one more place.
13547         To trigger the segfault, configure grep -with-included-regex,
13548         build it, and run these commands:
13549         ( ulimit -v 300000; echo a|src/grep -E a+++++++++++++++++++++ )
13551 2014-07-13  Andreas Schwab  <schwab@linux-m68k.org>
13553         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
13555 2014-07-11  Richard Henderson  <rth@redhat.com>
13557         * sysdeps/aarch64/libm-test-ulps: Update.
13559 2014-07-10  Florian Weimer  <fweimer@redhat.com>
13561         [BZ #17135]
13562         * nptl/pthreadP.h (__nptl_setxid_error): Declare function.
13563         * nptl/allocatestack.c (__nptl_setxid_error): New function.
13564         (__nptl_setxid): Initialize error member.  Call
13565         __nptl_setxid_error.
13566         * nptl/nptl-init.c (sighandler_setxid): Call __nptl_setxid_error.
13567         * nptl/descr.h (struct xid_command): Add error member.
13568         * nptl/tst-setuid3.c: New file.
13569         * nptl/Makefile (tests): Add it.
13571 2014-07-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13573         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h (__lll_base_trylock):
13574         New define.
13575         (__lll_trylock): Use __lll_base_trylock.
13576         (__lll_cond_trylock): Likewise.
13578 2014-07-10  Roland McGrath  <roland@hack.frob.com>
13580         * nptl/pthread_create.c (start_thread): Use atomic_or and
13581         lll_futex_wake directly rather than lll_robust_dead.
13582         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
13583         (lll_robust_dead): Macro removed.
13584         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Likewise.
13585         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
13586         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
13587         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
13588         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
13589         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
13590         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
13591         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
13592         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
13593         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
13594         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
13595         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
13596         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
13597         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
13598         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
13600         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
13601         Use atomic_compare_and_exchange_val_acq directly rather than
13602         lll_robust_trylock.
13603         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
13604         (__lll_robust_trylock, lll_robust_trylock): Removed.
13605         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
13606         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
13607         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
13608         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
13609         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
13610         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
13611         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
13612         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
13613         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
13614         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
13615         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
13616         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
13617         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
13618         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
13620 2014-07-02  Florian Weimer  <fweimer@redhat.com>
13622         * manual/locale.texi (Locale Names): New section documenting
13623         locale name syntax.  Adjust menu and node chaining accordingly.
13624         (Choosing Locale): Reference Locale Names, Locale Categories.
13625         Mention setting LC_ALL=C.  Reflect that name syntax is now
13626         documented.
13627         (Locale Categories): New section title.  Reference Locale Names.
13628         LC_ALL is an environment variable, but not a category.
13629         (Setting the Locale): Remove "locale -a" invocation and LOCPATH
13630         description, now in Locale Name.  Reference that section.  Locale
13631         name syntax is now documented.
13633 2014-07-02  Florian Weimer  <fweimer@redhat.com>
13635         [BZ #17137]
13636         * locale/findlocale.c (name_present, valid_locale_name): New
13637         functions.
13638         (_nl_find_locale): Use the loc_name variable to store name
13639         candidates.  Call name_present and valid_locale_name to check and
13640         validate locale names.  Return an error if the locale is invalid.
13642 2014-07-02  Florian Weimer  <fweimer@redhat.com>
13644         * locale/setlocale.c (setlocale): Use strdup for allocating
13645         composite name copy.
13647 2014-07-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
13649         Sync up with gnulib.
13650         * misc/error.c: Use !_LIBC instead of HAVE_CONFIG_H.
13651         [!_LIBC && ENABLE_NLS]: Include gettext.h.
13652         [_LIBC]: Define USE_UNLOCKED_IO, _GL_ATTRIBUTE_FORMAT_PRINTF
13653         and _GL_ARG_NONNULL.
13654         [USE_UNLOCKED_IO]: Include unlocked-io.h.
13655         [!_LIBC]: Include code for Windows and Cygwin.
13656         [!_LIBC && !HAVE_DECL_STRERROR_R && !STRERROR_R_CHAR_P]:
13657         Include prototype for int strerror_r.
13658         [!_LIBC] (is_open): New function.
13659         (flush_stdout): New function.
13660         (print_errno_message): Use it.
13661         (error): Likewise.
13662         (error_at_line): Likewise.
13663         (error_tail) Add function attribute macros.  Use
13664         __builtin_expect.
13666         * time/strptime_l.c [_LIBC]: Define HAVE_LOCALTIME_R.
13668         * time/strftime_l.c [_LIBC]: Define HAVE_STRFTIME.
13670         * io/ftw.c: Include sys/param.h unconditionally.
13672         * locale/programs/simple-hash.c [!HAVE_OBSTACK]: Remove code.
13674         [BZ #17125]
13675         * sysdeps/unix/sysv/linux/check_pf.c (cache): Don't use
13676         libc_freeres_ptr.
13677         (freecache): New function to free CACHE on exit.
13679         * sunrpc/xdr.c (xdr_string): Add comment about SIZE
13680         initialization.
13682 2014-07-09  David S. Miller  <davem@davemloft.net>
13684         * sysdeps/sparc/fpu/libm-test-ulps: Update.
13686         * sysdeps/sparc/nptl/internaltypes.h: Delete.
13687         * sysdeps/sparc/nptl/sparc-nptl.h: New file.
13688         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: Include it.
13689         * sysdeps/sparc/nptl/pthread_barrier_init.c: Likewise.
13690         * sysdeps/sparc/nptl/pthread_barrier_wait.c: Likewise.
13691         * sysdeps/sparc/nptl/sem_init.c: Likewise.
13692         * sysdeps/sparc/nptl/sem_post.c: Likewise.
13693         * sysdeps/sparc/nptl/sem_timedwait.c: Likewise.
13694         * sysdeps/sparc/nptl/sem_wait.c: Likewise.
13695         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Likewise.
13696         * sysdeps/sparc/sparc32/nptl/sem_post.c: Likewise.
13697         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Likewise.
13698         * sysdeps/sparc/sparc32/nptl/sem_wait.c: Likewise.
13700 2014-07-09  Andreas Schwab  <schwab@suse.de>
13702         * sysdeps/powerpc/test-gettimebase.c (do_test): Add newline to
13703         output.
13704         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c
13705         (do_test): Likewise.
13707         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
13709 2014-07-09  Will Newton  <will.newton@linaro.org>
13711         * sysdeps/aarch64/tlsdesc.c (_dl_unmap): Test SHARED with #ifdef.
13712         * sysdeps/arm/tlsdesc.c (_dl_unmap): Likewise.
13713         * sysdeps/i386/tlsdesc.c (_dl_unmap): Likewise.
13714         * sysdeps/x86_64/tlsdesc.c (_dl_unmap): Likewise.
13715         * sysdeps/hppa/start.S (_start): Likewise.
13717 2014-07-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
13719         * sunrpc/xdr.c (xdr_string): Initialize SIZE to 0.
13721         * sysdeps/generic/unwind-pe.h: Only check if __cplusplus is
13722         defined.
13724 2014-07-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
13726         * resolv/res_query.c (__libc_res_nsearch): Dereference resplen2
13727         after checking that it is non-NULL.
13729         * sysdeps/i386/dl-machine.h: Define ELF_MACHINE_NO_REL.
13731 2014-07-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13733         * sysdeps/powerpc/memmove.c: Remove file.
13734         * sysdeps/powerpc/powerpc32/power4/memcopy.h
13735         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Define it to 1.
13736         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
13737         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Remove define.
13738         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c:
13739         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Likewise.
13740         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Include default
13741         string memmove instead of removed powerpc one.
13743         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
13744         [weak_alias]: Fix compiler warning due trailing data.
13745         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S:
13746         [weak_alias]: Likewise.
13747         * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: Fix compile
13748         warnigs due missing definition of __strcpy_power7 and __strlen_power7.
13750         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
13751         (__libc_ifunc_impl_list): Add memmove functions.
13753 2014-07-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
13755         * localedata/tests-mbwc/dat_iswalnum.c [SHOJI_IS_RIGHT]:
13756         Remove code.
13757         * localedata/tests-mbwc/dat_iswalpha.c [SHOJI_IS_RIGHT]:
13758         Likewise
13759         * localedata/tests-mbwc/dat_iswctype.c [SHOJI_IS_RIGHT]:
13760         Likewise
13761         * localedata/tests-mbwc/dat_iswgraph.c [SHOJI_IS_RIGHT]:
13762         Likewise
13763         * localedata/tests-mbwc/dat_iswprint.c [SHOJI_IS_RIGHT]:
13764         Likewise
13765         * localedata/tests-mbwc/dat_iswpunct.c [SHOJI_IS_RIGHT]:
13766         Likewise
13767         * localedata/tests-mbwc/dat_mbrlen.c [SHOJI_IS_RIGHT]:
13768         Likewise
13769         * localedata/tests-mbwc/dat_mbstowcs.c [SHOJI_IS_RIGHT]:
13770         Likewise
13771         * localedata/tests-mbwc/dat_mbtowc.c [SHOJI_IS_RIGHT]:
13772         Likewise
13773         * localedata/tests-mbwc/dat_strcoll.c [SHOJI_IS_RIGHT]:
13774         Likewise
13775         * localedata/tests-mbwc/dat_swscanf.c [SHOJI_IS_RIGHT]:
13776         Likewise
13777         * localedata/tests-mbwc/dat_towctrans.c [SHOJI_IS_RIGHT]:
13778         Likewise
13779         * localedata/tests-mbwc/dat_wcscoll.c [SHOJI_IS_RIGHT]:
13780         Likewise
13781         * localedata/tests-mbwc/dat_wcswidth.c [SHOJI_IS_RIGHT]:
13782         Likewise
13783         * localedata/tests-mbwc/dat_wctob.c [SHOJI_IS_RIGHT]:
13784         Likewise
13785         * localedata/tests-mbwc/dat_wcwidth.c [SHOJI_IS_RIGHT]:
13786         Likewise
13787         * localedata/tests-mbwc/tst_towctrans.c [SHOJI_IS_RIGHT]:
13788         Likewise
13790 2014-07-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13792         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Align VSX copies to 16B
13793         to avoid alignment traps in non-cacheable memory.
13794         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
13796         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memmove
13797         multiarch objects.
13798         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c: New
13799         file: multiarch power7 memmove.
13800         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c: New file:
13801         multiarch default memmove.
13802         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: New file:
13803         multiarch memove for powerpc32/power4.
13805         * string/bcopy.c: Use full path to include memmove.c.
13806         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memmove and bcopy
13807         multiarch objects.
13808         * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c: New file: default
13809         bcopy for powerpc64.
13810         * sysdeps/powerpc/powerpc64/multiarch/bcopy.c: New file: multiarch
13811         bcopy for powerpc64.
13812         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Add bcopy
13813         and memmove implementations.
13814         * sysdeps/powerpc/powerpc64/multiarch/memmove-power7.S: New file:
13815         optimized multiarch memmove for POWER7/powerpc64.
13816         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: New file:
13817         default multiarch memmove for powerpc64.
13818         * sysdeps/powerpc/powerpc64/multiarch/memmove.c: New file: memmove
13819         multiarch for powerpc64.
13820         * sysdeps/powerpc/powerpc64/power7/bcopy.c: New file: optimized bcopy
13821         for POWER7/powerpc64.
13822         * sysdeps/powerpc/powerpc64/power7/memmove.S: New file: optimized
13823         memmove for POWER7/powerpc64.
13825         * sysdeps/powerpc/memmove.c (memmove): Cleanup impplementation to use
13826         glibc default one.
13828         * sysdeps/powerpc/bits/link.h [_CALL_ELF]: Guard check for
13829         __ELF_NATIVE_CLASS equal to 64.
13831 2014-07-07  Roland McGrath  <roland@hack.frob.com>
13833         * sysdeps/nptl/lowlevellock.h: File removed.
13835         * NEWS: NPTL is no longer an add-on!
13836         * nptl/internaltypes.h: Moved ...
13837         * sysdeps/nptl/internaltypes.h: ... here.
13838         * sysdeps/nptl/aio_misc.h: Use <nptl/pthreadP.h> in #include.
13839         * sysdeps/nptl/fork.c: Likewise.
13840         * sysdeps/nptl/gai_misc.h: Likewise.
13841         * sysdeps/nptl/librt-cancellation.c: Likewise.
13842         * sysdeps/nptl/jmp-unwind.c: Likewise.
13843         * sysdeps/nptl/setxid.h: Likewise.
13844         * sysdeps/unix/sysv/linux/aarch64/Implies: New file.
13845         * sysdeps/unix/sysv/linux/alpha/Implies: Add alpha/nptl.
13846         * sysdeps/unix/sysv/linux/arm/Implies: New file.
13847         * sysdeps/unix/sysv/linux/hppa/Implies: New file.
13848         * sysdeps/unix/sysv/linux/i386/Implies: Add i386/nptl.
13849         * sysdeps/unix/sysv/linux/i386/i686/Implies: New file.
13850         * sysdeps/unix/sysv/linux/ia64/Implies: Add ia64/nptl.
13851         * sysdeps/unix/sysv/linux/m68k/Implies: New file.
13852         * sysdeps/unix/sysv/linux/microblaze/Implies: New file.
13853         * sysdeps/unix/sysv/linux/mips/Implies: New file.
13854         * sysdeps/unix/sysv/linux/powerpc/Implies: New file.
13855         * sysdeps/unix/sysv/linux/s390/Implies: Add s390/nptl.
13856         * sysdeps/unix/sysv/linux/sh/Implies: New file.
13857         * sysdeps/unix/sysv/linux/sparc/Implies: New file.
13858         * sysdeps/unix/sysv/linux/tile/Implies: New file.
13859         * sysdeps/unix/sysv/linux/x86_64/Implies: Add x86_64/nptl.
13860         * sysdeps/unix/sysv/linux/x86_64/x32/Implies: New file.
13861         * nptl/Makeconfig: Moved ...
13862         * sysdeps/nptl/Makeconfig: ... here.
13863         * nptl/configure: File removed.
13864         * nptl/ANNOUNCE: File removed.
13865         * sysdeps/unix/sysv/linux/configure.ac: Remove nptl sanity check.
13866         * sysdeps/unix/sysv/linux/configure: Regenerated.
13868         * nptl/Makefile (routines): Add libc_pthread_init,
13869         libc_multiple_threads, register-atfork and unregister-atfork.
13870         (libpthread-routines): Add pthread_mutex_cond_lock and pt-fork here.
13871         (gen-as-const-headers): Add lowlevelcond.sym, lowlevelrwlock.sym,
13872         lowlevelbarrier.sym, unwindbuf.sym, lowlevelrobustlock.sym,
13873         pthread-pi-defines.sym, structsem.sym.
13874         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = posix]
13875         (CFLAGS-fork.c, CFLAGS-getpid.o, CFLAGS-getpid.os): New variables.
13876         [$(subdir) = nptl] (tests): Add tst-setgetname.
13877         * nptl/sysdeps/unix/sysv/linux/Makefile: File removed.
13878         * sysdeps/unix/sysv/linux/sigaction.c: Just include
13879         <nptl/sigaction.c> directly here, instead of WRAPPER_INCLUDE.
13880         [!LIBC_SIGACTION]: Remove aliases.
13881         * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
13882         * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
13883         * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
13884         * sysdeps/unix/sysv/linux/ia64/sigaction.c: Likewise.
13885         * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
13886         * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c: Likewise.
13887         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
13888         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
13889         * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
13890         * nptl/Versions (libc: GLIBC_2.3.2): Add __register_atfork.
13891         (libc: GLIBC_PRIVATE): Add __libc_pthread_init,
13892         __libc_current_sigrtmin_private, __libc_current_sigrtmax_private,
13893         __libc_allocate_rtsig_private.
13894         * nptl/sysdeps/unix/sysv/linux/Versions: File removed.
13895         * sysdeps/unix/sysv/linux/sigtimedwait.c: Include <nptl/pthreadP.h>.
13896         * sysdeps/unix/sysv/linux/sigwait.c: Likewise.
13897         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
13898         * sysdeps/unix/sysv/linux/sleep.c: Likewise.
13899         * nptl/sysdeps/unix/sysv/linux/sigwait.c: File removed.
13900         * nptl/sysdeps/unix/sysv/linux/sigtimedwait.c: File removed.
13901         * nptl/sysdeps/unix/sysv/linux/sigwaitinfo.c: File removed.
13902         * nptl/sysdeps/unix/sysv/linux/sleep.c: File removed.
13903         * nptl/sysdeps/unix/sysv/linux/createthread.c: File removed.
13904         * sysdeps/unix/sysv/linux/ia64/fork.S: File removed.
13905         * nptl/sysdeps/unix/sysv/linux/internaltypes.h: Moved ...
13906         * nptl/internaltypes.h: ... here.
13907         * nptl/sysdeps/unix/sysv/linux/jmp-unwind.c: Moved ...
13908         * sysdeps/nptl/jmp-unwind.c: ... here.
13909         * nptl/sysdeps/unix/sysv/linux/libc-lowlevellock.c: Moved ...
13910         * nptl/libc-lowlevellock.c: ... here.
13911         * nptl/sysdeps/unix/sysv/linux/libc_multiple_threads.c: Moved ...
13912         * nptl/libc_multiple_threads.c: ... here.
13913         * nptl/sysdeps/unix/sysv/linux/libc_pthread_init.c: Moved ...
13914         * nptl/libc_pthread_init.c: ... here.
13915         * nptl/sysdeps/unix/sysv/linux/lowlevelbarrier.sym: Moved ...
13916         * nptl/lowlevelbarrier.sym: ... here.
13917         * nptl/sysdeps/unix/sysv/linux/lowlevelcond.sym: Moved ...
13918         * nptl/lowlevelcond.sym: ... here.
13919         * nptl/sysdeps/unix/sysv/linux/lowlevellock.c: Moved ...
13920         * nptl/lowlevellock.c: ... here.
13921         * nptl/lowlevellock.h: Moved ...
13922         * sysdeps/nptl/lowlevellock.h: ... here.
13923         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Moved ...
13924         * nptl/lowlevelrobustlock.c: ... here.
13925         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.sym: Moved ...
13926         * nptl/lowlevelrobustlock.sym: ... here.
13927         * nptl/sysdeps/unix/sysv/linux/lowlevelrwlock.sym: Moved ...
13928         * nptl/lowlevelrwlock.sym: ... here.
13929         * nptl/sysdeps/unix/sysv/linux/pt-fork.c: Moved ...
13930         * nptl/pt-fork.c: ... here.
13931         * nptl/sysdeps/unix/sysv/linux/pthread-pi-defines.sym: Moved ...
13932         * nptl/pthread-pi-defines.sym: ... here.
13933         * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Moved ...
13934         * nptl/pthread_attr_getaffinity.c: ... here.
13935         * nptl/sysdeps/unix/sysv/linux/pthread_attr_setaffinity.c: Moved ...
13936         * nptl/pthread_attr_setaffinity.c: ... here.
13937         * nptl/sysdeps/unix/sysv/linux/pthread_mutex_cond_lock.c: Moved ...
13938         * nptl/pthread_mutex_cond_lock.c: ... here.
13939         * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
13940         Update #include.
13941         * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Likewise.
13942         * nptl/sysdeps/unix/sysv/linux/pthread_once.c: Moved ...
13943         * nptl/pthread_once.c: ... here, replacing old file.
13944         * nptl/sysdeps/unix/sysv/linux/pthread_yield.c: Moved ...
13945         * nptl/pthread_yield.c: ... here.
13946         * nptl/sysdeps/unix/sysv/linux/register-atfork.c: Moved ...
13947         * nptl/register-atfork.c: ... here.
13948         * nptl/sysdeps/unix/sysv/linux/sem_post.c: Moved ...
13949         * nptl/sem_post.c: ... here.
13950         * sysdeps/unix/sysv/linux/alpha/sem_post.c: Update #include.
13951         * nptl/sysdeps/unix/sysv/linux/sem_timedwait.c: Moved ...
13952         * nptl/sem_timedwait.c: ... here.
13953         * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Moved ...
13954         * nptl/sem_trywait.c: ... here.
13955         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Update #include.
13956         * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Moved ...
13957         * nptl/sem_wait.c: ... here.
13958         * nptl/sysdeps/unix/sysv/linux/structsem.sym: Moved ...
13959         * nptl/structsem.sym: ... here.
13960         * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Moved ...
13961         * sysdeps/unix/sysv/linux/mq_notify.c: ... here, replacing old file.
13962         * nptl/sysdeps/unix/sysv/linux/unregister-atfork.c: Moved ...
13963         * nptl/unregister-atfork.c: ... here.
13964         * nptl/sysdeps/unix/sysv/linux/unwindbuf.sym: Moved ...
13965         * nptl/unwindbuf.sym: ... here.
13966         * nptl/sysdeps/unix/sysv/linux/fork.c: Moved ...
13967         * sysdeps/nptl/fork.c: ... here.
13968         * nptl/sysdeps/unix/sysv/linux/fork.h: Moved ...
13969         * sysdeps/nptl/fork.h: ... here.
13970         * sysdeps/unix/sysv/linux/syscalls.list: Remove fork.
13971         * nptl/sysdeps/unix/sysv/linux/aio_misc.h: Moved ...
13972         * sysdeps/unix/sysv/linux/aio_misc.h: ... here.
13973         * nptl/sysdeps/unix/sysv/linux/allocrtsig.c: Moved ...
13974         * sysdeps/unix/sysv/linux/allocrtsig.c: ... here.
13975         * nptl/sysdeps/unix/sysv/linux/getpid.c: Moved ...
13976         * sysdeps/unix/sysv/linux/getpid.c: ... here.
13977         * nptl/sysdeps/unix/sysv/linux/kernel-posix-timers.h: Moved ...
13978         * sysdeps/unix/sysv/linux/kernel-posix-timers.h: ... here.
13979         * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Moved ...
13980         * sysdeps/unix/sysv/linux/pt-raise.c: ... here.
13981         * nptl/sysdeps/unix/sysv/linux/pthread_getaffinity.c: Moved ...
13982         * sysdeps/unix/sysv/linux/pthread_getaffinity.c: ... here.
13983         * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Moved ...
13984         * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: ... here.
13985         * nptl/sysdeps/unix/sysv/linux/pthread_getname.c: Moved ...
13986         * sysdeps/unix/sysv/linux/pthread_getname.c: ... here.
13987         * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Moved ...
13988         * sysdeps/unix/sysv/linux/pthread_kill.c: ... here.
13989         * nptl/sysdeps/unix/sysv/linux/pthread_setaffinity.c: Moved ...
13990         * sysdeps/unix/sysv/linux/pthread_setaffinity.c: ... here.
13991         * nptl/sysdeps/unix/sysv/linux/pthread_setname.c: Moved ...
13992         * sysdeps/unix/sysv/linux/pthread_setname.c: ... here.
13993         * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Moved ...
13994         * sysdeps/unix/sysv/linux/pthread_sigqueue.c: ... here.
13995         * nptl/sysdeps/unix/sysv/linux/raise.c: Moved ...
13996         * sysdeps/unix/sysv/linux/raise.c: ... here.
13997         * nptl/sysdeps/unix/sysv/linux/timer_create.c: Moved ...
13998         * sysdeps/unix/sysv/linux/timer_create.c: ... here.
13999         * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Moved ...
14000         * sysdeps/unix/sysv/linux/timer_delete.c: ... here.
14001         * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Moved ...
14002         * sysdeps/unix/sysv/linux/timer_getoverr.c: ... here.
14003         * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Moved ...
14004         * sysdeps/unix/sysv/linux/timer_gettime.c: ... here.
14005         * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Moved ...
14006         * sysdeps/unix/sysv/linux/timer_routines.c: ... here.
14007         * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Moved ...
14008         * sysdeps/unix/sysv/linux/timer_settime.c: ... here.
14009         * nptl/sysdeps/unix/sysv/linux/tst-setgetname.c: Moved ...
14010         * sysdeps/unix/sysv/linux/tst-setgetname.c: ... here.
14011         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Update #include.
14013 2014-07-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
14015         * sysdeps/generic/memcopy.h: Add comment for
14016         MEMCPY_OK_FOR_FWD_MEMMOVE.
14018 2014-07-04  Will Newton  <will.newton@linaro.org>
14020         * string/memchr.c: Merge from gnulib.
14021         [_LIBC]: Remove conditionals.
14022         (__ptr_t): Remove define.
14023         (LONG_MAX_32_BITS): Likewise.
14024         (LONG_MAX): Likewise.
14025         (MEMCHR): Use ANSI prototype and optimize algorithm.
14027         * sysdeps/arm/dl-machine.h (ELF_MACHINE_NO_REL): Define.
14029 2014-07-03  Roland McGrath  <roland@hack.frob.com>
14031         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h
14032         (lll_futex_timed_wait_bitset): Fix syscall argument count.
14034         * sysdeps/nptl/configure.ac (libc_cv_forced_unwind):
14035         Use -Dinhibit_libc=1 for unwind.h check to prevent false failure
14036         in a bare environment with no <stdlib.h> installed.
14037         * sysdeps/nptl/configure: Regenerated.
14039         * sysdeps/alpha/fpu/s_nearbyint.c: Include <math_ldbl_opt.h>.
14041         * sysdeps/unix/sysv/linux/configure.ac: Use AC_TRY_COMPILE rather than
14042         AC_EGREP_CPP for kernel header checks, so they only succeed if
14043         including <linux/version.h> actually works right.
14044         * sysdeps/unix/sysv/linux/configure: Regenerated.
14046         * sysdeps/s390/nptl/tls.h (THREAD_SET_POINTER_GUARD): Refer to the
14047         value so it's not diagnosed as unused.
14049         * sysdeps/pthread/Makefile: Conditionalize tst-timer bits (the only
14050         thing) with "ifeq ($(subdir),rt)".
14052 2014-07-03  Richard Henderson  <rth@redhat.com>
14054         * sysdeps/alpha/fpu/s_nearbyintf.c: Remove file.
14055         * sysdeps/alpha/fpu/s_nearbyint.c (__nearbyint): Remove;
14056         include sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c.
14058         * sysdeps/alpha/fpu/math_private.h (math_opt_barrier): New.
14059         (math_force_eval): New.
14061         * sysdeps/alpha/fpu/s_lround.c: Add 0.5 with chopped rounding.
14062         * sysdeps/alpha/fpu/s_lroundf.c: Likewise.
14064         * sysdeps/alpha/fpu/s_round.c: Remove file.
14065         * sysdeps/alpha/fpu/s_roundf.c: Remove file.
14067         * elf/dl-support.c (HP_TIMING_AVAIL): Do not redefine.
14068         (_dl_non_dynamic_init): Check HP_SMALL_TIMING_AVAIL instead.
14069         * elf/rtld.c (HP_TIMING_AVAIL): Do not redefine.
14070         (_dl_start_final): Check HP_SMALL_TIMING_AVAIL instead.
14071         (_dl_start, print_statistics): Likewise.
14072         * sysdeps/generic/ldsodefs.h (struct rtld_global): Only check
14073         HP_SMALL_TIMING_AVAIL in defining _dl_cpuclock_offset.
14075         * sysdeps/aarch64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
14076         * sysdeps/generic/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
14077         * sysdeps/i386/i686/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
14078         * sysdeps/ia64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
14079         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
14080         (HP_SMALL_TIMING_AVAIL): Define.
14081         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
14082         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
14083         (HP_SMALL_TIMING_AVAIL): Define.
14084         * sysdeps/sparc/sparc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
14085         * sysdeps/x86_64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
14087         * sysdeps/aarch64/hp-timing.h: New file.
14089         * sysdeps/generic/hp-timing.h: Remove dead comment.
14090         * sysdeps/generic/hp-timing-common.h: New file.
14091         * sysdeps/alpha/hp-timing.h: Include it.
14092         (HP_TIMING_DIFF, HP_TIMING_ACCUM_NT, HP_TIMING_PRINT): Remove.
14093         * sysdeps/i386/i686/hp-timing.h: Likewise.
14094         * sysdeps/ia64/hp-timing.h: Likewise.
14095         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
14096         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
14097         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
14098         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
14099         * sysdeps/x86_64/hp-timing.h: Don't include the i686 version.
14100         (HP_TIMING_AVAIL, HP_TIMING_INLINE): Define.
14101         (hp_timing_t): New.
14103         * benchtests/bench-string.h (_dl_hp_timing_overhead): Remove.
14104         * benchtests/bench-timing.h (_dl_hp_timing_overhead): Remove.
14105         (TIMING_INIT): Remove call to HP_TIMING_DIFF_INIT.
14106         * elf/rtld.c (_dl_start_final): Likewise.
14107         * sysdeps/generic/ldsodefs.h (_dl_hp_timing_overhead): Remove.
14108         * sysdeps/alpha/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
14109         * sysdeps/generic/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
14110         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
14111         * sysdeps/ia64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
14112         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
14113         (HP_TIMING_DIFF_INIT): Remove.
14114         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
14115         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
14116         (HP_TIMING_DIFF_INIT): Remove.
14117         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
14118         * sysdeps/i386/i686/hp-timing.c: Remove file.
14119         * sysdeps/x86_64/hp-timing.c: Remove file.
14120         * sysdeps/ia64/hp-timing.c: Remove file.
14121         * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Remove file.
14122         * sysdeps/powerpc/powerpc64/hp-timing.c: Remove file.
14123         * sysdeps/sparc/sparc32/sparcv9/hp-timing.c: Remove file.
14124         * sysdeps/sparc/sparc64/hp-timing.c: Remove file.
14126         * sysdeps/alpha/hp-timing.h (HP_TIMING_ACCUM): Remove.
14127         * sysdeps/generic/hp-timing.h (HP_TIMING_ACCUM): Remove.
14128         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ACCUM): Remove.
14129         * sysdeps/ia64/hp-timing.h (HP_TIMING_ACCUM): Remove.
14130         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
14131         (HP_TIMING_ACCUM): Remove.
14132         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
14133         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ACCUM): Remove.
14134         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
14136         * sysdeps/alpha/hp-timing.h (HP_TIMING_ZERO): Remove.
14137         * sysdeps/generic/hp-timing.h (HP_TIMING_ZERO): Remove.
14138         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ZERO): Remove.
14139         * sysdeps/ia64/hp-timing.h (HP_TIMING_ZERO): Remove.
14140         * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_ZERO): Remove.
14141         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ZERO): Remove.
14142         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ZERO): Remove.
14143         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ZERO): Remove.
14145         * sysdeps/powerpc/powerpc32/hp-timing.h: Remove file.
14147 2014-07-03  Maciej W. Rozycki  <macro@codesourcery.com>
14149         * stdlib/tst-strtod-overflow.c (TIMEOUT): Bump up to 30.
14151 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
14153         Sync up with gettext.
14154         * intl/loadmsgcat.c: Define O_BINARY if not defined.
14155         [_MSC_VER]: Include malloc.h
14156         [_LIBC]: Define PRI_MACROS_BROKEN if it is not defined.
14157         (get_sysdep_segment_value) [!__UCLIBC__]: Return "I" flag.
14158         (_nl_load_domain): Open DOMAIN_FILE in binary mode.  Don't use
14159         TEMP_FAILURE_RETRY.  Cast return of alloca.
14160         [!_LIBC] Call gl_rwlock_init.
14161         [IN_LIBGLOCALE]: Call _nl_find_msg with one less argument.
14163 2014-07-02  Roland McGrath  <roland@hack.frob.com>
14165         * misc/sys/cdefs.h: Check if __STDC_VERSION__ is defined
14166         before checking its value.
14168 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
14170         * intl/loadmsgcat.c (_nl_load_domain): Use __builtin_expect.
14172         * debug/memcpy_chk.c: Don't include pagecopy.h.
14173         * debug/mempcpy_chk.c: Likewise.
14174         * string/memcpy.c: Likewise.
14175         * string/memmove.c: Likewise.
14176         * sysdeps/powerpc/memmove.c: Likewise.
14177         * sysdeps/generic/memcopy.h: Include pagecopy.h.  Move
14178         definition of PAGE_COPY_FWD_MAYBE here...
14179         * sysdeps/generic/pagecopy.h: ... from here.
14180         * sysdeps/mach/pagecopy.h: Don't include generic pagecopy.h.
14182 2014-07-02  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
14183             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14185         * sysdeps/powerpc/strcat.c: Using macro to redefine symbol name.
14186         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcat multiarch
14187         optimizations.
14188         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
14189         (__libc_ifunc_impl_list): Likewise.
14190         * sysdeps/powerpc/powerpc64/multiarch/strcat.c: New file:
14191         multiarch strcat for PPC64.
14192         * sysdeps/powerpc/powerpc64/multiarch/strcat-ppc64.c: New file/
14193         * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: New file.
14195 2014-07-02  Roland McGrath  <roland@hack.frob.com>
14197         * sysdeps/unix/sysv/linux/dl-sysdep.c: Include <sys/param.h>.
14199 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
14201         * intl/loadmsgcat.c: Remove declaration of
14202         get_sysdep_segment_value.
14203         (get_sysdep_segment_value): Use ISO C style.
14204         (_nl_load_domain): Use ISO C style.  Get rid of redundant
14205         semicolon.  Fix typo and formatting in comment.
14206         (_nl_unload_domain): Use ISO C style.
14208         * sysdeps/posix/sysconf.c (__sysconf): Fix typo in macro name.
14210 2014-07-02  Will Newton  <will.newton@linaro.org>
14212         * malloc/obstack.c: Merge from gnulib master.
14213         [HAVE_CONFIG_H]: Remove conditional code.
14214         [!_LIBC]: Include config.h.
14215         [!ELIDE_CODE]: Don't include inttypes.h, include
14216         stdint.h unconditionally.
14217         (print_and_abort): Mark as _Noreturn.
14218         (_obstack_allocated_p): Mark as __attribute_pure__.
14219         (obstack_free): Rename to __obstack_free.
14220         [!__attribute__]: Remove conditional code.
14221         * malloc/obstack.h: Merge from gnulib master.
14222         [__cplusplus]: Move conditional down.
14223         [!__attribute_pure__]: Define __attribute_pure__ here
14224         if it is not already defined.
14225         (_obstack_memory_used): Mark as __attribute_pure__.
14226         [!__obstack_free]: Define as obstack_free.
14227         [__GNUC__]: Remove check for ancient NeXT gcc.
14229 2014-07-02  Will Newton  <will.newton@linaro.org>
14230             Paul Eggert  <eggert@cs.ucla.edu>
14232         * misc/sys/cdefs.h (_Noreturn): New macro, for pre-C11 compilers.
14234 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
14236         * resolv/gethnamaddr.c: Add comment warning that the file is
14237         not maintained.
14239 2014-07-01  Carlos O'Donell  <carlos@redhat.com>
14241         * sysdeps/unix/sysv/linux/hppa/librt.abilist: Remove GLIBC_2.3
14242         entries.
14244         * sysdeps/unix/sysv/linux/hppa/Versions: Remove librt GLIBC_2.3
14245         entry for aio_cancel and aio_cancel64.
14246         * sysdeps/unix/sysv/linux/hppa/ld.abilist: New file.
14247         * sysdeps/unix/sysv/linux/hppa/libBrokenLocale.abilist: New file.
14248         * sysdeps/unix/sysv/linux/hppa/libanl.abilist: New file.
14249         * sysdeps/unix/sysv/linux/hppa/libc.abilist: New file.
14250         * sysdeps/unix/sysv/linux/hppa/libcrypt.abilist: New file.
14251         * sysdeps/unix/sysv/linux/hppa/libdl.abilist: New file.
14252         * sysdeps/unix/sysv/linux/hppa/libm.abilist: New file.
14253         * sysdeps/unix/sysv/linux/hppa/libnsl.abilist: New file.
14254         * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: New file.
14255         * sysdeps/unix/sysv/linux/hppa/libresolv.abilist: New file.
14256         * sysdeps/unix/sysv/linux/hppa/librt.abilist: New file.
14257         * sysdeps/unix/sysv/linux/hppa/libthread_db.abilist: New file.
14258         * sysdeps/unix/sysv/linux/hppa/libutil.abilist: New file.
14260 2014-07-01  Roland McGrath  <roland@hack.frob.com>
14262         * sysdeps/unix/sysv/linux/sysconf.c: Include <sys/param.h>.
14263         * nptl/pthread_mutex_lock.c: Likewise.
14264         * nptl/pthread_mutex_timedlock.c: Likewise.
14265         * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Likewise.
14267 2014-07-01  Richard henderson  <rth@redhat.com>
14269         * sysdeps/alpha/fpu/bits/mathinline.h (__isnanf): Remove.
14270         (__isnan, __isnanl): Remove.
14271         * sysdeps/alpha/fpu/s_isnan.c (__isnan): Use integer arithmetic.
14273         * sysdeps/alpha/fpu/libm-test-ulps: Update.
14275 2014-07-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
14277         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
14279 2014-07-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
14281         * resolv/nss_dns/dns-host.c (getanswer_r)
14282         [MULTI_PTRS_ARE_ALIASES]: Remove code.
14284 2014-07-01  Joseph Myers  <joseph@codesourcery.com>
14286         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
14287         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PSELECT): Do not
14288         undefine.
14289         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PREADV): Likewise.
14290         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PWRITEV): Likewise.
14292 2014-07-01  Roland McGrath <roland@hack.frob.com>
14294         * sysdeps/unix/sysv/linux/microblaze/arch-fork.h: New file.
14295         * sysdeps/unix/sysv/linux/microblaze/nptl/fork.c: File removed.
14297         * sysdeps/microblaze/nptl/tls.h: Define TLS_DEFINE_INIT_TP.
14298         * sysdeps/unix/sysv/linux/microblaze/nptl/createthread.c: File removed.
14300         * sysdeps/microblaze/nptl/bits/pthreadtypes.h: Moved ...
14301         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h:
14302         ... here.
14303         * sysdeps/microblaze/nptl/bits/semaphore.h: Moved ...
14304         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/semaphore.h: ... here.
14306         * sysdeps/unix/sysv/linux/microblaze/pt-vfork.S: Moved ...
14307         * sysdeps/unix/sysv/linux/microblaze/nptl/pt-vfork.S: ... here.
14308         * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Moved ...
14309         * sysdeps/unix/sysv/linux/microblaze/vfork.S: ... here.
14311         * sysdeps/unix/sysv/linux/microblaze/c++-types.data: Moved ...
14312         * sysdeps/unix/sysv/linux/microblaze/nptl/c++-types.data: ... here.
14313         * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Moved ...
14314         * sysdeps/unix/sysv/linux/microblaze/nptl/ld.abilist: ... here.
14315         * sysdeps/unix/sysv/linux/microblaze/libBrokenLocale.abilist:
14316         Moved ...
14317         * sysdeps/unix/sysv/linux/microblaze/nptl/libBrokenLocale.abilist:
14318         ... here.
14319         * sysdeps/unix/sysv/linux/microblaze/libanl.abilist: Moved ...
14320         * sysdeps/unix/sysv/linux/microblaze/nptl/libanl.abilist: ... here.
14321         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Moved ...
14322         * sysdeps/unix/sysv/linux/microblaze/nptl/libc.abilist: ... here.
14323         * sysdeps/unix/sysv/linux/microblaze/libcrypt.abilist: Moved ...
14324         * sysdeps/unix/sysv/linux/microblaze/nptl/libcrypt.abilist: ... here.
14325         * sysdeps/unix/sysv/linux/microblaze/libdl.abilist: Moved ...
14326         * sysdeps/unix/sysv/linux/microblaze/nptl/libdl.abilist: ... here.
14327         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Moved ...
14328         * sysdeps/unix/sysv/linux/microblaze/nptl/libm.abilist: ... here.
14329         * sysdeps/unix/sysv/linux/microblaze/libnsl.abilist: Moved ...
14330         * sysdeps/unix/sysv/linux/microblaze/nptl/libnsl.abilist: ... here.
14331         * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Moved ...
14332         * sysdeps/unix/sysv/linux/microblaze/nptl/libpthread.abilist: ... here.
14333         * sysdeps/unix/sysv/linux/microblaze/libresolv.abilist: Moved ...
14334         * sysdeps/unix/sysv/linux/microblaze/nptl/libresolv.abilist: ... here.
14335         * sysdeps/unix/sysv/linux/microblaze/librt.abilist: Moved ...
14336         * sysdeps/unix/sysv/linux/microblaze/nptl/librt.abilist: ... here.
14337         * sysdeps/unix/sysv/linux/microblaze/libthread_db.abilist: Moved ...
14338         * sysdeps/unix/sysv/linux/microblaze/nptl/libthread_db.abilist:
14339         ... here.
14340         * sysdeps/unix/sysv/linux/microblaze/libutil.abilist: Moved ...
14341         * sysdeps/unix/sysv/linux/microblaze/nptl/libutil.abilist: ... here.
14342         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Moved ...
14343         * sysdeps/unix/sysv/linux/microblaze/nptl/localplt.data: ... here.
14344         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Moved ...
14345         * sysdeps/unix/sysv/linux/microblaze/nptl/lowlevellock.h: ... here.
14346         * sysdeps/unix/sysv/linux/microblaze/nptl/pthread_once.c: Moved ...
14347         * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: ... here.
14349 2014-07-01  David Holsgrove  <david.holsgrove@xilinx.com>
14351         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: New file.
14352         * sysdeps/unix/sysv/linux/microblaze/socket.S: Update SINGLE_THREAD_P use.
14353         * sysdeps/unix/sysv/linux/microblaze/Makefile(libpthread-routines):
14354         Add sysdep.
14356 2014-06-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14358         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14360 2014-06-30  Joseph Myers  <joseph@codesourcery.com>
14362         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
14363         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
14365         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
14367         * sysdeps/arm/libm-test-ulps: Regenerated.
14369 2014-06-30  Maciej W. Rozycki  <macro@codesourcery.com>
14370             Roland McGrath <roland@hack.frob.com>
14372         * test-skeleton.c (signal_handler): Kill the whole process group
14373         before killing the child individually.
14374         (main): Report any failure on `setpgid'.
14376 2014-06-30  Roland McGrath  <roland@hack.frob.com>
14378         * sysdeps/arm/nptl/tls.h: Rename the multiple inclusion guard
14379         from _TLS_H to _ARM_NPTL_TLS_H.
14380         (TLS_INIT_TP): Move macro, and #include of <sysdep.h>, to ...
14381         * sysdeps/unix/sysv/linux/arm/tls.h: ... this new file.
14383 2014-06-30  Joseph Myers  <joseph@codesourcery.com>
14385         [BZ #16539]
14386         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Include <float.h>.
14387         (__expm1l): Return argument unchanged when small but not
14388         subnormal.
14390         * soft-fp/op-1.h (_FP_UNPACK_RAW_1): Rename local variables to
14391         include macro name.
14392         (_FP_UNPACK_RAW_1_P): Likewise.
14393         (_FP_PACK_RAW_1): Likewise.
14394         (_FP_PACK_RAW_1_P): Likewise.
14395         (_FP_MUL_MEAT_1_wide): Likewise.
14396         (_FP_MUL_MEAT_DW_1_hard): Likewise.
14397         (_FP_MUL_MEAT_1_hard): Likewise.
14398         (_FP_DIV_MEAT_1_imm): Likewise.
14399         (_FP_DIV_MEAT_1_udiv_norm): Likewise.
14400         (_FP_DIV_MEAT_1_udiv): Likewise.
14401         * soft-fp/op-2.h (__FP_FRAC_DEC_2): Likewise.
14402         (_FP_UNPACK_RAW_2): Likewise.
14403         (_FP_UNPACK_RAW_2_P): Likewise.
14404         (_FP_PACK_RAW_2): Likewise.
14405         (_FP_PACK_RAW_2_P): Likewise.
14406         (_FP_MUL_MEAT_DW_2_wide): Likewise.
14407         (_FP_MUL_MEAT_2_wide): Likewise.
14408         (_FP_MUL_MEAT_DW_2_wide_3mul): Likewise.
14409         (_FP_MUL_MEAT_2_wide_3mul): Likewise.
14410         (_FP_MUL_MEAT_DW_2_gmp): Likewise.
14411         (_FP_MUL_MEAT_2_gmp): Likewise.
14412         (_FP_DIV_MEAT_2_udiv): Likewise.
14413         * soft-fp/op-4.h (_FP_FRAC_SLL_4): Likewise.
14414         (_FP_FRAC_SRL_4): Likewise.
14415         (_FP_FRAC_SRST_4): Likewise.
14416         (_FP_FRAC_SRS_4): Likewise.
14417         (_FP_UNPACK_RAW_4): Likewise.
14418         (_FP_UNPACK_RAW_4_P): Likewise.
14419         (_FP_PACK_RAW_4): Likewise.
14420         (_FP_PACK_RAW_4_P): Likewise.
14421         (_FP_MUL_MEAT_DW_4_wide): Likewise.
14422         (_FP_MUL_MEAT_4_wide): Likewise.
14423         (_FP_MUL_MEAT_4_gmp): Likewise.
14424         (umul_ppppmnnn): Likewise.
14425         (_FP_DIV_MEAT_4_udiv): Likewise.
14426         (__FP_FRAC_ADD_4): Likewise.
14427         (__FP_FRAC_SUB_3): Likewise.
14428         (__FP_FRAC_SUB_4): Likewise.
14429         (__FP_FRAC_DEC_3): Likewise.
14430         (__FP_FRAC_DEC_4): Likewise.
14431         (__FP_FRAC_ADDI_4): Likewise.
14432         * soft-fp/op-8.h (_FP_FRAC_SLL_8): Likewise.
14433         (_FP_FRAC_SRL_8): Likewise.
14434         (_FP_FRAC_SRS_8): Likewise.
14436         * soft-fp/extended.h (FP_UNPACK_RAW_E): Rename local variables to
14437         include macro name.
14438         (FP_UNPACK_RAW_EP): Likewise.
14439         (FP_PACK_RAW_E): Likewise.
14440         (FP_PACK_RAW_EP): Likewise.
14441         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Likewise.
14442         (_FP_ISSIGNAN): Likewise.
14443         (_FP_ADD_INTERNAL): Likewise.
14444         (_FP_FMA): Likewise.
14445         (_FP_CMP): Likewise.
14446         (_FP_SQRT): Likewise.
14447         (_FP_TO_INT): Likewise.
14448         (_FP_FROM_INT): Likewise.
14449         (FP_EXTEND): Likewise.
14450         (_FP_DIV_MEAT_N_loop): Likewise.
14452 2014-06-30  Maciej W. Rozycki  <macro@codesourcery.com>
14454         * sysdeps/unix/sysv/linux/bits/socket.h: Adjust macro formatting
14455         throughout.
14457 2014-06-29  Joseph Myers  <joseph@codesourcery.com>
14459         [BZ #17097]
14460         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Return
14461         result with correct sign in case of exponents that produce
14462         overflow except for X very close to 1.
14464 2014-06-28  Paul Eggert  <eggert@cs.ucla.edu>
14466         mktime: merge #if/#ifdef usage from glibc
14467         * lib/mktime.c: Use "#if defined DEBUG && DEBUG", not "#if DEBUG",
14468         as that works with both Glibc's and Gnulib's style.
14469         See thread starting at Siddhesh Poyarekar's bug report at:
14470         http://lists.gnu.org/archive/html/bug-gnulib/2014-06/msg00102.html
14472 2014-06-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
14474         * sysdeps/generic/memcopy.h: Define MEMCPY_OK_FOR_FWD_MEMMOVE.
14475         * sysdeps/tile/memcopy.h: Redefine MEMCPY_OK_FOR_FWD_MEMMOVE.
14476         * sysdeps/tile/tilegx/memmove.c: Remove file.
14478 2014-06-27  Joseph Myers  <joseph@codesourcery.com>
14480         * Makeconfig ($(common-objpfx)soversions.mk): Do not generate
14481         abi-name definition.
14482         * scripts/soversions.awk: Do not handle or generate ABI lines.
14483         * shlib-versions: Remove ABI entries.
14484         * sysdeps/powerpc/nofpu/shlib-versions: Remove file.
14485         * sysdeps/x86_64/x32/shlib-versions: Remove ABI entry.
14487 2014-06-27  Roland McGrath  <roland@hack.frob.com>
14489         * sysdeps/unix/sysv/linux/mips/mips32/nptl/c++-types.data: Moved ...
14490         * sysdeps/unix/sysv/linux/mips/mips32/c++-types.data: ... here.
14491         * sysdeps/unix/sysv/linux/mips/mips32/fpu/nptl/libc.abilist: Moved ...
14492         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: ... here.
14493         * sysdeps/unix/sysv/linux/mips/mips32/nptl/ld.abilist: Moved ...
14494         * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: ... here.
14495         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libBrokenLocale.abilist:
14496         Moved ...
14497         * sysdeps/unix/sysv/linux/mips/mips32/libBrokenLocale.abilist:
14498         ... here.
14499         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libanl.abilist: Moved ...
14500         * sysdeps/unix/sysv/linux/mips/mips32/libanl.abilist: ... here.
14501         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcidn.abilist: Moved ...
14502         * sysdeps/unix/sysv/linux/mips/mips32/libcidn.abilist: ... here.
14503         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcrypt.abilist: Moved ...
14504         * sysdeps/unix/sysv/linux/mips/mips32/libcrypt.abilist: ... here.
14505         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libdl.abilist: Moved ...
14506         * sysdeps/unix/sysv/linux/mips/mips32/libdl.abilist: ... here.
14507         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libm.abilist: Moved ...
14508         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: ... here.
14509         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnsl.abilist: Moved ...
14510         * sysdeps/unix/sysv/linux/mips/mips32/libnsl.abilist: ... here.
14511         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_compat.abilist:
14512         Moved ...
14513         * sysdeps/unix/sysv/linux/mips/mips32/libnss_compat.abilist: ... here.
14514         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_db.abilist: Moved ...
14515         * sysdeps/unix/sysv/linux/mips/mips32/libnss_db.abilist: ... here.
14516         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_dns.abilist: Moved ...
14517         * sysdeps/unix/sysv/linux/mips/mips32/libnss_dns.abilist: ... here.
14518         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_files.abilist:
14519         Moved ...
14520         * sysdeps/unix/sysv/linux/mips/mips32/libnss_files.abilist: ... here.
14521         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_hesiod.abilist:
14522         Moved ...
14523         * sysdeps/unix/sysv/linux/mips/mips32/libnss_hesiod.abilist: ... here.
14524         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nis.abilist: Moved ...
14525         * sysdeps/unix/sysv/linux/mips/mips32/libnss_nis.abilist: ... here.
14526         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nisplus.abilist:
14527         Moved ...
14528         * sysdeps/unix/sysv/linux/mips/mips32/libnss_nisplus.abilist: ... here.
14529         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libpthread.abilist: Moved ...
14530         * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: ... here.
14531         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libresolv.abilist: Moved ...
14532         * sysdeps/unix/sysv/linux/mips/mips32/libresolv.abilist: ... here.
14533         * sysdeps/unix/sysv/linux/mips/mips32/nptl/librt.abilist: Moved ...
14534         * sysdeps/unix/sysv/linux/mips/mips32/librt.abilist: ... here.
14535         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libthread_db.abilist:
14536         Moved ...
14537         * sysdeps/unix/sysv/linux/mips/mips32/libthread_db.abilist: ... here.
14538         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libutil.abilist: Moved ...
14539         * sysdeps/unix/sysv/linux/mips/mips32/libutil.abilist: ... here.
14540         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/nptl/libc.abilist:
14541         Moved ...
14542         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: ... here.
14543         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/c++-types.data:
14544         Moved ...
14545         * sysdeps/unix/sysv/linux/mips/mips64/n32/c++-types.data: ... here.
14546         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/ld.abilist: Moved ...
14547         * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: ... here.
14548         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libBrokenLocale.abilist:
14549         Moved ...
14550         * sysdeps/unix/sysv/linux/mips/mips64/libBrokenLocale.abilist:
14551         ... here.
14552         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libBrokenLocale.abilist:
14553         Identical file removed.
14554         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libanl.abilist:
14555         Moved ...
14556         * sysdeps/unix/sysv/linux/mips/mips64/libanl.abilist: ... here.
14557         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libanl.abilist:
14558         Identical file removed.
14559         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libc.abilist: Moved ...
14560         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: ... here.
14561         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libcrypt.abilist:
14562         Moved ...
14563         * sysdeps/unix/sysv/linux/mips/mips64/libcrypt.abilist: ... here.
14564         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libcrypt.abilist:
14565         Identical file removed.
14566         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libdl.abilist: Moved ...
14567         * sysdeps/unix/sysv/linux/mips/mips64/libdl.abilist: ... here.
14568         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libdl.abilist:
14569         Identical file removed.
14570         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libm.abilist: Moved ...
14571         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: ... here.
14572         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libm.abilist:
14573         Identical file removed.
14574         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libnsl.abilist: Moved ...
14575         * sysdeps/unix/sysv/linux/mips/mips64/libnsl.abilist: ... here.
14576         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libnsl.abilist:
14577         Identical file removed.
14578         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libpthread.abilist:
14579         Moved ...
14580         * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: ... here.
14581         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libpthread.abilist:
14582         Identical file removed.
14583         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libresolv.abilist:
14584         Moved ...
14585         * sysdeps/unix/sysv/linux/mips/mips64/n32/libresolv.abilist: ... here.
14586         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/librt.abilist: Moved ...
14587         * sysdeps/unix/sysv/linux/mips/mips64/librt.abilist: ... here.
14588         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/librt.abilist:
14589         Identical file removed.
14590         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libthread_db.abilist:
14591         Moved ...
14592         * sysdeps/unix/sysv/linux/mips/mips64/libthread_db.abilist:
14593         ... here.
14594         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libthread_db.abilist:
14595         Identical file removed.
14596         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libutil.abilist:
14597         Moved ...
14598         * sysdeps/unix/sysv/linux/mips/mips64/libutil.abilist: ... here.
14599         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libutil.abilist:
14600         Identical file removed.
14601         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/c++-types.data:
14602         Moved ...
14603         * sysdeps/unix/sysv/linux/mips/mips64/n64/c++-types.data: ... here.
14604         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/ld.abilist: Moved ...
14605         * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: ... here.
14606         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libc.abilist: Moved ...
14607         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: ... here.
14608         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libresolv.abilist:
14609         Moved ...
14610         * sysdeps/unix/sysv/linux/mips/mips64/n64/libresolv.abilist: ... here.
14611         * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h: Moved ...
14612         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: ... here.
14614         * sysdeps/unix/sysv/linux/mips/vfork.S: Incorporate
14615         SAVE_PID and RESTORE_PID blocks from nptl/pt-vfork.S.
14616         * sysdeps/unix/sysv/linux/mips/nptl/vfork.S: File removed.
14617         * sysdeps/unix/sysv/linux/mips/nptl/pt-vfork.S: File removed.
14618         * sysdeps/unix/sysv/linux/mips/pt-vfork.S: New file.
14620 2014-06-27  Arjun Shankar  <arjun.is@lostca.se>
14622         [BZ #17092]
14623         * nscd/nscd.c (monitor_child): Return exit status of child
14624         instead of return value from wait syscall.
14626 2014-06-27  Joseph Myers  <joseph@codesourcery.com>
14628         * configure.ac (libc_commonpagesize): Remove variable.
14629         (libc_relro_required): Likewise.
14630         (libc_cv_z_relro): Remove configure test.
14631         * configure: Regenerated.
14632         * sysdeps/aarch64/preconfigure (libc_commonpagesize): Do not set
14633         variable.
14634         (libc_relro_required): Likewise.
14635         * sysdeps/alpha/preconfigure (libc_commonpagesize): Likewise.
14636         (libc_relro_required): Likewise.
14637         * sysdeps/arm/preconfigure.ac (libc_commonpagesize): Likewise.
14638         (libc_relro_required): Likewise.
14639         * sysdeps/arm/preconfigure: Regenerated.
14640         * sysdeps/ia64/preconfigure: Remove file.
14641         * sysdeps/tile/preconfigure (libc_commonpagesize): Do not set
14642         variable.
14643         (libc_relro_required): Likewise.
14645         [BZ #16561]
14646         [BZ #16562]
14647         * sysdeps/ieee754/dbl-64/e_jn.c: Include <float.h>.
14648         (__ieee754_yn): Set FE_TONEAREST mode internally and then
14649         recompute overflowing results in original rounding mode.
14650         * sysdeps/ieee754/flt-32/e_jnf.c: Include <float.h>.
14651         (__ieee754_ynf): Set FE_TONEAREST mode internally and then
14652         recompute overflowing results in original rounding mode.
14653         * sysdeps/ieee754/ldbl-128/e_jnl.c: Include <float.h>.
14654         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
14655         recompute overflowing results in original rounding mode.
14656         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Include <float.h>.
14657         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
14658         recompute overflowing results in original rounding mode.
14659         * sysdeps/ieee754/ldbl-96/e_jnl.c: Include <float.h>.
14660         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
14661         recompute overflowing results in original rounding mode.
14662         * sysdeps/i386/fpu/fenv_private.h [!__SSE2_MATH__]
14663         (libc_feholdsetround_ctx): New macro.
14664         * math/libm-test.inc (yn_test): Use ALL_RM_TEST.
14665         * sysdeps/i386/fpu/libm-test-ulps: Update.
14666         * sysdeps/x86_64/fpu/libm-test-ulps : Likewise.
14668 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
14670         * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h
14671         [__PIC__] (PSEUDO): Use name of _nocancel entry point in
14672         corresponding .cpsetup call.
14674 2014-06-26  Roland McGrath  <roland@hack.frob.com>
14676         * sysdeps/unix/sysv/linux/arm/libc-aeabi_read_tp.S: Moved ...
14677         * sysdeps/arm/libc-aeabi_read_tp.S: ... here.
14678         * sysdeps/arm/Makefile [$(subdir) = csu]
14679         (aeabi_routines): Add aeabi_read_tp and libc-aeabi_read_tp here.
14680         (static-only-routines): Add aeabi_read_tp here.
14681         (shared-only-routines): Add libc-aeabi_read_tp here.
14682         (CFLAGS-libc-start.c): Add -fexceptions here.
14683         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = csu]
14684         (sysdep_routines, static-only-routines, shared-only-routines):
14685         Don't add to these here.
14686         (CFLAGS-libc-start.c): Likewise.
14688         * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: Moved ...
14689         * sysdeps/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
14690         * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: Moved ...
14691         * sysdeps/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
14692         * sysdeps/arm/Makefile [$(subdir) = rt]
14693         (librt-sysdep_routines, librt-shared-only-routines):
14694         Append rt-aeabi_unwind_cpp_pr1 here.
14695         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = rt]
14696         (librt-sysdep_routines, librt-shared-only-routines): Don't do it here.
14697         * sysdeps/arm/nptl/Makefile [$(subdir) = nptl]
14698         (libpthread-sysdep_routines, libpthread-shared-only-routines):
14699         Append nptl-aeabi_unwind_cpp_pr1 here.
14700         (tests): Filter out tst-cleanupx4 here.
14701         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = nptl]
14702         (libpthread-sysdep_routines, libpthread-shared-only-routines, tests):
14703         Don't do those here.
14705 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
14707         * scripts/list-sources.sh: Do not handle ports specially.
14709 2014-06-26  Roland McGrath  <roland@hack.frob.com>
14711         * sysdeps/arm/fesetenv.c: Include <fpu_control.h>.
14712         * sysdeps/arm/feupdateenv.c: Likewise.
14714         * posix/spawn_faction_addopen.c: Include <stdlib.h> for free decl.
14716 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
14718         * manual/texinfo.tex: Update to version 2014-05-05.10 with
14719         trailing whitespace removed.
14720         * scripts/config.guess: Update to version 2014-03-23.
14721         * scripts/config.sub: Update to version 2014-05-01
14722         * scripts/install-sh: Update to version 2013-12-25.23.
14723         * scripts/move-if-change: Update from gnulib.
14725 2014-06-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
14727         * debug/memmove_chk.c: Remove pagecopy.h include.
14729 2014-06-26  Paul Eggert  <eggert@cs.ucla.edu>
14731         * time/mktime.c (leapyear): Remove inline keyword.  The code is now
14732         identical to gnulib mktime.
14734 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
14736         * configure.ac: Do not test for machine being rs6000.  Do not test
14737         for powerpc*-*soft.
14738         * configure: Regenerated.
14740         [BZ #11505]
14741         * configure.ac (libc_cv_asm_cfi_directives): Remove configure
14742         test.
14743         * configure: Regenerated.
14744         * config.h.in (HAVE_ASM_CFI_DIRECTIVES): Remove macro undefine.
14745         * sysdeps/arm/configure.ac (libc_cv_asm_cfi_directive_sections):
14746         Remove configure test.
14747         * sysdeps/arm/configure: Regenerated.
14748         * sysdeps/nptl/configure.ac: Do not check
14749         libc_cv_asm_cfi_directives.
14750         * sysdeps/nptl/configure: Regenerated.
14751         * sysdeps/x86_64/nptl/configure.ac: Remove file.
14752         * sysdeps/x86_64/nptl/configure: Remove generated file.
14753         * b/sysdeps/generic/sysdep.h [HAVE_ASM_CFI_DIRECTIVES]: Make code
14754         unconditional.
14755         [!HAVE_ASM_CFI_DIRECTIVES]: Remove conditional code.
14757 2014-06-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
14759         * posix/fnmatch.c: Define WIDE_CHAR_VERSION.
14760         * posix/fnmatch_loop.c: Undefine WIDE_CHAR_VERSION.
14761         (FCT): Check value of WIDE_CHAR_VERSION instead of checking if
14762         it is defined.
14764         * elf/dl-runtime.c: Check for value of ELF_MACHINE_NO_RELA
14765         instead of whether it is defined.
14766         * sysdeps/aarch64/dl-machine.h: Define ELF_MACHINE_NO_RELA.
14767         * sysdeps/hppa/dl-machine.h: Likewise.
14768         * sysdeps/ia64/dl-machine.h: Likewise.
14769         * sysdeps/m68k/dl-machine.h: Likewise.
14770         * sysdeps/microblaze/dl-machine.h: Likewise.
14771         * sysdeps/mips/dl-machine.: Likewise.
14772         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
14773         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
14774         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
14775         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
14776         * sysdeps/sh/dl-machine.h: Likewise.
14777         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
14778         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
14779         * sysdeps/tile/dl-machine.h: Likewise.
14780         * sysdeps/x86_64/dl-machine.h: Likewise.
14782         * nscd/connections.c (enum usekey) [SEPARATE_KEY]: Remove
14783         code.
14784         (verify_persistent_db): Likewise.
14786 2014-06-26  Roland McGrath  <roland@hack.frob.com>
14788         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data: Moved ...
14789         * sysdeps/unix/sysv/linux/s390/s390-32/c++-types.data: ... here.
14790         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Moved ...
14791         * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: ... here.
14792         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
14793         Moved ...
14794         * sysdeps/unix/sysv/linux/s390/s390-32/libBrokenLocale.abilist:
14795         ... here.
14796         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: Moved ...
14797         * sysdeps/unix/sysv/linux/s390/libanl.abilist: ... here.
14798         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist:
14799         Identical file removed.
14800         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Moved ...
14801         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: ... here.
14802         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: Moved ...
14803         * sysdeps/unix/sysv/linux/s390/s390-32/libcrypt.abilist: ... here.
14804         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: Moved ...
14805         * sysdeps/unix/sysv/linux/s390/s390-32/libdl.abilist: ... here.
14806         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Moved ...
14807         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: ... here.
14808         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: Moved ...
14809         * sysdeps/unix/sysv/linux/s390/s390-32/libnsl.abilist: ... here.
14810         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
14811         Moved ...
14812         * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: ... here.
14813         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: Moved ...
14814         * sysdeps/unix/sysv/linux/s390/s390-32/libresolv.abilist: ... here.
14815         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Moved ...
14816         * sysdeps/unix/sysv/linux/s390/s390-32/librt.abilist: ... here.
14817         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
14818         Moved ...
14819         * sysdeps/unix/sysv/linux/s390/s390-32/libthread_db.abilist: ... here.
14820         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Moved ...
14821         * sysdeps/unix/sysv/linux/s390/s390-32/libutil.abilist: ... here.
14822         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data: Moved ...
14823         * sysdeps/unix/sysv/linux/s390/localplt.data: ... here.
14824         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
14825         Identical file removed.
14826         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data: Moved ...
14827         * sysdeps/unix/sysv/linux/s390/s390-64/c++-types.data: ... here.
14828         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Moved ...
14829         * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: ... here.
14830         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
14831         Moved ...
14832         * sysdeps/unix/sysv/linux/s390/s390-64/libBrokenLocale.abilist:
14833         ... here.
14834         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Moved ...
14835         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: ... here.
14836         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: Moved ...
14837         * sysdeps/unix/sysv/linux/s390/s390-64/libcrypt.abilist: ... here.
14838         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: Moved ...
14839         * sysdeps/unix/sysv/linux/s390/s390-64/libdl.abilist: ... here.
14840         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Moved ...
14841         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: ... here.
14842         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: Moved ...
14843         * sysdeps/unix/sysv/linux/s390/s390-64/libnsl.abilist: ... here.
14844         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
14845         Moved ...
14846         * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: ... here.
14847         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist:
14848         Moved ...
14849         * sysdeps/unix/sysv/linux/s390/s390-64/libresolv.abilist: ... here.
14850         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: Moved ...
14851         * sysdeps/unix/sysv/linux/s390/s390-64/librt.abilist: ... here.
14852         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
14853         Moved ...
14854         * sysdeps/unix/sysv/linux/s390/s390-64/libthread_db.abilist: ... here.
14855         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: Moved ...
14856         * sysdeps/unix/sysv/linux/s390/s390-64/libutil.abilist: ... here.
14858         * nptl/sysdeps/unix/sysv/linux/s390/Makefile: File removed, contents
14859         folded into ...
14860         * sysdeps/unix/sysv/linux/s390/Makefile [$(subdir) = nptl]: ... here.
14861         * sysdeps/unix/sysv/linux/s390/Versions
14862         (libpthread: GLIBC_2.19): New version set.
14863         * nptl/sysdeps/unix/sysv/linux/s390/Versions: File removed.
14864         * sysdeps/unix/sysv/linux/s390/s390-64/Versions
14865         (librt: GLIBC_2.3.3): New version set.
14866         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/Versions: File removed.
14867         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: Moved ...
14868         * sysdeps/unix/sysv/linux/s390/elision-conf.c: ... here.
14869         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Moved ...
14870         * sysdeps/unix/sysv/linux/s390/elision-conf.h: ... here.
14871         * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Moved ...
14872         * sysdeps/unix/sysv/linux/s390/elision-lock.c: ... here.
14873         * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Moved ...
14874         * sysdeps/unix/sysv/linux/s390/elision-timed.c: ... here.
14875         * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Moved ...
14876         * sysdeps/unix/sysv/linux/s390/elision-trylock.c: ... here.
14877         * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Moved ...
14878         * sysdeps/unix/sysv/linux/s390/elision-unlock.c: ... here.
14879         * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Moved ...
14880         * sysdeps/unix/sysv/linux/s390/force-elision.h: ... here.
14881         * nptl/sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Moved ...
14882         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: ... here.
14883         * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h: Moved ...
14884         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: ... here.
14885         * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: Moved ...
14886         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c: ... here.
14887         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: Moved ...
14888         * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: ... here.
14889         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: Moved ...
14890         * sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: ... here.
14891         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: Moved ...
14892         * sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: ... here.
14893         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: Moved ...
14894         * sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: ... here.
14895         * nptl/sysdeps/unix/sysv/linux/s390/pthread_once.c: Moved ...
14896         * sysdeps/unix/sysv/linux/s390/pthread_once.c: ... here.
14897         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Moved ...
14898         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: ... here.
14899         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Moved ...
14900         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: ... here.
14901         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Moved ...
14902         * sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: ... here.
14903         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Moved ...
14904         * sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: ... here.
14905         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Moved ...
14906         * sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: ... here.
14907         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Moved ...
14908         * sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: ... here.
14909         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Moved ...
14910         * sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: ... here.
14912         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Moved ...
14913         * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: ... here.
14914         (__libc_vfork): Define the function under this name.
14915         [!NOT_IN_libc] (__vfork): Make this an alias.
14916         [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
14917         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Moved ...
14918         * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: ... here.
14919         (__libc_vfork): Define the function under this name.
14920         [!NOT_IN_libc] (__vfork): Make this an alias.
14921         [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
14922         * sysdeps/unix/sysv/linux/s390/pt-vfork.S: New file.
14923         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: File removed.
14924         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: File removed.
14925         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Remove vfork.
14926         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
14928         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Deconditionalize the
14929         code that was previously under [RESET_PID].
14930         * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: Likewise.
14931         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/clone.S: File removed.
14932         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/clone.S: File removed.
14934         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h: Moved ...
14935         * sysdeps/aarch64/nptl/bits/pthreadtypes.h: ... here.
14936         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/semaphore.h: Moved ...
14937         * sysdeps/aarch64/nptl/bits/semaphore.h: ... here.
14938         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/local_lim.h: Moved ...
14939         * sysdeps/unix/sysv/linux/aarch64/bits/local_lim.h: ... here.
14940         * sysdeps/unix/sysv/linux/aarch64/nptl/c++-types.data: Moved ...
14941         * sysdeps/unix/sysv/linux/aarch64/c++-types.data: ... here.
14942         * sysdeps/unix/sysv/linux/aarch64/nptl/ld.abilist: Moved ...
14943         * sysdeps/unix/sysv/linux/aarch64/ld.abilist: ... here.
14944         * sysdeps/unix/sysv/linux/aarch64/nptl/libBrokenLocale.abilist:
14945         Moved ...
14946         * sysdeps/unix/sysv/linux/aarch64/libBrokenLocale.abilist: ... here.
14947         * sysdeps/unix/sysv/linux/aarch64/nptl/libanl.abilist: Moved ...
14948         * sysdeps/unix/sysv/linux/aarch64/libanl.abilist: ... here.
14949         * sysdeps/unix/sysv/linux/aarch64/nptl/libc.abilist: Moved ...
14950         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: ... here.
14951         * sysdeps/unix/sysv/linux/aarch64/nptl/libcrypt.abilist: Moved ...
14952         * sysdeps/unix/sysv/linux/aarch64/libcrypt.abilist: ... here.
14953         * sysdeps/unix/sysv/linux/aarch64/nptl/libdl.abilist: Moved ...
14954         * sysdeps/unix/sysv/linux/aarch64/libdl.abilist: ... here.
14955         * sysdeps/unix/sysv/linux/aarch64/nptl/libm.abilist: Moved ...
14956         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: ... here.
14957         * sysdeps/unix/sysv/linux/aarch64/nptl/libnsl.abilist: Moved ...
14958         * sysdeps/unix/sysv/linux/aarch64/libnsl.abilist: ... here.
14959         * sysdeps/unix/sysv/linux/aarch64/nptl/libpthread.abilist: Moved ...
14960         * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: ... here.
14961         * sysdeps/unix/sysv/linux/aarch64/nptl/libresolv.abilist: Moved ...
14962         * sysdeps/unix/sysv/linux/aarch64/libresolv.abilist: ... here.
14963         * sysdeps/unix/sysv/linux/aarch64/nptl/librt.abilist: Moved ...
14964         * sysdeps/unix/sysv/linux/aarch64/librt.abilist: ... here.
14965         * sysdeps/unix/sysv/linux/aarch64/nptl/libthread_db.abilist: Moved ...
14966         * sysdeps/unix/sysv/linux/aarch64/libthread_db.abilist: ... here.
14967         * sysdeps/unix/sysv/linux/aarch64/nptl/libutil.abilist: Moved ...
14968         * sysdeps/unix/sysv/linux/aarch64/libutil.abilist: ... here.
14969         * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data: Moved ...
14970         * sysdeps/unix/sysv/linux/aarch64/localplt.data: ... here.
14971         * sysdeps/unix/sysv/linux/aarch64/nptl/lowlevellock.h: Moved ...
14972         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: ... here.
14973         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Moved ...
14974         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: ... here.
14976 2014-06-25  Roland McGrath  <roland@hack.frob.com>
14978         * sysdeps/unix/sysv/linux/mips/clone.S: Deconditionalize the code
14979         that was previously under [RESET_PID].
14980         * sysdeps/unix/sysv/linux/mips/nptl/clone.S: File removed.
14982 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
14984         * sysdeps/unix/sysv/linux/dl-opendir.c (__ASSUME_O_CLOEXEC): Do
14985         not undefine and redefine.
14986         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs)
14987         [O_CLOEXEC]: Make code unconditional.
14988         (__get_nprocs) [!O_CLOEXEC]: Remove conditional code.
14989         * sysdeps/unix/sysv/linux/shm_open.c: Do not include
14990         <kernel-features.h>.
14991         [O_CLOEXEC && !__ASSUME_O_CLOEXEC] (have_o_cloexec): Remove
14992         conditional variable definition.
14993         (shm_open) [O_CLOEXEC]: Make code unconditional.
14994         (shm_open) [!O_CLOEXEC || !__ASSUME_O_CLOEXEC]: Remove conditional
14995         code.
14997         * configure.ac (USE_REGPARMS): Don't define here.
14998         * configure: Regenerated.
14999         * sysdeps/i386/configure.ac (USE_REGPARMS): Define here.
15000         * sysdeps/i386/configure: Regenerated.
15002         * nptl/createthread.c: Don't include kernel-features.h.
15003         * nptl/pthread_cancel.c: Likewise.
15004         * nptl/pthread_condattr_setclock.c: Likewise.
15005         * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Likewise.
15006         * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Likewise.
15007         * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Likewise.
15008         * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Likewise.
15009         * nptl/sysdeps/unix/sysv/linux/raise.c: Likewise.
15010         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: Likewise.
15011         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
15012         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: Likewise.
15013         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
15014         * nptl/sysdeps/unix/sysv/linux/timer_create.c: Likewise.
15015         * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Likewise.
15016         * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Likewise.
15017         * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Likewise.
15018         * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Likewise.
15019         * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Likewise.
15020         * nscd/gai.c: Likewise.
15021         * nss/nss_db/db-open.c: Likewise.
15022         * sysdeps/generic/ldsodefs.h: Likewise.
15023         * sysdeps/sh/nptl/tls.h: Likewise.
15024         * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
15025         * sysdeps/unix/sysv/linux/aarch64/sigcontextinfo.h: Likewise.
15026         * sysdeps/unix/sysv/linux/aarch64/vfork.S: Likewise.
15027         * sysdeps/unix/sysv/linux/adjtime.c: Likewise.
15028         * sysdeps/unix/sysv/linux/alpha/xstatconv.h: Likewise.
15029         * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
15030         * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h: Likewise.
15031         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
15032         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
15033         * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
15034         * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
15035         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
15036         * sysdeps/unix/sysv/linux/clock_settime.c: Likewise.
15037         * sysdeps/unix/sysv/linux/dl-execstack.c: Likewise.
15038         * sysdeps/unix/sysv/linux/dl-osinfo.h: Likewise.
15039         * sysdeps/unix/sysv/linux/dl-sysdep.c: Likewise.
15040         * sysdeps/unix/sysv/linux/generic/futimesat.c: Likewise.
15041         * sysdeps/unix/sysv/linux/generic/poll.c: Likewise.
15042         * sysdeps/unix/sysv/linux/generic/wordsize-32/fcntl.c: Likewise.
15043         * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Likewise.
15044         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
15045         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
15046         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c: Likewise.
15047         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c: Likewise.
15048         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
15049         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
15050         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c: Likewise.
15051         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c: Likewise.
15052         * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
15053         * sysdeps/unix/sysv/linux/getpagesize.c: Likewise.
15054         * sysdeps/unix/sysv/linux/getsysstats.c: Likewise.
15055         * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise.
15056         * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise.
15057         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
15058         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
15059         * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
15060         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
15061         * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise.
15062         * sysdeps/unix/sysv/linux/ia64/system.c: Likewise.
15063         * sysdeps/unix/sysv/linux/if_index.c: Likewise.
15064         * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
15065         * sysdeps/unix/sysv/linux/ifreq.c: Likewise.
15066         * sysdeps/unix/sysv/linux/ldsodefs.h: Likewise.
15067         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
15068         * sysdeps/unix/sysv/linux/m68k/vfork.S: Likewise.
15069         * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Likewise.
15070         * sysdeps/unix/sysv/linux/mips/mips32/accept4.c: Likewise.
15071         * sysdeps/unix/sysv/linux/mips/mips32/recvmmsg.c: Likewise.
15072         * sysdeps/unix/sysv/linux/mips/mips32/sendmmsg.c: Likewise.
15073         * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
15074         * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
15075         * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
15076         * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
15077         * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
15078         * sysdeps/unix/sysv/linux/mmap64.c: Likewise.
15079         * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
15080         * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
15081         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Likewise.
15082         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
15083         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c: Likewise.
15084         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c: Likewise.
15085         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Likewise.
15086         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise.
15087         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
15088         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
15089         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
15090         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
15091         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
15092         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Likewise.
15093         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c: Likewise.
15094         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c: Likewise.
15095         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S: Likewise.
15096         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
15097         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
15098         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
15099         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
15100         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
15101         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S: Likewise.
15102         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S: Likewise.
15103         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Likewise.
15104         * sysdeps/unix/sysv/linux/pread.c: Likewise.
15105         * sysdeps/unix/sysv/linux/pread64.c: Likewise.
15106         * sysdeps/unix/sysv/linux/prof-freq.c: Likewise.
15107         * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
15108         * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
15109         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S: Likewise.
15110         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S: Likewise.
15111         * sysdeps/unix/sysv/linux/s390/system.c: Likewise.
15112         * sysdeps/unix/sysv/linux/sh/pread.c: Likewise.
15113         * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
15114         * sysdeps/unix/sysv/linux/sh/pwrite.c: Likewise.
15115         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
15116         * sysdeps/unix/sysv/linux/sigaction.c: Likewise.
15117         * sysdeps/unix/sysv/linux/sigpending.c: Likewise.
15118         * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
15119         * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
15120         * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
15121         * sysdeps/unix/sysv/linux/sparc/system.c: Likewise.
15122         * sysdeps/unix/sysv/linux/syslog.c: Likewise.
15123         * sysdeps/unix/sysv/linux/system.c: Likewise.
15124         * sysdeps/unix/sysv/linux/testrtsig.h: Likewise.
15125         * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
15126         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
15127         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
15128         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
15129         * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
15130         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
15132         * configure.ac (libc_cv_c_asmcr0_bug): Remove configure test.
15133         * configure: Regenerated.
15134         * config.h.in (BROKEN_PPC_ASM_CR0): Remove macro.
15136         * configure.ac (base_machine): Do not set specially for particular
15137         machines here.
15138         * configure: Regenerated.
15139         * sysdeps/powerpc/preconfigure: Move machine and base_machine
15140         settings from configure.ac.
15141         * sysdeps/i386/preconfigure: New file.
15142         * sysdeps/s390/preconfigure: Likewise.
15143         * sysdeps/sh/preconfigure: Likewise.
15144         * sysdeps/sparc/preconfigure: Likewise.
15146 2014-06-25  Roland McGrath  <roland@hack.frob.com>
15148         * sysdeps/sparc/sparc64/nptl/cpu_relax.S: Moved ...
15149         * sysdeps/sparc/sparc64/cpu_relax.S: ... here.
15150         * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: Moved ...
15151         * sysdeps/sparc/sparc64/pthread_spin_init.c: ... here.
15152         * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: Moved ...
15153         * sysdeps/sparc/sparc64/pthread_spin_lock.S: ... here.
15154         * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: Moved ...
15155         * sysdeps/sparc/sparc64/pthread_spin_trylock.S: ... here.
15156         * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: Moved ...
15157         * sysdeps/sparc/sparc64/pthread_spin_unlock.S: ... here.
15158         * sysdeps/sparc/sparc64/nptl/pthreaddef.h: Moved ...
15159         * sysdeps/sparc/sparc64/pthreaddef.h: ... here.
15160         * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: Update #include.
15161         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Likewise.
15162         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Likewise.
15163         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Likewise.
15164         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Likewise.
15165         * sysdeps/sparc/sparc64/nptl/Makefile: File removed, its contents ...
15166         * sysdeps/sparc/sparc64/Makefile: ... appended here.
15168         * sysdeps/sparc/sparc32/nptl/lowlevellock.c: Moved ...
15169         * sysdeps/sparc/sparc32/lowlevellock.c: ... here.
15170         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Moved ...
15171         * sysdeps/sparc/sparc32/pthread_barrier_wait.c: ... here.
15172         * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: Moved ...
15173         * sysdeps/sparc/sparc32/pthread_spin_lock.S: ... here.
15174         * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: Moved ...
15175         * sysdeps/sparc/sparc32/pthread_spin_trylock.S: ... here.
15176         * sysdeps/sparc/sparc32/nptl/pthreaddef.h: Moved ...
15177         * sysdeps/sparc/sparc32/pthreaddef.h: ... here.
15178         * sysdeps/sparc/sparc32/nptl/sem_post.c: Moved ...
15179         * sysdeps/sparc/sparc32/sem_post.c: ... here.
15180         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Moved ...
15181         * sysdeps/sparc/sparc32/sem_timedwait.c: ... here.
15182         * sysdeps/sparc/sparc32/nptl/sem_trywait.c: Moved ...
15183         * sysdeps/sparc/sparc32/sem_trywait.c: ... here.
15184         * sysdeps/sparc/sparc32/nptl/sem_wait.c: Moved ...
15185         * sysdeps/sparc/sparc32/sem_wait.c: ... here.
15186         * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: Moved ...
15187         * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: ... here.
15188         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: Moved ...
15189         * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: ... here.
15190         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: Moved ...
15191         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: ... here.
15192         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: Moved ...
15193         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: ... here.
15194         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: Moved ...
15195         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: ... here.
15196         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Moved ...
15197         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: ... here.
15198         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: Moved ...
15199         * sysdeps/sparc/sparc32/sparcv9/sem_post.c: ... here.
15200         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: Moved ...
15201         * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: ... here.
15202         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: Moved ...
15203         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: ... here.
15204         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: Moved ...
15205         * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: ... here.
15207         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data: Moved ...
15208         * sysdeps/unix/sysv/linux/sparc/sparc32/c++-types.data: ... here.
15209         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: Moved ...
15210         * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: ... here.
15211         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
15212         Moved ...
15213         * sysdeps/unix/sysv/linux/sparc/sparc32/libBrokenLocale.abilist:
15214         ... here.
15215         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: Moved ...
15216         * sysdeps/unix/sysv/linux/sparc/sparc32/libanl.abilist: ... here.
15217         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Moved ...
15218         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: ... here.
15219         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist:
15220         Moved ...
15221         * sysdeps/unix/sysv/linux/sparc/sparc32/libcrypt.abilist: ... here.
15222         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: Moved ...
15223         * sysdeps/unix/sysv/linux/sparc/sparc32/libdl.abilist: ... here.
15224         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: Moved ...
15225         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: ... here.
15226         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: Moved ...
15227         * sysdeps/unix/sysv/linux/sparc/sparc32/libnsl.abilist: ... here.
15228         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
15229         Moved ...
15230         * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: ... here.
15231         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
15232         Moved ...
15233         * sysdeps/unix/sysv/linux/sparc/sparc32/libresolv.abilist: ... here.
15234         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: Moved ...
15235         * sysdeps/unix/sysv/linux/sparc/sparc32/librt.abilist: ... here.
15236         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
15237         Moved ...
15238         * sysdeps/unix/sysv/linux/sparc/sparc32/libthread_db.abilist: ... here.
15239         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: Moved ...
15240         * sysdeps/unix/sysv/linux/sparc/sparc32/libutil.abilist: ... here.
15241         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data: Moved ...
15242         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: ... here.
15243         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data: Moved ...
15244         * sysdeps/unix/sysv/linux/sparc/sparc64/c++-types.data: ... here.
15245         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: Moved ...
15246         * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: ... here.
15247         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
15248         Moved ...
15249         * sysdeps/unix/sysv/linux/sparc/sparc64/libBrokenLocale.abilist:
15250         ... here.
15251         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: Moved ...
15252         * sysdeps/unix/sysv/linux/sparc/sparc64/libanl.abilist: ... here.
15253         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Moved ...
15254         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: ... here.
15255         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist:
15256         Moved ...
15257         * sysdeps/unix/sysv/linux/sparc/sparc64/libcrypt.abilist: ... here.
15258         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: Moved ...
15259         * sysdeps/unix/sysv/linux/sparc/sparc64/libdl.abilist: ... here.
15260         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: Moved ...
15261         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: ... here.
15262         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: Moved ...
15263         * sysdeps/unix/sysv/linux/sparc/sparc64/libnsl.abilist: ... here.
15264         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
15265         Moved ...
15266         * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: ... here.
15267         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
15268         Moved ...
15269         * sysdeps/unix/sysv/linux/sparc/sparc64/libresolv.abilist: ... here.
15270         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: Moved ...
15271         * sysdeps/unix/sysv/linux/sparc/sparc64/librt.abilist: ... here.
15272         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
15273         Moved ...
15274         * sysdeps/unix/sysv/linux/sparc/sparc64/libthread_db.abilist: ... here.
15275         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: Moved ...
15276         * sysdeps/unix/sysv/linux/sparc/sparc64/libutil.abilist: ... here.
15277         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data: Moved ...
15278         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: ... here.
15280 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
15282         * timezone/checktab.awk: Update from tzcode 2014e.
15283         * timezone/private.h: Likewise.
15284         * timezone/tzfile.h: Likewise.
15285         * timezone/zdump.c: Likewise.
15286         * timezone/zic.c: Likewise.
15288         * sysdeps/unix/sysv/linux/kernel-features.h
15289         (__ASSUME_XFS_RESTRICTED_CHOWN): Remove macro.
15290         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_chown_restricted)
15291         [__ASSUME_XFS_RESTRICTED_CHOWN]: Make code unconditional.
15292         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
15293         Remove conditional code.
15295 2014-06-25  Will Newton  <will.newton@linaro.org>
15297         * sysdeps/unix/sysv/linux/arm/dl-procinfo.c
15298         (_dl_arm_cap_flags): Add HWCAP2 values.
15299         * sysdeps/unix/sysv/linux/arm/dl-procinfo.h
15300         (_DL_HWCAP_COUNT): Increase to 37.
15301         (_DL_HWCAP_LAST): New define.
15302         (_DL_HWCAP2_LAST): New define.
15303         (_dl_procinfo): Add support for printing
15304         AT_HWCAP2 entries.
15305         (_dl_string_hwcap): Use _dl_hwcap_string.
15307 2014-06-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15309         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15311 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
15313         * README: Do not mention ports directory.
15315         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMENSAT):
15316         Remove macro.
15317         * sysdeps/unix/sysv/linux/futimes.c: Do not include
15318         <kernel-features.h>.
15319         [__NR_utimensat && !__ASSUME_UTIMENSAT] (miss_utimensat): Remove
15320         conditional variable definition.
15321         (__futimes): Update comment.
15322         (__futimes) [__ASSUME_UTIMENSAT]: Make code unconditional.
15323         (__futimes) [!__ASSUME_UTIMENSAT]: Remove conditional code.
15325         [BZ #16560]
15326         * sysdeps/ieee754/dbl-64/e_exp10.c (__ieee754_exp10): Return 1 for
15327         arguments close to 0.
15328         * sysdeps/ieee754/ldbl-128/e_exp10l.c (__ieee754_exp10l):
15329         Likewise.
15330         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (__ieee754_exp10l):
15331         Likewise.
15332         * math/auto-libm-test-in: Add more tests of exp10.
15333         * math/auto-libm-test-out: Regenerated.
15334         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
15336         * sysdeps/unix/sysv/linux/kernel-features.h
15337         (__ASSUME_COMPLETE_READV_WRITEV): Remove macro.
15338         * sysdeps/unix/sysv/linux/readv.c: Do not include
15339         <kernel-features.h>.
15340         [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
15341         [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
15342         (__libc_readv) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
15343         unconditional.
15344         (__libc_readv) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
15345         conditional code.
15346         * sysdeps/unix/sysv/linux/writev.c: Do not include
15347         <kernel-features.h>.
15348         [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
15349         [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
15350         (__libc_writev) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
15351         unconditional.
15352         (__libc_writev) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
15353         conditional code.
15355 2014-06-25  Will Newton  <will.newton@linaro.org>
15357         * sysdeps/posix/tempname.c: Merge from gnulib, cosmetic
15358         comment changes throughout the file.  Remove checks
15359         for HAVE_*_H definitions that are not required.
15360         (__gen_tempname): Call abort if an unknown kind value is
15361         passed.
15363 2014-06-25  Andreas Schwab  <schwab@suse.de>
15365         [BZ #17086]
15366         * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Add compat symbols for
15367         scalbln, scalblnf, scalblnl in libc.
15369 2014-06-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
15371         [BZ #17086]
15372         * sysdeps/i386/fpu/s_scalbn.S: Add compat symbol for libc.so.
15373         * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
15374         * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
15376 2014-06-24  Roland McGrath  <roland@hack.frob.com>
15378         * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: Moved ...
15379         * sysdeps/i386/i486/pthread_spin_trylock.S: ... here.
15380         * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: Moved ...
15381         * sysdeps/i386/i586/pthread_spin_trylock.S: ... here.
15382         Update #include.
15383         * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: Moved ...
15384         * sysdeps/i386/i686/pthread_spin_trylock.S: ... here.
15385         Update #include.
15386         * sysdeps/x86_64/64/nptl/shlib-versions: Moved ...
15387         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: ... here.
15388         * sysdeps/x86_64/x32/nptl/shlib-versions: Moved ...
15389         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: ... here.
15390         * sysdeps/x86/nptl/bits/pthreadtypes.h: Moved ...
15391         * sysdeps/x86/bits/pthreadtypes.h: ... here.
15392         * sysdeps/x86/nptl/bits/semaphore.h: Moved ...
15393         * sysdeps/x86/bits/semaphore.h: ... here.
15394         * sysdeps/x86/nptl/elide.h: Moved ...
15395         * sysdeps/x86/elide.h: ... here.
15396         * sysdeps/x86_64/nptl/Implies: File removed.
15397         * sysdeps/i386/nptl/Implies: File removed.
15399 2014-06-24  Joseph Myers  <joseph@codesourcery.com>
15401         [BZ #16539]
15402         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Just
15403         return the argument for normal arguments with exponent below -64.
15404         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
15405         Likewise.
15406         * math/auto-libm-test-in: Add another test of expm1.
15407         * math/auto-libm-test-out: Regenerated.
15409         [BZ #16287]
15410         * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Return 1 without
15411         calling __erfcl for arguments at least 16.
15412         * math/auto-libm-test-in: Add more tests of erf.
15413         * math/auto-libm-test-out: Regenerated.
15415         * sysdeps/unix/sysv/linux/configure.ac: Remove cases for
15416         individual architectures.
15417         * sysdeps/unix/sysv/linux/configure: Regenerated.
15418         * sysdeps/unix/sysv/linux/i386/configure.ac: New file.
15419         * sysdeps/unix/sysv/linux/i386/configure: New generated file.
15420         * sysdeps/unix/sysv/linux/powerpc/configure.ac
15421         (ldd_rewrite_script): Define variable.
15422         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
15423         * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure.ac: New
15424         file.
15425         * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure: New
15426         generated file.
15427         * sysdeps/unix/sysv/linux/s390/configure.ac: New file.
15428         * sysdeps/unix/sysv/linux/s390/configure: New generated file.
15429         * sysdeps/unix/sysv/linux/sh/configure.ac: New file.
15430         * sysdeps/unix/sysv/linux/sh/configure: New generated file.
15431         * sysdeps/unix/sysv/linux/sparc/configure.ac: New file.
15432         * sysdeps/unix/sysv/linux/sparc/configure: New generated file.
15433         * sysdeps/unix/sysv/linux/x86_64/configure.ac: New file.
15434         * sysdeps/unix/sysv/linux/x86_64/configure: New generated file.
15436 2014-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
15438         [BZ #17084]
15439         * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_mutex_t):
15440         Rename member __data.d to __data.__elision_data.
15442 2014-06-24  Wilco  <wdijkstr@arm.com>
15444         * NEWS: Add 16918 to fixed bug list.
15446 2014-06-24  Wilco  <wdijkstr@arm.com>
15448         * sysdeps/arm/fesetenv.c (fesetenv): Optimize implementation.
15450 2014-06-24  Wilco  <wdijkstr@arm.com>
15452         * sysdeps/arm/fpu_control.h (_FPU_MASK_RM): Define.
15453         * sysdeps/arm/fenv_private.h (libc_fesetround_vfp)
15454         (libc_feholdexcept_setround_vfp) (libc_feholdsetround_vfp)
15455         (libc_feresetround_vfp) (libc_feholdsetround_vfp_ctx)
15456         (libc_feresetround_vfp_ctx): Use _FPU_MASK_RM.
15457         * sysdeps/arm/fesetround.c (fesetround): Use _FPU_MASK_RM.
15458         * sysdeps/arm/get-rounding-mode.h (get_rounding_mode):
15459         Use _FPU_MASK_RM.
15461 2014-06-24  Wilco  <wdijkstr@arm.com>
15463         * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Remove unused include.
15465 2014-06-24  Wilco  <wdijkstr@arm.com>
15467         * sysdeps/arm/feholdexcpt.c (feholdexcept): Remove space.
15468         * sysdeps/arm/fesetenv.c (fesetenv): Remove space.
15469         * sysdeps/arm/fesetround.c (fesetround): Remove space.
15470         * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Remove space.
15472 2014-06-24  Wilco  <wdijkstr@arm.com>
15474         [BZ #16918]
15475         * sysdeps/arm/feupdateenv.c (feupdateenv):
15476         Rewrite to reduce FPSCR accesses and fix return value.
15478 2014-06-24  Wilco  <wdijkstr@arm.com>
15480         * sysdeps/arm/fclrexcpt.c (feclearexcept):
15481         Optimize to avoid unnecessary FPSCR writes.
15482         * sysdeps/arm/fedisblxcpt.c (fedisableexcept): Likewise.
15483         * sysdeps/arm/feenablxcpt.c (feenableexcept): Likewise.
15484         * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Likewise.
15485         * sysdeps/arm/setfpucw.c (__setfpucw): Likewise.
15487 2014-06-24  Wilco  <wdijkstr@arm.com>
15489         * sysdeps/arm/fegetround.c (fegetround): Call get_rounding_mode.
15490         * sysdeps/arm/feholdexcpt.c (feholdexcept): Call libc_feholdexcept_vfp.
15491         * sysdeps/arm/fesetround.c (fesetround): Call libc_fesetround_vfp.
15492         * sysdeps/arm/fgetexcptflg.c (fegetexceptflag):
15493         Call libc_fetestexcept_vfp.
15494         * sysdeps/arm/ftestexcept.c (fetestexcept): Call libc_fetestexcept_vfp.
15495         * sysdeps/arm/fenv_private.h: Move libc_*_vfp functions outside of
15496         __SOFTFP__ ifdef so that they can be built for softfp.
15498 2014-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
15500         * sysdeps/x86/nptl/elide.h (elision_adapt): Make first
15501         argument type signed char.
15503         * Makerules (check-abi): Dump diff of symlist if the test
15504         fails.
15506 2014-06-23  Roland McGrath  <roland@hack.frob.com>
15508         * sysdeps/generic/get-rounding-mode.h: Include <stdlib.h> before
15509         using abort.
15511         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
15512         Remove unused variable ST.
15514 2014-06-23  Joseph Myers  <joseph@codesourcery.com>
15516         [BZ #16354]
15517         [BZ #17061]
15518         * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Check for
15519         small arguments before calling __expm1.
15520         * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Check for
15521         small arguments before calling __expm1f.
15522         * sysdeps/ieee754/ldbl-128/e_coshl.c (__ieee754_coshl): Check for
15523         small arguments before calling __expm1l.
15524         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
15525         Likewise.
15526         * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Likewise.
15527         * math/auto-libm-test-in: Add more cosh tests.  Do not allow
15528         spurious underflow for some cosh tests.
15529         * math/auto-libm-test-out: Regenerated.
15530         * sysdeps/i386/fpu/libm-test-ulps: Update.
15532         [BZ #17050]
15533         * sysdeps/ieee754/dbl-64/e_j1.c: Include <errno.h>.
15534         (__ieee754_y1): Set errno if return value overflows.
15535         * sysdeps/ieee754/flt-32/e_j1f.c: Include <errno.h>.
15536         (__ieee754_y1f): Set errno if return value overflows.
15537         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <errno.h>.
15538         (__ieee754_y1l): Set errno if return value overflows.
15539         * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <errno.h>.
15540         (__ieee754_y1l): Set errno if return value overflows.
15541         * math/auto-libm-test-in: Add more tests of y0, y1 and yn.
15542         * math/auto-libm-test-out: Regenerated.
15544         * math/gen-auto-libm-tests.c: Document use of
15545         ignore-zero-inf-sign.
15546         (input_flag_type): Add value flag_ignore_zero_inf_sign.
15547         (input_flags): Add ignore-zero-inf-sign.
15548         (output_for_one_input_case): Handle flag_ignore_zero_inf_sign.
15549         * math/gen-libm-test.pl (generate_testfile): Handle
15550         ignore-zero-inf-sign.
15551         * math/auto-libm-test-in: Mark some cpow tests with
15552         ignore-zero-inf-sign and some with xfail-rounding.
15553         * math/auto-libm-test-out: Regenerated.
15554         * math/libm-test.inc (cpow_test): Use ALL_RM_TEST.
15555         * sysdeps/i386/fpu/libm-test-ulps: Update.
15556         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15558         [BZ #16315]
15559         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Ensure possibly
15560         overflowing or underflowing operations take place with sign of
15561         result.
15562         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
15563         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
15564         * sysdeps/ieee754/dbl-64/e_pow.c: Include <math.h>.
15565         (__ieee754_pow): Recompute overflowing and underflowing results in
15566         original rounding mode.
15567         * sysdeps/x86/fpu/powl_helper.c: Include <stdbool.h>.
15568         (__powl_helper): Allow negative argument X and scale negated value
15569         as needed.  Avoid passing value outside [-1, 1] to f2xm1.
15570         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Ensure possibly
15571         overflowing or underflowing operations take place with sign of
15572         result.
15573         * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]:
15574         Include <math.h>.
15575         * math/auto-libm-test-in: Add more tests of pow.
15576         * math/auto-libm-test-out: Regenerated.
15577         * math/libm-test.inc (pow_test): Use ALL_RM_TEST.
15578         (pow_tonearest_test_data): Remove.
15579         (pow_test_tonearest): Likewise.
15580         (pow_towardzero_test_data): Likewise.
15581         (pow_test_towardzero): Likewise.
15582         (pow_downward_test_data): Likewise.
15583         (pow_test_downward): Likewise.
15584         (pow_upward_test_data): Likewise.
15585         (pow_test_upward): Likewise.
15586         (main): Don't call removed functions.
15587         * sysdeps/i386/fpu/libm-test-ulps: Update.
15588         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15590 2014-06-23  Roland McGrath  <roland@hack.frob.com>
15592         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/c++-types.data:
15593         Moved ...
15594         * sysdeps/unix/sysv/linux/powerpc/powerpc32/c++-types.data: ... here.
15595         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
15596         Moved ...
15597         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: ... here.
15598         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
15599         Moved ...
15600         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: ... here.
15601         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
15602         Moved ...
15603         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data: ... here.
15604         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
15605         File removed.
15606         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
15607         File removed.
15608         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libBrokenLocale.abilist:
15609         File removed.
15610         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libanl.abilist:
15611         File removed.
15612         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libcrypt.abilist:
15613         File removed.
15614         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libdl.abilist:
15615         File removed.
15616         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libnsl.abilist:
15617         File removed.
15618         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
15619         File removed.
15620         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libresolv.abilist:
15621         File removed.
15622         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
15623         File removed.
15624         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libthread_db.abilist:
15625         File removed.
15626         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libutil.abilist:
15627         File removed.
15628         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/ld.abilist:
15629         Moved ...
15630         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: ... here.
15631         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libBrokenLocale.abilist:
15632         Moved ...
15633         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libBrokenLocale.abilist:
15634         ... here.
15635         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libanl.abilist:
15636         Moved ...
15637         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libanl.abilist: ... here.
15638         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libcrypt.abilist:
15639         Moved ...
15640         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libcrypt.abilist: ... here.
15641         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libdl.abilist:
15642         Moved ...
15643         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libdl.abilist: ... here.
15644         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libnsl.abilist:
15645         Moved ...
15646         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libnsl.abilist: ... here.
15647         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libpthread.abilist:
15648         Moved ...
15649         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist: ... here.
15650         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libresolv.abilist:
15651         Moved ...
15652         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libresolv.abilist: ... here.
15653         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/librt.abilist:
15654         Moved ...
15655         * sysdeps/unix/sysv/linux/powerpc/powerpc32/librt.abilist: ... here.
15656         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libthread_db.abilist: Moved ...
15657         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libthread_db.abilist:
15658         ... here.
15659         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libutil.abilist:
15660         Moved ...
15661         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libutil.abilist: ... here.
15662         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
15663         Moved ...
15664         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
15665         ... here.
15666         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libm.abilist:
15667         Moved ...
15668         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
15669         ... here.
15670         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
15671         Moved ...
15672         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
15673         ... here.
15674         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
15675         Moved ...
15676         * sysdeps/unix/sysv/linux/powerpc/powerpc64/c++-types.data: ... here.
15677         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
15678         Moved ...
15679         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: ... here.
15680         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: Moved ...
15681         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: ... here.
15682         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
15683         Moved ...
15684         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale-le.abilist:
15685         ... here.
15686         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
15687         Moved ...
15688         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale.abilist:
15689         ... here.
15690         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
15691         Moved ...
15692         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl-le.abilist: ... here.
15693         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
15694         Moved ...
15695         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl.abilist: ... here.
15696         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
15697         Moved ...
15698         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: ... here.
15699         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
15700         Moved ...
15701         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: ... here.
15702         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
15703         Moved ...
15704         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt-le.abilist:
15705         ... here.
15706         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
15707         Moved ...
15708         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt.abilist: ... here.
15709         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
15710         Moved ...
15711         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl-le.abilist: ... here.
15712         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
15713         Moved ...
15714         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl.abilist: ... here.
15715         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
15716         Moved ...
15717         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: ... here.
15718         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: Moved ...
15719         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: ... here.
15720         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
15721         Moved ...
15722         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl-le.abilist: ... here.
15723         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
15724         Moved ...
15725         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl.abilist: ... here.
15726         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
15727         Moved ...
15728         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
15729         ... here.
15730         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
15731         Moved ...
15732         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
15733         ... here.
15734         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
15735         Moved ...
15736         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv-le.abilist:
15737         ... here.
15738         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
15739         Moved ...
15740         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv.abilist: ... here.
15741         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
15742         Moved ...
15743         * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt-le.abilist: ... here.
15744         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
15745         Moved ...
15746         * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt.abilist: ... here.
15747         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
15748         Moved ...
15749         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db-le.abilist:
15750         ... here.
15751         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
15752         Moved ...
15753         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db.abilist:
15754         ... here.
15755         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
15756         Moved ...
15757         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil-le.abilist:
15758         ... here.
15759         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
15760         Moved ...
15761         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil.abilist: ... here.
15762         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
15763         Moved ...
15764         * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: ... here.
15766 2014-06-23  Will Newton  <will.newton@linaro.org>
15767             Wilco  <wdijkstr@arm.com>
15769         * sysdeps/generic/math_private.h: Add generic HAVE_RM_CTX
15770         implementation.  Include get-rounding-mode.h.
15771         [!HAVE_RM_CTX]: Define HAVE_RM_CTX to zero.
15772         [!libc_feholdsetround_noex_ctx]: Define
15773         libc_feholdsetround_noex_ctx.
15774         [!libc_feholdsetround_noexf_ctx]: Define
15775         libc_feholdsetround_noexf_ctx.
15776         [!libc_feholdsetround_noexl_ctx]: Define
15777         libc_feholdsetround_noexl_ctx.
15778         (libc_feholdsetround_ctx): New function.
15779         (libc_feresetround_ctx): New function.
15780         (libc_feholdsetround_noex_ctx): New function.
15781         (libc_feresetround_noex_ctx): New function.
15783 2014-06-23  Roland McGrath  <roland@hack.frob.com>
15785         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h: Moved ...
15786         * sysdeps/mips/nptl/bits/pthreadtypes.h: ... here.
15787         * sysdeps/unix/sysv/linux/mips/nptl/bits/semaphore.h: Moved ...
15788         * sysdeps/mips/nptl/bits/semaphore.h: ... here.
15789         * sysdeps/unix/sysv/linux/mips/nptl/bits/local_lim.h: Moved ...
15790         * sysdeps/unix/sysv/linux/mips/bits/local_lim.h: ... here.
15792         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h: Moved ...
15793         * sysdeps/m68k/nptl/bits/pthreadtypes.h: ... here.
15794         * sysdeps/unix/sysv/linux/m68k/nptl/bits/semaphore.h: Moved ...
15795         * sysdeps/m68k/nptl/bits/semaphore.h: ... here.
15796         * sysdeps/unix/sysv/linux/m68k/nptl/c++-types.data: Moved ...
15797         * sysdeps/unix/sysv/linux/m68k/c++-types.data: ... here.
15798         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/bits/atomic.h: Moved ...
15799         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: ... here.
15800         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/ld.abilist: Moved ...
15801         * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: ... here.
15802         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libBrokenLocale.abilist:
15803         Moved ...
15804         * sysdeps/unix/sysv/linux/m68k/coldfire/libBrokenLocale.abilist:
15805         ... here.
15806         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libanl.abilist: Moved ...
15807         * sysdeps/unix/sysv/linux/m68k/coldfire/libanl.abilist: ... here.
15808         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libc.abilist: Moved ...
15809         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: ... here.
15810         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libcrypt.abilist:
15811         Moved ...
15812         * sysdeps/unix/sysv/linux/m68k/coldfire/libcrypt.abilist: ... here.
15813         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libdl.abilist: Moved ...
15814         * sysdeps/unix/sysv/linux/m68k/coldfire/libdl.abilist: ... here.
15815         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libm.abilist: Moved ...
15816         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: ... here.
15817         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libnsl.abilist: Moved ...
15818         * sysdeps/unix/sysv/linux/m68k/coldfire/libnsl.abilist: ... here.
15819         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libpthread.abilist:
15820         Moved ...
15821         * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: ... here.
15822         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libresolv.abilist:
15823         Moved ...
15824         * sysdeps/unix/sysv/linux/m68k/coldfire/libresolv.abilist: ... here.
15825         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/librt.abilist: Moved ...
15826         * sysdeps/unix/sysv/linux/m68k/coldfire/librt.abilist: ... here.
15827         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libthread_db.abilist:
15828         Moved ...
15829         * sysdeps/unix/sysv/linux/m68k/coldfire/libthread_db.abilist: ... here.
15830         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libutil.abilist: Moved ...
15831         * sysdeps/unix/sysv/linux/m68k/coldfire/libutil.abilist: ... here.
15832         * sysdeps/unix/sysv/linux/m68k/nptl/localplt.data: Moved ...
15833         * sysdeps/unix/sysv/linux/m68k/localplt.data: ... here.
15834         * sysdeps/unix/sysv/linux/m68k/nptl/lowlevellock.h: Moved ...
15835         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: ... here.
15836         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/ld.abilist: Moved ...
15837         * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: ... here.
15838         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libBrokenLocale.abilist:
15839         Moved ...
15840         * sysdeps/unix/sysv/linux/m68k/m680x0/libBrokenLocale.abilist:
15841         ... here.
15842         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libanl.abilist: Moved ...
15843         * sysdeps/unix/sysv/linux/m68k/m680x0/libanl.abilist: ... here.
15844         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libc.abilist: Moved ...
15845         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: ... here.
15846         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libcrypt.abilist: Moved ...
15847         * sysdeps/unix/sysv/linux/m68k/m680x0/libcrypt.abilist: ... here.
15848         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libdl.abilist: Moved ...
15849         * sysdeps/unix/sysv/linux/m68k/m680x0/libdl.abilist: ... here.
15850         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libm.abilist: Moved ...
15851         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: ... here.
15852         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libnsl.abilist: Moved ...
15853         * sysdeps/unix/sysv/linux/m68k/m680x0/libnsl.abilist: ... here.
15854         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libpthread.abilist:
15855         Moved ...
15856         * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: ... here.
15857         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libresolv.abilist: Moved ...
15858         * sysdeps/unix/sysv/linux/m68k/m680x0/libresolv.abilist: ... here.
15859         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/librt.abilist: Moved ...
15860         * sysdeps/unix/sysv/linux/m68k/m680x0/librt.abilist: ... here.
15861         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libthread_db.abilist:
15862         Moved ...
15863         * sysdeps/unix/sysv/linux/m68k/m680x0/libthread_db.abilist: ... here.
15864         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libutil.abilist: Moved ...
15865         * sysdeps/unix/sysv/linux/m68k/m680x0/libutil.abilist: ... here.
15866         * sysdeps/unix/sysv/linux/m68k/nptl/sysdep-cancel.h: Moved ...
15867         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: ... here.
15869         * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: Moved ...
15870         * sysdeps/unix/sysv/linux/sh/c++-types.data: ... here.
15871         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: Moved ...
15872         * sysdeps/unix/sysv/linux/sh/ld.abilist: ... here.
15873         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: Moved ...
15874         * sysdeps/unix/sysv/linux/sh/libBrokenLocale.abilist: ... here.
15875         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: Moved ...
15876         * sysdeps/unix/sysv/linux/sh/libanl.abilist: ... here.
15877         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Moved ...
15878         * sysdeps/unix/sysv/linux/sh/libc.abilist: ... here.
15879         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: Moved ...
15880         * sysdeps/unix/sysv/linux/sh/libcrypt.abilist: ... here.
15881         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: Moved ...
15882         * sysdeps/unix/sysv/linux/sh/libdl.abilist: ... here.
15883         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Moved ...
15884         * sysdeps/unix/sysv/linux/sh/libm.abilist: ... here.
15885         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: Moved ...
15886         * sysdeps/unix/sysv/linux/sh/libnsl.abilist: ... here.
15887         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: Moved ...
15888         * sysdeps/unix/sysv/linux/sh/libpthread.abilist: ... here.
15889         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: Moved ...
15890         * sysdeps/unix/sysv/linux/sh/libresolv.abilist: ... here.
15891         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Moved ...
15892         * sysdeps/unix/sysv/linux/sh/librt.abilist: ... here.
15893         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: Moved ...
15894         * sysdeps/unix/sysv/linux/sh/libthread_db.abilist: ... here.
15895         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: Moved ...
15896         * sysdeps/unix/sysv/linux/sh/libutil.abilist: ... here.
15898 2014-06-23  Joseph Myers  <joseph@codesourcery.com>
15900         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
15901         (FALLOC_FL_COLLAPSE_RANGE): New macro.
15902         [__USE_GNU] (FALLOC_FL_ZERO_RANGE): Likewise.
15903         * sysdeps/unix/sysv/linux/bits/in.h (IP_PMTUDISC_OMIT): Likewise.
15904         (IPV6_PMTUDISC_INTERFACE): Likewise.
15905         (IPV6_PMTUDISC_OMIT): Likewise.
15907 2014-06-23  Andreas Schwab  <schwab@suse.de>
15909         * nptl/sysdeps/unix/sysv/linux/mq_notify.c (init_mq_netlink):
15910         Remove unused errout label.
15912 2014-06-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15914         * sysdeps/powerpc/bits/hwcap.h [PPC_FEATURE2_HAS_VEC_CRYPTO]: New
15915         macro: hardware supports Vector Crypto instructions.
15917 2014-06-23  Will Newton  <will.newton@linaro.org>
15919         * elf/dl-lookup.c: Use __glibc_unlikely and __glibc_likely
15920         rather than __builtin_expect.
15922         * elf/dl-lookup.c (undefined_msg): Remove variable.
15923         (_dl_lookup_symbol_x): Replace undefined_msg with string
15924         literal.
15926         * elf/dl-lookup.c (do_lookup_unique): New function.
15927         (do_lookup_x): Move STB_GNU_UNIQUE handling code
15928         to a separate function.
15930 2014-06-23  Andreas Schwab  <schwab@suse.de>
15932         [BZ #17079]
15933         * nss/nss_files/files-XXX.c (get_contents): Store overflow marker
15934         before reading the next line.
15936 2014-06-23  Will Newton  <will.newton@linaro.org>
15938         * test-skeleton.c (signal_handler): Use printf and %m
15939         rather than perror.  Use printf rather than fprintf to
15940         stderr.  Use puts rather than fputs to stderr.
15941         (main): Likewise.
15943 2014-06-22  Ludovic Courtès  <ludo@gnu.org>
15945         * nscd/nscd.c (thread_info_t): Remove typedef.
15946         (thread_info): Remove variable.
15948 2014-06-21  Allan McRae  <allan@archlinux.org>
15950         * NEWS: Mention CVE-2014-4043.
15952 2014-06-20  Roland McGrath  <roland@hack.frob.com>
15954         * nptl/sysdeps/unix/sysv/linux/smp.h: Moved ...
15955         * nptl/smp.h: ... here.
15957         * nptl/sysdeps/unix/sysv/linux/rtld-lowlevel.h: File removed.
15959         * include/libc-symbols.h (HAVE_CONFIG_H, STDC_HEADERS): New macros.
15960         * catgets/Makefile (catgets-CPPFLAGS): Remove -DHAVE_CONFIG_H.
15961         * locale/Makefile (CPPFLAGS-locale-programs): Likewise.
15962         * stdlib/strtol_l.c [_LIBC] (STDC_HEADERS): Don't define it.
15964         * nptl/allocatestack.c: Include <stack-aliasing.h>.
15965         * nptl/stack-aliasing.h: New file.
15966         * sysdeps/i386/i686/stack-aliasing.h: New file.
15967         * sysdeps/i386/i686/nptl/Makefile: File removed.
15968         * sysdeps/x86_64/stack-aliasing.h: New file.
15969         * sysdeps/x86_64/nptl/Makefile
15970         (CFLAGS-pthread_create.c): Variable removed.
15972         * nptl/sysdeps/unix/sysv/linux/bits/local_lim.h: Moved ...
15973         * sysdeps/unix/sysv/linux/bits/local_lim.h: ... here, replacing the
15974         old file.
15975         * nptl/sysdeps/unix/sysv/linux/bits/posix_opt.h: Moved ...
15976         * sysdeps/unix/sysv/linux/bits/posix_opt.h: ... here, replacing the
15977         old file.
15979 2014-06-21  Joseph Myers  <joseph@codesourcery.com>
15981         * sysdeps/unix/sysv/linux/arm/kernel-features.h
15982         (__ASSUME_SIGFRAME_V2): Remove macro.
15983         * sysdeps/unix/sysv/linux/arm/sigrestorer.S: Update comment.
15984         [!__ASSUME_SIGFRAME_V2]: Remove conditional code.
15985         (__default_sa_restorer_v2): Rename to __default_sa_restorer.
15986         (__default_rt_sa_restorer_v2): Rename to __default_rt_sa_restorer.
15987         * sysdeps/unix/sysv/linux/arm/sigaction.c (__default_sa_restorer):
15988         Declare as function.  Remove conditional macro definitions.
15989         (__default_rt_sa_restorer): Likewise.
15990         (__default_sa_restorer_v1): Remove declaration.
15991         (__default_sa_restorer_v2): Likewise.
15992         (__default_rt_sa_restorer_v1): Likewise.
15993         (__default_rt_sa_restorer_v2): Likewise.
15994         * sysdeps/unix/sysv/linux/arm/Versions (GLIBC_PRIVATE): Remove
15995         __default_sa_restorer_v1, __default_rt_sa_restorer_v1,
15996         __default_sa_restorer_v2 and __default_rt_sa_restorer_v2.
15998 2014-06-20  Roland McGrath  <roland@hack.frob.com>
16000         * sysdeps/unix/sysv/linux/sparc/Makefile [$(subdir) = nptl]
16001         (libpthread-routines): Add sysdep.
16002         * nptl/sysdeps/unix/sysv/linux/sparc/Makefile: File removed.
16003         * sysdeps/unix/sysv/linux/sparc/Versions
16004         (libpthread: GLIBC_2.3.3): New version set.
16005         * nptl/sysdeps/unix/sysv/linux/sparc/Versions: File removed.
16006         * nptl/sysdeps/unix/sysv/linux/sparc/aio_cancel.c: Moved ...
16007         * sysdeps/unix/sysv/linux/sparc/aio_cancel.c: ... here.
16008         * nptl/sysdeps/unix/sysv/linux/sparc/internaltypes.h: Moved ...
16009         * sysdeps/sparc/nptl/internaltypes.h: ... here.  Use #include_next.
16010         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_destroy.c:
16011         Moved ...
16012         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: ... here.
16013         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_init.c: Moved ...
16014         * sysdeps/sparc/nptl/pthread_barrier_init.c: ... here.
16015         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_wait.c: Moved ...
16016         * sysdeps/sparc/nptl/pthread_barrier_wait.c: ... here.
16017         * nptl/sysdeps/unix/sysv/linux/sparc/sem_init.c: Moved ...
16018         * sysdeps/sparc/nptl/sem_init.c: ... here.
16019         * nptl/sysdeps/unix/sysv/linux/sparc/sem_post.c: Moved ...
16020         * sysdeps/sparc/nptl/sem_post.c: ... here.
16021         * nptl/sysdeps/unix/sysv/linux/sparc/sem_timedwait.c: Moved ...
16022         * sysdeps/sparc/nptl/sem_timedwait.c: ... here.
16023         * nptl/sysdeps/unix/sysv/linux/sparc/sem_wait.c: Moved ...
16024         * sysdeps/sparc/nptl/sem_wait.c: ... here.
16025         * nptl/sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Moved ...
16026         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: ... here.
16027         * sysdeps/sparc/sparc32/sparcv9/Makefile [$(subdir) = nptl]
16028         (libpthread-routines): Add cpu_relax.
16029         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/Makefile:
16030         File removed.
16031         * sysdeps/unix/sysv/linux/sparc/sparc64/Versions
16032         (librt: GLIBC_2.3.3): New version set.
16033         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Versions: File removed.
16034         * sysdeps/sparc/sparc64/nptl/Makefile: New file.
16035         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile [$(subdir) = nptl]
16036         (CFLAGS-pause.c, CFLAGS-sigsuspend.c): New variables.
16037         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Makefile: File removed.
16038         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/lowlevellock.c: Moved ...
16039         * sysdeps/sparc/sparc32/nptl/lowlevellock.c: ... here.
16040         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pthread_barrier_wait.c:
16041         Moved ...
16042         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: ... here.
16043         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_post.c: Moved ...
16044         * sysdeps/sparc/sparc32/nptl/sem_post.c: ... here.
16045         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_timedwait.c: Moved ...
16046         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: ... here.
16047         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_trywait.c: Moved ...
16048         * sysdeps/sparc/sparc32/nptl/sem_trywait.c: ... here.
16049         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_wait.c: Moved ...
16050         * sysdeps/sparc/sparc32/nptl/sem_wait.c: ... here.
16051         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/cpu_relax.S:
16052         Moved ...
16053         * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: ... here.
16054         Update #include.
16055         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/pthread_barrier_wait.c:
16056         Moved ...
16057         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: ... here.
16058         Update #include.
16059         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_post.c:
16060         Moved ...
16061         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: ... here.
16062         Update #include.
16063         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_timedwait.c:
16064         Moved ...
16065         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: ... here.
16066         Update #include.
16067         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_trywait.c:
16068         Moved ...
16069         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: ... here.
16070         Update #include.
16071         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_wait.c:
16072         Moved ...
16073         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: ... here.
16074         Update #include.
16075         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/cpu_relax.S: Moved ...
16076         * sysdeps/sparc/sparc64/nptl/cpu_relax.S: ... here.
16077         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Moved ...
16078         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: ... here.
16079         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Moved ...
16080         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: ... here.
16081         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: Moved ...
16082         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: ... here.
16083         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: Moved ...
16084         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: ... here.
16085         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
16086         Moved ...
16087         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c: ... here.
16088         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: Moved ...
16089         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: ... here.
16090         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: Moved ...
16091         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: ... here.
16093 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
16095         * nptl/pthread_cond_wait.c: Include <kernel-features.h>.
16096         * nptl/pthread_rwlock_timedrdlock.c: Likewise.
16097         * nptl/pthread_rwlock_timedwrlock.c: Likewise.
16098         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Likewise.
16099         * nscd/nscd.c: Likewise.
16100         * sysdeps/i386/nptl/tcb-offsets.sym: Likewise.
16101         * sysdeps/powerpc/nptl/tcb-offsets.sym: Likewise.
16102         * sysdeps/sh/nptl/tcb-offsets.sym: Likewise.
16103         * sysdeps/x86_64/nptl/tcb-offsets.sym: Likewise.
16105         * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Do not include
16106         <kernel-features.h>.
16107         (init_mq_netlink): Remove conditional have_sock_cloexec
16108         definitions.  Remove code conditional on have_sock_cloexec < 0.
16109         (init_mq_netlink) [!SOCK_CLOEXEC]: Remove conditional code.
16110         (init_mq_netlink) [!__ASSUME_SOCK_CLOEXEC]: Likewise.
16111         * sysdeps/unix/sysv/linux/opensock.c: Do not include
16112         <kernel-features.h>.
16113         (__opensock) [SOCK_CLOEXEC]: Make code unconditional.
16114         (__opensock) [!__ASSUME_SOCK_CLOEXEC]: Remove conditional code.
16116 2014-06-20  H.J. Lu  <hongjiu.lu@intel.com>
16118         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
16119         Add tests for memset_chk and memset.
16121         * sysdeps/x86_64/multiarch/init-arch.h (HAS_AVX2): Defined
16122         with AVX2_Usable.
16124 2014-06-20  Maciej W. Rozycki  <macro@codesourcery.com>
16126         [BZ #16046]
16127         * elf/tst-dl-iter-static.c: New file.
16128         * elf/Makefile (tests-static): Add tst-dl-iter-static.
16130         * stdlib/tst-qsort2.c (main): Fix off-by-one argc interpretation
16131         error.
16133 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
16135         * sysdeps/unix/sysv/linux/kernel-features.h
16136         (__ASSUME_F_GETOWN_EX): Remove macro.
16137         * sysdeps/unix/sysv/linux/fcntl.c: Do not include
16138         <kernel-features.h>.
16139         (miss_F_GETOWN_EX): Remove variable or macro.
16140         (do_fcntl): Do not check miss_F_GETOWN_EX.
16141         (do_fcntl) [!__ASSUME_F_GETOWN_EX]: Remove conditional code.
16143         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_RANDOM):
16144         Remove macro.
16145         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard)
16146         [!__ASSUME_AT_RANDOM]: Remove conditional code.
16147         (_dl_setup_pointer_guard) [!__ASSUME_AT_RANDOM]: Likewise.
16149         * sysdeps/unix/sysv/linux/kernel-features.h
16150         (__ASSUME_ADJ_OFFSET_SS_READ): Remove macro.
16151         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME)
16152         [ADJ_OFFSET_SS_READ]: Make code unconditional.
16153         (ADJTIME) [!ADJ_OFFSET_SS_READ]: Remove conditional code.
16155 2014-06-20  Maciej W. Rozycki  <macro@codesourcery.com>
16157         [BZ #17075]
16158         * sysdeps/arm/dl-machine.h (elf_machine_rel) <R_ARM_TLS_DESC>:
16159         Fix calculation of the symbol's value.
16160         * sysdeps/arm/tst-armtlsdescloc.c: New file.
16161         * sysdeps/arm/tst-armtlsdesclocmod.c: New file.
16162         * sysdeps/arm/tst-armtlsdescextnow.c: New file.
16163         * sysdeps/arm/tst-armtlsdescextlazymod.c: New file.
16164         * sysdeps/arm/tst-armtlsdescextlazy.c: New file.
16165         * sysdeps/arm/tst-armtlsdescextnowmod.c: New file.
16166         * sysdeps/arm/Makefile (tests): Add `tst-armtlsdesc',
16167         `tst-armtlsdescextnow' and `tst-armtlsdescextlazy'.
16168         (modules-names): Add `tst-armtlsdescmod',
16169         `tst-armtlsdescextlazymod' and `tst-armtlsdescextnowmod'.
16170         (CPPFLAGS-tst-armtlsdescextnowmod.c): New variable.
16171         (CPPFLAGS-tst-armtlsdescextlazymod.c): Likewise.
16172         (CFLAGS-tst-armtlsdesclocmod.c): Likewise.
16173         (CFLAGS-tst-armtlsdescextnowmod.c): Likewise.
16174         (CFLAGS-tst-armtlsdescextlazymod.c): Likewise.
16175         (LDFLAGS-tst-armtlsdescextnowmod.so): Likewise.
16176         ($(objpfx)tst-armtlsdescloc): New dependency.
16177         ($(objpfx)tst-armtlsdescextnow): Likewise.
16178         ($(objpfx)tst-armtlsdescextlazy): Likewise.
16179         * sysdeps/arm/configure.ac: Add a check for tools' GNU descriptor
16180         TLS scheme support.
16181         * sysdeps/arm/configure: Regenerate.
16183 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
16185         * include/fcntl.h (__atfct_seterrno): Remove prototype.
16186         (__atfct_seterrno_2): Likewise.
16187         * sysdeps/unix/sysv/linux/alpha/dl-fxstatat64.c: Do not include
16188         <kernel-features.h>.
16189         (__ASSUME_ATFCTS): Do not undefine and redefine.
16190         * sysdeps/unix/sysv/linux/alpha/fxstatat.c [__ASSUME_ATFCTS]
16191         (__have_atfcts): Remove conditional definition.
16192         (__fxstatat([__NR_fstatat64]: Make code unconditional.
16193         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code and code
16194         unreachable if [__ASSUME_ATFCTS].
16195         * sysdeps/unix/sysv/linux/dl-fxstatat64.c (__ASSUME_ATFCTS): Do
16196         not undefine and redefine.
16197         * sysdeps/unix/sysv/linux/faccessat.c: Do not include
16198         <kernel-features.h>.
16199         (faccessat) [__NR_faccessat]: Make code unconditional.
16200         (faccessat) [!__ASSUME_ATFCTS]: Remove conditional code.
16201         * sysdeps/unix/sysv/linux/fchmodat.c: Do not include
16202         <kernel-features.h>.
16203         (fchmodat) [__NR_fchmodat]: Make code unconditional.
16204         (fchmodat) [!__ASSUME_ATFCTS]: Remove conditional code.
16205         * sysdeps/unix/sysv/linux/fchownat.c: Do not include
16206         <kernel-features.h>.
16207         (fchownat) [__NR_fchownat]: Make code unconditional.
16208         (fchownat) [!__ASSUME_ATFCTS]: Remove conditional code.
16209         * sysdeps/unix/sysv/linux/futimesat.c: Do not include
16210         <kernel-features.h>.
16211         (futimesat) [__NR_futimesat]: Make code unconditional.
16212         (futimesat) [!__ASSUME_ATFCTS]: Remove conditional code.
16213         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
16214         <kernel-features.h>.
16215         (__fxstatat) [__NR_newfstatat]: Make code unconditional.
16216         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
16217         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
16218         <kernel-features.h>.
16219         (__fxstatat64) [__NR_fstatat64]: Make code unconditional.
16220         (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
16221         * sysdeps/unix/sysv/linux/i386/fchownat.c: Remove file.
16222         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
16223         <kernel-features.h>.
16224         (__fxstatat) [__NR_fstatat64]: Make code unconditional.
16225         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
16226         * sysdeps/unix/sysv/linux/linkat.c: Do not include
16227         <kernel-features.h>.
16228         (linkat) [__NR_linkat]: Make code unconditional.
16229         (linkat) [!__ASSUME_ATFCTS]: Remove conditional code.
16230         * sysdeps/unix/sysv/linux/m68k/fchownat.c: Remove file.
16231         * sysdeps/unix/sysv/linux/mips/mips64/fxstatat64.c: Do not include
16232         <kernel-features.h>.
16233         (__fxstatat64) [__NR_newfstatat]: Make code unconditional.
16234         (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
16235         * sysdeps/unix/sysv/linux/mkdirat.c: Do not include
16236         <kernel-features.h>.
16237         (mkdirat) [__NR_mkdirat]: Make code unconditional.
16238         (mkdirat) [!__ASSUME_ATFCTS]: Remove conditional code.
16239         * sysdeps/unix/sysv/linux/openat.c: Do not include
16240         <kernel-features.h>.
16241         [!__ASSUME_ATFCTS] (__atfct_seterrno): Remove function.
16242         [!__ASSUME_ATFCTS] (__have_atfcts): Remove variable.
16243         (OPENAT_NOT_CANCEL) [__NR_openat]: Make code unconditional.
16244         (OPENAT_NOT_CANCEL) [!__ASSUME_ATFCTS]: Remove conditional code.
16245         * sysdeps/unix/sysv/linux/powerpc/fchownat.c: Remove file.
16246         * sysdeps/unix/sysv/linux/readlinkat.c: Do not include
16247         <kernel-features.h>.
16248         (readlinkat) [__NR_readlinkat]: Make code unconditional.
16249         (readlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.  Return
16250         result of INLINE_SYSCALL directly, not via int variable.
16251         * sysdeps/unix/sysv/linux/renameat.c: Do not include
16252         <kernel-features.h>.
16253         [!__ASSUME_ATFCTS] (__atfct_seterrno_2): Remove function.
16254         (renameat) [__NR_renameat]: Make code unconditional.
16255         (renameat) [!__ASSUME_ATFCTS]: Remove conditional code.
16256         * sysdeps/unix/sysv/linux/s390/s390-32/fchownat.c: Remove file.
16257         * sysdeps/unix/sysv/linux/sh/fchownat.c: Remove file.
16258         * sysdeps/unix/sysv/linux/sparc/sparc32/fchownat.c: Remove file.
16259         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c
16260         (__ASSUME_ATFCTS): Do not undefine and redefine.
16261         * sysdeps/unix/sysv/linux/symlinkat.c: Do not include
16262         <kernel-features.h>.
16263         (symlinkat) [__NR_symlinkat]: Make code unconditional.
16264         (symlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
16265         * sysdeps/unix/sysv/linux/unlinkat.c: Do not include
16266         <kernel-features.h>.
16267         (unlinkat) [__NR_unlinkat]: Make code unconditional.
16268         (unlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
16269         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c
16270         (__ASSUME_ATFCTS): Do not undefine and redefine.
16271         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
16272         <kernel-features.h>.
16273         (__fxstatat) [__NR_newfstatat]: Make code unconditional.
16274         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
16275         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
16276         <kernel-features.h>.
16277         (__xmknodat) [__NR_mknodat]: Make code unconditional.
16278         (__xmknodat) [!__ASSUME_ATFCTS]: Remove conditional code.
16280 2014-06-20  H.J. Lu  <hongjiu.lu@intel.com>
16282         * sysdeps/x86_64/multiarch/rtld-strlen.S: Removed.
16284 2014-06-20  Andreas Schwab  <schwab@linux-m68k.org>
16286         [BZ #17069]
16287         * posix/regcomp.c (parse_reg_exp): Deallocate partially
16288         constructed tree before returning error.
16289         * posix/bug-regexp36.c: Expand test case.
16291 2014-06-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
16293         [BZ #6803]
16294         * math/libm-test.inc (scalbln_test_date):
16295         Add errno expectations.
16296         * math/w_scalblnf.c: New File.
16297         Add wrapper which checks for setting errno to ERANGE.
16298         Add weak_alias for corresponding scalbln function.
16299         * math/w_scalbln.c: Likewise.
16300         * math/w_scalblnl.c: Likewise.
16301         * math/Makefile (libm-calls): Add w_scalbln.
16302         * sysdeps/ieee754/flt-32/s_scalblnf.c:
16303         Remove weak_alias for corresponding scalbln function.
16304         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
16305         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
16306         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
16307         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
16308         * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: Likewise.
16309         * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
16310         * sysdeps/i386/fpu/s_scalbn.S: Likewise.
16311         * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
16312         * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Likewise.
16313         * sysdeps/ieee754/ldbl-64-128/s_scalblnl.c:
16314         Remove long_double_symbol for scalblnl function in libm, libc.
16315         * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: New File.
16316         Add wrapper which checks for setting errno to ERANGE.
16317         Add long_double_symbol for scalblnl function in libm, libc.
16318         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c:
16319         Remove long_double_symbol for scalblnl in libm.
16320         * sysdeps/ieee754/ldbl-128ibm/w_scalblnl.c: New File.
16321         Add wrapper which checks for setting errno to ERANGE.
16322         Add long_double_symbol for scalblnl function in libm.
16323         * sysdeps/ia64/fpu/w_scalblnf.c: New File.
16324         Do not use wrapper because of own implementation.
16326 2014-06-19  H.J. Lu  <hongjiu.lu@intel.com>
16328         * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Use
16329         3 bytes for __pad1 for x32.
16330         (__PTHREAD_RWLOCK_ELISION_EXTRA): Likewise.
16332 2014-06-19  Ling Ma  <ling.ml@alibaba-inc.com>
16333             H.J. Lu  <hongjiu.lu@intel.com>
16335         * sysdeps/x86_64/multiarch/Makefile: Add memset-avx2.
16336         * sysdeps/x86_64/multiarch/memset-avx2.S: New file.
16337         * sysdeps/x86_64/multiarch/memset.S: Likewise.
16338         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
16339         * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
16341 2014-06-19  Andreas Schwab  <schwab@linux-m68k.org>
16343         [BZ #17069]
16344         * posix/regcomp.c (parse_expression): Deallocate partially
16345         constructed tree before returning error.
16346         * posix/Makefile.c (tests): Add bug-regex36.
16347         (generated): Add bug-regex36.mtrace.
16348         (tests-special): Add $(objpfx)bug-regex36-mem.out
16349         (bug-regex36-ENV): New variable.
16350         ($(objpfx)bug-regex36-mem.out): New rule.
16351         * posix/bug-regex36.c: New file.
16353 2014-06-19  Will Newton  <will.newton@linaro.org>
16355         * malloc/malloc.c (systrim): If extra is zero then return
16356         early.
16358 2014-06-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
16360         * benchtests/Makefile ($(objpfx)bench-%.c): Remove $(.).
16362 2014-06-19  Richard Earnshaw  <rearnsha@arm.com>
16364         * sysdeps/aarch64/strchr.S: New file.
16366 2014-06-18  Joseph Myers  <joseph@codesourcery.com>
16368         [BZ #17022]
16369         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Do not subtract 1
16370         from arguments -2 or below.
16371         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
16372         * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
16374 2014-06-18  Andreas Schwab  <schwab@suse.de>
16376         [BZ #17062]
16377         * posix/fnmatch_loop.c (FCT): Rerrange loop for skipping over rest
16378         of a bracket expr not to run off the end of the string.
16379         * posix/Makefile (tests): Add tst-fnmatch3.
16380         * posix/tst-fnmatch3.c: New file.
16382 2014-06-18  Joseph Myers  <joseph@codesourcery.com>
16384         * elf/Makefile ($(objpfx)tst-unused-dep.out): Use $(rtld-prefix).
16385         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
16386         [$(cross-compiling) = no]: Likewise.
16387         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
16388         [$(cross-compiling) = no]: Likewise.
16390 2014-16-17  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
16392         [BZ #17031]
16393         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Consider the low
16394         double, adjusted for any remainder from the high double.
16395         * math/libm-test.inc (nearbyint): Add tests.
16396         (rint): Likewise.
16398 2014-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16400         * nptl/sysdeps/powerpc/Makefile: Moved ...
16401         * sysdeps/powerpc/nptl/Makefile: ... here.
16402         * nptl/sysdeps/powerpc/pthread_spin_lock.c: Moved ...
16403         * sysdeps/powerpc/nptl/pthread_spin_lock.c: .. here.
16404         * nptl/sysdeps/powerpc/pthread_spin_trylock.c: Moved ...
16405         * sysdeps/powerpc/nptl/pthread_spin_trylock.c: ... here.
16406         * nptl/sysdeps/powerpc/pthreaddef.h: Moved ...
16407         * sysdeps/powerpc/nptl/pthreaddef.h: ... here.
16408         * nptl/sysdeps/powerpc/tcb-offsets.sym: Moved ...
16409         * sysdeps/powerpc/nptl/tcb-offsets.sym: ... here.
16410         * nptl/sysdeps/powerpc/tls.h: Moved ...
16411         * sysdeps/powerpc/nptl/tls.h: ... here.
16413 2014-06-16  Joseph Myers  <joseph@codesourcery.com>
16415         [BZ #16681]
16416         * sysdeps/i386/fpu/s_ceil.S (__ceil): Add CFI.
16417         * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
16418         * sysdeps/i386/fpu/s_ceill.S (__ceill): Likewise.
16419         * sysdeps/i386/fpu/s_floor.S (__floor): Likewise.
16420         * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
16421         * sysdeps/i386/fpu/s_floorl.S (__floorl): Likewise.
16422         * sysdeps/i386/fpu/s_trunc.S (__trunc): Likewise.
16423         * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
16424         * sysdeps/i386/fpu/s_truncl.S (__truncl): Likewise.
16426 2014-06-17  Andreas Schwab  <schwab@linux-m68k.org>
16428         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
16430 2014-06-16  Andreas Schwab  <schwab@linux-m68k.org>
16432         * sysdeps/m68k/m680x0/bits/huge_vall.h: Fix missing space after
16433         defined operator.
16435         * scripts/cross-test-ssh.sh (timeoutfactor): Default to
16436         $TIMEOUTFACTOR.
16438 2014-06-16  Florian Weimer  <fweimer@redhat.com>
16440         [BZ #17058]
16441         * nptl/tst-setuid2.c (do_test): Fix tautological comparison in
16442         non-executed part of the test.
16444 2014-06-16  Andreas Schwab  <schwab@suse.de>
16446         * string/bits/string2.h (strdup, strndup): Update feature guard.
16448 2014-06-14  David S. Miller  <davem@davemloft.net>
16450         * sysdeps/sparc/fpu/libm-test-ulps: Update.
16452 2014-06-14  Andreas Schwab  <schwab@linux-m68k.org>
16454         * sysdeps/unix/sysv/linux/m68k/clone.S: Deconditionalize the code
16455         that was previously under [RESET_PID].
16456         * sysdeps/unix/sysv/linux/m68k/nptl/clone.S: Remove file.
16458         * sysdeps/unix/sysv/linux/m68k/pt-vfork.c: New file.
16459         * sysdeps/unix/sysv/linux/m68k/nptl/pt-vfork.S: Remove file.
16460         * sysdeps/unix/sysv/linux/m68k/vfork.S: Include <tcb-offsets.h>.
16461         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
16462         (__libc_vfork): New strong alias.
16463         * sysdeps/unix/sysv/linux/m68k/nptl/vfork.S: Remove file.
16465 2014-06-14 Andi Kleen  <ak@linux.intel.com>
16467         * sysdeps/generic/elide.h: New file.
16469 2014-06-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
16471         * Makefile (installed-headers): Adjust path of pthread.h header.
16473 2014-06-13  Roland McGrath  <roland@hack.frob.com>
16475         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h: Moved ...
16476         * sysdeps/s390/nptl/bits/pthreadtypes.h: ... here.
16477         * nptl/sysdeps/unix/sysv/linux/s390/bits/semaphore.h: Moved ...
16478         * sysdeps/s390/nptl/bits/semaphore.h: ... here.
16480         * nptl/sysdeps/s390/Makefile: Moved ...
16481         * sysdeps/s390/nptl/Makefile: ... here.
16482         * nptl/sysdeps/s390/pthread_spin_init.c: Moved ...
16483         * sysdeps/s390/nptl/pthread_spin_init.c: ... here.
16484         * nptl/sysdeps/s390/pthread_spin_lock.c: Moved ...
16485         * sysdeps/s390/nptl/pthread_spin_lock.c: ... here.
16486         * nptl/sysdeps/s390/pthread_spin_trylock.c: Moved ...
16487         * sysdeps/s390/nptl/pthread_spin_trylock.c: ... here.
16488         * nptl/sysdeps/s390/pthread_spin_unlock.c: Moved ...
16489         * sysdeps/s390/nptl/pthread_spin_unlock.c: ... here.
16490         * nptl/sysdeps/s390/pthreaddef.h: Moved ...
16491         * sysdeps/s390/nptl/pthreaddef.h: ... here.
16492         * nptl/sysdeps/s390/tcb-offsets.sym: Moved ...
16493         * sysdeps/s390/nptl/tcb-offsets.sym: ... here.
16494         * nptl/sysdeps/s390/tls.h: Moved ...
16495         * sysdeps/s390/nptl/tls.h: ... here.
16497         * sysdeps/unix/sysv/linux/s390/arch-fork.h: New file.
16498         * nptl/sysdeps/unix/sysv/linux/s390/fork.c: File removed.
16500 2014-06-13  David S. Miller  <davem@davemloft.net>
16502         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Delete.
16503         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pt-vfork.S: Delete.
16504         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Moved ...
16505         * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: ... here.
16506         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Delete.
16507         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/pt-vfork.S: Delete.
16508         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Moved ...
16509         * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: ... here.
16510         * sysdeps/unix/sysv/linux/sparc/fork.S: Delete.
16511         * sysdeps/unix/sysv/linux/sparc/pt-vfork.S: New file.
16512         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__thread_start):
16513         Remove RESET_PID cpp guards.
16514         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__thread_start):
16515         Remove RESET_PID cpp guards.
16516         * sysdeps/unix/sysv/linux/sparc/vfork.S: Delete.
16518 2014-06-13  Andreas Schwab  <schwab@linux-m68k.org>
16520         * sysdeps/m68k/jmpbuf-unwind.h (_JMPBUF_UNWINDS, _jmpbuf_sp): Cast
16521         __sp to uintptr_t.
16523 2014-06-13  Andi Kleen  <ak@linux.intel.com>
16525         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: Remove.
16526         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S: dito.
16527         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S: dito.
16528         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: dito.
16529         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: dito.
16530         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: dito.
16531         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S: dito.
16532         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S: dito.
16533         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: dito.
16534         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: dito.
16535         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: dito.
16536         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S: dito.
16537         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S: dito.
16538         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: dito.
16539         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: dito.
16540         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: dito.
16541         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: dito.
16542         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: dito.
16543         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: dito.
16544         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: dito.
16546         * nptl/pthread_rwlock_rdlock.c: Include elide.h.
16547         (pthread_rwlock_rdlock): Add elision.
16548         * nptl/pthread_rwlock_wrlock.c: Include elide.h.
16549         (pthread_rwlock_wrlock): Add elision.
16550         * nptl/pthread_rwlock_trywrlock.c: Include elide.h.
16551         (pthread_rwlock_trywrlock): Add elision.
16552         * nptl/pthread_rwlock_tryrdlock.c: Include elide.h.
16553         (pthread_rwlock_tryrdlock): Add elision.
16554         * nptl/pthread_rwlock_unlock.c: Include elide.h.
16555         (pthread_rwlock_tryrdlock): Add elision unlock.
16556         * nptl/sysdeps/pthread/pthread.h:
16557         (__PTHREAD_RWLOCK_ELISION_EXTRA): Handle new define
16558         (PTHREAD_RWLOCK_INITIALIZER,
16559         PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP):
16560         Handle new elision field.
16561         * sysdeps/x86/nptl/elide.h: New file. Add generic elision macros.
16562         * sysdeps/arm/nptl/bits/pthreadtypes.h
16563         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
16564         * sysdeps/sh/nptl/bits/pthreadtypes.h
16565         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
16566         * sysdeps/tile/nptl/bits/pthreadtypes.h
16567         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
16568         * sysdeps/a/nptl/bits/pthreadtypes.h
16569         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
16570         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
16571         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
16572         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
16573         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
16574         * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h
16575         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
16576         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
16577         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
16578         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
16579         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
16580         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
16581         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
16582         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
16583         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
16584         * sysdeps/unix/sysv/linux/powerpc/nptl/bits/pthreadtypes.h
16585         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
16586         * sysdeps/unix/sysv/linux/x86/elision-conf.c:
16587         (elision_init): Set try_xbegin to zero when no RTM.
16588         * sysdeps/x86/nptl/bits/pthreadtypes.h
16589         (pthread_rwlock_t): Change __pad1 to __rwelision.
16590         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
16592 2014-06-13  Andi Kleen  <ak@linux.intel.com>
16594         * nptl/pthread_rwlock_rdlock (__pthread_rwlock_rdlock):
16595         Split into __do_pthread_rwlock_rdlock and __pthread_rwlock_rdlock.
16596         * nptl/pthread_rwlock_wrlock (__pthread_rwlock_wrlock):
16597         Split into __do_pthread_rwlock_wrlock and __pthread_wrlock_rdlock.
16599 2014-06-13  Meador Inge  <meadori@codesourcery.com>
16601         [BZ #16996]
16602         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Ensure
16603         that the cached result has been set before returning it.
16605 2014-06-12  Roland McGrath  <roland@hack.frob.com>
16607         * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h: Moved ...
16608         * sysdeps/sparc/nptl/bits/pthreadtypes.h: ... here.
16609         * nptl/sysdeps/unix/sysv/linux/sparc/bits/semaphore.h: Moved ...
16610         * sysdeps/sparc/nptl/bits/semaphore.h: ... here.
16611         * nptl/sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: Moved ...
16612         * sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: ... here.
16614         * nptl/sysdeps/sparc/Makefile: Moved ...
16615         * sysdeps/sparc/nptl/Makefile: ... here.
16616         * nptl/sysdeps/sparc/tcb-offsets.sym: Moved ...
16617         * sysdeps/sparc/nptl/tcb-offsets.sym: ... here.
16618         * nptl/sysdeps/sparc/tls.h: Moved ...
16619         * sysdeps/sparc/nptl/tls.h: ... here.
16620         * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S: Moved ...
16621         * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: ... here.
16622         * nptl/sysdeps/sparc/sparc32/pthread_spin_trylock.S: Moved ...
16623         * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: ... here.
16624         * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Moved ...
16625         * sysdeps/sparc/sparc32/nptl/pthreaddef.h: ... here.
16626         * nptl/sysdeps/sparc/sparc64/pthread_spin_init.c: Moved ...
16627         * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: ... here.
16628         * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S: Moved ...
16629         * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: ... here.
16630         * nptl/sysdeps/sparc/sparc64/pthread_spin_trylock.S: Moved ...
16631         * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: ... here.
16632         * nptl/sysdeps/sparc/sparc64/pthread_spin_unlock.S: Moved ...
16633         * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: ... here.
16634         * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Moved ...
16635         * sysdeps/sparc/sparc64/nptl/pthreaddef.h: ... here.
16636         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Moved ...
16637         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: ... here.
16638         Update #include.
16639         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Moved ...
16640         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: ... here.
16641         Update #include.
16642         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Moved ...
16643         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: ... here.
16644         Update #include.
16645         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: Moved ...
16646         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: ... here.
16647         Update #include.
16649         * nptl/sysdeps/sparc/tls.h (TLS_DEFINE_INIT_TP): New macro.
16651         * sysdeps/unix/sysv/linux/sparc/arch-fork.h: New file.
16652         * nptl/sysdeps/unix/sysv/linux/sparc/fork.c: File removed.
16654         * sysdeps/pthread/posix-timer.h: Include <list.h>.
16655         (struct list_links): Type removed.
16656         (struct thread_node, struct timer_node): Replace struct list_links
16657         with struct list_head.
16658         (list_unlink_ip): Likewise.
16659         * sysdeps/pthread/timer_routines.c
16660         (timer_free_list, thread_free_list, thread_active_list): Likewise.
16661         (list_append, list_insbefore): Likewise.
16662         (list_init): Function removed.
16663         (thread_init, init_module): Use INIT_LIST_HEAD instead.
16664         * sysdeps/nptl/Makefile: Move tst-timer bits to ...
16665         * sysdeps/pthread/Makefile: ... here, new file.
16667         * nptl/sysdeps/unix/sysv/linux/Implies: Moved ...
16668         * sysdeps/nptl/Implies: ... here.
16669         * sysdeps/unix/sysv/linux/Implies: Add nptl.
16670         * nptl/sysdeps/pthread/list.h: Moved ...
16671         * include/list.h: ... here.
16672         * nptl/sysdeps/pthread/createthread.c: Moved ...
16673         * nptl/createthread.c: ... here.
16674         * nptl/sysdeps/unix/sysv/linux/createthread.c: Update #include.
16675         * nptl/sysdeps/pthread/pt-longjmp.c: Moved ...
16676         * nptl/pt-longjmp.c: ... here.
16677         * nptl/sysdeps/pthread/Makefile: Moved ...
16678         * sysdeps/nptl/Makefile: ... here.
16679         * nptl/sysdeps/pthread/Subdirs: Moved ...
16680         * sysdeps/nptl/Subdirs: ... here.
16681         * nptl/sysdeps/pthread/aio_misc.h: Moved ...
16682         * sysdeps/nptl/aio_misc.h: ... here.
16683         * nptl/sysdeps/pthread/bits/libc-lock.h: Moved ...
16684         * sysdeps/nptl/bits/libc-lock.h: ... here.
16685         * nptl/sysdeps/pthread/bits/libc-lockP.h: Moved ...
16686         * sysdeps/nptl/bits/libc-lockP.h: ... here.
16687         * nptl/sysdeps/pthread/bits/stdio-lock.h: Moved ...
16688         * sysdeps/nptl/bits/stdio-lock.h: ... here.
16689         * nptl/sysdeps/pthread/configure: Moved ...
16690         * sysdeps/nptl/configure: ... here.
16691         * nptl/sysdeps/pthread/configure.ac: Moved ...
16692         * sysdeps/nptl/configure.ac: ... here.
16693         * nptl/sysdeps/pthread/gai_misc.h: Moved ...
16694         * sysdeps/nptl/gai_misc.h: ... here.
16695         * nptl/sysdeps/pthread/librt-cancellation.c: Moved ...
16696         * sysdeps/nptl/librt-cancellation.c: ... here.
16697         * nptl/sysdeps/pthread/malloc-machine.h: Moved ...
16698         * sysdeps/nptl/malloc-machine.h: ... here.
16699         * nptl/sysdeps/pthread/pthread-functions.h: Moved ...
16700         * sysdeps/nptl/pthread-functions.h: ... here.
16701         * nptl/sysdeps/pthread/pthread.h: Moved ...
16702         * sysdeps/nptl/pthread.h: ... here.
16703         * nptl/sysdeps/pthread/setxid.h: Moved ...
16704         * sysdeps/nptl/setxid.h: ... here.
16705         * nptl/sysdeps/pthread/sigfillset.c: Moved ...
16706         * sysdeps/nptl/sigfillset.c: ... here.
16707         * nptl/sysdeps/pthread/tcb-offsets.h: Moved ...
16708         * sysdeps/nptl/tcb-offsets.h: ... here.
16709         * nptl/sysdeps/pthread/tst-mqueue8x.c: Moved ...
16710         * sysdeps/nptl/tst-mqueue8x.c: ... here.
16711         * nptl/sysdeps/pthread/unwind-forcedunwind.c: Moved ...
16712         * sysdeps/nptl/unwind-forcedunwind.c: ... here.
16713         * nptl/sysdeps/pthread/allocalim.h: Moved ...
16714         * sysdeps/pthread/allocalim.h: ... here.
16715         * nptl/sysdeps/pthread/bits/sigthread.h: Moved ...
16716         * sysdeps/pthread/bits/sigthread.h: ... here.
16717         * nptl/sysdeps/pthread/flockfile.c: Moved ...
16718         * sysdeps/pthread/flockfile.c: ... here.
16719         * nptl/sysdeps/pthread/ftrylockfile.c: Moved ...
16720         * sysdeps/pthread/ftrylockfile.c: ... here.
16721         * nptl/sysdeps/pthread/funlockfile.c: Moved ...
16722         * sysdeps/pthread/funlockfile.c: ... here.
16723         * nptl/sysdeps/pthread/posix-timer.h: Moved ...
16724         * sysdeps/pthread/posix-timer.h: ... here.
16725         * nptl/sysdeps/pthread/timer_create.c: Moved ...
16726         * sysdeps/pthread/timer_create.c: ... here.
16727         * nptl/sysdeps/pthread/timer_delete.c: Moved ...
16728         * sysdeps/pthread/timer_delete.c: ... here.
16729         * nptl/sysdeps/pthread/timer_getoverr.c: Moved ...
16730         * sysdeps/pthread/timer_getoverr.c: ... here.
16731         * nptl/sysdeps/pthread/timer_gettime.c: Moved ...
16732         * sysdeps/pthread/timer_gettime.c: ... here.
16733         * nptl/sysdeps/pthread/timer_routines.c: Moved ...
16734         * sysdeps/pthread/timer_routines.c: ... here.
16735         * nptl/sysdeps/pthread/timer_settime.c: Moved ...
16736         * sysdeps/pthread/timer_settime.c: ... here.
16737         * nptl/sysdeps/pthread/tst-timer.c: Moved ...
16738         * sysdeps/pthread/tst-timer.c: ... here.
16739         * nptl/sysdeps/pthread/pthread_sigmask.c: Moved ...
16740         * sysdeps/unix/sysv/linux/pthread_sigmask.c: ... here.
16742         * sysdeps/unix/sysv/linux/sigprocmask.c: Include <nptl/pthreadP.h>.
16743         * nptl/sysdeps/pthread/sigprocmask.c: File removed.
16745         * nptl/sysdeps/i386/i486/pthread_spin_trylock.S: Moved ...
16746         * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: ... here.
16747         * nptl/sysdeps/i386/i586/pthread_spin_trylock.S: Moved ...
16748         * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: ... here.
16749         Update #include target.
16750         * nptl/sysdeps/i386/i686/Makefile: Moved ...
16751         * sysdeps/i386/i686/nptl/Makefile: ... here.
16752         * nptl/sysdeps/i386/i686/pthread_spin_trylock.S: Moved ...
16753         * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: ... here.
16754         Update #include target.
16755         * nptl/sysdeps/i386/i686/tls.h: Moved ...
16756         * sysdeps/i386/i686/nptl/tls.h: ... here.  Use #include_next.
16757         * nptl/sysdeps/i386/Makefile: Moved ...
16758         * sysdeps/i386/nptl/Makefile: ... here.
16759         * nptl/sysdeps/i386/pthread_spin_init.c: Moved ...
16760         * sysdeps/i386/nptl/pthread_spin_init.c: ... here.
16761         * sysdeps/x86_64/nptl/pthread_spin_init.c: Update #include target.
16762         * nptl/sysdeps/i386/pthread_spin_lock.S: Moved ...
16763         * sysdeps/i386/nptl/pthread_spin_lock.S: ... here.
16764         * nptl/sysdeps/i386/pthread_spin_unlock.S: Moved ...
16765         * sysdeps/i386/nptl/pthread_spin_unlock.S: ... here.
16766         * nptl/sysdeps/i386/pthreaddef.h: Moved ...
16767         * sysdeps/i386/nptl/pthreaddef.h: ... here.
16768         * nptl/sysdeps/i386/tcb-offsets.sym: Moved ...
16769         * sysdeps/i386/nptl/tcb-offsets.sym: ... here.
16770         * nptl/sysdeps/i386/tls.h: Moved ...
16771         * sysdeps/i386/nptl/tls.h: ... here.
16773         * sysdeps/sh/Makefile [$(subdir) = csu]
16774         (gen-as-const-headers): Add tcb-offsets.sym.
16775         * nptl/sysdeps/sh/Makefile: File removed.
16776         * nptl/sysdeps/sh/pthread_spin_init.c: Moved ...
16777         * sysdeps/sh/nptl/pthread_spin_init.c: ... here.
16778         * nptl/sysdeps/sh/pthread_spin_lock.c: Moved ...
16779         * sysdeps/sh/nptl/pthread_spin_lock.c: ... here.
16780         * nptl/sysdeps/sh/pthread_spin_trylock.S: Moved ...
16781         * sysdeps/sh/nptl/pthread_spin_trylock.S: ... here.
16782         * nptl/sysdeps/sh/pthread_spin_unlock.S: Moved ...
16783         * sysdeps/sh/nptl/pthread_spin_unlock.S: ... here.
16784         * nptl/sysdeps/sh/pthreaddef.h: Moved ...
16785         * sysdeps/sh/nptl/pthreaddef.h: ... here.
16786         * nptl/sysdeps/sh/tcb-offsets.sym: Moved ...
16787         * sysdeps/sh/nptl/tcb-offsets.sym: ... here.
16788         * nptl/sysdeps/sh/tls.h: Moved ...
16789         * sysdeps/sh/nptl/tls.h: ... here.
16790         * nptl/sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Moved ...
16791         * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: ... here.
16792         * nptl/sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: Moved ...
16793         * sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: ... here.
16794         * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.S: Moved ...
16795         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: ... here.
16796         * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.h: Moved ...
16797         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: ... here.
16798         * nptl/sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Moved ...
16799         * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: ... here.
16800         * nptl/sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Moved ...
16801         * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: ... here.
16802         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Moved ...
16803         * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: ... here.
16804         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Moved ...
16805         * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: ... here.
16806         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Moved ...
16807         * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: ... here.
16808         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Moved ...
16809         * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: ... here.
16810         * nptl/sysdeps/unix/sysv/linux/sh/pthread_once.S: Moved ...
16811         * sysdeps/unix/sysv/linux/sh/pthread_once.S: ... here.
16812         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Moved ...
16813         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: ... here.
16814         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S:
16815         Moved ...
16816         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: ... here.
16817         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S:
16818         Moved ...
16819         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: ... here.
16820         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Moved ...
16821         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: ... here.
16822         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Moved ...
16823         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: ... here.
16824         * nptl/sysdeps/unix/sysv/linux/sh/sem_post.S: Moved ...
16825         * sysdeps/unix/sysv/linux/sh/sem_post.S: ... here.
16826         * nptl/sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Moved ...
16827         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: ... here.
16828         * nptl/sysdeps/unix/sysv/linux/sh/sem_trywait.S: Moved ...
16829         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: ... here.
16830         * nptl/sysdeps/unix/sysv/linux/sh/sem_wait.S: Moved ...
16831         * sysdeps/unix/sysv/linux/sh/sem_wait.S: ... here.
16832         * nptl/sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Moved ...
16833         * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: ... here.
16834         * nptl/sysdeps/unix/sysv/linux/sh/smp.h: Moved ...
16835         * sysdeps/unix/sysv/linux/sh/smp.h: ... here.
16836         * nptl/sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Moved ...
16837         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: ... here.
16839 2014-06-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
16841         * posix/spawn_faction_addopen.c: Include string.h.
16843 2014-06-11  Roland McGrath  <roland@hack.frob.com>
16845         * nptl/sysdeps/x86_64/64/shlib-versions: Moved ...
16846         * sysdeps/x86_64/64/nptl/shlib-versions: ... here.
16847         * nptl/sysdeps/x86_64/Makefile: Moved ...
16848         * sysdeps/x86_64/nptl/Makefile: ... here.
16849         * nptl/sysdeps/x86_64/configure: Moved ...
16850         * sysdeps/x86_64/nptl/configure: ... here.
16851         * nptl/sysdeps/x86_64/configure.ac: Moved ...
16852         * sysdeps/x86_64/nptl/configure.ac: ... here.
16853         * nptl/sysdeps/x86_64/pthread_spin_init.c: Moved ...
16854         * sysdeps/x86_64/nptl/pthread_spin_init.c: ... here.
16855         * nptl/sysdeps/x86_64/pthread_spin_lock.S: Moved ...
16856         * sysdeps/x86_64/nptl/pthread_spin_lock.S: ... here.
16857         * nptl/sysdeps/x86_64/pthread_spin_trylock.S: Moved ...
16858         * sysdeps/x86_64/nptl/pthread_spin_trylock.S: ... here.
16859         * nptl/sysdeps/x86_64/pthread_spin_unlock.S: Moved ...
16860         * sysdeps/x86_64/nptl/pthread_spin_unlock.S: ... here.
16861         * nptl/sysdeps/x86_64/pthreaddef.h: Moved ...
16862         * sysdeps/x86_64/nptl/pthreaddef.h: ... here.
16863         * nptl/sysdeps/x86_64/tcb-offsets.sym: Moved ...
16864         * sysdeps/x86_64/nptl/tcb-offsets.sym: ... here.
16865         * nptl/sysdeps/x86_64/tls.h: Moved ...
16866         * sysdeps/x86_64/nptl/tls.h: ... here.
16867         * nptl/sysdeps/x86_64/x32/shlib-versions: Moved ...
16868         * sysdeps/x86_64/x32/nptl/shlib-versions: ... here.
16869         * nptl/sysdeps/x86_64/x32/tls.h: Moved ...
16870         * sysdeps/x86_64/x32/nptl/tls.h: ... here.
16872         * sysdeps/x86_64/x32/nptl/tls.h: Use #include_next.
16874 2014-06-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16876         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16878 2014-06-11  Joseph Myers  <joseph@codesourcery.com>
16880         * conform/data/sys/mman.h-data [POSIX] (size_t): Do not require
16881         type.
16882         [POSIX] (off_t): Likewise.
16883         * conform/data/sys/stat.h-data (S_IRGRP): Require constant.
16884         [POSIX] (S_ISBLK): Require macro.
16885         [POSIX] (S_ISCHR): Likewise.
16886         [POSIX] (S_ISDIR): Likewise.
16887         [POSIX] (S_ISFIFO): Likewise.
16888         [POSIX] (S_ISREG): Likewise.
16889         [POSIX || XPG3 || XPG4 || UNIX98] (S_TYPEISTMO): Do not list
16890         optional-macro.
16891         * conform/data/sys/types.h-data [POSIX] (blkcnt_t): Do not require
16892         type.
16893         [POSIX] (time_t): Likewise.
16894         [POSIX] (timer_t): Likewise.
16896 2014-06-11  Florian Weimer  <fweimer@redhat.com>
16898         [BZ #17048]
16899         * posix/spawn_int.h (struct __spawn_action): Make the path string
16900         non-const to support deallocation.
16901         * posix/spawn_faction_addopen.c
16902         (posix_spawn_file_actions_addopen): Make a copy of the pathname.
16903         * posix/spawn_faction_destroy.c
16904         (posix_spawn_file_actions_destroy): Adjust comment.  Deallocate
16905         path in all spawn_do_open actions.
16906         * posix/tst-spawn.c (do_test): Exercise the copy operation in
16907         posix_spawn_file_actions_addopen.
16909 2014-06-11  Chris Metcalf  <cmetcalf@tilera.com>
16911         * sysdeps/unix/sysv/linux/tile/pt-vfork.c: New file.
16912         * sysdeps/unix/sysv/linux/tile/pt-vfork.S: Remove file.
16913         * sysdeps/unix/sysv/linux/tile/vfork.S (__vfork): Make PT_VFORK
16914         conditional code always true.
16915         (__libc_vfork): New alias.
16917 2014-06-11  Roland McGrath  <roland@hack.frob.com>
16919         * sysdeps/tile/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
16920         * sysdeps/unix/sysv/linux/tile/createthread.c: File removed.
16922         * nptl/sysdeps/s390/tls.h (TLS_DEFINE_INIT_TP): New macro.
16924         * sysdeps/alpha/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
16925         * sysdeps/unix/sysv/linux/alpha/createthread.c: File removed.
16927         * nptl/sysdeps/powerpc/tls.h (TLS_DEFINE_INIT_TP): New macro.
16928         * sysdeps/unix/sysv/linux/powerpc/createthread.c: File removed.
16930         * sysdeps/aarch64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
16931         * sysdeps/unix/sysv/linux/aarch64/nptl/createthread.c: File removed.
16933 2014-06-11  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
16935         * sysdeps/powerpc/powerpc64/power7/strcmp.S: New file: Optimization.
16936         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: New file:
16937         multiarch strcmp for PPC64.
16938         * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: New file.
16939         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: New file.
16940         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcmp
16941         multiarch optimizations.
16942         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
16943         (__libc_ifunc_impl_list): Likewise.
16945 2014-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
16947         * benchtests/scripts/validate_benchout.py: New script.
16948         * benchtests/Makefile (bench-func): Call it.
16949         * benchtests/scripts/benchout.schema.json: New file.
16951 2014-06-10  Chris Metcalf  <cmetcalf@tilera.com>
16953         * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h: Moved ...
16954         * sysdeps/tile/nptl/bits/pthreadtypes.h: ... here.
16955         * sysdeps/unix/sysv/linux/tile/nptl/bits/semaphore.h: Moved ...
16956         * sysdeps/tile/nptl/bits/semaphore.h: ... here.
16957         * sysdeps/unix/sysv/linux/tile/nptl/Makefile: Removed, merged into ...
16958         * sysdeps/unix/sysv/linux/tile/Makefile: ... here.
16959         * sysdeps/unix/sysv/linux/tile/nptl/clone.S: Moved ...
16960         * sysdeps/unix/sysv/linux/tile/clone.S: ... here.
16961         * sysdeps/unix/sysv/linux/tile/nptl/createthread.c: Moved ...
16962         * sysdeps/unix/sysv/linux/tile/createthread.c: ... here.
16963         * sysdeps/unix/sysv/linux/tile/nptl/lowlevellock.h: Moved ...
16964         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: ... here.
16965         * sysdeps/unix/sysv/linux/tile/nptl/pt-vfork.S: Moved ...
16966         * sysdeps/unix/sysv/linux/tile/pt-vfork.S: ... here.
16967         * sysdeps/unix/sysv/linux/tile/nptl/sysdep-cancel.h: Moved ...
16968         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: ... here.
16969         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/c++-types.data:
16970         Moved ...
16971         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/c++-types.data:
16972         ... here.
16973         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/ld.abilist:
16974         Moved ...
16975         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/ld.abilist: ... here.
16976         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libBrokenLocale.abilist:
16977         Moved ...
16978         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libBrokenLocale.abilist:
16979         ... here.
16980         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libanl.abilist:
16981         Moved ...
16982         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libanl.abilist:
16983         ... here.
16984         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libc.abilist:
16985         Moved ...
16986         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: ... here.
16987         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libcrypt.abilist:
16988         Moved ...
16989         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libcrypt.abilist:
16990         ... here.
16991         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libdl.abilist:
16992         Moved ...
16993         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libdl.abilist:
16994         ... here.
16995         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libm.abilist:
16996         Moved ...
16997         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: ... here.
16998         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libnsl.abilist:
16999         Moved ...
17000         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libnsl.abilist:
17001         ... here.
17002         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libpthread.abilist:
17003         Moved ...
17004         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libpthread.abilist:
17005         ... here.
17006         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libresolv.abilist:
17007         Moved ...
17008         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libresolv.abilist:
17009         ... here.
17010         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/librt.abilist:
17011         Moved ...
17012         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/librt.abilist: ... here.
17013         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libthread_db.abilist:
17014         Moved ...
17015         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libthread_db.abilist:
17016         ... here.
17017         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libutil.abilist:
17018         Moved ...
17019         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libutil.abilist:
17020         ... here.
17021         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/c++-types.data:
17022         Moved ...
17023         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/c++-types.data:
17024         ... here.
17025         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/ld.abilist:
17026         Moved ...
17027         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/ld.abilist: ... here.
17028         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libBrokenLocale.abilist:
17029         Moved ...
17030         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libBrokenLocale.abilist:
17031         ... here.
17032         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libanl.abilist:
17033         Moved ...
17034         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libanl.abilist:
17035         ... here.
17036         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libc.abilist:
17037         Moved ...
17038         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: ... here.
17039         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libcrypt.abilist:
17040         Moved ...
17041         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libcrypt.abilist:
17042         ... here.
17043         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libdl.abilist:
17044         Moved ...
17045         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libdl.abilist: ... here.
17046         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libm.abilist:
17047         Moved ...
17048         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: ... here.
17049         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libnsl.abilist:
17050         Moved ...
17051         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libnsl.abilist:
17052         ... here.
17053         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libpthread.abilist:
17054         Moved ...
17055         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libpthread.abilist:
17056         ... here.
17057         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libresolv.abilist:
17058         Moved ...
17059         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libresolv.abilist:
17060         ... here.
17061         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/librt.abilist:
17062         Moved ...
17063         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/librt.abilist: ... here.
17064         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libthread_db.abilist:
17065         Moved ...
17066         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libthread_db.abilist:
17067         ... here.
17068         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libutil.abilist:
17069         Moved ...
17070         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libutil.abilist:
17071         ... here.
17072         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/c++-types.data: Moved ...
17073         * sysdeps/unix/sysv/linux/tile/tilepro/c++-types.data: ... here.
17074         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/ld.abilist: Moved ...
17075         * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: ... here.
17076         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libBrokenLocale.abilist:
17077         Moved ...
17078         * sysdeps/unix/sysv/linux/tile/tilepro/libBrokenLocale.abilist:
17079         ... here.
17080         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libanl.abilist: Moved ...
17081         * sysdeps/unix/sysv/linux/tile/tilepro/libanl.abilist: ... here.
17082         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libc.abilist: Moved ...
17083         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: ... here.
17084         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libcrypt.abilist: Moved ...
17085         * sysdeps/unix/sysv/linux/tile/tilepro/libcrypt.abilist: ... here.
17086         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libdl.abilist: Moved ...
17087         * sysdeps/unix/sysv/linux/tile/tilepro/libdl.abilist: ... here.
17088         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libm.abilist: Moved ...
17089         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: ... here.
17090         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libnsl.abilist: Moved ...
17091         * sysdeps/unix/sysv/linux/tile/tilepro/libnsl.abilist: ... here.
17092         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libpthread.abilist:
17093         Moved ...
17094         * sysdeps/unix/sysv/linux/tile/tilepro/libpthread.abilist: ... here.
17095         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libresolv.abilist:
17096         Moved ...
17097         * sysdeps/unix/sysv/linux/tile/tilepro/libresolv.abilist: ... here.
17098         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/librt.abilist: Moved ...
17099         * sysdeps/unix/sysv/linux/tile/tilepro/librt.abilist: ... here.
17100         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libthread_db.abilist:
17101         Moved ...
17102         * sysdeps/unix/sysv/linux/tile/tilepro/libthread_db.abilist: ... here.
17103         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libutil.abilist: Moved ...
17104         * sysdeps/unix/sysv/linux/tile/tilepro/libutil.abilist: ... here.
17105         * sysdeps/unix/sysv/linux/tile/nptl/vfork.S: Moved ...
17106         * sysdeps/unix/sysv/linux/tile/vfork.S: ... here.
17107         * sysdeps/unix/sysv/linux/tile/nptl/waitpid.S: Moved ...
17108         * sysdeps/unix/sysv/linux/tile/waitpid.S: ... here.
17110 2014-06-10  Wilco  <wdijkstr@arm.com>
17112         * math/test-fenv-return.c: New file.
17113         * math/Makefile: Add new test test-fenv-return.
17115 2014-06-10  Joseph Myers  <joseph@codesourcery.com>
17117         [BZ #17042]
17118         * sysdeps/i386/fpu/e_log2.S (__ieee754_log2): Take absolete value
17119         when x - 1 is zero.
17120         * sysdeps/i386/fpu/e_log2f.S (__ieee754_log2f): Likewise.
17121         * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Likewise.
17122         * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Return
17123         0.0L for an argument of 1.0L.
17124         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
17125         Likewise.
17126         * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Take absolute
17127         value when x - 1 is zero.
17128         * math/libm-test.inc (log2_test): Use ALL_RM_TEST.
17129         * sysdeps/i386/fpu/libm-test-ulps: Update.
17130         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17132 2014-06-09  Bernard Ogden  <bernie.ogden@linaro.org>
17134         [BZ #15119]
17135         * ports/sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.c: Remove file.
17137 2014-06-09  Roland McGrath  <roland@hack.frob.com>
17139         * nptl/sysdeps/sh/tls.h (TLS_DEFINE_INIT_TP): New macro.
17140         * nptl/sysdeps/unix/sysv/linux/sh/createthread.c: File removed.
17142 2014-06-09  Roland McGrath  <roland@hack.frob.com>
17144         * sysdeps/m68k/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
17145         * sysdeps/unix/sysv/linux/m68k/nptl/createthread.c: File removed.
17147         * sysdeps/hppa/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
17148         * sysdeps/unix/sysv/linux/hppa/nptl/createthread.c: File removed.
17150         * sysdeps/mips/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
17151         * sysdeps/unix/sysv/linux/mips/nptl/createthread.c: File removed.
17153         * sysdeps/arm/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
17154         * sysdeps/unix/sysv/linux/arm/createthread.c: File removed.
17156         * nptl/sysdeps/pthread/createthread.c (TLS_DEFINE_INIT_TP): New macro,
17157         if not already defined.
17158         (do_clone): Use that in place of PREPARE_CREATE and TLS_VALUE.
17159         * nptl/sysdeps/x86_64/tls.h (TLS_DEFINE_INIT_TP): New macro.
17160         * nptl/sysdeps/i386/tls.h (tls_fill_user_desc): New function.
17161         (TLS_INIT_TP): Use it.
17162         (TLS_DEFINE_INIT_TP): New macro.
17163         * sysdeps/unix/sysv/linux/i386/createthread.c: File removed.
17165 2014-06-09  Joseph Myers  <joseph@codesourcery.com>
17167         * conform/data/termios.h-data [POSIX] (IUCLC): Do not expect
17168         constant.
17169         [POSIX] (IXANY): Likewise.
17170         [POSIX] (OLCUC): Likewise.
17171         [POSIX || POSIX2008] (CBAUD): Do not allow.
17172         [POSIX || POSIX2008] (DEFECHO): Likewise.
17173         [POSIX || POSIX2008] (ECHOCTL): Likewise.
17174         [POSIX || POSIX2008] (ECHOKE): Likewise.
17175         [POSIX || POSIX2008] (ECHOPRT): Likewise.
17176         [POSIX || POSIX2008] (EXTA): Likewise.
17177         [POSIX || POSIX2008] (EXTB): Likewise.
17178         [POSIX || POSIX2008] (FLUSHO): Likewise.
17179         [POSIX || POSIX2008] (LOBLK): Likewise.
17180         [POSIX || POSIX2008] (PENDIN): Likewise.
17181         [POSIX || POSIX2008] (SWTCH): Likewise.
17182         [POSIX || POSIX2008] (VDISCARD): Likewise.
17183         [POSIX || POSIX2008] (VDSUSP): Likewise.
17184         [POSIX || POSIX2008] (VLNEXT): Likewise.
17185         [POSIX || POSIX2008] (VREPRINT): Likewise.
17186         [POSIX || POSIX2008] (VSTATUS): Likewise.
17187         [POSIX || POSIX2008] (VWERASE): Likewise.
17188         (B*): Change to B[0123456789]*.
17189         * conform/data/time.h-data [POSIX || UNIX98]
17190         (CLOCK_PROCESS_CPUTIME_ID): Do not expect constant.
17191         [POSIX || UNIX98] (CLOCK_THREAD_CPUTIME_ID): Likewise.
17192         [POSIX || UNIX98] (CLOCK_MONOTONIC): Likewise.
17193         [POSIX] (tm_*): Do not allow.
17195 2014-06-07  Joseph Myers  <joseph@codesourcery.com>
17197         * Makefile (install): Don't set LANGUAGE.
17198         * Makefile.in (install): Likewise.
17199         * assert/Makefile (test-assert-ENV): Remove variable.
17200         (test-assert-perr-ENV): Likewise.
17201         * elf/Makefile (neededtest4-ENV): Likewise.
17202         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
17203         [$(cross-compiling) = no]: Don't set LANGUAGE.
17204         * io/ftwtest-sh (LANG): Remove variable.
17205         * libio/Makefile (tst-widetext-ENV): Likewise.
17206         * manual/install.texi (Running make install): Don't refer to
17207         environment settings for make install.
17208         * INSTALL: Regenerated.
17209         * nptl/tst-tls6.sh: Don't set LANG.
17210         * posix/globtest.sh (LANG): Remove variable.
17211         * string/Makefile (tester-ENV): Likewise.
17212         (inl-tester-ENV): Likewise.
17213         (noinl-tester-ENV): Likewise.
17214         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
17215         [$(cross-compiling) = no]: Don't set LANGUAGE.
17216         * timezone/Makefile (build-testdata): Use $(built-program-cmd)
17217         without explicit environment settings.
17219 2014-06-06  Roland McGrath  <roland@hack.frob.com>
17221         * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h: Moved ...
17222         * sysdeps/sh/nptl/bits/pthreadtypes.h: ... here.
17223         * nptl/sysdeps/unix/sysv/linux/sh/bits/semaphore.h: Moved ...
17224         * sysdeps/sh/nptl/bits/semaphore.h: ... here.
17226 2014-06-06  Chris Metcalf  <cmetcalf@tilera.com>
17228         * crypt/crypt-private.h [DOS]: Add some includes taken from the
17229         other files in the crypt directory.
17230         * crypt/crypt.c: Remove duplicate includes.
17231         * crypt/crypt-entry.c: Likewise.
17232         * crypt/crypt_util.c: Likewise.
17234 2014-06-06  Joseph Myers  <joseph@codesourcery.com>
17236         * Makeconfig (run-program-env): New variable.
17237         (run-program-prefix-before-env): Likewise.
17238         (run-program-prefix-after-env): Likewise.
17239         (run-program-prefix): Define in terms of new variables.
17240         (built-program-cmd-before-env): New variable.
17241         (built-program-cmd-after-env): Likewise.
17242         (built-program-cmd): Define in terms of new variables.
17243         (test-program-prefix-before-env): New variable.
17244         (test-program-prefix-after-env): Likewise.
17245         (test-program-prefix): Define in terms of new variables.
17246         (test-program-cmd-before-env): New variable.
17247         (test-program-cmd-after-env): Likewise.
17248         (test-program-cmd): Define in terms of new variables.
17249         * Rules (make-test-out): Use $(run-program-env).
17250         * scripts/cross-test-ssh.sh (env_blacklist): Remove variable.
17251         (help): Do not mention environment variables.  Mention
17252         --timeoutfactor option.
17253         (timeoutfactor): New variable.
17254         (blacklist_exports): Remove function.
17255         (exports): Remove variable.
17256         (command): Do not include ${exports}.
17257         * manual/install.texi (Configuring and compiling): Do not mention
17258         test wrappers preserving environment variables.  Mention that last
17259         assignment to a variable must take precedence.
17260         * INSTALL: Regenerated.
17261         * benchtests/Makefile (run-bench): Use $(run-program-env).
17262         * catgets/Makefile ($(objpfx)test1.cat): Use
17263         $(built-program-cmd-before-env), $(run-program-env) and
17264         $(built-program-cmd-after-env).
17265         ($(objpfx)test2.cat): Do not specify environment variables
17266         explicitly.
17267         ($(objpfx)de/libc.cat): Use $(built-program-cmd-before-env),
17268         $(run-program-env) and $(built-program-cmd-after-env).
17269         ($(objpfx)test-gencat.out): Use $(test-program-cmd-before-env),
17270         $(run-program-env) and $(test-program-cmd-after-env).
17271         ($(objpfx)sample.SJIS.cat): Do not specify environment variables
17272         explicitly.
17273         * catgets/test-gencat.sh: Use test_program_cmd_before_env,
17274         run_program_env and test_program_cmd_after_env arguments.
17275         * elf/Makefile ($(objpfx)tst-pathopt.out): Use $(run-program-env).
17276         * elf/tst-pathopt.sh: Use run_program_env argument.
17277         * iconvdata/Makefile ($(objpfx)iconv-test.out): Use
17278         $(test-wrapper-env) and $(run-program-env).
17279         * iconvdata/run-iconv-test.sh: Use test_wrapper_env and
17280         run_program_env arguments.
17281         * iconvdata/tst-table.sh: Do not set GCONV_PATH explicitly.
17282         * intl/Makefile ($(objpfx)tst-gettext.out): Use
17283         $(test-program-prefix-before-env), $(run-program-env) and
17284         $(test-program-prefix-after-env).
17285         ($(objpfx)tst-gettext2.out): Likewise.
17286         * intl/tst-gettext.sh: Use test_program_prefix_before_env,
17287         run_program_env and test_program_prefix_after_env arguments.
17288         * intl/tst-gettext2.sh: Likewise.
17289         * intl/tst-gettext4.sh: Do not set environment variables
17290         explicitly.
17291         * intl/tst-gettext6.sh: Likewise.
17292         * intl/tst-translit.sh: Likewise.
17293         * malloc/Makefile ($(objpfx)tst-mtrace.out): Use
17294         $(test-program-prefix-before-env), $(run-program-env) and
17295         $(test-program-prefix-after-env).
17296         * malloc/tst-mtrace.sh: Use test_program_prefix_before_env,
17297         run_program_env and test_program_prefix_after_env arguments.
17298         * math/Makefile (run-regen-ulps): Use $(run-program-env).
17299         * nptl/Makefile ($(objpfx)tst-tls6.out): Use $(run-program-env).
17300         * nptl/tst-tls6.sh: Use run_program_env argument.  Set LANG=C
17301         explicitly with each use of ${test_wrapper_env}.
17302         * posix/Makefile ($(objpfx)wordexp-tst.out): Use
17303         $(test-program-prefix-before-env), $(run-program-env) and
17304         $(test-program-prefix-after-env).
17305         * posix/tst-getconf.sh: Do not set environment variables
17306         explicitly.
17307         * posix/wordexp-tst.sh: Use test_program_prefix_before_env,
17308         run_program_env and test_program_prefix_after_env arguments.
17309         * stdio-common/tst-printf.sh: Do not set environment variables
17310         explicitly.
17311         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Use
17312         $(test-program-prefix-before-env), $(run-program-env) and
17313         $(test-program-prefix-after-env).
17314         * stdlib/tst-fmtmsg.sh: Use test_program_prefix_before_env,
17315         run_program_env and test_program_prefix_after_env arguments.
17316         Split $test calls into $test_pre and $test.
17317         * timezone/Makefile (build-testdata): Use
17318         $(built-program-cmd-before-env), $(run-program-env) and
17319         $(built-program-cmd-after-env).
17321 2014-06-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17323         * sysdeps/powerpc/powerpc64/power7/strncat.S [STRLEN]: Define it as
17324         strlen for non SHARED builds.
17326 2014-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
17328         * nptl/allocatestack.c (check_list): Inlined function...
17329         (__reclaim_stacks): ... here.
17331 2014-06-05  Ondřej Bílka  <neleai@seznam.cz>
17333         [BZ #15698]
17334         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
17335         memory overrun.
17337 2014-06-05  Joseph Myers  <joseph@codesourcery.com>
17339         * Rules (make-test-out): Include
17340         LOCPATH=$(common-objpfx)localedata in default environment.
17341         * debug/Makefile (tst-chk1-ENV): Remove variable.
17342         (tst-chk2-ENV): Likewise.
17343         (tst-chk3-ENV): Likewise.
17344         (tst-chk4-ENV): Likewise.
17345         (tst-chk5-ENV): Likewise.
17346         (tst-chk6-ENV): Likewise.
17347         (tst-lfschk1-ENV): Likewise.
17348         (tst-lfschk2-ENV): Likewise.
17349         (tst-lfschk3-ENV): Likewise.
17350         (tst-lfschk4-ENV): Likewise.
17351         (tst-lfschk5-ENV): Likewise.
17352         (tst-lfschk6-ENV): Likewise.
17353         * iconvdata/Makefile (bug-iconv6-ENV): Likewise.
17354         (tst-iconv7-ENV): Likewise.
17355         * intl/Makefile (LOCPATH-ENV): Likewise.
17356         (tst-codeset-ENV): Likewise.
17357         (tst-gettext3-ENV): Likewise.
17358         (tst-gettext5-ENV): Likewise.
17359         * libio/Makefile (tst-widetext-ENV): Don't set LOCPATH.
17360         (tst-fopenloc-ENV): Likewise.
17361         (tst-fgetws-ENV): Remove variable.
17362         (tst-ungetwc1-ENV): Likewise.
17363         (tst-ungetwc2-ENV): Likewise.
17364         (bug-ungetwc2-ENV): Likewise.
17365         (tst-swscanf-ENV): Likewise.
17366         (bug-ftell-ENV): Likewise.
17367         (tst-fgetwc-ENV): Likewise.
17368         (tst-fseek-ENV): Likewise.
17369         (tst-ftell-partial-wide-ENV): Likewise.
17370         (tst-ftell-active-handler-ENV): Likewise.
17371         (tst-ftell-append-ENV): Likewise.
17372         * posix/Makefile (tst-fnmatch-ENV): Likewise.
17373         (tst-regexloc-ENV): Likewise.
17374         (bug-regex1-ENV): Likewise.
17375         (tst-regex-ENV): Likewise.
17376         (tst-regex2-ENV): Likewise.
17377         (bug-regex5-ENV): Likewise.
17378         (bug-regex6-ENV): Likewise.
17379         (bug-regex17-ENV): Likewise.
17380         (bug-regex18-ENV): Likewise.
17381         (bug-regex19-ENV): Likewise.
17382         (bug-regex20-ENV): Likewise.
17383         (bug-regex22-ENV): Likewise.
17384         (bug-regex23-ENV): Likewise.
17385         (bug-regex25-ENV): Likewise.
17386         (bug-regex26-ENV): Likewise.
17387         (bug-regex30-ENV): Likewise.
17388         (bug-regex32-ENV): Likewise.
17389         (bug-regex33-ENV): Likewise.
17390         (bug-regex34-ENV): Likewise.
17391         (bug-regex35-ENV): Likewise.
17392         (tst-rxspencer-ENV): Likewise.
17393         (tst-rxspencer-no-utf8-ENV): Likewise.
17394         * stdio-common/Makefile (tst-sprintf-ENV): Likewise.
17395         (tst-sscanf-ENV): Likewise.
17396         (tst-swprintf-ENV): Likewise.
17397         (tst-swscanf-ENV): Likewise.
17398         (test-vfprintf-ENV): Likewise.
17399         (scanf13-ENV): Likewise.
17400         (bug14-ENV): Likewise.
17401         (tst-grouping-ENV): Likewise.
17402         * stdlib/Makefile (tst-strtod-ENV): Likewise.
17403         (tst-strtod3-ENV): Likewise.
17404         (tst-strtod4-ENV): Likewise.
17405         (tst-strtod5-ENV): Likewise.
17406         (testmb2-ENV): Likewise./
17407         * string/Makefile (tst-strxfrm-ENV): Likewise.
17408         (tst-strxfrm2-ENV): Likewise.
17409         (bug-strcoll1-ENV): Likewise.
17410         (test-strcasecmp-ENV): Likewise.
17411         (test-strncasecmp-ENV): Likewise.
17412         * time/Makefile (tst-strptime-ENV): Likewise.
17413         (tst-ftime_l-ENV): Likewise.
17414         * wcsmbs/Makefile (tst-btowc-ENV): Likewise.
17415         (tst-mbrtowc-ENV): Likewise.
17416         (tst-wcrtomb-ENV): Likewise.
17417         (tst-mbrtowc2-ENV): Likewise.
17418         (tst-c16c32-1-ENV): Likewise.
17419         (tst-mbsnrtowcs-ENV): Likewise.
17421 2014-06-05  Ondřej Bílka  <neleai@seznam.cz>
17423         * manual/resource.texi (How to get information about the memory
17424         subsystem?): Fix typo.
17425         Reported by Peon de la Parra Ivan <peon@keba.com>
17427 2014-06-03  Guo Yixuan  <culu.gyx@gmail.com>
17429         [BZ #16882]
17430         * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S
17431         (pthread_spin_lock): Branch out of spin loop to proper location.
17432         * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S
17433         (pthread_spin_lock): Likewise.
17435         * nptl/tst-spin4.c: New test.
17436         * nptl/Makefile (tests): Add tst-spin4.
17438 2014-06-03  Andreas Schwab  <schwab@suse.de>
17440         [BZ #15946]
17441         * resolv/res_send.c (send_dg): Reload file descriptor after
17442         calling reopen.
17444 2014-06-03  Stefan Liebler  <stli@linux.vnet.ibm.com>
17446         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
17448 2014-06-03  Richard Henderson  <rth@redhat.com>
17450         * sysdeps/unix/sysv/linux/aarch64/pt-vfork.c: New file.
17451         * sysdeps/unix/sysv/linux/aarch64/nptl/pt-vfork.S: Remove file.
17452         * sysdeps/unix/sysv/linux/aarch64/vfork.S (__vfork): Incorporate
17453         SAVE_PID and RESTORE_PID blocks from pt-vfork.S.  Map 0 to INT_MIN
17454         in the SAVE_PID block.
17455         (__libc_vfork): New alias.
17456         * sysdeps/unix/sysv/linux/aarch64/nptl/vfork.S: Remove file.
17458         * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Save args for
17459         child in registers, not on the stack.  Remove RESET_PID conditionals.
17460         * sysdeps/unix/sysv/linux/aarch64/nptl/clone.S: Remove file.
17462 2014-06-03  Marcus Shawcroft  <marcus.shawcroft@arm.com>
17464         * sysdeps/aarch64/libm-test-ulps: Regenerate.
17466 2014-06-03  Wilco  <wdijkstr@arm.com>
17468         * sysdeps/aarch64/fpu/math_private.h (libc_fesetround_aarch64)
17469         (libc_feholdexcept_setround_aarch64) (libc_feholdsetround_aarch64)
17470         (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
17471         Use _FPU_FPCR_RM_MASK for rounding mask rather than FE_TOWARDZERO.
17472         * sysdeps/aarch64/fpu/get-rounding-mode.h (get_rounding_mode):
17473         Likewise.
17475 2014-06-03  Wilco  <wdijkstr@arm.com>
17477         * sysdeps/aarch64/fpu/math_private.h
17478         (libc_feholdexcept_aarch64) (libc_feholdexcept_setround_aarch64)
17479         (libc_fetestexcept_aarch64) (libc_fesetenv_aarch64)
17480         (libc_feupdateenv_test_aarch64) (libc_feholdsetround_aarch64)
17481         (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
17482         Fix declarations.
17484 2014-06-03  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
17486         * crypt/crypt-private.h: Include ufc-crypt.h.
17487         (__b64_from_24bit): Declare extern.
17488         * crypt/crypt_util.c(__b64_from_24bit): New function.
17489         (b64t): New static const variable.
17490         * crypt/md5-crypt.c (b64_from_24bit): Remove function.
17491         (b64t): Remove variable.
17492         (__md5_crypt_r): Replace b64_from_24bit with __b64_from_24bit.
17493         * crypt/sha256-crypt.c: Include crypt-private.h.
17494         (b64t): Remove variable.
17495         (__sha256_crypt_r): Remove b64_from_24bit and replace
17496         with __b64_from_24bit.
17497         * crypt/sha512-crypt.c: Likewise.
17499 2014-06-02  Roland McGrath  <roland@hack.frob.com>
17501         * nptl/sysdeps/unix/sysv/linux/sh/vfork.S: Moved ...
17502         * sysdeps/unix/sysv/linux/sh/vfork.S: ... here.
17503         Label the code __libc_vfork rather than __vfork.
17504         [!NOT_IN_libc] (vfork): Define as weak alias.
17505         [!NOT_IN_libc] (__vfork): Define as strong alias, and libc_hidden_def.
17506         * sysdeps/unix/sysv/linux/sh/pt-vfork.S: New file.
17507         * nptl/sysdeps/unix/sysv/linux/sh/pt-vfork.S: File removed.
17509 2014-06-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
17511         * malloc/malloc.c (malloc_info): Fix format specifier for
17512         n_mmaps.
17514 2014-06-02  Wilco  <wdijkstr@arm.com>
17516         * sysdeps/aarch64/fpu/fpu_control.h (_FPU_SETCW): Remove ISB after
17517         FPCR write.
17519 2014-06-02  Wilco  <wdijkstr@arm.com>
17521         [BZ #17009]
17522         * sysdeps/aarch64/fpu/feupdateenv (feupdateenv):
17523         Rewrite to reduce FPCR/FPSR accesses.
17525 2014-06-01  David S. Miller  <davem@davemloft.net>
17527         * sysdeps/sparc/fpu/libm-test-ulps: Update.
17529 2014-05-31  David S. Miller  <davem@davemloft.net>
17531         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Force computations
17532         to occur in round to nearest mode when |x| >= 2.0
17534 2014-05-30  Richard Henderson  <rth@twiddle.net>
17536         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Remove.
17537         (PSEUDO_RET_NOERRNO): Remove.
17538         (ret): Don't redefine.
17539         (ret_NOERRNO): Define in terms of ret.
17540         (ret_ERRVAL): Likewise.
17542         * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Remove the
17543         use of PSEUDO_RET; perform the error check directly.
17545 2014-05-30 Marko Myllynen  <myllynen@redhat.com>
17547         * sysdeps/x86_64/link-defines.sym (BND_SIZE): Replace __int128
17548         with __int128_t.
17550 2014-05-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
17552         * malloc/malloc (malloc_info): Fix formatting.
17554 2014-05-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
17555             Roland McGrath  <roland@hack.frob.com>
17557         * malloc/malloc (malloc_info): Also print mmapped statistics.
17559 2014-05-30  Roland McGrath  <roland@hack.frob.com>
17561         * sysdeps/unix/sysv/linux/m68k/arch-fork.h: New file.
17562         * sysdeps/unix/sysv/linux/m68k/nptl/fork.c: File removed.
17564 2014-05-30  Ondřej Bílka  <neleai@seznam.cz>
17566         * malloc/malloc.c (malloc_info): Inline mi_arena.
17568 2014-05-29  Richard Henderson  <rth@twiddle.net>
17570         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INTERNAL_VSYSCALL_NCS):
17571         Remove comma before expanding ASM_ARGS_##nr.
17572         (INTERNAL_SYSCALL_RAW): Make _sys_result signed, instead of casting.
17573         Make _x0 a strict output; make _x8 a strict input; adjust expansion
17574         of ASM_ARGS_##nr.
17575         (CLOBBER_ARGS_0, CLOBBER_ARGS_1, CLOBBER_ARGS_2): Remove.
17576         (CLOBBER_ARGS_3, CLOBBER_ARGS_4, CLOBBER_ARGS_5): Remove.
17577         (CLOBBER_ARGS_6, CLOBBER_ARGS_7): Remove.
17578         (ASM_ARGS_1): Add leading comma.
17580         * sysdeps/unix/sysv/linux/aarch64/sysdep.h [NOT_IN_libc]
17581         (SYSCALL_ERROR_HANDLER): Use tpidr_el0 instead of a call
17582         to __errno_location.
17583         * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data (libpthread.so):
17584         Remove the expected plt for __errno_location.
17586         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
17587         [NOT_IN_libc] (SINGLE_THREAD_P): Use tpidr_el0 instead of a
17588         call to __read_tp.
17590         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
17591         Always allocate 64 bytes of stack frame.  Use ldp/stp to create
17592         it and break it down.
17593         (DOCARGS_0, DOCARGS_1): Do nothing.
17594         (DOCARGS_2): Update to store into the new stack frame.
17595         (DOCARGS_3, DOCARGS_4, DOCARGS_5, DOCARGS_6): Likewise.
17596         (UNDOCARGS_1): Update to restore from the new stack frame.
17597         (UNDOCARGS_2, UNDOCARGS_3, UNDOCARGS_4): Likewise.
17598         (UNDOCARGS_5, UNDOCARGS_6): Likewise.
17600         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
17601         (SINGLE_THREAD_P): New parameter for result regno.
17602         (PSEUDO): Update to match; use cbz instead of beq.
17604         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
17605         Use ENTRY to define the _nocancel entry point.  Share the syscall
17606         and syscall error check paths with the cancel path.
17607         (PSEUDO_END): New.
17609         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Adjust
17610         whitespace; tabs before and after asm mnemonics.
17612 2014-05-29  Eric Wong  <normalperson@yhbt.net>
17614         [BZ #15132]
17615         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
17616         Call fstat64 or stat64 internally, depending on arguments passed.
17617         Replace stat buffer argument with file descriptor argument.
17618         (INTERNAL_STATVFS): Update arguments to match __statvfs_getflags.
17619         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
17620         Pass fd to __internal_statvfs instead of calling fstat64.
17621         * sysdeps/unix/sysv/linux/fstatvfs64.c (__fstatvfs64):
17622         Pass fd to __internal_statvfs64 instead of calling fstat64.
17623         * sysdeps/unix/sysv/linux/statvfs.c (statvfs):
17624         Pass -1 to __internal_statvfs instead of calling stat64.
17625         * sysdeps/unix/sysv/linux/statvfs64.c (__statvfs64):
17626         Pass -1 to __internal_statvfs64 instead of calling stat64.
17628 2014-05-28  Roland McGrath  <roland@hack.frob.com>
17630         * sysdeps/unix/sysv/linux/sh/clone.S: Deconditionalize the code
17631         that was previously under [RESET_PID].
17632         * nptl/sysdeps/unix/sysv/linux/sh/clone.S: File removed.
17634         * sysdeps/unix/sysv/linux/tile/arch-fork.h: New file.
17635         * sysdeps/unix/sysv/linux/tile/nptl/fork.c: File removed.
17637 2014-05-27  Roland McGrath  <roland@hack.frob.com>
17639         * sysdeps/unix/sysv/linux/ia64/arch-fork.h: New file.
17641         * sysdeps/unix/sysv/linux/sh/arch-fork.h: New file.
17642         * nptl/sysdeps/unix/sysv/linux/sh/fork.c: File removed.
17644 2014-05-27  Ondřej Bílka  <neleai@seznam.cz>
17646         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate code.
17648 2014-05-27  Andreas Schwab  <schwab@suse.de>
17650         * csu/libc-tls.c (__libc_setup_tls): Remove second argument from
17651         TLS_INIT_TP macro.
17652         * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
17653         * elf/rtld.c (init_tls, dl_main): Likewise.
17654         * nptl/sysdeps/i386/tls.h (TLS_INIT_TP): Likewise.
17655         * nptl/sysdeps/powerpc/tls.h (TLS_INIT_TP): Likewise.
17656         * nptl/sysdeps/s390/tls.h (TLS_INIT_TP): Likewise.
17657         * nptl/sysdeps/sh/tls.h (TLS_INIT_TP): Likewise.
17658         * nptl/sysdeps/sparc/tls.h (TLS_INIT_TP): Likewise.
17659         * nptl/sysdeps/x86_64/tls.h (TLS_INIT_TP): Likewise.
17660         * sysdeps/aarch64/nptl/tls.h (TLS_INIT_TP): Likewise.
17661         * sysdeps/alpha/nptl/tls.h (TLS_INIT_TP): Likewise.
17662         * sysdeps/arm/nptl/tls.h (TLS_INIT_TP): Likewise.
17663         * sysdeps/hppa/nptl/tls.h (TLS_INIT_TP): Likewise.
17664         * sysdeps/ia64/nptl/tls.h (TLS_INIT_TP): Likewise.
17665         * sysdeps/m68k/nptl/tls.h (TLS_INIT_TP): Likewise.
17666         * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Likewise.
17667         * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Likewise.
17668         * sysdeps/mips/nptl/tls.h (TLS_INIT_TP): Likewise.
17669         * sysdeps/tile/nptl/tls.h (TLS_INIT_TP): Likewise.
17670         * sysdeps/generic/tls.h: Update description.
17672 2014-05-27  Will Newton  <will.newton@linaro.org>
17674         [BZ #16990]
17675         * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save
17676         and restore r2 rather than just restoring.
17678 2014-05-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
17680         [BZ #16724]
17681         * libio/tst-ftell-append.c: New test case.
17682         * libio/Makefile (tests): Add test case.
17683         * libio/fileops.c (do_ftell): Don't trust _IO_read_end when in
17684         append mode.
17685         * libio/wfileops.c (do_ftell_wide): Likewise.
17687 2014-05-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17689         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17691         * nptl/sysdeps/unix/sysv/linux/powerpc/Versions: Remove, merge into
17692         ...
17693         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions: ... here.
17694         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
17695         * nptl/sysdeps/unix/sysv/linux/powerpc/Makefile: Moved rules to ...
17696         * sysdeps/unix/sysv/linux/powerpc/Makefile: ... here.
17697         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: Moved ...
17698         * sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: ... here.
17699         * nptl/sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Moved ...
17700         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: ...here.
17701         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
17702         Moved ...
17703         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: ... here.
17704         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
17705         Moved ...
17706         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: ... here.
17707         * nptl/sysdeps/unix/sysv/linux/powerpc/createthread.c: Moved ...
17708         * sysdeps/unix/sysv/linux/powerpc/createthread.c: ... here.
17709         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Moved ...
17710         * sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: ... here.
17711         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: Moved
17712         ...
17713         * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: ... here.
17714         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c:
17715         Moved ...
17716         * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c: ...
17717         here.
17718         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Moved
17719         ...
17720         * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: ... here.
17721         * nptl/sysdeps/unix/sysv/linux/powerpc/sem_post.c: Moved ...
17722         * sysdeps/unix/sysv/linux/powerpc/sem_post.c: ... here.
17724         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Moved ...
17725         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: ... here.
17726         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: Moved ...
17727         * sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: ... here.
17729         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Remove,
17730         merge into ...
17731         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: ... here.
17732         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: Moved
17733         ...
17734         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: ... here.
17735         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: Moved
17736         ...
17737         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: ... here.
17738         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
17739         Moved ...
17740         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c: ...
17741         here.
17742         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
17743         Moved ...
17744         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c: ... here.
17745         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
17746         Moved ...
17747         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c: ... here.
17749         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Remove
17750         conditional [RESET_PID].
17751         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
17752         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: File
17753         removed.
17754         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: File
17755         removed.
17757         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Include
17758         <tcb-offsets.h>.
17759         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
17760         (__libc_vfork): New strong alias.
17761         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/pt-vfork.S: File
17762         removed.
17763         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: File
17764         Removed.
17766         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Include
17767         <tcb-offsets.h>.
17768         (__vfork): Incorporate save/retore of PID from nptl/vfork.S here.
17769         (__libc_vfork): New strong alias.
17770         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/pt-vfork.S: File
17771         removed.
17772         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: File
17773         removed.
17775 2014-05-26  Carlos O'Donell  <carlos@redhat.com>
17777         * malloc/malloc.c (mi_arena): New function.
17778         (malloc_info): Remove nested function mi_arena. Call non-nosted
17779         function mi_arena.
17781 2014-05-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17783         * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Replace insrdi
17784         by insrwi.
17785         * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
17786         * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
17787         * sysdeps/powerpc/powerpc32/power7/memchr.S (memchr): Likewise.
17788         * sysdeps/powerpc/powerpc32/power7/memrchr.S (memrchr): Likewise.
17789         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S (rawmemchr): Likewise.
17790         * sysdeps/powerpc/powerpc32/power7/strchr.S (strchr): Likewise.
17791         * sysdeps/powerpc/powerpc32/power7/strchrnul.S (strchrnul): Likewise.
17793 2014-05-26  Andreas Schwab  <schwab@suse.de>
17795         [BZ #16984]
17796         * locale/programs/repertoire.c (repertoire_read): Add slash
17797         between I18NPATH element and file name.
17798         * locale/programs/locfile.c (locfile_read): Likewise.
17800 2014-05-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
17802         * nptl/pthread_mutexattr_settype.c
17803         (__pthread_mutexattr_settype):
17804         Disable lock elision for PTHREAD_MUTEX_NORMAL.
17806 2014-05-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
17808         * nptl/tst-mutex5 (do_test):
17809         Use #ifndef ENABLE_LOCK_ELISION instead of #ifdef.
17811 2014-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
17813         * benchtests/README: Document 'init' directive.
17814         * benchtests/bench-skeleton.c (main) [BENCH_INIT]: Call
17815         BENCH_INIT.
17816         * scripts/bench.py (gen_source): Define BENCH_INIT macro.
17817         (parse_file): Recognize 'init' directive.
17819 2014-05-26  Kyle McMartin  <kyle@redhat.com>
17821         [BZ #16796]
17822         * sysdeps/aarch64/nptl/tls.h: increase TCB alignment to the
17823         alignment of struct pthread.
17825 2014-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
17827         [BZ #16878]
17828         * nscd/netgroupcache.c (addgetnetgrentX): Look for
17829         NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
17830         * nscd/nss_files/files-netgrp.c (_nss_netgroup_parseline): Use
17831         NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
17833 2014-05-25  Richard Henderson  <rth@twiddle.net>
17835         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
17836         (SINGLE_THREAD_P_PIC): Remove.
17837         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h
17838         (SINGLE_THREAD_P_PIC): Remove.
17840         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Move
17841         branch to syscall error ...
17842         (PSEUDO): ... here.
17843         [NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Rename the label
17844         from __local_syscall_error to .Lsyscall_error.
17845         [!NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Branch to __syscall_error.
17846         (SYSCALL_ERROR): Update label name.
17848         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
17849         Do not use DOARGS/UNDOARGS.
17850         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Likewise.
17851         (DOARGS_0, DOARGS_1, DOARGS_2, DOARGS_3): Remove.
17852         (DOARGS_4, DOARGS_5, DOARGS_6, DOARGS_7): Remove.
17853         (UNDOARGS_0, UNDOARGS_1, UNDOARGS_2, UNDOARGS_3): Remove.
17854         (UNDOARGS_4, UNDOARGS_5, UNDOARGS_6, UNDOARGS_7): Remove.
17856         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Fix
17857         block comment.
17859         * sysdeps/unix/sysv/linux/alpha/vfork.S (vfork, __vfork): Only
17860         define if !NOT_IN_libc.
17861         * sysdeps/unix/sysv/linux/alpha/pt-vfork.S (vfork, __vfork): Only
17862         define with non-default symbol versions.
17864 2014-05-23  Richard Henderson  <rth@twiddle.net>
17866         * nptl/pt-vfork.c (vfork_resolve): Rename from vfork_ifunc.
17867         (vfork, __vfork): Define via compat_symbol.
17869         * nptl/pt-vfork.c: Error if !HAVE_IFUNC.
17870         [!HAVE_IFUNC] (vfork_compat): Remove.
17871         [!HAVE_IFUNC] (DEFINE_VFORK): Remove.
17873 2014-05-23  Joseph Myers  <joseph@codesourcery.com>
17875         [BZ #16978]
17876         * posix/tar.h [!__USE_XOPEN2K] (TSVTX): Define macro.
17877         * conform/Makefile (test-xfail-POSIX/tar.h/conform): Remove
17878         variable.
17880 2014-05-23  Richard Henderson  <rth@twiddle.net>
17882         * sysdeps/unix/sysv/linux/alpha/nptl/Makefile: Merge into...
17883         * sysdeps/unix/sysv/linux/alpha/Makefile: ... here.
17884         * sysdeps/unix/sysv/linux/alpha/nptl/Versions: Merge into...
17885         * sysdeps/unix/sysv/linux/alpha/Versions: ... here.
17887         * sysdeps/unix/sysv/linux/alpha/nptl/aio_cancel.c: Moved ...
17888         * sysdeps/unix/sysv/linux/alpha/aio_cancel.c: ... here.
17889         * sysdeps/unix/sysv/linux/alpha/nptl/bits/local_lim.h: Moved ...
17890         * sysdeps/unix/sysv/linux/alpha/bits/local_lim.h: ... here.
17891         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h: Moved ...
17892         * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h: ... here.
17893         * sysdeps/unix/sysv/linux/alpha/nptl/bits/semaphore.h: Moved ...
17894         * sysdeps/unix/sysv/linux/alpha/bits/semaphore.h: ... here.
17895         * sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data: Moved ...
17896         * sysdeps/unix/sysv/linux/alpha/c++-types.data: ... here.
17897         * sysdeps/unix/sysv/linux/alpha/nptl/createthread.c: Moved ...
17898         * sysdeps/unix/sysv/linux/alpha/createthread.c: ... here.
17899         * sysdeps/unix/sysv/linux/alpha/nptl/ld.abilist: Moved ...
17900         * sysdeps/unix/sysv/linux/alpha/ld.abilist: ... here.
17901         * sysdeps/unix/sysv/linux/alpha/nptl/libBrokenLocale.abilist: Moved ...
17902         * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: ... here.
17903         * sysdeps/unix/sysv/linux/alpha/nptl/libanl.abilist: Moved ...
17904         * sysdeps/unix/sysv/linux/alpha/libanl.abilist: ... here.
17905         * sysdeps/unix/sysv/linux/alpha/nptl/libc.abilist: Moved ...
17906         * sysdeps/unix/sysv/linux/alpha/libc.abilist: ... here.
17907         * sysdeps/unix/sysv/linux/alpha/nptl/libcrypt.abilist: Moved ...
17908         * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: ... here.
17909         * sysdeps/unix/sysv/linux/alpha/nptl/libdl.abilist: Moved ...
17910         * sysdeps/unix/sysv/linux/alpha/libdl.abilist: ... here.
17911         * sysdeps/unix/sysv/linux/alpha/nptl/libm.abilist: Moved ...
17912         * sysdeps/unix/sysv/linux/alpha/libm.abilist: ... here.
17913         * sysdeps/unix/sysv/linux/alpha/nptl/libnsl.abilist: Moved ...
17914         * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: ... here.
17915         * sysdeps/unix/sysv/linux/alpha/nptl/libpthread.abilist: Moved ...
17916         * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: ... here.
17917         * sysdeps/unix/sysv/linux/alpha/nptl/libresolv.abilist: Moved ...
17918         * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: ... here.
17919         * sysdeps/unix/sysv/linux/alpha/nptl/librt.abilist: Moved ...
17920         * sysdeps/unix/sysv/linux/alpha/librt.abilist: ... here.
17921         * sysdeps/unix/sysv/linux/alpha/nptl/libthread_db.abilist: Moved ...
17922         * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: ... here.
17923         * sysdeps/unix/sysv/linux/alpha/nptl/libutil.abilist: Moved ...
17924         * sysdeps/unix/sysv/linux/alpha/libutil.abilist: ... here.
17925         * sysdeps/unix/sysv/linux/alpha/nptl/localplt.data: Moved ...
17926         * sysdeps/unix/sysv/linux/alpha/localplt.data: ... here.
17927         * sysdeps/unix/sysv/linux/alpha/nptl/lowlevellock.h: Moved ...
17928         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: ... here.
17929         * sysdeps/unix/sysv/linux/alpha/nptl/sem_post.c: Moved ...
17930         * sysdeps/unix/sysv/linux/alpha/sem_post.c: ... here.
17931         * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h: Moved ...
17932         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: ... here.
17933         * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Moved ...
17934         * sysdeps/unix/sysv/linux/alpha/timer_create.c: ... here.
17935         * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Moved ...
17936         * sysdeps/unix/sysv/linux/alpha/timer_delete.c: ... here.
17937         * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Moved ...
17938         * sysdeps/unix/sysv/linux/alpha/timer_getoverr.c: ... here.
17939         * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Moved ...
17940         * sysdeps/unix/sysv/linux/alpha/timer_gettime.c: ... here.
17941         * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Moved ...
17942         * sysdeps/unix/sysv/linux/alpha/timer_settime.c: ... here.
17944         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove vfork.
17945         * sysdeps/unix/sysv/linux/alpha/nptl/vfork.S: Move file ...
17946         * sysdeps/unix/sysv/linux/alpha/vfork.S: ... here.  Restore PID
17947         before exiting on error.
17948         (__libc_vfork): New strong alias.
17949         * sysdeps/unix/sysv/linux/alpha/nptl/pt-vfork.S: Remove file.
17950         * sysdeps/unix/sysv/linux/alpha/pt-vfork.S: New file.
17952         * sysdeps/unix/sysv/linux/alpha/clone.S: Deconditionalize the code
17953         that was previously under [RESET_PID].
17954         * sysdeps/unix/sysv/linux/alpha/nptl/clone.S: File removed.
17956         * sysdeps/unix/sysv/linux/alpha/nptl/fork.c: Remove file.
17958 2014-05-23  Joseph Myers  <joseph@codesourcery.com>
17960         [BZ #16977]
17961         * sysdeps/i386/fpu/e_log10.S (__ieee754_log10): Take absolute
17962         value when x - 1 is zero.
17963         * sysdeps/i386/fpu/e_log10f.S (__ieee754_log10f): Likewise.
17964         * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Likewise.
17965         * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Return
17966         0.0L for an argument of 1.0L.
17967         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l):
17968         Likewise.
17969         * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Take absolute
17970         value when x - 1 is zero.
17971         * math/libm-test.inc (log10_test): Use ALL_RM_TEST.
17972         * sysdeps/i386/fpu/libm-test-ulps: Update.
17973         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17975 2014-05-23  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
17977         * manual/filesys.texi (Scanning Directory Content): Fix prototype of
17978         alphasort and versionsort.
17980 2014-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17982         * sysdeps/powerpc/fpu/math_private.h [copysign]: Remove unneeded
17983         macro.
17984         [copysignf]: Likewise.
17986 2014-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
17988         * crypt/md5-crypt.c: Fix formatting.
17990 2014-05-22  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
17992         * crypt/md5-crypt.c (__md5_crypt_r): Remove a nested function.
17993         (b64_from_24bit): New function.
17995 2014-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17997         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c (memchr): Remove
17998         libc_hidden_builtin_def to ifunc.
17999         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
18000         [libc_hidden_builtin_def]: Define hidden definition to __memchr_ppc32.
18002 2014-05-21  Roland McGrath  <roland@hack.frob.com>
18004         * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: New file.
18005         * sysdeps/unix/sysv/linux/aarch64/nptl/fork.c: File removed.
18007 2014-05-21  Joseph Myers  <joseph@codesourcery.com>
18009         * nscd/Depend (linuxthreads): Remove.
18010         (nptl): Add.
18011         * resolv/Depend (linuxthreads): Remove.
18012         * rt/Depend (linuxthreads): Remove.
18014         * Makeconfig [$(build-hardcoded-path-in-tests) = yes]
18015         (rtld-tests-LDFLAGS): Use $(elf-objpfx) instead of
18016         $(common-objpfx)elf/.
18017         (link-libc-before-gnulib): Likewise.
18018         (elfobjdir): Remove variable.
18019         * Makefile (install): Use $(elf-objpfx) instead of
18020         $(common-objpfx)elf/.
18021         * Makerules (link-libc-args): Use $(elf-objpfx) instead of
18022         $(elfobjdir)/.
18023         (link-libc-deps): Likewise.
18024         ($(common-objpfx)libc.so): Likewise.
18025         ($(common-objpfx)linkobj/libc.so): Likewise.
18026         [$(cross-compiling) = no] (symbolic-link-prog): Use $(elf-objpfx)
18027         instead of $(common-objpfx)elf/.
18028         (symbolic-link-list): Likewise.
18029         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
18030         [$(cross-compiling) = no]: Likewise.
18031         * sysdeps/arm/Makefile (gnulib-arch): Use $(elf-objpfx) instead of
18032         $(elfobjdir)/.
18033         (static-gnulib-arch): Likewise.
18034         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
18035         [$(cross-compiling) = no]: Use $(elf-objpfx) instead of
18036         $(common-objpfx)elf/.
18038 2014-05-21  Richard Henderson  <rth@redhat.com>
18040         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
18041         (SINGLE_THREAD_P): Use the correct width load.  Fold
18042         into the ldr offset.
18044         * sysdeps/unix/sysv/linux/aarch64/sysdep.h [RTLD_PRIVATE_ERRNO]
18045         (SYSCALL_ERROR_HANDLER): Fold add insn into str offset.
18047 2014-05-20  Joseph Myers  <joseph@codesourcery.com>
18049         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c
18050         (libgcc_s_resume): Use __attribute_used__.
18051         * sysdeps/unix/sysv/linux/arm/unwind-resume.c (libgcc_s_resume):
18052         Likewise.
18054 2014-05-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18056         * sysdeps/powerpc/fpu/math_private.h [__copysignf]: Fix copysign macro
18057         optimization when used with float constants.
18059         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18061 2014-05-20  Aurelien Jarno  <aurelien@aurel32.net>
18063         [BZ #16915]
18064         * locale/nl_langinfo_l.c: Make direct reference to every
18065         _nl_current_CATEGORY symbol.
18066         * localedata/Makefile (test-srcs): Add tst-langinfo-static.
18067         (tests-static): Add tst-langinfo-static.
18068         (tests-special): Add tst-langinfo-static.out.
18069         ($(objpfx)tst-langinfo.out): Redirect output.
18070         ($(objpfx)tst-langinfo-static.out): New.
18071         * localedata/tst-langinfo.sh: Send output to stdout.
18072         * localedata/tst-langinfo-static.c: New file.
18074         [BZ #16965]
18075         * stdlib/strtod_l.c (round_and_return): Add code to shift limbs
18076         when the shift amount is modulo the limb size.
18078 2014-05-20  Richard Henderson  <rth@redhat.com>
18080         [BZ #16967]
18081         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h (struct sigaction):
18082         Change type of sa_flags from unsigned int to int.
18084         [BZ #16966]
18085         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Remove file.
18087         * sysdeps/alpha/dl-machine.h (ELF_MACHINE_NO_RELA): Define.
18089 2014-05-20  Will Newton  <will.newton@linaro.org>
18091         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
18092         Test the return value of the system call in the nocancel case.
18094 2014-05-20  Will Newton  <will.newton@linaro.org>
18095             Yvan Roux  <yvan.roux@linaro.org>
18097         * sysdeps/unix/sysv/linux/aarch64/sys/user.h: Remove unused
18098         #include of asm/ptrace.h.
18099         (PTRACE_GET_THREAD_AREA): Remove #undef.
18100         (PTRACE_GETHBPREGS): Likewise.
18101         (PTRACE_SETHBPREGS): Likewise.
18102         (struct user_regs_struct): New structure.
18103         (struct user_fpsimd_struct): New structure.
18104         * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove unused
18105         #include of asm/ptrace.h and second #include of sys/user.h.
18106         (PTRACE_GET_THREAD_AREA): Remove #undef.
18107         (PTRACE_GETHBPREGS): Likewise.
18108         (PTRACE_SETHBPREGS): Likewise.
18109         (ELF_NGREG): Use new struct user_regs_struct.
18110         (elf_fpregset_t): Use new struct user_fpsimd_struct.
18112 2014-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18114         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypof.c: Moved ...
18115         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c: ... here.
18117 2014-05-17  Jose E. Marchesi  <jose.marchesi@oracle.com>
18119         [BZ #16958]
18120         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Add missing
18121         membar to avoid block loads/stores to overlap previous stores.
18123 2014-05-17  Richard Henderson  <rth@redhat.com>
18125         * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h (PSEUDO):
18126         Create the __##syscall_name##_nocancel entry point.
18127         * sysdeps/unix/sysv/linux/alpha/sigsuspend.S (__sigsuspend_nocancel):
18128         Remove; let the sysdep-cancel.h code create it.
18130 2014-05-17  David S. Miller  <davem@davemloft.net>
18132         * sysdeps/unix/sysv/linux/sparc/bits/termios.h (PAGEOUT, WRAP):
18133         Protect with __USE_GNU.
18134         (TIOCSET_TEMPT): Likewise.
18135         (TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
18136         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI): Remove as
18137         these are already provided in bits/ioctl-types.h
18139 2014-05-16  Roland McGrath  <roland@hack.frob.com>
18141         * sysdeps/unix/sysv/linux/alpha/arch-fork.h: New file.
18142         * sysdeps/unix/sysv/linux/ia64/nptl/fork.c: File removed.
18144         * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel):
18145         Use wait4 regardless of [__NR_waitpid].
18147 2014-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
18149         PR libgcc/60166
18150         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
18151         (_FP_NANSIGN_Q): Set the quiet bit.
18153 2014-05-16  Joseph Myers  <joseph@codesourcery.com>
18155         * benchtests/Makefile
18156         ($(addprefix $(objpfx)bench-,$(bench-math))): Depend on $(libm),
18157         not $(common-objpfx)math/libm.so.
18158         ($(addprefix $(objpfx)bench-,$(bench-pthread))): Depend on
18159         $(shared-thread-library), not $(common-objpfx)nptl/libpthread.so.
18160         * elf/Makefile ($(objpfx)noload): Depend on $(libdl), not
18161         $(common-objpfx)dlfcn/libdl.so.
18162         ($(objpfx)tst-audit8): Depend on $(libm), not
18163         $(common-objpfx)math/libm.so.
18164         * malloc/Makefile ($(objpfx)libmemusage.so): Depend on $(libdl),
18165         not $(common-objpfx)dlfcn/libdl.so.
18166         * math/Makefile
18167         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
18168         Depend on $(libm), not $(objpfx)libm.so.  Do not condition on
18169         [$(build-shared) = yes].
18170         ($(objpfx)test-fenv-tls): Depend on $(shared-thread-library), not
18171         $(common-objpfx)nptl/libpthread.so.
18172         * misc/Makefile ($(objpfx)tst-tsearch): Depend on $(libm), not
18173         $(common-objpfx)math/libm.so$(libm.so-version) or
18174         $(common-objpfx)math/libm.a depending on [$(build-shared) = yes].
18175         * nptl/Makefile ($(objpfx)tst-unload): Depend on $(libdl), not
18176         $(common-objpfx)dlfcn/libdl.so.
18177         * setjmp/Makefile (link-libm): Remove variable.
18178         ($(objpfx)tst-setjmp-fp): Depend on $(libm), not $(link-libm).
18179         * stdio-common/Makefile (link-libm): Remove variable.
18180         ($(objpfx)tst-printf-round): Depend on $(libm), not $(link-libm).
18181         * stdlib/Makefile (link-libm): Remove variable.
18182         ($(objpfx)bug-getcontext): Depend on $(libm), not $(link-libm).
18183         ($(objpfx)tst-strtod-round): Likewise.
18184         ($(objpfx)tst-tininess): Likewise.
18185         ($(objpfx)tst-strtod-underflow): Likewise.
18186         ($(objpfx)tst-strtod6): Likewise.
18187         ($(objpfx)tst-tls-atexit): Depend on $(shared-thread-library) and
18188         $(libdl), not $(common-objpfx)nptl/libpthread.so and
18189         $(common-objpfx)dlfcn/libdl.so.
18191 2014-05-16  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18193         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]: Guard
18194         BSD terminal modes definitions.
18196 2014-05-16  Roland McGrath  <roland@hack.frob.com>
18198         * sysdeps/unix/sysv/linux/arm/arch-fork.h: New file.
18199         * sysdeps/unix/sysv/linux/arm/fork.c: File removed.
18201         * sysdeps/unix/sysv/linux/arch-fork.h: New file.
18202         * sysdeps/unix/sysv/linux/i386/fork.h: Moved ...
18203         * sysdeps/unix/sysv/linux/i386/arch-fork.h: ... here.
18204         Don't do #include_next.
18205         * sysdeps/unix/sysv/linux/x86_64/fork.h: Moved ...
18206         * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: ... here.
18207         Don't do #include_next.
18208         * sysdeps/unix/sysv/linux/mips/arch-fork.h: New file.
18209         * sysdeps/unix/sysv/linux/mips/fork.h: File removed.
18210         * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: New file.
18211         * sysdeps/unix/sysv/linux/powerpc/fork.h: File removed.
18213 2014-05-16  Allan McRae  <allan@archlinux.org>
18215         * po/sv.po: Update Swedish translation from translation project.
18217         * timezone/Makefile ($(objpfx)tzselect): Use correct variable
18218         in sed expression.
18220 2014-05-16  Aurelien Jarno  <aurelien@aurel32.net>
18222         [BZ #16917]
18223         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal): Return
18224         errno if the TIOCGPTN ioctl fails with an error different than
18225         EINVAL.
18226         * login/tst-ptsname.c: New file.
18227         * login/Makefile (tests): Add tst-ptsname.
18229         [BZ #16943]
18230         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Declare prlimit
18231         and prlimit64.
18233 2014-05-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
18235         [BZ #16849]
18236         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only check for
18237         herrno to return EAI_AGAIN.
18239 2014-05-14  Roland McGrath  <roland@hack.frob.com>
18241         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: Moved ...
18242         * sysdeps/unix/sysv/linux/i386/c++-types.data: ... here.
18243         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: Moved ...
18244         * sysdeps/unix/sysv/linux/i386/ld.abilist: ... here.
18245         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: Moved ...
18246         * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: ... here.
18247         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: Moved ...
18248         * sysdeps/unix/sysv/linux/i386/libanl.abilist: ... here.
18249         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Moved ...
18250         * sysdeps/unix/sysv/linux/i386/libc.abilist: ... here.
18251         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: Moved ...
18252         * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: ... here.
18253         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: Moved ...
18254         * sysdeps/unix/sysv/linux/i386/libdl.abilist: ... here.
18255         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: Moved ...
18256         * sysdeps/unix/sysv/linux/i386/libm.abilist: ... here.
18257         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: Moved ...
18258         * sysdeps/unix/sysv/linux/i386/libnsl.abilist: ... here.
18259         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Moved ...
18260         * sysdeps/unix/sysv/linux/i386/libpthread.abilist: ... here.
18261         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: Moved ...
18262         * sysdeps/unix/sysv/linux/i386/libresolv.abilist: ... here.
18263         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: Moved ...
18264         * sysdeps/unix/sysv/linux/i386/librt.abilist: ... here.
18265         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: Moved ...
18266         * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: ... here.
18267         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: Moved ...
18268         * sysdeps/unix/sysv/linux/i386/libutil.abilist: ... here.
18269         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: Moved ...
18270         * sysdeps/unix/sysv/linux/i386/localplt.data: ... here.
18271         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: Moved ...
18272         * sysdeps/unix/sysv/linux/x86_64/64/c++-types.data: ... here.
18273         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Moved ...
18274         * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: ... here.
18275         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
18276         Moved ...
18277         * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: ... here.
18278         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Moved ...
18279         * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: ... here.
18280         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Moved ...
18281         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: ... here.
18282         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Moved ...
18283         * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: ... here.
18284         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Moved ...
18285         * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: ... here.
18286         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Moved ...
18287         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: ... here.
18288         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Moved ...
18289         * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: ... here.
18290         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist: Moved ...
18291         * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: ... here.
18292         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist: Moved ...
18293         * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: ... here.
18294         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Moved ...
18295         * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: ... here.
18296         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist: Moved ...
18297         * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: ... here.
18298         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Moved ...
18299         * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: ... here.
18300         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data: Moved ...
18301         * sysdeps/unix/sysv/linux/x86_64/x32/c++-types.data: ... here.
18302         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: Moved ...
18303         * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: ... here.
18304         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
18305         Moved ...
18306         * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: ... here.
18307         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist: Moved ...
18308         * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: ... here.
18309         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Moved ...
18310         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: ... here.
18311         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist: Moved ...
18312         * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: ... here.
18313         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist: Moved ...
18314         * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: ... here.
18315         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist: Moved ...
18316         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: ... here.
18317         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist: Moved ...
18318         * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: ... here.
18319         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist: Moved ...
18320         * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: ... here.
18321         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist: Moved ...
18322         * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: ... here.
18323         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist: Moved ...
18324         * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: ... here.
18325         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
18326         Moved ...
18327         * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: ... here.
18328         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist: Moved ...
18329         * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: ... here.
18331         * nptl/sysdeps/unix/sysv/linux/x86/Makefile: File removed.
18332         * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = nptl]
18333         (libpthread-sysdep_routines): Add elision-related stuff here instead.
18334         * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.c: Moved ...
18335         * sysdeps/unix/sysv/linux/x86/elision-conf.c: ... here.
18336         * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.h: Moved ...
18337         * sysdeps/unix/sysv/linux/x86/elision-conf.h: ... here.
18338         * nptl/sysdeps/unix/sysv/linux/x86/elision-lock.c: Moved ...
18339         * sysdeps/unix/sysv/linux/x86/elision-lock.c: ... here.
18340         * nptl/sysdeps/unix/sysv/linux/x86/elision-timed.c: Moved ...
18341         * sysdeps/unix/sysv/linux/x86/elision-timed.c: ... here.
18342         * nptl/sysdeps/unix/sysv/linux/x86/elision-trylock.c: Moved ...
18343         * sysdeps/unix/sysv/linux/x86/elision-trylock.c: ... here.
18344         * nptl/sysdeps/unix/sysv/linux/x86/elision-unlock.c: Moved ...
18345         * sysdeps/unix/sysv/linux/x86/elision-unlock.c: ... here.
18346         * nptl/sysdeps/unix/sysv/linux/x86/force-elision.h: Moved ...
18347         * sysdeps/unix/sysv/linux/x86/force-elision.h: ... here.
18348         * nptl/sysdeps/unix/sysv/linux/x86/hle.h: Moved ...
18349         * sysdeps/unix/sysv/linux/x86/hle.h: ... here.
18350         * nptl/sysdeps/unix/sysv/linux/x86/init-arch.c: Moved ...
18351         * sysdeps/unix/sysv/linux/x86/init-arch.c: ... here.
18352         * nptl/sysdeps/unix/sysv/linux/x86/init-arch.h: Moved ...
18353         * sysdeps/unix/sysv/linux/x86/init-arch.h: ... here.
18354         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Moved ...
18355         * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: ... here.
18356         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: Moved ...
18357         * sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: ... here.
18358         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: Moved ...
18359         * sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: ... here.
18360         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: Moved ...
18361         * sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: ... here.
18363         * sysdeps/unix/sysv/linux/mips/fork.h: New file.
18364         * sysdeps/unix/sysv/linux/mips/nptl/fork.c: File removed.
18366         * nptl/sysdeps/unix/sysv/linux/i386/Implies: File removed.
18367         * nptl/sysdeps/unix/sysv/linux/i386/i786/Implies: Moved ...
18368         * sysdeps/unix/sysv/linux/i386/i786/Implies: ... here.
18369         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Moved ...
18370         * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: ... here.
18371         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S:
18372         Moved ...
18373         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: ... here.
18374         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
18375         Moved ...
18376         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: ... here.
18377         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
18378         Moved ...
18379         * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S: ... here.
18380         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S:
18381         Moved ...
18382         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: ... here.
18383         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Moved ...
18384         * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: ... here.
18385         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
18386         Moved ...
18387         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: ... here.
18388         * nptl/sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: Moved ...
18389         * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: ... here.
18390         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Moved ...
18391         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: ... here.
18392         * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: Moved ...
18393         * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: ... here.
18394         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
18395         Moved ...
18396         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: ... here.
18397         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
18398         Moved ...
18399         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
18400         ... here.
18401         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Moved ...
18402         * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: ... here.
18403         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Moved ...
18404         * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: ... here.
18405         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
18406         Moved ...
18407         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
18408         ... here.
18409         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S:
18410         Moved ...
18411         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: ... here.
18412         * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Moved ...
18413         * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: ... here.
18414         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Moved ...
18415         * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: ... here.
18416         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S:
18417         Moved ...
18418         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: ... here.
18419         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
18420         Moved ...
18421         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: ... here.
18422         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
18423         Moved ...
18424         * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S: ... here.
18425         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S:
18426         Moved ...
18427         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: ... here.
18428         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Moved ...
18429         * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: ... here.
18430         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S:
18431         Moved ...
18432         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: ... here.
18433         * nptl/sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved ...
18434         * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: ... here.
18435         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved ...
18436         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: ... here.
18437         * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved ...
18438         * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: ... here.
18439         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
18440         Moved ...
18441         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: ... here.
18442         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
18443         Moved ...
18444         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
18445         ... here.
18446         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Moved ...
18447         * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: ... here.
18448         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Moved ...
18449         * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: ... here.
18450         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
18451         Moved ...
18452         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
18453         ... here.
18454         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S:
18455         Moved ...
18456         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: ... here.
18457         * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved ...
18458         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: ... here.
18459         * nptl/sysdeps/unix/sysv/linux/i386/dl-sysdep.h: Moved ...
18460         * sysdeps/unix/sysv/linux/i386/dl-sysdep.h: ... here.
18461         * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h: Moved ...
18462         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.
18463         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Moved ...
18464         * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: ... here.
18465         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S:
18466         Moved ...
18467         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: ... here.
18468         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
18469         Moved ...
18470         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: ... here.
18471         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
18472         Moved ...
18473         * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S: ... here.
18474         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S:
18475         Moved ...
18476         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: ... here.
18477         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Moved ...
18478         * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: ... here.
18479         * nptl/sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: Moved ...
18480         * sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: ... here.
18481         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
18482         Moved ...
18483         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: ... here.
18484         * nptl/sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: Moved ...
18485         * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: ... here.
18486         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Moved ...
18487         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: ... here.
18488         * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: Moved ...
18489         * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: ... here.
18490         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
18491         Moved ...
18492         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: ... here.
18493         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
18494         Moved ...
18495         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
18496         ... here.
18497         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Moved ...
18498         * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: ... here.
18499         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Moved ...
18500         * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: ... here.
18501         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
18502         Moved ...
18503         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
18504         ... here.
18505         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S:
18506         Moved ...
18507         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: ... here.
18508         * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Moved ...
18509         * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: ... here.
18510         * nptl/sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Moved ...
18511         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: ... here.
18512         * nptl/sysdeps/unix/sysv/linux/i386/smp.h: Moved ...
18513         * sysdeps/unix/sysv/linux/i386/smp.h: ... here.
18514         * nptl/sysdeps/unix/sysv/linux/i386/pthread_once.S: Moved ...
18515         * sysdeps/unix/sysv/linux/i386/pthread_once.S: ... here.
18516         * nptl/sysdeps/unix/sysv/linux/i386/createthread.c: Moved ...
18517         * sysdeps/unix/sysv/linux/i386/createthread.c: ... here.
18519         * sysdeps/unix/sysv/linux/powerpc/fork.h: New file.
18520         * nptl/sysdeps/unix/sysv/linux/powerpc/fork.c: File removed.
18522         * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_init.c: File removed.
18523         * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_unlock.S: File removed.
18525         * nptl/sysdeps/unix/sysv/linux/x86_64/Implies: File removed.
18526         * nptl/sysdeps/unix/sysv/linux/x86_64/cancellation.S: Moved ...
18527         * sysdeps/unix/sysv/linux/x86_64/cancellation.S: ... here.
18528         * nptl/sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: Moved ...
18529         * sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: ... here.
18530         * nptl/sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: Moved ...
18531         * sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: ... here.
18532         * nptl/sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: Moved ...
18533         * sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: ... here.
18534         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Moved ...
18535         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: ... here.
18536         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Moved ...
18537         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: ... here.
18538         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: Moved ...
18539         * sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: ... here.
18540         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Moved ...
18541         * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: ... here.
18542         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S:
18543         Moved ...
18544         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: ... here.
18545         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Moved ...
18546         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: ... here.
18547         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:
18548         Moved ...
18549         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: ... here.
18550         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Moved ...
18551         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: ... here.
18552         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Moved ...
18553         * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: ... here.
18554         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: Moved ...
18555         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: ... here.
18556         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S:
18557         Moved ...
18558         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: ... here.
18559         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S:
18560         Moved ...
18561         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: ... here.
18562         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: Moved ...
18563         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: ... here.
18564         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: Moved ...
18565         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: ... here.
18566         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: Moved ...
18567         * sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: ... here.
18568         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_post.S: Moved ...
18569         * sysdeps/unix/sysv/linux/x86_64/sem_post.S: ... here.
18570         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Moved ...
18571         * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: ... here.
18572         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Moved ...
18573         * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: ... here.
18574         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Moved ...
18575         * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: ... here.
18576         * nptl/sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Moved ...
18577         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: ... here.
18579         * nptl/sysdeps/unix/sysv/linux/fork.c: Use <> for fork.h #include.
18580         * nptl/sysdeps/unix/sysv/linux/x86_64/fork.c: File removed.
18581         * sysdeps/unix/sysv/linux/x86_64/fork.h: New file.
18582         * nptl/sysdeps/unix/sysv/linux/i386/fork.c: File removed.
18583         * sysdeps/unix/sysv/linux/i386/fork.h: New file.
18585         * nptl/sysdeps/unix/sysv/linux/i386/not-cancel.h: Moved ...
18586         * sysdeps/unix/sysv/linux/not-cancel.h: ... here.
18587         * nptl/sysdeps/unix/sysv/linux/sparc/not-cancel.h: File removed.
18588         * nptl/sysdeps/unix/sysv/linux/sh/not-cancel.h: File removed.
18589         * nptl/sysdeps/unix/sysv/linux/powerpc/not-cancel.h: File removed.
18590         * nptl/sysdeps/unix/sysv/linux/x86_64/not-cancel.h: File removed.
18591         * nptl/sysdeps/unix/sysv/linux/s390/not-cancel.h: File removed.
18592         * sysdeps/unix/sysv/linux/generic/not-cancel.h: File removed.
18593         * sysdeps/unix/sysv/linux/generic/nptl/not-cancel.h: File removed.
18594         * sysdeps/unix/sysv/linux/m68k/nptl/not-cancel.h: File removed.
18596         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_init.c: File removed.
18597         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_unlock.S: Likewise.
18599         * nptl/sysdeps/unix/sysv/linux/x86_64/compat-timer.h: Moved ...
18600         * sysdeps/unix/sysv/linux/x86_64/compat-timer.h: ... here.
18601         * nptl/sysdeps/unix/sysv/linux/x86_64/Versions: Remove, merge into ...
18602         * sysdeps/unix/sysv/linux/x86_64/Versions: ... here.
18603         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_create.c: Moved ...
18604         * sysdeps/unix/sysv/linux/x86_64/timer_create.c: here.
18605         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_delete.c: Moved ...
18606         * sysdeps/unix/sysv/linux/x86_64/timer_delete.c: ... here
18607         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: Moved ...
18608         * sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: ... here
18609         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: Moved ...
18610         * sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: ... here
18611         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_settime.c: Moved ...
18612         * sysdeps/unix/sysv/linux/x86_64/timer_settime.c: ... here
18613         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c:
18614         Update #include.
18615         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c:
18616         Likewise.
18617         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
18618         Likewise.
18619         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
18620         Likewise.
18621         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
18622         Likewise.
18623         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c:
18624         Likewise.
18625         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c:
18626         Likewise.
18627         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
18628         Likewise.
18629         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c:
18630         Likewise.
18631         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c:
18632         Likewise.
18633         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Likewise.
18634         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Likewise.
18635         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Likewise.
18636         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Likewise.
18637         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Likewise.
18638         * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Likewise.
18639         * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Likewise.
18640         * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Likewise.
18641         * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Likewise.
18642         * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Likewise.
18643         * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Likewise.
18644         * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Likewise.
18645         * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Likewise.
18646         * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c:  Likewise.
18647         * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c:  Likewise.
18649         * sysdeps/unix/sysv/linux/x86_64/clone.S: Deconditionalize the code
18650         that was previously under [RESET_PID].
18651         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
18652         * nptl/sysdeps/unix/sysv/linux/x86_64/clone.S: File removed.
18653         * nptl/sysdeps/unix/sysv/linux/i386/clone.S: File removed.
18655         * sysdeps/i386/nptl/Implies: New file.
18656         * sysdeps/x86_64/nptl/Implies: New file.
18657         * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h: Moved ...
18658         * sysdeps/x86/nptl/bits/pthreadtypes.h: ... here.
18659         * nptl/sysdeps/unix/sysv/linux/x86/bits/semaphore.h: Moved ...
18660         * sysdeps/x86/nptl/bits/semaphore.h: ... here.
18662         * sysdeps/unix/sysv/linux/i386/vfork.S: Include <tcb-offsets.h>.
18663         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
18664         (__libc_vfork): New strong alias.
18665         * nptl/sysdeps/unix/sysv/linux/i386/vfork.S: File removed.
18666         * nptl/sysdeps/unix/sysv/linux/i386/pt-vfork.S: File removed.
18668         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Include <tcb-offsets.h>.
18669         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
18670         (__libc_vfork): New strong alias.
18671         * nptl/sysdeps/unix/sysv/linux/x86_64/vfork.S: File removed.
18672         * nptl/sysdeps/unix/sysv/linux/x86_64/pt-vfork.S: File removed.
18674         * sysdeps/unix/sysv/linux/arm/vfork.S: Include <tcb-offsets.h>.
18675         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
18676         (__libc_vfork): New strong alias.
18677         * sysdeps/unix/sysv/linux/arm/nptl/vfork.S: File removed.
18678         * sysdeps/unix/sysv/linux/arm/nptl/pt-vfork.S: File removed.
18679         * nptl/pt-vfork.c: New file.
18680         * nptl/Versions (libc: GLIBC_PRIVATE): Add __libc_vfork.
18681         (libpthread: GLIBC_2.20): New version set (empty).
18683 2014-05-14  Will Newton  <will.newton@linaro.org>
18685         * stdlib/gmp-impl.h: Test USE_STACK_ALLOC #ifdef
18686         rather than #if.
18688 2014-05-14  Joseph Myers  <joseph@codesourcery.com>
18690         [BZ #16564]
18691         * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Do not add 1 to positive
18692         arguments with exponent 65 or above.
18693         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Do not add 1 to
18694         arguments 0x1p113L or above.
18695         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Do not add 1
18696         to arguments 0x1p107L or above.
18697         * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Do not add 1 to
18698         positive arguments with exponent 65 or above.
18699         * math/auto-libm-test-in: Add more tests of log1p.
18700         * math/auto-libm-test-out: Regenerated.
18702         [BZ #16928]
18703         * math/s_cacos.c (__cacos): Ensure zero real part of result from
18704         non-finite arguments is +0.
18705         * math/s_cacosf.c (__cacosf): Likewise.
18706         * math/s_cacosl.c (__cacosl): Likewise.
18707         * math/libm-test.inc (cacos_test): Use ALL_RM_TEST.
18708         * sysdeps/i386/fpu/libm-test-ulps: Update.
18709         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18711         [BZ #16927]
18712         * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): Use fabs on x-1
18713         value.
18714         * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
18715         * sysdeps/i386/fpu/e_acoshl.S (__ieee754_acoshl): Likewise.
18716         * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Correct
18717         for explicit high bit of mantissa when testing for argument equal
18718         to 1.
18719         * math/libm-test.inc (acosh_test): Use ALL_RM_TEST.
18720         * sysdeps/i386/fpu/libm-test-ulps: Update.
18721         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18723         [BZ #16516]
18724         * sysdeps/ieee754/dbl-64/s_erf.c (efx8): Remove variable.
18725         (__erf): Scale by 16 instead of 8 in potentially underflowing
18726         case.  Ensure exception if result actually underflows.
18727         * sysdeps/ieee754/flt-32/s_erff.c (efx8): Remove variable.
18728         (__erff): Scale by 16 instead of 8 in potentially underflowing
18729         case.  Ensure exception if result actually underflows.
18730         * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <float.h>.
18731         (efx8): Remove variable.
18732         (__erfl): Scale by 16 instead of 8 in potentially underflowing
18733         case.  Ensure exception if result actually underflows.
18734         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <float.h>.
18735         (efx8): Remove variable.
18736         (__erfl): Scale by 16 instead of 8 in potentially underflowing
18737         case.  Ensure exception if result actually underflows.
18738         * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <float.h>.
18739         (efx8): Remove variable.
18740         (__erfl): Scale by 16 instead of 8 in potentially underflowing
18741         case.  Ensure exception if result actually underflows.
18742         * math/auto-libm-test-in: Add more tests of erf.
18743         * math/auto-libm-test-out: Regenerated.
18745 2014-05-14  Andreas Schwab  <schwab@suse.de>
18747         * elf/rtld.c (_dl_start_final, _dl_start, init_tls, dl_main):
18748         Remove code conditionalized on USE___THREAD.
18750         * config.h.in (HAVE_PT_CHOWN): Define as 0.
18751         * sysdeps/unix/grantpt.c (grantpt): Check HAVE_PT_CHOWN for value,
18752         not definedness.
18754 2014-05-14  Joseph Myers  <joseph@codesourcery.com>
18756         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES):
18757         Define unconditionally.
18758         (__ASSUME_O_CLOEXEC): Likewise.
18759         (__ASSUME_SOCK_CLOEXEC): Likewise.
18760         (__ASSUME_IN_NONBLOCK): Likewise.
18761         (__ASSUME_PIPE2): Likewise.
18762         (__ASSUME_EVENTFD2): Likewise.
18763         (__ASSUME_SIGNALFD4): Likewise.
18764         (__ASSUME_DUP3): Likewise.
18765         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
18766         (__ASSUME_DUP3): Do not define.
18767         (__ASSUME_EVENTFD2): Likewise.
18768         (__ASSUME_IN_NONBLOCK): Likewise.
18769         (__ASSUME_O_CLOEXEC): Likewise.
18770         (__ASSUME_PIPE2): Likewise.
18771         (__ASSUME_SIGNALFD4): Likewise.
18772         (__ASSUME_SOCK_CLOEXEC): Likewise.
18773         (__ASSUME_UTIMES): Undefine.
18774         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
18775         (__ASSUME_UTIMES): Do not define.
18776         (__ASSUME_O_CLOEXEC): Likewise.
18777         (__ASSUME_SOCK_CLOEXEC): Likewise.
18778         (__ASSUME_IN_NONBLOCK): Undefine if [__LINUX_KERNEL_VERSION <
18779         0x020621] instead of defining if [__LINUX_KERNEL_VERSION >=
18780         0x020621].
18781         (__ASSUME_PIPE2): Likewise.
18782         (__ASSUME_EVENTFD2): Likewise.
18783         (__ASSUME_SIGNALFD4): Likewise.
18784         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_DUP3): Undefine.
18785         * sysdeps/unix/sysv/linux/arm/kernel-features.h (__ASSUME_UTIMES):
18786         Do not define.
18787         (__ASSUME_EVENTFD2): Likewise.
18788         (__ASSUME_SIGNALFD4): Likewise.
18789         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
18790         (__ASSUME_32BITUIDS): Likewise.
18791         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
18792         (__ASSUME_IPC64): Likewise.
18793         (__ASSUME_ST_INO_64_BIT): Likewise.
18794         (__ASSUME_GETDENTS64_SYSCALL): Likewise.
18795         [__LINUX_KERNEL_VERSION < 0x030e00] (__ASSUME_UTIMES): Undefine.
18796         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
18797         (__ASSUME_UTIMES): Do not define.
18798         (__ASSUME_PSELECT): Likewise.
18799         (__ASSUME_PPOLL): Likewise.
18800         (__ASSUME_O_CLOEXEC): Likewise.
18801         (__ASSUME_SOCK_CLOEXEC): Likewise.
18802         (__ASSUME_IN_NONBLOCK): Likewise.
18803         (__ASSUME_PIPE2): Likewise.
18804         (__ASSUME_EVENTFD2): Likewise.
18805         (__ASSUME_SIGNALFD4): Likewise.
18806         (__ASSUME_DUP3): Likewise.
18807         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
18808         (__ASSUME_UTIMES): Likewise.
18809         (__ASSUME_O_CLOEXEC): Likewise.
18810         (__ASSUME_SOCK_CLOEXEC): Likewise.
18811         (__ASSUME_IN_NONBLOCK): Likewise.
18812         (__ASSUME_PIPE2): Likewise.
18813         (__ASSUME_EVENTFD2): Likewise.
18814         (__ASSUME_SIGNALFD4): Likewise.
18815         (__ASSUME_DUP3): Likewise.
18816         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
18817         (__ASSUME_UTIMES): Likewise.
18818         (__ASSUME_O_CLOEXEC): Likewise.
18819         (__ASSUME_SOCK_CLOEXEC): Likewise.
18820         (__ASSUME_IN_NONBLOCK): Likewise.
18821         (__ASSUME_PIPE2): Likewise.
18822         (__ASSUME_EVENTFD2): Likewise.
18823         (__ASSUME_SIGNALFD4): Likewise.
18824         (__ASSUME_DUP3): Likewise.
18825         * sysdeps/unix/sysv/linux/mips/kernel-features.h (__ASSUME_IPC64):
18826         Likewise.
18827         (__ASSUME_UTIMES): Likewise.
18828         (__ASSUME_EVENTFD2): Likewise.
18829         (__ASSUME_SIGNALFD4): Likewise.
18830         * sysdeps/unix/sysv/linux/tile/kernel-features.h
18831         (__ASSUME_O_CLOEXEC): Likewise.
18832         (__ASSUME_SOCK_CLOEXEC): Likewise.
18833         (__ASSUME_IN_NONBLOCK): Likewise.
18834         (__ASSUME_PIPE2): Likewise.
18835         (__ASSUME_EVENTFD2): Likewise.
18836         (__ASSUME_SIGNALFD4): Likewise.
18837         (__ASSUME_DUP3): Likewise.
18838         (__ASSUME_UTIMES): Undefine.
18840         * sysdeps/arm/fclrexcpt.c (__feclearexcept): Rename to
18841         feclearexcept.  Remove symbol versioning code.
18842         * sysdeps/arm/fegetenv.c (__fegetenv): Rename to fegetenv.  Remove
18843         symbol versioning code.
18844         * sysdeps/arm/fesetenv.c (__fesetenv): Rename to fesetenv.  Remove
18845         symbol versioning code.
18846         * sysdeps/arm/feupdateenv.c (__feupdateenv): Rename to
18847         feupdateenv.  Remove symbol versioning code.
18848         * sysdeps/arm/fgetexcptflg.c (__fegetexceptflag): Rename to
18849         fegetexceptflag.  Remove symbol versioning code.
18850         * sysdeps/arm/fsetexcptflg.c (__fesetexceptflag): Rename to
18851         fesetexceptflag.  Remove symbol versioning code.
18852         * sysdeps/unix/sysv/linux/arm/Versions (libc): Remove GLIBC_2.0,
18853         GLIBC_2.2 and GLIBC_2.3.3 entries.  Change GLIBC_2.1 to GLIBC_2.4.
18854         * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c
18855         (__posix_fadvise64_l32): Remove prototype.
18856         [SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)]: Remove conditional
18857         code.
18859 2014-05-13  Roland McGrath  <roland@hack.frob.com>
18861         * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h: Moved ...
18862         * sysdeps/arm/nptl/bits/pthreadtypes.h: ... here.
18863         * sysdeps/unix/sysv/linux/arm/nptl/bits/semaphore.h: Moved ...
18864         * sysdeps/arm/nptl/bits/semaphore.h: ... here.
18866 2014-05-13  Sami Kerola  <kerolasa@iki.fi>
18868         * timezone/Makefile ($(objpfx)tzselect): Use zonedir instead
18869         current working directory
18871 2014-05-13  Roland McGrath  <roland@hack.frob.com>
18873         * sysdeps/unix/sysv/linux/arm/nptl/c++-types.data: Moved ...
18874         * sysdeps/unix/sysv/linux/arm/c++-types.data: ... here.
18875         * sysdeps/unix/sysv/linux/arm/nptl/createthread.c: Moved ...
18876         * sysdeps/unix/sysv/linux/arm/createthread.c: ... here.
18877         * sysdeps/unix/sysv/linux/arm/nptl/fork.c: Moved ...
18878         * sysdeps/unix/sysv/linux/arm/fork.c: ... here.
18879         * sysdeps/unix/sysv/linux/arm/nptl/ld.abilist: Moved ...
18880         * sysdeps/unix/sysv/linux/arm/ld.abilist: ... here.
18881         * sysdeps/unix/sysv/linux/arm/nptl/libBrokenLocale.abilist: Moved ...
18882         * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: ... here.
18883         * sysdeps/unix/sysv/linux/arm/nptl/libanl.abilist: Moved ...
18884         * sysdeps/unix/sysv/linux/arm/libanl.abilist: ... here.
18885         * sysdeps/unix/sysv/linux/arm/nptl/libc.abilist: Moved ...
18886         * sysdeps/unix/sysv/linux/arm/libc.abilist: ... here.
18887         * sysdeps/unix/sysv/linux/arm/nptl/libcrypt.abilist: Moved ...
18888         * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: ... here.
18889         * sysdeps/unix/sysv/linux/arm/nptl/libdl.abilist: Moved ...
18890         * sysdeps/unix/sysv/linux/arm/libdl.abilist: ... here.
18891         * sysdeps/unix/sysv/linux/arm/nptl/libm.abilist: Moved ...
18892         * sysdeps/unix/sysv/linux/arm/libm.abilist: ... here.
18893         * sysdeps/unix/sysv/linux/arm/nptl/libnsl.abilist: Moved ...
18894         * sysdeps/unix/sysv/linux/arm/libnsl.abilist: ... here.
18895         * sysdeps/unix/sysv/linux/arm/nptl/libpthread.abilist: Moved ...
18896         * sysdeps/unix/sysv/linux/arm/libpthread.abilist: ... here.
18897         * sysdeps/unix/sysv/linux/arm/nptl/libresolv.abilist: Moved ...
18898         * sysdeps/unix/sysv/linux/arm/libresolv.abilist: ... here.
18899         * sysdeps/unix/sysv/linux/arm/nptl/librt.abilist: Moved ...
18900         * sysdeps/unix/sysv/linux/arm/librt.abilist: ... here.
18901         * sysdeps/unix/sysv/linux/arm/nptl/libthread_db.abilist: Moved ...
18902         * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: ... here.
18903         * sysdeps/unix/sysv/linux/arm/nptl/libutil.abilist: Moved ...
18904         * sysdeps/unix/sysv/linux/arm/libutil.abilist: ... here.
18905         * sysdeps/unix/sysv/linux/arm/nptl/localplt.data: Moved ...
18906         * sysdeps/unix/sysv/linux/arm/localplt.data: ... here.
18907         * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.h: Moved ...
18908         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: ... here.
18909         * sysdeps/unix/sysv/linux/arm/nptl/sysdep-cancel.h: Moved ...
18910         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: ... here.
18911         * sysdeps/unix/sysv/linux/arm/nptl/unwind-forcedunwind.c: Moved ...
18912         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: ... here.
18913         * sysdeps/unix/sysv/linux/arm/nptl/unwind-resume.c: Moved ...
18914         * sysdeps/unix/sysv/linux/arm/unwind-resume.c: ... here.
18916         * sysdeps/unix/sysv/linux/arm/Versions (libc: GLIBC_PRIVATE): New set.
18917         * sysdeps/unix/sysv/linux/arm/nptl/Versions: File removed.
18919         * sysdeps/unix/sysv/linux/arm/Makefile
18920         [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
18921         Add rt-aeabi_unwind_cpp_pr1.
18922         [$(subdir) = nptl] (librt-sysdep_routines, librt-shared-only-routines):
18923         Add nptl-aeabi_unwind_cpp_pr1.
18924         [$(subdir) = nptl] (tests): Filter out tst-cleanupx4.
18925         * sysdeps/unix/sysv/linux/arm/nptl/Makefile: File removed.
18926         * sysdeps/unix/sysv/linux/arm/nptl/rt-aeabi_unwind_cpp_pr1.c: Move ...
18927         * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
18928         * sysdeps/unix/sysv/linux/arm/nptl/nptl-aeabi_unwind_cpp_pr1.c: Move ...
18929         * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
18931         * sysdeps/unix/sysv/linux/arm/configure.ac: Force -fexceptions here.
18932         * sysdeps/unix/sysv/linux/arm/configure: Regenerated.
18933         * sysdeps/unix/sysv/linux/arm/nptl/configure.ac: File removed.
18934         * sysdeps/unix/sysv/linux/arm/nptl/configure: File removed.
18936         * sysdeps/unix/sysv/linux/arm/clone.S: Include <tcb-offsets.h>.
18937         Deconditionalize the code that was previously under [RESET_PID].
18938         * sysdeps/unix/sysv/linux/arm/nptl/clone.S: File removed.
18940         * sysdeps/generic/exit-thread.h: New file.
18941         * sysdeps/unix/sysv/linux/exit-thread.h: New file.
18942         * include/unistd.h (__exit_thread): Remove declaration.
18943         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Drop exit-thread.
18944         * sysdeps/unix/sysv/linux/exit-thread.S: File removed.
18945         * csu/libc-start.c: Include <exit-thread.h>.
18946         (LIBC_START_MAIN): Pass no argument to __exit_thread.
18947         * nptl/pthread_create.c: Include <exit-thread.h>.
18948         (start_thread): Call __exit_thread in place of __exit_thread_inline.
18949         * nptl/sysdeps/i386/pthreaddef.h (__exit_thread_inline): Macro removed.
18950         * nptl/sysdeps/powerpc/pthreaddef.h: Likewise.
18951         * nptl/sysdeps/s390/pthreaddef.h: Likewise.
18952         * nptl/sysdeps/sh/pthreaddef.h: Likewise.
18953         * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Likewise.
18954         * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Likewise.
18955         * nptl/sysdeps/x86_64/pthreaddef.h: Likewise.
18956         * sysdeps/aarch64/nptl/pthreaddef.h: Likewise.
18957         * sysdeps/alpha/nptl/pthreaddef.h: Likewise.
18958         * sysdeps/arm/nptl/pthreaddef.h: Likewise.
18959         * sysdeps/hppa/nptl/pthreaddef.h: Likewise.
18960         * sysdeps/ia64/nptl/pthreaddef.h: Likewise.
18961         * sysdeps/m68k/nptl/pthreaddef.h: Likewise.
18962         * sysdeps/microblaze/nptl/pthreaddef.h: Likewise.
18963         * sysdeps/mips/nptl/pthreaddef.h: Likewise.
18964         * sysdeps/tile/nptl/pthreaddef.h: Likewise.
18966 2014-05-13  Andreas Schwab  <schwab@suse.de>
18968         * sysdeps/unix/grantpt.c (grantpt): Fix typo in assertion.
18970 2014-05-12  Joseph Myers  <joseph@codesourcery.com>
18972         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
18973         (__ASSUME_UTIMES): Do not condition on kernel version.
18974         (__ASSUME_PSELECT): Define unconditionally.
18975         (__ASSUME_PPOLL): Likewise.
18976         (__ASSUME_ATFCTS): Likewise.
18977         (__ASSUME_SET_ROBUST_LIST): Do not condition on kernel version.
18978         (__ASSUME_COMPLETE_READV_WRITEV): Define unconditionally.
18979         (__ASSUME_FUTEX_LOCK_PI): Do not condition on kernel version.
18980         (__ASSUME_UTIMENSAT): Define unconditionally.
18981         (__ASSUME_PRIVATE_FUTEX): Likewise.
18982         (__ASSUME_FALLOCATE): Likewise.
18983         (__ASSUME_O_CLOEXEC): Likewise.
18984         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Remove.
18985         (__ASSUME_ARG_MAX_STACK_BASED): Likewise.
18986         (__ASSUME_ADJ_OFFSET_SS_READ): Define unconditionally.
18987         (__ASSUME_SOCK_CLOEXEC): Do not condition on kernel version.
18988         (__ASSUME_IN_NONBLOCK): Likewise.
18989         (__ASSUME_PIPE2): Likewise.
18990         (__ASSUME_EVENTFD2): Likewise.
18991         (__ASSUME_SIGNALFD4): Likewise.
18992         (__ASSUME_DUP3): Likewise.
18993         [__x86_64__ || __sparc__] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
18994         (__ASSUME_FUTEX_CLOCK_REALTIME): Define unconditionally.
18995         (__ASSUME_AT_RANDOM): Likewise.
18996         (__ASSUME_PREADV): Likewise.
18997         (__ASSUME_PWRITEV): Likewise.
18998         (__ASSUME_REQUEUE_PI): Do not condition on kernel version.
18999         (__ASSUME_F_GETOWN_EX): Define unconditionally.
19000         (__ASSUME_XFS_RESTRICTED_CHOWN): Likewise.
19001         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
19002         [!__ASSUME_ARG_MAX_STACK_BASED]: Remove conditional code.
19003         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
19004         (__ASSUME_O_CLOEXEC): Define unconditionally.
19005         (__ASSUME_PSELECT): Do not undefine conditionally.
19006         (__ASSUME_PPOLL): Likewise.
19007         (__ASSUME_ATFCTS): Likewise.
19008         (__ASSUME_SET_ROBUST_LIST): Likewise.
19009         (__ASSUME_UTIMENSAT): Likewise.
19010         (__ASSUME_FDATASYNC): Define unconditionally.
19011         * sysdeps/unix/sysv/linux/arm/kernel-features.h
19012         (__ASSUME_SIGFRAME_V2): Likewise.
19013         )__ASSUME_EVENTFD2): Likewise.
19014         (__ASSUME_SIGNALFD4): Likewise.
19015         (__ASSUME_PSELECT): Do not undefine conditionally.
19016         (__ASSUME_PPOLL): Likewise.
19017         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
19018         (__ASSUME_PSELECT): Define unconditionally.
19019         (__ASSUME_PPOLL): Likewise.
19020         (__ASSUME_O_CLOEXEC): Likewise.
19021         (__ASSUME_SOCK_CLOEXEC): Likewise.
19022         (__ASSUME_IN_NONBLOCK): Likewise.
19023         (__ASSUME_PIPE2): Likewise.
19024         (__ASSUME_EVENTFD2): Likewise.
19025         (__ASSUME_SIGNALFD4): Likewise.
19026         (__ASSUME_DUP3): Likewise.
19027         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
19028         (__ASSUME_O_CLOEXEC): Likewise.
19029         (__ASSUME_SOCK_CLOEXEC): Likewise.
19030         (__ASSUME_IN_NONBLOCK): Likewise.
19031         (__ASSUME_PIPE2): Likewise.
19032         (__ASSUME_EVENTFD2): Likewise.
19033         (__ASSUME_SIGNALFD4): Likewise.
19034         (__ASSUME_DUP3): Likewise.
19035         * sysdeps/unix/sysv/linux/mips/kernel-features.h
19036         (__ASSUME_EVENTFD2): Likewise.
19037         (__ASSUME_SIGNALFD4): Likewise.
19038         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
19040 2014-05-12  Andreas Schwab  <schwab@suse.de>
19042         [BZ #16932]
19043         * nis/nss_nis/nis-hosts.c (internal_gethostbyname2_r)
19044         (_nss_nis_gethostbyname4_r): Return error if item length is larger
19045         than maximum RPC packet size.
19046         * nis/nss_nis/nis-initgroups.c (initgroups_netid): Likewise.
19047         * nis/nss_nis/nis-network.c (_nss_nis_getnetbyname_r): Likewise.
19048         * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r)
19049         (_nss_nis_getservbyport_r): Likewise.
19051 2014-05-12  Will Newton  <will.newton@linaro.org>
19053         * malloc/Makefile (tests): Add tst-mallopt.
19054         * malloc/tst-mallopt.c: New file.
19056 2014-05-09  Roland McGrath  <roland@hack.frob.com>
19058         * sysdeps/arm/armv7/strcmp.S: Use sfi_breg prefix on loads not from sp.
19059         [NO_THUMB]: Cope without cbz, cnbz, and orn instructions.
19061 2014-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19063         * elf/Makefile (tst-tlsmod5.so): Add $(no-as-needed).
19064         (tst-tlsmod6.so): Likewise.
19066 2014-05-09  Roland McGrath  <roland@hack.frob.com>
19068         * sysdeps/gnu/unwind-resume.c (libgcc_s_resume): Mark as noreturn.
19070 2014-05-09  Joseph Myers  <joseph@codesourcery.com>
19072         [BZ #16064]
19073         * sysdeps/i386/fpu/fegetenv.c: Include <unistd.h>, <ldsodefs.h>
19074         and <dl-procinfo.h>.
19075         (__fegetenv): Save SSE state in envp->__eip if supported.
19076         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Save SSE state in
19077         envp->__eip if supported.
19078         * sysdeps/i386/fpu/fesetenv.c: Include <unistd.h>, <ldsodefs.h>
19079         and <dl-procinfo.h>.
19080         (__fesetenv): Always set __eip, __cs_selector, __opcode,
19081         __data_offset and __data_selector in environment to 0.  Set SSE
19082         state if supported.
19083         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
19084         test-fenv-sse.
19085         [$(subdir) = math] (CFLAGS-test-fenv-sse.c): Add -msse2
19086         -mfpmath=sse.
19087         * sysdeps/x86/fpu/test-fenv-sse.c: New file.
19089 2014-05-09  Will Newton  <will.newton@linaro.org>
19091         * sysdeps/arm/preconfigure.ac: Set libc_commonpagesize
19092         and libc_relro_required for ARM.
19093         * sysdeps/arm/preconfigure: Regenerate.
19095 2014-05-09  Dominik Vogt  <vogt@linux.vnet.ibm.com>
19096             Stefan Liebler  <stli@linux.vnet.ibm.com>
19098         * config.make.in (enable-lock-elision): New Makefile variable.
19099         * configure.ac: Likewise.
19100         * configure: Regenerate.
19101         * sysdeps/s390/configure.ac:
19102         Add check for gcc transactions support.
19103         * sysdeps/s390/configure: Regenerate.
19104         * nptl/sysdeps/unix/sysv/linux/s390/Makefile: New file.
19105         Build elision files if enabled.
19106         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: New file.
19107         Add lock elision support for s390.
19108         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
19109         * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Likewise.
19110         * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Likewise.
19111         * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
19112         * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
19113         * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
19114         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
19115         Likewise.
19116         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c:
19117         Likewise.
19118         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c:
19119         Likewise.
19120         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c:
19121         Likewise.
19122         * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h:
19123         (__lll_timedlock_elision, __lll_lock_elision)
19124         (__lll_unlock_elision, __lll_trylock_elision)
19125         (lll_timedlock_elision, lll_lock_elision)
19126         (lll_unlock_elision, lll_trylock_elision): Add.
19127         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
19128         (pthread_mutex_t): Add lock elision support for s390.
19130 2014-05-14  Wilco  <wdijkstr@arm.com>
19132         * sysdeps/arm/fclrexcpt.c: Cleanup.
19133         * sysdeps/arm/fedisblxcpt.c: Cleanup.
19134         * sysdeps/arm/feenablxcpt.c: Cleanup.
19135         * sysdeps/arm/fegetenv.c: Cleanup.
19136         * sysdeps/arm/fegetexcept.c: Cleanup.
19137         * sysdeps/arm/fegetround.c: Cleanup.
19138         * sysdeps/arm/feholdexcpt.c: Cleanup.
19139         * sysdeps/arm/fesetenv.c: Cleanup.
19140         * sysdeps/arm/fesetround.c: Cleanup.
19141         * sysdeps/arm/feupdateenv.c: Cleanup.
19142         * sysdeps/arm/fgetexcptflg.c: Cleanup.
19143         * sysdeps/arm/fraiseexcpt.c: Cleanup.
19144         * sysdeps/arm/fsetexcptflg.c: Cleanup.
19145         * sysdeps/arm/ftestexcept.c: Cleanup.
19146         * sysdeps/arm/get-rounding-mode.h: Cleanup.
19147         * sysdeps/arm/setfpucw.c: Cleanup.
19149 2014-05-09  Will Newton  <will.newton@linaro.org>
19151         * sysdeps/arm/armv7/strcmp.S: New file.
19152         * NEWS: Mention addition of ARMv7 optimized strcmp.
19154 2014-05-08  Roland McGrath  <roland@hack.frob.com>
19156         * Makeconfig ($(common-objpfx)config.status): Fix patsubst uses to
19157         look for %.ac rather than %.in.
19159         * sysdeps/mach/hurd/configure.ac (inhibit_glue): Remove variable.
19160         * sysdeps/unix/sysv/linux/configure.ac: Likewise.
19161         * sysdeps/mach/hurd/configure: Regenerated.
19162         * sysdeps/unix/sysv/linux/configure: Regenerated.
19164         * bits/utsname.h (_UTSNAME_DOMAIN_LENGTH): New macro, set to 0.
19166 2014-05-07  Steve Ellcey  <sellcey@mips.com>
19168         [BZ# 16922]
19169         * sysdeps/mips/sys/asm.h (INT_SUB): Fix definition.
19170         (LONG_SUB): Ditto.
19171         (PTR_SUB): Ditto.
19173 2014-05-07  Andreas Schwab  <schwab@suse.de>
19175         * sysdeps/posix/getaddrinfo.c (gaih_inet): Advance address pointer
19176         when skipping over non-matching result from nscd.
19178 2014-05-07  Ondřej Bílka  <neleai@seznam.cz>
19180         [BZ #16876]
19181         * nptl/sockperf.c (client): Check socket return value.
19183         [BZ #16877]
19184         * nscd/selinux.c (nscd_request_avc_has_perm): Check if there is
19185         nscd security class.
19187 2014-05-06  Roland McGrath  <roland@hack.frob.com>
19189         * sysdeps/unix/sysv/linux/arm/nptl/unwind.h: File moved to ...
19190         * sysdeps/arm/unwind.h: ... here.
19192 2014-05-06  Aurelien Jarno  <aurelien@aurel32.net>
19194         [BZ# 16916]
19195         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h (EFD_SEMAPHORE):
19196         Define.
19198 2014-05-06  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
19200         * sysdeps/powerpc/powerpc64/power7/strncpy.S: New file: Optimization.
19201         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: New file:
19202         multiarch strncpy for PPC64.
19203         * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: New file
19204         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: New file
19205         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpcpy, stpncpy
19206         multiarch optimizations.
19207         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
19208         (__libc_ifunc_impl_list): Likewise.
19209         * sysdeps/powerpc/powerpc64/power7/stpncpy.S: New file: Optimization.
19210         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: New file:
19211         multiarch stpncpy for PPC64.
19212         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-ppc64.c: New file
19213         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: New file
19215 2014-05-06  Andreas Schwab  <schwab@suse.de>
19217         [BZ #16912]
19218         * gmon/mcount.c (_MCOUNT_DECL): Use
19219         atomic_compare_and_exchange_bool_acq instead of
19220         catomic_compare_and_exchange_bool_acq.
19222 2014-05-05  Roland McGrath  <roland@hack.frob.com>
19224         * elf/Makefile (others, install-bin): Remove pldd.
19225         (pldd-modules): Variable removed.
19226         ($(objpfx)pldd): Target removed.
19227         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = elf]
19228         (others, install-bin): Append pldd here.
19229         ($(objpfx)pldd): New target.
19231         * sysdeps/gnu/errlist.awk (BEGIN): Emit an initial #define of ERR_MAX
19232         to 0, so the first #if test emitted later doesn't see it undefined.
19233         (END): Emit "!defined ERRLIST_NO_COMPAT" to match what BEGIN does.
19234         * sysdeps/gnu/errlist.c: Regenerated.
19236 2014-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19238         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
19239         [libc_hidden_builtin_def]: Define to empty value.
19240         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S:
19241         [libc_hidden_builtin_def]: Likewise.
19242         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S:
19243         [libc_hidden_builtin_def]: Likewise.
19244         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S:
19245         [libc_hidden_builtin_def]: Likewise.
19246         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c (memcpy): Redefined to
19247         __redirect_memcpy and define ifunc as default hidden symbol.
19248         * sysdeps/powerpc/powerpc64/multiarch/memset.c (memset): Likewise.
19249         * sysdeps/powerpc/powerpc64/multiarch/strlen.c (strlen): Likewise.
19251 2014-05-04  Adam Conrad  <adconrad@0c3.net>
19253         * locale/iso-4217.def: Reintroduce XDR currency.
19255 2014-05-04  Allan McRae  <allan@archlinux.org>
19257         * po/eo.po: Update Esperanto translation from translation project.
19259 2014-05-02  Carlos O'Donell  <carlos@redhat.com>
19261         * sysdeps/x86_64/multiarch/init-arch.h: Define FEATURE_INDEX_1 to 0,
19262         and FEATURE_INDEX_MAX to 1.
19263         [!__ASSEMBLER__]: Remove anonymous enum for FEATURE_INDEX_*.
19265 2014-05-01  Steve Ellcey  <sellcey@mips.com>
19267         * iconvdata/ansi_x3.110.c (ONE_DIRECTION): Define.
19268         * iconvdata/armscii-8.c (ONE_DIRECTION): Define.
19269         * iconvdata/big5.c (ONE_DIRECTION): Define.
19270         * iconvdata/big5hkscs.c (ONE_DIRECTION): Define.
19271         * iconvdata/cp1255.c (ONE_DIRECTION): Define.
19272         * iconvdata/cp1258.c (ONE_DIRECTION): Define.
19273         * iconvdata/cp932.c (ONE_DIRECTION): Define.
19274         * iconvdata/euc-cn.c (ONE_DIRECTION): Define.
19275         * iconvdata/euc-jisx0213.c (ONE_DIRECTION): Define.
19276         * iconvdata/euc-jp-ms.c (ONE_DIRECTION): Define.
19277         * iconvdata/euc-jp.c (ONE_DIRECTION): Define.
19278         * iconvdata/euc-kr.c (ONE_DIRECTION): Define.
19279         * iconvdata/euc-tw.c (ONE_DIRECTION): Define.
19280         * iconvdata/gb18030.c (ONE_DIRECTION): Define.
19281         * iconvdata/gbbig5.c (ONE_DIRECTION): Define.
19282         * iconvdata/gbgbk.c (ONE_DIRECTION): Define.
19283         * iconvdata/gbk.c (ONE_DIRECTION): Define.
19284         * iconvdata/ibm1364.c (ONE_DIRECTION): Define.
19285         * iconvdata/ibm930.c (ONE_DIRECTION): Define.
19286         * iconvdata/ibm932.c (ONE_DIRECTION): Define.
19287         * iconvdata/ibm933.c (ONE_DIRECTION): Define.
19288         * iconvdata/ibm935.c (ONE_DIRECTION): Define.
19289         * iconvdata/ibm937.c (ONE_DIRECTION): Define.
19290         * iconvdata/ibm939.c (ONE_DIRECTION): Define.
19291         * iconvdata/ibm943.c (ONE_DIRECTION): Define.
19292         * iconvdata/iso-2022-cn-ext.c (ONE_DIRECTION): Define.
19293         * iconvdata/iso-2022-cn.c (ONE_DIRECTION): Define.
19294         * iconvdata/iso-2022-jp-3.c (ONE_DIRECTION): Define.
19295         * iconvdata/iso-2022-jp.c (ONE_DIRECTION): Define.
19296         * iconvdata/iso-2022-kr.c (ONE_DIRECTION): Define.
19297         * iconvdata/iso646.c (ONE_DIRECTION): Define.
19298         * iconvdata/iso8859-1.c (ONE_DIRECTION): Define.
19299         * iconvdata/iso_11548-1.c (ONE_DIRECTION): Define.
19300         * iconvdata/iso_6937-2.c (ONE_DIRECTION): Define.
19301         * iconvdata/iso_6937.c (ONE_DIRECTION): Define.
19302         * iconvdata/johab.c (ONE_DIRECTION): Define.
19303         * iconvdata/shift_jisx0213.c (ONE_DIRECTION): Define.
19304         * iconvdata/sjis.c (ONE_DIRECTION): Define.
19305         * iconvdata/t.61.c (ONE_DIRECTION): Define.
19306         * iconvdata/tcvn5712-1.c (ONE_DIRECTION): Define.
19307         * iconvdata/tscii.c (ONE_DIRECTION): Define.
19308         * iconvdata/uhc.c (ONE_DIRECTION): Define.
19309         * iconvdata/unicode.c (ONE_DIRECTION): Define.
19310         * iconvdata/utf-16.c (ONE_DIRECTION): Define.
19311         * iconvdata/utf-32.c (ONE_DIRECTION): Define.
19312         * iconvdata/utf-7.c (ONE_DIRECTION): Define.
19314 2014-05-01  Roland McGrath  <roland@hack.frob.com>
19316         * libio/libioP.h [!_IO_USE_OLD_IO_FILE && !_G_IO_NO_BACKWARD_COMPAT]
19317         (_IO_JUMPS_OFFSET): Define to 0.
19319         * nptl/sysdeps/pthread/bits/libc-lock.h
19320         [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
19321         (__libc_lock_define_initialized_recursive): Always define using
19322         initializer.  Modern compilers treat uninitialized (implicit zero) and
19323         explicit zero initializers the same (i.e. put the datum in bss).
19325 2014-05-01  Andreas Schwab  <schwab@linux-m68k.org>
19327         * nscd/nscd-client.h: Include <string.h>.
19329 2014-05-01  David S. Miller  <davem@davemloft.net>
19331         [BZ #16885]
19332         * sysdeps/sparc/sparc64/strcmp.S: Fix end comparison handling when
19333         multiple zero bytes exist at the end of a string.
19334         Reported by Aurelien Jarno <aurelien@aurel32.net>
19336         * string/test-strcmp.c (check): Add explicit test for situations where
19337         there are multiple zero bytes after the first.
19339 2014-05-01  Andreas Schwab  <schwab@linux-m68k.org>
19341         [BZ #16890]
19342         * stdio-common/vfprintf.c (process_arg) [%p]: Mark string as wide
19343         when compiling wprintf.
19344         * stdio-common/tstdiomisc.c (t3): New function.
19345         (main): Call it.
19347 2014-05-01  Steve Ellcey  <sellcey@mips.com>
19349         * intl/iconv/skeleton.c (ONE_DIRECTION): Remove define.
19350         * iconv/gconv_simple.c (ONE_DIRECTION): Define.
19351         * iconvdata/8bit-gap.c (ONE_DIRECTION): Ditto.
19352         * iconvdata/8bit-generic.c (ONE_DIRECTION): Ditto.
19354 2014-05-01  Steve Ellcey  <sellcey@mips.com>
19356         * stdlib/longlong.h: Updated from GCC.
19358 2014-05-01  Will Newton  <will.newton@linaro.org>
19359             Bernard Ogden  <bernie.ogden@linaro.org>
19361         * NEWS: Update fixed bug list.
19363         [BZ #15119]
19364         * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.c: Remove file.
19366 2014-04-30  David S. Miller  <davem@davemloft.net>
19368         * sysdeps/sparc/fpu/fenv_private.h (HAVE_RM_CTX): Define.
19369         (libc_feholdexcept_setround_sparc_ctx): New function.
19370         (libc_fesetenv_sparc_ctx): Likewise.
19371         (libc_feupdateenv_sparc_ctx): Likewise.
19372         (libc_feholdsetround_sparc_ctx): Likewise.
19373         (libc_feholdexcept_setround_ctx): Define.
19374         (libc_feholdexcept_setroundf_ctx): Likewise.
19375         (libc_feholdexcept_setroundl_ctx): Likewise.
19376         (libc_fesetenv_ctx): Likewise.
19377         (libc_fesetenvf_ctx): Likewise.
19378         (libc_fesetenvl_ctx): Likewise.
19379         (libc_feupdateenv_ctx): Likewise.
19380         (libc_feupdateenvf_ctx): Likewise.
19381         (libc_feupdateenvl_ctx): Likewise.
19382         (libc_feresetround_ctx): Likewise.
19383         (libc_feresetroundf_ctx): Likewise.
19384         (libc_feresetroundl_ctx): Likewise.
19385         (libc_feholdsetround_ctx): Likewise.
19386         (libc_feholdsetroundf_ctx): Likewise.
19387         (libc_feholdsetroundl_ctx): Likewise.
19389         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
19390         with __USE_GNU instead of XOPEN cpp guards.
19392         * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Define to
19393         0.
19395         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
19396         with XOPEN cpp guards.
19398 2014-04-30  Julian Brown  <julian@codesourcery.com>
19400         [BZ #16888]
19401         * sysdeps/arm/dl-machine.h (elf_machine_rela): Fix R_ARM_IRELATIVE
19402         handling.
19404 2014-04-30  Joseph Myers  <joseph@codesourcery.com>
19406         [BZ #9894]
19407         * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
19408         Change to 2.6.32.
19409         (arch_minimum_kernel): Change all 2.6.16 settings to 2.6.32.
19410         * sysdeps/unix/sysv/linux/configure: Regenerated.
19411         * sysdeps/unix/sysv/linux/microblaze/configure.ac: Remove file.
19412         * sysdeps/unix/sysv/linux/microblaze/configure: Likewise.
19413         * sysdeps/unix/sysv/linux/tile/configure.ac: Likewise.
19414         * sysdeps/unix/sysv/linux/tile/configure: Likewise.
19415         * README: Update reference to required Linux kernel version.
19416         * manual/install.texi (Linux): Update reference to required Linux
19417         kernel headers version.
19418         * INSTALL: Regenerated.
19420         * conform/data/stdlib.h-data [POSIX] (stddef.h): Do not allow
19421         header inclusion.
19422         [POSIX] (limits.h): Likewise.
19423         [POSIX] (math.h): Likewise.
19424         [POSIX] (sys/wait.h): Likewise.
19425         * conform/data/string.h-data [POSIX || UNIX98] (strtok_r): Require
19426         function.
19427         [POSIX] (stddef.h): Do not allow header inclusion.
19429 2014-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19431         * sysdeps/generic/symbol-hacks.h (memcpy): Add internal alias.
19433 2014-04-30  Yang Yingliang  <yangyingliang@huawei.com>
19435         * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
19436         Return immediately after lll_futex_wake.
19438 2014-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
19440         [BZ #16791]
19441         * nscd/nscd-client.h (datahead_init_common): Initialize entire
19442         structure.
19443         (datahead_init_pos): Call datahead_init_common early.
19444         (datahead_init_neg): Likewise.
19446         * nscd/nscd-client.h (datahead_init_common, datahead_init_pos,
19447         datahead_init_neg): New functions.
19448         * nscd/aicache.c (addhstaiX): Use them.
19449         * nscd/grpcache.c (cache_addgr): Likewise.
19450         * nscd/hstcache.c (cache_addhst): Likewise.
19451         * nscd/initgrcache.c (addinitgroupsX): Likewise.
19452         * nscd/netgroupcache.c (do_notfound): Likewise.
19453         (addgetnetgrentX): Likewise.
19454         (addinnetgrX): Likewise.
19455         * nscd/pwdcache.c (cache_addpw): Likewise.
19456         * nscd/servicescache.c (cache_addserv): Likewise.
19458 2014-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
19459             Atsushi Onoe  <atsushi@onoe.org>
19461         [BZ #14308]
19462         [BZ #12994]
19463         [BZ #13651]
19464         * resolv/res_query.c (__libc_res_nsearch): Return if at least
19465         one response is valid.
19466         * resolv/res_send.c (send_dg): Check for validity of other
19467         response if the current response is a referral.
19469 2014-04-29  Steve Ellcey  <sellcey@mips.com>
19471         * iconv/skeleton.c (ONE_DIRECTION): Set default value if not set.
19473 2014-04-29  Stefan Liebler  <stli@linux.vnet.ibm.com>
19475         [BZ #16823]
19476         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl):
19477         Always divide by positive zero when computing -Inf result.
19478         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
19479         * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
19481 2014-04-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19483         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Do not update
19484         FPSCR if value do not change.
19485         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
19486         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Likewise.
19487         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
19488         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
19489         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Likewise.
19490         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_reg_to_exceptions): New helper
19491         function.
19493 2014-05-29  Carlos O'Donell  <carlos@systemhalted.org>
19495         * sysdeps/hppa: Move directory from ports/sysdeps/hppa.
19496         * sysdeps/unix/sysv/linux/hppa: Move directory from
19497         ports/systeps/unix/sysv/linux/hppa.
19498         * README: Update listing for hppa-*-linux-gnu.
19500 2014-04-28  Ondřej Bílka  <neleai@seznam.cz>
19502         [BZ #16754]
19503         * manual/stdio.texi (Hook functions): Fix types of stream hook
19504         functions.
19505         [BZ #16854]
19506         * socket/sys/socket.h: Fix typo in comment.
19508 2014-04-28  Wilco  <wdijkstr@arm.com>
19510         * sysdeps/arm/fenv_private.h: New file.
19511         * sysdeps/arm/math_private.h: New file.
19512         * sysdeps/arm/fpu_control.h: Add _FPU_MASK_NCZV and _FPU_MASK_EXCEPT.
19514 2014-04-25  H.J. Lu  <hongjiu.lu@intel.com>
19516         * sysdeps/x86/bits/link.h (La_x86_64_regs): Replace __int128
19517         with __int128_t.
19518         (La_x86_64_retval): Likewise.
19520 2014-04-24  Ian Bolton  <ian.bolton@arm.com>
19522         * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept): Don't write to
19523         fpsr if value didn't change.
19524         * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept): Don't write
19525         to fpcr if value didn't change.
19526         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Likewise.
19527         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Don't write to
19528         fpsr or fpcr if value didn't change.
19529         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
19530         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Don't write to
19531         fpcr if value didn't change.
19532         * sysdeps/aarch64/fpu/fsetexcptflg.c (fesetexceptflag): Don't write
19533         to fpsr if value didn't change.
19535 2014-02-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
19537         * nptl/tst-sem3.c: Use test-skeleton.c
19538         (main): Rename to do_test.  Use return instead of
19539         exit.
19540         * nptl/tst-sem4.c: Use test-skeleton.c
19541         (main): Rename to do_test.
19543 2014-04-22  David S. Miller  <davem@davemloft.net>
19545         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
19546         (struct sigaction): New struct member __glibc_reserved0, change
19547         type of sa_flags to int.
19549 2014-04-22  Yufeng Zhang  <yufeng.zhang@arm.com>
19551         * stdlib/longlong.h (count_leading_zeros, count_trailing_zeros)
19552         (COUNT_LEADING_ZEROS_0): Define for AArch64.
19554 2014-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
19556         * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Include atomic.h.
19557         * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Likewise.
19559 2014-04-22  Will Newton  <will.newton@linaro.org>
19560             Venkataramanan Kumar  <venkataramanan.kumar@linaro.org>
19562         * sysdeps/aarch64/__longjmp.S: Include stap-probe.h.
19563         (__longjmp): Add longjmp and longjmp_target SystemTap
19564         probes.
19565         * sysdeps/aarch64/setjmp.S: Include stap-probe.h.
19566         (__sigsetjmp): Add setjmp SystemTap probe.
19568 2014-04-17  Carlos O'Donell  <carlos@redhat.com>
19570         * manual/intro.texi (Roadmap to the manual): Sort chapter listing to
19571         match manual order.
19573 2014-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19575         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_once.c: Remove file.
19577         * sysdeps/powerpc/fpu/fenv_private.h
19578         (libc_feholdexcept_setroundl_ctx): Define to
19579         libc_feholdexcept_setround_ppc_ctx.
19580         (libc_fesetenvl_ctx): Define to libc_fesetenv_ppc_ctx.
19581         (libc_feholdsetroundl_ctx): Define to libc_feholdsetround_ppc_ctx.
19582         (libc_feresetroundl_ctx): Define to libc_feresetround_ppc_ctx.
19583         (libc_feupdateenvl_ctx): libc_feupdateenv_ppc_ctx.
19585 2014-04-17  Ian Bolton  <ian.bolton@arm.com>
19587         * sysdeps/aarch64/math-tests.h: New file.
19589 2014-04-17  Sihai Yao  <sihai.ysh@alibaba-inc.com>
19591         * sysdeps/x86_64/multiarch/ifunc-defines.sym (COMMON_CPUID_INDEX_7):
19592         New.
19593         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
19594         Check and set bit_AVX2_Usable.
19595         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX2_Usable): New
19596         macro.
19597         (bit_AVX2): Likewise.
19598         (index_AVX2_Usable): Likewise.
19599         (CPUID_AVX2): Likewise.
19600         (HAS_AVX2): Likewise.
19602 2014-04-17  Will Newton  <will.newton@linaro.org>
19604         * manual/setjmp.texi (System V contexts): Add note that
19605         calling setcontext on a context created by a call to a
19606         signal handler is undefined.  Update text to note that
19607         setcontext from a signal handler is possible but not
19608         recommended.
19610         [BZ #16629]
19611         * stdlib/tst-setcontext.c: Include signal.h.
19612         (main): Check that the signal stack before and
19613         after swapcontext is the same.
19615         * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext):
19616         Re-implement to restore registers in user code and avoid
19617         rt_sigreturn system call.
19619 2014-04-17  Wilco  <wdijkstr@arm.com>
19621         * sysdeps/arm/math-tests.h: New file: Set ARM math-test settings.
19622         * sysdeps/generic/math-tests.h: Add macro (EXCEPTION_ENABLE_SUPPORTED).
19623         * math/test-fenv.c: Skip exception trap tests on targets which only
19624         support non-stop mode.
19626 2014-04-17  Ian Bolton  <ian.bolton@arm.com>
19627             Wilco Dijkstra  <wilco.dijkstra@arm.com>
19629         * sysdeps/aarch64/fpu/math_private.h (HAVE_RM_CTX)
19630         (libc_feholdsetround_aarch64_ctx)
19631         (libc_feholdsetround_ctx, libc_feholdsetroundf_ctx)
19632         (libc_feholdsetroundl_ctx, libc_feresetround_aarch64_ctx)
19633         (libc_feresetround_ctx, libc_feresetroundf_ctx)
19634         (libc_feresetroundl_ctx, libc_feresetround_noex_aarch64_ctx)
19635         (libc_feresetround_noex_ctx, libc_feresetround_noexf_ctx)
19636         (libc_feresetround_noexl_ctx): Define.
19638 2014-04-16  Richard Henderson  <rth@redhat.com>
19640         * sysdeps/unix/sysv/linux/alpha/nptl/pthread_once.c: Remove.
19642         * sysdeps/alpha/Makefile [debug] (CFLAGS-backtrace.c): Enable
19643         unwind tables.
19645         * sysdeps/unix/alpha/sysdep.h (__pointer_chk_guard): Remove
19646         const from the non-libc, non-ldso copy.
19648         * sysdeps/alpha/libm-test-ulps: Regenerate.
19650 2014-04-16  Ian Bolton  <ian.bolton@arm.com>
19651             Wilco Dijkstra  <wilco.dijkstra@arm.com>
19653         * sysdeps/aarch64/fpu/math_private.h: New file.
19655 2014-04-16  Marcus Shawcroft  <marcus.shawcroft@arm.com>
19657         * sysdeps/aarch64/libm-test-ulps: Regenerate.
19659 2014-04-16  Igor Zamyatin  <igor.zamyatin@intel.com>
19661         [BZ #16275]
19662         * sysdeps/x86_64/bits/link.h (La_x86_64_regs): Add lr_bnd.
19663         (La_x86_64_retval): Add lrv_bnd0 and lrv_bnd1.
19664         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Save
19665         Intel MPX bound registers before _dl_profile_fixup.
19666         * sysdeps/x86_64/dl-trampoline.h: Restore Intel MPX bound
19667         registers after _dl_profile_fixup.  Save and restore bound
19668         registers bnd0/bnd1 when calling _dl_call_pltexit.
19669         * sysdeps/x86_64/link-defines.sym (BND_SIZE): New.
19670         (LR_BND_OFFSET): Likewise.
19671         (LRV_BND0_OFFSET): Likewise.
19672         (LRV_BND1_OFFSET): Likewise.
19674 2014-04-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
19676         * sysdeps/mach/hurd/tls.h (dtv, dtv_t, tcbhead_t): Move declarations
19677         to...
19678         * sysdeps/mach/hurd/i386/tls.h: ... here.
19679         (tcbhead_t): Add multiple_threads, sysinfo, stack_guard,
19680         pointer_guard, gscope_flag, private_futex, __private_tm, __private_ss
19681         fields.
19683 2014-04-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
19685         * sysdeps/mach/munmap.c (__munmap): Return EINVAL if `addr' is 0.
19687 2014-04-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
19689         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
19691 2014-04-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
19693         [BZ #14770]
19694         * sysdeps/s390/configure.ac: Check for Binutils >= 2.24.
19695         * sysdeps/s390/configure: Regenerate.
19697         [BZ #16824]
19698         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l):
19699         Set round-to-nearest internally to reduce error accumulation.
19701 2014-04-16  Alan Modra  <amodra@gmail.com>
19703         [BZ #16740]
19704         [BZ #16619]
19705         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Rewrite.
19706         * math/libm-test.inc (frexp_test_data): Add tests.
19707         * NEWS: Update fixed bug list.
19709 2014-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
19711         * benchtests/Makefile: Depend on libraries in build directory.
19712         (bench-math): Separate out math tests.
19713         (bench-pthread): Separate out pthread tests.
19714         (bench): Include math and pthread tests.
19716 2014-04-14  Carlos O'Donell  <carlos@redhat.com>
19718         [BZ #16831]
19719         * csu/libc-start.c (LIBC_START_MAIN) [!SHARED]: Call
19720         _dl_debug_initialize.
19722         * configure.ac: Remove SELinux header check.
19723         * configure: Regenerate.
19724         * nscd/selinux.c (perms): Array of const char* to permission names.
19725         (nscd_request_avc_has_perm): Call security_deny_unknown to find
19726         default policy. Call string_to_security_class and string_to_av_perm to
19727         translate strings. Enforce default policy and call avs_has_perm with
19728         results of translated strings.
19730 2014-04-13  David S. Miller  <davem@davemloft.net>
19732         * sysdeps/sparc/fpu/libm-test-ulps: Update.
19734 2014-04-12  Allan McRae  <allan@archlinux.org>
19736         [BZ #16838]
19737         * manual/string.texi (Collation Functions): Fix qsort argument
19738         order in example.
19739         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
19741 2014-04-11  Chris Metcalf  <cmetcalf@tilera.com>
19743         * math/test-fenv-preserve.c [FE_ALL_EXCEPT == 0] (do_test):
19744         Make the test a no-op if there are no exceptions defined.
19746 2014-04-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
19748         * elf/Makefile (tests): make tst-dlopen-aout conditional on
19749         enable-hardcoded-path-in-tests
19751 2014-04-11  Will Newton  <will.newton@linaro.org>
19753         * benchtests/Makefile (extra-objs): Add json-lib.o.
19754         (bench-func): Tidy up JSON output.
19755         * benchtests/bench-skeleton.c: Include json-lib.h.
19756         (main): Use JSON library functions to do output of
19757         benchmark results.
19758         * benchtests/bench-timing-type.c (main): Output the
19759         timing type simply, leaving formatting to the user.
19760         * benchtests/json-lib.c: New file.
19761         * benchtests/json-lib.h: Likewise.
19763 2014-04-11  Torvald Riegel  <triegel@redhat.com>
19765         [BZ #15215]
19766         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_once.c: Moved to ...
19767         * nptl/sysdeps/unix/sysv/linux/pthread_once.c: ... here.  Add missing
19768         memory barriers.  Add comments.
19769         * sysdeps/unix/sysv/linux/aarch64/nptl/pthread_once.c: Remove file.
19770         * sysdeps/unix/sysv/linux/arm/nptl/pthread_once.c: Remove file.
19771         * sysdeps/unix/sysv/linux/ia64/nptl/pthread_once.c: Remove file.
19772         * sysdeps/unix/sysv/linux/m68k/nptl/pthread_once.c: Remove file.
19773         * sysdeps/unix/sysv/linux/mips/nptl/pthread_once.c: Remove file.
19774         * sysdeps/unix/sysv/linux/tile/nptl/pthread_once.c: Remove file.
19776 2014-04-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
19778         * sysdeps/s390/s390-32/configure.ac: Unify file with ...
19779         * sysdeps/s390/s390-64/configure.ac: ... this ...
19780         * sysdeps/s390/configure.ac: ... to here.
19781         * sysdeps/s390/s390-32/configure: Delete file.
19782         * sysdeps/s390/s390-64/configure: Delete file.
19783         * sysdeps/s390/configure: Regenerate.
19785 2014-04-11  Joseph Anthony Pasquale Holsten  <joseph@josephholsten.com>
19787         * resolv/res_query.c (__libc_res_nsearch): Fix typo in comment.
19789 2014-04-11  Will Newton  <will.newton@linaro.org>
19791         * malloc/malloc.c [!MALLOC_DEBUG]: #define MALLOC_DEBUG
19792         to zero if it is not defined elsewhere.  (mtrim): Test
19793         the value of MALLOC_DEBUG with #if rather than #ifdef.
19795 2014-04-10 Torvald Riegel  <triegel@redhat.com>
19797         * benchtests/pthread_once-inputs: New file.
19798         * benchtests/pthread_once-source.c: New file.
19799         * benchtests/README: Update documentation.
19801 2014-04-09  Igor Zamyatin  <igor.zamyatin@intel.com>
19802             H.J. Lu  <hongjiu.lu@intel.com>
19804         [BZ #16275]
19805         * config.h.in (HAVE_MPX_SUPPORT): New #undef.
19806         * sysdeps/x86_64/configure.ac: Set HAVE_MPX_SUPPORT.
19807         * sysdeps/x86_64/configure: Regenerated.
19808         * sysdeps/x86_64/dl-trampoline.S (REGISTER_SAVE_AREA): New
19809         macro.
19810         (REGISTER_SAVE_RAX): Likewise.
19811         (REGISTER_SAVE_RCX): Likewise.
19812         (REGISTER_SAVE_RDX): Likewise.
19813         (REGISTER_SAVE_RSI): Likewise.
19814         (REGISTER_SAVE_RDI): Likewise.
19815         (REGISTER_SAVE_R8): Likewise.
19816         (REGISTER_SAVE_R9): Likewise.
19817         (REGISTER_SAVE_BND0): Likewise.
19818         (REGISTER_SAVE_BND1): Likewise.
19819         (REGISTER_SAVE_BND2): Likewise.
19820         (_dl_runtime_resolve): Use them.  Save and restore Intel MPX
19821         bound registers when calling _dl_fixup.
19823 2014-04-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19825         * bits/string.h (_STRING_ARCH_unaligned): Define it to 0.
19826         * crypt/sha256.c (_STRING_ARCH_unaligned): Check its value instead
19827         of its definition.
19828         * iconv/gconv_simple.c (_STRING_ARCH_unaligned): Likewise.
19829         * iconv/loop.c (_STRING_ARCH_unaligned): Likewise.
19830         * iconv/skeleton.c (_STRING_ARCH_unaligned): Likewise.
19831         * nscd/nscd_gethst_r.c (_STRING_ARCH_unaligned): Likewise.
19832         * nscd/nscd_getserv_r.c (_STRING_ARCH_unaligned): Likewise.
19833         * nscd/nscd_helper.c (_STRING_ARCH_unaligned): Likewise.
19834         * resolv/res_send.c (_STRING_ARCH_unaligned): Likewise.
19836 2014-04-09  Peter Brett  <peter@peter-b.co.uk>
19838         [BZ #15514]
19839         * sysdeps/posix/pathconf.c (__pathconf): Use statvfs64() for
19840         pathconf(_PC_NAME_MAX).
19842 2014-04-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19844         * nptl/sysdeps/pthread/pthread.h (__PTHREAD_MUTEX_HAVE_ELISION):
19845         Remove macro usage.
19846         (__PTHREAD_SPINS): Move definition to ...
19847         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
19848         (__PTHREAD_SPINS): ... here.
19849         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
19850         (__PTHREAD_SPIN): Likewise.
19851         * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h
19852         (__PTHREAD_SPIN): Likewise.
19853         * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h
19854         (__PTHREAD_SPIN): Likewise.
19855         * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h
19856         (__PTHREAD_SPIN): Likewise.
19857         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
19858         (__PTHREAD_SPIN): Likewise.
19859         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
19860         (__PTHREAD_SPIN): Likewise.
19861         * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h
19862         (__PTHREAD_SPIN): Likewise.
19863         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
19864         (__PTHREAD_SPIN): Likewise.
19865         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
19866         (__PTHREAD_SPIN): Likewise.
19867         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
19868         (__PTHREAD_SPIN): Likewise.
19869         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
19870         (__PTHREAD_SPIN): Likewise.
19871         * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h
19872         (__PTHREAD_SPIN): Likewise.
19874         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: New file.
19875         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: new file.
19876         * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: New file.
19877         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove multiarch
19878         imply folder.
19879         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
19880         * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
19881         * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
19882         * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Adjust
19883         correct imply path.
19884         * sysdeps/powerpc/powerpc64/power7/strncat.S (STRLEN): Define correct
19885         strlen symbol for non multi-arch builds.
19886         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (__isnan): Add
19887         missing hidden_def and weak_alias.
19889 2014-04-08  Carlos O'Donell  <carlos@redhat.com>
19891         * manual/ipc.texi (sem_close): AC-unsafe because of aculock.
19893 2014-04-07  Will Newton  <will.newton@linaro.org>
19895         * string/basename.c [HAVE_CONFIG_H]: Remove #ifdef and
19896         and contents.  [!_LIBC] Remove #ifndef and contents.
19897         (basename): Use ANSI prototype.  [_LIBC] Remove #idef.
19898         * string/memccpy.c (__memccpy): Use ANSI prototype.
19899         * string/memfrob.c (memfrob): Likewise.
19900         * string/strcoll.c (STRCOLL): Likewise.
19901         * string/strlen.c (strlen): Likewise.
19902         * string/strtok.c (STRTOK): Likewise.
19903         * string/strcat.c: Remove unused #include of memcopy.h.
19904         (strcat): Use ANSI prototype.
19905         * string/strchr.c: Remove unused #include of memcopy.h.
19906         (strchr): Use ANSI prototype.
19907         * string/strcmp.c: Remove unused #include of memcopy.h.
19908         (strcmp): Use ANSI prototype.
19909         * string/strcpy.c: Remove unused #include of memcopy.h.
19910         (strcpy): Use ANSI prototype.
19912 2014-04-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19914         * Makeconfig (CPPFLAGS): Add config-extra-cppflags to list.
19915         * config.make.in (config-extra-cppflags): Set it from
19916         libc_extra_cppflags.
19917         * configure.ac (libc_extra_cflags): Make it accumulate over
19918         configure fragments.
19919         (libc_extra_cppflags): New flag.
19920         * configure. Regenerate.
19921         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
19922         (libc_cv_ppc64_def_call_elf): Define it to yes if compiler does
19923         not set _CALL_ELF and add -D_CALL_ELF=1 to libc_extra_cppflags.
19924         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
19926         [BZ #16815]
19927         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Fix
19928         result for FE_DOWNWARD rounding mode.
19929         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
19930         Likewise.
19931         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19933 2014-04-04  Chris Metcalf  <cmetcalf@tilera.com>
19935         * sysdeps/tile/dl-runtime.c (_dl_unmap): Fix cut-and-paste bug
19936         in function argument name.
19938 2014-04-03  David Svoboda  <svoboda@cert.org>
19940         [BZ #5666]
19941         * manual/stdio.texi (Line-Oriented Input): Document buffer allocation
19942         explicitly.
19944 2014-04-03  Roland McGrath  <roland@hack.frob.com>
19946         * elf/dl-unmap-segments.h: New file.
19947         * sysdeps/generic/ldsodefs.h
19948         (DL_UNMAP): Use _dl_unmap_segments in place of __munmap.
19949         * elf/dl-close.c: Include <dl-unmap-segments.h>.
19950         * elf/dl-fptr.c: Likewise.
19951         (_dl_unmap): Use _dl_unmap_segments in place of __munmap.
19952         * sysdeps/aarch64/tlsdesc.c: Likewise.
19953         * sysdeps/arm/tlsdesc.c: Likewise.
19954         * sysdeps/i386/tlsdesc.c: Likewise.
19955         * sysdeps/tile/dl-runtime.c: Likewise.
19956         * sysdeps/x86_64/tlsdesc.c: Likewise.
19957         * elf/dl-load.h: New file.
19958         * elf/dl-load.c: Include it.
19959         (MAP_FILE, MAP_COPY, MAP_BASE_ADDR):
19960         Macros moved to dl-load.h.
19961         (ELF_PREFERRED_ADDRESS_DATA, ELF_PREFERRED_ADDRESS): Likewise.
19962         (_dl_map_object_from_fd): Type 'struct loadcmd' moved to dl-load.h.
19963         Use _dl_unmap_segments in place of __munmap.
19964         Break out segment-mapping loop into ...
19965         * elf/dl-map-segments.h (_dl_map_segments): ... here, in new file.
19967 2014-04-03  Will Newton  <will.newton@linaro.org>
19969         * elf/dl-lookup.c (do_lookup_x): Remove comment
19970         referring to nested function and move variable
19971         declarations down to before first use.
19973 2014-04-02  Joseph Myers  <joseph@codesourcery.com>
19975         [BZ #16799]
19976         [BZ #16800]
19977         * math/s_catan.c (__catan): Avoid passing -0 denominator to atan2
19978         with 0 numerator.
19979         * math/s_catanf.c (__catanf): Likewise.
19980         * math/s_catanh.c (__catanh): Likewise.
19981         * math/s_catanhf.c (__catanhf): Likewise.
19982         * math/s_catanhl.c (__catanhl): Likewise.
19983         * math/s_catanl.c (__catanl): Likewise.
19984         * sysdeps/ieee754/flt-32/e_logf.c (__ieee754_logf): Always divide
19985         by positive zero when computing -Inf result.
19986         * math/libm-test.inc (catan_test): Use ALL_RM_TEST.
19987         (catanh_test): Likewise.
19988         * sysdeps/i386/fpu/libm-test-ulps: Update.
19989         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19991         [BZ #16789]
19992         * math/s_clog.c (__clog): Use math_force_eval to ensure underflow
19993         instead of using underflowing value in computing result.
19994         * math/s_clog10.c (__clog10): Likewise.
19995         * math/s_clog10f.c (__clog10f): Likewise.
19996         * math/s_clog10l.c (__clog10l): Likewise.
19997         * math/s_clogf.c (__clogf): Likewise.
19998         * math/s_clogl.c (__clogl): Likewise.
19999         * math/libm-test.inc (clog_test): Use ALL_RM_TEST.
20000         (clog10_test): Likewise.
20001         * sysdeps/i386/fpu/libm-test-ulps: Update.
20002         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20004 2014-04-02  Alan Modra  <amodra@gmail.com>
20006         [BZ #16739]
20007         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Correct
20008         output when value is near a power of two.  Use int64_t for lx and
20009         remove casts.  Use decimal rather than hex exponent constants.
20010         Don't use long double multiplication when double will suffice.
20011         * math/libm-test.inc (nextafter_test_data): Add tests.
20012         * NEWS: Add 16739 and 16786 to bug list.
20014         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Correct stream hint.
20016         * sysdeps/powerpc/powerpc64/start.S: Add @toc to toc symbol reference.
20018 2014-04-01  Will Newton  <will.newton@linaro.org>
20020         * benchtests/Makefile (CFLAGS-bench-ffs.c): Add
20021         -fno-builtin.  (CFLAGS-bench-ffsll.c): Likewise.
20023 2014-04-01  Florian Weimer  <fweimer@redhat.com>
20025         [BZ #13347]
20026         * nptl/nptl-init.c (sighandler_setxid): Check system call result.
20027         * nptl/tst-setuid2.c: New file.
20028         * nptl/Makefile (xtests): Add tst-setuid2.
20030 2014-04-01  Alan Modra  <amodra@gmail.com>
20032         [BZ #16786]
20033         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Don't trash stack.
20035 2014-03-31  Joseph Myers  <joseph@codesourcery.com>
20037         [BZ #6803]
20038         [BZ #6804]
20039         * math/w_scalb.c (__scalb): For non-SVID mode, check result and
20040         set errno as appropriate.
20041         * math/w_scalbf.c (__scalbf): Likewise.
20042         * math/w_scalbl.c (__scalbl): Likewise.
20043         * math/gen-libm-test.pl (parse_args): Handle ERRNO_PLUS_OFLOW,
20044         ERRNO_MINUS_OFLOW, ERRNO_PLUS_UFLOW and ERRNO_MINUS_UFLOW.
20045         * math/libm-test.inc (scalb_test_data): Add errno expectations.
20046         Add more NaN tests.
20048         [BZ #16349]
20049         * math/w_atan2.c: Include <errno.h>.
20050         (__atan2): Set errno for result underflowing to zero.
20051         * math/w_atan2f.c: Include <errno.h>.
20052         (__atan2f): Set errno for result underflowing to zero.
20053         * math/w_atan2l.c: Include <errno.h>.
20054         (__atan2l): Set errno for result underflowing to zero.
20055         * math/auto-libm-test-in: Don't allow missing errno for some atan2
20056         tests.
20057         * math/auto-libm-test-out: Regenerated.
20059 2014-03-31  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20061         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
20062         Encode instruction correctly in little endian.
20063         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
20064         Likewise.
20065         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
20066         Likewise.
20067         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
20068         Likewise.
20069         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
20070         Likewise.
20072 2014-03-31  Joseph Myers  <joseph@codesourcery.com>
20074         [BZ #9894]
20075         * sysdeps/unix/sysv/linux/kernel-features.h
20076         [__sparc__ && !__arch64__ && !__sparc_v9__]
20077         (__ASSUME_SET_ROBUST_LIST): Do not define.
20078         [__sparc__ && !__arch64__ && !__sparc_v9__]
20079         (__ASSUME_FUTEX_LOCK_PI): Likewise.
20080         [__sparc__ && !__arch64__ && !__sparc_v9__] (__ASSUME_REQUEUE_PI):
20081         Likewise.
20082         * sysdeps/unix/sysv/linux/arm/kernel-features.h
20083         (__ASSUME_FUTEX_LOCK_PI): Undefine.
20084         (__ASSUME_REQUEUE_PI): Likewise.
20085         (__ASSUME_SET_ROBUST_LIST): Likewise.
20086         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
20087         [__LINUX_KERNEL_VERSION < 0x030a00] (__ASSUME_FUTEX_LOCK_PI):
20088         Undefine.
20089         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
20090         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_FUTEX_LOCK_PI):
20091         Likewise.
20092         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_REQUEUE_PI):
20093         Likewise.
20094         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_SET_ROBUST_LIST):
20095         Likewise.
20096         * sysdeps/unix/sysv/linux/mips/kernel-features.h
20097         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_FUTEX_LOCK_PI):
20098         Undefine.
20099         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_REQUEUE_PI): Likewise.
20100         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_SET_ROBUST_LIST):
20101         Likewise.
20103         [BZ #16648]
20104         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
20105         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_FUTIMESAT): Define.
20106         * sysdeps/unix/sysv/linux/microblaze/futimesat.c: New file.
20108 2014-03-31  Will Newton  <will.newton@linaro.org>
20110         * benchtests/Makefile (bench): Add ffs and ffsll to list
20111         of tests.
20112         * benchtests/ffs-inputs: New file.
20113         * benchtests/ffsll-inputs: Likewise.
20115 2014-03-29  Joseph Myers  <joseph@codesourcery.com>
20117         [BZ #16770]
20118         * math/e_scalb.c (__ieee754_scalb): Check second argument is not
20119         too large before casting to int.
20120         * math/e_scalbf.c (__ieee754_scalbf): Likewise.
20121         * math/e_scalbl.c (__ieee754_scalbl): Likewise.
20122         * math/libm-test.inc (scalb_test_data): Add more tests.
20124 2014-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
20126         * benchtests/Makefile (DETAILED_OPT): New make option.
20127         (bench-func): Run benchmark program with -d if DETAILED_OPT is
20128         set.
20129         * benchtests/bench-skeleton.c: Include stdbool.h.
20130         (main): Store and print timings per input.
20131         * benchtests/scripts/bench.py (STRUCT_TEMPLATE): Add timing
20132         member to each argument value.
20133         (EPILOGUE): Define new macros RESULT and RESULT_ACCUM.
20134         (_print_arg_data): Initialize per-input timing to 0.
20136         * benchtests/Makefile (timing-type): New binary.
20137         (bench-clean): Also remove bench-timing-type.
20138         (bench): New target for timing-type.
20139         (bench-func): Print output in JSON format.
20140         * benchtests/bench-skeleton.c (main): Print output in JSON
20141         format.
20142         * benchtests/bench-timing-type.c: New file.
20143         * benchtests/bench-timing.h (TIMING_TYPE): New macro.
20144         (TIMING_PRINT_STATS): Remove.
20145         * benchtests/scripts/bench.py (_print_arg_data): Store variant
20146         name separately.
20148         * benchtests/bench-modf.c: Remove.
20149         * benchtests/modf-inputs: New inputs file.
20151 2014-03-28  Joseph Myers  <joseph@codesourcery.com>
20153         [BZ #16362]
20154         * math/s_clog10.c (M_PI_LOG10E): New macro.
20155         (__clog10): Use M_PI_LOG10E instead of M_PI when real and
20156         imaginary parts are 0.
20157         * math/s_clog10f.c (M_PI_LOG10Ef): New macro.
20158         (__clog10f): Use M_PI_LOG10Ef instead of M_PI when real and
20159         imaginary parts are 0.
20160         * math/s_clog10l.c (M_PI_LOG10El): New macro.
20161         (__clog10l): Use M_PI_LOG10El instead of M_PIl when real and
20162         imaginary parts are 0.
20163         * math/libm-test.inc (clog10_test_data): Update expected results
20164         for when real and imaginary parts are 0.
20166 2014-03-27  Paul Pluzhnikov  <ppluzhnikov@google.com>
20168         * elf/dl-load.c: Finish conversion of __builtin_expect into
20169         __glibc_{un}likely.
20171 2014-03-27  Joseph Myers  <joseph@codesourcery.com>
20173         [BZ #16348]
20174         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]: Use
20175         1+x for argument with exponent below -67.
20176         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]:
20177         Likewise.
20178         * math/auto-libm-test-in: Add more tests of exp.
20179         * math/auto-libm-test-out: Regenerated.
20181 2014-03-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
20183         [BZ #16759]
20184         * inet/getnetgrent_r.c (get_nonempty_val): New function.
20185         (nscd_getnetgrent): Use it.
20187         [BZ #16760]
20188         * nscd/netgroupcache.c (addgetnetgrentX): Use memmove instead
20189         of stpcpy.
20191 2014-03-27  Andi Kleen  <ak@linux.intel.com>
20193         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_lock)
20194         (lll_robust_lock, lll_cond_lock, lll_timedlock)
20195         (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
20196         (lll_robust_unlock): Remove out of line section. Use cfi
20197         intrinsics.
20198         (LLL_STUB_UNWIND_INFO*): Remove.
20199         * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_lock)
20200         (lll_robust_lock, lll_cond_lock, lll_timedlock)
20201         (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
20202         (lll_robust_unlock): Remove out of line section. Use cfi
20203         intrinsics.
20204         (LLL_STUB_UNWIND_INFO*): Remove.
20206 2014-03-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
20208         [BZ #16758]
20209         * nscd/netgroupcache.c (addinnetgrX): Succeed if triplet has
20210         blank values.
20212 2014-03-26  Paul Pluzhnikov  <ppluzhnikov@google.com>
20214         * elf/dl-load.c: Convert __builtin_expect into __glibc_{un}likely.
20216 2014-03-26  Joseph Myers  <joseph@codesourcery.com>
20218         [BZ #16198]
20219         * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Use fldenv after
20220         fnstenv.
20221         * math/test-fenv-preserve.c: New file.
20222         * math/Makefile (tests): Add test-fenv-preserve.
20224 2014-03-26  Will Newton <will.newton@linaro.org>
20226         * benchtests/bench-strtod.c (TIMEOUT): Define to 10.
20228 2014-03-25  Roland McGrath  <roland@hack.frob.com>
20230         * scripts/versionlist.awk: Partition the version sets and emit all
20231         GLIBC_* (sorted) before all others (sorted).
20233 2014-03-25  Joseph Myers  <joseph@codesourcery.com>
20235         * elf/Versions (libc) [EXPORT_UNWIND_FIND_FDE]: Add empty
20236         GLIBC_2.2.5 version.
20238 2014-03-25 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20240         * scripts/localplt.awk: Check for PLT generated by internal IFUNC
20241         calls.
20243         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Revert
20244         previous change.
20246         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20248 2014-03-25  Andreas Schwab  <schwab@suse.de>
20250         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Add out_fail2
20251         label to be used after in6ailist is initialized.
20253 2014-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20255         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
20256         (__PTHREAD_MUTEX_HAVE_ELISION): New define.
20258 2014-03-25  Joseph Myers  <joseph@codesourcery.com>
20260         [BZ #16357]
20261         [BZ #16599]
20262         * math/gen-auto-libm-tests.c (fp_format_desc): Add field
20263         min_plus_half.
20264         (fp_formats): Update initializers.
20265         (init_fp_formats): Initialize new field.
20266         (output_for_one_input_case): Allow underflow for results up to
20267         min_plus_half.
20268         * math/libm-test.inc (log1p_test): Use ALL_RM_TEST.
20269         * math/auto-libm-test-in: Don't mark some underflows from asin and
20270         atanh as spurious.
20271         * math/auto-libm-test-out: Regenerated.
20272         * sysdeps/i386/fpu/libm-test-ulps: Update.
20273         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20275 2014-03-25  Andreas Schwab  <schwab@suse.de>
20277         * libio/Makefile (tst-ftell-partial-wide-ENV)
20278         (tst-ftell-active-handler-ENV): Define.
20280 2014-03-25  Stefan Liebler <stli@linux.vnet.ibm.com>
20282         * NEWS: Add 16712, 16713, 16714 to fixed bug list.
20284 2014-03-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
20286         * elf/tst-dlopen-aout.c: Adjust comments. Use test-skeleton.c
20288 2014-03-24  Joseph Myers  <joseph@codesourcery.com>
20290         * sysdeps/ieee754/dbl-64/e_exp.c: Include <math.h>.
20291         * sysdeps/x86_64/fpu/multiarch/e_exp.c
20292         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
20294 2014-03-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
20296         [BZ #16634]
20297         * elf/dl-load.c (open_verify): Add mode parameter.
20298         Error early when ET_EXEC and mode does not have __RTLD_OPENEXEC.
20299         (open_path): Change from boolean 'secure' to complete flag 'mode'
20300         (_dl_map_object): Adjust.
20301         * elf/Makefile (tests): Add tst-dlopen-aout.
20302         * elf/tst-dlopen-aout.c: New test.
20304 2014-03-24  Stefan Liebler <stli@linux.vnet.ibm.com>
20306         [BZ #16714]
20307         * sysdeps/unix/sysv/linux/s390/bits/stat.h
20308         (struct stat): Rename member pad0 to __glibc_reserved0.
20310         [BZ #16712]
20311         * sysdeps/s390/s390-32/bits/wordsize.h
20312         (__WORDSIZE32_SIZE_ULONG): New define.
20313         * sysdeps/s390/s390-64/bits/wordsize.h
20314         (__WORDSIZE32_SIZE_ULONG): Likewise.
20315         * sysdeps/generic/stdint.h (SIZE_MAX):
20316         Define as UL if __WORDSIZE32_SIZE_ULONG.
20318         [BZ #16713]
20319         * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
20320         (__glibc_reserved0): New variable.
20321         (sa_flags): Change type to int.
20323         * posix/Makefile (before-compile): Use += before-compile instead
20324         of a :=.
20326         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
20327         (__PTHREAD_MUTEX_HAVE_ELISION): New define.
20329 2014-03-20  Andreas Schwab  <schwab@suse.de>
20331         [BZ #16743]
20332         * sysdeps/posix/getaddrinfo.c (gaih_inet): Properly skip over
20333         non-matching result from nscd.
20335 2014-03-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
20337         * scripts/bench.py: Moved to ...
20338         * benchtests/scripts/bench.py: ... here.
20339         * benchtests/Makefile ($(objpfx)bench-%.c): Adjust.
20341 2014-03-24  Andreas Schwab  <schwab@suse.de>
20343         [BZ #16002]
20344         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Use
20345         alloca_account and account alloca use for struct in6ailist.
20347 2014-03-24  Joseph Myers  <joseph@codesourcery.com>
20349         [BZ #16284]
20350         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use original
20351         rounding mode to recompute results that overflow to infinity or
20352         underflow to zero.
20353         * math/auto-libm-test-in: Don't mark tests as expected to fail for
20354         bug 16284.
20355         * math/auto-libm-test-out: Regenerated.
20356         * math/libm-test.inc (ccos_test): Use ALL_RM_TEST.
20357         (ccosh_test): Likewise.
20358         (csin_test_data): Use plus_oflow.
20359         (csin_test): Use ALL_RM_TEST.
20360         (csinh_test_data): Use plus_oflow.
20361         (csinh_test): Use ALL_RM_TEST.
20362         * sysdeps/i386/fpu/libm-test-ulps: Update.
20363         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20365 2014-03-21  Joseph Myers  <joseph@codesourcery.com>
20367         * sysdeps/mips/bits/wordsize.h: Include <sgidefs.h>.
20368         * sysdeps/unix/sysv/linux/mips/getrlimit64.c: Likewise.
20369         * sysdeps/unix/sysv/linux/mips/setrlimit64.c: Likewise.
20371         [BZ #16731]
20372         * sysdeps/i386/fpu/e_log.S (__ieee754_log): Take absolute value
20373         when x - 1 is zero.
20374         * sysdeps/i386/fpu/e_logf.S (__ieee754_logf): Likewise.
20375         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Likewise.
20376         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
20377         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Return +0 when
20378         argument is 1.
20379         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Likewise.
20380         * sysdeps/x86_64/fpu/e_logl.S: Take absolute value when x - 1 is
20381         zero.
20382         * math/libm-test.inc (log_test): Use ALL_RM_TEST.
20383         * sysdeps/i386/fpu/libm-test-ulps: Update.
20384         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20386 2014-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
20388         * scripts/bench.pl: Remove file.
20389         * scripts/bench.py: New benchmark script.
20390         * benchtests/Makefile ($(objpfx)bench-%.c): Use it.
20391         * benchtests/README: Mention python dependency.
20392         * scripts/pylintrc: New file.
20393         * scripts/pylint: New file.
20395         * bits/mathdef.h: Use #ifdef instead of #if.
20396         * sysdeps/arm/bits/mathdef.h [defined __USE_ISOC99 && defined
20397         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
20398         * sysdeps/tile/bits/mathdef.h [defined __USE_ISOC99 && defined
20399         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
20400         * sysdeps/x86/bits/mathdef.h [defined __USE_ISOC99 && defined
20401         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
20403 2014-03-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20404             Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
20406         * string/strpbrk.c (strpbrk): Using macro to redefine symbol name.
20407         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpbrk-power7
20408         and strpbrk-ppc64 objects.
20409         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
20410         (__libc_ifunc_impl_list): Add new strpbrk optimized symbols.
20411         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-power7.S: New file:
20412         multiarch strpbrk for POWER7.
20413         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: New file:
20414         multiarch strpbrk for PPC64.
20415         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: New file: strpbrk
20416         ifunc selector.
20417         * sysdeps/powerpc/powerpc64/power7/strpbrk.S: New file: optimited
20418         strpbrk for POWER7.
20420 2014-03-20  Joseph Myers  <joseph@codesourcery.com>
20422         * math/libm-test.inc (asinh_test): Use ALL_RM_TEST.
20423         (atan_test): Likewise.
20424         (atanh_test_data): Use NO_TEST_INLINE for two tests.
20425         (atanh_test): Use ALL_RM_TEST.
20426         (atan2_test_data): Likewise.
20427         (cabs_test): Likewise.
20428         (cacosh_test): Likewise.
20429         (carg_test): Likewise.
20430         (casin_test): Likewise.
20431         (casinh_test): Likewise.
20432         (cbrt_test): Likewise.
20433         (csqrt_test): Likewise.
20434         (erf_test): Likewise.
20435         (erfc_test): Likewise.
20436         (pow10_test): Likewise.
20437         (exp2_test): Likewise.
20438         (hypot_test): Likewise.
20439         (j0_test): Likewise.
20440         (j1_test): Likewise.
20441         (lgamma_test): Likewise.
20442         (gamma_test): Likewise.
20443         (sincos_test): Likewise.
20444         (tanh_test): Likewise.
20445         (y0_test): Likewise.
20446         (y1_test): Likewise.
20447         * sysdeps/i386/fpu/libm-test-ulps: Update.
20448         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20450 2014-03-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20452         * string/strcspn.c (strcspn): Using macro to redefine symbol name.
20453         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcspn-power7
20454         and strcspn-ppc64 objects.
20455         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
20456         (__libc_ifunc_impl_list): Add new strcspn optimized symbols.
20457         * sysdeps/powerpc/powerpc64/multiarch/strcspn-power7.S: New file:
20458         multiarch strcspn for POWER7.
20459         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: New file:
20460         multiarch strcspn for PPC64.
20461         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: New file: strcspn
20462         ifunc selector.
20463         * sysdeps/powerpc/powerpc64/power7/strcspn.S: New file: optimited
20464         strcspn for POWER7.
20466 2014-03-20  Joseph Myers  <joseph@codesourcery.com>
20468         * math/gen-libm-test.pl (generate_testfile): Expect only function
20469         name as argument to AUTO_TESTS_* and pass results for all rounding
20470         modes to parse_args.
20471         (parse_auto_input): Separate inputs of automatic tests from
20472         outputs before storing in %auto_tests.
20473         * math/libm-test.inc (acos_test_data): Update call to
20474         AUTO_TESTS_f_f.
20475         (acos_test): Use ALL_RM_TEST.
20476         (acos_tonearest_test_data): Remove.
20477         (acos_test_tonearest): Likewise.
20478         (acos_towardzero_test_data): Likewise.
20479         (acos_test_towardzero): Likewise.
20480         (acos_downward_test_data): Likewise.
20481         (acos_test_downward): Likewise.
20482         (acos_upward_test_data): Likewise.
20483         (acos_test_upward): Likewise.
20484         (acosh_test_data): Update call to AUTO_TESTS_f_f.
20485         (asin_test_data): Likewise.
20486         (asin_test): Use ALL_RM_TEST.
20487         (asin_tonearest_test_data): Remove.
20488         (asin_test_tonearest): Likewise.
20489         (asin_towardzero_test_data): Likewise.
20490         (asin_test_towardzero): Likewise.
20491         (asin_downward_test_data): Likewise.
20492         (asin_test_downward): Likewise.
20493         (asin_upward_test_data): Likewise.
20494         (asin_test_upward): Likewise.
20495         (asinh_test_data): Update call to AUTO_TESTS_f_f.
20496         (atan_test_data): Likewise.
20497         (atanh_test_data): Likewise.
20498         (atan2_test_data): Update call to AUTO_TESTS_ff_f.
20499         (cabs_test_data): Update call to AUTO_TESTS_c_f.
20500         (carg_test_data): Likewise.
20501         (cbrt_test_data): Update call to AUTO_TESTS_f_f.
20502         (ccos_test_data): Update call to AUTO_TESTS_c_c.
20503         (ccosh_test_data): Likewise.
20504         (cexp_test_data): Likewise.
20505         (clog_test_data): Likewise.
20506         (clog10_test_data): Likewise.
20507         (cos_test_data): Update call to AUTO_TESTS_f_f.
20508         (cos_test): Use ALL_RM_TEST.
20509         (cos_tonearest_test_data): Remove.
20510         (cos_test_tonearest): Likewise.
20511         (cos_towardzero_test_data): Likewise.
20512         (cos_test_towardzero): Likewise.
20513         (cos_downward_test_data): Likewise.
20514         (cos_test_downward): Likewise.
20515         (cos_upward_test_data): Likewise.
20516         (cos_test_upward): Likewise.
20517         (cosh_test_data): Update call to AUTO_TESTS_f_f.
20518         (cosh_test): Use ALL_RM_TEST.
20519         (cosh_tonearest_test_data): Remove.
20520         (cosh_test_tonearest): Likewise.
20521         (cosh_towardzero_test_data): Likewise.
20522         (cosh_test_towardzero): Likewise.
20523         (cosh_downward_test_data): Likewise.
20524         (cosh_test_downward): Likewise.
20525         (cosh_upward_test_data): Likewise.
20526         (cosh_test_upward): Likewise.
20527         (cpow_test_data): Update call to AUTO_TESTS_cc_c.
20528         (csqrt_test_data): Update call to AUTO_TESTS_c_c.
20529         (ctan_test_data): Likewise.
20530         (ctan_test): Use ALL_RM_TEST.
20531         (ctan_tonearest_test_data): Remove.
20532         (ctan_test_tonearest): Likewise.
20533         (ctan_towardzero_test_data): Likewise.
20534         (ctan_test_towardzero): Likewise.
20535         (ctan_downward_test_data): Likewise.
20536         (ctan_test_downward): Likewise.
20537         (ctan_upward_test_data): Likewise.
20538         (ctan_test_upward): Likewise.
20539         (ctanh_test_data): Update call to AUTO_TESTS_c_c.
20540         (ctanh_test): Use ALL_RM_TEST.
20541         (ctanh_tonearest_test_data): Remove.
20542         (ctanh_test_tonearest): Likewise.
20543         (ctanh_towardzero_test_data): Likewise.
20544         (ctanh_test_towardzero): Likewise.
20545         (ctanh_downward_test_data): Likewise.
20546         (ctanh_test_downward): Likewise.
20547         (ctanh_upward_test_data): Likewise.
20548         (ctanh_test_upward): Likewise.
20549         (erf_test_data): Update call to AUTO_TESTS_f_f.
20550         (erfc_test_data): Likewise.
20551         (exp_test_data): Likewise.
20552         (exp_test): Use ALL_RM_TEST.
20553         (exp_tonearest_test_data): Remove.
20554         (exp_test_tonearest): Likewise.
20555         (exp_towardzero_test_data): Likewise.
20556         (exp_test_towardzero): Likewise.
20557         (exp_downward_test_data): Likewise.
20558         (exp_test_downward): Likewise.
20559         (exp_upward_test_data): Likewise.
20560         (exp_test_upward): Likewise.
20561         (exp10_test_data): Update call to AUTO_TESTS_f_f.
20562         (exp10_test): Use ALL_RM_TEST.
20563         (exp10_tonearest_test_data): Remove.
20564         (exp10_test_tonearest): Likewise.
20565         (exp10_towardzero_test_data): Likewise.
20566         (exp10_test_towardzero): Likewise.
20567         (exp10_downward_test_data): Likewise.
20568         (exp10_test_downward): Likewise.
20569         (exp10_upward_test_data): Likewise.
20570         (exp10_test_upward): Likewise.
20571         (exp2_test_data): Update call to AUTO_TESTS_f_f.
20572         (expm1_test_data): Likewise.
20573         (expm1_test): Use ALL_RM_TEST.
20574         (expm1_tonearest_test_data): Remove.
20575         (expm1_test_tonearest): Likewise.
20576         (expm1_towardzero_test_data): Likewise.
20577         (expm1_test_towardzero): Likewise.
20578         (expm1_downward_test_data): Likewise.
20579         (expm1_test_downward): Likewise.
20580         (expm1_upward_test_data): Likewise.
20581         (expm1_test_upward): Likewise.
20582         (fma_test_data): Update call to AUTO_TESTS_fff_f.
20583         (fma_test): Use ALL_RM_TEST.
20584         (fma_towardzero_test_data): Remove.
20585         (fma_test_towardzero): Likewise.
20586         (fma_downward_test_data): Likewise.
20587         (fma_test_downward): Likewise.
20588         (fma_upward_test_data): Likewise.
20589         (fma_test_upward): Likewise.
20590         (hypot_test_data): Update call to AUTO_TESTS_ff_f.
20591         (j0_test_data): Update call to AUTO_TESTS_f_f.
20592         (j1_test_data): Likewise.
20593         (jn_test_data): Update call to AUTO_TESTS_if_f.
20594         (lgamma_test_data): Update call to AUTO_TESTS_f_f1.
20595         (log_test_data): Update call to AUTO_TESTS_f_f.
20596         (log10_test_data): Likewise.
20597         (log1p_test_data): Likewise.
20598         (log2_test_data): Likewise.
20599         (pow_test_data): Update call to AUTO_TESTS_ff_f.
20600         (pow_tonearest_test_data): Likewise.
20601         (sin_test_data): Update call to AUTO_TESTS_f_f.
20602         (sin_test): Use ALL_RM_TEST.
20603         (sin_tonearest_test_data): Remove.
20604         (sin_test_tonearest): Likewise.
20605         (sin_towardzero_test_data): Likewise.
20606         (sin_test_towardzero): Likewise.
20607         (sin_downward_test_data): Likewise.
20608         (sin_test_downward): Likewise.
20609         (sin_upward_test_data): Likewise.
20610         (sin_test_upward): Likewise.
20611         (sincos_test_data): Update call to AUTO_TESTS_fFF_11.
20612         (sinh_test_data): Update call to AUTO_TESTS_f_f.
20613         (sinh_test): Use ALL_RM_TEST.
20614         (sinh_tonearest_test_data): Remove.
20615         (sinh_test_tonearest): Likewise.
20616         (sinh_towardzero_test_data): Likewise.
20617         (sinh_test_towardzero): Likewise.
20618         (sinh_downward_test_data): Likewise.
20619         (sinh_test_downward): Likewise.
20620         (sinh_upward_test_data): Likewise.
20621         (sinh_test_upward): Likewise.
20622         (sqrt_test_data): Update call to AUTO_TESTS_f_f.
20623         (sqrt_test): Use ALL_RM_TEST.
20624         (sqrt_tonearest_test_data): Remove.
20625         (sqrt_test_tonearest): Likewise.
20626         (sqrt_towardzero_test_data): Likewise.
20627         (sqrt_test_towardzero): Likewise.
20628         (sqrt_downward_test_data): Likewise.
20629         (sqrt_test_downward): Likewise.
20630         (sqrt_upward_test_data): Likewise.
20631         (sqrt_test_upward): Likewise.
20632         (tan_test_data): Update call to AUTO_TESTS_f_f.
20633         (tan_test): Use ALL_RM_TEST.
20634         (tan_tonearest_test_data): Remove.
20635         (tan_test_tonearest): Likewise.
20636         (tan_towardzero_test_data): Likewise.
20637         (tan_test_towardzero): Likewise.
20638         (tan_downward_test_data): Likewise.
20639         (tan_test_downward): Likewise.
20640         (tan_upward_test_data): Likewise.
20641         (tan_test_upward): Likewise.
20642         (tanh_test_data): Update call to AUTO_TESTS_f_f.
20643         (tgamma_test_data): Likewise.
20644         (y0_test_data): Likewise.
20645         (y1_test_data): Likewise.
20646         (yn_test_data): Update call to AUTO_TESTS_if_f.
20647         (main): Do not call removed functions.
20649 2014-03-19  Joseph Myers  <joseph@codesourcery.com>
20651         * math/libm-test.inc (fdim_test): Use ALL_RM_TEST.
20652         (ldexp_test_data): Remove.
20653         (ldexp_test): Move to after scalbn_test.  Use ALL_RM_TEST with
20654         scalbn_test_data.
20655         (scalb_test): Use ALL_RM_TEST.
20657 2014-03-19  Andreas Schwab  <schwab@suse.de>
20659         * nscd/nscd.service: Also invalidate netgroup cache on reload.
20661 2014-03-19  Joseph Myers  <joseph@codesourcery.com>
20663         [BZ #16649]
20664         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
20665         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PREADV): Undefine.
20666         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PWRITEV): Likewise.
20667         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
20668         (__ASSUME_PREADV): Undefine.
20669         (__ASSUME_PWRITEV): Likewise.
20671 2014-03-18  Roland McGrath  <roland@hack.frob.com>
20673         * bits/mman-linux.h: Add comment about non-Linux use.
20674         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add comment about
20675         bits/mman-linux.h resting place.
20677         * sysdeps/unix/sysv/linux/bits/mman-linux.h: Moved to ...
20678         * bits/mman-linux.h: ... here.
20680 2014-03-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20682         * conform/conformtest.pl: Add standard definition when calling C
20683         preprocessor on data files.
20684         (checknamespace): Remove unused variable.
20686 2014-03-18  Joseph Myers  <joseph@codesourcery.com>
20688         * math/gen-libm-test.pl (parse_args): Handle plus_oflow,
20689         minus_oflow, plus_uflow and minus_uflow in expected results.
20690         * math/libm-test.inc (scalbn_test_data): Add more tests of
20691         negative arguments.  Use plus_oflow, minus_oflow, plus_uflow and
20692         minus_uflow.
20693         (scalbn_test): Use ALL_RM_TEST.
20694         (scalbln_test_data): Add more tests of negative arguments.  Use
20695         plus_oflow, minus_oflow, plus_uflow and minus_uflow.
20696         (scalbln_test): Use ALL_RM_TEST.
20698 2014-03-18  Roland McGrath  <roland@hack.frob.com>
20700         * scripts/abilist.awk: Ignore symbols marked with .hidden.
20702 2014-03-18  Will Newton  <will.newton@linaro.org>
20704         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Remove
20705         inaccurate comment.
20707 2014-03-18  Joseph Myers  <joseph@codesourcery.com>
20709         * Makerules [!subdir] (check-abi): Exit with error status if a
20710         test failed.
20712 2014-03-17  Joseph Myers  <joseph@codesourcery.com>
20714         * math/libm-test.inc (nearbyint_test_data): Include all tests used
20715         for rint.  Include results for all rounding modes.
20716         (nearbyint_test): Use ALL_RM_TEST.
20717         (rint_test_data): Include all tests used for nearbyint.
20719 2014-03-17  Will Newton  <will.newton@linaro.org>
20721         * nptl/sysdeps/pthread/pthread.h: Revert previous
20722         change.
20724         * sysdeps/generic/ldsodefs.h: Revert previous
20725         change.
20727         * libio/genops.c: Revert previous change.
20728         * libio/libioP.h: Likewise.
20729         * stdio-common/vfprintf.c: Likewise.
20731         * sysdeps/generic/math_private.h: Revert previous
20732         change.
20734         * sysdeps/generic/math_private.h: Check whether
20735         HAVE_RM_CTX is defined with #ifdef rather
20736         than #if.
20738         * argp/argp-fmtstream.h: Check whether
20739         __STRICT_ANSI__ is defined with #ifdef rather
20740         than #if.
20741         * argp/argp.h: Likewise.
20743         * libio/genops.c: Check whether
20744         _IO_JUMPS_OFFSET is defined with #ifdef rather
20745         than #if.
20746         * libio/libioP.h: Likewise.
20747         * stdio-common/vfprintf.c: Likewise.
20749         * sysdeps/generic/ldsodefs.h: Check whether
20750         HP_SMALL_TIMING_AVAIL is defined with #ifdef rather
20751         than #if.
20753         * nptl/sysdeps/pthread/pthread.h: Check
20754         __PTHREAD_MUTEX_HAVE_ELISION is defined before testing
20755         its value.
20757 2014-03-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
20759         * libio/iofdopen.c (_IO_new_fdopen): Seek to end only if
20760         setting O_APPEND.
20761         * libio/tst-ftell-active-handler.c (do_append_test): Add a
20762         test case.
20764         [BZ #16680]
20765         * libio/fileops.c (_IO_file_open): Seek to end of file but
20766         don't cache the offset.
20767         (get_file_offset): Remove function.
20768         (do_ftell): Use cached offset when available.
20769         * libio/iofdopen.c (_IO_new_fdopen): Seek to end of file but
20770         don't cache the offset.
20771         * libio/tst-ftell-active-handler.c (do_rewind_test): New test
20772         case.
20773         (do_one_test): Call it.
20774         (do_ftell_test): Fix up expected old offset for a+ mode.
20775         * libio/wfileops.c (do_ftell_wide): Used cached offset when
20776         available.
20778         * libio/tst-ftell-active-handler.c (do_ftell_test): Don't mix
20779         up test status with function return status.
20780         (do_write_test): Likewise.
20781         (do_append_test): Likewise.
20783         * nptl/sysdeps/pthread/bits/libc-lockP.h [defined NOT_IN_libc
20784         && !defined IS_IN_libpthread && __LT_SPINNOCK_INIT != 0]:
20785         Remove.
20787 2014-03-17  Joseph Myers  <joseph@codesourcery.com>
20789         * math/gen-libm-test.pl (parse_args): Handle results specified for
20790         each rounding mode separately.
20791         * math/libm-test.inc (lrint_test_data): Merge in per-rounding-mode
20792         tests and results from lrint_tonearest_test_data,
20793         lrint_towardzero_test_data, lrint_downward_test_data and
20794         lrint_upward_test_data.
20795         (lrint_test): Use ALL_RM_TEST.
20796         (lrint_tonearest_test_data): Remove.
20797         (lrint_test_tonearest): Likewise.
20798         (lrint_towardzero_test_data): Likewise.
20799         (lrint_test_towardzero): Likewise.
20800         (lrint_downward_test_data): Likewise.
20801         (lrint_test_downward): Likewise.
20802         (lrint_upward_test_data): Likewise.
20803         (lrint_test_upward): Likewise.
20804         (llrint_test_data): Merge in per-rounding-mode tests and results
20805         from llrint_tonearest_test_data, llrint_towardzero_test_data,
20806         llrint_downward_test_data and llrint_upward_test_data.
20807         (llrint_test): Use ALL_RM_TEST.
20808         (llrint_tonearest_test_data): Remove.
20809         (llrint_test_tonearest): Likewise.
20810         (llrint_towardzero_test_data): Likewise.
20811         (llrint_test_towardzero): Likewise.
20812         (llrint_downward_test_data): Likewise.
20813         (llrint_test_downward): Likewise.
20814         (llrint_upward_test_data): Likewise.
20815         (llrint_test_upward): Likewise.
20816         (rint_test_data): Merge in per-rounding-mode tests and results
20817         from rint_tonearest_test_data, rint_towardzero_test_data,
20818         rint_downward_test_data and rint_upward_test_data.  Add
20819         per-rounding-mode results for tests not in those arrays.
20820         (rint_test): Use ALL_RM_TEST.
20821         (rint_tonearest_test_data): Remove.
20822         (rint_test_tonearest): Likewise.
20823         (rint_towardzero_test_data): Likewise.
20824         (rint_test_towardzero): Likewise.
20825         (rint_downward_test_data): Likewise.
20826         (rint_test_downward): Likewise.
20827         (rint_upward_test_data): Likewise.
20828         (rint_test_upward): Likewise.
20829         (main): Don't call removed functions.
20831 2014-03-14  Roland McGrath  <roland@hack.frob.com>
20833         * csu/Makefile ($(objpfx)version-info.h): Remove linux-specific
20834         "Compiled on ..." crapola.  It is anti-useful.
20836 2014-03-14  Joseph Myers  <joseph@codesourcery.com>
20838         * scripts/evaluate-test.sh: Handle fourth argument to determine
20839         whether test run should stop on failure.
20840         * Makeconfig (stop-on-test-failure): New variable.
20841         (evaluate-test): Pass fourth argument to evaluate-test.sh based on
20842         $(stop-on-test-failure).
20843         * Makefile (tests): Give a summary of results from testing and
20844         exit with failure status if they include an ERROR or FAIL.
20845         (xtests): Likewise.
20846         * manual/install.texi (Configuring and compiling): Mention
20847         stop-on-test-failure=y.
20848         * INSTALL: Regenerated.
20850 2014-03-14  Roland McGrath  <roland@hack.frob.com>
20852         * scripts/versionlist.awk: New file.
20853         * Makerules [$(build-shared) = yes]
20854         (postclean-generated): Add Versions.def, not Versions.def.v and
20855         Versions.def.v.i.
20856         ($(common-objpfx)Versions.def.v.i): Target removed.
20857         ($(common-objpfx)Versions.def): New target.
20858         ($(common-objpfx)Versions.all): Depend on that rather that
20859         $(common-objpfx)Versions.def.v.
20860         * Versions.def: File removed.
20862         * Makeconfig (+gccwarn): Add -Wundef.
20863         * include/errno.h [IS_IN_rtld] [!RTLD_PRIVATE_ERRNO]: #error to catch
20864         a dl-sysdep.h breaking its contract.
20865         [!IS_IN_rtld] (RTLD_PRIVATE_ERRNO): Define it to 0.
20866         * include/stackinfo.h: New file.
20867         * nptl/sysdeps/i386/tls.h (TLS_DTV_AT_TP): New macro.
20868         * nptl/sysdeps/powerpc/tls.h (TLS_TCB_AT_TP): New macro.
20869         * nptl/sysdeps/s390/tls.h (TLS_DTV_AT_TP): New macro.
20870         * nptl/sysdeps/sh/tls.h (TLS_TCB_AT_TP): New macro.
20871         * nptl/sysdeps/sparc/tls.h (TLS_DTV_AT_TP): New macro.
20872         * nptl/sysdeps/x86_64/tls.h (TLS_DTV_AT_TP): New macro.
20873         * sysdeps/aarch64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
20874         * sysdeps/alpha/nptl/tls.h (TLS_TCB_AT_TP): New macro.
20875         * sysdeps/arm/nptl/tls.h (TLS_TCB_AT_TP): New macro.
20876         * sysdeps/ia64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
20877         * sysdeps/m68k/nptl/tls.h (TLS_TCB_AT_TP): New macro.
20878         * sysdeps/mach/hurd/i386/tls.h (TLS_DTV_AT_TP): New macro.
20879         * sysdeps/microblaze/nptl/tls.h (TLS_TCB_AT_TP): New macro.
20880         * sysdeps/mips/nptl/tls.h (TLS_TCB_AT_TP): New macro.
20881         * sysdeps/tile/nptl/tls.h (TLS_TCB_AT_TP): New macro.
20883 2014-03-14  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20885         [BZ #16707]
20886         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Remove wrong
20887         implementation.
20888         * math/libm-test.inc (round_test_data): Add more tests.
20890         [BZ #16706]
20891         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Remove wrong
20892         implementation.
20893         * math/libm-test.inc (nearbyint_test_data): Add more tests.
20895         [BZ #16701]
20896         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Remove wrong
20897         implementation.
20898         * math/libm-test.inc (ceil_test_data): Add more tests.
20900         * math/libm-test.inc (trunc_test_data): Add more tests related to
20901         BZ#16414.
20903 2014-03-14  Roland McGrath  <roland@hack.frob.com>
20905         * nptl/pthread_create.c (__pthread_create_2_1): Test TLS_TCB_AT_TP
20906         with #if rather than #ifdef.
20907         * nptl/sysdeps/pthread/createthread.c (create_thread): Likewise.
20909 2014-03-14  H.J. Lu  <hongjiu.lu@intel.com>
20911         * sysdeps/x86_64/configure.ac: Check AVX-512 assembler support
20912         first.  Disable AVX-512 GCC support if assembler doesn't support
20913         it.
20914         * sysdeps/x86_64/configure: Regenerated.
20916 2014-03-13  Carlos O'Donell  <carlos@redhat.com>
20918         * nptl/pthread_attr_setstack.c (__pthread_attr_setstack)
20919         [!_STACK_GROWS_DOWN]: Don't add stacksize to stackaddr.
20920         (__old_pthread_attr_setstack): Likewise.
20921         * nptl/pthread_attr_getstack.c (__pthread_attr_getstack)
20922         [!_STACK_GROWS_DOWN]: Likewise.
20924 2014-03-13  Mike Frysinger  <vapier@gentoo.org>
20926         * config.make.in (have-bash2): Delete.
20927         * configure.ac (libc_cv_have_bash2): Delete.
20928         * configure: Regenerate.
20929         * elf/Makefile (common-ldd-rewrite): Rename to ...
20930         (ldd-rewrite): ... this.  Move bash-ldd-rewrite content to end.
20931         (sh-ldd-rewrite): Delete.
20932         (bash-ldd-rewrite): Delete.
20933         (have-bash2): Delete checks.
20934         [ldd-rewrite-script]: Change $(ldd-shell)-ldd-rewrite to
20935         ldd-rewrite.
20937         * config.make.in (have-ksh): Delete.
20938         (KSH): Delete.
20939         * configure.ac (libc_cv_have_ksh): Delete.
20940         * configure: Regenerate.
20942         * elf/Makefile: Delete $(have-ksh) check.
20943         ($(objpfx)sotruss): Change KSH to BASH.
20944         * elf/sotruss.ksh: Rename to ...
20945         * elf/sotruss.sh: ... this.  Change @KSH@ to @BASH@.  Change
20946         function style to match POSIX.  Drop ksh vim mode setting.
20948         * manual/time.texi (Specifying the Time Zone with TZ): Change
20949         Tuesday to Thursday.
20951         * debug/tst-longjmp_chk2.c: Update header comment.
20952         (stackoverflow_handler): Add comment.  Call assert on pass value.
20954 2014-03-13  Igor Zamyatin  <igor.zamyatin@intel.com>
20956         [BZ #16194]
20957         * config.h.in (HAVE_AVX512_SUPPORT): New #undef.
20958         (HAVE_AVX512_ASM_SUPPORT): Likewise.
20959         * sysdeps/x86_64/bits/link.h (La_x86_64_zmm): New.
20960         (La_x86_64_vector): Add zmm.
20961         * sysdeps/x86_64/Makefile (tests): Add tst-audit10.
20962         (modules-names): Add tst-auditmod10a and tst-auditmod10b.
20963         ($(objpfx)tst-audit10): New target.
20964         ($(objpfx)tst-audit10.out): Likewise.
20965         (tst-audit10-ENV): New.
20966         (AVX512-CFLAGS): Likewise.
20967         (CFLAGS-tst-audit10.c): Likewise.
20968         (CFLAGS-tst-auditmod10a.c): Likewise.
20969         (CFLAGS-tst-auditmod10b.c): Likewise.
20970         * sysdeps/x86_64/configure.ac: Set config-cflags-avx512,
20971         HAVE_AVX512_SUPPORT and HAVE_AVX512_ASM_SUPPORT.
20972         * sysdeps/x86_64/configure: Regenerated.
20973         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Add
20974         AVX-512 zmm register support.
20975         (_dl_x86_64_save_sse): Likewise.
20976         (_dl_x86_64_restore_sse): Likewise.
20977         * sysdeps/x86_64/dl-trampoline.h: Updated to support different
20978         size vector registers.
20979         * sysdeps/x86_64/link-defines.sym (YMM_SIZE): New.
20980         (ZMM_SIZE): Likewise.
20981         * sysdeps/x86_64/tst-audit10.c: New file.
20982         * sysdeps/x86_64/tst-auditmod10a.c: Likewise.
20983         * sysdeps/x86_64/tst-auditmod10b.c: Likewise.
20985 2014-03-13  Roland McGrath  <roland@hack.frob.com>
20987         * configure.ac (HAVE_EHDR_START): New check.
20988         * configure: Regenerated.
20989         * config.h.in (HAVE_EHDR_START): New #undef.
20990         * elf/rtld.c (dl_main) [HAVE_EHDR_START]: Use __ehdr_start rather than
20991         assuming the lowest-addressed segment maps the start of the file.
20993 2014-03-13  Joseph Myers  <joseph@codesourcery.com>
20995         * INSTALL: Regenerated.
20997 2014-03-13  Will Newton  <will.newton@linaro.org>
20999         * manual/setjmp.texi (System V contexts): Improve
21000         clarity and grammar of documentation.
21002 2014-03-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
21004         [BZ #16381]
21005         * elf/Makefile (tests): Add tst-pie2.
21006         (tests-pie): Add tst-pie2.
21007         * elf/tst-pie2.c: New file.
21008         * elf/dl-load.c (_dl_map_object_from_fd): Assert correct l_type
21009         for ET_EXEC.
21010         * elf/rtld.c (map_doit): Load executable as lt_executable.
21011         (dl_main): Likewise.
21013 2014-03-12  Joseph Myers  <joseph@codesourcery.com>
21015         [BZ #16642]
21016         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
21017         (__ASSUME_PSELECT): Undefine.
21019 2014-03-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21021         [BZ #16689]
21022         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S
21023         (__bzero_ppc): Call memset@local instead of __memset_ppc@local for
21024         static build.
21025         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Build IFUNC
21026         selector for static builds.
21028 2014-03-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
21030         [BZ #16695]
21031         * nscd/netgroupcache.c (addgetnetgrentX): Factor in space for
21032         key in the buffer.
21034 2014-03-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21036         * sysdeps/powerpc/powerpc64/multiarch/strspn.c (strspn): Build
21037         IFUNC selector for static builds.
21039 2014-03-11  Joseph Myers  <joseph@codesourcery.com>
21041         * sysdeps/mips/math_private.h [__mips_hard_float]
21042         (libc_feresetround_ctx): Define to libc_feupdateenv_mips_ctx not
21043         libc_feresetround_mips_ctx.
21044         [__mips_hard_float] (libc_feresetroundf_ctx): Likewise.
21045         [__mips_hard_float] (libc_feresetroundl_ctx): Likewise.
21046         [__mips_hard_float] (libc_feresetround_mips_ctx): Remove.
21048         [BZ #16677]
21049         * math/s_nextafter.c (__nextafter): Do not return value from
21050         overflowing computation.
21051         * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
21052         * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise.
21053         * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
21054         Likewise.
21055         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
21056         Likewise.
21057         * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
21058         * math/libm-test.inc (nextafter_test): Use ALL_RM_TEST.
21060 2014-03-11  Roland McGrath  <roland@hack.frob.com>
21062         * sysdeps/arm/setjmp.S: Use sfi_breg on stores of mangled registers.
21063         * sysdeps/arm/__longjmp.S: Use sfi_breg on loads of mangled registers.
21064         Move sfi_sp use from the load-multiple (that no longer sets sp) to
21065         the new mov targetting sp.
21067 2014-03-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21069         [BZ #16683]
21070         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S (__bzero_ppc):
21071         Define it for static builds as well.
21072         (NO_BZERO_IMPL): Likewise.
21074 2014-03-11  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
21076         * sysdeps/powerpc/powerpc64/power7/strspn.S: New file: Optimization.
21077         * sysdeps/powerpc/powerpc64/multiarch/strspn.c: New file:
21078         multiarch strspn for PPC64.
21079         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: New file
21080         * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: New file
21081         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
21082         (__libc_ifunc_impl_list): Likewise.
21083         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strspn
21084         multiarch optimizations
21085         * string/strspn.c (strspn): Using macro to redefine symbol name.
21087 2014-03-10  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
21088             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21090         * sysdeps/powerpc/powerpc64/power7/strncat.S: New file: Optimization.
21091         * sysdeps/powerpc/powerpc64/multiarch/strncat.c: New file:
21092         multiarch strncat for PPC64.
21093         * sysdeps/powerpc/powerpc64/multiarch/strncat-ppc64.c: New file
21094         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: New file
21095         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
21096         (__libc_ifunc_impl_list): Likewise.
21097         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncat
21098         multiarch optimizations
21100 2014-03-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
21102         [BZ #16639]
21103         * nscd/nscd.service: Make service type forking.
21105 2014-03-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21107         * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Fix to return correct
21108         sign in non default rounding modes.
21109         * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
21111 2014-03-08  Joseph Myers  <joseph@codesourcery.com>
21113         * math/libm-test.inc (ALL_RM_TEST): New macro.
21114         (ceil_test): Use ALL_RM_TEST.
21115         (cimag_test): Likewise.
21116         (conj_test): Likewise.
21117         (copysign_test): Likewise.
21118         (cproj_test): Likewise.
21119         (creal_test): Likewise.
21120         (fabs_test): Likewise.
21121         (floor_test): Likewise.
21122         (fmax_test): Likewise.
21123         (fmin_test): Likewise.
21124         (fmod_test): Likewise.
21125         (fpclassify_test): Likewise.
21126         (frexp_test): Likewise.
21127         (ilogb_test): Likewise.
21128         (isfinite_test): Likewise.
21129         (finite_test): Likewise.
21130         (isgreater_test): Likewise.
21131         (isgreaterequal_test): Likewise.
21132         (isinf_test): Likewise.
21133         (isless_test): Likewise.
21134         (islessequal_test): Likewise.
21135         (islessgreater_test): Likewise.
21136         (isnan_test): Likewise.
21137         (isnormal_test): Likewise.
21138         (issignaling_test): Likewise.
21139         (isunordered_test): Likewise.
21140         (logb_test): Likewise.
21141         (logb_downward_test_data): Remove.
21142         (logb_test_downward): Likewise.
21143         (lround_test): Use ALL_RM_TEST.
21144         (llround_test): Likewise.
21145         (modf_test): Likewise.
21146         (nexttoward_test): Likewise.
21147         (remainder_test): Likewise.
21148         (drem_test): Likewise.
21149         (remainder_tonearest_test_data): Likewise.
21150         (remainder_test_tonearest): Likewise.
21151         (drem_test_tonearest): Likewise.
21152         (remainder_towardzero_test_data): Likewise.
21153         (remainder_test_towardzero): Likewise.
21154         (drem_test_towardzero): Likewise.
21155         (remainder_downward_test_data): Likewise.
21156         (remainder_test_downward): Likewise.
21157         (drem_test_downward): Likewise.
21158         (remainder_upward_test_data): Likewise.
21159         (remainder_test_upward): Likewise.
21160         (drem_test_upward): Likewise.
21161         (remquo_test): Use ALL_RM_TEST.  Remove comment about x.
21162         (round_test): Use ALL_RM_TEST.
21163         (signbit_test): Likewise.
21164         (trunc_test): Likewise.
21165         (significand_test): Likewise.
21166         (main): Don't call removed functions.
21168 2014-03-07  Joseph Myers  <joseph@codesourcery.com>
21170         [BZ #16674]
21171         * bits/siginfo.h (ILL_ILLOPC): Condition on [__USE_XOPEN_EXTENDED
21172         || __USE_XOPEN2K8].
21173         (ILL_ILLOPN): Likewise.
21174         (ILL_ILLADR): Likewise.
21175         (ILL_ILLTRP): Likewise.
21176         (ILL_PRVOPC): Likewise.
21177         (ILL_PRVREG): Likewise.
21178         (ILL_COPROC): Likewise.
21179         (ILL_BADSTK): Likewise.
21180         (FPE_INTDIV): Likewise.
21181         (FPE_INTOVF): Likewise.
21182         (FPE_FLTDIV): Likewise.
21183         (FPE_FLTOVF): Likewise.
21184         (FPE_FLTUND): Likewise.
21185         (FPE_FLTRES): Likewise.
21186         (FPE_FLTINV): Likewise.
21187         (FPE_FLTSUB): Likewise.
21188         (SEGV_MAPERR): Likewise.
21189         (SEGV_ACCERR): Likewise.
21190         (BUS_ADRALN): Likewise.
21191         (BUS_ADRERR): Likewise.
21192         (BUS_OBJERR): Likewise.
21193         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
21194         (TRAP_TRACE): Likewise.
21195         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
21196         __USE_XOPEN2K8].
21197         (CLD_KILLED): Likewise.
21198         (CLD_DUMPED): Likewise.
21199         (CLD_TRAPPED): Likewise.
21200         (CLD_STOPPED): Likewise.
21201         (CLD_CONTINUED): Likewise.
21202         (POLL_IN): Likewise.
21203         (POLL_OUT): Likewise.
21204         (POLL_MSG): Likewise.
21205         (POLL_ERR): Likewise.
21206         (POLL_PRI): Likewise.
21207         (POLL_HUP): Likewise.
21208         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h (ILL_ILLOPC):
21209         Likewise.
21210         (ILL_ILLOPN): Likewise.
21211         (ILL_ILLADR): Likewise.
21212         (ILL_ILLTRP): Likewise.
21213         (ILL_PRVOPC): Likewise.
21214         (ILL_PRVREG): Likewise.
21215         (ILL_COPROC): Likewise.
21216         (ILL_BADSTK): Likewise.
21217         (FPE_INTDIV): Likewise.
21218         (FPE_INTOVF): Likewise.
21219         (FPE_FLTDIV): Likewise.
21220         (FPE_FLTOVF): Likewise.
21221         (FPE_FLTUND): Likewise.
21222         (FPE_FLTRES): Likewise.
21223         (FPE_FLTINV): Likewise.
21224         (FPE_FLTSUB): Likewise.
21225         (SEGV_MAPERR): Likewise.
21226         (SEGV_ACCERR): Likewise.
21227         (BUS_ADRALN): Likewise.
21228         (BUS_ADRERR): Likewise.
21229         (BUS_OBJERR): Likewise.
21230         (BUS_MCEERR_AR): Likewise.
21231         (BUS_MCEERR_AO): Likewise.
21232         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
21233         (TRAP_TRACE): Likewise.
21234         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
21235         __USE_XOPEN2K8].
21236         (CLD_KILLED): Likewise.
21237         (CLD_DUMPED): Likewise.
21238         (CLD_TRAPPED): Likewise.
21239         (CLD_STOPPED): Likewise.
21240         (CLD_CONTINUED): Likewise.
21241         (POLL_IN): Likewise.
21242         (POLL_OUT): Likewise.
21243         (POLL_MSG): Likewise.
21244         (POLL_ERR): Likewise.
21245         (POLL_PRI): Likewise.
21246         (POLL_HUP): Likewise.
21247         * sysdeps/unix/sysv/linux/bits/siginfo.h (ILL_ILLOPC): Likewise.
21248         (ILL_ILLOPN): Likewise.
21249         (ILL_ILLADR): Likewise.
21250         (ILL_ILLTRP): Likewise.
21251         (ILL_PRVOPC): Likewise.
21252         (ILL_PRVREG): Likewise.
21253         (ILL_COPROC): Likewise.
21254         (ILL_BADSTK): Likewise.
21255         (FPE_INTDIV): Likewise.
21256         (FPE_INTOVF): Likewise.
21257         (FPE_FLTDIV): Likewise.
21258         (FPE_FLTOVF): Likewise.
21259         (FPE_FLTUND): Likewise.
21260         (FPE_FLTRES): Likewise.
21261         (FPE_FLTINV): Likewise.
21262         (FPE_FLTSUB): Likewise.
21263         (SEGV_MAPERR): Likewise.
21264         (SEGV_ACCERR): Likewise.
21265         (BUS_ADRALN): Likewise.
21266         (BUS_ADRERR): Likewise.
21267         (BUS_OBJERR): Likewise.
21268         (BUS_MCEERR_AR): Likewise.
21269         (BUS_MCEERR_AO): Likewise.
21270         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
21271         (TRAP_TRACE): Likewise.
21272         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
21273         __USE_XOPEN2K8].
21274         (CLD_KILLED): Likewise.
21275         (CLD_DUMPED): Likewise.
21276         (CLD_TRAPPED): Likewise.
21277         (CLD_STOPPED): Likewise.
21278         (CLD_CONTINUED): Likewise.
21279         (POLL_IN): Likewise.
21280         (POLL_OUT): Likewise.
21281         (POLL_MSG): Likewise.
21282         (POLL_ERR): Likewise.
21283         (POLL_PRI): Likewise.
21284         (POLL_HUP): Likewise.
21285         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (ILL_ILLOPC):
21286         Likewise.
21287         (ILL_ILLOPN): Likewise.
21288         (ILL_ILLADR): Likewise.
21289         (ILL_ILLTRP): Likewise.
21290         (ILL_PRVOPC): Likewise.
21291         (ILL_PRVREG): Likewise.
21292         (ILL_COPROC): Likewise.
21293         (ILL_BADSTK): Likewise.
21294         (ILL_BADIADDR): Likewise.
21295         (ILL_BREAK): Likewise.
21296         (FPE_INTDIV): Likewise.
21297         (FPE_INTOVF): Likewise.
21298         (FPE_FLTDIV): Likewise.
21299         (FPE_FLTOVF): Likewise.
21300         (FPE_FLTUND): Likewise.
21301         (FPE_FLTRES): Likewise.
21302         (FPE_FLTINV): Likewise.
21303         (FPE_FLTSUB): Likewise.
21304         (FPE_DECOVF): Likewise.
21305         (FPE_DECDIV): Likewise.
21306         (FPE_DECERR): Likewise.
21307         (FPE_INVASC): Likewise.
21308         (FPE_INVDEC): Likewise.
21309         (SEGV_MAPERR): Likewise.
21310         (SEGV_ACCERR): Likewise.
21311         (SEGV_PSTKOVF): Likewise.
21312         (BUS_ADRALN): Likewise.
21313         (BUS_ADRERR): Likewise.
21314         (BUS_OBJERR): Likewise.
21315         (BUS_MCEERR_AR): Likewise.
21316         (BUS_MCEERR_AO): Likewise.
21317         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
21318         (TRAP_TRACE): Likewise.
21319         (TRAP_BRANCH): Likewise.
21320         (TRAP_HWBKPT): Likewise.
21321         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
21322         __USE_XOPEN2K8].
21323         (CLD_KILLED): Likewise.
21324         (CLD_DUMPED): Likewise.
21325         (CLD_TRAPPED): Likewise.
21326         (CLD_STOPPED): Likewise.
21327         (CLD_CONTINUED): Likewise.
21328         (POLL_IN): Likewise.
21329         (POLL_OUT): Likewise.
21330         (POLL_MSG): Likewise.
21331         (POLL_ERR): Likewise.
21332         (POLL_PRI): Likewise.
21333         (POLL_HUP): Likewise.
21334         * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (ILL_ILLOPC): Likewise.
21335         (ILL_ILLOPN): Likewise.
21336         (ILL_ILLADR): Likewise.
21337         (ILL_ILLTRP): Likewise.
21338         (ILL_PRVOPC): Likewise.
21339         (ILL_PRVREG): Likewise.
21340         (ILL_COPROC): Likewise.
21341         (ILL_BADSTK): Likewise.
21342         (FPE_INTDIV): Likewise.
21343         (FPE_INTOVF): Likewise.
21344         (FPE_FLTDIV): Likewise.
21345         (FPE_FLTOVF): Likewise.
21346         (FPE_FLTUND): Likewise.
21347         (FPE_FLTRES): Likewise.
21348         (FPE_FLTINV): Likewise.
21349         (FPE_FLTSUB): Likewise.
21350         (SEGV_MAPERR): Likewise.
21351         (SEGV_ACCERR): Likewise.
21352         (BUS_ADRALN): Likewise.
21353         (BUS_ADRERR): Likewise.
21354         (BUS_OBJERR): Likewise.
21355         (BUS_MCEERR_AR): Likewise.
21356         (BUS_MCEERR_AO): Likewise.
21357         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
21358         (TRAP_TRACE): Likewise.
21359         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
21360         __USE_XOPEN2K8].
21361         (CLD_KILLED): Likewise.
21362         (CLD_DUMPED): Likewise.
21363         (CLD_TRAPPED): Likewise.
21364         (CLD_STOPPED): Likewise.
21365         (CLD_CONTINUED): Likewise.
21366         (POLL_IN): Likewise.
21367         (POLL_OUT): Likewise.
21368         (POLL_MSG): Likewise.
21369         (POLL_ERR): Likewise.
21370         (POLL_PRI): Likewise.
21371         (POLL_HUP): Likewise.
21372         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (ILL_ILLOPC): Likewise.
21373         (ILL_ILLOPN): Likewise.
21374         (ILL_ILLADR): Likewise.
21375         (ILL_ILLTRP): Likewise.
21376         (ILL_PRVOPC): Likewise.
21377         (ILL_PRVREG): Likewise.
21378         (ILL_COPROC): Likewise.
21379         (ILL_BADSTK): Likewise.
21380         (FPE_INTDIV): Likewise.
21381         (FPE_INTOVF): Likewise.
21382         (FPE_FLTDIV): Likewise.
21383         (FPE_FLTOVF): Likewise.
21384         (FPE_FLTUND): Likewise.
21385         (FPE_FLTRES): Likewise.
21386         (FPE_FLTINV): Likewise.
21387         (FPE_FLTSUB): Likewise.
21388         (SEGV_MAPERR): Likewise.
21389         (SEGV_ACCERR): Likewise.
21390         (BUS_ADRALN): Likewise.
21391         (BUS_ADRERR): Likewise.
21392         (BUS_OBJERR): Likewise.
21393         (BUS_MCEERR_AR): Likewise.
21394         (BUS_MCEERR_AO): Likewise.
21395         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
21396         (TRAP_TRACE): Likewise.
21397         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
21398         __USE_XOPEN2K8].
21399         (CLD_KILLED): Likewise.
21400         (CLD_DUMPED): Likewise.
21401         (CLD_TRAPPED): Likewise.
21402         (CLD_STOPPED): Likewise.
21403         (CLD_CONTINUED): Likewise.
21404         (POLL_IN): Likewise.
21405         (POLL_OUT): Likewise.
21406         (POLL_MSG): Likewise.
21407         (POLL_ERR): Likewise.
21408         (POLL_PRI): Likewise.
21409         (POLL_HUP): Likewise.
21410         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (ILL_ILLOPC): Likewise.
21411         (ILL_ILLOPN): Likewise.
21412         (ILL_ILLADR): Likewise.
21413         (ILL_ILLTRP): Likewise.
21414         (ILL_PRVOPC): Likewise.
21415         (ILL_PRVREG): Likewise.
21416         (ILL_COPROC): Likewise.
21417         (ILL_BADSTK): Likewise.
21418         (FPE_INTDIV): Likewise.
21419         (FPE_INTOVF): Likewise.
21420         (FPE_FLTDIV): Likewise.
21421         (FPE_FLTOVF): Likewise.
21422         (FPE_FLTUND): Likewise.
21423         (FPE_FLTRES): Likewise.
21424         (FPE_FLTINV): Likewise.
21425         (FPE_FLTSUB): Likewise.
21426         (SEGV_MAPERR): Likewise.
21427         (SEGV_ACCERR): Likewise.
21428         (BUS_ADRALN): Likewise.
21429         (BUS_ADRERR): Likewise.
21430         (BUS_OBJERR): Likewise.
21431         (BUS_MCEERR_AR): Likewise.
21432         (BUS_MCEERR_AO): Likewise.
21433         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
21434         (TRAP_TRACE): Likewise.
21435         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
21436         __USE_XOPEN2K8].
21437         (CLD_KILLED): Likewise.
21438         (CLD_DUMPED): Likewise.
21439         (CLD_TRAPPED): Likewise.
21440         (CLD_STOPPED): Likewise.
21441         (CLD_CONTINUED): Likewise.
21442         (POLL_IN): Likewise.
21443         (POLL_OUT): Likewise.
21444         (POLL_MSG): Likewise.
21445         (POLL_ERR): Likewise.
21446         (POLL_PRI): Likewise.
21447         (POLL_HUP): Likewise.
21448         * sysdeps/unix/sysv/linux/tile/bits/siginfo.h (ILL_ILLOPC): Likewise.
21449         (ILL_ILLOPN): Likewise.
21450         (ILL_ILLADR): Likewise.
21451         (ILL_ILLTRP): Likewise.
21452         (ILL_PRVOPC): Likewise.
21453         (ILL_PRVREG): Likewise.
21454         (ILL_COPROC): Likewise.
21455         (ILL_BADSTK): Likewise.
21456         (ILL_DBLFLT): Likewise.
21457         (ILL_HARDWALL): Likewise.
21458         (FPE_INTDIV): Likewise.
21459         (FPE_INTOVF): Likewise.
21460         (FPE_FLTDIV): Likewise.
21461         (FPE_FLTOVF): Likewise.
21462         (FPE_FLTUND): Likewise.
21463         (FPE_FLTRES): Likewise.
21464         (FPE_FLTINV): Likewise.
21465         (FPE_FLTSUB): Likewise.
21466         (SEGV_MAPERR): Likewise.
21467         (SEGV_ACCERR): Likewise.
21468         (BUS_ADRALN): Likewise.
21469         (BUS_ADRERR): Likewise.
21470         (BUS_OBJERR): Likewise.
21471         (BUS_MCEERR_AR): Likewise.
21472         (BUS_MCEERR_AO): Likewise.
21473         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
21474         (TRAP_TRACE): Likewise.
21475         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
21476         __USE_XOPEN2K8].
21477         (CLD_KILLED): Likewise.
21478         (CLD_DUMPED): Likewise.
21479         (CLD_TRAPPED): Likewise.
21480         (CLD_STOPPED): Likewise.
21481         (CLD_CONTINUED): Likewise.
21482         (POLL_IN): Likewise.
21483         (POLL_OUT): Likewise.
21484         (POLL_MSG): Likewise.
21485         (POLL_ERR): Likewise.
21486         (POLL_PRI): Likewise.
21487         (POLL_HUP): Likewise.
21488         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (ILL_ILLOPC): Likewise.
21489         (ILL_ILLOPN): Likewise.
21490         (ILL_ILLADR): Likewise.
21491         (ILL_ILLTRP): Likewise.
21492         (ILL_PRVOPC): Likewise.
21493         (ILL_PRVREG): Likewise.
21494         (ILL_COPROC): Likewise.
21495         (ILL_BADSTK): Likewise.
21496         (FPE_INTDIV): Likewise.
21497         (FPE_INTOVF): Likewise.
21498         (FPE_FLTDIV): Likewise.
21499         (FPE_FLTOVF): Likewise.
21500         (FPE_FLTUND): Likewise.
21501         (FPE_FLTRES): Likewise.
21502         (FPE_FLTINV): Likewise.
21503         (FPE_FLTSUB): Likewise.
21504         (SEGV_MAPERR): Likewise.
21505         (SEGV_ACCERR): Likewise.
21506         (BUS_ADRALN): Likewise.
21507         (BUS_ADRERR): Likewise.
21508         (BUS_OBJERR): Likewise.
21509         (BUS_MCEERR_AR): Likewise.
21510         (BUS_MCEERR_AO): Likewise.
21511         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
21512         (TRAP_TRACE): Likewise.
21513         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
21514         __USE_XOPEN2K8].
21515         (CLD_KILLED): Likewise.
21516         (CLD_DUMPED): Likewise.
21517         (CLD_TRAPPED): Likewise.
21518         (CLD_STOPPED): Likewise.
21519         (CLD_CONTINUED): Likewise.
21520         (POLL_IN): Likewise.
21521         (POLL_OUT): Likewise.
21522         (POLL_MSG): Likewise.
21523         (POLL_ERR): Likewise.
21524         (POLL_PRI): Likewise.
21525         (POLL_HUP): Likewise.
21526         * conform/Makefile (test-xfail-POSIX/signal.h/conform): Remove.
21527         (test-xfail-POSIX/sys/wait.h/conform): Likewise.
21529         [BZ #16670]
21530         * posix/sched.h [!__USE_XOPEN2K] (__need_time_t): Don't define
21531         before #include of <time.h>.
21532         [!__USE_XOPEN2K] (__need_timespec): Likewise.
21533         * conform/Makefile (test-xfail-POSIX/sched.h/conform): Remove.
21534         (test-xfail-UNIX98/sched.h/conform): Likewise.
21536 2014-03-07  Marcus Shawcroft  <marcus.shawcroft@arm.com>
21538         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Detect and
21539         error absence of trapping exception support.
21540         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
21542 2014-03-07  Joseph Myers  <joseph@codesourcery.com>
21544         * catgets/Makefile (tests-special): Add $(objpfx)sample.SJIS.cat.
21545         ($(objpfx)sample.SJIS.cat): Use $(evaluate-test).
21546         * timezone/Makefile (testdata): Move definition above include of
21547         Rules.
21548         (test-zones): New variable.
21549         (tests-special): Add zone files.
21550         (build-testdata): Use $(evaluate-test).
21552         * elf/Makefile (tests-special): Rename tests to end with .out.
21553         ($(objpfx)noload-mem): Likewise.
21554         ($(objpfx)tst-leaks1-mem): Likewise.
21555         ($(objpfx)tst-leaks1-static-mem.out): Likewise.
21556         * iconv/Makefile (xtests-special): Change test-iconvconfig to
21557         $(objpfx)test-iconvconfig.out.
21558         (test-iconvconfig): Change to $(objpfx)test-iconvconfig.out.  Use
21559         set -e inside subshell and redirect output to file.
21560         * iconvdata/Makefile (generated): Rename tests to end with .out.
21561         Correct type.
21562         (tests-special): Rename tests to end with .out.
21563         ($(objpfx)mtrace-tst-loading): Likewise.
21564         * intl/Makefile (generated): Likewise.
21565         (tests-special): Likewise.
21566         ($(objpfx)mtrace-tst-gettext): Likewise.
21567         * misc/Makefile (generated): Likewise.
21568         (tests-special): Likewise.
21569         ($(objpfx)tst-error1-mem): Likewise.
21570         * nptl/Makefile (tests-special): Likewise.
21571         ($(objpfx)tst-stack3-mem): Likewise.
21572         (generated): Likewise.
21573         * posix/Makefile (generated): Likewise.
21574         (tests-special): Likewise.
21575         (xtests-special): Likewise.
21576         ($(objpfx)tst-fnmatch-mem): Likewise.
21577         ($(objpfx)bug-regex2-mem): Likewise.
21578         ($(objpfx)bug-regex14-mem): Likewise.
21579         ($(objpfx)bug-regex21-mem): Likewise.
21580         ($(objpfx)bug-regex31-mem): Likewise.
21581         ($(objpfx)tst-vfork3-mem): Likewise.
21582         ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
21583         ($(objpfx)tst-pcre-mem): Likewise.
21584         ($(objpfx)tst-boost-mem): Likewise.
21585         ($(objpfx)bug-ga2-mem): Likewise.
21586         ($(objpfx)bug-glob2-mem): Likewise.
21587         * resolv/Makefile (generate): Likewise.
21588         (tests-special): Likewise.
21589         (xtests-special): Likewise.
21590         (generated): Likewise.
21591         ($(objpfx)mtrace-tst-leaks): Likewise.
21592         ($(objpfx)mtrace-tst-leaks2): Likewise.
21594         * scripts/merge-test-results.sh: New file.
21595         * Makefile (tests-special-notdir): New variable.
21596         (tests): Run merge-test-results.sh.
21597         (xtests): Likewise.
21598         * Rules (tests-special-notdir): New variable.
21599         (xtests-special-notdir): Likewise.
21600         (tests): Run merge-test-results.sh
21601         (xtests): Likewise.
21603         * Makeconfig (test-xfail-name): New variable.
21604         (evaluate-test): Use $(test-xfail-name) instead of $(@F:.out=) to
21605         compute variable name for expected failures.
21606         * conform/Makefile (conformtest-headers-data): New variable.
21607         (conformtest-standards): Likewise.
21608         (conformtest-headers-ISO): Likewise.
21609         (conformtest-headers-ISO99): Likewise.
21610         (conformtest-headers-ISO11): Likewise.
21611         (conformtest-headers-POSIX): Likewise.
21612         (conformtest-headers-XPG3): Likewise.
21613         (conformtest-headers-XPG4): Likewise.
21614         (conformtest-headers-UNIX98): Likewise.
21615         (conformtest-headers-XOPEN2K): Likewise.
21616         (conformtest-headers-POSIX2008): Likewise.
21617         (conformtest-headers-XOPEN2K8): Likewise.
21618         (conformtest-header-list-base): Likewise.
21619         (conformtest-header-list-tests): Likewise.
21620         (conformtest-header-base): Likewise.
21621         (conformtest-header-tests): Likewise.
21622         (tests-special): Add $(conformtest-header-list-tests).  If
21623         [$(fast-check) && !$(cross-compiling)], add
21624         $(conformtest-header-tests) instead of
21625         $(objpfx)run-conformtest.out.
21626         (generated): Add $(conformtest-header-list-base).  If
21627         [$(fast-check) && !$(cross-compiling)], add
21628         $(conformtest-header-base).  Remove previous setting.
21629         ($(conformtest-header-list-tests)): New target.
21630         (test-xfail-run-conformtest): Remove variable.
21631         ($(objpfx)run-conformtest.out): Remove target.
21632         (test-xfail-ISO11/complex.h/conform): New variable.
21633         (test-xfail-ISO11/stdalign.h/conform): Likewise.
21634         (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
21635         (test-xfail-XPG3/varargs.h/conform): Likewise.
21636         (test-xfail-XPG4/varargs.h/conform): Likewise.
21637         (test-xfail-UNIX98/varargs.h/conform): Likewise.
21638         (test-xfail-XPG4/ndbm.h/conform): Likewise.
21639         (test-xfail-UNIX98/ndbm.h/conform): Likewise.
21640         (test-xfail-XOPEN2K/ndbm.h/conform): Likewise.
21641         (test-xfail-XOPEN2K8/ndbm.h/conform): Likewise.
21642         (test-xfail-XPG3/fcntl.h/conform): Likewise.
21643         (test-xfail-XPG3/ftw.h/conform): Likewise.
21644         (test-xfail-XPG3/grp.h/conform): Likewise.
21645         (test-xfail-XPG3/langinfo.h/conform): Likewise.
21646         (test-xfail-XPG3/limits.h/conform): Likewise.
21647         (test-xfail-XPG3/pwd.h/conform): Likewise.
21648         (test-xfail-XPG3/search.h/conform): Likewise.
21649         (test-xfail-XPG3/signal.h/conform): Likewise.
21650         (test-xfail-XPG3/stdio.h/conform): Likewise.
21651         (test-xfail-XPG3/stdlib.h/conform): Likewise.
21652         (test-xfail-XPG3/string.h/conform): Likewise.
21653         (test-xfail-XPG3/sys/ipc.h/conform): Likewise.
21654         (test-xfail-XPG3/sys/msg.h/conform): Likewise.
21655         (test-xfail-XPG3/sys/sem.h/conform): Likewise.
21656         (test-xfail-XPG3/sys/shm.h/conform): Likewise.
21657         (test-xfail-XPG3/sys/stat.h/conform): Likewise.
21658         (test-xfail-XPG3/sys/types.h/conform): Likewise.
21659         (test-xfail-XPG3/sys/wait.h/conform): Likewise.
21660         (test-xfail-XPG3/termios.h/conform): Likewise.
21661         (test-xfail-XPG3/time.h/conform): Likewise.
21662         (test-xfail-XPG3/unistd.h/conform): Likewise.
21663         (test-xfail-XPG4/arpa/inet.h/conform): Likewise.
21664         (test-xfail-XPG4/fcntl.h/conform): Likewise.
21665         (test-xfail-XPG4/langinfo.h/conform): Likewise.
21666         (test-xfail-XPG4/netdb.h/conform): Likewise.
21667         (test-xfail-XPG4/netinet/in.h/conform): Likewise.
21668         (test-xfail-XPG4/signal.h/conform): Likewise.
21669         (test-xfail-XPG4/stdio.h/conform): Likewise.
21670         (test-xfail-XPG4/stdlib.h/conform): Likewise.
21671         (test-xfail-XPG4/stropts.h/conform): Likewise.
21672         (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
21673         (test-xfail-XPG4/sys/msg.h/conform): Likewise.
21674         (test-xfail-XPG4/sys/sem.h/conform): Likewise.
21675         (test-xfail-XPG4/sys/shm.h/conform): Likewise.
21676         (test-xfail-XPG4/sys/socket.h/conform): Likewise.
21677         (test-xfail-XPG4/sys/stat.h/conform): Likewise.
21678         (test-xfail-XPG4/sys/time.h/conform): Likewise.
21679         (test-xfail-XPG4/sys/types.h/conform): Likewise.
21680         (test-xfail-XPG4/sys/wait.h/conform): Likewise.
21681         (test-xfail-XPG4/termios.h/conform): Likewise.
21682         (test-xfail-XPG4/ucontext.h/conform): Likewise.
21683         (test-xfail-XPG4/unistd.h/conform): Likewise.
21684         (test-xfail-XPG4/utmpx.h/conform): Likewise.
21685         (test-xfail-POSIX/sched.h/conform): Likewise.
21686         (test-xfail-POSIX/signal.h/conform): Likewise.
21687         (test-xfail-POSIX/sys/wait.h/conform): Likewise.
21688         (test-xfail-POSIX/tar.h/conform): Likewise.
21689         (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
21690         (test-xfail-UNIX98/fcntl.h/conform): Likewise.
21691         (test-xfail-UNIX98/langinfo.h/conform): Likewise.
21692         (test-xfail-UNIX98/netdb.h/conform): Likewise.
21693         (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
21694         (test-xfail-UNIX98/sched.h/conform): Likewise.
21695         (test-xfail-UNIX98/signal.h/conform): Likewise.
21696         (test-xfail-UNIX98/stdio.h/conform): Likewise.
21697         (test-xfail-UNIX98/stdlib.h/conform): Likewise.
21698         (test-xfail-UNIX98/stropts.h/conform): Likewise.
21699         (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
21700         (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
21701         (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
21702         (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
21703         (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
21704         (test-xfail-UNIX98/sys/time.h/conform): Likewise.
21705         (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
21706         (test-xfail-UNIX98/ucontext.h/conform): Likewise.
21707         (test-xfail-UNIX98/unistd.h/conform): Likewise.
21708         (test-xfail-UNIX98/utmpx.h/conform): Likewise.
21709         (test-xfail-XOPEN2K/aio.h/conform): Likewise.
21710         (test-xfail-XOPEN2K/arpa/inet.h/conform): Likewise.
21711         (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
21712         (test-xfail-XOPEN2K/langinfo.h/conform): Likewise.
21713         (test-xfail-XOPEN2K/math.h/conform): Likewise.
21714         (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
21715         (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
21716         (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
21717         (test-xfail-XOPEN2K/semaphore.h/conform): Likewise.
21718         (test-xfail-XOPEN2K/signal.h/conform): Likewise.
21719         (test-xfail-XOPEN2K/stdarg.h/conform): Likewise.
21720         (test-xfail-XOPEN2K/stdio.h/conform): Likewise.
21721         (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
21722         (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
21723         (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
21724         (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
21725         (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
21726         (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
21727         (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
21728         (test-xfail-XOPEN2K/termios.h/conform): Likewise.
21729         (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
21730         (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
21731         (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
21732         (test-xfail-POSIX2008/arpa/inet.h/conform): Likewise.
21733         (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
21734         (test-xfail-POSIX2008/netdb.h/conform): Likewise.
21735         (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
21736         (test-xfail-POSIX2008/signal.h/conform): Likewise.
21737         (test-xfail-POSIX2008/stropts.h/conform): Likewise.
21738         (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
21739         (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
21740         (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
21741         (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
21742         (test-xfail-XOPEN2K8/limits.h/conform): Likewise.
21743         (test-xfail-XOPEN2K8/math.h/conform): Likewise.
21744         (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
21745         (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
21746         (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
21747         (test-xfail-XOPEN2K8/stdio.h/conform): Likewise.
21748         (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
21749         (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
21750         (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
21751         (test-xfail-XOPEN2K8/sys/select.h/conform): Likewise.
21752         (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
21753         (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
21754         (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
21755         (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
21756         (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
21757         (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
21758         (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
21759         (test-xfail-XOPEN2K8/utmpx.h/conform): Likewise.
21760         (conformtest-cc-flags): Likewise.
21761         ($(conformtest-header-tests): New target.
21762         * conform/check-header-lists.sh: New file.
21763         * conform/run-conformtest.sh: Remove.
21765         * conform/conformtest.pl: Allow ' and \ in values given for
21766         constants.
21767         * conform/data/semaphore.h-data [POSIX] (fcntl.h): Allow header
21768         inclusion.
21769         [POSIX] (sys/types.h): Likewise.
21770         [POSIX2008 || XOPEN2K8] (sys/types.h): Don't allow header
21771         inclusion.
21772         [POSIX || UNIX98 || XOPEN2K] (time.h): Don't allow header
21773         inclusion.
21774         * conform/data/signal.h-data (SIGIO): Remove expectation.
21775         [XPG3] (SIGBUS): Do not expect.
21776         [POSIX || XPG3] (SIGPOLL): Likewise.
21777         [POSIX || XPG3] (SIGPROF): Likewise.
21778         [POSIX || XPG3] (SIGSYS): Likewise.
21779         [XPG3] (SIGTRAP): Likewise.
21780         [POSIX || XPG3] (SIGURG): Likewise.
21781         [POSIX || XPG3] (SIGVTALRM): Likewise.
21782         [POSIX || XPG3] (SIGXCPU): Likewise.
21783         [POSIX || XPG3] (SIGXFSZ): Likewise.
21784         [POSIX] (SA_SIGINFO): Expect.
21785         [XPG3] (siginfo_t): Do not expect type or contents.
21786         [POSIX] (si_pid): Do not expect element.
21787         [POSIX] (si_uid): Likewise.
21788         [POSIX] (si_addr): Likewise.
21789         [POSIX] (si_status): Likewise.
21790         [POSIX] (si_band): Likewise.
21791         [XPG4] (si_value): Likewise.
21792         [POSIX || XPG3] (ILL_ILLOPC): Do not expect.
21793         [POSIX || XPG3] (ILL_ILLOPN): Likewise.
21794         [POSIX || XPG3] (ILL_ILLADR): Likewise.
21795         [POSIX || XPG3] (ILL_ILLTRP): Likewise.
21796         [POSIX || XPG3] (ILL_PRVOPC): Likewise.
21797         [POSIX || XPG3] (ILL_PRVREG): Likewise.
21798         [POSIX || XPG3] (ILL_COPROC): Likewise.
21799         [POSIX || XPG3] (ILL_BADSTK): Likewise.
21800         [POSIX || XPG3] (FPE_INTDIV): Likewise.
21801         [POSIX || XPG3] (FPE_INTOVF): Likewise.
21802         [POSIX || XPG3] (FPE_FLTDIV): Likewise.
21803         [POSIX || XPG3] (FPE_FLTOVF): Likewise.
21804         [POSIX || XPG3] (FPE_FLTUND): Likewise.
21805         [POSIX || XPG3] (FPE_FLTRES): Likewise.
21806         [POSIX || XPG3] (FPE_FLTINV): Likewise.
21807         [POSIX || XPG3] (FPE_FLTSUB): Likewise.
21808         [POSIX || XPG3] (SEGV_MAPERR): Likewise.
21809         [POSIX || XPG3] (SEGV_ACCERR): Likewise.
21810         [POSIX || XPG3] (BUS_ADRALN): Likewise.
21811         [POSIX || XPG3] (BUS_ADRERR): Likewise.
21812         [POSIX || XPG3] (BUS_OBJERR): Likewise.
21813         [POSIX || XPG3] (CLD_EXITED): Likewise.
21814         [POSIX || XPG3] (CLD_KILLED): Likewise.
21815         [POSIX || XPG3] (CLD_DUMPED): Likewise.
21816         [POSIX || XPG3] (CLD_TRAPPED): Likewise.
21817         [POSIX || XPG3] (CLD_STOPPED): Likewise.
21818         [POSIX || XPG3] (CLD_CONTINUED): Likewise.
21819         [POSIX || XPG3] (POLL_IN): Likewise.
21820         [POSIX || XPG3] (POLL_OUT): Likewise.
21821         [POSIX || XPG3] (POLL_MSG): Likewise.
21822         [POSIX || XPG3] (POLL_ERR): Likewise.
21823         [POSIX || XPG3] (POLL_PRI): Likewise.
21824         [POSIX || XPG3] (POLL_HUP): Likewise.
21825         [POSIX || XPG3 || POSIX2008] (TRAP_BRKPT): Likewise.
21826         [POSIX || XPG3 || POSIX2008] (TRAP_TRACE): Likewise.
21827         (SIG*): Do not allow.
21828         [XPG3] (si_*): Likewise.
21829         [XPG3] (SI_*): Likewise.
21830         [XPG3 || XPG4] (sigev_*): Likewise.
21831         [XPG3 || XPG4] (SIGEV_*): Likewise.
21832         [XPG3 || XPG4] (sival_*): Likewise.
21833         [POSIX || XPG3 || XPG4] (uc_*): Likewise.
21834         [POSIX || XPG3] (BUS_*): Likewise.
21835         [POSIX || XPG3] (CLD_*): Likewise.
21836         [POSIX || XPG3] (FPE_*): Likewise.
21837         [POSIX || XPG3] (ILL_*): Likewise.
21838         [POSIX || XPG3] (POLL_*): Likewise.
21839         [POSIX || XPG3] (SEGV_*): Likewise.
21840         [POSIX || XPG3 || POSIX2008] (SS_*): Likewise.
21841         [POSIX || XPG3 || POSIX2008] (SV_*): Likewise.
21842         [POSIX || XPG3 || POSIX2008] (TRAP_*): Likewise.
21843         [POSIX || XPG3 || POSIX2008] (ss_*): Likewise.
21844         [POSIX || XPG3 || POSIX2008] (sv_*): Likewise.
21845         * conform/data/tar.h-data (TMAGLEN): Use macro-int-constant.
21846         Specify type and value.
21847         (TVERSLEN): Likewise.
21848         (REGTYPE): Likewise.
21849         (AREGTYPE): Likewise.
21850         (LNKTYPE): Likewise.
21851         (SYMTYPE): Likewise.
21852         (CHRTYPE): Likewise.
21853         (BLKTYPE): Likewise.
21854         (DIRTYPE): Likewise.
21855         (FIFOTYPE): Likewise.
21856         (CONTTYPE): Likewise.
21857         (TSUID): Likewise.
21858         (TSGID): Likewise.
21859         (TSVTX): Likewise.
21860         (TUREAD): Likewise.
21861         (TUWRITE): Likewise.
21862         (TUEXEC): Likewise.
21863         (TGREAD): Likewise.
21864         (TGWRITE): Likewise.
21865         (TGEXEC): Likewise.
21866         (TOREAD): Likewise.
21867         (TOWRITE): Likewise.
21868         (TOEXEC): Likewise.
21869         [POSIX] (TSVTX): Expect constant.
21871 2014-03-06  Joseph Myers  <joseph@codesourcery.com>
21873         * Makefile (tests): Change dependencies to ....
21874         (tests-special): ... additions to this variable.
21875         (tests): Depend on $(tests-special).
21876         * Makerules (check-abi-list): New variable.
21877         (check-abi): Depend on $(check-abi-list).
21878         [$(subdir) = elf] (tests-special): Add
21879         $(objpfx)check-abi-libc.out.
21880         [$(build-shared) = yes && subdir] (tests-special): Add
21881         $(check-abi-list).
21882         [$(build-shared) = yes && subdir] (tests): Do not depend on
21883         check-abi.
21884         * Rules (tests): Depend on $(tests-special).
21885         (xtests): Depend on $(xtests-special).
21886         * catgets/Makefile (tests): Change dependencies to ....
21887         (tests-special): ... additions to this variable.
21888         * conform/Makefile (tests): Change dependencies to ....
21889         (tests-special): ... additions to this variable.
21890         * elf/Makefile (tests): Change dependencies to ....
21891         (tests-special): ... additions to this variable.
21892         * grp/Makefile (tests): Change dependencies to ....
21893         (tests-special): ... additions to this variable.
21894         * iconv/Makefile (xtests): Change dependencies to ....
21895         (xtests-special): ... additions to this variable.
21896         * iconvdata/Makefile (tests): Change dependencies to ....
21897         (tests-special): ... additions to this variable.
21898         * intl/Makefile (tests): Change dependencies to ....
21899         (tests-special): ... additions to this variable.  Also add
21900         $(objpfx)tst-gettext.out.
21901         * io/Makefile (tests): Change dependencies to ....
21902         (tests-special): ... additions to this variable.
21903         * libio/Makefile (tests): Change dependencies to ....
21904         (tests-special): ... additions to this variable.
21905         * malloc/Makefile (tests): Change dependencies to ....
21906         (tests-special): ... additions to this variable.
21907         * misc/Makefile (tests): Change dependencies to ....
21908         (tests-special): ... additions to this variable.
21909         * nptl/Makefile (tests): Change dependencies to ....
21910         (tests-special): ... additions to this variable.
21911         * nptl_db/Makefile (tests): Change dependencies to ....
21912         (tests-special): ... additions to this variable.
21913         * posix/Makefile (tests): Change dependencies to ....
21914         (tests-special): ... additions to this variable.
21915         (xtests): Change dependencies to ....
21916         (xtests-special): ... additions to this variable.
21917         * resolv/Makefile (tests): Change dependencies to ....
21918         (tests-special): ... additions to this variable.
21919         (xtests): Change dependencies to ....
21920         (xtests-special): ... additions to this variable.
21921         * stdio-common/Makefile (tests): Change dependencies to ....
21922         (tests-special): ... additions to this variable.
21923         (do-tst-unbputc): Remove target.
21924         (do-tst-printf): Likewise.
21925         * stdlib/Makefile (tests): Change dependencies to ....
21926         (tests-special): ... additions to this variable.
21927         * string/Makefile (tests): Change dependencies to ....
21928         (tests-special): ... additions to this variable.
21929         * sysdeps/x86/Makefile (tests): Change dependencies to ....
21930         (tests-special): ... additions to this variable.
21932         * conform/data/netinet/tcp.h-data [POSIX2008 || XOPEN2K8]: Enable
21933         whole file.
21934         * conform/data/sys/timeb.h-data [POSIX2008 || XOPEN2K8]: Disable
21935         whole file.
21936         * conform/data/sys/uio.h-data [POSIX2008]: Likewise.
21937         * conform/data/ucontext.h-data [POSIX2008 || XOPEN2K8]: Likewise.
21939         * conform/data/aio.h-data [XPG3 || XPG4]: Disable whole file.
21940         * conform/data/arpa/inet.h-data [XPG3]: Likewise.
21941         * conform/data/dlfcn.h-data [XPG3 || XPG4]: Likewise.
21942         * conform/data/fmtmsg.h-data [XPG3]: Likewise.
21943         * conform/data/libgen.h-data [XPG3]: Likewise.
21944         * conform/data/mqueue.h-data [XPG3 || XPG4]: Likewise.
21945         * conform/data/ndbm.h-data [XPG3]: Likewise.
21946         * conform/data/net/if.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
21947         * conform/data/netdb.h-data [XPG3]: Likewise.
21948         * conform/data/netinet/in.h-data [XPG3]: Likewise.
21949         * conform/data/poll.h-data [XPG3]: Likewise.
21950         * conform/data/spawn.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
21951         * conform/data/strings.h-data [XPG3]: Likewise.
21952         * conform/data/stropts.h-data [XPG3]: Likewise.
21953         * conform/data/sys/mman.h-data [XPG3]: Likewise.
21954         * conform/data/sys/resource.h-data [XPG3]: Likewise.
21955         * conform/data/sys/select.h-data [XPG3 || XPG4 || UNIX98]:
21956         Likewise.
21957         * conform/data/sys/statvfs.h-data [XPG3]: Likewise.
21958         * conform/data/sys/time.h-data [XPG3]: Likewise.
21959         * conform/data/sys/timeb.h-data [XPG3]: Likewise.
21960         * conform/data/sys/uio.h-data [XPG3]: Likewise.
21961         * conform/data/sys/un.h-data [XPG3]: Likewise.
21962         * conform/data/syslog.h-data [XPG3]: Likewise.
21963         * conform/data/ucontext.h-data [XPG3]: Likewise.
21964         * conform/data/utmpx.h-data [XPG3]: Likewise.
21965         * conform/data/varargs.h-data [UNIX98]: Enable file.
21967         * manual/Makefile (INSTALL_INFO): Remove variable setting.
21969         * math/libm-test.inc (struct test_f_f_data): Move expected results
21970         into structure for each rounding mode.
21971         (struct test_ff_f_data): Likewise.
21972         (struct test_ff_f_data_nexttoward): Likewise.
21973         (struct test_fi_f_data): Likewise.
21974         (struct test_fl_f_data): Likewise.
21975         (struct test_if_f_data): Likewise.
21976         (struct test_fff_f_data): Likewise.
21977         (struct test_c_f_data): Likewise.
21978         (struct test_f_f1_data): Likewise.
21979         (struct test_fF_f1_data): Likewise.
21980         (struct test_ffI_f1_data): Likewise.
21981         (struct test_c_c_data): Likewise.
21982         (struct test_cc_c_data): Likewise.
21983         (struct test_f_i_data): Likewise.
21984         (struct test_ff_i_data): Likewise.
21985         (struct test_f_l_data): Likewise.
21986         (struct test_f_L_data): Likewise.
21987         (struct test_fFF_11_data): Likewise.
21988         (RM_): New macro.
21989         (RM_FE_DOWNWARD): Likewise.
21990         (RM_FE_TONEAREST): Likewise.
21991         (RM_FE_TOWARDZERO): Likewise.
21992         (RM_FE_UPWARD): Likewise.
21993         (RUN_TEST_LOOP_f_f): Update references to expected results.
21994         (RUN_TEST_LOOP_2_f): Likewise.
21995         (RUN_TEST_LOOP_fff_f): Likewise.
21996         (RUN_TEST_LOOP_c_f): Likewise.
21997         (RUN_TEST_LOOP_f_f1): Likewise.
21998         (RUN_TEST_LOOP_fF_f1): Likewise.
21999         (RUN_TEST_LOOP_fI_f1): Likewise.
22000         (RUN_TEST_LOOP_ffI_f1): Likewise.
22001         (RUN_TEST_LOOP_c_c): Likewise.
22002         (RUN_TEST_LOOP_cc_c): Likewise.
22003         (RUN_TEST_LOOP_f_i): Likewise.
22004         (RUN_TEST_LOOP_f_i_tg): Likewise.
22005         (RUN_TEST_LOOP_ff_i_tg): Likewise.
22006         (RUN_TEST_LOOP_f_b): Likewise.
22007         (RUN_TEST_LOOP_f_b_tg): Likewise.
22008         (RUN_TEST_LOOP_f_l): Likewise.
22009         (RUN_TEST_LOOP_f_L): Likewise.
22010         (RUN_TEST_LOOP_fFF_11): Likewise.
22011         * math/gen-libm-test.pl (parse_args): Output four copies of
22012         expected results for each test.
22014         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
22015         (__ASSUME_UTIMES): Remove.
22016         * sysdeps/unix/sysv/linux/tile/kernel-features.h
22017         (__ASSUME_UTIMES): Likewise.
22019         * math/gen-auto-libm-tests.c: Update comment on output format.
22020         (output_for_one_input_case): Generate before-rounding and
22021         after-rounding information as conditions on output flags not
22022         floating-point format.
22023         * math/auto-libm-test-out: Regenerated.
22024         * math/gen-libm-test.pl (cond_value): New function.
22025         (or_cond_value): Use cond_value.
22026         (generate_testfile): Handle conditional exceptions.
22028 2014-03-05  Joseph Myers  <joseph@codesourcery.com>
22030         * math/libm-test.inc (max_valid_error): New variable.
22031         (init_max_error): Take new argument specifying whether function
22032         results are exactly determined.  Set max_valid_error and bound
22033         other variables for errors based on this argument.
22034         (set_max_error): Do not record results above max_valid_error.
22035         (check_float_internal): Only accept errors of up to 0.5ulps if
22036         also at most max_valid_error.
22037         (START): Take new argument EXACT and pass it to init_max_error.
22038         (acos_test): Update call to START.
22039         (acos_test_tonearest): Likewise.
22040         (acos_test_towardzero): Likewise.
22041         (acos_test_downward): Likewise.
22042         (acos_test_upward): Likewise.
22043         (acosh_test): Likewise.
22044         (asin_test): Likewise.
22045         (asin_test_tonearest): Likewise.
22046         (asin_test_towardzero): Likewise.
22047         (asin_test_downward): Likewise.
22048         (asin_test_upward): Likewise.
22049         (asinh_test): Likewise.
22050         (atan_test): Likewise.
22051         (atanh_test): Likewise.
22052         (atan2_test): Likewise.
22053         (cabs_test): Likewise.
22054         (cacos_test): Likewise.
22055         (cacosh_test): Likewise.
22056         (carg_test): Likewise.
22057         (casin_test): Likewise.
22058         (casinh_test): Likewise.
22059         (catan_test): Likewise.
22060         (catanh_test): Likewise.
22061         (cbrt_test): Likewise.
22062         (ccos_test): Likewise.
22063         (ccosh_test): Likewise.
22064         (ceil_test): Likewise.
22065         (cexp_test): Likewise.
22066         (cimag_test): Likewise.
22067         (clog_test): Likewise.
22068         (clog10_test): Likewise.
22069         (conj_test): Likewise.
22070         (copysign_test): Likewise.
22071         (cos_test): Likewise.
22072         (cos_test_tonearest): Likewise.
22073         (cos_test_towardzero): Likewise.
22074         (cos_test_downward): Likewise.
22075         (cos_test_upward): Likewise.
22076         (cosh_test): Likewise.
22077         (cosh_test_tonearest): Likewise.
22078         (cosh_test_towardzero): Likewise.
22079         (cosh_test_downward): Likewise.
22080         (cosh_test_upward): Likewise.
22081         (cpow_test): Likewise.
22082         (cproj_test): Likewise.
22083         (creal_test): Likewise.
22084         (csin_test): Likewise.
22085         (csinh_test): Likewise.
22086         (csqrt_test): Likewise.
22087         (ctan_test): Likewise.
22088         (ctan_test_tonearest): Likewise.
22089         (ctan_test_towardzero): Likewise.
22090         (ctan_test_downward): Likewise.
22091         (ctan_test_upward): Likewise.
22092         (ctanh_test): Likewise.
22093         (ctanh_test_tonearest): Likewise.
22094         (ctanh_test_towardzero): Likewise.
22095         (ctanh_test_downward): Likewise.
22096         (ctanh_test_upward): Likewise.
22097         (erf_test): Likewise.
22098         (erfc_test): Likewise.
22099         (exp_test): Likewise.
22100         (exp_test_tonearest): Likewise.
22101         (exp_test_towardzero): Likewise.
22102         (exp_test_downward): Likewise.
22103         (exp_test_upward): Likewise.
22104         (exp10_test): Likewise.
22105         (exp10_test_tonearest): Likewise.
22106         (exp10_test_towardzero): Likewise.
22107         (exp10_test_downward): Likewise.
22108         (exp10_test_upward): Likewise.
22109         (pow10_test): Likewise.
22110         (exp2_test): Likewise.
22111         (expm1_test): Likewise.
22112         (expm1_test_tonearest): Likewise.
22113         (expm1_test_towardzero): Likewise.
22114         (expm1_test_downward): Likewise.
22115         (expm1_test_upward): Likewise.
22116         (fabs_test): Likewise.
22117         (fdim_test): Likewise.
22118         (floor_test): Likewise.
22119         (fma_test): Likewise.
22120         (fma_test_towardzero): Likewise.
22121         (fma_test_downward): Likewise.
22122         (fma_test_upward): Likewise.
22123         (fmax_test): Likewise.
22124         (fmin_test): Likewise.
22125         (fmod_test): Likewise.
22126         (fpclassify_test): Likewise.
22127         (frexp_test): Likewise.
22128         (hypot_test): Likewise.
22129         (ilogb_test): Likewise.
22130         (isfinite_test): Likewise.
22131         (finite_test): Likewise.
22132         (isgreater_test): Likewise.
22133         (isgreaterequal_test): Likewise.
22134         (isinf_test): Likewise.
22135         (isless_test): Likewise.
22136         (islessequal_test): Likewise.
22137         (islessgreater_test): Likewise.
22138         (isnan_test): Likewise.
22139         (isnormal_test): Likewise.
22140         (issignaling_test): Likewise.
22141         (isunordered_test): Likewise.
22142         (j0_test): Likewise.
22143         (j1_test): Likewise.
22144         (jn_test): Likewise.
22145         (ldexp_test): Likewise.
22146         (lgamma_test): Likewise.
22147         (gamma_test): Likewise.
22148         (lrint_test): Likewise.
22149         (lrint_test_tonearest): Likewise.
22150         (lrint_test_towardzero): Likewise.
22151         (lrint_test_downward): Likewise.
22152         (lrint_test_upward): Likewise.
22153         (llrint_test): Likewise.
22154         (llrint_test_tonearest): Likewise.
22155         (llrint_test_towardzero): Likewise.
22156         (llrint_test_downward): Likewise.
22157         (llrint_test_upward): Likewise.
22158         (log_test): Likewise.
22159         (log10_test): Likewise.
22160         (log1p_test): Likewise.
22161         (log2_test): Likewise.
22162         (logb_test): Likewise.
22163         (logb_test_downward): Likewise.
22164         (lround_test): Likewise.
22165         (llround_test): Likewise.
22166         (modf_test): Likewise.
22167         (nearbyint_test): Likewise.
22168         (nextafter_test): Likewise.
22169         (nexttoward_test): Likewise.
22170         (pow_test): Likewise.
22171         (pow_test_tonearest): Likewise.
22172         (pow_test_towardzero): Likewise.
22173         (pow_test_downward): Likewise.
22174         (pow_test_upward): Likewise.
22175         (remainder_test): Likewise.
22176         (drem_test): Likewise.
22177         (remainder_test_tonearest): Likewise.
22178         (drem_test_tonearest): Likewise.
22179         (remainder_test_towardzero): Likewise.
22180         (drem_test_towardzero): Likewise.
22181         (remainder_test_downward): Likewise.
22182         (drem_test_downward): Likewise.
22183         (remainder_test_upward): Likewise.
22184         (drem_test_upward): Likewise.
22185         (remquo_test): Likewise.
22186         (rint_test): Likewise.
22187         (rint_test_tonearest): Likewise.
22188         (rint_test_towardzero): Likewise.
22189         (rint_test_downward): Likewise.
22190         (rint_test_upward): Likewise.
22191         (round_test): Likewise.
22192         (scalb_test): Likewise.
22193         (scalbn_test): Likewise.
22194         (scalbln_test): Likewise.
22195         (signbit_test): Likewise.
22196         (sin_test): Likewise.
22197         (sin_test_tonearest): Likewise.
22198         (sin_test_towardzero): Likewise.
22199         (sin_test_downward): Likewise.
22200         (sin_test_upward): Likewise.
22201         (sincos_test): Likewise.
22202         (sinh_test): Likewise.
22203         (sinh_test_tonearest): Likewise.
22204         (sinh_test_towardzero): Likewise.
22205         (sinh_test_downward): Likewise.
22206         (sinh_test_upward): Likewise.
22207         (sqrt_test): Likewise.
22208         (sqrt_test_tonearest): Likewise.
22209         (sqrt_test_towardzero): Likewise.
22210         (sqrt_test_downward): Likewise.
22211         (sqrt_test_upward): Likewise.
22212         (tan_test): Likewise.
22213         (tan_test_tonearest): Likewise.
22214         (tan_test_towardzero): Likewise.
22215         (tan_test_downward): Likewise.
22216         (tan_test_upward): Likewise.
22217         (tanh_test): Likewise.
22218         (tgamma_test): Likewise.
22219         (trunc_test): Likewise.
22220         (y0_test): Likewise.
22221         (y1_test): Likewise.
22222         (yn_test): Likewise.
22223         (significand_test): Likewise.
22225         * math/libm-test.inc (struct ulp_data): Don't refer to ulps for
22226         individual tests in comment.
22227         (libm-test-ulps.h): Don't refer to test_ulps in #include comment.
22228         (prev_max_error): New variable.
22229         (prev_real_max_error): Likewise.
22230         (prev_imag_max_error): Likewise.
22231         (compare_ulp_data): Don't refer to test names in comment.
22232         (find_test_ulps): Remove function.
22233         (find_function_ulps): Likewise.
22234         (find_complex_function_ulps): Likewise.
22235         (init_max_error): Take function name as argument.  Look up ulps
22236         for that function.
22237         (print_ulps): Remove function.
22238         (print_max_error): Use prev_max_error instead of calling
22239         find_function_ulps.
22240         (print_complex_max_error): Use prev_real_max_error and
22241         prev_imag_max_error instead of calling find_complex_function_ulps.
22242         (check_float_internal): Take max_ulp parameter instead of calling
22243         find_test_ulps.  Don't call print_ulps.
22244         (check_float): Update call to check_float_internal.
22245         (check_complex): Update calls to check_float_internal.
22246         (START): Pass argument to init_max_error.
22247         * math/gen-libm-test.pl (%results): Don't include "kind"
22248         information.
22249         (parse_ulps): Don't handle ulps of individual tests.
22250         (print_ulps_file): Likewise.
22251         (output_ulps): Likewise.
22252         * math/README.libm-test: Update.
22253         * manual/libm-err-tab.pl (parse_ulps): Don't handle ulps of
22254         individual tests.
22255         * sysdeps/aarch64/libm-test-ulps: Remove individual test ulps.
22256         * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
22257         * sysdeps/arm/libm-test-ulps: Likewise.
22258         * sysdeps/i386/fpu/libm-test-ulps: Likewise.
22259         * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
22260         * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
22261         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
22262         * sysdeps/microblaze/libm-test-ulps: Likewise.
22263         * sysdeps/mips/mips32/libm-test-ulps: Likewise.
22264         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
22265         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
22266         * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
22267         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
22268         * sysdeps/sh/libm-test-ulps: Likewise.
22269         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
22270         * sysdeps/tile/libm-test-ulps: Likewise.
22271         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22273 2014-03-04  Joseph Myers  <joseph@codesourcery.com>
22275         * math/libm-test.inc (print_complex_max_error): Check separately
22276         whether real and imaginary errors are within allowed range and
22277         pass 0 to print_complex_function_ulps instead of value within
22278         allowed range.
22280 2014-03-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
22282         * libio/tst-ftell-active-handler.c (get_handles_fdopen): Fix
22283         formatting.
22284         (get_handles_fopen): Likewise.
22285         (do_write_test): Likewise.
22287         * libio/wfileops.c (do_ftell_wide): Fix up formatting.
22289         * libio/fileops.c (do_ftell): Use cached offset when
22290         available.
22291         * libio/iofwide.c (do_ftell_wide): Likewise.
22292         * libio/iofdopen.c (_IO_new_fdopen): Don't use
22293         _IO_file_attach.
22294         * libio/wfileops.c (_IO_fwide): Don't cache offset.
22296         [BZ #16532]
22297         * libio/libioP.h (get_file_offset): New function.
22298         * libio/fileops.c (get_file_offset): Likewise.
22299         (do_ftell): Likewise.
22300         (_IO_new_file_seekoff): Split out ftell logic.
22301         * libio/wfileops.c (do_ftell_wide): Likewise.
22302         (_IO_wfile_seekoff): Split out ftell logic.
22303         * libio/tst-ftell-active-handler.c: New test case.
22304         * libio/Makefile (tests): Add it.
22306 2014-03-03  Roland McGrath  <roland@hack.frob.com>
22308         * nptl/ChangeLog: Renamed to nptl/ChangeLog.old, no longer used.
22309         * nptl_db/ChangeLog: Renamed to nptl_db/ChangeLog.old, no longer used.
22311 2014-03-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
22313         [BZ #16639]
22314         * nscd/connections.c (nscd_init): Call do_exit.
22315         (start_threads): Call do_exit and notify_parent.
22316         (begin_drop_privileges): Call do_exit.
22317         (finish_drop_privileges): Likewise.
22318         * nscd/selinux.c (preserve_capabilities): Likewise.
22319         (install_real_capabilities): Likewise.
22320         (nscd_selinux_enabled): Likewise.
22321         (avc_create_thread): Likewise.
22322         (avc_alloc_lock): Likewise.
22323         (nscd_avc_init): Likewise.
22324         * nscd/nscd.c (parent_fd): New static variable.
22325         (main): Create a pipe between parent and child processes.
22326         Skip closing parent_fd.
22327         (monitor_child): New function.
22328         (do_exit): Likewise.
22329         (notify_parent): Likewise.
22330         * nscd/nscd.h (notify_parent): Likewise.
22331         (do_exit): Likewise.
22333 2014-03-03  Carlos O'Donell  <carlos@redhat.com>
22335         * malloc/malloc.c (__libc_calloc): Revert last change.
22337 2014-03-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22339         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22341 2014-03-03  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
22343         * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file.
22344         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch
22345         implementation.
22346         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
22347         (__libc_ifunc_impl_list): Likewise.
22348         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file.
22349         * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file.
22350         * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file.
22351         * string/strrchr.c: Define STRRCHR.
22353 2014-02-28  Ondřej Bílka  <neleai@seznam.cz>
22355         * benchtest/bench-strtok.c (simple_strtok): Delete.
22356         (strtok_string): Use as benchmark.
22357         * string/strtok (STRTOK): New macro.
22359 2014-02-28  Carlos O'Donell  <carlos@redhat.com>
22361         * manual/threads.texi: Add header and standard comments to all
22362         functions.
22364         * elf/dl-lookup.c (check_match): New function.
22365         (ELF_MACHINE_SYM_NO_MATCH): Adjust comment.
22366         (do_lookup_x): Remove nested function check_match. Use non-nested
22367         function check_match.
22369 2014-02-28  Roland McGrath  <roland@hack.frob.com>
22371         * csu/Makefile (generated, before-compile): Use += rather than =.
22372         * catgets/Makefile (generated, generated-dirs): Likewise.
22373         * debug/Makefile (generated): Likewise.
22374         * dlfcn/Makefile (generated): Likewise.
22375         * elf/Makefile (before-compile, generated, generated-dirs): Likewise.
22376         * iconvdata/Makefile (before-compile, generated): Likewise.
22377         * intl/Makefile (before-compile, generated, generated-dirs): Likewise.
22378         * libio/Makefile (generated): Likewise.
22379         * malloc/Makefile (generated): Likewise.
22380         * manual/Makefile (generated, generated-dirs): Likewise.
22381         * misc/Makefile (generated): Likewise.
22382         * posix/Makefile (generated): Likewise.
22383         * resolv/Makefile (generated): Likewise.
22384         * sunrpc/Makefile (generated, generated-dirs): Likewise.
22385         * timezone/Makefile (generated, generated-dirs): Likewise.
22387         * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }.
22389 2014-02-27  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22391         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
22392         power8 implementation.
22393         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New
22394         file: POWER8 llround ifunc implementation.
22395         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
22396         (__lllround): Add POWER8 implementation.
22397         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
22398         POWER8 llround implementation.
22400         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint
22401         power8 implementation.
22402         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New
22403         file: POWER8 llrint ifunc implementation.
22404         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint):
22405         Add POWER8 implementation.
22406         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
22407         POWER8 llrint implementation.
22409         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite
22410         power8 implementation.
22411         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New
22412         file: POWER8 finite ifunc implementation.
22413         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite):
22414         Add POWER8 implementation.
22415         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
22416         Likewise.
22417         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
22418         POWER8 finite implementation.
22419         * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
22421         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf
22422         power8 implementation.
22423         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New
22424         file: POWER8 isinf ifunc implementation.
22425         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
22426         POWER8 implementation.
22427         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
22428         Likewise.
22429         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file: POWER8
22430         isinf implementation.
22431         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
22433         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
22434         (INIT_ARCH): Add hwcap2 initialization.
22435         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
22436         power8 implementation.
22437         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New
22438         file: POWER8 isnan ifunc implementation.
22439         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
22440         POWER8 implementation.
22441         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
22442         Likewise.
22443         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file: POWER8
22444         isnan implementation.
22445         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
22447 2014-02-27  Joey Ye  <joey.ye@arm.com>
22449         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
22450         (_FP_NANFRAC_Q): Set to zero.
22452 2014-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
22454         [BZ #16623]
22455         * math/auto-libm-test-in: New test inputs.
22456         * math/auto-libm-test-out: Regenerate.
22457         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A
22458         and DA.
22459         (__cos): Likewise.
22460         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
22462 2014-02-27  Joseph Myers  <joseph@codesourcery.com>
22464         * scripts/evaluate-test.sh: Take new argument indicating whether
22465         failure is expected.
22466         * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh
22467         indicating whether failure is expected.
22468         * conform/Makefile (test-xfail-run-conformtest): New variable.
22469         ($(objpfx)run-conformtest.out): Don't expect to fail at makefile
22470         level.
22471         * posix/Makefile (test-xfail-annexc): New variable.
22472         ($(objpfx)annexc.out): Don't expect to fail at makefile level.
22474 2014-02-26  Joseph Myers  <joseph@codesourcery.com>
22476         * argp/Makefile: Include Makeconfig immediately after defining
22477         subdir.
22478         * assert/Makefile: Likewise.
22479         * benchtests/Makefile: Likewise.
22480         * catgets/Makefile: Likewise.
22481         * conform/Makefile: Likewise.
22482         * crypt/Makefile: Likewise.
22483         * csu/Makefile: Likewise.
22484         (all): Remove target.
22485         * ctype/Makefile: Include Makeconfig immediately after defining
22486         subdir.
22487         * debug/Makefile: Likewise.
22488         * dirent/Makefile: Likewise.
22489         * dlfcn/Makefile: Likewise.
22490         * gmon/Makefile: Likewise.
22491         * gnulib/Makefile: Likewise.
22492         * grp/Makefile: Likewise.
22493         * gshadow/Makefile: Likewise.
22494         * hesiod/Makefile: Likewise.
22495         * hurd/Makefile: Likewise.
22496         (all): Remove target.
22497         * iconvdata/Makefile: Include Makeconfig immediately after
22498         defining subdir.
22499         * inet/Makefile: Likewise.
22500         * intl/Makefile: Likewise.
22501         * io/Makefile: Likewise.
22502         * libio/Makefile: Likewise.
22503         (all): Remove target.
22504         * locale/Makefile: Include Makeconfig immediately after defining
22505         subdir.
22506         * login/Makefile: Likewise.
22507         * mach/Makefile: Likewise.
22508         (all): Remove target.
22509         * malloc/Makefile: Include Makeconfig immediately after defining
22510         subdir.
22511         (all): Remove target.
22512         * manual/Makefile: Include Makeconfig immediately after defining
22513         subdir.
22514         * math/Makefile: Likewise.
22515         * misc/Makefile: Likewise.
22516         * nis/Makefile: Likewise.
22517         * nss/Makefile: Likewise.
22518         * po/Makefile: Likewise.
22519         (all): Remove target.
22520         * posix/Makefile: Include Makeconfig immediately after defining
22521         subdir.
22522         * pwd/Makefile: Likewise.
22523         * resolv/Makefile: Likewise.
22524         * resource/Makefile: Likewise.
22525         * rt/Makefile: Likewise.
22526         * setjmp/Makefile: Likewise.
22527         * shadow/Makefile: Likewise.
22528         * signal/Makefile: Likewise.
22529         * socket/Makefile: Likewise.
22530         * soft-fp/Makefile: Likewise.
22531         * stdio-common/Makefile: Likewise.
22532         * stdlib/Makefile: Likewise.
22533         * streams/Makefile: Likewise.
22534         * string/Makefile: Likewise.
22535         * sunrpc/Makefile: Likewise.
22536         (all): Remove target.
22537         * sysvipc/Makefile: Include Makeconfig immediately after defining
22538         subdir.
22539         * termios/Makefile: Likewise.
22540         * time/Makefile: Likewise.
22541         * timezone/Makefile: Likewise.
22542         (all): Remove target.
22543         * wcsmbs/Makefile: Include Makeconfig immediately after defining
22544         subdir.
22545         * wctype/Makefile: Likewise.
22547 2014-02-26  Steve Ellcey  <sellcey@mips.com>
22549         * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
22550         (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
22551         (libc_feholdexcept_setround_mips): Ditto.
22552         (libc_feholdsetround): New.
22553         (libc_feholdsetroundf): New.
22554         (libc_feholdsetroundl): New.
22555         (libc_feupdateenv_test_mips): New.
22556         (libc_feupdateenv_test): New.
22557         (libc_feupdateenv_testf): New.
22558         (libc_feupdateenv_testl): New.
22559         (libc_feresetround): New.
22560         (libc_feresetroundf): New.
22561         (libc_feresetroundl): New.
22562         (libc_fetestexcept_mips): New.
22563         (libc_fetestexcept): New.
22564         (libc_fetestexceptf): New.
22565         (libc_fetestexceptl): New.
22566         (HAVE_RM_CTX): New.
22567         (libc_feholdexcept_setround_mips_ctx): New.
22568         (libc_feholdexcept_setround_ctx): New.
22569         (libc_feholdexcept_setroundf_ctx): New.
22570         (libc_feholdexcept_setroundl_ctx): New.
22571         (libc_fesetenv_mips_ctx): New.
22572         (libc_fesetenv_ctx): New.
22573         (libc_fesetenv_ctxf): New.
22574         (libc_fesetenv_ctxl): New.
22575         (libc_feupdateenv_mips_ctx): New.
22576         (libc_feupdateenv_ctx): New.
22577         (libc_feupdateenvf_ctx): New.
22578         (libc_feupdateenvl_ctx): New.
22579         (libc_feholdsetround_mips_ctx): New.
22580         (libc_feholdsetround_ctx): New.
22581         (libc_feholdsetroundf_ctx): New.
22582         (libc_feholdsetroundl_ctx): New.
22583         (libc_feresetround_mips_ctx): New.
22584         (libc_feresetround_ctx): New.
22585         (libc_feresetroundf_ctx): New.
22586         (libc_feresetroundl_ctx): New.
22588 2014-02-26  Carlos O'Donell  <carlos@redhat.com>
22590         * manual/ipc.texi (Semaphores): Use @Theglibc{}.
22592         * manual/ipc.texi: New file.
22593         * manual/Makefile (chapters): Add ipc.
22594         * manual/job.texi: Add "Inter-Process Communication" to next.
22595         * manual/process.texi: Add "Inter-Process Communication" to prev.
22597 2014-02-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22599         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22601 2014-02-26  Ondřej Bílka  <neleai@seznam.cz>
22603         * malloc/malloc.c (__libc_calloc): Simplify implementation.
22605         * manual/arith.texi: Fix spaces after sentences.
22606         * manual/charset.texi: Likewise.
22607         * manual/errno.texi: Likewise.
22608         * manual/install.texi: Likewise.
22609         * manual/llio.texi: Likewise.
22610         * manual/locale.texi: Likewise.
22611         * manual/maint.texi: Likewise.
22612         * manual/math.texi: Likewise.
22613         * manual/memory.texi: Likewise.
22614         * manual/message.texi: Likewise.
22615         * manual/probes.texi: Likewise.
22616         * manual/resource.texi: Likewise.
22617         * manual/signal.texi: Likewise.
22618         * manual/socket.texi: Likewise.
22619         * manual/stdio.texi: Likewise.
22620         * manual/string.texi: Likewise.
22621         * manual/time.texi: Likewise.
22622         * manual/users.texi: Likewise.
22624 2014-02-25  Carlos O'Donell  <carlos@redhat.com>
22626         [BZ #16632]
22627         * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
22628         _DEFAULT_SOURCE is defined.
22630 2014-02-25  Ulrich Drepper  <drepper@gmail.com>
22631             Carlos O'Donell  <carlos@redhat.com>
22633         [BZ #16613]
22634         * elf/dl-tls.c (_dl_count_modids): New function.
22635         * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
22636         * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
22637         audit library and increment generation counter.
22638         (_dl_allocate_tls_init): Add assertion to check TLS generation count.
22639         * elf/tst-audit9.c: New file.
22640         * elf/tst-auditmod9a.c: New file.
22641         * elf/tst-auditmod9b.c: New file.
22642         * elf/Makefile: Add rules to build and run tst-audit9.
22644 2014-02-25  Florian Weimer  <fweimer@redhat.com>
22646         [BZ #15347]
22647         * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
22649 2014-02-25  Will Newton  <will.newton@linaro.org>
22651         * sysdeps/arm/__longjmp.S: Include stap-probe.h.
22652         (__longjmp): Restore sp and lr before restoring callee
22653         saved registers.  Add longjmp and longjmp_target
22654         SystemTap probe point.
22655         * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
22656         * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
22657         Define to zero to match jmpbuf layout.
22658         * sysdeps/arm/setjmp.S: Include stap-probe.h.
22659         (__sigsetjmp): Save sp and lr before saving callee
22660         saved registers.  Add setjmp SystemTap probe point.
22662 2014-02-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
22664         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
22666 2014-02-24  Andreas Schwab  <schwab@suse.de>
22668         [BZ #15804]
22669         * elf/pldd.c (wait_for_ptrace_stop): New function.
22670         (main): Call it after attaching.
22672 2014-02-22  Roland McGrath  <roland@hack.frob.com>
22674         * Makerules ($(common-objpfx)Versions.v.i): No longer depend
22675         on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
22676         Versions files is now verboten.
22677         * hurd/Versions (libc: GLIBC_2.0):
22678         Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
22679         (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
22680         [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
22681         * mach/Versions: Likewise.
22683         * csu/Versions: Remove unused %include.
22684         * resolv/Versions: Likewise.
22686 2014-02-21  Joseph Myers  <joseph@codesourcery.com>
22688         * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
22689         ($(objpfx)check-local-headers.out): Likewise.
22690         ($(objpfx)begin-end-check.out): Likewise.
22691         * Makerules (check-abi-%.out): Likewise.
22692         * catgets/Makefile ($(objpfx)test1.cat): Likewise.
22693         ($(objpfx)test2.cat): Likewise.
22694         ($(objpfx)de/libc.cat): Likewise.
22695         ($(objpfx)test-gencat.out): Likewise.
22696         * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
22697         * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
22698         ($(objpfx)noload-mem): Likewise.
22699         ($(objpfx)tst-pathopt.out): Likewise.
22700         ($(objpfx)tst-rtld-load-self.out): Likewise.
22701         ($(objpfx)tst-array1-cmp.out): Likewise.
22702         ($(objpfx)tst-array1-static-cmp.out): Likewise.
22703         ($(objpfx)tst-array2-cmp.out): Likewise.
22704         ($(objpfx)tst-array3-cmp.out): Likewise.
22705         ($(objpfx)tst-array4-cmp.out): Likewise.
22706         ($(objpfx)tst-array5-cmp.out): Likewise.
22707         ($(objpfx)tst-array5-static-cmp.out): Likewise.
22708         ($(objpfx)check-textrel.out): Likewise.
22709         ($(objpfx)check-execstack.out): Likewise.
22710         ($(objpfx)check-localplt.out): Likewise.
22711         ($(objpfx)order2-cmp.out): Likewise.
22712         ($(objpfx)tst-leaks1-mem): Likewise.
22713         ($(objpfx)tst-leaks1-static-mem): Likewise.
22714         ($(objpfx)tst-initorder-cmp.out): Likewise.
22715         ($(objpfx)tst-initorder2-cmp.out): Likewise.
22716         ($(objpfx)tst-unused-dep.out): Likewise.
22717         ($(objpfx)tst-unused-dep-cmp.out): Likewise.
22718         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
22719         * iconv/Makefile (test-iconvconfig): Likewise.
22720         * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
22721         ($(objpfx)iconv-test.out): Likewise.
22722         ($(objpfx)tst-tables.out): Likewise.
22723         * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
22724         ($(objpfx)tst-gettext.out): Likewise.
22725         ($(objpfx)tst-translit.out): Likewise.
22726         ($(objpfx)tst-gettext2.out): Likewise.
22727         ($(objpfx)tst-gettext4.out): Likewise.
22728         ($(objpfx)tst-gettext6.out): Likewise.
22729         * io/Makefile ($(objpfx)ftwtest.out): Likewise.
22730         * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
22731         ($(objpfx)tst-fopenloc-cmp.out): Likewise.
22732         ($(objpfx)tst-fopenloc-mem.out): Likewise.
22733         * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
22734         * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
22735         * posix/Makefile ($(objpfx)globtest.out): Likewise.
22736         ($(objpfx)wordexp-tst.out): Likewise.
22737         ($(objpfx)annexc.out): Likewise.
22738         ($(objpfx)tst-fnmatch-mem): Likewise.
22739         ($(objpfx)bug-regex2-mem): Likewise.
22740         ($(objpfx)bug-regex14-mem): Likewise.
22741         ($(objpfx)bug-regex21-mem): Likewise.
22742         ($(objpfx)bug-regex31-mem): Likewise.
22743         ($(objpfx)tst-vfork3-mem): Likewise.
22744         ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
22745         ($(objpfx)tst-pcre-mem): Likewise.
22746         ($(objpfx)tst-boost-mem): Likewise.
22747         ($(objpfx)tst-getconf.out): Likewise.
22748         ($(objpfx)bug-ga2-mem): Likewise.
22749         ($(objpfx)bug-glob2-mem): Likewise.
22750         * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
22751         ($(objpfx)mtrace-tst-leaks2): Likewise.
22752         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
22753         ($(objpfx)tst-printf.out): Likewise.
22754         ($(objpfx)tst-setvbuf1.out): Likewise.
22755         ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
22756         * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
22757         ($(objpfx)tst-fmtmsg.out): Likewise.
22758         * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
22759         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
22761         * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
22762         * bits/sigaction.h [__USE_MISC]: Likewise.
22763         * bits/waitstatus.h: Update #endif comments.
22764         * ctype/ctype.h: Likewise.
22765         * dirent/dirent.h: Likewise.
22766         [__USE_MISC]: Remove redundant conditionals.
22767         * grp/grp.h: Update #endif comments.
22768         [__USE_GNU]: Remove redundant conditionals.
22769         [__USE_MISC]: Likewise.
22770         * inet/netinet/in.h [__USE_GNU]: Likewise.
22771         * io/sys/stat.h [__USE_MISC]: Likewise.
22772         * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
22773         * libio/bits/stdio.h: Update #endif comments.
22774         [__USE_MISC]: Remove redundant conditionals.
22775         * libio/bits/stdio2.h [__USE_MISC]: Likewise.
22776         * libio/stdio.h: Update #endif comments.
22777         [__USE_MISC]: Remove redundant conditionals.
22778         * math/bits/math-finite.h [__USE_MISC]: Likewise.
22779         * math/bits/mathcalls.h [__USE_MISC]: Likewise.
22780         * math/math.h: Update #else and #endif comments.
22781         [__USE_MISC]: Remove redundant conditionals.
22782         * misc/sys/uio.h: Update #endif comments.
22783         * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
22784         * posix/glob.h [__USE_MISC]: Likewise.
22785         * posix/sys/types.h: Update #endif comments.
22786         [__USE_MISC]: Remove redundant conditionals.
22787         * posix/sys/wait.h: Update #endif comments.
22788         [__USE_MISC]: Remove redundant conditionals.
22789         * posix/unistd.h: Update #endif comments.
22790         [__USE_MISC]: Remove redundant conditionals.
22791         * pwd/pwd.h [__USE_GNU]: Likewise.
22792         [__USE_MISC]: Likewise.
22793         * resolv/netdb.h [__USE_GNU]: Likewise.
22794         * signal/signal.h: Update #endif comments.
22795         [__USE_MISC]: Remove redundant conditionals.
22796         * stdlib/stdlib.h: Update #else and #endif comments.
22797         [__USE_MISC]: Remove redundant conditionals.
22798         [__USE_GNU]: Likewise.
22799         * string/bits/string2.h [__USE_MISC]: Likewise.
22800         * string/string.h: Update #endif comments.
22801         [__USE_MISC]: Remove redundant conditionals.
22802         * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
22803         Likewise.
22804         * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
22805         * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
22806         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
22807         Likewise.
22808         * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
22809         Likewise.
22810         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
22811         comments.
22812         [__USE_MISC]: Remove redundant conditionals.
22813         * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
22814         * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
22815         * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
22816         * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
22817         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
22818         Likewise.
22819         * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
22820         * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
22821         Likewise.
22822         * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
22823         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
22824         Likewise.
22825         * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
22826         Likewise.
22827         * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
22828         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
22829         Likewise.
22830         * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
22831         Likewise.
22832         * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
22833         * sysdeps/x86/bits/string.h: Update #endif comments.
22834         * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
22835         conditionals.
22836         * time/sys/time.h: Update #endif comments.
22837         * time/time.h: Likewise.
22838         [__USE_MISC]: Remove redundant conditionals.
22840 2014-02-21  Yury Gribov  <y.gribov@samsung.com>
22842         [BZ #16600]
22843         * sysdeps/arm/libm-test-ulps: Update for VFPv4.
22845 2014-02-21  Andreas Schwab  <schwab@linux-m68k.org>
22847         * Versions.def (librt): Add GLIBC_2.17.
22849 2014-02-21  Adam Conrad  <adconrad@0c3.net>
22851         * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
22852         synonym for _SYS_AUXV_H to allow direct inclusion.
22853         * sysdeps/sparc/bits/hwcap.h: Likewise.
22854         * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
22855         _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
22856         * sysdeps/sparc/sysdep.h: Likewise.
22858 2014-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
22860         * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
22862 2014-02-21  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
22864         * benchtests/bench-strrchr.c: Print length instead of position.
22866 2014-02-20  Joseph Myers  <joseph@codesourcery.com>
22868         [BZ #16611]
22869         * sysdeps/unix/sysv/linux/kernel-features.h
22870         [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
22871         (__ASSUME_SENDMMSG_SOCKETCALL): Define.
22872         [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
22873         __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
22874         Likewise.
22875         [__i386__ || __powerpc__ || __sh__ || __sparc__]
22876         (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
22877         [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
22878         (__ASSUME_SENDMMSG): Define instead of using previous
22879         [__LINUX_KERNEL_VERSION >= 0x020627] condition.
22880         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
22881         (__ASSUME_SENDMMSG_SYSCALL): Define.
22882         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
22883         [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
22884         Likewise.
22885         * sysdeps/unix/sysv/linux/arm/kernel-features.h
22886         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
22887         Likewise.
22888         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
22889         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
22890         Likewise.
22891         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
22892         && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
22893         !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
22894         [__ASSUME_SENDMMSG]: Change conditionals to
22895         [__ASSUME_SENDMMSG_SOCKETCALL].
22896         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
22897         [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
22898         Define.
22899         * sysdeps/unix/sysv/linux/mips/kernel-features.h
22900         [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
22901         Likewise.
22902         * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
22903         !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
22904         !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
22905         [!__ASSUME_SENDMMSG]: Change conditional to
22906         [!__ASSUME_SENDMMSG_SOCKETCALL].
22907         * sysdeps/unix/sysv/linux/tile/kernel-features.h
22908         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
22909         Define.
22911         [BZ #16610]
22912         * sysdeps/unix/sysv/linux/kernel-features.h
22913         [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
22914         (__ASSUME_RECVMMSG_SOCKETCALL): Define.
22915         [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
22916         __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
22917         || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
22918         [__i386__ || __sparc__]
22919         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
22920         [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
22921         (__ASSUME_RECVMMSG): Define instead of using previous
22922         [__LINUX_KERNEL_VERSION >= 0x020621] condition.
22923         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
22924         (__ASSUME_RECVMMSG_SYSCALL): Define.
22925         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
22926         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
22927         Likewise.
22928         * sysdeps/unix/sysv/linux/arm/kernel-features.h
22929         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
22930         Likewise.
22931         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
22932         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
22933         Likewise.
22934         * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
22935         && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
22936         !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
22937         [__ASSUME_RECVMMSG]: Change condition to
22938         [__ASSUME_RECVMMSG_SOCKETCALL].
22939         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
22940         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
22941         Define.
22942         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
22943         * sysdeps/unix/sysv/linux/mips/kernel-features.h
22944         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
22945         Likewise.
22946         * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
22947         !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
22948         !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
22949         [!__ASSUME_RECVMMSG]: Change condition to
22950         [!__ASSUME_RECVMMSG_SOCKETCALL].
22951         * sysdeps/unix/sysv/linux/tile/kernel-features.h
22952         (__ASSUME_RECVMMSG_SYSCALL): Define.
22954         [BZ #16609]
22955         * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
22956         __powerpc__ || __s390__ || __sh__ || __sparc__]
22957         (__ASSUME_SOCKETCALL): Define.
22958         [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
22959         (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
22960         [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
22961         || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
22962         __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
22963         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
22964         [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
22965         (__ASSUME_ACCEPT4): Define instead of using previous
22966         [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
22967         __powerpc__ || __sparc__ || __s390__)] condition.
22968         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
22969         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
22970         * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
22971         !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
22972         !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
22973         [!__ASSUME_ACCEPT4]: Change condition to
22974         [!__ASSUME_ACCEPT4_SOCKETCALL].
22975         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
22976         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.  Correct
22977         condition to [__LINUX_KERNEL_VERSION >= 0x030200].
22978         * sysdeps/unix/sysv/linux/arm/kernel-features.h
22979         [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
22980         __ASSUME_ACCEPT4_SYSCALL.
22981         * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
22982         Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
22983         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
22984         [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
22985         __ASSUME_ACCEPT4_SYSCALL.
22986         * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
22987         && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
22988         !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
22989         [__ASSUME_ACCEPT4]: Change condition to
22990         [__ASSUME_ACCEPT4_SOCKETCALL].
22991         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
22992         (__ASSUME_SOCKETCALL): Define.
22993         [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
22994         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
22995         (__ASSUME_SOCKETCALL): Define.
22996         (__ASSUME_ACCEPT4): Remove.
22997         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
22998         Define.
22999         * sysdeps/unix/sysv/linux/mips/kernel-features.h
23000         [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
23001         Likewise.
23002         * sysdeps/unix/sysv/linux/tile/kernel-features.h
23003         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
23005         * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
23006         macro.
23007         (HWCAP_ARM_LPAE): Likewise.
23008         (HWCAP_ARM_EVTSTRM): Likewise.
23009         * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
23010         Add vpfd32, lpae and evtstrm.
23011         * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
23012         Increase to 22.
23014 2014-02-19  Joseph Myers  <joseph@codesourcery.com>
23016         * math/auto-libm-test-in: Add tests of clog10.
23017         * math/auto-libm-test-out: Regenerated.
23018         * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
23019         * sysdeps/i386/fpu/libm-test-ulps: Update.
23020         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23022 2014-02-18  Andreas Schwab  <schwab@suse.de>
23024         [BZ #16574]
23025         * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
23026         Store non-zero if the second buffer was newly allocated.
23027         (send_dg): Likewise.
23028         (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
23029         to send_vc and send_dg.
23030         (res_nsend): Pass NULL for ansp2_malloced.
23031         * resolv/res_query.c (__libc_res_nquery): Add parameter
23032         answerp2_malloced and pass it down to __libc_res_nsend.
23033         (res_nquery): Pass additional NULL to __libc_res_nquery.
23034         (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
23035         down to __libc_res_nquery and __libc_res_nquerydomain.  Deallocate
23036         second answer buffer if answerp2_malloced was set.
23037         (res_nsearch): Pass additional NULL to __libc_res_nsearch.
23038         (__libc_res_nquerydomain): Add parameter
23039         answerp2_malloced and pass it down to __libc_res_nquery.
23040         (res_nquerydomain): Pass additional NULL to
23041         __libc_res_nquerydomain.
23042         * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
23043         additional NULL to __libc_res_nsend and __libc_res_nquery.
23044         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
23045         additional NULL to __libc_res_nsearch.
23046         (_nss_dns_gethostbyname4_r): Revert last change.  Use new
23047         parameter of __libc_res_nsearch to check for separately allocated
23048         second buffer.
23049         (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
23050         __libc_res_nquery.
23051         * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
23052         additional NULL to __libc_res_nquery.
23053         * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
23054         __libc_res_nsearch.
23055         (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
23056         * include/resolv.h: Update prototypes of __libc_res_nquery,
23057         __libc_res_nsearch, __libc_res_nsend.
23059 2014-02-18  Joseph Myers  <joseph@codesourcery.com>
23061         * math/auto-libm-test-in: Add tests of fma.
23062         * math/auto-libm-test-out: Regenerated.
23063         * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
23064         (fma_towardzero_test_data): Likewise.
23065         (fma_downward_test_data): Likewise.
23066         (fma_upward_test_data): Likewise.
23067         * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
23068         mpc_mode.
23069         (rounding_modes): Add values for new field.
23070         (func_calc_method): Add value mpfr_fff_f.
23071         (func_calc_desc): Add mpfr_fff_f union field.
23072         (test_function): Add field exact_args.
23073         (FUNC): Add macro argument EXACT_ARGS.
23074         (FUNC_mpfr_f_f): Update call to FUNC.
23075         (FUNC_mpfr_f_f): Likewise.
23076         (FUNC_mpfr_ff_f): Likewise.
23077         (FUNC_mpfr_if_f): Likewise.
23078         (FUNC_mpc_c_f): Likewise.
23079         (FUNC_mpc_c_c): Likewise.
23080         (test_functions): Add fma.  Update calls to FUNC.
23081         (handle_input_arg): Add argument exact_args.
23082         (add_test): Update call to handle_input_arg.
23083         (calc_generic_results): Add argument mode.  Handle mpfr_fff_f.
23084         (output_for_one_input_case): Update call to calc_generic_results.
23085         Recalculate exact zero results in each rounding mode.
23087         * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
23088         non-negative before setting low bit.
23089         * math/auto-libm-test-in: Mark one asin test possibly having
23090         spurious underflow.
23091         * math/auto-libm-test-out: Regenerated.
23092         * sysdeps/i386/fpu/libm-test-ulps: Update.
23093         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23095 2014-02-17  David Holsgrove <david.holsgrove@xilinx.com>
23097         * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
23098         * sysdeps/unix/sysv/linux/microblaze: Move directory from
23099         ports/sysdeps/unix/sysv/linux/microblaze.
23100         * README: Add missing listing for microblaze*-*-linux-gnu.
23102 2014-02-16  Ondřej Bílka  <neleai@seznam.cz>
23104         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Remove
23105         duplicate code
23107 2014-02-16  Mike Frysinger  <vapier@gentoo.org>
23109         * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
23110         * sysdeps/unix/sysv/linux/ia64: Move directory from
23111         ports/sysdeps/unix/sysv/linux/ia64.
23112         * README: Update listing for ia64-*-linux-gnu.
23114 2014-02-14  Tomas Dohnalek  <tdohnale@redhat.com>
23115             Joseph Myers  <joseph@codesourcery.com>
23117         * Makeconfig (test-name): New variable.
23118         (evaluate-test): Likewise.
23119         * Makerules (do-test-clean): Remove .test-result files.
23120         (common-mostlyclean): Likewise.
23121         * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
23122         * scripts/evaluate-test.sh: New file.
23124 2014-02-14  Joseph Myers  <joseph@codesourcery.com>
23126         * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
23127         separate $(objpfx)tst-fopenloc-cmp.out and
23128         $(objpfx)tst-fopenloc-mem.out targets.
23129         (tests): Update dependencies.
23130         * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
23131         (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
23132         tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
23133         (tst-rxspencer-no-utf8-ARGS): New variable.
23134         (tst-rxspencer-no-utf8-ENV): Likewise.
23135         (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
23136         instead of $(objpfx)tst-rxspencer-mem.
23137         ($(objpfx)tst-rxspencer-mem): Change target to
23138         $(objpfx)tst-rxspencer-no-utf8-mem.  Depend on
23139         $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
23140         * posix/tst-rxspencer-no-utf8.c: New file.
23142         * elf/Makefile ($(objpfx)order.out): Remove rule.
23143         [$(run-built-tests) = yes] (tests): Depend on
23144         $(objpfx)order-cmp.out.
23145         ($(objpfx)order-cmp.out): New rule.
23146         [$(run-built-tests) = yes] (tests): Depend on
23147         $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
23148         $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
23149         $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
23150         $(objpfx)tst-array5-static-cmp.out.
23151         ($(objpfx)tst-array1.out): Remove rule.
23152         ($(objpfx)tst-array1-cmp.out): New rule.
23153         ($(objpfx)tst-array1-static.out): Remove rule.
23154         ($(objpfx)tst-array1-static-cmp.out): New rule.
23155         ($(objpfx)tst-array2.out): Remove rule.
23156         ($(objpfx)tst-array2-cmp.out): New rule.
23157         ($(objpfx)tst-array3.out): Remove rule.
23158         ($(objpfx)tst-array3-cmp.out): New rule.
23159         ($(objpfx)tst-array4.out): Remove rule.
23160         ($(objpfx)tst-array4-cmp.out): New rule.
23161         ($(objpfx)tst-array5.out): Remove rule.
23162         ($(objpfx)tst-array5-cmp.out): New rule.
23163         ($(objpfx)tst-array5-static.out): Remove rule.
23164         ($(objpfx)tst-array5-static-cmp.out): New rule.
23165         [$(run-built-tests) = yes] (tests): Depend on
23166         $(objpfx)order2-cmp.out.
23167         ($(objpfx)order2.out): Remove rule.
23168         ($(objpfx)order2-cmp.out): New rule.
23169         ($(objpfx)tst-initorder.out): Remove rule.
23170         [$(run-built-tests) = yes] (tests): Depend on
23171         $(objpfx)tst-initorder-cmp.out.
23172         ($(objpfx)tst-initorder-cmp.out): New rule.
23173         ($(objpfx)tst-initorder2.out): Remove rule.
23174         [$(run-built-tests) = yes] (tests): Depend on
23175         $(objpfx)tst-initorder2-cmp.out.
23176         ($(objpfx)tst-initorder2-cmp.out): New rule.
23177         [$(run-built-tests) = yes] (tests): Depend on
23178         $(objpfx)tst-unused-dep-cmp.out.
23179         ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
23180         ($(objpfx)tst-unused-dep-cmp.out): New rule.
23181         * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
23182         on $(objpfx)tst-setvbuf1-cmp.out.
23183         ($(objpfx)tst-setvbuf1.out): Do not run cmp.
23184         ($(objpfx)tst-setvbuf1-cmp.out): New rule.
23185         * string/Makefile [$(run-built-tests) = yes] (tests): Depend
23186         $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
23187         ($(objpfx)tst-svc.out): Remove rule.
23188         ($(objpfx)tst-svc-cmp.out): New rule.
23190 2014-02-13  Joseph Myers  <joseph@codesourcery.com>
23192         * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
23193         * ctype/ctype.h [__USE_MISC]: Likewise.
23194         * dirent/dirent.h [__USE_MISC]: Likewise.
23195         * grp/grp.h [__USE_MISC]: Likewise.
23196         * io/fcntl.h [__USE_MISC]: Likewise.
23197         * io/sys/stat.h [__USE_MISC]: Likewise.
23198         * libio/stdio.h [__USE_MISC]: Likewise.
23199         * posix/unistd.h [__USE_MISC]: Likewise.
23200         * pwd/pwd.h [__USE_MISC]: Likewise.
23201         * stdlib.h [__USE_MISC]: Likewise.
23202         * string/bits/string2.h [__USE_MISC]: Likewise.
23203         * string/string.h [__USE_MISC]: Likewise.
23204         * time/time.h [__USE_MISC]: Likewise.
23206 2014-02-13  Andreas Schwab  <schwab@suse.de>
23208         [BZ #16574]
23209         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
23210         second answer buffer if it was separately allocated.
23212 2014-02-12  Joseph Myers  <joseph@codesourcery.com>
23214         * sysdeps/mips/math-tests.h: Include <features.h>.
23215         [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
23216         (ROUNDING_TESTS_long_double): Do not define.
23217         [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
23218         (EXCEPTION_TESTS_long_double): Likewise.
23219         * sysdeps/mips/mips64/libm-test-ulps: Update.
23221         * include/features.h (__USE_BSD): Remove macro definitions.
23222         (__USE_SVID): Likewise.
23223         (_BSD_SOURCE): Likewise.
23224         (_SVID_SOURCE): Likewise.
23225         [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
23226         from definition of _DEFAULT_SOURCE.
23227         [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
23228         [_DEFAULT_SOURCE].
23229         * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
23230         * bits/mman.h [__USE_BSD]: Likewise.
23231         * bits/termios.h [__USE_BSD]: Likewise.
23232         * bits/waitstatus.h [__USE_BSD]: Likewise.
23233         * ctype/ctype.h [__USE_SVID]: Likewise.
23234         * dirent/dirent.h [__USE_BSD]: Likewise.
23235         * grp/grp.h [__USE_SVID]: Likewise.
23236         [__USE_BSD]: Likewise.
23237         * inet/netinet/igmp.h [__USE_BSD]: Likewise.
23238         * io/fcntl.h [__USE_BSD]: Likewise.
23239         * io/ftw.h [__USE_BSD]: Likewise.
23240         * io/sys/stat.h [__USE_BSD]: Likewise.
23241         * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
23242         * libio/bits/stdio2.h [__USE_BSD]: Likewise.
23243         * libio/stdio.h [__USE_SVID]: Likewise.
23244         [__USE_BSD]: Likewise.
23245         * math/math.h [__USE_SVID]: Likewise.
23246         [__USE_BSD]: Likewise.
23247         * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
23248         * misc/bits/syslog.h [__USE_BSD]: Likewise.
23249         * misc/search.h [__USE_SVID]: Likewise.
23250         * misc/sys/mman.h [__USE_BSD]: Likewise.
23251         * misc/sys/syslog.h [__USE_BSD]: Likewise.
23252         * misc/sys/uio.h [__USE_BSD]: Likewise.
23253         * posix/bits/unistd.h [__USE_BSD]: Likewise.
23254         * posix/glob.h [__USE_BSD]: Likewise.
23255         * posix/regex.h [__USE_BSD]: Likewise.
23256         * posix/sys/types.h [__USE_BSD]: Likewise.
23257         [__USE_SVID]: Likewise.
23258         * posix/sys/utsname.h [__USE_SVID]: Likewise.
23259         * posix/sys/wait.h [__USE_BSD]: Likewise.
23260         [__USE_SVID]: Likewise.
23261         * posix/unistd.h [__USE_BSD]: Likewise.
23262         [__USE_SVID]: Likewise.
23263         * pwd/pwd.h [__USE_SVID]: Likewise.
23264         * resolv/netdb.h [__USE_BSD]: Likewise.
23265         * setjmp/setjmp.h [__USE_BSD]: Likewise.
23266         * signal/signal.h [__USE_BSD]: Likewise.
23267         [__USE_SVID]: Likewise.
23268         * socket/sys/socket.h [__USE_BSD]: Likewise.
23269         * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
23270         * stdlib/stdlib.h [__USE_BSD]: Likewise.
23271         [__USE_SVID]: Likewise.
23272         * string/bits/string2.h [__USE_BSD]: Likewise.
23273         [__USE_SVID]: Likewise.
23274         * string/bits/string3.h [__USE_BSD]: Likewise.
23275         * string/endian.h [__USE_BSD]: Likewise.
23276         * string/string.h [__USE_SVID]: Likewise.
23277         [__USE_BSD]: Likewise.
23278         * string/strings.h [__USE_BSD]: Likewise.
23279         * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
23280         * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
23281         * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
23282         * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
23283         * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
23284         * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
23285         Likewise.
23286         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
23287         Likewise.
23288         * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
23289         * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
23290         Likewise.
23291         * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
23292         * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
23293         Likewise.
23294         * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
23295         Likewise.
23296         * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
23297         * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
23298         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
23299         Likewise.
23300         * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
23301         Likewise.
23302         * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
23303         * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
23304         * termios/termios.h [__USE_BSD]: Likewise.
23305         * time/sys/time.h [__USE_BSD]: Likewise.
23306         * time/time.h [__USE_BSD]: Likewise.
23307         [__USE_SVID]: Likewise.
23309         * Makefile (subdir_targets): Remove subdir_lint.out.
23311         * stdio-common/Makefile (do-tst-unbputc): Remove target.
23312         (do-tst-printf): Likewise.
23313         (tests): Depend directly on $(objpfx)tst-unbputc.out and
23314         $(objpfx)tst-printf.out.
23316         * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
23318         * Makerules (check-abi-%): Change target to
23319         $(objpfx)check-abi-%.out.
23320         (check-abi target): Update dependencies.
23321         (check-abi-pattern variable): Redirect output of diff to $@.
23322         (check-abi variable): Likewise.
23323         * elf/Makefile (check-abi): Update dependencies.
23325         * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
23326         unused.
23327         (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
23328         value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
23329         subnormal range.
23330         (_FP_PACK_CANONICAL): Determine tininess based on rounding to
23331         normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
23332         value has largest subnormal exponent.
23333         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
23334         (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
23335         * sysdeps/aarch64/soft-fp/sfp-machine.h
23336         (_FP_TININESS_AFTER_ROUNDING): New macro.
23337         * sysdeps/alpha/soft-fp/sfp-machine.h
23338         (_FP_TININESS_AFTER_ROUNDING): Likewise.
23339         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
23340         Likewise.
23341         * sysdeps/mips/mips64/soft-fp/sfp-machine.h
23342         (_FP_TININESS_AFTER_ROUNDING): Likewise.
23343         * sysdeps/mips/soft-fp/sfp-machine.h
23344         (_FP_TININESS_AFTER_ROUNDING): Likewise.
23345         * sysdeps/powerpc/soft-fp/sfp-machine.h
23346         (_FP_TININESS_AFTER_ROUNDING): Likewise.
23347         * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
23348         Likewise.
23349         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
23350         (_FP_TININESS_AFTER_ROUNDING): Likewise.
23351         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
23352         (_FP_TININESS_AFTER_ROUNDING): Likewise.
23353         * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
23354         Likewise.
23356 2014-02-12  Dylan Alex Simon  <dylan@dylex.net>
23358         [BZ #16545]
23359         * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
23360         model 1.
23362 2014-02-12  Richard Henderson  <rth@redhat.com>
23364         * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
23365         * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
23366         * sysdeps/unix/sysv/linux/alpha: Move directory from
23367         ports/sysdeps/unix/sysv/linux/alpha.
23368         * README: Update listing for alpha-*-linux-gnu.
23370 2014-02-11  Joseph Myers  <joseph@codesourcery.com>
23372         * include/features.h: Update comment documenting feature test
23373         macros.
23374         [_BSD_SOURCE || _SVID_SOURCE]: Give #warning.  Define
23375         _DEFAULT_SOURCE.
23376         * manual/creature.texi (_BSD_SOURCE): Remove documentation.
23377         (_SVID_SOURCE): Likewise.
23378         (_DEFAULT_SOURCE): Update description of default features.
23379         (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
23380         with _GNU_SOURCE.
23381         * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
23382         (S_ISVTX): Likewise.
23383         * manual/math.texi (Mathematical Constants): Likewise.
23384         * manual/signal.texi (Interrupted Primitives): Likewise.
23385         * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
23386         * math/test-matherr.c (_SVID_SOURCE): Do not define.
23387         * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
23388         Don't refer to _SVID_SOURCE in warning text.
23390         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
23392         * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
23393         already defined.
23394         (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
23395         * sysdeps/mips/dl-lookup.c: Remove.
23396         * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
23398 2014-02-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
23400         [BZ #16447]
23401         * math/auto-libm-test-in: Add testcase for expl.
23402         * math/auto-libm-test-out: Regenerate.
23403         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
23404         calculation of unsafe.
23405         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
23407 2014-02-11  Marcus Shawcroft  <marcus.shawcroft@arm.com>
23409         * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
23410         * sysdeps/unix/sysv/linux/aarch64: Move directory from
23411         ports/sysdeps/unix/sysv/linux/aarch64.
23412         * README: Update listing for aarch64*-*-linux-gnu.
23414 2014-02-11  Will Newton  <will.newton@linaro.org>
23416         * manual/probes.texi (Mathematical Function Probes): Use
23417         "triggered" instead of "hit".
23419         * manual/probes.texi (Internal Probes): Add documentation
23420         of setjmp, longjmp and longjmp_target probes.
23422         * include/stap-probe.h: Add comment about probe argument
23423         format.
23425         * malloc/mtrace.c (attribute_hidden): Remove unused macro
23426         definition.  (tr_where, tr_freehook, tr_mallochook,
23427         tr_reallochook, tr_memalignhook): Use ANSI protoype.
23429 2014-02-11  David S. Miller  <davem@davemloft.net>
23431         * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
23432         processing int_tests.
23434 2014-02-10  Joseph Myers  <joseph@codesourcery.com>
23436         * sysdeps/mips: Move directory from ports/sysdeps/mips.
23437         * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
23438         * sysdeps/unix/sysv/linux/mips: Move directory from
23439         ports/sysdeps/unix/sysv/linux/mips.
23440         * README: Update listing for mips-*-linux-gnu and
23441         mips64-*-linux-gnu.
23443 2014-02-10  Andreas Schwab  <schwab@linux-m68k.org>
23445         * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
23446         * sysdeps/unix/sysv/linux/m68k: Move directory from
23447         ports/sysdeps/unix/sysv/linux/m68k.
23448         * README: Update listing for m68k-*-linux-gnu.
23450 2014-02-10  Chris Metcalf  <cmetcalf@tilera.com>
23452         * sysdeps/tile: Move directory from ports/sysdeps/tile.
23453         * sysdeps/unix/sysv/linux/generic: Move directory from
23454         ports/sysdeps/unix/sysv/linux/generic.
23455         * sysdeps/unix/sysv/linux/tile: Move directory from
23456         ports/sysdeps/unix/sysv/linux/tile.
23457         * README: Update listing for tile*-*-linux-gnu.
23459 2014-02-10  Ondřej Bílka  <neleai@seznam.cz>
23461         * assert/assert.c (__assert_fail_base): Use glibc_likely instead
23462         __builtin_expect.
23463         * benchtests/bench-memmem.c (simple_memmem): Likewise.
23464         * catgets/open_catalog.c (__open_catalog): Likewise.
23465         * csu/libc-start.c (LIBC_START_MAIN): Likewise.
23466         * debug/confstr_chk.c: Likewise.
23467         * debug/fread_chk.c (__fread_chk): Likewise.
23468         * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
23469         * debug/getgroups_chk.c: Likewise.
23470         * debug/mbsnrtowcs_chk.c: Likewise.
23471         * debug/mbsrtowcs_chk.c: Likewise.
23472         * debug/mbstowcs_chk.c: Likewise.
23473         * debug/memcpy_chk.c: Likewise.
23474         * debug/memmove_chk.c: Likewise.
23475         * debug/mempcpy_chk.c: Likewise.
23476         * debug/memset_chk.c: Likewise.
23477         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
23478         * debug/strcat_chk.c (__strcat_chk): Likewise.
23479         * debug/strcpy_chk.c (__strcpy_chk): Likewise.
23480         * debug/strncat_chk.c (__strncat_chk): Likewise.
23481         * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
23482         * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
23483         * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
23484         * debug/wcpncpy_chk.c: Likewise.
23485         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
23486         * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
23487         * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
23488         * debug/wcsncpy_chk.c: Likewise.
23489         * debug/wcsnrtombs_chk.c: Likewise.
23490         * debug/wcsrtombs_chk.c: Likewise.
23491         * debug/wcstombs_chk.c: Likewise.
23492         * debug/wmemcpy_chk.c: Likewise.
23493         * debug/wmemmove_chk.c: Likewise.
23494         * debug/wmempcpy_chk.c: Likewise.
23495         * debug/wmemset_chk.c: Likewise.
23496         * dirent/scandirat.c (SCANDIRAT): Likewise.
23497         * dlfcn/dladdr1.c (dladdr1): Likewise.
23498         * dlfcn/dladdr.c (dladdr): Likewise.
23499         * dlfcn/dlclose.c (dlclose_doit): Likewise.
23500         * dlfcn/dlerror.c (__dlerror): Likewise.
23501         * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
23502         * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
23503         * dlfcn/dlopen.c (dlopen_doit): Likewise.
23504         * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
23505         * dlfcn/dlsym.c (dlsym_doit): Likewise.
23506         * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
23507         * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
23508         * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
23509         Likewise.
23510         * elf/dl-conflict.c: Likewise.
23511         * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
23512         * elf/dl-dst.h: Likewise.
23513         * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
23514         * elf/dl-fptr.c (_dl_make_fptr): Likewise.
23515         * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
23516         * elf/dl-init.c (call_init, _dl_init): Likewise.
23517         * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
23518         * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths)
23519         (_dl_map_object_from_fd, open_verify, open_path, _dl_map_object):
23520         Likewise.
23521         * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
23522         Likewise.
23523         * elf/dl-minimal.c (__libc_memalign): Likewise.
23524         * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
23525         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
23526         * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
23527         * elf/dl-sym.c (do_sym): Likewise.
23528         * elf/dl-tls.c (tls_get_addr_tail, update_get_addr)
23529         (__tls_get_addr, _dl_tls_get_addr_soft): Likewise.
23530         * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
23531         * elf/dl-writev.h (_dl_writev): Likewise.
23532         * elf/ldconfig.c (search_dir): Likewise.
23533         * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload)
23534         (dl_main): Likewise.
23535         * elf/setup-vdso.h (setup_vdso): Likewise.
23536         * grp/compat-initgroups.c (compat_call): Likewise.
23537         * grp/fgetgrent.c (fgetgrent): Likewise.
23538         * grp/initgroups.c (getgrouplist, initgroups): Likewise.
23539         * grp/putgrent.c (putgrent): Likewise.
23540         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
23541         Likewise.
23542         * hurd/hurdinit.c: Likewise.
23543         * iconvdata/8bit-gap.c (struct): Likewise.
23544         * iconvdata/ansi_x3.110.c : Likewise.
23545         * iconvdata/big5.c : Likewise.
23546         * iconvdata/big5hkscs.c : Likewise.
23547         * iconvdata/cp1255.c: Likewise.
23548         * iconvdata/cp1258.c : Likewise.
23549         * iconvdata/cp932.c : Likewise.
23550         * iconvdata/euc-cn.c: Likewise.
23551         * iconvdata/euc-jisx0213.c : Likewise.
23552         * iconvdata/euc-jp.c: Likewise.
23553         * iconvdata/euc-jp-ms.c : Likewise.
23554         * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
23555         * iconvdata/gb18030.c : Likewise.
23556         * iconvdata/gbbig5.c (const): Likewise.
23557         * iconvdata/gbgbk.c: Likewise.
23558         * iconvdata/gbk.c : Likewise.
23559         * iconvdata/ibm1364.c : Likewise.
23560         * iconvdata/ibm930.c : Likewise.
23561         * iconvdata/ibm932.c: Likewise.
23562         * iconvdata/ibm933.c : Likewise.
23563         * iconvdata/ibm935.c : Likewise.
23564         * iconvdata/ibm937.c : Likewise.
23565         * iconvdata/ibm939.c : Likewise.
23566         * iconvdata/ibm943.c: Likewise.
23567         * iconvdata/iso_11548-1.c: Likewise.
23568         * iconvdata/iso-2022-cn.c : Likewise.
23569         * iconvdata/iso-2022-cn-ext.c : Likewise.
23570         * iconvdata/iso-2022-jp-3.c: Likewise.
23571         * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
23572         * iconvdata/iso-2022-kr.c : Likewise.
23573         * iconvdata/iso646.c (gconv_end): Likewise.
23574         * iconvdata/iso_6937-2.c : Likewise.
23575         * iconvdata/iso_6937.c : Likewise.
23576         * iconvdata/iso8859-1.c: Likewise.
23577         * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
23578         * iconvdata/shift_jisx0213.c : Likewise.
23579         * iconvdata/sjis.c : Likewise.
23580         * iconvdata/t.61.c : Likewise.
23581         * iconvdata/tcvn5712-1.c : Likewise.
23582         * iconvdata/tscii.c: Likewise.
23583         * iconvdata/uhc.c : Likewise.
23584         * iconvdata/unicode.c (gconv_end): Likewise.
23585         * iconvdata/utf-16.c (gconv_end): Likewise.
23586         * iconvdata/utf-32.c (gconv_end): Likewise.
23587         * iconvdata/utf-7.c (base64): Likewise.
23588         * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
23589         * iconv/gconv_close.c (__gconv_close): Likewise.
23590         * iconv/gconv_open.c (__gconv_open): Likewise.
23591         * iconv/gconv_simple.c (internal_ucs4_loop_single)
23592         (ucs4_internal_loop, ucs4_internal_loop_unaligned)
23593         (ucs4_internal_loop_single, internal_ucs4le_loop_single)
23594         (ucs4le_internal_loop, ucs4le_internal_loop_unaligned)
23595         (ucs4le_internal_loop_single): Likewise.
23596         * iconv/iconv.c (iconv): Likewise.
23597         * iconv/iconv_close.c: Likewise.
23598         * iconv/loop.c (SINGLE): Likewise.
23599         * iconv/skeleton.c (FUNCTION_NAME): Likewise.
23600         * include/atomic.h: Likewise.
23601         * inet/inet6_option.c (option_alloc): Likewise.
23602         * intl/bindtextdom.c (set_binding_values): Likewise.
23603         * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
23604         * intl/loadmsgcat.c (_nl_load_domain): Likewise.
23605         * intl/localealias.c (read_alias_file): Likewise.
23606         * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
23607         * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap)
23608         (_IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
23609         * libio/fmemopen.c (fmemopen): Likewise.
23610         * libio/iofgets.c (_IO_fgets): Likewise.
23611         * libio/iofgets_u.c (fgets_unlocked): Likewise.
23612         * libio/iofgetws.c (fgetws): Likewise.
23613         * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
23614         * libio/iogetdelim.c (_IO_getdelim): Likewise.
23615         * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap)
23616         (adjust_wide_data, _IO_wfile_seekoff): Likewise.
23617         * locale/findlocale.c (_nl_find_locale): Likewise.
23618         * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
23619         * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
23620         Likewise.
23621         * locale/setlocale.c (setlocale): Likewise.
23622         * login/programs/pt_chown.c (main): Likewise.
23623         * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
23624         * malloc/malloc.c (_int_malloc, _int_free): Likewise.
23625         * malloc/memusage.c (update_data, malloc, realloc, calloc, free)
23626         (mmap, mmap64, mremap, munmap): Likewise.
23627         * math/e_exp2l.c: Likewise.
23628         * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
23629         * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
23630         * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
23631         * math/s_catan.c (__catan): Likewise.
23632         * math/s_catanf.c (__catanf): Likewise.
23633         * math/s_catanh.c (__catanh): Likewise.
23634         * math/s_catanhf.c (__catanhf): Likewise.
23635         * math/s_catanhl.c (__catanhl): Likewise.
23636         * math/s_catanl.c (__catanl): Likewise.
23637         * math/s_ccosh.c (__ccosh): Likewise.
23638         * math/s_ccoshf.c (__ccoshf): Likewise.
23639         * math/s_ccoshl.c (__ccoshl): Likewise.
23640         * math/s_cexp.c (__cexp): Likewise.
23641         * math/s_cexpf.c (__cexpf): Likewise.
23642         * math/s_cexpl.c (__cexpl): Likewise.
23643         * math/s_clog10.c (__clog10): Likewise.
23644         * math/s_clog10f.c (__clog10f): Likewise.
23645         * math/s_clog10l.c (__clog10l): Likewise.
23646         * math/s_clog.c (__clog): Likewise.
23647         * math/s_clogf.c (__clogf): Likewise.
23648         * math/s_clogl.c (__clogl): Likewise.
23649         * math/s_csin.c (__csin): Likewise.
23650         * math/s_csinf.c (__csinf): Likewise.
23651         * math/s_csinh.c (__csinh): Likewise.
23652         * math/s_csinhf.c (__csinhf): Likewise.
23653         * math/s_csinhl.c (__csinhl): Likewise.
23654         * math/s_csinl.c (__csinl): Likewise.
23655         * math/s_csqrt.c (__csqrt): Likewise.
23656         * math/s_csqrtf.c (__csqrtf): Likewise.
23657         * math/s_csqrtl.c (__csqrtl): Likewise.
23658         * math/s_ctan.c (__ctan): Likewise.
23659         * math/s_ctanf.c (__ctanf): Likewise.
23660         * math/s_ctanh.c (__ctanh): Likewise.
23661         * math/s_ctanhf.c (__ctanhf): Likewise.
23662         * math/s_ctanhl.c (__ctanhl): Likewise.
23663         * math/s_ctanl.c (__ctanl): Likewise.
23664         * math/w_pow.c: Likewise.
23665         * math/w_powf.c: Likewise.
23666         * math/w_powl.c: Likewise.
23667         * math/w_scalb.c (sysv_scalb): Likewise.
23668         * math/w_scalbf.c (sysv_scalbf): Likewise.
23669         * math/w_scalbl.c (sysv_scalbl): Likewise.
23670         * misc/error.c (error_tail): Likewise.
23671         * misc/pselect.c (__pselect): Likewise.
23672         * nis/nis_callback.c (__nis_create_callback): Likewise.
23673         * nis/nis_call.c (__nisfind_server): Likewise.
23674         * nis/nis_creategroup.c (nis_creategroup): Likewise.
23675         * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
23676         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
23677         * nis/nis_getservlist.c (nis_getservlist): Likewise.
23678         * nis/nis_lookup.c (nis_lookup): Likewise.
23679         * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
23680         * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry)
23681         (nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
23682         * nis/nis_xdr.c (xdr_endpoint): Likewise.
23683         * nis/nss_compat/compat-grp.c (getgrent_next_file)
23684         (internal_getgrnam_r, internal_getgrgid_r): Likewise.
23685         * nis/nss_compat/compat-initgroups.c (add_group)
23686         (internal_getgrent_r): Likewise.
23687         * nis/nss_compat/compat-pwd.c (getpwent_next_file)
23688         (internal_getpwnam_r, internal_getpwuid_r): Likewise.
23689         * nis/nss_compat/compat-spwd.c (getspent_next_file)
23690         (internal_getspnam_r): Likewise.
23691         * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r)
23692         (_nss_nis_getaliasbyname_r): Likewise.
23693         * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r)
23694         (_nss_nis_getntohost_r): Likewise.
23695         * nis/nss_nis/nis-grp.c (internal_nis_setgrent)
23696         (internal_nis_getgrent_r, _nss_nis_getgrnam_r)
23697         (_nss_nis_getgrgid_r): Likewise.
23698         * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent)
23699         (internal_nis_gethostent_r, internal_gethostbyname2_r)
23700         (_nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r)
23701         (_nss_nis_gethostbyname4_r): Likewise.
23702         * nis/nss_nis/nis-initgroups.c (internal_getgrent_r)
23703         (initgroups_netid): Likewise.
23704         * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
23705         * nis/nss_nis/nis-network.c (internal_nis_getnetent_r)
23706         (_nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
23707         * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r)
23708         (_nss_nis_getprotobynumber_r): Likewise.
23709         * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey)
23710         (_nss_nis_getsecretkey): Likewise.
23711         * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent)
23712         (internal_nis_getpwent_r, _nss_nis_getpwnam_r)
23713         (_nss_nis_getpwuid_r): Likewise.
23714         * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r)
23715         (_nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
23716         * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r)
23717         (_nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
23718         * nis/nss_nis/nis-spwd.c (_nss_nis_setspent)
23719         (internal_nis_getspent_r, _nss_nis_getspnam_r): Likewise.
23720         * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
23721         Likewise.
23722         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r)
23723         (_nss_nisplus_getntohost_r): Likewise.
23724         * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r)
23725         (_nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
23726         * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r)
23727         (_nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r):
23728         Likewise.
23729         * nis/nss_nisplus/nisplus-initgroups.c
23730         (_nss_nisplus_initgroups_dyn): Likewise.
23731         * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r)
23732         (_nss_nisplus_getnetbyaddr_r): Likewise.
23733         * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r)
23734         (_nss_nisplus_getprotobynumber_r): Likewise.
23735         * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r)
23736         (_nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
23737         * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
23738         Likewise.
23739         * nis/nss_nisplus/nisplus-service.c
23740         (internal_nisplus_getservent_r, _nss_nisplus_getservbyname_r)
23741         (_nss_nisplus_getservbyport_r): Likewise.
23742         * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r)
23743         (_nss_nisplus_getspnam_r): Likewise.
23744         * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist):
23745         Likewise.
23746         * nscd/aicache.c (addhstaiX): Likewise.
23747         * nscd/cache.c (cache_search, prune_cache): Likewise.
23748         * nscd/connections.c (register_traced_file, send_ro_fd)
23749         (handle_request, nscd_run_prune, nscd_run_worker, fd_ready)
23750         (main_loop_epoll): Likewise.
23751         * nscd/grpcache.c (addgrbyX): Likewise.
23752         * nscd/hstcache.c (addhstbyX): Likewise.
23753         * nscd/initgrcache.c (addinitgroupsX): Likewise.
23754         * nscd/mem.c (gc, mempool_alloc): Likewise.
23755         * nscd/netgroupcache.c (do_notfound, addgetnetgrentX)
23756         (addinnetgrX): Likewise.
23757         * nscd/nscd-client.h (__nscd_acquire_maplock)
23758         (__nscd_drop_map_ref): Likewise.
23759         * nscd/nscd_getai.c (__nscd_getai): Likewise.
23760         * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
23761         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
23762         Likewise.
23763         * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
23764         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
23765         * nscd/nscd_helper.c (__readvall, open_socket, __nscd_get_mapping)
23766         (__nscd_get_map_ref): Likewise.
23767         * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
23768         * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr):
23769         Likewise.
23770         * nscd/pwdcache.c (addpwbyX): Likewise.
23771         * nscd/selinux.c (preserve_capabilities): Likewise.
23772         * nscd/servicescache.c (addservbyX): Likewise.
23773         * nss/nss_files/files-XXX.c (internal_getent): Likewise.
23774         * posix/fnmatch.c (fnmatch): Likewise.
23775         * posix/getopt.c (_getopt_internal_r): Likewise.
23776         * posix/glob.c (glob, glob_in_dir): Likewise.
23777         * posix/wordexp.c (exec_comm_child): Likewise.
23778         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r)
23779         (getanswer_r, gaih_getanswer_slice): Likewise.
23780         * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
23781         * resolv/res_init.c: Likewise.
23782         * resolv/res_mkquery.c (res_nmkquery): Likewise.
23783         * resolv/res_query.c (__libc_res_nquery): Likewise.
23784         * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
23785         Likewise.
23786         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
23787         * stdio-common/perror.c (perror): Likewise.
23788         * stdio-common/printf_fp.c (___printf_fp): Likewise.
23789         * stdio-common/tmpnam.c (tmpnam): Likewise.
23790         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
23791         * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
23792         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
23793         Likewise.
23794         * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
23795         * stdlib/putenv.c (putenv): Likewise.
23796         * stdlib/setenv.c (__add_to_environ): Likewise.
23797         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
23798         * stdlib/strtol_l.c (INTERNAL): Likewise.
23799         * string/memmem.c (memmem): Likewise.
23800         * string/strerror.c (strerror): Likewise.
23801         * string/strnlen.c (__strnlen): Likewise.
23802         * string/test-memmem.c (simple_memmem): Likewise.
23803         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
23804         * sunrpc/pm_getport.c (__get_socket): Likewise.
23805         * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
23806         * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
23807         * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup)
23808         (elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
23809         Likewise.
23810         * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
23811         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
23812         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
23813         * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
23814         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
23815         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1):
23816         Likewise.
23817         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn):
23818         Likewise.
23819         * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
23820         * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
23821         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
23822         * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
23823         * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
23824         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
23825         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
23826         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
23827         * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
23828         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
23829         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
23830         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
23831         Likewise.
23832         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
23833         Likewise.
23834         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
23835         Likewise.
23836         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
23837         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
23838         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
23839         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
23840         * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
23841         * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
23842         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
23843         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
23844         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
23845         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
23846         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
23847         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
23848         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
23849         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
23850         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
23851         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
23852         Likewise.
23853         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
23854         Likewise.
23855         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
23856         Likewise.
23857         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
23858         Likewise.
23859         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
23860         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
23861         * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
23862         Likewise.
23863         * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
23864         * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
23865         * sysdeps/posix/opendir.c (__opendirat): Likewise.
23866         * sysdeps/posix/sleep.c: Likewise.
23867         * sysdeps/posix/tempname.c: Likewise.
23868         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
23869         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
23870         Likewise.
23871         * sysdeps/powerpc/powerpc32/dl-machine.h
23872         (elf_machine_runtime_setup, elf_machine_rela): Likewise.
23873         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
23874         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
23875         * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
23876         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
23877         Likewise.
23878         * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
23879         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup)
23880         (elf_machine_rela, elf_machine_lazy_rel): Likewise.
23881         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup)
23882         (elf_machine_rela, elf_machine_lazy_rel): Likewise.
23883         * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
23884         * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
23885         * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
23886         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
23887         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
23888         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela)
23889         (elf_machine_lazy_rel): Likewise.
23890         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
23891         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela)
23892         (elf_machine_lazy_rel): Likewise.
23893         * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
23894         * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
23895         * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
23896         * sysdeps/unix/grantpt.c (grantpt): Likewise.
23897         * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
23898         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
23899         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
23900         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
23901         Likewise.
23902         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
23903         * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
23904         * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
23905         * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
23906         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
23907         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
23908         * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
23909         * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
23910         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
23911         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
23912         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
23913         Likewise.
23914         * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
23915         (__posix_fallocate64_l64): Likewise.
23916         * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
23917         (posix_fallocate): Likewise.
23918         * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
23919         Likewise.
23920         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
23921         * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request)
23922         (getifaddrs_internal): Likewise.
23923         * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
23924         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
23925         * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
23926         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
23927         * sysdeps/unix/sysv/linux/posix_fallocate64.c
23928         (__posix_fallocate64_l64): Likewise.
23929         * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
23930         Likewise.
23931         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
23932         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
23933         (__get_clockfreq): Likewise.
23934         * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
23935         * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
23936         * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
23937         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
23938         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
23939         * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
23940         * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
23941         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
23942         Likewise.
23943         * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
23944         * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
23945         * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
23946         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
23947         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
23948         * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
23949         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
23950         Likewise.
23951         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
23952         (posix_fallocate): Likewise.
23953         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
23954         * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
23955         * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
23956         * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup)
23957         (elf_machine_rela, elf_machine_rela_relative)
23958         (elf_machine_lazy_rel): Likewise.
23959         * time/asctime.c (asctime_internal): Likewise.
23960         * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
23961         * time/tzset.c (__tzset_parse_tz): Likewise.
23962         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
23963         * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
23964         * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
23965         * wcsmbs/wcsmbsload.h: Likewise.
23967         [BZ #15894]
23968         * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
23970         * malloc/arena.c (grow_heap, get_free_list, reused_arena)
23971         (arena_get2): Remove THREAD_STATS conditionals.
23972         * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free)
23973         (__malloc_stats, int): Likewise.
23975 2014-02-08  Mike Frysinger  <vapier@gentoo.org>
23977         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
23978         f.f_type to RAMFS_MAGIC too.  Compare mp->mnt_type to shm too.
23980         * manual/setjmp.texi: Fix typos/grammar errors.
23982         * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
23983         Only return early when n is <= 0.  Delete unused return statement.
23985         * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
23986         (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
23987         * debug/tst-longjmp_chk3.c: New file.
23989         * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
23990         (test_main): Replace code with set_fortify_handler call.
23991         * debug/test-strcpy_chk.c: Likewise.
23992         * debug/tst-chk1.c: Likewise.
23993         * debug/tst-longjmp_chk.c: Likewise.
23994         * test-skeleton.c: Include fcntl.h & paths.h
23995         (set_fortify_handler): Define.
23997         * debug/tst-longjmp_chk.c: Add header comment and include
23998         ../test-skeleton.c.
23999         (do_test): Mark static.
24000         (TEST_FUNCTION): Define.
24002         * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
24003         (IP_PMTUDISC_INTERFACE): Likewise.
24004         (IP_MULTICAST_IF): Likewise.
24005         (IP_MULTICAST_TTL): Likewise.
24006         (IP_MULTICAST_LOOP): Likewise.
24007         (IP_ADD_MEMBERSHIP): Likewise.
24008         (IP_DROP_MEMBERSHIP): Likewise.
24009         (IP_UNBLOCK_SOURCE): Likewise.
24010         (IP_BLOCK_SOURCE): Likewise.
24011         (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
24012         (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
24013         (IP_MSFILTER): Likewise.
24014         (MCAST_JOIN_GROUP): Likewise.
24015         (MCAST_BLOCK_SOURCE): Likewise.
24016         (MCAST_UNBLOCK_SOURCE): Likewise.
24017         (MCAST_LEAVE_GROUP): Likewise.
24018         (MCAST_JOIN_SOURCE_GROUP): Likewise.
24019         (MCAST_LEAVE_SOURCE_GROUP): Likewise.
24020         (MCAST_MSFILTER): Likewise.
24021         (IP_MULTICAST_ALL): Likewise.
24022         (IP_UNICAST_IF): Likewise.
24024         * timezone/Makefile: Delete $(have-ksh) check.
24025         ($(objpfx)tzselect): Change $(KSH) to $(BASH).
24026         * timezone/tzselect.ksh: Add +x mode bits.
24028         * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
24029         (ANON_INODE_FS_MAGIC): Likewise.
24030         (BDEVFS_MAGIC): Likewise.
24031         (BINFMTFS_MAGIC): Likewise.
24032         (BTRFS_TEST_MAGIC): Likewise.
24033         (CRAMFS_MAGIC_WEND): Likewise.
24034         (DEBUGFS_MAGIC): Likewise.
24035         (ECRYPTFS_SUPER_MAGIC): Likewise.
24036         (EXT3_SUPER_MAGIC): Likewise.
24037         (EXT4_SUPER_MAGIC): Likewise.
24038         (FUTEXFS_SUPER_MAGIC): Likewise.
24039         (HOSTFS_SUPER_MAGIC): Likewise.
24040         (HUGETLBFS_MAGIC): Likewise.
24041         (MINIX3_SUPER_MAGIC): Likewise.
24042         (MTD_INODE_FS_MAGIC): Likewise.
24043         (NILFS_SUPER_MAGIC): Likewise.
24044         (OPENPROM_SUPER_MAGIC): Likewise.
24045         (PIPEFS_MAGIC): Likewise.
24046         (PSTOREFS_MAGIC): Likewise.
24047         (QNX6_SUPER_MAGIC): Likewise.
24048         (RAMFS_MAGIC): Likewise.
24049         (REISERFS_SUPER_MAGIC_STRING): Likewise.
24050         (REISER2FS_SUPER_MAGIC_STRING): Likewise.
24051         (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
24052         (SECURITYFS_MAGIC): Likewise.
24053         (SELINUX_MAGIC): Likewise.
24054         (SMACK_MAGIC): Likewise.
24055         (SOCKFS_MAGIC): Likewise.
24056         (SQUASHFS_MAGIC): Likewise.
24057         (STACK_END_MAGIC): Likewise.
24058         (TMPFS_MAGIC): Likewise.
24059         (USBDEVICE_SUPER_MAGIC): Likewise.
24060         (V9FS_MAGIC): Likewise.
24061         (XENFS_SUPER_MAGIC): Likewise.
24062         (CRAMFS_MAGIC): Fix typo in comment.
24063         (EXT2_SUPER_MAGIC): Update comment.
24064         (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
24066 2014-02-08  Joseph Myers  <joseph@codesourcery.com>
24068         * sysdeps/arm: Move directory from ports/sysdeps/arm.
24069         * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
24070         * sysdeps/unix/sysv/linux/arm: Move directory from
24071         ports/sysdeps/unix/sysv/linux/arm.
24072         * README: Update listing for arm-*-linux-gnueabi.
24074         * README: Remove mention of am33.
24076 2014-02-07  Roland McGrath  <roland@hack.frob.com>
24078         * bits/sigset.h (__sigemptyset): Use a statement expression rather
24079         than the comma operator, to avoid "rhs of comma has no effect"
24080         compiler warnings.
24081         (__sigfillset, __sigandset, __sigorset): Likewise.
24082         * include/signal.h (__sigemptyset): Likewise.
24083         * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
24085 2014-02-07  Allan McRae  <allan@archlinux.org>
24087         * version.h (RELEASE): Set to "development".
24088         (VERSION): Set to "2.19.90"
24089         * NEWS: Add 2.20 section.
24091 2014-02-06  Carlos O'Donell  <carlos@redhat.com>
24093         [BZ #16529]
24094         * inet/netinet/in.h: Remove comma after IPPROTO_MH.
24096 2014-02-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
24098         * manual/contrib.texi: Update entry for Carlos O'Donell,
24099         Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
24101 2014-02-05  Carlos O'Donell  <carlos@rehdat.com>
24103         * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
24105         * sysdeps/unix/sysv/linux/kernel-features.h
24106         [__LINUX_KERNEL_VERSION >= 0x020621]
24107         (__ASSUME_PROC_PID_TASK_COMM): Define.
24109 2014-02-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
24111         [BZ #16398]
24112         * libio/wfileops.c (_IO_wfile_seekoff): Break out form
24113         conversion when destination buffer does not have enough space.
24114         * libio/tst-ftell-partial-wide.c: New test case.
24115         * libio/Makefile (tests): Add tst-ftell-partial-wide.
24117         * manual/contrib.texi: Update entry for Ondrej Bilka, Will
24118         Newton and Alexandre Oliva.  Add entries for Steve Ellcey, Chris
24119         Leonard and Allan McRae.
24121 2014-02-04  David S. Miller  <davem@davemloft.net>
24123         * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
24124         32-bit.
24126 2014-02-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24128         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
24129         New file
24130         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
24131         New file
24132         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
24133         New file.
24134         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
24135         New file.
24136         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
24137         New file.
24138         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
24139         New file.
24140         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
24141         New file.
24142         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
24143         New file.
24144         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
24145         New file.
24146         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
24147         New file.
24148         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
24149         New file.
24150         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
24151         New file.
24152         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
24153         New file.
24155 2014-02-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24157         * nptl/shlib-versions: Change powerpc*le start to 2.17.
24158         * shlib-versions: Likewise.
24160 2014-02-04  Roland McGrath  <roland@hack.frob.com>
24161             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24163         * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
24164         (abilist-pattern): New variable, set to %-le.abilist.
24166         * Makerules (abilist-pattern): New variable.
24167         (vpath): Use $(abilist-pattern) in place of %.abilist.
24168         (check-abi-% pattern rule): Likewise.
24169         (check-abi, update-abi): Likewise.
24171 2014-02-04  Eric Wong  <normalperson@yhbt.net>
24173         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
24175 2014-02-03  Carlos O'Donell  <carlos@redhat.com>
24177         * manual/startup.texi: Add next, previous, and top entries for
24178         the `Program Arguments' and `Environment Variables' nodes.
24180 2014-02-03  Alexandre Oliva <aoliva@redhat.com>
24182         * manual/macros.texi: Add comments before MTASC-safety macros.
24184         * manual/users.texi: Document MTASC-safety properties.
24186         * manual/threads.texi (pthread_key_create, pthread_key_delete)
24187         (pthread_getspecific, pthread_setspecific): Format with
24188         @deftypefun, and add @safety note.
24189         * manual/signal.texi: Move comments that analyze the above
24190         functions to their home place.
24192 2014-02-03  Allan McRae  <allan@archlinux.org>
24194         * po/sl.po: Update Slovenian translation from translation project.
24196 2014-02-02  Alexandre Oliva <aoliva@redhat.com>
24198         * manual/time.texi (timegm): Add missing blank after @c.
24199         Reported by Joseph Myers <joseph@codesourcery.com>.
24201 2014-02-01  Alexandre Oliva <aoliva@redhat.com>
24203         * manual/check-safety.sh: New.
24204         * manual/Makefile ($(objpfx)stamp-summary): Run it.
24206         * manual/terminal.texi: Document MTASC-safety properties.
24208         * manual/filesys.texi: Document MTASC-safety properties.
24210         * manual/errno.texi: Document MTASC-safety properties.
24212         * manual/intro.texi: Document safety identifiers and
24213         conditionals.
24215         * manual/string.texi (wcstok): Fix prototype.
24216         (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
24218         * manual/time.texi: Document MTASC-safety properties.
24220         * manual/string.texi: Document MTASC-safety properties.
24222         * manual/threads.texi: Document MTASC-safety properties.
24224         * manual/stdio.texi: Document MTASC-safety properties.
24226         * manual/syslog.texi: Document MTASC-safety properties.
24228         * manual/sysinfo.texi: Document MTASC-safety properties.
24230         * manual/startup.texi: Document MTASC-safety properties.
24232         * manual/socket.texi: Document MTASC-safety properties.
24234         * manual/signal.texi: Document MTASC-safety properties.
24236 2014-01-31  Alexandre Oliva <aoliva@redhat.com>
24238         * manual/setjmp.texi: Document MTASC-safety properties.
24240         * manual/search.texi: Document MTASC-safety properties.
24242         * manual/resource.texi: Document MTASC-safety properties.
24244         * manual/process.texi: Document MTASC-safety properties.
24246         * manual/platform.texi: Document MTASC-safety properties.
24248         * manual/pipe.texi: Document MTASC-safety properties.
24250         * manual/pattern.texi: Document MTASC-safety properties.
24252         * manual/message.texi: Document MTASC-safety properties.
24254         [BZ #12751]
24255         * manual/memory.texi: Document MTASC-safety properties.
24257         * manual/math.texi: Document MTASC-safety properties.
24259         * manual/locale.texi: Document MTASC-safety properties.
24261         * manual/llio.texi: Document MTASC-safety properties.
24263         * manual/libdl.texi: New.
24265         * manual/lang.texi: Document MTASC-safety properties.
24267         * manual/job.texi: Document MTASC-safety properties.
24269         * manual/getopt.texi: Document MTASC-safety properties.
24271         * manual/ctype.texi: Document MTASC-safety properties.
24273 2014-01-31  Maciej W. Rozycki  <macro@codesourcery.com>
24275         [BZ #16046]
24276         * csu/libc-tls.c (static_map): Remove variable.
24277         (__libc_setup_tls): Use main executable's link map for TLS data.
24278         * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
24279         casing for LM_ID_BASE and GL(dl_nns).
24280         * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
24281         function.  Alias dl_iterate_phdr to __dl_iterate_phdr.
24282         * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
24283         casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
24284         * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
24285         member.
24286         (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
24287         l_phnum members.
24289 2014-01-30  Alexandre Oliva <aoliva@redhat.com>
24291         * manual/debug.texi: Document MTASC-safety properties.
24293 2014-01-29  H.J. Lu  <hongjiu.lu@intel.com>
24295         [BZ #16510]
24296         * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
24297         of __x86_64__ when disabling x87 inline functions.
24299 2014-01-29  Alexandre Oliva <aoliva@redhat.com>
24301         * manual/charset.texi: Document MTASC-safety properties.
24303         * manual/crypt.texi: Document MTASC-safety properties.
24305         * manual/conf.texi: Document MTASC-safety properties.
24307         * manual/arith.texi: Document MTASC-safety properties.
24309         * manual/argp.texi: Document MTASC-safety properties.
24311         * manual/macros.texi: Introduce macros to document multi
24312         thread, asynchronous signal and asynchronous cancellation
24313         safety properties.
24314         * manual/intro.texi: Introduce the properties themselves.
24316 2014-01-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
24318         * sysdeps/sh/sh4/Makefile: New file.
24320 2014-01-27  Andreas Schwab  <schwab@linux-m68k.org>
24322         * math/gen-libm-test.pl ($srcdir): New variable.
24323         ($auto_input): Use it.
24325 2014-01-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
24327         [BZ #16506]
24328         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
24329         access beyond array bounds when parsing netgroups file.
24331         * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
24332         the old buffer before realloc.
24334 2014-01-27  Allan McRae  <allan@archlinux.org>
24336         * po/fr.po: Update French translation from translation project.
24338 2014-01-26  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
24340         * sysdeps/sh/libm-test-ulps: Regenerate.
24342 2014-01-24  David S. Miller  <davem@davemloft.net>
24344         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
24346 2014-01-25  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
24348         * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
24349         * sysdeps/sh/libm-test-ulps: ... here and regenerated.
24351 2013-01-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
24353         [BZ #16474]
24354         * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
24355         string pointers after reallocation.
24357 2014-01-24  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
24359         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
24360         __SH4A__ instead of __SH_FPU_ANY__.
24362 2014-01-23  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
24364         * sysdeps/sh/fpu_control.h: New file.
24365         * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
24366         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
24367         * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
24368         * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
24369         * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
24370         * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
24371         * sysdeps/sh/sys/ucontext.h: Remove.
24372         * sysdeps/sh/sys: Remove directory.
24374 2014-01-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
24376         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
24377         s390/sys/ucontext.h.
24378         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
24379         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
24381 2014-01-20  H.J. Lu  <hongjiu.lu@intel.com>
24383         [BZ #15605]
24384         * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
24386 2014-01-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24388         [BZ#16431]
24389         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
24390         Adjust the vDSO correctly for internal calls.
24391         * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
24393 2014-01-20  Allan McRae  <allan@archlinux.org>
24395         * po/ca.po: Update Catalan translation from translation project.
24397 2014-01-16  Mike Frysinger  <vapier@gentoo.org>
24399         * sysdeps/s390/sotruss-lib.c: New file.
24401 2014-01-16  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24403         [BZ#16430]
24404         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
24405         (__GI___gettimeofday): Alias for a different internal symbol to avoid
24406         local calls issues by not having a PLT stub required for IFUNC calls.
24407         * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
24409 2014-01-16 Joseph Myers  <joseph@codesourcery.com>
24411         * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
24412         * math/test-fpucw-static.c: Likewise.
24414 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
24416         [BZ #16453]
24417         * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
24419 2014-01-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24421         * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
24422         implementation for powerpc.
24424 2014-01-15  Ondřej Bílka  <neleai@seznam.cz>
24426         [BZ #14782]
24427         * sysdeps/posix/system.c (__libc_system): Do not enable
24428         asynchronous cancellation.
24430 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
24432         [BZ #16427]
24433         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
24434         handling only for numbers special also in the IEEE case.
24436 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
24438         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
24440 2014-01-11  Allan McRae  <allan@archlinux.org>
24442         * po/bg.po: Update Bulgarian translation from translation project.
24444         * po/de.po: Update German translation from translation project.
24446 2014-01-10  Roland McGrath  <roland@hack.frob.com>
24448         * sysdeps/generic/gcc-compat.h: New file.
24450 2014-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
24452         * benchtests/asin-inputs: Correct slow inputs.
24453         * benchtests/acos-inputs: Likewise.
24455 2014-01-10  Allan McRae  <allan@archlinux.org>
24457         * po:sv.po: Update Swedish translation from translation project.
24459         * po/vi.po: Update Vietnamese translation from translation project.
24461         * po/eo.po: Update Esperanto translation from translation project.
24463         * po/cs.po: Update Czech translation from translation project.
24465         * po/nl.po: Update Dutch translation from translation project.
24467         * po/pl.po: Update Polish translation from translation project.
24469         * po/ru.po: Update Russian translation from translation project.
24471         * po/uk.po: Update Ukrainian translation from translation project.
24473 2014-01-08  Brooks Moses  <bmoses@google.com>
24475         * elf/dl-load.c: Fix comment typo.
24477 2014-01-08  Carlos O'Donell  <carlos@redhat.com>
24479         * po/header.pot: Rename to...
24480         * po/pot.header: ... this.
24481         * po/Makefile: Use pot.header.
24483 2014-01-08  Yuriy Kaminskiy  <yumkam@gmail.com>
24484             Maxim Kuvyrkov  <maxim@kugelworks.com>
24486         [BZ #16394]
24487         * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
24488         SRC and DEST against LEN.
24490 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24492         [BZ #16414]
24493         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
24494         implementation.
24495         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
24497 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24499         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
24501 2014-01-08  Joseph Myers  <joseph@codesourcery.com>
24503         [BZ #16408]
24504         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
24505         for large positive arguments.
24507 2014-01-07  Joseph Myers  <joseph@codesourcery.com>
24509         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
24511         * math/auto-libm-test-in: Mark various tests with
24512         xfail-rounding:ldbl-128ibm.
24513         * math/auto-libm-test-out: Regenerated.
24515         [BZ #16407]
24516         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
24517         Increase overflow threshold.
24519 2014-01-07  Ondřej Bílka  <neleai@seznam.cz>
24521         [BZ #14286]
24522         * stdio-common/vfprintf.c: Check for integer overflow.
24524 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
24526         * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
24527         the first argument and return value of __tls_get_addr_internal.
24529 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
24531         * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
24532         also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
24534 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
24536         * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
24537         * sysdeps/s390/rtld-global-offsets.sym: New file.
24538         * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
24539         GLIBC_2.19 symbol.
24540         * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
24541         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
24542         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
24543         ... this.
24544         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
24545         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
24546         ... this.
24547         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
24548         Regenerate.
24549         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
24550         Regenerate.
24551         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
24552         halfs of GPRs for high_gprs contexts.
24553         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
24554         restore upper halfs of GPRs for high_gprs contexts.  Copy uc_flags
24555         field.
24556         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
24557         uc_flags field.
24558         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
24559         64 bit versions:
24560         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
24561         for high GPRs (uc_high_gprs) and for future extensions
24562         (__reserved).
24563         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
24564         for future extensions (__reserved).
24565         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
24566         64 bit versions:
24567         * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
24568         SC_HIGHGPRS offset definition.
24569         * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
24570         * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
24572         * Versions.def: Add GLIBC_2.19 for libpthread.
24573         * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
24574         siglongjmp for libpthread with GLIBC_2.19 symver.
24575         * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
24576         * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
24577         * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
24578         * sysdeps/s390/__longjmp.c: New file.
24579         * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
24580         * sysdeps/s390/longjmp.c: New file.
24581         * sysdeps/s390/setjmp.S: New file.
24582         * sysdeps/s390/sigjmp.S: New file.
24583         * sysdeps/s390/v1-longjmp.c: New file.
24584         * sysdeps/s390/v1-setjmp.h: New file.
24585         * sysdeps/s390/v1-sigjmp.c: New file.
24586         * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
24587         * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
24588         GLIBC_2.19 version.
24589         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
24590         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
24591         versioned symbols for ____longjmp_chk.
24592         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
24593         Likewise.
24594         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
24595         Regenerate.
24596         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
24597         Regenerate.
24598         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
24599         Regenerate.
24600         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
24601         Regenerate.
24602         * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
24603         * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
24604         * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
24605         * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
24606         * sysdeps/s390/s390-32/setjmp-common.S: ... this.
24607         * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
24608         * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
24609         * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
24610         * sysdeps/s390/s390-64/setjmp-common.S: ... this.
24611         * sysdeps/s390/rtld-__longjmp.c: New file.
24612         * sysdeps/s390/rtld-setjmp.S: New file.
24614 2014-01-06  Joseph Myers  <joseph@codesourcery.com>
24616         [BZ #16400]
24617         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
24618         Return -__logl (x) for small positive arguments without evaluating
24619         a polynomial.
24621 2014-01-06  Mike Frysinger  <vapier@gentoo.org>
24623         * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
24624         Rename to ...
24625         (__ptrace_peeksiginfo_args): ... this.
24626         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
24627         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
24628         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
24630 2014-01-06  Allan McRae  <allan@archlinux.org>
24632         * inet/netinet/in.h: Fix typo in comment.
24634 2014-01-05  Andreas Jaeger  <aj@suse.de>
24636         * sysdeps/i386/fpu/libm-test-ulps: Update.
24638 2014-01-05  Allan McRae  <allan@archlinux.org>
24640         * po/libc.pot: Regenerated.
24642         * malloc/memusagestat.c: Fix gettext call formatting.
24644 2014-01-04  Sami Kerola  <kerolasa@iki.fi>
24646         * nscd/nscd.c: Improve usage() output.
24648 2014-01-04  Mike Frysinger  <vapier@gentoo.org>
24650         * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
24651         * sysdeps/unix/sysv/linux/configure: Regenerated.
24652         * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
24653         * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
24655 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
24657         [BZ #16390]
24658         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
24659         (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
24661 2014-01-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24663         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
24664         extra tokens at end of #undef directive.
24665         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
24666         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
24667         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
24669 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
24671         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
24673         * math/auto-libm-test-in: Mark various tests with
24674         xfail-rounding:ldbl-128ibm.
24675         * math/auto-libm-test-out: Regenerated.
24677 2014-01-02  Joseph Myers  <joseph@codesourcery.com>
24679         [BZ #16386]
24680         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
24681         numbers with subnormal high part when calculating exponent.
24683         [BZ #16385]
24684         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
24685         fabs.
24687         [BZ #16384]
24688         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
24689         M_LN2l.
24690         (__ieee754_acoshl): Use __log1pl not __log1p.
24692 2013-01-02  Ondřej Bílka  <neleai@seznam.cz>
24694         * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all)
24695         (ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry)
24696         (__failing_morecore, ptmalloc_init, dump_heap, new_heap)
24697         (grow_heap, heap_trim, _int_new_arena, get_free_list)
24698         (reused_arena, arena_get2): Convert to GNU style.
24699         * malloc/hooks.c (memalign_hook_ini, __malloc_check_init)
24700         (mem2mem_check, mem2chunk_check, top_check, realloc_check)
24701         (memalign_check, __malloc_set_state): Likewise.
24702         * malloc/mallocbug.c (main): Likewise.
24703         * malloc/malloc.c (__malloc_assert, malloc_init_state)
24704         (free_perturb, do_check_malloced_chunk, do_check_malloc_state)
24705         (sysmalloc, systrim, mremap_chunk, __libc_malloc, __libc_free)
24706         (__libc_realloc, _mid_memalign, _int_malloc, malloc_consolidate)
24707         (_int_realloc, _int_memalign, mtrim, musable, __libc_mallopt)
24708         (__posix_memalign, malloc_info): Likewise.
24709         * malloc/malloc.h: Likewise.
24710         * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook)
24711         (mallochook, memalignhook, reallochook, mabort): Likewise.
24712         * malloc/mcheck.h: Likewise.
24713         * malloc/memusage.c (update_data, me, malloc, realloc, calloc)
24714         (free, mmap, mmap64, mremap, munmap, dest): Likewise.
24715         * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
24716         * malloc/morecore.c (__default_morecore): Likewise.
24717         * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
24718         * malloc/obstack.c (_obstack_begin, _obstack_newchunk)
24719         (_obstack_allocated_p, obstack_free, _obstack_memory_used)
24720         (print_and_abort): Likewise.
24721         * malloc/obstack.h: Likewise.
24722         * malloc/set-freeres.c (__libc_freeres): Likewise.
24723         * malloc/tst-mallocstate.c (main): Likewise.
24724         * malloc/tst-mtrace.c (main): Likewise.
24725         * malloc/tst-realloc.c (do_test): Likewise.
24727 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
24729         [BZ #16366]
24730         * nscd/netgroupcache.c (do_notfound): New function.
24731         (addgetnetgrentX): Use it.
24733         [BZ # 16365]
24734         * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
24735         NSS_STATUS_NOTFOUND.
24737 2014-01-01  Joseph Myers  <joseph@codesourcery.com>
24739         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
24740         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24742 2014-01-01  Allan McRae  <allan@archlinux.org>
24744         * scripts/update-copyrights: Update configure input file suffix.
24746         * NEWS: Update copyright year.
24747         * catgets/gencat.c: Likewise.
24748         * csu/version.c: Likewise.
24749         * debug/catchsegv.sh: Likewise.
24750         * debug/pcprofiledump.c: Likewise.
24751         * debug/xtrace.sh: Likewise.
24752         * elf/ldconfig.c: Likewise.
24753         * elf/ldd.bash.in: Likewise.
24754         * elf/pldd.c: Likewise.
24755         * elf/sotruss.ksh: Likewise.
24756         * elf/sprof.c: Likewise.
24757         * iconv/iconv_prog.c: Likewise.
24758         * iconv/iconvconfig.c: Likewise.
24759         * locale/programs/locale.c: Likewise.
24760         * locale/programs/localedef.c: Likewise.
24761         * login/programs/pt_chown.c: Likewise.
24762         * malloc/memusage.sh: Likewise.
24763         * malloc/memusagestat.c: Likewise.
24764         * malloc/mtrace.pl: Likewise.
24765         * manual/libc.texinfo: Likewise.
24766         * nscd/nscd.c: Likewise.
24767         * nss/getent.c: Likewise.
24768         * nss/makedb.c: Likewise.
24769         * posix/getconf.c: Likewise.
24770         * scripts/test-installation.pl: Likewise.
24772         * All files with FSF copyright notices: Update copyright dates
24773         using scripts/update-copyrights.
24774         * intl/plural.c: Regenerated.
24775         * locale/programs/charmap-kw.h: Likewise.
24776         * locale/programs/locfile-kw.h: Likewise.
24778 2013-12-31  Mike Frysinger  <vapier@gentoo.org>
24780         * sysdeps/unix/sysv/linux/configure: Regenerated.
24781         * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
24782         the linux/fanotify.h header.
24783         * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
24784         HAVE_LINUX_FANOTIFY_H is defined.
24786 2013-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
24788         * benchtests/cos-inputs: New inputs.
24789         * benchtests/sin-inputs: Likewise.
24791         * benchtests/atan-inputs: New inputs. Fix name of multiple
24792         precision fallback inputs.
24794         * benchtests/atanh-inputs: New inputs.
24795         * benchtests/tanh-inputs: Likewise.
24797         * benchtests/acosh-inputs: New inputs.
24798         * benchtests/asinh-inputs: Likewise.
24800         * benchtests/cosh-inputs: New inputs.
24801         * benchtests/sinh-inputs: Likewise.
24803         * benchtests/acos-inputs: Add more inputs.
24804         * benchtests/asin-inputs: Likewise.
24806 2013-12-30  Ville Skytta  <ville.skytta@iki.fi>
24808         [BZ #16375]
24809         * manual/arith.texi: Fix spelling.
24810         * manual/charset.texi: Likewise.
24811         * manual/errno.texi: Likewise.
24812         * manual/filesys.texi: Likewise.
24813         * manual/lang.texi: Likewise.
24814         * manual/llio.texi: Likewise.
24815         * manual/locale.texi: Likewise.
24816         * manual/message.texi: Likewise.
24817         * manual/resource.texi: Likewise.
24818         * manual/search.texi: Likewise.
24819         * manual/setjmp.texi: Likewise.
24820         * manual/stdio.texi: Likewise.
24821         * manual/string.texi: Likewise.
24822         * manual/sysinfo.texi: Likewise.
24823         * manual/time.texi: Likewise.
24825 2013-12-27  Carlos O'Donell  <carlos@redhat.com>
24827         * po/sl.po: New file.
24829 2013-12-27  Mike Frysinger  <vapier@gentoo.org>
24831         * .gitignore: Add core/.gdbinit/.gdb_history.
24833 2013-12-27  Allan McRae  <allan@archlinux.org>
24835         [BZ #16369]
24836         * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
24837         Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
24839 2013-12-24  Brooks Moses  <bmoses@google.com>
24841         * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
24842         all compilers that claim C++98 compliance, not just GCC.
24843         * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
24844         Likewise.
24846 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
24848         * NEWS: Restore accidentally deleted bug-fix entries.
24850 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
24851             Ondřej Bílka  <neleai@seznam.cz>
24853         [BZ #15073]
24854         * malloc/malloc.c (_int_free): Perform sanity check only if we
24855         have_lock.
24857 2013-12-23  Ondřej Bílka  <neleai@seznam.cz>
24859         [BZ #12986]
24860         * manual/stdio.texi (String Input Conversions): Clarify that character
24861         classes are not supported.
24863 2013-12-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24865         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
24867 2013-12-22  Joseph Myers  <joseph@codesourcery.com>
24869         [BZ #16337]
24870         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
24871         Calculate results for small negative arguments directly rather
24872         than using reflection formula with special underflow handling.
24874         * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
24875         * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
24876         sysdeps/unix/bsd/bsd4.4/syscalls.list.
24877         (fchflags): Likewise.
24878         (revoke): Likewise.
24879         (setlogin): Likewise.
24880         (sigaltstack): Likewise.
24881         (wait4): Likewise.
24882         (sigblock): Remove.
24883         (sigsetmask): Likewise.
24884         (wait3): Likewise.
24885         (waitpid): Likewise.
24886         * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
24887         * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
24888         file.
24889         * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
24890         * sysdeps/unix/bsd/Makefile: ... here.
24891         * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
24892         * sysdeps/unix/bsd/Versions: ... here.
24893         * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
24894         * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
24895         * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
24896         * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
24897         * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
24898         * sysdeps/unix/bsd/sigblock.c: ... here.
24899         * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
24900         * sysdeps/unix/bsd/sigsetmask.c: ... here.
24901         * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
24902         * sysdeps/unix/bsd/sigvec.c: ... here.
24903         * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
24904         * sysdeps/unix/bsd/tcdrain.c: ... here.
24905         * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
24906         * sysdeps/unix/bsd/tcgetattr.c: ... here.
24907         * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
24908         * sysdeps/unix/bsd/tcsetattr.c: ... here.
24909         * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
24910         * sysdeps/unix/bsd/wait.c: ... here.
24911         * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
24912         * sysdeps/unix/bsd/wait3.c: ... here.
24913         * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
24914         * sysdeps/unix/bsd/waitpid.c: ... here.
24916 2013-12-21  Joseph Myers  <joseph@codesourcery.com>
24918         [BZ #16356]
24919         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
24920         round-to-nearest for [!USE_AS_EXPM1L].
24921         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
24922         * math/auto-libm-test-in: Do not expect cosh tests to fail.  Add
24923         more tests of exp and exp10.  Expect some exp10 tests to miss
24924         exceptions or fail in directed rounding modes.
24925         * math/auto-libm-test-out: Regenerated.
24926         * math/libm-test.inc (exp10_tonearest_test_data): New array.
24927         (exp10_test_tonearest): New function.
24928         (exp10_towardzero_test_data): New array.
24929         (exp10_test_towardzero): New function.
24930         (exp10_downward_test_data): New array.
24931         (exp10_test_downward): New function.
24932         (exp10_upward_test_data): New array.
24933         (exp10_test_upward): New function.
24934         (main): Call the new functions.
24935         * sysdeps/i386/fpu/libm-test-ulps: Update.
24936         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24938 2013-12-20  Joseph Myers  <joseph@codesourcery.com>
24940         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
24941         asinh, atan, atan2, atanh, cbrt, cos and cosh.
24942         * math/auto-libm-test-out: Regenerated.
24943         * math/libm-test.inc (acosh_test_data): Add more tests.
24944         (atanh_test_data): Likewise.
24945         (ceil_test_data): Likewise.
24946         (copysign_test_data): Likewise.
24947         * sysdeps/i386/fpu/libm-test-ulps: Update.
24948         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24950         * timezone/checktab.awk: Update from tzcode 2013i.
24951         * timezone/private.h: Likewise.
24952         * timezone/scheck.c: Likewise.
24953         * timezone/tzfile.h: Likewise.
24954         * timezone/tzselect.ksh: Likewise.
24955         * timezone/zdump.c: Likewise.
24956         * timezone/zic.c: Likewise.
24958         * math/auto-libm-test-in: Add tests of cpow.
24959         * math/auto-libm-test-out: Regenerated.
24960         * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
24961         * math/gen-auto-libm-tests.c (func_calc_method): Add value
24962         mpc_cc_c.
24963         (func_calc_desc): Add mpc_cc_c union field.
24964         (test_functions): Add cpow.
24965         (special_fill_2pi): New function.
24966         (special_real_inputs): Add 2pi.
24967         (calc_generic_results): Handle mpc_cc_c.
24968         * sysdeps/i386/fpu/libm-test-ulps: Update.
24969         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24971         * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
24972         csqrt, ctan and ctanh.
24973         * math/auto-libm-test-out: Regenerated.
24974         * math/libm-test.inc (TEST_COND_x86_64): New macro.
24975         (TEST_COND_x86): Likewise.
24976         (ccos_test_data): Use AUTO_TESTS_c_c.
24977         (ccosh_test_data): Likewise.
24978         (cexp_test_data): Likewise.
24979         (clog_test_data): Likewise.
24980         (csqrt_test_data): Likewise.
24981         (ctan_test_data): Likewise.
24982         (ctan_tonearest_test_data): Likewise.
24983         (ctan_towardzero_test_data): Likewise.
24984         (ctan_downward_test_data): Likewise.
24985         (ctan_upward_test_data): Likewise.
24986         (ctanh_test_data): Likewise.
24987         (ctanh_tonearest_test_data): Likewise.
24988         (ctanh_towardzero_test_data): Likewise.
24989         (ctanh_downward_test_data): Likewise.
24990         (ctanh_upward_test_data): Likewise.
24991         * math/gen-auto-libm-tests.c (func_calc_method): Add value
24992         mpc_c_c.
24993         (func_calc_desc): Add mpc_c_c union field.
24994         (FUNC_mpc_c_c): New macro.
24995         (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
24996         ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
24997         ctanh.
24998         (special_fill_min_subnorm_p120): New function.
24999         (special_real_inputs): Add min_subnorm_p120.
25000         (calc_generic_results): Handle mpc_c_c.
25001         * sysdeps/i386/fpu/libm-test-ulps: Update.
25002         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25004 2013-12-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
25006         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin)
25007         (do_sin_slow): New functions.
25008         (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2)
25009         (cslow2, csloww1, csloww2): Use the new functions.
25011         * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
25012         Use M to change sign of result instead of X.  Assume X is
25013         positive.
25014         (csloww1): Likewise.
25015         (__sin): Adjust.
25016         (__cos): Adjust.
25018         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
25019         arguments A and DA.
25020         (__sin): Adjust.
25021         (__cos): Likewise.
25023         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
25024         (__cos): Likewise.
25025         (sloww1): Don't adjust sign of DX.
25026         (csloww1): Likewise.
25027         (sloww2): Use X directly and don't adjust sign of DX.
25028         (csloww2): Likewise.
25030 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
25032         * math/auto-libm-test-in: Add tests of cabs and carg.
25033         * math/auto-libm-test-out: Regenerated.
25034         * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
25035         (carg_test_data): Likewise.
25036         * math/gen-auto-libm-tests.c (func_calc_method): Add value
25037         mpc_c_f.
25038         (func_calc_desc): Add mpc_c_f union field.
25039         (test_functions): Add cabs and carg.
25040         (calc_generic_results): Handle mpc_c_f.
25042         * sysdeps/powerpc/powerpc32/libgcc-compat.S
25043         [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
25044         as a macro and a compat symbol.
25045         [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
25046         [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
25047         [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
25048         [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
25049         [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
25050         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
25051         not use .hidden.
25052         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
25053         Likewise.
25054         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
25055         Likewise.
25056         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
25057         Likewise.
25058         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
25059         Likewise.
25060         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
25061         Likewise.
25062         * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
25063         __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
25064         from GLIBC_2.3.2.
25066 2013-12-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25068         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25070 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
25072         * manual/texinfo.tex: Update to version 2013-11-26.10 with
25073         trailing whitespace removed.
25074         * scripts/config.guess: Update to version 2013-11-29.
25075         * scripts/config.sub: Update to version 2013-10-01.
25077         * math/auto-libm-test-in: Add tests of sincos.
25078         * math/auto-libm-test-out: Regenerated.
25079         * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
25080         * math/gen-auto-libm-tests.c (func_calc_method): Add value
25081         mpfr_f_11.
25082         (func_calc_desc): Add mpfr_f_11 union field.
25083         (test_functions): Add sincos.
25084         (calc_generic_results): Handle mpfr_f_11.
25085         * sysdeps/i386/fpu/libm-test-ulps: Update.
25086         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25088 2013-12-19  Andreas Schwab  <schwab@suse.de>
25090         * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
25091         CALL_MCOUNT.
25092         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
25093         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
25094         [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
25096 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
25098         * math/gen-libm-test.pl (%beautify): Remove M_* constants.
25099         * sysdeps/i386/fpu/libm-test-ulps: Update.
25100         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25102         [BZ #16293]
25103         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
25104         round-to-nearest mode when using frndint.
25105         * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
25106         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
25107         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
25108         Likewise.
25109         * math/auto-libm-test-in: Add more tests of expm1.  Do not expect
25110         sinh test to fail.
25111         * math/auto-libm-test-out: Regenerated.
25112         * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
25113         (TEST_COND_x86): Likewise.
25114         (expm1_tonearest_test_data): New array.
25115         (expm1_test_tonearest): New function.
25116         (expm1_towardzero_test_data): New array.
25117         (expm1_test_towardzero): New function.
25118         (expm1_downward_test_data): New array.
25119         (expm1_test_downward): New function.
25120         (expm1_upward_test_data): New array.
25121         (expm1_test_upward): New function.
25122         (main): Run the new test functions.
25123         * sysdeps/i386/fpu/libm-test-ulps: Update.
25124         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25126         * include/features.h: Update comment documenting feature test
25127         macros.  Mention _DEFAULT_SOURCE in comment.
25128         [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
25129         [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
25130         _BSD_SOURCE and _SVID_SOURCE.
25131         [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
25132         !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
25133         !_SVID_SOURCE]: Likewise.
25134         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
25135         (__USE_POSIX_IMPLICITLY): Define.
25136         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
25137         (_POSIX_SOURCE): Undefine and redefine.
25138         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
25139         (_POSIX_C_SOURCE): Likewise.
25140         * manual/creature.texi (_DEFAULT_SOURCE): Document.
25141         (Feature Test Macros): Update documentation of default features.
25143 2013-12-19  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
25145         * benchtests/Makefile: Add bench-strtok.
25146         * benchtests/bench-strtok.c: New file: strtok benchtest.
25148 2013-12-19  Allan McRae  <allan@archlinux.org>
25150         * manual/install.texi: Suppress menu for plain text output.
25151         * INSTALL: Regenerated.
25153 2013-12-18  Brooks Moses  <bmoses@google.com>
25155         [BZ #15846]
25156         * misc/getauxval.c: Include errno.h.
25157         (__getauxval): Set errno to ENOENT if the requested type is not
25158         found.
25159         * misc/sys/auxv.h (getauxval): Document that it may set errno;
25160         don't declare with __attribute_const__.
25161         * elf/tst-auxv.c: Add tests for errno and type-not-found case.
25162         * manual/startup.texi: Document that getauxval sets errno.
25164 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
25166         * math/auto-libm-test-in: Add tests of jn and yn.
25167         * math/auto-libm-test-out: Regenerated.
25168         * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
25169         (yn_test_data): Likewise.
25170         * math/gen-auto-libm-tests.c (func_calc_method): Add value
25171         mpfr_if_f.
25172         (func_calc_desc): Add mpfr_if_f union field.
25173         (FUNC_mpfr_if_f): New macro.
25174         (test_functions): Add jn and yn.
25175         (calc_generic_results): Assert type of second input for
25176         mpfr_ff_f.  Handle mpfr_if_f.
25177         (output_for_one_input_case): Disable all checking for arguments
25178         fitting floating-point types in case of an integer argument.
25179         * sysdeps/i386/fpu/libm-test-ulps: Update.
25180         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25182         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
25183         Don't expect fegetround reference in libm.so.
25185 2013-12-17  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
25187         * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
25188         $(config-cflags-nofma).
25190 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
25192         * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
25193         * math/auto-libm-test-out: Regenerated.
25195         [BZ #16338]
25196         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
25197         to determine exponent and adjust argument to have exponent of -1.
25198         * math/auto-libm-test-in: Add more tests of log, log10, log1p and
25199         log2.
25200         * math/auto-libm-test-out: Regenerated.
25201         * sysdeps/i386/fpu/libm-test-ulps: Update.
25202         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25204 2013-12-18  Ondřej Bílka  <neleai@seznam.cz>
25206         * manual/probes.texi: Remove cases when per-thread arenas are
25207         disabled.
25209 2013-12-18  Andreas Schwab  <schwab@suse.de>
25211         * sysdeps/i386/i686/multiarch/strstr.c: Remove.
25212         * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
25213         * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
25214         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
25215         * sysdeps/i386/i686/multiarch/Makefile: Update.
25216         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
25218 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
25220         * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
25221         * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
25223 2013-12-17  Paul Eggert  <eggert@cs.ucla.edu>
25225         [BZ #15968]
25226         Support TZ transition times < 00:00:00.
25227         This is needed for version-3 tz-format files; it supports time
25228         stamps past 2037 for America/Godthab (the only entry in the tz
25229         database for which this change is relevant).
25230         * manual/time.texi (TZ Variable): Document transition times
25231         from -167:59:59 through -00:00:01.
25232         * time/tzset.c (tz_rule): Time of day is now signed.
25233         (__tzset_parse_tz): Parse negative time of day.
25235         Document TZ transition times >= 25:00:00.
25236         * manual/time.texi (TZ Variable): Document transition times from
25237         25:00:00 through 167:59:59.  These are already supported, and this
25238         support will help with version-3 tz-format files.
25240         * manual/time.texi (TZ Variable): Modernize North America example
25241         to reflect current (i.e., 2007-and-later) daylight saving rules.
25243         * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
25245 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
25247         * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
25248         * sysdeps/unix/bsd/bits/stat.h: Likewise.
25249         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
25250         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
25251         * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
25252         * sysdeps/unix/bsd/bsdstat.h: Likewise.
25253         * sysdeps/unix/bsd/clock.c: Likewise.
25254         * sysdeps/unix/bsd/i386/vfork.S: Likewise.
25255         * sysdeps/unix/bsd/i386/wait3.S: Likewise.
25256         * sysdeps/unix/bsd/init-posix.c: Likewise.
25257         * sysdeps/unix/bsd/poll.c: Likewise.
25258         * sysdeps/unix/bsd/ptsname.c: Likewise.
25259         * sysdeps/unix/bsd/seekdir.c: Likewise.
25260         * sysdeps/unix/bsd/setegid.c: Likewise.
25261         * sysdeps/unix/bsd/seteuid.c: Likewise.
25262         * sysdeps/unix/bsd/setgid.c: Likewise.
25263         * sysdeps/unix/bsd/setrgid.c: Likewise.
25264         * sysdeps/unix/bsd/setruid.c: Likewise.
25265         * sysdeps/unix/bsd/setsid.c: Likewise.
25266         * sysdeps/unix/bsd/setuid.c: Likewise.
25267         * sysdeps/unix/bsd/sigaction.c: Likewise.
25268         * sysdeps/unix/bsd/sigprocmask.c: Likewise.
25269         * sysdeps/unix/bsd/sigsuspend.c: Likewise.
25270         * sysdeps/unix/bsd/sys/reboot.h: Likewise.
25271         * sysdeps/unix/bsd/telldir.c: Likewise.
25272         * sysdeps/unix/bsd/times.c: Likewise.
25273         * sysdeps/unix/bsd/usleep.c: Likewise.
25275         * misc/Makefile (install-lib): Remove libbsd-compat.a.
25276         ($(objpfx)libbsd-compat.a): Remove rule.
25278         * include/features.h (__FAVOR_BSD): Do not define.
25279         * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
25280         features conflicting with POSIX.
25281         (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
25282         (_BSD_SOURCE): Remove description of not being a subset of other
25283         feature test macros.
25284         * manual/job.texi (getpgrp): Do not document BSD version.
25285         (getpgid): Do not document by reference to BSD getpgrp.
25286         * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
25287         * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
25288         * signal/signal.h [__FAVOR_BSD]: Likewise.
25289         * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
25290         instead of making contents conditional on [__FAVOR_BSD].
25291         * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
25293 2013-12-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25295         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25297 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
25299         [BZ #16314]
25300         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
25301         values below 2**-450, not 2**-500.
25302         * math/auto-libm-test-in: Don't allow spurious underflow from
25303         hypot.
25304         * math/auto-libm-test-out: Regenerated.
25306         [BZ #16316]
25307         [BZ #16330]
25308         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
25309         values of ha and hb and sort them after adjusting subnormal
25310         arguments.
25311         * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
25312         Likewise.
25313         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
25314         values of ea and eb and sort them after adjusting subnormal
25315         arguments.
25316         * math/auto-libm-test-in: Do not expect some hypot tests of
25317         subnormals to fail.  Add more hypot tests.
25318         * math/auto-libm-test-out: Regenerated.
25320 2013-12-16  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
25322         [BZ #13304]
25323         * sysdeps/sh/s_fma.c: New file.
25324         * sysdeps/sh/s_fmaf.c: New file.
25325         * sysdeps/sh/soft-fp/sfp-machine.h: New file.  Based on arm
25326         version.
25327         * sysdeps/sh/Implies: Add sh/soft-fp.
25329 2013-12-16  Roland McGrath  <roland@hack.frob.com>
25331         * elf/dl-error.c (struct catch): Add new member `errcode'.  Add a
25332         level of indirection to members `objname', `errstring', `malloced'.
25333         (_dl_signal_error): Store through pointers in *LCATCH rather modifying
25334         *LCATCH itself.  Set *LCATCH->errcode to ERRCODE rather than passing
25335         it as the __longjmp argument (just pass 1 instead).
25336         (_dl_catch_error): Initialize C with argument pointers and address of
25337         volatile local ERRCODE rather than copying values out of C at return.
25339 2013-12-16  Joseph Myers  <joseph@codesourcery.com>
25341         * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
25342         * math/auto-libm-test-out: Regenerated.
25343         * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
25344         (hypot_test_data): Likewise.
25345         (pow_test_data): Likewise.
25346         (pow_tonearest_test_data): Likewise.
25347         * math/gen-auto-libm-tests.c (func_calc_method): Add value
25348         mpfr_ff_f.
25349         (func_calc_desc): Add mpfr_ff_f union field.
25350         (FUNC_mpfr_ff_f): New macro.
25351         (test_functions): Add atan2, hypot and pow.
25352         (special_fill_min): New function.
25353         (special_fill_minus_min): Likewise.
25354         (special_fill_min_subnorm): Likewise.
25355         (special_fill_minus_min_subnorm): Likewise.
25356         (special_real_inputs): Add min, -min, min_subnorm and
25357         -min_subnorm.
25358         (calc_generic_results): Handle mpfr_ff_f.
25359         * sysdeps/i386/fpu/libm-test-ulps: Update.
25360         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25362 2013-12-16  Will Newton  <will.newton@linaro.org>
25364         * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
25365         (Aligned Memory Blocks): Add documentation for aligned_alloc
25366         and suggest it as an alternative to posix_memalign.
25367         (Hooks for Malloc): Document __memalign_hook is also called
25368         for aligned_alloc.  (Summary of Malloc): Add summary for
25369         aligned alloc.  Document __memalign_hook is also called
25370         for aligned_alloc.
25372 2013-12-16  Will Newton  <will.newton@linaro.org>
25374         * manual/memory.texi (Malloc Examples): Clarify default
25375         alignment documentation.  Suggest posix_memalign rather
25376         than memalign or valloc.
25377         (Aligned Memory Blocks): Remove suggestion to use memalign
25378         or valloc.  Remove obsolete comment about BSD.
25379         Document memalign errno values and mark the function obsolete.
25380         Document posix_memalign returned error codes.  Mark valloc
25381         as obsolete.  (Hooks for Malloc): __memalign_hook is also
25382         called for posix_memalign and valloc.
25383         (Summary of Malloc): Add posix_memalign to function summary.
25384         __memalign_hook is also called for posix_memalign and valloc.
25386 2013-12-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
25388         * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
25389         TAYLOR_SIN.
25390         (__sin): Adjust.
25391         (__cos): Likewise.
25392         (sloww): Use mynumber union.  Expand ternary operator into
25393         if-else statements.
25394         (cslow): use mynumber union.
25396 2013-12-16  Allan McRae  <allan@archlinux.org>
25398         * configure.ac: Set AUTOCONF when maintainer-mode is not used.
25399         * configure: Regenerated.
25401         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
25403         [BZ #14120]
25404         * configure.ac: Added --enable-maintainer-mode. Check for
25405         autoconf when enabled.
25406         * configure: Regenerated.
25408         * nscd/nscd.service: New file.
25409         * nscd/nscd.tmpfiles: New file.
25411 2013-12-14  Ondřej Bílka  <neleai@seznam.cz>
25413         [BZ #12100]
25414         * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
25415         * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
25416         * sysdeps/x86_64/multiarch/strstr.c: ... here.
25417         (strstr): Add __strstr_sse2_unaligned ifunc.
25418         * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
25419         * sysdeps/x86_64/multiarch/strcasestr.c ... here.
25420         (strcasestr): Remove __strcasestr_sse42 ifunc.
25421         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
25422         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
25423         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
25425 2013-12-14  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
25427         * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
25428         * sysdeps/sh/bits/fenv.h: ... here.
25429         * sysdeps/sh/sh4/fpu/bits: Remove directory.
25431 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25433         * NEWS: Mention ppc64 STT_GNU_IFUNC support.
25435         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
25436         hypotf multiarch implementations.
25437         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
25438         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
25439         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
25440         multiarch hypot for PPC64.
25441         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
25442         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
25443         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
25444         multiarch hypotf for PPC64.
25446         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
25447         modff multiarch implementations.
25448         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
25449         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
25450         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
25451         multiarch modf for PPC64.
25452         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
25453         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
25454         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
25455         multiarch modff for PPC64.
25457         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
25458         and logl multiarch implementations.
25459         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
25460         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
25461         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
25462         multiarch logb for PPC64.
25463         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
25464         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
25465         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
25466         multiarch logb for PPC64.
25467         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
25468         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
25469         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
25470         multiarch logb for PPC64.
25472         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
25473         isinff multiarch implementation.
25474         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
25475         file.
25476         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
25477         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
25478         multiarch isinf for PPC64.
25479         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
25480         file.
25481         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
25482         multiarch isinff for PPC64.
25484         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
25485         finitef multiarch implementation.
25486         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
25487         file.
25488         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
25489         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
25490         multiarch finite for PPC64.
25491         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
25492         file.
25493         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
25494         multiarch finitef for PPC64.
25496         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
25497         lrint multiarch implementation.
25498         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
25499         file.
25500         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
25501         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
25502         multiarch llrint for PPC64.
25503         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
25504         multiarch lrint for PPC64.
25506         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
25507         copysignf multiarch implementation.
25508         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
25509         file.
25510         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
25511         file.
25512         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
25513         multiarch copysign for PPC64.
25514         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
25515         multiarch copysignf for PPC64.
25517         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
25518         multiarch implementation.
25519         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
25520         file.
25521         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
25522         file.
25523         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
25524         file.
25525         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
25526         file.
25527         multiarch llround for PPC64.
25528         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
25529         multiarch trunc for PPC64.
25530         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
25531         multiarch truncf for PPC64.
25533         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
25534         multiarch implementation.
25535         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
25536         file.
25537         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
25538         file.
25539         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
25540         file.
25541         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
25542         file.
25543         multiarch llround for PPC64.
25544         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
25545         multiarch round for PPC64.
25546         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
25547         multiarch roundf for PPC64.
25549         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
25550         multiarch implementation.
25551         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
25552         file.
25553         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
25554         file.
25555         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
25556         file.
25557         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
25558         file.
25559         multiarch llround for PPC64.
25560         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
25561         multiarch floor for PPC64.
25562         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
25563         multiarch floorf for PPC64.
25565         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
25566         multiarch implementation.
25567         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
25568         file.
25569         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
25570         file.
25571         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
25572         file.
25573         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
25574         file.
25575         multiarch llround for PPC64.
25576         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
25577         multiarch ceil for PPC64.
25578         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
25579         multiarch ceilf for PPC64.
25581         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
25582         multiarch implementation.
25583         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
25584         file.
25585         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
25586         file.
25587         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
25588         file.
25589         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
25590         multiarch llround for PPC64.
25591         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
25592         multiarch lround for PPC64.
25594         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
25595         multiarch implementation.
25596         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
25597         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
25598         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
25599         file.
25600         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
25601         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
25602         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
25603         multiarch isnan for PPC64.
25604         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
25605         multiarch isnanf for PPC64.
25607         * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
25608         * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
25609         * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
25610         * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
25611         * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
25612         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
25614         * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
25615         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
25616         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
25617         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
25619         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
25620         multiarch implementations.
25621         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
25622         (__libc_ifunc_impl_list): Likewise.
25623         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
25624         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
25625         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
25626         multiarch stpcpy for PPC64.
25628         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
25629         multiarch implementations.
25630         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
25631         (__libc_ifunc_impl_list): Likewise.
25632         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
25633         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
25634         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
25635         multiarch strcpy for PPC64.
25637         * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
25638         redefine function name.
25639         (_wordcopy_fwd_dest_aligned): Likewise.
25640         (_wordcopy_bwd_aligned): Likewise.
25641         (_wordcopy_bwd_dest_aligned): Likewise.
25642         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
25643         multiarch implementations.
25644         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
25645         (__libc_ifunc_impl_list): Likewise.
25646         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
25647         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
25648         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
25649         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
25650         multiarch wcscpy for PPC64.
25652         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
25653         multiarch implementations.
25654         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
25655         (__libc_ifunc_impl_list): Likewise.
25656         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
25657         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
25658         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
25659         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
25660         multiarch wcscpy for PPC64.
25662         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
25663         multiarch implementations.
25664         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
25665         (__libc_ifunc_impl_list): Likewise.
25666         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
25667         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
25668         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
25669         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
25670         multiarch wcsrchr for PPC64.
25672         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
25673         multiarch implementations.
25674         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
25675         (__libc_ifunc_impl_list): Likewise.
25676         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
25677         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
25678         * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
25679         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
25680         multiarch wcschr for PPC64.
25682         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
25683         multiarch implementations.
25684         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
25685         (__libc_ifunc_impl_list): Likewise.
25686         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
25687         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
25688         * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
25689         multiarch strchrnul for PPC64.
25691         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
25692         implementations.
25693         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
25694         (__libc_ifunc_impl_list): Likewise.
25695         * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
25696         * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
25697         * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
25698         * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
25699         strchr for PPC64.
25701         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
25702         implementations.
25703         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
25704         (__libc_ifunc_impl_list): Likewise.
25705         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
25706         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
25707         * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
25708         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
25709         strncmp for PPC64.
25711         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
25712         multiarch implementations.
25713         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
25714         (__libc_ifunc_impl_list): Likewise.
25715         * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
25716         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
25717         strncasecmp for PPC64.
25718         * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
25719         * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
25720         multiarch strncasecmp_l for PPC64.
25722         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
25723         multiarch implementations.
25724         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
25725         (__libc_ifunc_impl_list): Likewise.
25726         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
25727         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
25728         multiarch strcasecmp for PPC64.
25729         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
25730         file.
25731         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
25732         multiarch strcasecmp_l for PPC64.
25734         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
25735         implementations.
25736         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
25737         (__libc_ifunc_impl_list): Likewise.
25738         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
25739         * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
25740         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
25741         strnlen for PPC64.
25743         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
25744         implementations.
25745         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
25746         (__libc_ifunc_impl_list): Likewise.
25747         * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
25748         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
25749         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
25750         strlen for PPC64.
25752         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
25753         implementations.
25754         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
25755         (__libc_ifunc_impl_list): Likewise.
25756         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
25757         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
25758         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
25759         rawmemrchr for PPC64.
25761         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
25762         implementation.
25763         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
25764         (__libc_ifunc_impl_list): Likewise.
25765         * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
25766         * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
25767         * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
25768         memrchr for PPC64.
25770         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
25771         implementation.
25772         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
25773         (__libc_ifunc_impl_list): Likewise.
25774         * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
25775         * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
25776         * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
25777         memchr for PPC64.
25779         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
25780         implementation.
25781         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
25782         (__libc_ifunc_impl_list): Likewise.
25783         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
25784         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
25785         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
25786         mempcpy for PPC64.
25788         * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
25789         avoid cretion of __bzero symbol.
25790         * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
25791         Likewise.
25792         * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
25793         Likewise.
25794         * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
25795         Likewise.
25796         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
25797         multiarch implementations.
25798         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
25799         (__libc_ifunc_impl_list): Likewise.
25800         * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
25801         * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
25802         * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
25803         * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
25804         bzero for PPC32.
25805         * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
25806         * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
25807         * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
25808         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
25809         * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
25810         memset for PPC64.
25811         * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
25813         * string/memcmp.c (memcmp): Using macro to redefine symbol name.
25814         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
25815         implementations.
25816         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
25817         (__libc_ifunc_impl_list): Likewise.
25818         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
25819         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
25820         * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
25821         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
25822         memcmp for PPC64.
25824         * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
25825         multiarch for POWER/PPC64.
25826         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
25827         * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
25828         * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
25829         * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
25830         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
25831         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
25832         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
25833         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
25834         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
25835         memcpy for PPC64.
25837         * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
25838         * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
25839         * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
25840         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
25841         * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
25842         * sysdeps/powerpc/powerpc64/power5/Implies: New File.
25843         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
25844         * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
25845         * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
25846         * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
25847         * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
25848         * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
25849         * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
25850         * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
25851         * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
25852         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
25853         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
25854         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
25855         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
25856         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
25857         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
25858         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
25860 2013-12-12  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
25862         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
25864 2013-12-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
25866         * benchtests/Makefile (bench): Add exp2 and log2.
25867         (LDLIBS-bench-exp2): Add -lm.
25868         (LDLIBS-bench-log2): Likewise.
25869         * benchtests/exp2-inputs: New inputs file.
25870         * benchtests/log2-inputs: New inputs file.
25871         * benchtests/log-inputs: Add new inputs.
25872         * benchtests/tan-inputs: Likewise.
25874 2013-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
25876         * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
25877         definition...
25878         (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2, csloww1)
25879         (csloww2): ... from here.
25881         * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
25882         instead of structures.
25883         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
25884         (POLYNOMIAL): Likewise.
25885         (TAYLOR_SLOW): Likewise.
25886         (__sin): Likewise.
25887         (__cos): Likewise.
25888         (slow1): Likewise.
25889         (slow2): Likewise.
25890         (sloww): Likewise.
25891         (sloww1); Likewise.
25892         (sloww2): Likewise.
25893         (bsloww1): Likewise.
25894         (bsloww2): Likewise.
25895         (cslow2): Likewise.
25896         (csloww): Likewise.
25897         (csloww1): Likewise.
25898         (csloww2): Likewise.
25900 2013-12-10  Ondřej Bílka  <neleai@seznam.cz>
25902         * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
25903         (__malloc_assert, __libc_realloc, __libc_calloc, _int_realloc):
25904         Expand MALLOC_COPY and MALLOC_ZERO to memcpy and memset.
25905         * malloc/hooks.c (realloc_check): Likewise.
25907         * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
25908         * malloc/arena.c: Remove PER_THREAD conditional.
25909         [!PER_THREAD]: Remove code.
25910         (ptmalloc_unlock_all2): Likewise.
25911         (ptmalloc_init): Likewise.
25912         (_int_new_arena): Likewise.
25913         (arena_get2): Likewise.
25914         * malloc/hooks.c (__malloc_get_state): Likewise.
25915         (__malloc_set_state): Likewise.
25916         * malloc/malloc.c: Likewise.
25917         (struct malloc_state): Likewise.
25918         (struct malloc_par): Likewise.
25919         (__libc_realloc): Likewise.
25920         (__libc_mallopt): Likewise.
25922 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25924         * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
25926 2013-12-09  Ondřej Bílka  <neleai@seznam.cz>
25928         * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
25929         macro to a function.  Check for zero perturb_byte.
25930         (_int_malloc, _int_free): Remove zero perturb_byte checks.
25932         * malloc/malloc.c: (force_reg): Remove.
25933         (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc)
25934         (_mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
25935         force_reg by atomic_forced_read.
25936         * malloc/arena.c (ptmalloc_init): Likewise.
25937         * malloc/hooks.c (top_check): Likewise.
25939 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25941         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25943 2013-12-09  Markus Trippelsdorf  <markus@trippelsdorf.de>
25945         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
25947 2013-12-08  Joseph Myers  <joseph@codesourcery.com>
25949         * math/auto-libm-test-in: Add tests of lgamma.
25950         * math/auto-libm-test-out: Regenerated.
25951         * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
25952         (M_LOG_2_SQRT_PIl): Likewise.
25953         (lgamma_test_data): Use AUTO_TESTS_f_f1.
25954         * math/gen-auto-libm-tests.c (func_calc_method): Add value
25955         mpfr_f_f1.
25956         (func_calc_desc): Add mpfr_f_f1 union field.
25957         (ARGS1): New macro.
25958         (ARGS2): Likewise.
25959         (ARGS3): Likewise.
25960         (ARGS4): Likewise.
25961         (RET1): Likewise.
25962         (RET2): Likewise.
25963         (CALC): Likewise.
25964         (FUNC): Likewise.
25965         (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
25966         (test_functions): Add lgamma.
25967         (calc_generic_results): Handle mpfr_f_f1.
25968         * sysdeps/i386/fpu/libm-test-ulps: Update.
25969         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25971 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25973         * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
25974         __mpn_add_n for PowerPC64/POWER7.
25975         * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
25976         __mpn_sub_n for PowerPC64/POWER7.
25978         * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
25979         __mpn_addmul_1 for PowerPC64.
25980         * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
25981         __mpn_submul_1 for PowerPC64.
25982         * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
25983         for PowerPC64.
25984         * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
25985         for PowerPC64.
25987 2013-12-06  Fernando J. V. da Silva  <fernandojvdasilva@gmail.com>
25989         [BZ #15089]
25990         * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
25992 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25994         * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
25996         * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
25997         add multiarch folders.
25998         * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
25999         * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
26000         * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
26001         * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
26002         * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
26003         * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
26004         * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
26005         * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
26006         * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
26007         * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
26008         * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
26009         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
26010         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
26011         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
26012         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
26013         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
26014         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
26016         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
26017         __ieee754_hypot and __ieee754_hypotf multiarch implementations.
26018         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
26019         New file.
26020         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
26021         New file.
26022         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
26023         multiarch __ieee754_hypot for PowerPC32.
26024         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
26025         New file.
26026         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
26027         New file.
26028         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
26029         multiarch __ieee754_hypotf for PowerPC32.
26031         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
26032         long_double_symbol only if __logbl is defined.
26033         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
26034         * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
26035         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
26036         * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
26037         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
26038         * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
26039         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
26040         path for implementation.
26041         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
26042         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
26043         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
26044         logb, and logbl multiarch implementations for PowerPC32.
26045         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
26046         file.
26047         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
26048         file.
26049         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
26050         multiarch logb for PowerPC32.
26051         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
26052         file.
26053         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
26054         file.
26055         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
26056         multiarch logbf for PowerPC32.
26057         * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
26058         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
26059         file.
26060         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
26061         multiarch logbl implementation for PowerPC32.
26063         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
26064         and modff multiarch implementations.
26065         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
26066         New file.
26067         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
26068         New file.
26069         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
26070         multiarch modf for PowerPC32.
26071         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
26072         New file.
26073         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
26074         New file.
26075         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
26076         multiarch modff for PowerPC32.
26078         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
26079         and lrintf multiarch implementations.
26080         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
26081         New file.
26082         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
26083         New file.
26084         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
26085         multiarch lrint for PowerPC32.
26086         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
26087         file: multiarch lrintf for PowerPC32.
26089         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
26090         and lroundf multiarch implementations.
26091         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
26092         New file.
26093         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
26094         New file.
26095         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
26096         New file.
26097         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
26098         multiarch lround for PowerPC32.
26099         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
26100         file: multiarch lroundf for PowerPC32.
26102         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
26103         copysign and copysignf multiarch implementations.
26104         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
26105         New file.
26106         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
26107         New file.
26108         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
26109         file: multiarch copysign for PowerPC32.
26110         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
26111         file: multiarch copysignf for PowerPC32.
26113         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
26114         and truncf multiarch implementations.
26115         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
26116         New file.
26117         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
26118         file.
26119         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
26120         multiarch trunc for PowerPC32.
26121         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
26122         New file.
26123         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
26124         New file.
26125         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
26126         multiarch truncf for PowerPC32.
26128         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
26129         and roundf multiarch implementations.
26130         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
26131         New file.
26132         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
26133         file.
26134         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
26135         multiarch round for PowerPC32.
26136         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
26137         New file.
26138         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
26139         New file.
26140         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
26141         multiarch roundf for PowerPC32.
26143         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
26144         and floorf multiarch implementations.
26145         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
26146         New file.
26147         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
26148         file.
26149         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
26150         multiarch floor for PowerPC32.
26151         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
26152         New file.
26153         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
26154         New file.
26155         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
26156         multiarch floorf for PowerPC32.
26158         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
26159         and ceilf multiarch implementations.
26160         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
26161         New file.
26162         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
26163         file.
26164         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
26165         multiarch ceil for PowerPC32.
26166         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
26167         New file.
26168         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
26169         file.
26170         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
26171         multiarch ceilf for PowerPC32.
26173         * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
26174         is defined.
26175         * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
26176         FINITEF is defined.
26177         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
26178         and finitef multiarch implementations.
26179         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
26180         New file.
26181         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
26182         file.
26183         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
26184         multiarch finite for PowerPC32.
26185         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
26186         New file.
26187         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
26188         file: multiarch finitef for PowerPC32.
26190         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
26191         and isinff multiarch implementations.
26192         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
26193         file.
26194         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
26195         file.
26196         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
26197         multiarch isinf for PowerPC32.
26198         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
26199         New file.
26200         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
26201         multiarch isinff for PowerPC32.
26203         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
26204         alias when __isnan is defined.
26205         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
26206         and isnanf multiarch implementations.
26207         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
26208         file.
26209         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
26210         file.
26211         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
26212         file.
26213         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
26214         file.
26215         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
26216         multiarch isnan for PowerPC32.
26217         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
26218         New file.
26219         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
26220         New file.
26221         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
26222         multiarch isnanf for PowerPC32.
26224         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
26225         and sqrtf multiarch implementations.
26226         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
26227         file.
26228         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
26229         file.
26230         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
26231         multiarch sqrt for PowerPC32.
26232         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
26233         file.
26234         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
26235         file.
26236         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
26237         multiarch sqrtf for PowerPC32.
26239         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
26240         and llroundf multiarch implementations.
26241         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
26242         New file.
26243         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
26244         New file.
26245         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
26246         New file.
26247         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
26248         file: multiarch llround for PowerPC32.
26249         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
26250         file: multiarch llroundf for PowerPC32.
26252         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
26253         multiarch PowerPC32 fpu implementations.
26254         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
26255         New file.
26256         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
26257         New file.
26258         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
26259         multiarch llrint for PowerPC32.
26260         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
26261         New file.
26262         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
26263         New file.
26264         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
26265         file.
26267         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
26269         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
26270         file.
26271         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
26272         file.
26273         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
26274         file.
26275         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
26276         multiarch wordcopy for PPC32.
26277         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
26278         wordcopy objects.
26279         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
26280         (__libc_ifunc_impl_list): Likewise.
26281         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
26282         * sysdeps/powerpc/power4/wordcopy.c: ... to here.
26283         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
26284         * sysdeps/powerpc/power6/wordcopy.c: ... to here.
26285         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
26286         * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
26288         * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
26289         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
26290         file.
26291         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
26292         file.
26293         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
26294         file.
26295         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
26296         multiarch wcscpy for PPC32.
26297         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
26298         multiarch objects.
26299         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
26300         (__libc_ifunc_impl_list): Likewise.
26301         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
26302         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
26303         * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
26304         sysdeps/powerpc/power6/wcscpy.c.
26306         * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
26307         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
26308         file.
26309         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
26310         file.
26311         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
26312         file.
26313         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
26314         multiarch wcsrchr for PPC32.
26315         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
26316         multiarch objects.
26317         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
26318         (__libc_ifunc_impl_list): Likewise.
26319         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
26320         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
26321         * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
26322         sysdeps/powerpc/power6/wcsrchr.c.
26324         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
26325         file.
26326         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
26327         file.
26328         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
26329         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
26330         multiarch wcschr for PPc32.
26331         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
26332         multiarch objects.
26333         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
26334         (__libc_ifunc_impl_list): Likewise.
26335         * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
26336         * sysdeps/powerpc/power6/wcschr.c: ... to here.
26337         * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
26338         sysdeps/powerpc/power6/wcschr.c.
26340         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
26341         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
26342         file.
26343         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
26344         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
26345         file: multiarch strchr for PPC32.
26346         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
26347         multiarch objects.
26348         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
26349         (__libc_ifunc_impl_list): Likewise.
26351         * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
26352         name.
26353         * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
26354         file.
26355         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
26356         file.
26357         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
26358         multiarch strchrnul for PPC32.
26359         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
26360         multiarch objects.
26361         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
26362         (__libc_ifunc_impl_list): Likewise.
26364         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
26365         file.
26366         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
26367         multiarch strncasecmp for PPC32.
26368         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
26369         file.
26370         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
26371         multiarch strncasecmp_l for PPC32.
26372         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
26373         strncasecmp multiarch objects.
26374         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
26375         (__libc_ifunc_impl_list): Likewise.
26377         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
26378         file.
26379         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
26380         multiarch strncasecmp for PPC32.
26381         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
26382         New file.
26383         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
26384         multiarch strcasecmp_l for PPC32.
26385         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
26386         multiarch objects.
26387         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
26388         (__libc_ifunc_impl_list): Likewise.
26390         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
26391         file.
26392         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
26393         file.
26394         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
26395         multiarch strncmp for PPC32.
26396         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
26397         multiarch objects.
26398         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
26399         (__libc_ifunc_impl_list): Likewise.
26401         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
26402         * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
26403         file.
26404         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
26405         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
26406         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
26407         multiarch objects.
26408         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
26409         (__libc_ifunc_impl_list): Likewise.
26411         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
26412         file.
26413         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
26414         file.
26415         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
26416         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
26417         multiarch objects.
26418         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
26419         (__libc_ifunc_impl_list): Likewise.
26421         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
26422         file.
26423         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
26424         file.
26425         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
26426         multiarch rawmemchr for PPC32.
26427         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
26428         multiarch objects.
26429         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
26430         (__libc_ifunc_impl_list): Likewise.
26432         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
26433         file.
26434         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
26435         file.
26436         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
26437         file: memrchr multiarch for PPC32.
26438         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
26439         multiarch objects.
26440         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
26441         (__libc_ifunc_impl_list): Likewise.
26443         * string/memchr.c (__memchr): Using macro to redefine symbol name.
26444         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
26445         file.
26446         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
26447         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
26448         multiarch memchr for PPC32.
26449         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
26450         multiarch objects.
26451         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
26452         (__libc_ifunc_impl_list): Likewise.
26454         * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
26455         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
26456         file.
26457         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
26458         file.
26459         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
26460         file: multiarch mempcpy for PPC32.
26461         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
26462         multiarch objects.
26463         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
26464         (__libc_ifunc_impl_list): Likewise.
26466         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
26467         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
26468         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
26469         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
26470         multiarch bzero for PPC32.
26471         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
26472         file.
26473         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
26474         file.
26475         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
26476         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
26477         file: multiarch memset for PPC32.
26478         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
26479         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
26480         memset multiarch objects.
26481         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
26482         (__libc_ifunc_impl_list): Likewise.
26484         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
26485         file.
26486         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
26487         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
26488         memcmp for PPC32.
26489         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
26490         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
26491         multiarch objects.
26492         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
26493         (__libc_ifunc_impl_list): Likewise.
26495         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
26496         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
26497         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
26498         file.
26499         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
26500         file.
26501         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
26502         file.
26503         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
26504         multiarch memcpy for PPC32.
26505         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
26506         multiarch objects.
26507         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
26508         (__libc_ifunc_impl_list): Likewise.
26510         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
26511         support multiarch for POWER/PPC32.
26512         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
26513         Likewise.
26514         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
26515         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
26516         Implies file to make multiarch folder appers before the fpu and
26517         default folder for power4 configuration.
26519 2013-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
26521         * scripts/bench.pl: Append volatile keyword to type.
26523 2013-12-05  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
26525         * sysdeps/sh/sotruss-lib.c: New file.
26526         * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
26528 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26530         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
26532 2013-12-05  Joseph Myers  <joseph@codesourcery.com>
26534         [BZ #6810]
26535         * math/w_tgamma.c: Include <errno.h>.
26536         (__tgamma): Use __glibc_unlikely.  Set errno on underflow to 0.
26537         * math/w_tgammaf.c: Include <errno.h>.
26538         (__tgammaf): Use __glibc_unlikely.  Set errno on underflow to 0.
26539         * math/w_tgammal.c: Include <errno.h>.
26540         (__tgammal): Use __glibc_unlikely.  Set errno on underflow to 0.
26541         * math/auto-libm-test-in: Do not allow missing errno on tgamma
26542         underflow.  Add more tgamma tests.
26543         * math/auto-libm-test-out: Regenerated.
26544         * sysdeps/i386/fpu/libm-test-ulps: Update.
26545         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26547         * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
26548         sin, sinh, tan, tanh, tgamma, y0 and y1.
26549         * math/auto-libm-test-out: Regenerated.
26550         * math/libm-test.inc (TEST_COND_x86_64): New macro.
26551         (TEST_COND_x86): Likewise.
26552         (M_E2l): Remove macro.
26553         (M_E3l): Likewise.
26554         (M_2_SQRT_PIl): Likewise.
26555         (M_SQRT_PIl): Likewise.
26556         (M_1_DIV_El): Likewise.
26557         (log_test_data): Use AUTO_TESTS_f_f.
26558         (log10_test_data): Likewise.
26559         (log1p_test_data): Likewise.
26560         (log2_test_data): Likewise.
26561         (sin_test_data): Likewise.
26562         (sin_tonearest_test_data): Likewise.
26563         (sin_towardzero_test_data): Likewise.
26564         (sin_downward_test_data): Likewise.
26565         (sin_upward_test_data): Likewise.
26566         (sinh_test_data): Likewise.
26567         (sinh_tonearest_test_data): Likewise.
26568         (sinh_towardzero_test_data): Likewise.
26569         (sinh_downward_test_data): Likewise.
26570         (sinh_upward_test_data): Likewise.
26571         (tan_test_data): Likewise.
26572         (tan_tonearest_test_data): Likewise.
26573         (tan_towardzero_test_data): Likewise.
26574         (tan_downward_test_data): Likewise.
26575         (tan_upward_test_data): Likewise.
26576         (tanh_test_data): Likewise.
26577         (tgamma_test_data): Likewise.
26578         (y0_test_data): Likewise.
26579         (y1_test_data): Likewise.
26580         * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
26581         (special_real_inputs): Add pi/4.
26582         * sysdeps/i386/fpu/libm-test-ulps: Update.
26583         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26585 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26587         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
26588         "longjmp_target" static probes.
26589         (__longjmp): Rename to __longjmp_symbol.
26590         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
26591         * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
26592         on which longjmp to generate.
26593         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
26594         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
26595         probe.
26596         (__sigsetjmp): Rename to __sigsetjmp_symbol.
26597         (__sigjmp_save): Rename to __sigjmp_save_symbol.
26598         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
26599         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
26600         and __sigjmp_save_symbol based on which sigsetjmp to generated.
26601         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise
26602         * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
26603         __longjmp_symbol based on which __longjmp to generate.
26604         * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
26605         probe.
26606         (setjmp): Rename to setjmp_symbol.
26607         (__sigsetjmp): Rename to __sigsetjmp_symbol.
26608         (_setjmp): Rename to _setjmp_symbol.
26609         (__sigsetjmp): Rename to __sigsetjmp_symbol.
26610         * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
26611         _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
26612         which setjmp to generate.
26613         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
26614         "longjmp_target" static probes.
26616 2013-12-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
26618         * benchtests/README: Add note about output arguments.
26619         * benchtests/bench-sincos.c: Remove file.
26620         * benchtests/sincos-inputs: New file.
26621         * scripts/bench.pl: Identify output arguments and define
26622         static variables for them.
26624         * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
26626         [BZ #15941]
26627         * Makefile (INSTALL): Add install-plain.texi as the primary
26628         dependency.
26629         * manual/install-plain.texi: New file.
26630         * manual/install.texi: Include node directive only for
26631         non-plaintext output.
26633 2013-12-04  Joseph Myers  <joseph@codesourcery.com>
26635         * stdlib/longlong.h: Update from GCC.
26637         [BZ #6807]
26638         [BZ #15901]
26639         * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
26640         * math/w_j0f.c (y0f): Likewise.
26641         * math/w_j0l.c (__y0l): Likewise.
26642         * math/w_j1.c (y1): Likewise.
26643         * math/w_j1f.c (y1f): Likewise.
26644         * math/w_j1l.c (__y1l): Likewise
26645         * math/w_jn.c (yn): Likewise.
26646         * math/w_jnf.c (ynf): Likewise.
26647         * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
26648         Bessel function pole errors in _POSIX_ mode.  Use NAN as return
26649         value for Bessel function domain errors outside _SVID_ mode.
26650         Adjust sign of return value for yn (negative integer, 0).
26651         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
26652         by zero in return for negative x and set sign appropriately for
26653         negative n.
26654         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
26655         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
26656         * math/libm-test.inc (y0_test_data): Add more tests and adjust
26657         expectations in error cases.
26658         (y1_test_data): Likewise.
26659         (yn_test_data): Likewise.
26660         * sysdeps/i386/fpu/libm-test-ulps: Update.
26661         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26663 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
26665         * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
26666         "64" to "64-v1".  Add "64-v2".
26667         (abi-64-options): Rename to ...
26668         (abi-64-v1-options): ... this.   Redefine _CALL_ELF.
26669         (abi-64-condition): Rename to ...
26670         (abi-64-v1-condition): ... this.  Add _CALL_ELF check.,
26671         (abi-64-ld-soname): Rename to ...
26672         (abi-64-v1-ld-soname): ... this.
26673         (abi-64-v2-options): Define.
26674         (abi-64-v2-condition): Likewise.
26675         (abi-64-v2-ld-soname): Likewise.
26676         * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
26677         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
26678         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
26679         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
26680         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
26682 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
26683             Alan Modra  <amodra@gmail.com>
26685         * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
26686         New versions for use with the ELFv2 ABI.
26687         (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
26688         * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
26689         declaration.
26690         (struct La_ppc64v2_retval): Likewise.
26691         (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
26692         (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
26693         * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
26694         to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
26695         (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
26696         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
26697         Do not save or restore CR.
26698         (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
26699         (_dl_profile_resolve): Do no save or restore CR.  Support extended
26700         return values for ELFv2 ABI.  Fix location of FPR return registers.
26701         * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
26702         updated values for _CALL_ELF == 2.
26703         (La_regs, La_retval, int_retval): Likewise.
26705 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
26707         * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
26708         (FRAME_MIN_SIZE_PARM): Likewise.
26709         (FRAME_BACKCHAIN): Likewise.
26710         (FRAME_CR_SAVE): Likewise.
26711         (FRAME_LR_SAVE): Likewise.
26712         (FRAME_TOC_SAVE): Likewise.
26713         (FRAME_PARM_SAVE): Likewise.
26714         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
26715         FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
26716         FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
26717         (call_mcount_parm_offset): New macro.
26718         (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
26719         (PROF): Use symbolic stack frame offsets.
26720         (TAIL_CALL_SYSCALL_ERROR): Likewise.
26721         * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
26722         Redefine in terms of FRAME_MIN_SIZE.
26723         (_dl_runtime_resolve): Use symbolic stack frame offsets.
26724         (_dl_profile_resolve): Likewise.  Update comment.
26725         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
26726         symbols stack frame offsets.
26727         (__sigsetjmp): Likewise.
26728         * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
26729         * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
26730         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
26731         * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
26733         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
26734         (FRAME_BACKCHAIN): Remove.
26735         (FRAME_CR_SAVE): Likewise.
26736         (FRAME_LR_SAVE): Likewise.
26737         (FRAME_COMPILER_DW): Likewise.
26738         (FRAME_LINKER_DW): Likewise.
26739         (FRAME_TOC_SAVE): Likewise.
26740         (FRAME_PARM_SAVE): Likewise.
26741         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE)
26742         (FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE)
26743         (FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
26744         * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
26745         (CHECK_SP): Use symbolic stack frame offsets.
26746         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
26747         zone" instead of caller's parameter save area for temp storage.
26748         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
26749         Likewise.  Also, use symbolic stack frame offsets.
26750         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
26751         stackblock): Redefine for _CALL_ELF == 2 to save parameters into
26752         our own stack frame instead of the caller's.
26753         (__socket): Use symbolic stack frame offsets.
26755 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
26756             Alan Modra  <amodra@gmail.com>
26758         * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
26759         Define.
26760         (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK)
26761         (PPC64_LOCAL_ENTRY_OFFSET): Define.
26762         * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
26763         New function.
26764         (elf_machine_fixup_plt): Call it.
26765         (elf_machine_plt_conflict): Likewise.  Add map, sym_map, and
26766         reloc arguments.
26767         (elf_machine_rela): Update call to elf_machine_plt_conflict.
26768         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
26769         (_dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
26770         r2 before calling target.
26772 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
26773             Alan Modra  <amodra@gmail.com>
26775         * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
26776         (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
26777         versions of macros to support ELFv2 ABI.
26778         (LOCALENTRY): New macro.
26779         (ENTRY, EALIGN): Use it.
26780         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
26781         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
26782         fall through into ENTRY entry point.
26783         * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
26784         Only define if _CALL_ELF != 2.
26786         (elf_machine_matches_host): Verify ABI version matches.
26787         (RTLD_START): Use LOCALENTRY.
26788         (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
26789         (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
26790         (PLT_ENTRY_WORDS): New macro.
26791         (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
26792         (elf_machine_runtime_setup): Support ELFv2 ABI.
26793         (elf_machine_fixup_plt): Likewise.
26794         (elf_machine_plt_conflict): Likewise.
26795         (resolve_ifunc): Likewise.
26796         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
26797         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
26798         Likewise.
26799         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
26800         (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
26801         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
26802         (makecontext): Support ELFv2 ABI.
26803         * elf/elf.h (EF_PPC64_ABI): Define.
26805 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
26807         * sysdeps/powerpc/powerpc64/sysdep.h
26808         (PPC64_LOAD_FUNCPTR) [ASSEMBLER]: New assembler macro.
26809         (ENTRY_1) [ASSEMBLER]: Do not switch to .text section here ...
26810         (ENTRY) [ASSEMBLER]: ... but instead here ...
26811         (EALIGN) [ASSEMBLER]: ... and here.
26812         (PPC64_LOAD_FUNCPTR) [!ASSEMBLER]: New macro.
26813         (ENTRY_1) [!ASSEMBLER]: New macro; set up .opd entry.
26814         (ENTRY_2) [!ASSEMBLER]: Use it.
26815         * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
26816         ENTRY_2 changes.  Use PPC64_LOAD_FUNCPTR.
26817         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
26818         (_dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
26819         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
26820         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
26821         Use PPC64_LOAD_FUNCPTR.
26823         * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
26825 2013-12-04  Alan Modra  <amodra@gmail.com>
26827         * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
26828         (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
26829         (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
26830         (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
26832         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
26833         overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
26834         R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
26835         Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
26836         R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
26837         Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
26839 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
26841         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
26842         (__makecontext): Fix incorrect CFI when backtracing out of
26843         context created via makecontext.
26844         * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
26845         (__setcontext): Fix incorrect CFI during switch to new context.
26846         (__novec_setcontext): Likewise.
26848 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
26850         [BZ #4772]
26851         * time/strptime_l.c (__strptime_internal): Allow modifiers
26852         in strptime.
26853         * time/tst-strptime.c (day_tests): Add testcase.
26855 2013-12-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
26857         * scripts/bench.pl: Skip over blank lines.
26859 2013-12-04  Paul Eggert  <eggert@cs.ucla.edu>
26861         [BZ #926]
26862         * manual/time.texi (Calendar Time): Clarify what timezone functions
26863         use.
26865 2013-12-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26867         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
26869 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
26871         * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
26872         implementation.
26873         * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
26874         * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
26875         * debug/memset_chk.c (__memset_chk): Likewise.
26876         * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
26877         * debug/strncpy_chk.c: Likewise.
26879 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
26881         [BZ #15268]
26882         [BZ #15425]
26883         * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
26884         (__ieee754_exp): For possibly underflowing results, check size of
26885         result and force underflow exception if required.
26886         * math/auto-libm-test-in: Add more tests of exp.
26887         * math/auto-libm-test-out: Regenerated.
26888         * sysdeps/i386/fpu/libm-test-ulps: Update.
26889         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26891         [BZ #16283]
26892         * math/w_exp2.c (__exp2): Handle a zero result as underflow.
26893         * math/w_exp2f.c (__exp2f): Likewise.
26894         * math/w_exp2l.c (__exp2l): Likewise.
26895         * math/auto-libm-test-in: Do not allow missing errno on exp2
26896         underflow.
26897         * math/auto-libm-test-out: Regenerated.
26899 2013-12-03  Ondřej Bílka  <neleai@seznam.cz>
26901         [BZ #16274]
26902         * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
26903         handle filename validation.
26904         * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
26905         (do_open): Delete.
26907 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
26909         [BZ #6786]
26910         * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
26911         (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
26912         * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
26913         <float.h>.
26914         (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
26915         * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
26916         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
26917         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
26918         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
26919         * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
26920         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
26921         * math/auto-libm-test-in: Don't allow missing errno from erfc.
26922         Add more erfc tests.
26923         * math/auto-libm-test-out: Regenerated.
26924         * sysdeps/i386/fpu/libm-test-ulps: Update.
26925         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26927         * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
26928         exp2, expm1, j0 and j1.
26929         * math/auto-libm-test-out: Regenerated.
26930         * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
26931         (erfc_test_data): Likewise.
26932         (exp_test_data): Likewise.
26933         (exp_tonearest_test_data): Likewise.
26934         (exp_towardzero_test_data): Likewise.
26935         (exp_downward_test_data): Likewise.
26936         (exp_upward_test_data): Likewise.
26937         (exp10_test_data): Likewise.
26938         (exp2_test_data): Likewise.
26939         (expm1_test_data): Likewise.
26940         (j0_test_data): Likewise.
26941         (j1_test_data): Likewise.
26942         * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
26943         (input_flag_type): Add flag_xfail_rounding.
26944         (input_flags): Add xfail-rounding.
26945         (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
26946         (output_for_one_input_case): Handle flag_xfail_rounding.
26947         * sysdeps/i386/fpu/libm-test-ulps: Update.
26948         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26950 2013-12-03  Aurelien Jarno  <aurelien@aurel32.net>
26952         [BZ #16289]
26953         * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
26954         division by 0.
26956 2013-12-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
26958         [BZ #16195]
26959         * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
26960         (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
26961         (STAP_PROBE0): New macro.
26962         (STAP_PROBE1): Likewise.
26963         (STAP_PROBE2): Likewise.
26964         (STAP_PROBE3): Likewise.
26965         (STAP_PROBE4): Likewise.
26967 2013-12-02  Ondřej Bílka  <neleai@seznam.cz>
26969         * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
26971 2013-12-02  Steve Ellcey  <sellcey@mips.com>
26973         * benchtests/Makefile (bench): Add sqrt.
26974         (LDLIBS-bench-sqrt): New.
26975         * benchtests/sqrt-input: New.
26977 2013-12-02  Pavel Simerda  <psimerda@redhat.com>
26979         * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
26980         (GAIH_EAI): Likewise.
26981         (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
26982         (gaih_inet): Likewise.
26983         (getaddrinfo): Don't use GAIH_EAI.
26985         * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
26986         (struct gaih): Remove definition.
26988 2013-12-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
26990         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
26991         Use HERRNOP directly.
26993 2013-12-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26995         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
26997 2013-11-30  Joseph Myers  <joseph@codesourcery.com>
26999         * math/gen-auto-libm-tests.c (test_functions): Add more
27000         single-argument functions.
27001         (special_fill_pi_2): New function.
27002         (special_fill_minus_pi_2): Likewise.
27003         (special_fill_pi_6): Likewise.
27004         (special_fill_minus_pi_6): Likewise.
27005         (special_fill_pi_3): Likewise.
27006         (special_fill_2pi_3): Likewise.
27007         (special_fill_e): Likewise.
27008         (special_fill_1_e): Likewise.
27009         (special_fill_e_minus_1): Likewise.
27010         (special_real_inputs): Add more special inputs.
27011         (output_for_one_input_case): Do not require ERANGE on underflow to
27012         zero if round-to-nearest result does not underflow to zero, unless
27013         exact results required.
27014         * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
27015         atan, atanh, cbrt, cos and cosh.
27016         * math/auto-libm-test-out: Regenerated.
27017         * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
27018         (acos_tonearest_test_data): Likewise.
27019         (acos_towardzero_test_data): Likewise.
27020         (acos_downward_test_data): Likewise.
27021         (acos_upward_test_data): Likewise.
27022         (acosh_test_data): Likewise.
27023         (asin_test_data): Likewise.
27024         (asin_tonearest_test_data): Likewise.
27025         (asin_towardzero_test_data): Likewise.
27026         (asin_upward_test_data): Likewise.
27027         (asinh_test_data): Likewise.
27028         (atan_test_data): Likewise.
27029         (atanh_test_data): Likewise.
27030         (cbrt_test_data): Likewise.
27031         (cos_test_data): Likewise.
27032         (cos_tonearest_test_data): Likewise.
27033         (cos_towardzero_test_data): Likewise.
27034         (cos_downward_test_data): Likewise.
27035         (cos_upward_test_data): Likewise.
27036         (cosh_test_data): Likewise.
27037         (cosh_tonearest_test_data): Likewise.
27038         (cosh_towardzero_test_data): Likewise.
27039         (cosh_downward_test_data): Likewise.
27040         (cosh_upward_test_data): Likewise.
27041         * sysdeps/i386/fpu/libm-test-ulps: Update.
27042         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27044 2013-11-29  Joseph Myers  <joseph@codesourcery.com>
27046         [BZ #6787]
27047         * math/w_exp10.c (__exp10): Handle a zero result as underflow.
27048         * math/w_exp10f.c (__exp10f): Likewise.
27049         * math/w_exp10l.c (__exp10l): Likewise.
27050         * math/libm-test.inc (exp10_test_data): Add more tests and expect
27051         errno settings in existing tests.
27053         [BZ #14032]
27054         * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
27055         precision control set to double precision.
27056         * sysdeps/i386/fpu/w_sqrt.c: New file.
27057         * math/auto-libm-test-in: Add more tests.
27058         * math/auto-libm-test-out: Update.
27060         * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
27061         (sqrt_test_tonearest): New function.
27062         (sqrt_towardzero_test_data): New variable.
27063         (sqrt_test_towardzero): New function.
27064         (sqrt_downward_test_data): New variable.
27065         (sqrt_test_downward): New function.
27066         (sqrt_upward_test_data): New variable.
27067         (sqrt_test_upward): New function.
27068         (main): Call the new functions.
27070         * math/gen-auto-libm-tests.c: New file.
27071         * math/auto-libm-test-in: Likewise.
27072         * math/auto-libm-test-out: New generated file.
27073         * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
27074         variables.
27075         (%beautify): Add generated representations of zero.
27076         (top level): Set $auto_input and call parse_auto_input.
27077         (beautify): Remove trailing "f" from hex float constants.
27078         (parse_args): Handle XFAIL_TEST.
27079         (convert_condition): New function.
27080         (or_value): Likewise.
27081         (or_cond_value): Likewise.
27082         (generate_testfile): Handle AUTO_TESTS_* lines.
27083         (parse_auto_input): New function.
27084         * math/libm-test.inc (XFAIL_TEST): New macro.
27085         (ERRNO_UNCHANGED): Update value.
27086         (ERRNO_EDOM): Likewise.
27087         (ERRNO_ERANGE): Likewise.
27088         (IGNORE_RESULT): Likewise.
27089         (TEST_COND_flt_32): New macro.
27090         (TEST_COND_dbl_64): Likewise.
27091         (TEST_COND_ldbl_96_intel): Likewise.
27092         (TEST_COND_ldbl_96_m68k): Likewise.
27093         (TEST_COND_ldbl_128): Likewise.
27094         (TEST_COND_ldbl_128ibm): Likewise.
27095         (TEST_COND_long32): Likewise.
27096         (TEST_COND_long64): Likewise.
27097         (TEST_COND_before_rounding): Likewise.
27098         (TEST_COND_after_rounding): Likewise.
27099         (enable_test): Handle XFAIL_TEST flag.
27100         (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
27101         with finite results.
27102         * math/Makefile ($(objpfx)libm-test.stmp): Depend on
27103         auto-libm-test-out.
27105 2013-11-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
27106             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
27108         [BZ #16214]
27109         * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
27110         __tls_get_addr_internal instead of __tls_get_offset in order to
27111         avoid GOT pointer dependency.  Make rtld export
27112         __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
27113         __tls_get_addr since we are a __tls_get_offset platform.
27114         * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
27115         GOT pointer being set up before.
27116         * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
27118 2013-11-28  Joseph Myers  <joseph@codesourcery.com>
27120         * manual/math.texi (Errors in Math Functions): Document accuracy
27121         goals.
27123         [BZ #15004]
27124         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
27125         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
27126         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
27127         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
27128         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
27129         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
27130         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
27131         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
27132         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
27133         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
27134         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
27135         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
27136         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
27137         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
27138         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
27139         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
27141         * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
27142         * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
27143         * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
27144         * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
27145         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
27146         Likewise.
27147         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
27148         Likewise.
27149         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
27150         Likewise.
27151         * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
27152         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
27153         (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
27154         atomic-feupdateenv and flt-rounds.
27155         * sysdeps/powerpc/nofpu/Versions (libc): Add
27156         __atomic_feholdexcept, __atomic_feclearexcept,
27157         __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
27158         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
27159         (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
27160         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
27161         (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
27162         here.
27163         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
27164         Update.
27166         * manual/arith.texi (FP Exceptions): Document that exceptions may
27167         not be raised when matherr is used.
27168         (Math Error Reporting): Document overflow in directed rounding
27169         modes.  Document that errno may not be set when finite values are
27170         returned on overflow.  Document intent to set errno on underflow
27171         only for underflow to zero.
27173         [BZ #16271]
27174         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
27175         round-to-nearest then adjust result for other rounding modes.
27176         * include/fenv.h (fegetround): Use libm_hidden_proto.
27177         * math/fegetround.c (fegetround): Use libm_hidden_def.
27178         * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
27179         * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
27180         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
27181         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
27182         Likewise.
27183         * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
27184         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
27185         * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
27186         * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
27188 2013-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
27190         [BZ #16077]
27191         * nss/Versions (libnss_files): Add
27192         _nss_files_gethostbyname3_r.
27193         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
27194         New function.
27195         (HOST_DB_LOOKUP): Remove macro.
27196         (_nss_files_gethostbyname_r): Implement function without the
27197         HOST_DB_LOOKUP macro.
27198         (_nss_files_gethostbyname2_r): Likewise.
27200 2013-11-28  Ondřej Bílka  <neleai@seznam.cz>
27202         * malloc/malloc.c (__libc_calloc): Make memset a tail call.
27204 2013-11-26  Uros Bizjak  <ubizjak@gmail.com>
27206         * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
27207         _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
27208         warning.
27210 2013-11-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27212         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
27213         __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
27214         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
27215         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
27216         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
27217         __fe_nomask_env_priv and attribute_hidden.
27218         * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
27219         (libc_feupdateenv_test_ppc): Likewise.
27220         (libc_feresetround_ppc): Likewise.
27221         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
27222         (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
27223         compat_symbol macro.
27224         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
27225         (__fe_nomask_env): Likewise.
27226         * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
27228 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
27230         * string/Makefile: Remove ifunc tests.
27231         * string/test-string.h: Define TEST_IFUNC.
27232         * string/test-bcopy-ifunc.c: Remove.
27233         * string/test-bzero-ifunc.c: Likewise.
27234         * string/test-memccpy-ifunc.c: Likewise.
27235         * string/test-memchr-ifunc.c: Likewise.
27236         * string/test-memcmp-ifunc.c: Likewise.
27237         * string/test-memcpy-ifunc.c: Likewise.
27238         * string/test-memmem-ifunc.c: Likewise.
27239         * string/test-memmove-ifunc.c: Likewise.
27240         * string/test-mempcpy-ifunc.c: Likewise.
27241         * string/test-memrchr-ifunc.c: Likewise.
27242         * string/test-memset-ifunc.c: Likewise.
27243         * string/test-rawmemchr-ifunc.c: Likewise.
27244         * string/test-stpcpy-ifunc.c: Likewise.
27245         * string/test-stpncpy-ifunc.c: Likewise.
27246         * string/test-strcasecmp-ifunc.c: Likewise.
27247         * string/test-strcasestr-ifunc.c: Likewise.
27248         * string/test-strcat-ifunc.c: Likewise.
27249         * string/test-strchr-ifunc.c: Likewise.
27250         * string/test-strchrnul-ifunc.c: Likewise.
27251         * string/test-strcmp-ifunc.c: Likewise.
27252         * string/test-strcpy-ifunc.c: Likewise.
27253         * string/test-strcspn-ifunc.c: Likewise.
27254         * string/test-strlen-ifunc.c: Likewise.
27255         * string/test-strncasecmp-ifunc.c: Likewise.
27256         * string/test-strncat-ifunc.c: Likewise.
27257         * string/test-strncmp-ifunc.c: Likewise.
27258         * string/test-strncpy-ifunc.c: Likewise.
27259         * string/test-strnlen-ifunc.c: Likewise.
27260         * string/test-strpbrk-ifunc.c: Likewise.
27261         * string/test-strrchr-ifunc.c: Likewise.
27262         * string/test-strspn-ifunc.c: Likewise.
27263         * string/test-strstr-ifunc.c: Likewise.
27265 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
27267         * benchtests/Makefile: Remove ifunc tests.
27268         * benchtests/bench-string.h: Define TEST_IFUNC.
27269         * benchtests/bench-bcopy-ifunc.c: Remove.
27270         * benchtests/bench-bzero-ifunc.c: Likewise.
27271         * benchtests/bench-memccpy-ifunc.c: Likewise.
27272         * benchtests/bench-memchr-ifunc.c: Likewise.
27273         * benchtests/bench-memcmp-ifunc.c: Likewise.
27274         * benchtests/bench-memcpy-ifunc.c: Likewise.
27275         * benchtests/bench-memmem-ifunc.c: Likewise.
27276         * benchtests/bench-memmove-ifunc.c: Likewise.
27277         * benchtests/bench-mempcpy-ifunc.c: Likewise.
27278         * benchtests/bench-memrchr-ifunc.c: Likewise.
27279         * benchtests/bench-memset-ifunc.c: Likewise.
27280         * benchtests/bench-rawmemchr-ifunc.c: Likewise.
27281         * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
27282         * benchtests/bench-stpcpy-ifunc.c: Likewise.
27283         * benchtests/bench-stpncpy-ifunc.c: Likewise.
27284         * benchtests/bench-strcasecmp-ifunc.c: Likewise.
27285         * benchtests/bench-strcasestr-ifunc.c: Likewise.
27286         * benchtests/bench-strcat-ifunc.c: Likewise.
27287         * benchtests/bench-strchr-ifunc.c: Likewise.
27288         * benchtests/bench-strchrnul-ifunc.c: Likewise.
27289         * benchtests/bench-strcmp-ifunc.c: Likewise.
27290         * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
27291         * benchtests/bench-strcpy-ifunc.c: Likewise.
27292         * benchtests/bench-strcspn-ifunc.c: Likewise.
27293         * benchtests/bench-strlen-ifunc.c: Likewise.
27294         * benchtests/bench-strncasecmp-ifunc.c: Likewise.
27295         * benchtests/bench-strncat-ifunc.c: Likewise.
27296         * benchtests/bench-strncmp-ifunc.c: Likewise.
27297         * benchtests/bench-strncpy-ifunc.c: Likewise.
27298         * benchtests/bench-strnlen-ifunc.c: Likewise.
27299         * benchtests/bench-strpbrk-ifunc.c: Likewise.
27300         * benchtests/bench-strrchr-ifunc.c: Likewise.
27301         * benchtests/bench-strsep-ifunc.c: Likewise.
27302         * benchtests/bench-strspn-ifunc.c: Likewise.
27303         * benchtests/bench-strstr-ifunc.c: Likewise.
27305 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
27307         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
27309 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
27311         * resolv/netdb.h: Use __glibc_reserved instead __unused.
27312         * rt/aio.h: Likewise.
27313         * sysdeps/gnu/bits/utmp.h: Likewise.
27314         * sysdeps/gnu/bits/utmpx.h: Likewise.
27315         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
27316         * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
27317         * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
27318         * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
27319         * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
27320         * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
27321         * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
27322         * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
27323         * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
27324         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
27325         * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
27326         * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
27327         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
27328         * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
27329         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
27330         * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
27331         * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
27332         * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
27333         * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
27334         * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
27335         * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
27336         * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
27337         * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
27338         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
27339         * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
27340         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
27341         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
27342         * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
27343         * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
27344         * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
27345         * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
27346         * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
27347         * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
27348         * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
27349         * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
27350         * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
27351         * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
27352         * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
27353         * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
27354         * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
27355         * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
27356         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
27358 2013-11-25  Carlos O'Donell  <carlos@redhat.com>
27360         [BZ #16245]
27361         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
27362         Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
27364 2013-11-25  Joseph Myers  <joseph@codesourcery.com>
27366         * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
27367         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
27368         Likewise.
27370 2013-11-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27372         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
27373         SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
27374         * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
27375         (__fesetround): Remove define.
27376         * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
27377         rounding and exceptions handling.
27378         * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
27379         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
27380         (__fe_nomask_env): Likewise.
27381         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
27382         __fegetround instead of fegetround.
27383         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
27384         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
27386 2013-11-21  Roland McGrath  <roland@hack.frob.com>
27388         * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
27389         it's there.
27391         * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
27393 2013-11-21  Meador Inge  <meadori@codesourcery.com>
27395         [BZ #11157]
27396         * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
27397         (encrypt_r): Likewise.
27398         * malloc/obstack.h (obstack_free): Likewise.
27399         * posix/unistd.h (encrypt): Likewise.
27401 2013-11-21  Guy Martin  <gmsoft@tuxicoman.be>
27403         * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
27404         DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
27405         DL_CALL_DT_FINI() that call the functions directly.
27406         * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
27407         * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
27408         * elf/dl-fini.c: Likewise.
27410 2013-11-20  Ondřej Bílka  <neleai@seznam.cz>
27412         * malloc/hooks.c (memalign_check): Add alignment rounding.
27413         * malloc/malloc.c (_mid_memalign): New function.
27414         (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
27415         Implement by calling _mid_memalign.
27416         * manual/probes.texi (Memory Allocation Probes): Remove
27417         memory_valloc_retry and memory_pvalloc_retry.
27419 2013-11-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
27421         * locale/programs/locarchive.c (open_archive): Add const
27422         qualifier to ARCHIVEFNAME and copy default fname to
27423         DEFAULT_FNAME.
27425         [BZ #15601]
27426         * libio/tst-widetext.input: Rename Oriya to Odia.
27427         * locale/iso-639.def: Likewise.
27429         * manual/probes.texi (Mathematical Function Probes): Add
27430         documentation for sin, cos, asin and acos probes.
27431         * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
27432         (__sin32): Add slowasin probe.
27433         (__cos32): Add slowacos probe.
27434         (__mpsin): Add slowsin probe.
27435         (__mpcos): Add slowcos probe.
27437 2013-11-19  Joseph Myers  <joseph@codesourcery.com>
27439         [BZ #15483]
27440         * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
27441         thread-local __sim_exceptions_thread and global
27442         __sim_exceptions_global.
27443         (__sim_disabled_exceptions): Change to thread-local
27444         __sim_disabled_exceptions_thread and global
27445         __sim_disabled_exceptions_global.
27446         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
27447         and global __sim_round_mode_global.
27448         (__simulate_exceptions): Use thread-local floating-point state and
27449         set global state from it as needed.
27450         * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
27451         __sim_exceptions_thread, __sim_disabled_exceptions_thread and
27452         __sim_round_mode_thread.
27453         * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
27454         (__sim_exceptions): Change to thread-local __sim_exceptions_thread
27455         and global __sim_exceptions_global.
27456         (__sim_disabled_exceptions): Change to thread-local
27457         __sim_disabled_exceptions_thread and global
27458         __sim_disabled_exceptions_global.
27459         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
27460         and global __sim_round_mode_global.
27461         [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
27462         (SIM_SET_GLOBAL): Likewise.
27463         * sysdeps/powerpc/soft-fp/sfp-machine.h
27464         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
27465         __sim_round_mode_thread.
27466         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
27467         __sim_disabled_exceptions_thread.
27468         (__sim_exceptions): Change to __sim_exceptions_thread.
27469         (__sim_disabled_exceptions): Change to
27470         __sim_disabled_exceptions_thread.
27471         (__sim_round_mode): Change to __sim_round_mode_thread.
27472         * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
27473         thread-local floating-point state and set global state from it as
27474         needed.
27475         * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
27476         * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
27477         (__sim_disabled_exceptions): Remove extern declaration.
27478         (feenableexcept): Use thread-local floating-point state and set
27479         global state from it as needed.
27480         * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
27481         extern declaration.
27482         (__sim_disabled_exceptions): Likewise.
27483         (__sim_round_mode): Likewise.
27484         (__fegetenv): Use thread-local floating-point state.
27485         * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
27486         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
27487         * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
27488         floating-point state and set global state from it as needed.
27489         * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
27490         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
27491         * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
27492         Likewise.
27493         * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
27494         * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
27495         Likewise.
27496         sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
27497         * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
27498         Use __sim_round_mode_thread.
27499         * math/test-fenv-tls.c: New file.
27500         * math/Makefile (tests): Add test-fenv-tls.
27501         ($(objpfx)test-fenv-tls): Depend on
27502         $(common-objpfx)nptl/libpthread.so.
27504 2013-11-19  Andreas Schwab  <schwab@suse.de>
27506         * locale/programs/locale.c (show_info): Decode wordarray elements.
27507         * locale/categories.def (LC_MONETARY): Add element for
27508         _NL_MONETARY_CRNCYSTR.
27509         * locale/C-monetary.c (conversion_rate): New variable.
27510         (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
27511         element.
27513 2013-11-18  Chris Metcalf  <cmetcalf@tilera.com>
27515         * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
27516         Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
27518 2013-11-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
27520         * elf/Makefile (tst-auxv): New test.
27521         * elf/tst-auxv.c: New
27522         * elf/rtld.c (dl_main): Adjust AT_EXECFN
27524 2013-11-18  Joseph Myers  <joseph@codesourcery.com>
27526         * include/libc-symbols.h (__hidden_proto): Add argument "thread".
27527         (hidden_proto): Caller changed.
27528         (hidden_tls_proto): New macro.
27529         (libc_hidden_tls_proto): Likewise.
27530         (rtld_hidden_tls_proto): Likewise.
27531         (libm_hidden_tls_proto): Likewise.
27532         (libresolv_hidden_tls_proto): Likewise.
27533         (librt_hidden_tls_proto): Likewise.
27534         (libdl_hidden_tls_proto): Likewise.
27535         (libnss_files_hidden_tls_proto): Likewise.
27536         (libnsl_hidden_tls_proto): Likewise.
27537         (libnss_nisplus_hidden_tls_proto): Likewise.
27538         (libutil_hidden_tls_proto): Likewise.
27540 2013-11-18  Ondřej Bílka  <neleai@seznam.cz>
27542         [BZ #10253]
27543         * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
27544         (decompose_rpath): Defer expansion to fillin_rpath.
27545         (_dl_init_paths): Pass linkmap to fillin_rpath.
27547 2013-11-18  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
27549         * benchtests/Makefile: Add strsep.
27550         * benchtests/bench-strsep.c: New file: strsep benchtest.
27551         * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
27553 2013-11-18  Andreas Schwab  <schwab@suse.de>
27555         * locale/programs/locale.c (show_info) [case byte]: Check for
27556         '\377' instead of '\177'.
27557         * locale/C-monetary.c (not_available): Always use "\377".
27558         * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
27559         unspecified p_sign_posn and n_sign_posn.  Check for '\377' to
27560         detect unavailable sign_posn locale elements.
27561         * locale/localeconv.c (__localeconv): For grouping and
27562         mon_grouping handle "\177" and "\377" like no grouping.
27563         (INT_ELEM): New macro.  Use it to set all numeric members.
27564         * locale/programs/ld-monetary.c (monetary_read)
27565         <tok_mon_grouping>: Normalize single -1 to the empty string.
27566         * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
27567         Likewise.
27569 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
27571         [BZ #16055]
27572         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
27573         when we match (nil).
27574         * stdio-common/tst-sscanf.c (struct test): Add testcase.
27576 2013-11-16  Joseph Myers  <joseph@codesourcery.com>
27578         * math/libm-test.inc (TEST_NAN_SIGN): New macro.
27579         (NO_TEST_INLINE): Update value.
27580         (ERRNO_UNCHANGED): Likewise.
27581         (ERRNO_EDOM): Likewise.
27582         (ERRNO_ERANGE): Likewise.
27583         (IGNORE_RESULT): Likewise.
27584         (check_float_internal): Check signs of NaN results if
27585         TEST_NAN_SIGN used.
27586         (check_complex): Pass TEST_NAN_SIGN flag through to second
27587         check_float_internal call.
27588         (copysign_test_data): Add tests with quiet NaNs as second
27589         argument.  Use TEST_NAN_SIGN.
27590         (fabs_test_data): Add test of negative quiet NaN argument.  Use
27591         TEST_NAN_SIGN.
27592         (signbit_test_data): Add tests of quiet NaN argument.
27593         * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
27595         * math/gen-libm-test.pl (show_exceptions): Take extra argument
27596         $ignore_result.
27597         (parse_args): Handle function results specified as IGNORE.
27598         * math/libm-test.inc (IGNORE_RESULT): New macro.
27599         (check_float_internal): Do not check numerical result if flag
27600         IGNORE_RESULT set.
27601         (check_complex): Pass through IGNORE_RESULT to second
27602         check_float_internal call.
27603         (check_int): Do not check numerical result if flag IGNORE_RESULT
27604         set.
27605         (check_long): Likewise.
27606         (check_bool): Likewise.
27607         (check_longlong): Likewise.
27608         (lrint_test_data): Add tests of infinite and NaN arguments.
27609         (lrint_tonearest_test_data): Likewise.
27610         (lrint_towardzero_test_data): Likewise.
27611         (lrint_downward_test_data): Likewise.
27612         (lrint_upward_test_data): Likewise.
27613         (llrint_test_data): Likewise.
27614         (llrint_tonearest_test_data): Likewise.
27615         (llrint_towardzero_test_data): Likewise.
27616         (llrint_downward_test_data): Likewise.
27617         (llrint_upward_test_data): Likewise.
27618         (lround_test_data): Likewise.
27619         (llround_test_data): Likewise.
27621         * math/libm-test.inc (NO_TEST_INLINE): New macro.
27622         (ERRNO_UNCHANGED): Update value.
27623         (ERRNO_EDOM): Likewise.
27624         (ERRNO_ERANGE): Likewise.
27625         (NO_TEST_INLINE_FLOAT): New macro.
27626         (NO_TEST_INLINE_DOUBLE): Likewise.
27627         (enable_test): New function.
27628         (RUN_TEST_f_f): Check enable_test before running test.
27629         (RUN_TEST_2_f): Likewise.
27630         (RUN_TEST_fff_f): Likewise.
27631         (RUN_TEST_c_f): Likewise.
27632         (RUN_TEST_f_f1): Likewise.
27633         (RUN_TEST_fF_f1): Likewise.
27634         (RUN_TEST_fI_f1): Likewise.
27635         (RUN_TEST_ffI_f1): Likewise.
27636         (RUN_TEST_c_c): Likewise.
27637         (RUN_TEST_cc_c): Likewise.
27638         (RUN_TEST_f_i): Likewise.
27639         (RUN_TEST_f_i_tg): Likewise.
27640         (RUN_TEST_ff_i_tg): Likewise.
27641         (RUN_TEST_f_b): Likewise.
27642         (RUN_TEST_f_b_tg): Likewise.
27643         (RUN_TEST_f_l): Likewise.
27644         (RUN_TEST_f_L): Likewise.
27645         (RUN_TEST_fFF_11): Likewise.
27646         (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
27647         conditionals.
27648         (cosh_test_data): Likewise.
27649         (exp_test_data): Likewise.
27650         (expm1_test_data): Likewise.
27651         (hypot_test_data): Likewise.
27652         (pow_test_data): Likewise.
27653         (sinh_test_data): Likewise.
27654         (tanh_test_data): Likewise.
27655         * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
27656         flags argument.
27658         * libm-test.inc (acos_test_data): Disallow inexact exceptions for
27659         tests with quiet NaN input and output.
27660         (acosh_test_data): Likewise.
27661         (asin_test_data): Likewise.
27662         (asinh_test_data): Likewise.
27663         (atan_test_data): Likewise.
27664         (atanh_test_data): Likewise.
27665         (atan2_test_data): Likewise.
27666         (cbrt_test_data): Likewise.
27667         (cos_test_data): Likewise.
27668         (cosh_test_data): Likewise.
27669         (erf_test_data): Likewise.
27670         (erfc_test_data): Likewise.
27671         (exp_test_data): Likewise.
27672         (exp10_test_data): Likewise.
27673         (exp2_test_data): Likewise.
27674         (expm1_test_data): Likewise.
27675         (hypot_test_data): Likewise.
27676         (j0_test_data): Likewise.
27677         (j1_test_data): Likewise.
27678         (jn_test_data): Likewise.
27679         (lgamma_test_data): Likewise.
27680         (log_test_data): Likewise.
27681         (log10_test_data): Likewise.
27682         (log1p_test_data): Likewise.
27683         (log2_test_data): Likewise.
27684         (pow_test_data): Likewise.
27685         (scalb_test_data): Likewise.
27686         (sin_test_data): Likewise.
27687         (sincos_test_data): Likewise.
27688         (sinh_test_data): Likewise.
27689         (tan_test_data): Likewise.
27690         (tanh_test_data): Likewise.
27691         (tgamma_test_data): Likewise.
27692         (y0_test_data): Likewise.
27693         (y1_test_data): Likewise.
27694         (yn_test_data): Likewise.
27696         [BZ #16167]
27697         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
27698         argument being NaN and avoid computations with second argument in
27699         that case.
27700         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
27701         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
27702         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
27704 2013-11-15  Arun Kumar Pyasi <arun@chitwanix.com>
27706         * locale/iso-639.def: Add Chitwani Tharu (the).
27708 2013-11-14  Andreas Schwab  <schwab@suse.de>
27710         * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
27711         word instead of empty string.
27713 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27715         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
27716         (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
27717         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
27718         (__fe_nomask_env): Likewise.
27720 2013-11-13  Steve Ellcey  <sellcey@mips.com>
27722         * benchtests/bench-timing.h: Include time.h.
27724 2013-11-13  H.J. Lu  <hongjiu.lu@intel.com>
27726         [BZ #15997]
27727         * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
27728         to 3.4.0 for x32.
27729         * sysdeps/unix/sysv/linux/configure: Regenerated.
27731 2013-11-13  Joseph Myers  <joseph@codesourcery.com>
27733         [BZ #16151]
27734         * stdlib/strtod_l.c (round_and_return): Do not consider
27735         retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
27736         exponent one less than half the least subnormal exponent.
27737         * stdlib/test-strtod-round-data: Add more tests.
27738         * stdlib/tst-strtod-round.c (tests): Regenerated.
27740 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27742         [BZ #14143]
27743         * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
27744         (__fe_mask_env): Likewise.
27745         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
27746         libm_hidden_proto and add function prototype.
27747         (__fe_mask_env): Add function prototype.
27748         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
27749         (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
27750         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
27751         (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
27752         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
27753         (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
27755 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
27757         * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
27758         set reference_name to "" to avoid passing NULL to DSO_FILENAME.
27760 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
27762         * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
27763         of htab_find_slot().
27765 2013-11-11  David S. Miller  <davem@davemloft.net>
27767         [BZ #16150]
27768         * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
27769         symbol in the non-vis3 case in static builds.
27770         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
27771         * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
27772         * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
27773         * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
27775 2013-11-11  Jan Kratochvil  <jan.kratochvil@redhat.com>
27777         [BZ #387]
27778         * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
27779         it is empty.
27781 2013-11-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27783         * benchtests/Makefile: Add bench-strtod.
27784         * benchtests/bench-strtod.c: New file: strtod benchtest
27786 2013-11-11  Andreas Schwab  <schwab@suse.de>
27788         [BZ #16153]
27789         * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
27790         terminating NUL in key length.
27792 2013-11-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27794         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
27795         Add artificial ODP entry for vDSO symbol for PPC64.
27796         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
27797         * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
27799 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
27801         [BZ #15374]
27802         * nss/getent.c (services_keys): Recognize services starting with digit.
27804 2013-11-06  David S. Miller  <davem@davemloft.net>
27806         [BZ #15985]
27807         * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
27808         on pre-v9 cpus, use a fnegs+fmovs sequence instead.
27810 2013-11-06  Will Newton  <will.newton@linaro.org>
27812         * manual/memory.texi (Malloc Examples): Remove register
27813         keyword from examples.
27815 2013-11-04  Chris Leonard  <cjl@sugarlabs.org>
27817         * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
27819 2013-11-04  Joseph Myers  <joseph@codesourcery.com>
27821         [BZ #6981]
27822         * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
27823         depending on [__GCC_IEC_559 > 0].
27824         [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
27825         depending on [__GCC_IEC_559_COMPLEX > 0].
27827 2013-11-03  Chris Leonard  <cjl@sugarlabs.org>
27829         * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
27830         to iso-639.def.
27832 2013-11-03  Ondřej Bílka  <neleai@seznam.cz>
27834         * elf/rtld.c: Remove unused NONTLS_INIT_TP.
27836 2013-11-01  Ondřej Bílka  <neleai@seznam.cz>
27838         [BZ #16112]
27839         * malloc/malloc (malloc_info): Do not handle first bin as
27840         special case.
27842 2013-11-01  Chris Leonard  <cjl@sugarlabs.org>
27844         * locale/iso-639.def: Add Central Nahuatl (nhn).
27846 2013-11-01  Bruno Haible  <bruno@clisp.org>
27848         [BZ #7003]
27849         * manual/math.texi (BSD Random): Specify range upper bound as
27850         in POSIX.
27852 2013-10-31  Chris Leonard  <cjl@sugarlabs.org>
27854         * locale/iso-639.def: Add Meadow Mari (mhr).
27856 2013-10-31  Ondřej Bílka  <neleai@seznam.cz>
27858         [BZ #14752], [BZ #15763]
27859         * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
27860         Validate name.
27861         * rt/tst_shm.c: Add test for escaping directory.
27863 2013-10-31  Andreas Schwab  <schwab@suse.de>
27865         [BZ #15917]
27866         * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
27867         followed by 'x' as part of digit sequence.
27868         * stdio-common/tst-sscanf.c (double_tests2): New tests.
27870 2013-10-31  Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
27872         [BZ #16037]
27873         * configure.ac: allow GNU Make 4.0 and greater.
27874         * configure: Regenerated.
27876 2013-10-30  Will Newton  <will.newton@linaro.org>
27878         [BZ #16038]
27879         * malloc/hooks.c (memalign_check): Limit alignment to the
27880         maximum representable power of two.
27881         * malloc/malloc.c (__libc_memalign): Likewise.
27882         * malloc/tst-memalign.c (do_test): Add test for very
27883         large alignment values.
27884         * malloc/tst-posix_memalign.c (do_test): Likewise.
27886 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
27888         [BZ #11087]
27889         * malloc/malloc.c (sysmalloc): Compute statistics atomically.
27890         (munmap_chunk): Likewise.
27891         (mremap_chunk): Likewise.
27893 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
27895         [BZ #15799]
27896         * stdlib/div.c (div): Remove obsolete code.
27897         * stdlib/ldiv.c (ldiv): Likewise.
27898         * stdlib/lldiv.c (lldiv): Likewise.
27900 2013-10-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
27902         [BZ #16071]
27903         * nss/nss_files/files-XXX.c (get_contents_ret): New
27904         enumerator.
27905         (get_contents): New function.
27906         (internal_getent): Use it.  Expand size of LINEBUFLEN.
27908 2013-10-30  Mike Frysinger  <vapier@gentoo.org>
27910         * configure.in: Moved to ...
27911         * configure.ac: ... here. Change reference to configure.in
27912         to configure.ac.
27913         * sysdeps/arm/preconfigure.ac: ... here.
27914         configure.in to configure.ac.
27915         * sysdeps/gnu/configure.in: Moved to ...
27916         * sysdeps/gnu/configure.ac: ... here.
27917         * sysdeps/i386/configure.in: Moved to ...
27918         * sysdeps/i386/configure.ac: ... here.
27919         * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
27920         * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
27921         * sysdeps/mach/configure.in: Moved to ...
27922         * sysdeps/mach/configure.ac: ... here.
27923         * sysdeps/mach/hurd/configure.in: Moved to ...
27924         * sysdeps/mach/hurd/configure.ac: ... here.
27925         * sysdeps/powerpc/configure.in: Moved to ...
27926         * sysdeps/powerpc/configure.ac: ... here.
27927         * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
27928         * sysdeps/powerpc/powerpc32/configure.ac: ... here.
27929         * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
27930         * sysdeps/powerpc/powerpc64/configure.ac: ... here.
27931         * sysdeps/s390/s390-32/configure.in: Moved to ...
27932         * sysdeps/s390/s390-32/configure.ac: ... here.
27933         * sysdeps/s390/s390-64/configure.in: Moved to ...
27934         * sysdeps/s390/s390-64/configure.ac: ... here.
27935         * sysdeps/sh/configure.in: Moved to ...
27936         * sysdeps/sh/configure.ac: ... here.
27937         * sysdeps/sparc/configure.in: Moved to ...
27938         * sysdeps/sparc/configure.ac: ... here.
27939         * sysdeps/unix/sysv/linux/configure.in: Moved to ...
27940         * sysdeps/unix/sysv/linux/configure.ac: ... here.
27941         * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
27942         * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
27943         * sysdeps/x86_64/configure.in: Moved to ...
27944         * sysdeps/x86_64/configure.ac: ... here.
27945         * sysdeps/x86_64/preconfigure.in: Moved to ...
27946         * sysdeps/x86_64/preconfigure.ac: ... here.
27947         * aclocal.m4: Change reference to configure.in to configure.ac.
27948         * config.h.in: Likewise.
27949         * manual/install.texi: Likewise.
27950         * manual/maint.texi: Likewise.
27951         * Makefile: Likewise.
27952         * malloc/Makefile: Likewise.
27953         * nscd/Makefile: Likewise.
27954         * Makeconfig: Change reference to configure.in and
27955         preconfigure.in to configure.ac and preconfigure.ac
27956         respectively.
27957         * INSTALL: Regenerated.
27958         * configure: Likewise.
27959         * sysdeps/gnu/configure: Likewise.
27960         * sysdeps/i386/configure: Likewise.
27961         * sysdeps/ieee754/ldbl-opt/configure: Likewise.
27962         * sysdeps/mach/configure: Likewise.
27963         * sysdeps/mach/hurd/configure: Likewise.
27964         * sysdeps/powerpc/configure: Likewise.
27965         * sysdeps/powerpc/powerpc32/configure: Likewise.
27966         * sysdeps/powerpc/powerpc64/configure: Likewise.
27967         * sysdeps/s390/s390-32/configure: Likewise.
27968         * sysdeps/s390/s390-64/configure: Likewise.
27969         * sysdeps/sh/configure: Likewise.
27970         * sysdeps/sparc/configure: Likewise.
27971         * sysdeps/unix/sysv/linux/configure: Likewise.
27972         * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
27973         * sysdeps/x86_64/configure: Likewise.
27974         * sysdeps/x86_64/preconfigure: Likewise.
27976 2013-10-29  Andreas Schwab  <schwab@suse.de>
27978         * stdio-common/Makefile (tst-swscanf-ENV): Define.
27980 2013-10-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
27982         * benchtests/pow-inputs: Add new inputs.
27984         * benchtests/exp-inputs: Add new inputs.
27986         * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
27987         conditional check for return value.
27988         (__cos32): Likewise.
27990 2013-10-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27992         * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
27993         to provide a boost for large inputs with word alignment.
27994         * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
27995         implementation based on optimized PPC64 strcpy.
27996         * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
27997         strcpy for PPC64/POWER7 based on both doubleword and word load/store.
27998         * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
27999         stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
28001 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
28003         [BZ #2801]
28004         * manual/socket.texi (Host Names): Fix gethostbyname_r example.
28006 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
28008         [BZ #14876]
28009         * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
28010         * time/tst-strptime.c (day_tests): Add testcase.
28012 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
28014         [BZ #14029]
28015         * manual/pattern.texi: Acknowledge that fnmatch can fail.
28017 2013-10-25  Fabrice Bauzac  <fbauzac@debian71.nce.amadeus.net>
28019         [BZ #16074]
28020         * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
28021         MAP_FAILED on error.
28023 2013-10-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
28025         [BZ #16072]
28026         * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
28027         heap for large requests.
28029 2013-10-25  Aurelien Jarno  <aurelien@aurel32.net>
28031         [BZ #9954]
28032         * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
28033         result if the result has no associated interface.
28034         * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
28035         interface for all 127.X.Y.Z addresses.
28037 2013-10-24  Chris Leonard  <cjl@sugarlabs.org>
28039         * locale/iso-639.def: Add Ligurian (lij)
28041 2013-10-21  Ondřej Bílka  <neleai@seznam.cz>
28043         [BZ #15825]
28044         * sunrpc/rpc_main.c: Document rpcgen -5.
28046 2013-10-19  Michael Stahl  <mstahl@redhat.com>
28048         * elf/rtld.c (do_preload): Print the reason why preloading failed.
28050 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
28052         [BZ #10278]
28053         * posix/glob.c: Match only directories when trailing slash is present.
28054         * posix/tst-gnuglob.c (my_opendir): Do not open files.
28055         (main): Add testcase.
28057 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
28059         [BZ #15670]
28060         * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
28062 2013-10-18  Carlos O'Donell  <carlos@redhat.com>
28064         * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
28065         AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
28066         AUTH_DES and cindex for FIPS 140-2.
28067         (DES Encryption): Add cindex FIPS 46-3.
28069         * locale/locarchive.h (struct locarhandle): Add fname.
28070         * locale/programs/localedef.c (main): Pass ARGV[remaining]
28071         if an optional argument was specified to --list-archive,
28072         otherwise NULL.
28073         * locale/programs/locarchive.c (show_archive_content): Take new
28074         argument fname and pass it via ah.fname to open_archive.
28075         * locale/programs/localedef.h: Update decl.
28076         (open_archive): If AH->fname is non-null, open that file
28077         rather than the default file name, and don't ignore ENOENT.
28078         (create_archive): Set AH.fname to NULL.
28079         (delete_locales_from_archive): Likewise.
28080         (add_locales_to_archive): Likewise.
28081         * locale/programs/locfile.c (write_all_categories): Likewise.
28083 2013-10-18  Joseph Myers  <joseph@codesourcery.com>
28084             Aldy Hernandez  <aldyh@redhat.com>
28086         * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
28087         * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
28088         * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
28089         * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
28090         * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
28091         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
28092         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
28093         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
28094         * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
28095         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
28096         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
28097         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
28098         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
28099         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
28100         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
28101         Likewise.
28102         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
28103         Likewise.
28104         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
28105         Likewise.
28106         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
28107         Likewise.
28108         * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
28109         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
28110         Likewise.
28111         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
28112         * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
28113         * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
28114         * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
28115         Likewise.
28116         * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
28117         * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
28118         * sysdeps/powerpc/preconfigure: Likewise.
28119         * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
28120         Likewise.
28121         * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
28122         Replace contents of file by #include of <fenv_libc.h>.
28123         * sysdeps/powerpc/soft-fp/sfp-machine.h
28124         [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
28125         and <sys/prctl.h>.
28126         [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
28127         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
28128         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
28129         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
28130         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
28131         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
28132         [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
28133         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
28134         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
28135         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
28136         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
28137         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
28138         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
28139         Allow copysignl PLT reference to be missing.
28141 2013-10-18  Richard Sandiford  <richard@codesourcery.com>
28142             Joseph Myers  <joseph@codesourcery.com
28144         [BZ #15948]
28145         * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
28146         single character.
28147         (add_to_tablewc): Assert sequence of wide characters is nonempty.
28149 2013-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
28151         * elf/tst-tls-dlinfo.c: Don't include tls.h.
28152         * elf/tst-tls1.c: Likewise.
28153         * elf/tst-tls10.h: Likewise.
28154         * elf/tst-tls14.c: Likewise.
28155         * elf/tst-tls2.c: Likewise.
28156         * elf/tst-tls3.c: Likewise.
28157         * elf/tst-tls4.c: Likewise.
28158         * elf/tst-tls5.c: Likewise.
28159         * elf/tst-tls6.c: Likewise.
28160         * elf/tst-tls7.c: Likewise.
28161         * elf/tst-tls8.c: Likewise.
28162         * elf/tst-tls9.c: Likewise.
28163         * elf/tst-tlsmod1.c: Likewise.
28164         * elf/tst-tlsmod13.c: Likewise.
28165         * elf/tst-tlsmod13a.c: Likewise.
28166         * elf/tst-tlsmod14a.c: Likewise.
28167         * elf/tst-tlsmod16a.c: Likewise.
28168         * elf/tst-tlsmod16b.c: Likewise.
28169         * elf/tst-tlsmod2.c: Likewise.
28170         * elf/tst-tlsmod3.c: Likewise.
28171         * elf/tst-tlsmod4.c: Likewise.
28172         * elf/tst-tlsmod5.c: Likewise.
28173         * elf/tst-tlsmod6.c: Likewise.
28175 2013-10-18  Ondřej Bílka  <neleai@seznam.cz>
28177         [BZ #12486]
28178         * malloc/malloc.c: remove checks for statistics.
28180 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
28182         [BZ #15277]
28183         * inet/inet_net.c (inet_network): Detect additional invalid strings.
28184         * inet/tst-network.c: Add testcase.
28186 2013-10-17  Andreas Schwab  <schwab@suse.de>
28188         [BZ #15218]
28189         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
28190         to determine canonical name.
28192 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
28194         * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
28195         * sysdeps/ieee754/dbl-64/dla.h: Likewise.
28196         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
28197         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
28198         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
28199         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
28200         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
28201         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
28202         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
28203         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
28204         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
28205         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
28206         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
28207         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
28208         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
28209         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
28210         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
28211         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
28212         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
28213         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
28214         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
28215         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
28216         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
28217         * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
28218         * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
28219         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
28220         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
28221         * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
28222         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
28223         * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
28224         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
28225         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
28226         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
28227         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
28228         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
28229         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
28230         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
28231         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
28232         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
28233         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
28234         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
28235         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
28236         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
28237         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
28238         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
28239         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
28240         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
28241         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
28242         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
28243         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
28244         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
28245         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
28246         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
28247         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
28248         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
28249         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
28250         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
28251         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
28253 2013-10-17  Joseph Myers  <joseph@codesourcery.com>
28255         [BZ #16041]
28256         * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
28257         make result into a quiet NaN.
28259 2013-10-16  Joseph Myers  <joseph@codesourcery.com>
28261         * soft-fp/adddf3.c: Fix horizontal whitespace.
28262         * soft-fp/addsf3.c: Likewise.
28263         * soft-fp/addtf3.c: Likewise.
28264         * soft-fp/divdf3.c: Likewise.
28265         * soft-fp/divsf3.c: Likewise.
28266         * soft-fp/divtf3.c: Likewise.
28267         * soft-fp/double.h: Likewise.
28268         * soft-fp/eqdf2.c: Likewise.
28269         * soft-fp/eqsf2.c: Likewise.
28270         * soft-fp/eqtf2.c: Likewise.
28271         * soft-fp/extenddftf2.c: Likewise.
28272         * soft-fp/extended.h: Likewise.
28273         * soft-fp/extendsfdf2.c: Likewise.
28274         * soft-fp/extendsftf2.c: Likewise.
28275         * soft-fp/extendxftf2.c: Likewise.
28276         * soft-fp/fixdfdi.c: Likewise.
28277         * soft-fp/fixdfsi.c: Likewise.
28278         * soft-fp/fixdfti.c: Likewise.
28279         * soft-fp/fixsfdi.c: Likewise.
28280         * soft-fp/fixsfsi.c: Likewise.
28281         * soft-fp/fixsfti.c: Likewise.
28282         * soft-fp/fixtfdi.c: Likewise.
28283         * soft-fp/fixtfsi.c: Likewise.
28284         * soft-fp/fixtfti.c: Likewise.
28285         * soft-fp/fixunsdfdi.c: Likewise.
28286         * soft-fp/fixunsdfsi.c: Likewise.
28287         * soft-fp/fixunsdfti.c: Likewise.
28288         * soft-fp/fixunssfdi.c: Likewise.
28289         * soft-fp/fixunssfsi.c: Likewise.
28290         * soft-fp/fixunssfti.c: Likewise.
28291         * soft-fp/fixunstfdi.c: Likewise.
28292         * soft-fp/fixunstfsi.c: Likewise.
28293         * soft-fp/fixunstfti.c: Likewise.
28294         * soft-fp/floatdidf.c: Likewise.
28295         * soft-fp/floatdisf.c: Likewise.
28296         * soft-fp/floatditf.c: Likewise.
28297         * soft-fp/floatsidf.c: Likewise.
28298         * soft-fp/floatsisf.c: Likewise.
28299         * soft-fp/floatsitf.c: Likewise.
28300         * soft-fp/floattidf.c: Likewise.
28301         * soft-fp/floattisf.c: Likewise.
28302         * soft-fp/floattitf.c: Likewise.
28303         * soft-fp/floatundidf.c: Likewise.
28304         * soft-fp/floatundisf.c: Likewise.
28305         * soft-fp/floatunditf.c: Likewise.
28306         * soft-fp/floatunsidf.c: Likewise.
28307         * soft-fp/floatunsisf.c: Likewise.
28308         * soft-fp/floatunsitf.c: Likewise.
28309         * soft-fp/floatuntidf.c: Likewise.
28310         * soft-fp/floatuntisf.c: Likewise.
28311         * soft-fp/floatuntitf.c: Likewise.
28312         * soft-fp/fmadf4.c: Likewise.
28313         * soft-fp/fmasf4.c: Likewise.
28314         * soft-fp/fmatf4.c: Likewise.
28315         * soft-fp/gedf2.c: Likewise.
28316         * soft-fp/gesf2.c: Likewise.
28317         * soft-fp/getf2.c: Likewise.
28318         * soft-fp/ledf2.c: Likewise.
28319         * soft-fp/lesf2.c: Likewise.
28320         * soft-fp/letf2.c: Likewise.
28321         * soft-fp/muldf3.c: Likewise.
28322         * soft-fp/mulsf3.c: Likewise.
28323         * soft-fp/multf3.c: Likewise.
28324         * soft-fp/negdf2.c: Likewise.
28325         * soft-fp/negsf2.c: Likewise.
28326         * soft-fp/negtf2.c: Likewise.
28327         * soft-fp/op-1.h: Likewise.
28328         * soft-fp/op-2.h: Likewise.
28329         * soft-fp/op-4.h: Likewise.
28330         * soft-fp/op-8.h: Likewise.
28331         * soft-fp/op-common.h: Likewise.
28332         * soft-fp/quad.h: Likewise.
28333         * soft-fp/single.h: Likewise.
28334         * soft-fp/soft-fp.h: Likewise.
28335         * soft-fp/sqrtdf2.c: Likewise.
28336         * soft-fp/sqrtsf2.c: Likewise.
28337         * soft-fp/sqrttf2.c: Likewise.
28338         * soft-fp/subdf3.c: Likewise.
28339         * soft-fp/subsf3.c: Likewise.
28340         * soft-fp/subtf3.c: Likewise.
28341         * soft-fp/truncdfsf2.c: Likewise.
28342         * soft-fp/trunctfdf2.c: Likewise.
28343         * soft-fp/trunctfsf2.c: Likewise.
28344         * soft-fp/trunctfxf2.c: Likewise.
28345         * soft-fp/unorddf2.c: Likewise.
28346         * soft-fp/unordsf2.c: Likewise.
28347         * soft-fp/unordtf2.c: Likewise.
28349 2013-10-15  Joseph Myers  <joseph@codesourcery.com>
28351         * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
28352         * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
28354 2013-10-15   Ondřej Bílka  <neleai@seznam.cz>
28356         * elf/dl-libc.c: Clear initfini list after freeing.
28358 2013-10-14  Joseph Myers  <joseph@codesourcery.com>
28360         * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
28361         * soft-fp/addsf3.c: Likewise.
28362         * soft-fp/addtf3.c: Likewise.
28363         * soft-fp/divdf3.c: Likewise.
28364         * soft-fp/divsf3.c: Likewise.
28365         * soft-fp/divtf3.c: Likewise.
28366         * soft-fp/double.h: Likewise.
28367         * soft-fp/eqdf2.c: Likewise.
28368         * soft-fp/eqsf2.c: Likewise.
28369         * soft-fp/eqtf2.c: Likewise.
28370         * soft-fp/extenddftf2.c: Likewise.
28371         * soft-fp/extended.h: Likewise.
28372         * soft-fp/extendsfdf2.c: Likewise.
28373         * soft-fp/extendsftf2.c: Likewise.
28374         * soft-fp/extendxftf2.c: Likewise.
28375         * soft-fp/fixdfdi.c: Likewise.
28376         * soft-fp/fixdfsi.c: Likewise.
28377         * soft-fp/fixdfti.c: Likewise.
28378         * soft-fp/fixsfdi.c: Likewise.
28379         * soft-fp/fixsfsi.c: Likewise.
28380         * soft-fp/fixsfti.c: Likewise.
28381         * soft-fp/fixtfdi.c: Likewise.
28382         * soft-fp/fixtfsi.c: Likewise.
28383         * soft-fp/fixtfti.c: Likewise.
28384         * soft-fp/fixunsdfdi.c: Likewise.
28385         * soft-fp/fixunsdfsi.c: Likewise.
28386         * soft-fp/fixunsdfti.c: Likewise.
28387         * soft-fp/fixunssfdi.c: Likewise.
28388         * soft-fp/fixunssfsi.c: Likewise.
28389         * soft-fp/fixunssfti.c: Likewise.
28390         * soft-fp/fixunstfdi.c: Likewise.
28391         * soft-fp/fixunstfsi.c: Likewise.
28392         * soft-fp/fixunstfti.c: Likewise.
28393         * soft-fp/floatdidf.c: Likewise.
28394         * soft-fp/floatdisf.c: Likewise.
28395         * soft-fp/floatditf.c: Likewise.
28396         * soft-fp/floatsidf.c: Likewise.
28397         * soft-fp/floatsisf.c: Likewise.
28398         * soft-fp/floatsitf.c: Likewise.
28399         * soft-fp/floattidf.c: Likewise.
28400         * soft-fp/floattisf.c: Likewise.
28401         * soft-fp/floattitf.c: Likewise.
28402         * soft-fp/floatundidf.c: Likewise.
28403         * soft-fp/floatundisf.c: Likewise.
28404         * soft-fp/floatunsidf.c: Likewise.
28405         * soft-fp/floatunsisf.c: Likewise.
28406         * soft-fp/floatuntidf.c: Likewise.
28407         * soft-fp/floatuntisf.c: Likewise.
28408         * soft-fp/floatuntitf.c: Likewise.
28409         * soft-fp/fmadf4.c: Likewise.
28410         * soft-fp/fmasf4.c: Likewise.
28411         * soft-fp/fmatf4.c: Likewise.
28412         * soft-fp/gedf2.c: Likewise.
28413         * soft-fp/gesf2.c: Likewise.
28414         * soft-fp/getf2.c: Likewise.
28415         * soft-fp/ledf2.c: Likewise.
28416         * soft-fp/lesf2.c: Likewise.
28417         * soft-fp/letf2.c: Likewise.
28418         * soft-fp/muldf3.c: Likewise.
28419         * soft-fp/mulsf3.c: Likewise.
28420         * soft-fp/multf3.c: Likewise.
28421         * soft-fp/negdf2.c: Likewise.
28422         * soft-fp/negsf2.c: Likewise.
28423         * soft-fp/negtf2.c: Likewise.
28424         * soft-fp/op-1.h: Likewise.
28425         * soft-fp/op-2.h: Likewise.
28426         * soft-fp/op-4.h: Likewise.
28427         * soft-fp/op-8.h: Likewise.
28428         * soft-fp/op-common.h: Likewise.
28429         * soft-fp/quad.h: Likewise.
28430         * soft-fp/single.h: Likewise.
28431         * soft-fp/soft-fp.h: Likewise.
28432         * soft-fp/sqrtdf2.c: Likewise.
28433         * soft-fp/sqrtsf2.c: Likewise.
28434         * soft-fp/sqrttf2.c: Likewise.
28435         * soft-fp/subdf3.c: Likewise.
28436         * soft-fp/subsf3.c: Likewise.
28437         * soft-fp/subtf3.c: Likewise.
28438         * soft-fp/truncdfsf2.c: Likewise.
28439         * soft-fp/trunctfdf2.c: Likewise.
28440         * soft-fp/trunctfsf2.c: Likewise.
28441         * soft-fp/trunctfxf2.c: Likewise.
28442         * soft-fp/unorddf2.c: Likewise.
28443         * soft-fp/unordsf2.c: Likewise.
28444         * soft-fp/unordtf2.c: Likewise.
28446 2013-10-14   Ondřej Bílka  <neleai@seznam.cz>
28448         [BZ #15672]
28449         * misc/error.c (error_tail): Fix possible buffer overflow.
28451 2013-10-14  Aurelien Jarno  <aurelien@aurel32.net>
28453         [BZ #13028]
28454         * res_send.c(__libc_res_nsend): Correctly copy the nameserver
28455         address.
28457 2013-10-14  P. J. McDermott  <pj@pehjota.net>
28459         [BZ #832]
28460         * elf/ldd.bash.in (try_trace): New function.  Delete previous code
28461         testing pipefail option.
28463 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
28465         * soft-fp/double.h: Indent preprocessor directives inside #if.
28466         * soft-fp/extended.h: Likewise.
28467         * soft-fp/op-2.h: Likewise.
28468         * soft-fp/op-4.h: Likewise.
28469         * soft-fp/op-common.h: Likewise.
28470         * soft-fp/quad.h: Likewise.
28471         * soft-fp/single.h: Likewise.
28472         * soft-fp/soft-fp.h: Likewise.
28474 2013-10-12   Yuri Chornoivan <yurchor@ukr.net>
28476         * iconv/iconv_prog.c: Fix typos.
28477         * stdio-common/psiginfo-data.h: Likewise.
28479 2013-10-12   Reuben Thomas <rrt@sc3d.org>
28481         [BZ #15764]
28482         * locale/setlocale.c: Fix typo.
28484 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
28486         [BZ #16036]
28487         * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
28488         signaling NaN arguments.
28489         * soft-fp/unordsf2.c (__unordsf2): Likewise.
28490         * soft-fp/unordtf2.c (__unordtf2): Likewise.
28492         [BZ #14910]
28493         * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
28494         unordered operands.
28495         * soft-fp/gesf2.c (__gesf2): Likewise.
28496         * soft-fp/getf2.c (__getf2): Likewise.
28497         * soft-fp/ledf2.c (__ledf2): Likewise.
28498         * soft-fp/lesf2.c (__lesf2): Likewise.
28499         * soft-fp/letf2.c (__letf2): Likewise.
28501         * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
28502         * soft-fp/eqsf2.c (__eqsf2): Likewise.
28503         * soft-fp/eqtf2.c (__eqtf2): Likewise.
28504         * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
28505         * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
28506         * soft-fp/fixdfti.c (__fixdfti): Likewise.
28507         * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
28508         * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
28509         * soft-fp/fixsfti.c (__fixsfti): Likewise.
28510         * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
28511         * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
28512         * soft-fp/fixtfti.c (__fixtfti): Likewise.
28513         * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
28514         * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
28515         * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
28516         * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
28517         * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
28518         * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
28519         * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
28520         * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
28521         * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
28522         * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
28523         * soft-fp/floatdisf.c (__floatdisf): Likewise.
28524         * soft-fp/floatsisf.c (__floatsisf): Likewise.
28525         * soft-fp/floattidf.c (__floattidf): Likewise.
28526         * soft-fp/floattisf.c (__floattisf): Likewise.
28527         * soft-fp/floattitf.c (__floattitf): Likewise.
28528         * soft-fp/floatundidf.c (__floatundidf): Likewise.
28529         * soft-fp/floatundisf.c (__floatundisf): Likewise.
28530         * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
28531         * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
28532         * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
28533         * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
28534         * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
28535         * soft-fp/gesf2.c (__gesf2): Likewise.
28536         * soft-fp/getf2.c (__getf2): Likewise.
28537         * soft-fp/ledf2.c (__ledf2): Likewise.
28538         * soft-fp/lesf2.c (__lesf2): Likewise.
28539         * soft-fp/letf2.c (__letf2): Likewise.
28541         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
28542         Undefine and redefine.
28543         [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
28544         [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
28545         [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
28546         * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
28547         (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
28548         * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
28549         (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
28550         * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
28551         (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
28552         * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
28553         (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
28554         * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
28555         (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
28556         * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
28557         (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
28559         [BZ #16032]
28560         * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
28561         without decrementing exponent if mantissa >= that for the
28562         denominator, not >.
28563         (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
28564         denominator, not >.  Decrement exponent in < case instead of
28565         incrementing in >= case.
28566         * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
28567         without decrementing exponent if mantissa >= that for the
28568         denominator, not >.
28570         * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
28571         computing saturated result for unsigned overflow.
28573 2013-10-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
28574             Jeff Law  <law@redhat.com>
28576         * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
28577         (atan2Mp): Add systemtap probe marker.
28578         * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
28579         (__ieee754_log): Add systemtap probe marker.
28580         * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
28581         (atanMp): Add systemtap probe marker.
28582         * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
28583         (tanMp): Add systemtap probe marker.
28584         * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
28585         (__slowexp): Add systemtap probe marker.
28586         * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
28587         (__slowpow): Add systemtap probe marker.
28588         * manual/probes.texi: Document probes.
28590 2013-10-11  Eric Biggers  <ebiggers3@gmail.com>
28592         [BZ #15362]
28593         * libio/fileops.c (_IO_new_file_write): Return count of bytes
28594         written.
28595         (_IO_new_file_xsputn): Don't return EOF if nothing has been
28596         written.
28597         * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
28598         written to buffer but not flushed.
28599         * libio/iofwrite_u.c:  Likewise.
28600         * libio/iopadn.c:  Return bytes returned even if EOF was
28601         encountered.
28602         * libio/iowpadn.c:  Likewise.
28603         * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
28604         if _IO_padn does not write the whole buffer.
28605         [!COMPILE_WPRINTF] (PAD): Likewise.
28607 2013-10-10  David S. Miller  <davem@davemloft.net>
28609         * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
28610         directory block.
28612 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
28614         * soft-fp/extendxftf2.c: Use copyright year range.  Use URL
28615         instead of FSF address.
28616         * soft-fp/fixdfti.c: Likewise.
28617         * soft-fp/fixsfti.c: Likewise.
28618         * soft-fp/fixtfti.c: Likewise.
28619         * soft-fp/fixunsdfti.c: Likewise.
28620         * soft-fp/fixunssfti.c: Likewise.
28621         * soft-fp/fixunstfti.c: Likewise.
28622         * soft-fp/floattidf.c: Likewise.
28623         * soft-fp/floattisf.c: Likewise.
28624         * soft-fp/floattitf.c: Likewise.
28625         * soft-fp/floatuntidf.c: Likewise.
28626         * soft-fp/floatuntisf.c: Likewise.
28627         * soft-fp/floatuntitf.c: Likewise.
28628         * soft-fp/trunctfxf2.c: Likewise.
28630         * soft-fp/extendxftf2.c: New file.  Copied from libgcc.
28631         * soft-fp/fixdfti.c: Likewise.
28632         * soft-fp/fixsfti.c: Likewise.
28633         * soft-fp/fixtfti.c: Likewise.
28634         * soft-fp/fixunsdfti.c: Likewise.
28635         * soft-fp/fixunssfti.c: Likewise.
28636         * soft-fp/fixunstfti.c: Likewise.
28637         * soft-fp/floattidf.c: Likewise.
28638         * soft-fp/floattisf.c: Likewise.
28639         * soft-fp/floattitf.c: Likewise.
28640         * soft-fp/floatuntidf.c: Likewise.
28641         * soft-fp/floatuntisf.c: Likewise.
28642         * soft-fp/floatuntitf.c: Likewise.
28643         * soft-fp/trunctfxf2.c: Likewise.
28645 2013-10-10  David S. Miller  <davem@davemloft.net>
28647         * sysdeps/sparc/fpu/libm-test-ulps: Update.
28649 2013-10-10  Joseph Myers  <joseph@codsourcery.com>
28651         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
28652         (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
28653         [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
28654         [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
28655         [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
28656         [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
28657         [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
28659         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
28660         for NaNs before doing comparisons on argument.
28661         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
28662         Likewise.
28664 2013-10-10  Will Newton  <will.newton@linaro.org>
28666         * malloc/hooks.c (memalign_check): Ensure the value of bytes
28667         passed to _int_memalign does not overflow.
28669 2013-10-10  Torvald Riegel  <triegel@redhat.com>
28671         * scripts/bench.pl: Add include-sources directive.
28672         * benchtests/README: Update documentation.
28674 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
28676         * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
28677         * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
28678         instead of FP_INIT_ROUNDMODE.
28679         * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
28680         * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
28682         [BZ #16034]
28683         * soft-fp/op-common.h (_FP_NEG): Document input as raw.  Do not
28684         copy class of input value.
28685         * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing.  Do
28686         not handle exceptions.
28687         * soft-fp/negsf2.c (__negsf2): Likewise.
28688         * soft-fp/negtf2.c (__negtf2): Likewise.
28689         * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
28691 2013-10-09  Joseph Myers  <joseph@codesourcery.com>
28693         * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
28694         semicolon.  From Linux kernel.
28696 2013-10-09  Adam Buchbinder  <adam.buchbinder@gmail.com>
28698         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
28700 2013-10-08  Yogesh Chaudhari  <mr.yogesh@gmail.com>
28702         [BZ #156]
28703         * manual/socket.texi: Added statement about buffer
28704         for gethostbyname2_r.
28706 2013-10-08  Ondřej Bílka  <neleai@seznam.cz>
28708         * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
28709         Use .p2align directive instead, throughout.
28710         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
28711         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
28712         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
28713         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
28714         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
28715         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
28716         * sysdeps/x86_64/strchr.S: Likewise.
28717         * sysdeps/x86_64/strrchr.S: Likewise.
28719 2013-10-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
28721         * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
28723         * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
28725         * sysdeps/generic/math_private.h (__mpsin1): Remove
28726         declaration.
28727         (__mpcos1): Likewise.
28728         (__mpsin): New argument __range_reduce.
28729         (__mpcos): Likewise.
28730         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
28731         (slow): Use __mpsin and __mpcos.
28732         (slow1): Likewise.
28733         (slow2): Likewise.
28734         (sloww): Likewise.
28735         (sloww1): Likewise.
28736         (sloww2): Likewise.
28737         (bsloww): Likewise.
28738         (bsloww1): Likewise.
28739         (bsloww2): Likewise.
28740         (cslow2): Likewise.
28741         (csloww): Likewise.
28742         (csloww1): Likewise.
28743         (csloww2): Likewise.
28744         * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
28745         range_reduce.  Merge in __mpsin1.
28746         (__mpcos): Likewise.
28747         (__mpsin1): Remove.
28748         (__mpcos1): Likewise.
28750 2013-10-07  Joseph Myers  <joseph@codesourcery.com>
28752         * locale/loadlocale.c (_nl_intern_locale_data): Use
28753         LOCFILE_ALIGNED_P.
28754         * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
28755         LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
28756         * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
28757         obstack data is appropriately aligned.
28758         (obstack_int32_grow_fast): Likewise.
28759         * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
28760         * locale/programs/locfile.c (add_locale_uint32): Likewise.
28761         (add_locale_uint32_array): Likewise.
28763 2013-10-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
28765         * benchtests/Makefile: Remove ARGLIST and RET variables.
28766         ($(objpfx)bench-%.c): Pass only function name to the script.
28767         * benchtests/README: Update documentation.
28768         * benchtests/acos-inputs: Add new directives.
28769         * benchtests/acosh-inputs: Likewise.
28770         * benchtests/asin-inputs: Likewise.
28771         * benchtests/asinh-inputs: Likewise.
28772         * benchtests/atan-inputs: Likewise.
28773         * benchtests/atanh-inputs: Likewise.
28774         * benchtests/cos-inputs: Likewise.
28775         * benchtests/cosh-inputs: Likewise.
28776         * benchtests/exp-inputs: Likewise.
28777         * benchtests/log-inputs: Likewise.
28778         * benchtests/pow-inputs: Likewise.
28779         * benchtests/rint-inputs: Likewise.
28780         * benchtests/sin-inputs: Likewise.
28781         * benchtests/sinh-inputs: Likewise.
28782         * benchtests/tan-inputs: Likewise.
28783         * benchtests/tanh-inputs: Likewise.
28784         * scripts/bench.pl: Add support for new directives.
28786 2013-10-07  Alan Modra  <amodra@gmail.com>
28788         * README: Fix careless merge.
28790 2013-10-05  Alan Modra  <amodra@gmail.com>
28792         * NEWS: Mention powerpc64le support and bugs fixed.
28793         * README: Both big-endian and little-endian powerpc64 supported.
28795 2013-10-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
28797         * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook)
28798         (_hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
28799         (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
28800         _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
28802 2013-10-04  Ryan S. Arnold  <ryan.arnold@linaro.org>
28804         * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
28805         match prototype.
28807 2013-10-04  Joseph Myers  <joseph@codesourcery.com>
28809         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
28810         Move -mhard-float appending from
28811         ports/sysdeps/powerpc/powerpc32/Makefile.
28812         [$(with-fp) = yes] (ASFLAGS): Likewise.
28813         [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
28814         * sysdeps/powerpc/nofpu: Move directory from
28815         ports/sysdeps/powerpc/nofpu.
28816         * sysdeps/powerpc/soft-fp: Move directory from
28817         ports/sysdeps/powerpc/soft-fp.
28818         * sysdeps/powerpc/powerpc32/405: Move directory from
28819         ports/sysdeps/powerpc/powerpc32/405.
28820         * sysdeps/powerpc/powerpc32/440: Move directory from
28821         ports/sysdeps/powerpc/powerpc32/440.
28822         * sysdeps/powerpc/powerpc32/464: Move directory from
28823         ports/sysdeps/powerpc/powerpc32/464.
28824         * sysdeps/powerpc/powerpc32/476: Move directory from
28825         ports/sysdeps/powerpc/powerpc32/476.
28826         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
28827         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
28828         * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
28829         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
28830         * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
28831         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
28832         * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
28833         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
28834         * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
28835         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
28836         * README: Update for powerpc-*-linux-gnu software floating point
28837         support in libc.
28839         * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
28840         case to powerpc/powerpc32*.
28841         * sysdeps/unix/sysv/linux/configure: Regenerated.
28843         * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
28844         (_FPU_MASK_OM): Define as 0x04.
28845         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
28846         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
28847         0x00c10080.
28848         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
28849         0x0000003c.
28850         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
28852         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
28853         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
28854         getcontext_e500.
28855         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
28856         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
28857         setcontext_e500.
28858         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
28859         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
28860         and setcontext_e500.
28862 2013-10-04  Chris Leonard  <cjl@sugarlabs,.org>
28864         * locale/iso-3166.def: Update iso-1366.def and related occurrences
28866 2013-10-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
28868         * manual/threads.texi (Default Thread Attributes): Fix typo.
28870 2013-10-04  Will Newton  <will.newton@linaro.org>
28872         * malloc/Makefile: Add tst-memalign.
28873         * malloc/tst-memalign.c: New file.
28875         * malloc/tst-posix_memalign.c: Add comments.
28876         (do_test): Add comments and call free on all potentially
28877         allocated pointers. Add space after cast.
28879         * malloc/tst-pvalloc.c: Add comments.
28880         (do_test): Add comments and call free on all potentially
28881         allocated pointers. Remove duplicate check for NULL pointer.
28882         Add space after cast.
28884         * malloc/tst-valloc.c: Add comments.
28885         (do_test): Add comments and call free on all potentially
28886         allocated pointers. Remove duplicate check for NULL pointer.
28887         Add space after cast.
28889 2013-10-04  Alan Modra  <amodra@gmail.com>
28891         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
28892         Use stdint types in rather than __attribute__((mode())).
28893         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
28895 2013-10-04  Alan Modra  <amodra@gmail.com>
28897         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
28898         Correct handling of unaligned relocs for little-endian.
28899         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
28901 2013-10-04  Alan Modra  <amodra@gmail.com>
28903         * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
28904         * configure: Regenerate.
28905         * nptl/shlib-versions: Powerpc*le starts at 2.18.
28906         * shlib-versions: Likewise.
28908 2013-10-04  Alan Modra  <amodra@gmail.com>
28910         * string/tester.c (test_memrchr): Increment reported test cycle.
28912 2013-10-04  Alan Modra  <amodra@gmail.com>
28914         * string/test-memcpy.c (do_one_test): When reporting errors, print
28915         string address and don't overrun end of string.
28917 2013-10-04  Alan Modra  <amodra@gmail.com>
28919         * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
28920         insrdi.  Make better use of reg selection to speed exit slightly.
28921         Schedule entry path a little better.  Remove useless "are we done"
28922         checks on entry to main loop.  Handle wrapping around zero address.
28923         Correct main loop count.  Handle single left-over word from main
28924         loop inline rather than by using loop_small.  Remove extra word
28925         case in loop_small caused by wrong loop count.  Add little-endian
28926         support.
28927         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
28928         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.  Use proper
28929         cache hint.
28930         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
28931         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
28932         support.  Avoid rlwimi.
28933         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
28935 2013-10-04  Alan Modra  <amodra@gmail.com>
28937         * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
28938         insrdi.  Formatting.
28939         * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
28940         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
28941         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
28942         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
28943         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
28944         * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
28946 2013-10-04  Alan Modra  <amodra@gmail.com>
28948         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
28949         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
28950         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
28951         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
28952         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
28953         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
28954         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
28955         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
28956         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise.  Make better
28957         use of regs.  Use power7 mtocrf.  Tidy function tails.
28959 2013-10-04  Alan Modra  <amodra@gmail.com>
28961         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
28962         Formatting.  Consistently use rXXX register defines or rN defines.
28963         Use early exit labels that avoid restoring unused non-volatile regs.
28964         Make cr field use more consistent with rWORDn compares.  Rename
28965         regs used as shift registers for unaligned loop, using rN defines
28966         for short lifetime/multiple use regs.
28967         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
28968         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.  Exit with
28969         addi 1,1,64 to pop stack frame.  Simplify return value code.
28970         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
28972 2013-10-04  Alan Modra  <amodra@gmail.com>
28974         * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
28975         support.  Correct typos, formatting.  Optimize tail.  Use insrdi
28976         rather than rlwimi.
28977         * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
28978         * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
28979         little-endian support.  Correct typos.
28980         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise.  Use insrdi
28981         rather than rlwimi.
28982         * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define.  Use
28983         in loop and entry code to keep "and." results.
28984         (strchr): Add little-endian support.  Comment.  Move cntlzd
28985         earlier in tail.
28986         * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
28988 2013-10-04  Alan Modra  <amodra@gmail.com>
28990         * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
28991         * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
28992         * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
28993         * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
28995 2013-10-04  Alan Modra  <amodra@gmail.com>
28997         * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
28998         (rTMP): Define as r11.
28999         (strcmp): Add little-endian support.  Optimise tail.
29000         * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
29001         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
29002         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
29003         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
29004         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
29005         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
29006         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
29008 2013-10-04  Alan Modra  <amodra@gmail.com>
29010         * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
29011         little-endian support.  Remove unnecessary "are we done" tests.
29012         Handle "s" wrapping around zero and extremely large "size".
29013         Correct main loop count.  Handle single left-over word from main
29014         loop inline rather than by using small_loop.  Correct comments.
29015         Delete "zero" tail, use "end_max" instead.
29016         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
29018 2013-10-04  Alan Modra  <amodra@gmail.com>
29020         * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
29021         support.  Don't branch over align.
29022         * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
29023         * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
29024         support.  Rearrange tmp reg use to suit.  Comment.
29025         * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
29027 2013-10-04  Alan Modra  <amodra@gmail.com>
29029         * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
29031 2013-10-04  Alan Modra  <amodra@gmail.com>
29033         * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
29034         conditional form of branch and link when obtaining pc.
29035         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
29037 2013-10-04  Alan Modra  <amodra@gmail.com>
29039         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
29040         HIWORD/LOWORD.
29041         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
29042         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
29044 2013-10-04  Alan Modra  <amodra@gmail.com>
29046         * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
29047         * sysdeps/powerpc/novmx-longjmp.c: Likewise.
29048         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
29049         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
29050         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
29051         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
29052         * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
29053         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
29054         * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
29055         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
29057 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
29058             Alistair Popple <alistair@ozlabs.au.ibm.com>
29059             Alan Modra <amodra@gmail.com>
29061         [BZ #15723]
29062         * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
29063         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
29064         _dl_hwcap access for little-endian.
29065         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.  Don't
29066         destroy vmx regs when saving unaligned.
29067         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
29068         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save.  Don't
29069         destroy vmx regs when saving unaligned.
29071 2013-10-04  Alan Modra  <amodra@gmail.com>
29073         * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
29074         Don't use a union to pack hi/low value.
29076 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
29078         * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
29079         for little-endian.
29080         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
29081         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
29082         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
29083         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
29084         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
29086 2013-10-04  Alan Modra  <amodra@gmail.com>
29088         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
29089         constants to usual value for .cst8 section, and remove redundant
29090         high address load.
29091         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
29092         constant for 0x1p52.  Load little-endian words of double from
29093         correct stack offsets.
29095 2013-10-04  Alan Modra  <amodra@gmail.com>
29097         * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
29098         * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
29099         words of double from correct stack offsets.
29100         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
29101         * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
29102         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
29103         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
29104         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
29105         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
29106         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
29107         * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
29108         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
29109         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
29110         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
29111         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
29112         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
29113         * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
29114         * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
29115         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
29116         * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
29118 2013-10-04  Alan Modra  <amodra@gmail.com>
29120         * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
29121         64-bit int/double union.
29122         (_FPU_SETCW): Likewise.
29123         * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
29124         (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
29126 2013-10-04  Alan Modra  <amodra@gmail.com>
29128         * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
29129         * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
29131 2013-10-04  Alan Modra  <amodra@gmail.com>
29133         * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
29134         use vector int constants.
29135         (__float_and_test24, __float_and8, __float_get_exp): Likewise.
29137 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
29139         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
29140         array with long long.
29141         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
29142         * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
29143         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
29144         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
29145         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
29146         * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
29147         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
29148         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
29149         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
29150         * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
29151         * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
29152         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
29153         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
29155 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
29157         * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
29158         (__signbit): Likewise.  Correct for little-endian.
29159         (__signbitl): Call __signbit.
29160         (lrint): Correct for little-endian.
29161         (lrintf): Call lrint.
29163 2013-10-04  Alan Modra  <amodra@gmail.com>
29165         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
29166         union 32-bit int array member with 64-bit int array.
29167         (t515, tm256): Double rather than long double.
29168         (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
29170 2013-10-04  Alan Modra  <amodra@gmail.com>
29172         * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
29173         Delete.
29174         (IEEE854_LONG_DOUBLE_BIAS): Delete.
29175         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
29176         version of math_ldbl.h.
29178 2013-10-04  Alan Modra  <amodra@gmail.com>
29180         [BZ #15734], [BZ #15735]
29181         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
29182         all uses of ieee875 long double macros and unions.  Simplify test
29183         for 0.0L.  Correct |x|<|y| and |x|=|y| test.  Use
29184         ldbl_extract_mantissa value for ix,iy exponents.  Properly
29185         normalize after ldbl_extract_mantissa, and don't add hidden bit
29186         already handled.  Don't treat low word of ieee854 mantissa like
29187         low word of IBM long double and mask off bit when testing for
29188         zero.
29189         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
29190         all uses of ieee875 long double macros and unions.  Simplify tests
29191         for 0.0L and inf.  Correct double adjustment of k.  Delete dead code
29192         adjusting ha,hb.  Simplify code setting kld.  Delete two600 and
29193         two1022, instead use their values.  Recognise that tests for large
29194         "a" and small "b" are mutually exclusive.  Rename vars.  Comment.
29195         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
29196         Rewrite all uses of ieee875 long double macros and unions.  Simplify
29197         test for 0.0L and nan.  Correct negation.
29198         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
29199         ieee875 long double macros and unions.  Correct output for large
29200         magnitude x.  Correct absolute value calculation.
29201         (__erfcl): Likewise.
29202         * math/libm-test.inc: Add tests for errors discovered in IBM long
29203         double versions of fmodl, remainderl, erfl and erfcl.
29205 2013-10-04  Alan Modra  <amodra@gmail.com>
29207         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
29208         all uses of ieee854 long double macros and unions.  Simplify tests
29209         for long doubles that are fully specified by the high double.
29210         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
29211         Likewise.
29212         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
29213         Remove dead code too.
29214         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
29215         (__ieee754_ynl): Likewise.
29216         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
29217         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
29218         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
29219         Remove dead code too.
29220         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
29221         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
29222         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
29223         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
29224         Simplify.
29225         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
29226         Simplify.
29227         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
29228         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
29229         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
29230         Comment on variable precision.
29231         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
29232         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
29233         Likewise.
29234         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
29235         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
29236         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
29237         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
29238         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
29240 2013-10-04  Alan Modra  <amodra@gmail.com>
29242         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
29243         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
29244         all uses of ieee854 long double macros and unions.
29245         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
29246         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
29247         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
29248         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
29249         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
29250         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
29251         Likewise.
29252         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
29253         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
29254         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
29255         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
29256         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
29257         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
29258         Simplify sign and nan test too.
29259         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
29260         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
29261         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
29262         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
29263         Likewise.
29264         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
29265         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
29266         Likewise.
29267         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
29268         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
29269         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
29270         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
29271         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
29272         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
29274 2013-10-04  Alan Modra  <amodra@gmail.com>
29276         * stdio-common/printf_size.c (__printf_size): Don't use
29277         union ieee854_long_double in fpnum union.
29278         * stdio-common/printf_fphex.c (__printf_fphex): Likewise.  Use
29279         signbit macro to retrieve sign from long double.
29280         * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
29281         retrieve sign from long double.
29282         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
29283         * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
29284         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
29285         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
29286         * math/test-misc.c (main): Don't use union ieee854_long_double.
29288 2013-10-04  Alan Modra  <amodra@gmail.com>
29290         [BZ #15680]
29291         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
29292         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
29293         (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
29294         calculation.  Remove unnecessary test for denormal exponent.
29295         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
29296         Correct handling of denormals.  Avoid undefined shift behaviour.
29297         Correct normalisation of low mantissa when low double is denormal.
29298         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
29299         (ldbl_extract_mantissa): Likewise.  Comment.  Use uint64_t* for hi64.
29300         (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
29301         Correct normalisation of low mantissa.  Test for overflow of high
29302         mantissa and normalise.
29303         (ldbl_nearbyint): Use more readable constant for two52.
29304         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
29305         (__mpn_construct_long_double): Fix test for overflow of high
29306         mantissa and correct normalisation.  Avoid undefined shift.
29308 2013-10-04  Alan Modra  <amodra@gmail.com>
29310         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
29311         (union ibm_extended_long_double): Define as an array of ieee754_double.
29312         (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
29313         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
29314         to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
29315         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
29316         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
29317         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
29318         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
29319         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
29320         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
29321         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
29322         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
29324 2013-10-03  Joseph Myers  <joseph@codesourcery.com>
29326         * locale/programs/locarchive.c (add_locale): Use constant 4096 for
29327         page size instead of calling getpagesize.
29329         * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
29330         (LOCFILE_ALIGN_MASK): Likewise.
29331         (LOCFILE_ALIGN_UP): Likewise.
29332         (LOCFILE_ALIGNED_P): Likewise.
29333         * locale/programs/ld-collate.c (collate_output): Use the new
29334         macros instead of __alignof__ (int32_t).
29335         * locale/weight.h (findidx): Likewise.
29337 2013-10-03  Ondřej Bílka  <neleai@seznam.cz>
29339         [BZ #431]
29340         * manual/string.texi: Fix strncat and wcsncat.
29342 2013-10-03  Brooks Moses  <bmoses@google.com>
29344         [BZ #15915]
29345         * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
29346         * Makerules: ...here, and adjust associated comments.
29348 2013-10-02  Will Newton  <will.newton@linaro.org>
29350         * malloc/Makefile: Add tst-pvalloc.
29351         * malloc/tst-pvalloc.c: New file.
29353 2013-10-02  Will Newton  <will.newton@linaro.org>
29355         * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
29356         improve test coverage.
29358 2013-10-02  Will Newton  <will.newton@linaro.org>
29360         * malloc/Makefile: Add tst-posix_memalign.
29361         * malloc/tst-posix_memalign.c: New file.
29363 2013-10-01  Eric Blake  <eblake@redhat.com>
29365         * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
29366         Use __THROWNL rather than __THROW on static functions.
29368 2013-09-30  Petr Machata  <pmachata@redhat.com>
29370         * elf/elf.h (R_AARCH64_ABS16): New macro.
29371         (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
29372         (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
29373         (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
29374         (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
29375         (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
29376         (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
29377         (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
29378         (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
29379         (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
29380         (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
29381         (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
29382         (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
29383         (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
29384         (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
29385         (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
29386         (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
29387         (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
29388         (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
29389         (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
29390         (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
29391         (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
29392         (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
29393         (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
29394         (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
29395         (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
29396         (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
29397         (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
29398         (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
29399         (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
29400         (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
29401         (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
29402         (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
29403         (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
29404         (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
29405         (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
29406         (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
29407         (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
29408         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
29409         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
29410         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
29411         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
29412         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
29413         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
29414         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
29415         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
29416         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
29417         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
29418         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
29419         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
29420         (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
29421         (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
29422         (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
29423         (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
29424         (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
29425         (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
29426         (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
29427         (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
29428         (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
29429         (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
29430         (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
29431         (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
29432         (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
29433         (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
29434         (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
29435         (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
29436         (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
29437         (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
29438         (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
29439         (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
29440         (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
29441         (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
29442         (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
29443         (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
29444         (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
29445         (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
29446         (R_AARCH64_TLSDESC_OFF_G1): Likewise.
29447         (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
29448         (R_AARCH64_TLSDESC_LDR): Likewise.
29449         (R_AARCH64_TLSDESC_ADD): Likewise.
29450         (R_AARCH64_TLSDESC_CALL): Likewise.
29452 2013-09-30  Andreas Schwab  <schwab@suse.de>
29454         [BZ #15048]
29455         * nscd/aicache.c (addhstaiX): Properly use the cache variable for
29456         the nss database lookup.
29457         * nscd/initgrcache.c (addinitgroupsX): Likewise.
29458         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
29460 2013-09-28  Mike Frysinger  <vapier@gentoo.org>
29462         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
29464 2013-09-28  P. J. McDermott  <pj@pehjota.net>
29466         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
29467         ${Bash-specific parameter/pattern/string} parameter expansion.
29468         * sysdeps/unix/make-syscalls.sh: Likewise.
29470 2013-09-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
29472         * sysdeps/sh/stackguard-macros.h: New file.
29474 2013-09-26  Ondřej Bílka  <neleai@seznam.cz>
29476         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
29477         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
29478         * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
29479         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
29480         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
29481         * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
29483 2013-09-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29485         * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
29486         Fix thread ID register.
29488 2013-09-25  Joseph Myers  <joseph@codesourcery.com>
29490         * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
29491         [POSIX || UNIX98]: Require rather than permitting all symbols from
29492         <time.h>.
29493         [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
29494         element of struct sched_param.
29495         [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
29496         [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
29497         [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
29498         [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
29499         constant.
29501 2013-09-24  Olivier Langlois  <olivier@olivierlanglois.net>
29503         * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
29504         argument calculation.
29506 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
29508         * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
29509         Expect macro.
29510         [POSIX] (pthread_attr_t): Do not require type.
29511         [POSIX] (pthread_cond_t): Likewise.
29512         [POSIX] (pthread_condattr_t): Likewise.
29513         [POSIX] (pthread_key_t): Likewise.
29514         [POSIX] (pthread_mutex_t): Likewise.
29515         [POSIX] (pthread_mutexattr_t): Likewise.
29516         [POSIX] (pthread_once_t): Likewise.
29517         [POSIX] (pthread_t): Likewise.
29518         [POSIX-based standards] (pthread_atfork): Expect function.
29520 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
29521             Richard Sandiford  <richard@codesourcery.com>
29523         * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
29524         (swap_endianness_p): New extern variable.
29525         (set_big_endian): New inline function.
29526         (maybe_swap_uint32): Likewise.
29527         (maybe_swap_uint32_array): Likewise.
29528         (maybe_swap_uint32_obstack): Likewise.
29529         * locale/programs/locfile.c: Include <stdbool.h>.
29530         (swap_endianness_p): New variable.
29531         (add_locale_uint32): Call maybe_swap_uint32.
29532         (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
29533         (write_locale_data): Call maybe_swap_uint32_array.
29534         * locale/programs/ld-collate.c (obstack_int32_grow): Call
29535         maybe_swap_uint32.
29536         (obstack_int32_grow_fast): Likewise.
29537         (output_weightwc): Call maybe_swap_uint32_obstack.
29538         (collate_output): Likewise.
29539         * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
29540         (OPT_LITTLE_ENDIAN): Likewise.
29541         (options): Add --little-endian and --big-endian options.
29542         (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
29543         * locale/programs/locarchive.c: Include "locfile.h".
29544         (GET): New macro.
29545         (SET): Likewise.
29546         (INC): Likewise.
29547         (create_archive): Use the new macros to access fields of
29548         structures directly mapped from or written to locale archives.
29549         (oldlocrecentcmp): Likewise.
29550         (enlarge_archive): Likewise.
29551         (insert_name): Likewise.
29552         (add_alias): Likewise.
29553         (add_locale): Likewise.
29554         (delete_locales_from_archive): Likewise.
29555         (show_archive_content): Likewise.
29556         (add_locale_to_archive): Likewise.  Use maybe_swap_uint32 on
29557         locale data.
29559 2013-09-24  Roland McGrath  <roland@hack.frob.com>
29561         * manual/freemanuals.texi: Updated from (newly) canonical copy at
29562         http://www.gnu.org/doc/freemanuals.texi.
29563         * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
29565 2013-09-24  Will Newton  <will.newton@linaro.org>
29567         * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
29568         macro.
29570 2013-09-23  Joseph Myers  <joseph@codesourcery.com>
29572         * locale/hashval.h (compute_hashval): Interpret bytes of key as
29573         unsigned char.
29575 2013-09-23  Maciej W. Rozycki  <macro@codesourcery.com>
29577         * manual/threads.texi (POSIX Threads): Fix a typo.
29579 2013-09-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
29581         [BZ #14547]
29582         * string/tst-strcoll-overflow.c: New test case.
29583         * string/Makefile (xtests): Add tst-strcoll-overflow.
29584         * string/strcoll_l.c (STRCOLL): Skip allocating memory for
29585         cache if string sizes may cause integer overflow.
29587         [BZ #14547]
29588         * string/strcoll_l.c (coll_seq): New members rule, idx,
29589         save_idx and back_us.
29590         (get_next_seq_nocache): New function.
29591         (do_compare_nocache): New function.
29592         (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
29593         when malloc fails.
29595 2013-09-23  Carlos O'Donell  <carlos@redhat.com>
29597         [BZ #15754]
29598         * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
29599         __pointer_chk_guard_local, otherwise __pointer_chk_guard.
29600         * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
29602         [BZ #15754]
29603         * elf/Makefile (tests): Add tst-ptrguard1.
29604         (tests-static): Add tst-ptrguard1-static.
29605         (tst-ptrguard1-ARGS): Define.
29606         (tst-ptrguard1-static-ARGS): Define.
29607         * elf/tst-ptrguard1.c: New file.
29608         * elf/tst-ptrguard1-static.c: New file.
29609         * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
29610         * sysdeps/i386/stackguard-macros.h: Likewise.
29611         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
29612         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
29613         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
29614         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
29615         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
29616         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
29618 2013-09-23  Hector Marco  <hecmargi@upv.es>
29619             Ismael Ripoll  <iripoll@disca.upv.es>
29620             Carlos O'Donell  <carlos@redhat.com>
29622         [BZ #15754]
29623         * sysdeps/generic/stackguard-macros.h: Define
29624         __pointer_chk_guard_local and POINTER_CHK_GUARD.
29625         * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
29626         Define __pointer_chk_guard_local.
29627         (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
29628         Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
29630 2013-09-15  Vinitha Vijayan <vinitha.vijayann@gmail.com>
29632         [BZ #15859]
29633         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
29635 2013-09-20  Andreas Schwab  <schwab@linux-m68k.org>
29637         * include/string.h (__ffs): Declare as hidden.
29638         * string/ffs.c (__ffs): Define as hidden.
29639         * sysdeps/i386/ffs.c (__ffs): Likewise.
29640         * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
29641         * sysdeps/powerpc/ffs.c (__ffs): Likewise.
29642         * sysdeps/s390/ffs.c (__ffs): Likewise.
29643         * sysdeps/x86_64/ffs.c (__ffs): Likewise.
29645 2013-09-20  Alexandre Oliva <aoliva@redhat.com>
29647         * NEWS: Mention malloc probes.
29649         * malloc/arena.c (new_heap): New memory_heap_new probe.
29650         (grow_heap): New memory_heap_more probe.
29651         (shrink_heap): New memory_heap_less probe.
29652         (heap_trim): New memory_heap_free probe.
29653         * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
29654         (systrim): New memory_sbrk_less probe.
29655         * manual/probes.texi: Document them.
29657         * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
29658         * manual/probes.texi: Document it.
29660         * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
29661         (__libc_realloc): Add memory_realloc_retry probe.
29662         (__libc_memalign): Add memory_memalign_retry probe.
29663         (__libc_valloc): Add memory_valloc_retry probe.
29664         (__libc_pvalloc): Add memory_pvalloc_retry probe.
29665         (__libc_calloc): Add memory_calloc_retry probe.
29666         * manual/probes.texi: Document them.
29668         * malloc/arena.c (get_free_list): Add probe
29669         memory_arena_reuse_free_list.
29670         (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
29671         and memory_arena_reuse.
29672         (arena_get2) [!PER_THREAD]: Likewise.
29673         * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
29674         memory_arena_reuse_realloc.
29675         * manual/probes.texi: Document them.
29677         * malloc/malloc.c (__libc_free): Add
29678         memory_mallopt_free_dyn_thresholds probe.
29679         (__libc_mallopt): Add multiple memory_mallopt probes.
29680         * manual/probes.texi: Document them.
29682         * malloc/malloc.c: Include stap-probe.h.
29683         (__libc_mallopt): Add memory_mallopt probe.
29684         * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
29685         * manual/probes.texi: New.
29686         * manual/Makefile (chapters): Add probes.
29687         * manual/threads.texi: Set next node.
29689 2013-09-19  Wei-Lun Chao  <bluebat@member.fsf.org>
29691         [BZ #15963, #13985]
29692         * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
29693         czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
29694         Add `Chinese' to `nan' entry name.
29696 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
29698         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
29699         (POLYNOMIAL): Likewise.
29700         (TAYLOR_SINCOS): Likewise.
29701         (TAYLOR_SLOW): Likewise.
29702         (__sin): Use TAYLOR_SINCOS.
29703         (__cos): Likewise.
29704         (slow): Use TAYLOR_SLOW.
29705         (sloww): Likewise.
29706         (bsloww): Likewise.
29707         (csloww): Likewise.
29709 2013-09-19  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
29711         * stdlib/strtod_l.c: Fix buffer overrun.
29713 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
29715         * benchtests/Makefile (bench): Add sincos.
29716         * benchtests/bench-sincos.c: New file.
29718         * math/libm-test.inc (cos_test_data): New test inputs.
29719         (sin_test_data): Likewise.
29721         * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
29722         macro.
29723         (__sin): Use it.
29724         (__cos): Likewise.
29725         (slow1): Likewise.
29726         (slow2): Likewise.
29727         (sloww1): Likewise.
29728         (sloww2): Likewise.
29729         (bsloww1): Likewise.
29730         (bsloww2): Likewise.
29731         (cslow2): Likewise.
29732         (csloww1): Likewise.
29733         (csloww2): Likewise.
29735         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
29736         function.
29737         (__sin): Use it.
29738         (__cos): Likewise.
29740         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
29741         gotos.
29742         (__cos): Likewise.
29744 2013-09-18  Maciej W. Rozycki  <macro@codesourcery.com>
29746         * config.h.in (HAVE_MIPS_NAN2008): New macro.
29747         * elf/elf.h (EF_MIPS_NAN2008): Likewise.
29748         * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
29749         (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
29750         (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
29751         * elf/cache.c (print_entry): Handle the new cache flags.
29753 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
29754             Aldy Hernandez  <aldyh@redhat.com>
29756         * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
29757         Change condition to [_SOFT_FLOAT].
29758         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
29759         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
29760         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
29761         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
29762         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
29763         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
29764         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
29765         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
29766         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
29767         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
29768         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
29769         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
29770         [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
29771         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
29772         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
29773         [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
29774         declaration.
29776 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
29778         * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
29779         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
29780         (__longjmp): Use LOAD_GP to load saved GPRs.
29781         * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
29782         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
29783         (__sigsetjmp): Use SAVE_GP to save GPRs.
29785         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
29786         Do not append -msoft-float.
29787         [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
29789 2013-09-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
29791         * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
29793 2013-09-17  Joseph Myers  <joseph@codesourcery.com>
29795         [BZ #15966]
29796         * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
29797         (_FPU_GETCW): Use initial "__" on variable and field names but not
29798         on macro parameter name.
29799         [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise.  Use
29800         parentheses around reference to macro parameter.
29802 2013-09-13  Richard Sandiford  <richard@codesourcery.com>
29804         * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
29805         prototype.
29806         (ctype_startup): Use uint32_t in cast and sizeof for
29807         ctype->charnames.
29809 2013-09-11  Jia Liu  <proljc@gmail.com>
29811         * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
29812         __daddr_t_defined.
29813         [__FreeBSD__]: Likewise.
29815 2013-09-11  Ondřej Bílka  <neleai@seznam.cz>
29817         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
29818         (__libc_ifunc_impl_list): Remove: __strchr_sse42.
29819         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
29820         (strchr): Remove __strchr_sse42 ifunc selection.
29821         * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
29822         * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
29824 2013-09-11  Will Newton  <will.newton@linaro.org>
29826         * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
29827         parameter to RES. Remove hardcoded 1000 value.
29828         * benchtests/bench-skeleton.c (main): Pass RES parameter
29829         to TIMING_INIT and multiply result by 1000.
29831 2013-09-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29833         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
29835 2013-09-11  Andreas Schwab  <schwab@suse.de>
29837         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
29838         if not defined.
29839         (O_TMPFILE) [__USE_GNU]: Define.
29840         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
29841         Define.
29843 2013-09-11  Will Newton  <will.newton@linaro.org>
29845         [BZ #15857]
29846         * malloc/malloc.c (__libc_memalign): Check the value of bytes
29847         does not overflow.
29849 2013-09-11  Will Newton  <will.newton@linaro.org>
29851         [BZ #15856]
29852         * malloc/malloc.c (__libc_valloc): Check the value of bytes
29853         does not overflow.
29855 2013-09-11  Will Newton  <will.newton@linaro.org>
29857         [BZ #15855]
29858         * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
29859         does not overflow.
29861 2013-09-10  Ondřej Bílka  <neleai@seznam.cz>
29863         * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
29864         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
29865         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
29866         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
29867         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
29869 2013-09-10  Allan McRae  <allan@archlinux.org>
29871         [BZ #15748]
29872         * manual/arith.texi (Parsing of Floats): Clarify
29873         cross-reference.
29875         [BZ #15849]
29876         * manual/install.texi (Running make install): Mention
29877         --enable-pt-chown.
29878         * INSTALL: Regenerated.
29880 2013-09-09  Maciej W. Rozycki  <macro@codesourcery.com>
29882         * csu/init-first.c (_init): Remove the !SHARED condition around
29883         FPU control word initialization.
29884         * elf/dl-support.c (_dl_fpu_control): New variable.
29885         (_dl_aux_init) <AT_FPUCW>: Initialize it.
29886         * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
29887         (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
29888         * math/test-fpucw-static.c: New file.
29889         * math/test-fpucw-ieee.c: New file.
29890         * math/test-fpucw-ieee-static.c: New file.
29891         * math/Makefile (tests): Add `test-fpucw-ieee' and
29892         `$(tests-static)'.
29893         (tests-static): New variable.
29894         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
29895         dependency to...
29896         [($(build-shared),yes)]
29897         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
29898         ... this.
29899         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
29900         New dependency.
29902 2013-09-09  Allan McRae  <allan@archlinux.org>
29904         [BZ #15939]
29905         * manual/string.texi (Collation Functions): Fix typo in
29906         strcoll example.
29907         Reported by Suren Karapetyan <me@suren.karapetyan.name>.
29909         [BZ #15893]
29910         * stdlib/isomac.c (get_null_defines): Fix memory leak.
29912         [BZ #15892]
29913         * libio/memstream.c (open_memstream): Fix memory leak.
29914         * libio/wmemstream.c (open_wmemstream): Likewise.
29916         [BZ #15895]
29917         * nscd/netgroupcache.c: Fix nesting of ifdefs.
29919 2013-09-09  Will Newton  <will.newton@linaro.org>
29921         * malloc/Makefile: Add tst-realloc to tests.
29922         * malloc/tst-realloc.c: New file.
29924 2013-09-09  Allan McRae  <allan@archlinux.org>
29926         [BZ #15844]
29927         * COPYING: Update from GNU website to fix FSF address.
29928         * COPYING.LIB: Likewise.
29930 2013-09-06  David S. Miller  <davem@davemloft.net>
29932         * po/zh_TW.po: Update Chinese (traditional) translation from
29933         translation project.
29935 2013-09-06  Richard Sandiford  <richard@codesourcery.com>
29936             Joseph Myers  <joseph@codesourcery.com>
29938         * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
29939         "localeinfo.h".
29940         (obstack_chunk_alloc): New macro.
29941         (obstack_chunk_free): Likewise.
29942         (record_offset): New function.
29943         (init_locale_data): Likewise.
29944         (align_locale_data): Likewise.
29945         (add_locale_empty): Likewise.
29946         (add_locale_raw_data): Likewise.
29947         (add_locale_raw_obstack): Likewise.
29948         (add_locale_string): Likewise.
29949         (add_locale_wstring): Likewise.
29950         (add_locale_uint32): Likewise.
29951         (add_locale_uint32_array): Likewise.
29952         (add_locale_char): Likewise.
29953         (start_locale_structure): Likewise.
29954         (end_locale_structure): Likewise.
29955         (start_locale_prelude): Likewise.
29956         (end_locale_prelude): Likewise.
29957         (write_locale_data): Take locale_file structure rather than an
29958         iovec.
29959         * locale/programs/locfile.h: Include "obstack.h".
29960         (struct locale_file): Change to store locale file contents instead
29961         of header.
29962         (init_locale_data): New prototype.
29963         (align_locale_data): Likewise.
29964         (add_locale_empty): Likewise.
29965         (add_locale_raw_data): Likewise.
29966         (add_locale_raw_obstack): Likewise.
29967         (add_locale_string): Likewise.
29968         (add_locale_wstring): Likewise.
29969         (add_locale_uint32): Likewise.
29970         (add_locale_uint32_array): Likewise.
29971         (add_locale_char): Likewise.
29972         (start_locale_structure): Likewise.
29973         (end_locale_structure): Likewise.
29974         (start_locale_prelude): Likewise.
29975         (end_locale_prelude): Likewise.
29976         (write_locale_data): Update prototype.
29977         * locale/programs/3level.h (struct TABLE): Remove result field.
29978         (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
29979         Use new locale_file interface.
29980         [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
29981         (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
29982         * locale/programs/ld-address.c (address_output): Use new
29983         locale_file interface.
29984         * locale/programs/ld-collate.c (NO_FINALIZE): Change to
29985         NO_ADD_LOCALE.
29986         (collate_finish): Don't call collseq_table_finalize.
29987         (collate_output): Use new locale_file interface.
29988         * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
29989         in file.
29990         (NO_FINALIZE): Change to NO_ADD_LOCALE.
29991         (TABLE): Move defines earlier in file.
29992         (ELEMENT): Likewise.
29993         (DEFAULT): Likewise.
29994         (wctrans_table_add): Move macro and inline function earlier in
29995         file.
29996         (struct wctype_table): Move type earlier in file.
29997         (add_locale_wctype_table): New static prototype.
29998         (struct locale_ctype_t): Use logical types instead of struct iovec
29999         pointers for members.
30000         (ctype_output): Use new locale_file interface.
30001         (wctype_table_finalize): Change to add_locale_wctype_table.  Use
30002         new locale_file interface.
30003         (allocate_arrays): Update for use of new locale_file interface.
30004         * locale/programs/ld-identification.c (identification_output): Use
30005         new locale_file interface.
30006         * locale/programs/ld-measurement.c (measurement_output): Likewise.
30007         * locale/programs/ld-messages.c (messages_output): Likewise.
30008         * locale/programs/ld-monetary.c (monetary_output): Likewise.
30009         * locale/programs/ld-name.c (name_output): Likewise.
30010         * locale/programs/ld-numeric.c (numeric_output): Likewise.
30011         * locale/programs/ld-paper.c (paper_output): Likewise.
30012         * locale/programs/ld-telephone.c (telephone_output): Likewise.
30013         * locale/programs/ld-time.c (time_output): Likewise.
30015 2013-09-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30017         * benchtests/Makefile: Add memrchr benchmark.
30018         * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
30019         benchmark as memrchr.
30020         * benchtests/bench-memrchr-ifunc.c: New file.
30021         * benchtests/bench-memrchr.c: New file.
30023 2013-09-06   Will Newton  <will.newton@linaro.org>
30025         * benchtests/Makefile (string-bench): Add memcpy.
30027 2013-09-05  Carlos O'Donell  <carlos@redhat.com>
30028             Cong Wang  <amwang@redhat.com>
30030         [BZ #15850]
30031         * sysdeps/unix/sysv/linux/bits/in.h
30032         [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
30033         * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
30034         before __USE_KERNEL_IPV6_DEFS uses.
30035         * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
30036         IPPROTO_BEETPH.
30037         [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
30038         sockaddr_in6, or ipv6_mreq.
30040 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30042         * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
30043         memory access for final bytes in some large inputs.
30044         * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
30046 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30048         * string/test-memrchr.c: New file.
30049         * string/test-memrchr-ifunc.c: New file.
30050         * string/Makefile: Add new memrchr testcase.
30052 2013-09-05  Mike Frysinger  <vapier@gentoo.org>
30054         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
30055         fanotify_init returns EPERM.
30057 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
30059         * conform/conformtest.pl (newtoken): Treat tokens not allowed as
30060         errors.
30061         (top level): Treat second token from macro or constant entries for
30062         allowed headers as allowed.
30063         * include/complex.h: Condition internal declarations on
30064         [!_ISOMAC].
30065         * include/fenv.h: Condition include of <stdbool.h> and internal
30066         declarations on [!_ISOMAC].
30068 2013-09-04  Chris Leonard  <cjl@sugarlabs,.org>
30070         [BZ #15923]
30071         * locale/iso-4217.def: Update iso-1427.def and related occurrences.
30073 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
30075         * configure.in (--enable-versioning): Remove configure option.
30076         (libc_cv_asm_symver_directive): Remove configure test.
30077         (libc_cv_ld_version_script_option): Likewise.
30078         (VERSIONING): Remove variable and AC_SUBST.
30079         (DO_VERSIONING): Remove AC_DEFINE.
30080         * configure: Regenerated.
30081         * config.h.in (DO_VERSIONING): Remove macro.
30082         * Makerules [$(versioning) = yes]: Change conditionals to
30083         [$(build-shared) = yes].
30084         * config.make.in (versioning): Remove variable.
30085         * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
30086         [$(build-shared) = yes].
30087         * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
30088         * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
30089         * elf/Makefile [$(versioning) = yes]: Change conditionals to
30090         [$(build-shared) = yes].
30091         * extra-lib.mk [$(versioning) = yes]: Likewise.
30092         * hurd/Makefile [$(versioning) = yes]: Likewise.
30093         * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
30094         [SHARED].
30095         * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
30096         [SHARED].
30097         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
30098         [SHARED && !NO_HIDDEN].
30099         * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
30100         [SHARED].
30101         [SHARED && DO_VERSIONING]: Likewise..
30102         * libio/Makefile [$(versioning) = yes]: Change conditionals to
30103         [$(build-shared) = yes].
30104         * manual/install.texi (--disable-versioning): Remove
30105         documentation.
30106         * INSTALL: Regenerated.
30107         * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
30108         to [SHARED].
30109         * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
30110         [$(build-shared) = yes].
30111         * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
30112         * sysdeps/i386/i686/multiarch/strstr-c.c
30113         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
30114         [SHARED && !NO_HIDDEN].
30115         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
30116         [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
30117         * sysdeps/powerpc/powerpc32/dl-machine.c
30118         [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
30119         * sysdeps/powerpc/powerpc32/sysdep.h
30120         [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
30121         to [SHARED && PIC && !NO_HIDDEN].
30122         * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
30123         conditional to [SHARED].
30125 2013-09-04   Will Newton  <will.newton@linaro.org>
30127         * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
30128         * benchtests/bench-string.h: Include bench-timing.h instead
30129         of including hp-timing.h directly. (INNER_LOOP_ITERS): New
30130         define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
30131         call to HP_TIMING_DIFF_INIT.
30132         * benchtests/bench-memccpy.c: Use bench-timing.h macros
30133         instead of hp-timing.h macros.
30134         * benchtests/bench-memchr.c: Likewise.
30135         * benchtests/bench-memcmp.c: Likewise.
30136         * benchtests/bench-memcpy.c: Likewise.
30137         * benchtests/bench-memmem.c: Likewise.
30138         * benchtests/bench-memmove.c: Likewise.
30139         * benchtests/bench-memset.c: Likewise.
30140         * benchtests/bench-rawmemchr.c: Likewise.
30141         * benchtests/bench-strcasecmp.c: Likewise.
30142         * benchtests/bench-strcasestr.c: Likewise.
30143         * benchtests/bench-strcat.c: Likewise.
30144         * benchtests/bench-strchr.c: Likewise.
30145         * benchtests/bench-strcmp.c: Likewise.
30146         * benchtests/bench-strcpy.c: Likewise.
30147         * benchtests/bench-strcpy_chk.c: Likewise.
30148         * benchtests/bench-strlen.c: Likewise.
30149         * benchtests/bench-strncasecmp.c: Likewise.
30150         * benchtests/bench-strncat.c: Likewise.
30151         * benchtests/bench-strncmp.c: Likewise.
30152         * benchtests/bench-strncpy.c: Likewise.
30153         * benchtests/bench-strnlen.c: Likewise.
30154         * benchtests/bench-strpbrk.c: Likewise.
30155         * benchtests/bench-strrchr.c: Likewise.
30156         * benchtests/bench-strspn.c: Likewise.
30157         * benchtests/bench-strstr.c: Likewise.
30159 2013-09-04  Will Newton  <will.newton@linaro.org>
30161         * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
30163 2013-09-03  Joseph Myers  <joseph@codesourcery.com>
30165         [BZ #15427]
30166         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
30167         2**-30 instead of 2**-70 as threshold for returning -log(|x|).
30168         * math/libm-test.inc (lgamma_test_data): Add more tests.
30169         * sysdeps/i386/fpu/libm-test-ulps: Update.
30170         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30172 2013-09-03   Ondřej Bílka  <neleai@seznam.cz>
30174         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
30175         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
30176         Add ifunc.
30177         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
30178         Add strcmp-sse2-unaligned
30179         * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
30181 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
30183         * Versions.def (libc): Add GLIBC_2.19.
30185 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
30187         * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
30188         * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
30190 2013-09-02  Joseph Myers  <joseph@codesourcery.com>
30192         [BZ #14155]
30193         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
30194         intermediate calculations in recurrence.
30195         (__ieee754_ynf): Likewise.
30196         * math/libm-test.inc (jn_test_data): Do not allow spurious
30197         underflow exception.  Add more tests.
30198         (yn_test_data): Add more tests.
30199         * sysdeps/i386/fpu/libm-test-ulps: Update.
30200         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30202 2013-09-02   Ondřej Bílka  <neleai@seznam.cz>
30204         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
30206 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
30208         * csu/init-first.c: Fix then/than typos.
30209         * locale/programs/ld-collate.c: Likewise.
30210         * locale/programs/linereader.h: Likewise.
30211         * manual/charset.texi: Likewise.
30212         * manual/filesys.texi: Likewise.
30213         * manual/stdio.texi: Likewise.
30214         * manual/string.texi: Likewise.
30215         * stdlib/fmtmsg.c: Likewise.
30216         * sysdeps/i386/stpncpy.S: Likewise.
30217         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
30218         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
30219         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
30220         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
30222 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
30224         * elf/dl-open.c: Fix typos.
30225         * iconvdata/gbbig5.c: Likewise.
30226         * iconvdata/iso-2022-jp.c: Likewise.
30227         * iconv/gconv_int.h: Likewise.
30228         * iconv/loop.c: Likewise.
30229         * nis/rpcsvc/nis.h: Likewise.
30230         * resolv/ns_name.c: Likewise.
30231         * stdio-common/vfscanf.c: Likewise.
30232         * streams/stropts.h: Likewise.
30233         * sunrpc/rpc_thread.c: Likewise.
30234         * sysdeps/i386/strpbrk.S: Likewise.
30235         * sysdeps/ieee754/k_standard.c: Likewise.
30236         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
30237         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
30238         * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
30239         * sysdeps/mach/hurd/profil.c: Likewise.
30240         * sysdeps/s390/dl-procinfo.h: Likewise.
30241         * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
30242         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
30243         * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
30244         * sysdeps/x86_64/dl-trampoline.S: Likewise.
30245         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
30247 2013-08-30  Ondřej Bílka  <neleai@seznam.cz>
30249         * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
30250         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
30252 2013-08-29  Ondřej Bílka  <neleai@seznam.cz>
30254         * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
30255         aix specific files.
30256         * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
30257         * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
30258         * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
30259         * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
30260         * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
30261         * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
30262         * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
30263         * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
30265 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
30266             Roland McGrath  <roland@hack.frob.com>
30268         * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
30269         * sysdeps/mach/hurd/bits/errno.h: Regenerate.
30271 2013-08-29  Samuel Thibault  <samuel.thibault@ens-lyon.org>
30273         * sysdeps/mach/hurd/i386/init-first.c (init1): Use
30274         __executable_start symbol instead of _start.
30276 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
30278         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
30279         (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
30280         Move macros to...
30281         * sysdeps/gnu/ldsodefs.h: ... this new file.
30283         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
30284         (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
30285         instead of ELFOSABI_LINUX.
30287         [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
30288         * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
30289         * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
30290         * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
30291         Likewise.
30292         * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
30293         * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
30294         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
30295         Likewise.
30296         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
30297         (ibm_extended_long_double): Add ieee_nan member.
30298         * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
30299         (do_test): New function.
30301         * math/basic-test.c (TEST_CONVERT): New macro, renamed from
30302         TEST_TRUNC.
30303         (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
30304         functions, renamed from truncdfsf_test, trunctfsf_test,
30305         trunctfdf_test.
30306         (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
30307         functions.
30308         (do_test): Run all these.
30310 2013-08-29   Ondřej Bílka  <neleai@seznam.cz>
30312         * argp/argp-help.c: Fix typos.
30313         * argp/argp-parse.c: Likewise.
30314         * debug/backtracesyms.c: Likewise.
30315         * elf/elf.h: Likewise.
30316         * malloc/malloc.c: Likewise.
30317         * nis/nis_print.c: Likewise.
30318         * resolv/res_comp.c: Likewise.
30319         * stdlib/stdlib.h: Likewise.
30320         * sunrpc/clnt_tcp.c: Likewise.
30321         * sunrpc/clnt_udp.c: Likewise.
30322         * sunrpc/clnt_unix.c: Likewise.
30323         * sysdeps/unix/bsd/ptsname.c: Likewise.
30324         * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
30325         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
30326         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
30327         Likewise.
30328         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
30329         Likewise.
30330         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
30331         Likewise.
30332         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
30334 2013-08-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
30336         * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
30337         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
30339 2013-08-27  Mike Frysinger  <vapier@gentoo.org>
30341         [BZ #15897]
30342         * dlfcn/Makefile (tests): Add bug-dl-leaf.
30343         (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
30344         ($(objpfx)bug-dl-leaf): New rule.
30345         ($(objpfx)bug-dl-leaf.so): Likewise.
30346         ($(objpfx)bug-dl-leaf.out): Likewise.
30347         ($(objpfx)bug-dl-leaf-lib.so): Likewise.
30348         ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
30349         * dlfcn/bug-dl-leaf.c: New test.
30350         * dlfcn/bug-dl-leaf-lib.c: Likewise.
30351         * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
30352         * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
30353         (dlclose): Likewise.
30354         (dlmopen): Likewise.
30356 2013-08-27  Roland McGrath  <roland@hack.frob.com>
30358         * include/netdb.h [!_ISOMAC]:
30359         Don't include <tls.h>.
30360         (h_errno, __libc_h_errno): Move declaration and macros out of
30361         [_LIBC_REENTRANT].
30363         * include/resolv.h [_RESOLV_H_]:
30364         Don't include <tls.h>.
30365         (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
30366         * resolv/res_libc.c: Don't include <tls.h>.
30367         (_res): Use __attribute__ ((nocommon)) in place of
30368         __attribute__ ((section (".bss"))).
30370         * Makefile ($(common-objpfx)linkobj/libc_pic.a):
30371         If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
30373         * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
30375         * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
30376         only under [SIOCGIFCONF && SIOCGIFNETMASK].
30378         * resolv/res_mkquery.c: Include <sys/time.h>.
30380         * inet/ifreq.c: Moved to ...
30381         * sysdeps/unix/ifreq.c: ... here.
30382         * inet/ifreq.c: New file, true stub version.
30384         * socket/sa_len.c: New file.
30385         * socket/Makefile (aux): Add it.
30386         * sysdeps/unix/sysv/linux/Makefile
30387         [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
30388         * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
30389         and #include <socket/sa_len.c>.
30390         * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
30391         HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
30393         * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
30394         * bits/socket.h: ... here.
30396         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
30397         Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
30398         (SOCK_MAX, SOCK_TYPE_MASK): New macros.
30400 2013-08-27  Andreas Schwab  <schwab@suse.de>
30402         [BZ #15736]
30403         * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
30404         * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
30405         (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
30406         * string/test-strcasecmp.c (test_main): Run tests in several
30407         locales.
30408         * string/test-strncasecmp.c (test_main): Likewise.
30410         * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
30411         (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
30412         to __strcasecmp_nonascii and __strncasecmp_nonascii.
30413         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
30414         (__strncasecmp_ssse3) [PIC]: Likewise.
30416 2013-08-26  Roland McGrath  <roland@hack.frob.com>
30418         * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
30420         * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
30421         instead of explicitly declaring xdecrypt.
30422         * nis/nss_nis/nis-publickey.c: Likewise.
30424 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
30426         [BZ #15890]
30427         * nscd/aicache.c: Include res_hconf.h.
30428         (addhstaiX): Initialize res_hconf.
30430 2013-08-26  Andreas Schwab  <schwab@suse.de>
30432         * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
30433         ($(objpfx)tst-tls-atexit): Add dependencies here instead.
30435 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
30437         * nscd/aicache.c (addhstaiX): Fix indentation.
30439 2013-08-25  Mike Frysinger  <vapier@gentoo.org>
30441         * configure.ac: Quote $build_pt_chown test.
30442         * configure: Regenerated.
30444 2013-08-23  Joseph Myers  <joseph@codesourcery.com>
30446         [BZ #15532]
30447         * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
30448         * math/s_cexpf.c (__cexpf): Likewise.
30449         * math/s_cexpl.c (__cexpl): Likewise.
30450         * math/libm-test.inc (cexp_test_data): Correct expected return
30451         value for NaN + i0.  Add another test.
30453 2013-08-22  David S. Miller  <davem@davemloft.net>
30455         * po/ca.po: Update Catalan translation from translation project.
30456         * po/uk.po: Add Ukrainian translations from translation project.
30458 2013-08-21  Joseph Myers  <joseph@codesourcery.com>
30460         [BZ #15797]
30461         * math/s_fdim.c (__fdim): Check for infinite arguments if result
30462         is infinite, not alongside NaN test.
30463         * math/s_fdimf.c (__fdimf): Likewise.
30464         * math/s_fdiml.c (__fdiml): Likewise.
30465         * math/libm-test.inc (fdim_test_data): Add more tests.  Test that
30466         errno is unchanged.
30468 2013-08-21   Ondřej Bílka  <neleai@seznam.cz>
30470         * argp/argp-help.c: Fix typos.
30471         * crypt/speeds.c: Likewise.
30472         * csu/check_fds.c: Likewise.
30473         * elf/dl-load.c: Likewise.
30474         * elf/dl-open.c: Likewise.
30475         * elf/reldep3.c: Likewise.
30476         * elf/reldep.c: Likewise.
30477         * elf/sprof.c: Likewise.
30478         * iconv/iconv_charmap.c: Likewise.
30479         * iconv/skeleton.c: Likewise.
30480         * iconv/strtab.c: Likewise.
30481         * io/lockf64.c: Likewise.
30482         * libio/libioP.h: Likewise.
30483         * resolv/gai_notify.c: Likewise.
30484         * resolv/ns_name.c: Likewise.
30485         * resolv/ns_samedomain.c: Likewise.
30486         * resolv/res_send.c: Likewise.
30487         * stdlib/random.c: Likewise.
30488         * sunrpc/rpc/xdr.h: Likewise.
30489         * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
30490         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
30491         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
30492         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
30493         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
30494         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
30495         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
30496         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
30497         * sysdeps/mach/hurd/check_fds.c: Likewise.
30498         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
30499         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
30500         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
30501         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
30502         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
30503         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
30504         * sysdeps/pthread/aio_notify.c: Likewise.
30505         * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
30506         * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
30507         * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
30508         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
30509         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
30511 2013-08-21  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
30513         * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
30514         version if bit_Slow_SSE4_2 is set.
30515         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
30516         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
30518 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30520         [BZ #15867]
30521         * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
30522         trampoline stack frame information.
30523         * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
30524         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
30525         (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
30526         (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
30527         (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
30528         * sysdeps/unix/sysv/linux/powerpc/init-first.c
30529         (_libc_vdso_platform_setup): Initialize the signal trampolines.
30530         * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
30531         sa_flags value.
30532         * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
30533         interrupting a syscall and set with option SA_SIGINFO.
30535 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
30537         [BZ #15531]
30538         * math/s_cproj.c (__cproj): Only return an infinity if one part of
30539         argument is infinite.
30540         * math/s_cprojf.c (__cprojf): Likewise.
30541         * math/s_cprojl.c (__cprojl): Likewise.
30542         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
30543         * math/libm-test.inc (cproj_test_data): Add more tests.
30545         * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
30547         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
30548         [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
30549         size.  Use __ffs to determine corresponding shift.
30551 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
30552             Roland McGrath  <roland@hack.frob.com>
30554         * Makefile (INSTALL): Remove trailing blank lines from output of
30555         makeinfo.
30557 2013-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
30559         * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
30560         Align 32 bit compat elf_greg to 8 bytes.
30562 2013-08-20  Andreas Arnez  <arnez@linux.vnet.ibm.com>
30564         * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
30566 2013-08-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
30568         * string/strcoll_l.c (coll_seq): New structure.
30569         (get_next_seq_cached): New function.
30570         (get_next_seq): New function.
30571         (do_compare): New function.
30572         (STRCOLL): Use GNU style definition.  Simplify implementation
30573         by using get_next_seq, get_next_seq_cached and do_compare.
30575 2013-08-16  Florian Weimer  <fweimer@redhat.com>
30577         [BZ #14699]
30578         CVE-2013-4237
30579         * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
30580         member.
30581         * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
30582         member.
30583         * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
30584         * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
30585         Return delayed error code.  Remove GETDENTS_64BIT_ALIGNED
30586         conditional.
30587         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
30588         GETDENTS_64BIT_ALIGNED.
30589         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
30590         * manual/filesys.texi (Reading/Closing Directory): Document
30591         ENAMETOOLONG return value of readdir_r.  Recommend readdir more
30592         strongly.
30593         * manual/conf.texi (Limits for Files): Add portability note to
30594         NAME_MAX, PATH_MAX.
30595         (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
30597 2013-08-13  Andreas Schwab  <schwab@suse.de>
30599         [BZ #15749]
30600         * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
30601         of fabs.
30602         * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
30603         LDBL_MAX_EXP >= 16384]: Add tests for it.
30605 2013-08-12  David S. Miller  <davem@davemloft.net>
30607         * version.h (RELEASE): Set to "development".
30608         (VERSION): Set to "2.18.90".
30609         * NEWS: Add 2.19 section.
30611 2013-08-03  David S. Miller  <davem@davemloft.net>
30613         * po/ko.po: Update Korean translation from translation project.
30615 2013-08-01  David S. Miller  <davem@davemloft.net>
30617         * manual/contrib.texi: Update entry for Siddhesh Poyarekar.  Add
30618         entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
30619         Bilka.
30621 2013-07-30  David S. Miller  <davem@davemloft.net>
30623         * po/fr.po: Update French translation from translation project.
30625 2013-07-28  David S. Miller  <davem@davemloft.net>
30627         * po/cs.po: Update Czech translation from translation project.
30629         * po/sv.po: Update Swedish translation from translation project.
30631 2013-07-27  David S. Miller  <davem@davemloft.net>
30633         * po/eo.po: Update Esperanto translation from translation project.
30635         * po/vi.po: Update Vietnamese translation from translation project.
30637         * po/de.po: Update German translation from translation project.
30639 2013-07-26  David S. Miller  <davem@davemloft.net>
30641         * po/bg.po: Update Bulgarian translation from translation project.
30643         * po/nl.po: Update Dutch translation from translation project.
30644         * po/pl.po: Update Polish translation from translation project.
30645         * po/ru.po: Update Russian translation from translation project.
30647 2013-07-24  David S. Miller  <davem@davemloft.net>
30649         * po/libc.pot: Update.
30651 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30653         * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
30654         variable page size.
30655         * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
30656         * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
30657         * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
30659 2013-07-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
30661         * sysdeps/s390/fpu/libm-test-ulps: Refresh.
30663 2013-07-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
30664             Andreas Schwab  <schwab@suse.de>
30665             Roland McGrath  <roland@hack.frob.com>
30666             Joseph Myers  <joseph@codesourcery.com>
30667             Carlos O'Donell  <carlos@redhat.com>
30669         [BZ #15755]
30670         * config.h.in: Define HAVE_PT_CHOWN.
30671         * config.make.in (build-pt-chown): New variable.
30672         * configure.in (--enable-pt_chown): New configure option.
30673         * configure: Regenerate.
30674         * login/Makefile: Include Makeconfig.  Build pt_chown only if
30675         build-pt-chown is enabled.
30676         * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
30677         pt_chown to fix pty ownership.
30678         * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
30679         CLOSE_ALL_FDS.
30680         * manual/install.texi (Configuring and compiling): Mention
30681         --enable-pt_chown. Add @findex for grantpt.
30682         * INSTALL: Regenerate.
30684 2013-07-20  David S. Miller  <davem@davemloft.net>
30686         * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
30687         difference between 32-bit and 64-bit.
30689 2013-07-15  Carlos O'Donell  <carlos@redhat.com>
30691         [BZ #15711]
30692         * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
30693         Avoid system header dependency with -ffreestanding.
30694         ($(objpfx)bits/syscall%d): Likewise.
30696 2013-07-13  David S. Miller  <davem@davemloft.net>
30698         * math/libm-test.inc (casin_test_data): Annotate more cases of missing
30699         underflows from atanl/atan2l due to bug 15319.
30700         (casinh_test_data): Likewise.
30702 2013-07-07  David S. Miller  <davem@davemloft.net>
30704         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
30706 2013-07-05  Jeroen Albers  <_jeroen_@yahoo.com>
30708         * sysdeps/i386/fpu/libm-test-ulps: Update.
30709         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30711 2013-07-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
30713         * configure.in (--enable-lock-elision): Fix message text.
30714         * INSTALL: Regenerate.
30715         * configure: Regenerate.
30717 2013-07-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30719         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
30721 2013-07-03  Andreas Jaeger  <aj@suse.de>
30723         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
30724         define.
30725         (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
30726         (ptrace_peeksiginfo_args): Add.
30727         (__ptrace_peeksiginfo_flags): Add.
30728         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
30729         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
30730         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
30732 2013-07-03  Allan McRae  <allan@archlinux.org>
30734         * sysdeps/i386/fpu/libm-test-ulps: Update.
30736 2013-07-02  David S. Miller  <davem@davemloft.net>
30738         * sysdeps/sparc/fpu/libm-test-ulps: Update.
30740 2013-07-02  Markus Trippelsdorf  <markus@trippelsdorf.de>
30742         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
30744 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
30746         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
30747         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30749 2013-07-02  Andi Kleen <ak@linux.intel.com>
30751         * config.h.in (ENABLE_LOCK_ELISION): Add.
30752         * configure.in (--enable-lock-elision): Add option.
30753         * manual/install.texi: Document --enable lock elision.
30754         * configure: Regenerate
30755         * INSTALL: Regenerate.
30757 2013-07-02  H.J. Lu  <hongjiu.lu@intel.com>
30759         * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
30760         SSE4.2 strcasecmp for libc.a.
30761         * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
30763 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
30765         [BZ #13304]
30766         * soft-fp/op-common.h (_FP_FMA): New macro.
30767         * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
30768         (_FP_MUL_MEAT_DW_1_imm): Likewise.  Split out of ...
30769         (_FP_MUL_MEAT_1_imm): ... here.
30770         (_FP_MUL_MEAT_DW_1_wide): New macro.  Split out of ...
30771         (_FP_MUL_MEAT_1_wide): ... here.
30772         (_FP_MUL_MEAT_DW_1_hard): Likewise.  Split out of ...
30773         (_FP_MUL_MEAT_1_hard): ... here.
30774         * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
30775         (_FP_MUL_MEAT_DW_2_wide): Likewise.  Split out of ...
30776         (_FP_MUL_MEAT_2_wide): ... here.
30777         (_FP_MUL_MEAT_DW_2_wide_3mul): New macro.  Split out of ...
30778         (_FP_MUL_MEAT_2_wide_3mul): ... here.
30779         (_FP_MUL_MEAT_DW_2_gmp): New macro.  Split out of ...
30780         (_FP_MUL_MEAT_2_gmp): ... here.
30781         * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
30782         (_FP_MUL_MEAT_DW_4_wide): Likewise.  Split out of ...
30783         (_FP_MUL_MEAT_4_wide): ... here.
30784         (_FP_MUL_MEAT_DW_4_gmp): New macro.  Split out of ...
30785         (_FP_MUL_MEAT_4_gmp): ... here.
30786         * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
30787         (_FP_WFRACBITS_DW_S): Likewise.
30788         (_FP_WFRACXBITS_DW_S): Likewise.
30789         (_FP_HIGHBIT_DW_S): Likewise.
30790         (FP_FMA_S): Likewise.
30791         (_FP_FRAC_HIGH_DW_S): Likewise.
30792         * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
30793         (_FP_WFRACBITS_DW_D): Likewise.
30794         (_FP_WFRACXBITS_DW_D): Likewise.
30795         (_FP_HIGHBIT_DW_D): Likewise.
30796         (FP_FMA_D): Likewise.
30797         (_FP_FRAC_HIGH_DW_D): Likewise.
30798         * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
30799         (_FP_WFRACBITS_DW_E): Likewise.
30800         (_FP_WFRACXBITS_DW_E): Likewise.
30801         (_FP_HIGHBIT_DW_E): Likewise.
30802         (FP_FMA_E): Likewise.
30803         (_FP_FRAC_HIGH_DW_E): Likewise.
30804         * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
30805         (_FP_WFRACBITS_DW_Q): Likewise.
30806         (_FP_WFRACXBITS_DW_Q): Likewise.
30807         (_FP_HIGHBIT_DW_Q): Likewise.
30808         (FP_FMA_Q): Likewise.
30809         (_FP_FRAC_HIGH_DW_Q): Likewise.
30810         * soft-fp/fmasf4.c: New file.
30811         * soft-fp/fmadf4.c: Likewise.
30812         * soft-fp/fmatf4.c: Likewise.
30814 2013-06-28  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
30816         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
30817         bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
30818         Silvermont.
30819         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
30820         macro.
30821         (index_Slow_SSE4_2): Likewise.
30822         (index_Prefer_PMINUB_for_stringop): Likewise.
30823         * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
30824         bit_Slow_SSE4_2 is set.
30825         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
30826         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
30828 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
30830         * sysdeps/powerpc/Makefile: Add comment about generating an offset to
30831         rtld_global._dl_hwcap2.
30832         * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
30833         POWER8.
30834         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
30835         POWER8 feature descriptions defined in _dl_hwcap2.
30836         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
30837         string handling for POWER8 feature bits.
30838         (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
30839         (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
30840         _dl_powerpc_cap_flags.
30841         (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
30842         * sysdeps/powerpc/rtld-global-offsets.sym
30843         (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
30844         _dl_hwcap2 in the rtld_global_ro structure.
30846 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
30848         * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
30849         hardware capabilities in support of AT_HWCAP2.
30850         (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
30851         * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
30852         GLRO(dl_hwcap2).
30853         (_dl_show_auxv): Add support for calling _dl_procinfo to display
30854         AT_HWCAP2.  If a platform doesn't chose to handle displaying AT_HWCAP2
30855         explicitly the unknown a_type display mechanism is used.
30856         * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
30857         * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
30858         struct member.
30859         * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
30860         to macro prototype for AT_HWCAP2 support.
30861         * sysdeps/i386/dl-procinfo.h: Likewise.
30862         * sysdeps/s390/dl-procinfo.h: Likewise.
30863         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
30864         macro prototype for AT_HWCAP2 support.  Make WORD unsigned long int
30865         rather than signed int.  Stub in handler for TYPE == AT_HWCAP2 to
30866         return -1 for unknown a_type display fallback.
30867         * sysdeps/sparc/dl-procinfo.h: Likewise.
30868         * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
30869         * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
30871 2013-06-28  Joseph Myers  <joseph@codesourcery.com>
30873         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
30874         instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
30876 2013-06-28  Pierre Ynard  <linkfanel@yahoo.fr>
30878         [BZ #12492]
30879         * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
30880         mprotect making __stack_prot writable.
30882 2013-06-28  Nathan Froyd  <froydnj@codesourcery.com>
30883             Joseph Myers  <joseph@codesourcery.com>
30885         * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
30886         as being properly aligned.
30888 2013-06-28  Maciej W. Rozycki  <macro@codesourcery.com>
30890         * dlfcn/modstatic5.c: New file.
30891         * dlfcn/tststatic5.c: New file.
30892         * dlfcn/Makefile (tests): Add tststatic5.
30893         (tests-static): Likewise.
30894         (modules-names): Add modstatic5.
30895         (tststatic5-ENV): New variable.
30896         ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
30898         [BZ #15022]
30899         * elf/dl-support.c (_dl_main_map): New variable.
30900         (_dl_ns): Use it to initialize [LM_ID_BASE] element.
30901         (_dl_nns, _dl_load_adds): Set to 1.
30902         (_dl_initial_searchlist): Refer to _dl_main_map.
30903         (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
30904         * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
30905         call to _dl_get_origin.
30906         * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
30907         around call_map.
30908         (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
30909         * dlfcn/modstatic3.c: New file.
30910         * dlfcn/tststatic3.c: New file.
30911         * dlfcn/tststatic4.c: New file.
30912         * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
30913         (tests-static): Likewise.
30914         (modules-names): Add modstatic3.
30915         (tststatic3-ENV, tststatic4-ENV): New variables.
30916         ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
30917         ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
30919 2013-06-26  Joseph Myers  <joseph@codesourcery.com>
30921         * configure.in (CC): Require GCC version 4.4 or later.
30922         * configure: Regenerated.
30923         * manual/install.texi (Tools for Compilation): Update GCC version
30924         requirement.
30925         * INSTALL: Regenerated.
30927 2013-06-26  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
30929         [BZ #15674]
30930         * string/test-memcmp.c (check2): New.
30931         (main): Call check2.
30933         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
30935 2013-06-26  Maciej W. Rozycki  <macro@codesourcery.com>
30937         [BZ #15022]
30938         * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
30939         over to...
30940         (dl_open_worker) [!SHARED]: ... here.
30942 2013-06-26  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
30944         * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
30946 2013-06-25  Richard Henderson  <rth@redhat.com>
30948         * locale/programs/locarchive.c: Include <libc-internal.h>
30950 2013-06-25  Joseph Myers  <joseph@codesourcery.com>
30952         * manual/texinfo.tex: Update to version 2013-06-21.17, with
30953         trailing whitespace removed.
30955 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
30957         [BZ #10283]
30958         * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
30959         * locale/programs/locarchive.c: Include libc-mmap.h.
30960         (prepare_address_space): Take two new outputs (the mmap base and len).
30961         Align p to MAP_FIXED_ALIGNMENT.  Set mmap base and len to the right
30962         values.
30963         (create_archive): Declare new mmap base and len values for
30964         prepare_address_space, and store the result in ah.
30965         (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
30966         (enlarge_archive): If ah->mmap_base is not NULL, use that and
30967         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
30968         Declare new mmap base and len values for
30969         prepare_address_space, and store the result in new_ah.
30970         (open_archive): Declare new mmap base and len values for
30971         prepare_address_space, and store the result in ah.
30972         (close_archive): If ah->mmap_base is not NULL, use that and
30973         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
30974         * sysdeps/generic/libc-mmap.h: New file.
30976 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
30978         * include/libc-internal.h (ALIGN_DOWN): New helper macro.
30979         (ALIGN_UP): Likewise.
30980         (PTR_ALIGN_DOWN): Likewise.
30981         (PTR_ALIGN_UP): Likewise.
30983 2013-06-24  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
30985         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
30986         entry mapped to PPC_PLATFORM_POWER8.
30987         * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
30988         POWER8.
30989         (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
30990         (_dl_string_platform): Add case for exporting platform position for
30991         POWER8.
30992         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
30993         search path to sysdeps/powerpc/powerpc32/power8 directory.
30994         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
30995         search path to sysdeps/powerpc/powerpc64/power8 directory.
30996         * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
30997         power7 directories.
30998         * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
30999         power7 directories.
31001 2013-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
31003         * INSTALL: Regenerate.
31005         * nscd/connections.c (nscd_init): Fix comment.
31007 2013-06-22  Joseph Myers  <joseph@codesourcery.com>
31009         * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
31011         [BZ #15667]
31012         * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
31013         to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
31015 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
31017         * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
31018         DL_DST_REQ_STATIC.
31019         (DL_DST_REQ_STATIC): Remove macro.
31021 2013-06-21  Joseph Myers  <joseph@codesourcery.com>
31023         [BZ #7006]
31024         * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
31025         with a shift of 0 bits.
31027 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
31029         * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
31030         $(tststatic-ENV).
31032 2013-06-21  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
31034         [BZ #15655]
31035         * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
31037 2013-06-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31039         * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
31040         * configure.in (libc_cv_cc_loop_to_function): Check if compiler
31041         accepts -fno-tree-loop-distribute-patterns.
31042         * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
31043         * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
31044         recursive call.
31045         * string/memset.c (memset): Likewise.
31046         * string/test-memmove.c (simple_memmove): Disable loop transformation
31047         to library calls.
31048         * string/test-memset.c (simple_memset): Likewise.
31049         * benchtests/bench-memmove.c (simple_memmove): Likewise.
31050         * benchtests/bench-memset.c (simple_memset): Likewise.
31051         * configure: Regenerated.
31053 2013-06-20  Joseph Myers  <joseph@codesourcery.com>
31055         * math/test-misc.c (main): Ignore fesetround failure when failures
31056         of subsequent rounding tests would be ignored.
31058         [BZ #15654]
31059         * math/fedisblxcpt.c (fedisableexcept): Return 0.
31060         * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
31061         * math/fegetenv.c (__fegetenv): Return 0.
31062         * math/fegetexcept.c (fegetexcept): Return 0.
31063         * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
31064         FE_TONEAREST.
31065         * math/feholdexcpt.c (feholdexcept): Return 0.
31066         * math/fesetenv.c (__fesetenv): Return 0.
31067         * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
31068         argument FE_TONEAREST.
31069         * math/feupdateenv.c (__feupdateenv): Return 0.
31070         * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
31072 2013-06-18  Roland McGrath  <roland@hack.frob.com>
31074         * elf/rtld-Rules (rtld-compile-command.S): New variable.
31075         (rtld-compile-command.s, rtld-compile-command.c): New variables.
31076         ($(objpfx)rtld-%.os rules): Use them.
31078 2013-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31080         * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
31081         fields.
31083 2013-06-17  Roland McGrath  <roland@hack.frob.com>
31085         * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
31086         length of target pattern, then descending length of dependency pattern.
31087         * configure.in (AWK): Require gawk 3.1.2 or newer.
31088         * manual/install.texi (Tools for Compilation): Say that we do.
31089         * configure: Regenerated.
31091         * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
31092         ($(common-objpfx)sysd-rules): Replace shell logic with running ...
31093         * scripts/sysd-rules.awk: ... this new script.
31094         * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
31095         than a glob-style pattern.
31097 2013-06-17  Joseph Myers  <joseph@codesourcery.com>
31099         * math/test-misc.c (main): Do not treat incorrectly rounded
31100         conversions as failure unless ROUNDING_TESTS passes.
31102 2013-06-15  Joseph Myers  <joseph@codesourcery.com>
31104         [BZ #15631]
31105         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
31106         restore exception state around main square root computation, then
31107         check for inexactness explicitly.
31109         * math/libm-test.inc (fma_test_data): Add another test.
31111 2013-06-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
31113         * manual/threads.texi (Non-POSIX Extensions): New document
31114         node.  Document pthread_getattr_default_np and
31115         pthread_setattr_default_np.
31117         * Versions.def (libpthread): Add GLIBC_2.18.
31118         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
31119         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
31120         Likewise.
31121         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
31122         Likewise.
31123         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
31124         Likewise.
31125         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
31126         Likewise.
31127         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
31128         Likewise.
31129         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
31130         Likewise.
31131         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
31132         Likewise.
31133         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
31134         Likewise.
31135         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
31136         Likewise.
31138 2013-06-14  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
31140         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
31141         Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
31143 2013-06-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
31144             H.J. Lu  <hjl.tools@gmail.com>
31146         [BZ #15627]
31147         * sysdeps/x86_64/rtld-memset.c: Remove file.
31148         * sysdeps/x86_64/rtld-memset.S: New file.
31150 2013-06-14  Joseph Myers  <joseph@codesourcery.com>
31152         * stdlib/tst-strtod-round.c: Include <math-tests.h>.
31153         (test_in_one_mode): Take arguments for whether the rounding mode
31154         is supported for each floating-point type.
31155         (do_test): Pass new arguments to test_in_one_mode using
31156         ROUNDING_TESTS.
31158 2013-06-13  Roland McGrath  <roland@hack.frob.com>
31160         * posix/tst-waitid.c (do_test): Distinguish different instances of
31161         stopped/continued in CHECK_SIGCHLD uses.  Insert a delay between
31162         sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
31163         before entering the kernel for waitpid.
31165 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
31167         * NEWS: Fix note on clock function precision.  Text by Roland
31168         McGrath.
31170 2013-06-13  Roland McGrath  <roland@hack.frob.com>
31172         * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
31173         it into place only when and if the sanity check passes.
31175 2013-06-13  Joseph Myers  <joseph@codesourcery.com>
31177         * stdlib/gen-tst-strtod-round.c (round_str): Always generate
31178         output for whether conversion result is exact.  Take argument
31179         indicating whether type is IBM long double.
31180         (round_for_all): Change need_exact field to ibm_ld.
31181         * stdlib/tst-strtod-round.c (struct exactness): New type.
31182         (struct test): Change bool ld_ok field to struct exactness exact.
31183         (TEST): Update all definitions for change to field.
31184         (tests): Regenerate array contents.
31185         (test_in_one_mode): Take pointer to new field instead of old ld_ok
31186         field value.  Check for IBM long double here.
31187         (do_test): Update calls to test_in_one_mode.
31189 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
31191         [BZ #12515]
31192         * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
31193         CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
31195 2013-06-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31197         [BZ #15605]
31198         * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
31199         generated by the compiler on loop optimizations.
31200         * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
31201         general definitions.
31203 2013-06-12  Joseph Myers  <joseph@codesourcery.com>
31205         * math/bug-nextafter.c: Include <math-tests.h>.
31206         (main): Only test for exceptions if EXCEPTION_TESTS is true for
31207         the relevant type.
31208         * math/bug-nexttoward.c: Include <math-tests.h>.
31209         (main): Only test for exceptions if EXCEPTION_TESTS is true for
31210         the relevant type.
31211         * math/test-misc.c: Include <math-tests.h>.
31212         (main): Only test for exceptions if EXCEPTION_TESTS is true for
31213         the relevant type.
31215 2013-06-12  Andreas Jaeger  <aj@suse.de>
31217         * po/ia.po: Update Interlingua translation from translation
31218         project.
31220 2013-06-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
31222         * include/fenv.h: Include stdbool.h.
31223         (struct rm_ctx): New structure.
31224         * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
31225         Define macro.
31226         (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
31227         (SET_RESTORE_ROUNDF): Likewise.
31228         (SET_RESTORE_ROUNDL): Likewise.
31229         (SET_RESTORE_ROUND_NOEX): Likewise.
31230         (SET_RESTORE_ROUND_NOEXF): Likewise.
31231         (SET_RESTORE_ROUND_NOEXL): Likewise.
31232         (SET_RESTORE_ROUND_53BIT): Likewise.
31233         [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
31234         (libc_feresetround_noexf_ctx): Likewise.
31235         (libc_feresetround_noexl_ctx): Likewise.
31236         (libc_feholdsetround_53bit_ctx): Likewise.
31237         (libc_feresetround_53bit_ctx): Likewise.
31238         * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
31239         (libc_feholdexcept_setround_sse_ctx): New function.
31240         (libc_fesetenv_sse_ctx): Likewise.
31241         (libc_feupdateenv_sse_ctx): Likewise.
31242         (libc_feholdexcept_setround_387_prec_ctx): Likewise.
31243         (libc_feholdexcept_setround_387_ctx): Likewise.
31244         (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
31245         (libc_feholdsetround_387_prec_ctx): Likewise.
31246         (libc_feholdsetround_387_ctx): Likewise.
31247         (libc_feholdsetround_387_53bit_ctx): Likewise.
31248         (libc_feholdsetround_sse_ctx): Likewise.
31249         (libc_feresetround_sse_ctx): Likewise.
31250         (libc_feresetround_387_ctx): Likewise.
31251         (libc_feupdateenv_387_ctx): Likewise.
31252         (libc_feholdexcept_setroundf_ctx): Define macro.
31253         (libc_fesetenvf_ctx): Likewise.
31254         (libc_feupdateenvf_ctx): Likewise.
31255         (libc_feholdsetroundf_ctx): Likewise.
31256         (libc_feresetroundf_ctx): Likewise.
31257         (libc_feholdexcept_setround_ctx): Likewise.
31258         (libc_fesetenv_ctx): Likewise.
31259         (libc_feupdateenv_ctx): Likewise.
31260         (libc_feholdsetround_ctx): Likewise.
31261         (libc_feresetround_ctx): Likewise.
31262         (libc_feholdexcept_setroundl_ctx): Likewise.
31263         (libc_feupdateenvl_ctx): Likewise.
31264         (libc_feholdsetroundl_ctx): Likewise.
31265         (libc_feresetroundl_ctx): Likewise.
31266         [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
31267         (libc_feresetround_53bit_ctx): Likewise.
31269 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
31271         * locale/iso-639.def: Convert to UTF-8.
31273 2013-06-11  Joseph Myers  <joseph@codesourcery.com>
31275         * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
31276         (EXCEPTION_TESTS_double): Likewise.
31277         (EXCEPTION_TESTS_long_double): Likewise.
31278         (EXCEPTION_TESTS): Likewise.
31279         * math/libm-test.inc (test_exceptions): Only test exceptions if
31280         EXCEPTION_TESTS (FLOAT).
31282 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
31284         * benchtests/Makefile (string-bench): Add strcpy_chk and
31285         stpcpy_chk.
31286         * benchtests/bench-stpcpy_chk-ifunc.c: New file.
31287         * benchtests/bench-stpcpy_chk.c: New file.
31288         * benchtests/bench-strcpy_chk-ifunc.c: New file.
31289         * benchtests/bench-strcpy_chk.c: New file.
31290         * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
31291         code.
31292         (do_test): Likewise.
31294 2013-06-11  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
31296         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
31297         ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
31298         * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
31299         with tabs where appropriate.
31300         [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
31301         dl-procinfo.h.
31302         [PPC_PLATFORM_PPC440]: Likewise.
31303         [PPC_PLATFORM_PPC464]: Likewise.
31304         [PPC_PLATFORM_PPC476]: Likewise.
31305         (_dl_string_platform): Add support for detecting ppc405, ppc440,
31306         ppc464, and ppc476 platform strings merging from ports/
31307         dl-procinfo.h.
31309 2013-06-11  Andreas Schwab  <schwab@suse.de>
31311         [BZ #14991]
31312         * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
31313         (from_ucs4_idx): Regenerate.
31314         (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
31315         (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
31316         (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
31317         (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
31318         (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
31319         (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
31320         (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
31321         (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
31322         from FROM_LOOP and TO_LOOP specific macros.
31323         (BODY): Handle combining characters.
31324         * iconvdata/BIG5HKSCS.irreversible: Update.
31325         * iconvdata/BIG5HKSCS.precomposed: New file.
31326         * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
31327         characters.
31328         * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
31330 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
31332         * include/sys/time.h: Fix indentation and add copyright header.
31334         * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
31335         (do_test): Likewise.
31336         * string/test-memchr.c (do_one_test): Likewise.
31337         (do_test): Likewise.
31338         * string/test-memcmp.c (do_one_test): Likewise.
31339         (do_test): Likewise.
31340         * string/test-memcpy.c (do_one_test): Likewise.
31341         (do_test): Likewise.
31342         * string/test-memmem.c (do_one_test): Likewise.
31343         (do_test): Likewise.
31344         (do_random_tests): Likewise.
31345         * string/test-memmove.c (do_one_test): Likewise.
31346         (do_test): Likewise.
31347         * string/test-memset.c (do_one_test): Likewise.
31348         (do_test): Likewise.
31349         * string/test-rawmemchr.c (do_one_test): Likewise.
31350         (do_test): Likewise.
31351         * string/test-strcasecmp.c (do_one_test): Likewise.
31352         (do_test): Likewise.
31353         * string/test-strcasestr.c (do_one_test): Likewise.
31354         (do_test): Likewise.
31355         * string/test-strcat.c (do_one_test): Likewise.
31356         (do_test): Likewise.
31357         * string/test-strchr.c (do_one_test): Likewise.
31358         (do_test): Likewise.
31359         * string/test-strcmp.c (do_one_test): Likewise.
31360         (do_test): Likewise.
31361         * string/test-strcpy.c (do_one_test): Likewise.
31362         (do_test): Likewise.
31363         * string/test-string.h: Likewise.
31364         (test_init): Likewise.
31365         * string/test-strlen.c (do_one_test): Likewise.
31366         (do_test): Likewise.
31367         * string/test-strncasecmp.c (do_one_test): Likewise.
31368         (do_test): Likewise.
31369         * string/test-strncat.c (do_one_test): Likewise.
31370         (do_test): Likewise.
31371         * string/test-strncmp.c (do_one_test): Likewise.
31372         (do_test_limit): Likewise.
31373         (do_test): Likewise.
31374         * string/test-strncpy.c (do_one_test): Likewise.
31375         (do_test): Likewise.
31376         * string/test-strnlen.c (do_one_test): Likewise.
31377         (do_test): Likewise.
31378         * string/test-strpbrk.c (do_one_test): Likewise.
31379         (do_test): Likewise.
31380         * string/test-strrchr.c (do_one_test): Likewise.
31381         (do_test): Likewise.
31382         * string/test-strspn.c (do_one_test): Likewise.
31383         (do_test): Likewise.
31384         * string/test-strstr.c (do_one_test): Likewise.
31385         (do_test): Likewise.
31387         * benchtests/Makefile (string-bench): Add string benchmarks.
31388         * benchtests/bench-bcopy-ifunc.c: New file.
31389         * benchtests/bench-bcopy.c: New file.
31390         * benchtests/bench-bzero-ifunc.c: New file.
31391         * benchtests/bench-bzero.c: New file.
31392         * benchtests/bench-memccpy-ifunc.c: New file.
31393         * benchtests/bench-memccpy.c: New file.
31394         * benchtests/bench-memchr-ifunc.c: New file.
31395         * benchtests/bench-memchr.c: New file.
31396         * benchtests/bench-memcmp-ifunc.c: New file.
31397         * benchtests/bench-memcmp.c: New file.
31398         * benchtests/bench-memmem-ifunc.c: New file.
31399         * benchtests/bench-memmem.c: New file.
31400         * benchtests/bench-memmove-ifunc.c: New file.
31401         * benchtests/bench-memmove.c: New file.
31402         * benchtests/bench-mempcpy-ifunc.c: New file.
31403         * benchtests/bench-mempcpy.c: New file.
31404         * benchtests/bench-memset-ifunc.c: New file.
31405         * benchtests/bench-memset.c: New file.
31406         * benchtests/bench-rawmemchr-ifunc.c: New file.
31407         * benchtests/bench-rawmemchr.c: New file.
31408         * benchtests/bench-stpcpy-ifunc.c: New file.
31409         * benchtests/bench-stpcpy.c: New file.
31410         * benchtests/bench-stpncpy-ifunc.c: New file.
31411         * benchtests/bench-stpncpy.c: New file.
31412         * benchtests/bench-strcasecmp-ifunc.c: New file.
31413         * benchtests/bench-strcasecmp.c: New file.
31414         * benchtests/bench-strcasestr-ifunc.c: New file.
31415         * benchtests/bench-strcasestr.c: New file.
31416         * benchtests/bench-strcat-ifunc.c: New file.
31417         * benchtests/bench-strcat.c: New file.
31418         * benchtests/bench-strchr-ifunc.c: New file.
31419         * benchtests/bench-strchr.c: New file.
31420         * benchtests/bench-strchrnul-ifunc.c: New file.
31421         * benchtests/bench-strchrnul.c: New file.
31422         * benchtests/bench-strcmp-ifunc.c: New file.
31423         * benchtests/bench-strcmp.c: New file.
31424         * benchtests/bench-strcpy-ifunc.c: New file.
31425         * benchtests/bench-strcpy.c: New file.
31426         * benchtests/bench-strcspn-ifunc.c: New file.
31427         * benchtests/bench-strcspn.c: New file.
31428         * benchtests/bench-strlen-ifunc.c: New file.
31429         * benchtests/bench-strlen.c: New file.
31430         * benchtests/bench-strncasecmp-ifunc.c: New file.
31431         * benchtests/bench-strncasecmp.c: New file.
31432         * benchtests/bench-strncat-ifunc.c: New file.
31433         * benchtests/bench-strncat.c: New file.
31434         * benchtests/bench-strncmp-ifunc.c: New file.
31435         * benchtests/bench-strncmp.c: New file.
31436         * benchtests/bench-strncpy-ifunc.c: New file.
31437         * benchtests/bench-strncpy.c: New file.
31438         * benchtests/bench-strnlen-ifunc.c: New file.
31439         * benchtests/bench-strnlen.c: New file.
31440         * benchtests/bench-strpbrk-ifunc.c: New file.
31441         * benchtests/bench-strpbrk.c: New file.
31442         * benchtests/bench-strrchr-ifunc.c: New file.
31443         * benchtests/bench-strrchr.c: New file.
31444         * benchtests/bench-strspn-ifunc.c: New file.
31445         * benchtests/bench-strspn.c: New file.
31446         * benchtests/bench-strstr-ifunc.c: New file.
31447         * benchtests/bench-strstr.c: New file.
31449         * benchtests/Makefile: Disable parallel execution of targets.
31450         (string-bench): Add memcpy.
31451         (benchset): New variable to store a list of benchmark sets.
31452         (bench-func): Renamed from bench.
31453         (bench-set): New target.
31454         (bench): Depend on bench-func and bench-set.
31455         * benchtests/README: Add section on benchmark sets.
31456         * benchtests/bench-memcpy-ifunc.c: New file.
31457         * benchtests/bench-memcpy.c: New file.
31458         * benchtests/bench-string.h: New file.
31460 2013-06-11  Andreas Schwab  <schwab@suse.de>
31462         [BZ #15577]
31463         * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
31464         * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
31465         values in the triple.
31466         * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
31467         terminator in the group key.
31469 2013-06-11  Andreas Jaeger  <aj@suse.de>
31471         * po/zh_TW.po: Update Chinese (traditional) translation from
31472         translation project.
31474 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
31476         * include/time.h (__clock_gettime): Add libc_hidden_proto.
31477         * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
31478         __clock_getcpuclockid.  Add weak_alias and libc_hidden_def.
31479         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
31480         (clock_getcpuclockid): Likewise.
31481         * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
31482         Add weak_alias and libc_hidden_def.
31483         * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
31484         * rt/clock_gettime.c (clock_gettime): Rename to
31485         __clock_gettime.  Add weak_alias and libc_hidden_def.
31486         * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
31487         * rt/clock_nanosleep.c (clock_nanosleep): Rename to
31488         __clock_nanosleep.  Add weak_alias and libc_hidden_def.
31489         * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
31490         * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
31491         Likewise.
31492         * rt/clock_settime.c (clock_settime): Rename to
31493         __clock_settime.  Add weak_alias and libc_hidden_def.
31494         * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
31496 2013-06-10  Joseph Myers  <joseph@codesourcery.com>
31498         * mach/err_boot.sub: Remove trailing whitespace.
31499         * mach/err_ipc.sub: Likewise.
31500         * mach/err_mach.sub: Likewise.
31502         * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
31503         (ROUNDING_TESTS_double): Likewise.
31504         (ROUNDING_TESTS_long_double): Likewise.
31505         (ROUNDING_TESTS): Likewise.
31506         * math/libm-test.inc: Include <math-tests.h>.
31507         (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
31508         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
31509         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
31510         (IF_ROUND_INIT_FE_UPWARD): Likewise.
31512 2013-06-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
31514         * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
31515         of assigning.
31517 2013-06-08  Joseph Myers  <joseph@codesourcery.com>
31519         * sysdeps/gnu/errlist.awk: Do not generate space at end of
31520         otherwise empty TRANS lines.
31521         * sysdeps/gnu/errlist.c: Regenerated.
31523         * catgets/gencat.c (error_print): Use (void) in function
31524         definition.
31525         * crypt/crypt_util.c (__init_des): Likewise.
31526         * crypt/speeds.c (Stop): Likewise.
31527         (main): Likewise.
31528         * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
31529         * inet/ruserpass.c (token): Likewise.
31530         * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
31531         * intl/localealias.c (extend_alias_table): Likewise.
31532         * intl/plural-exp.c (init_germanic_plural): Likewise.
31533         * libio/fcloseall.c (__fcloseall): Likewise.
31534         * libio/genops.c (_IO_flush_all): Likewise.
31535         (_IO_flush_all_linebuffered): Likewise.
31536         (_IO_cleanup): Likewise.
31537         (_IO_iter_begin): Likewise.
31538         (_IO_iter_end): Likewise.
31539         (_IO_list_lock): Likewise.
31540         (_IO_list_unlock): Likewise.
31541         (_IO_list_resetlock): Likewise.
31542         * libio/getchar.c (getchar): Likewise.
31543         * libio/getchar_u.c (getchar_unlocked): Likewise.
31544         * libio/getwchar.c (getwchar): Likewise.
31545         * libio/getwchar_u.c (getwchar_unlocked): Likewise.
31546         * libio/oldstdfiles.c (_IO_check_libio): Likewise.
31547         * login/getpt.c (__getpt): Likewise.
31548         * login/tst-utmp.c (main): Likewise.
31549         * malloc/hooks.c (__malloc_check_init): Likewise.
31550         * malloc/malloc.c (__malloc_stats): Likewise.
31551         * malloc/mtrace.c (tr_break): Likewise.
31552         (mtrace): Likewise.
31553         (muntrace): Likewise.
31554         * misc/fstab.c (endfsent): Likewise.
31555         * misc/getclktck.c (__getclktck): Likewise.
31556         * misc/getdtsz.c (__getdtablesize): Likewise.
31557         * misc/gethostid.c (gethostid): Likewise.
31558         * misc/getpagesize.c (__getpagesize): Likewise.
31559         * misc/getsysstats.c (__get_nprocs_conf): Likewise.
31560         (__get_nprocs): Likewise.
31561         (__get_phys_pages): Likewise.
31562         (__get_avphys_pages): Likewise.
31563         * misc/getttyent.c (getttyent): Likewise.
31564         (setttyent): Likewise.
31565         (endttyent): Likewise.
31566         * misc/getusershell.c (getusershell): Likewise.
31567         (endusershell): Likewise.
31568         (setusershell): Likewise.
31569         (initshells): Likewise.
31570         * misc/hsearch.c (__hdestroy): Likewise.
31571         * misc/sync.c (sync): Likewise.
31572         * misc/syslog.c (closelog_internal): Likewise.
31573         (closelog): Likewise.
31574         * misc/ttyslot.c (ttyslot): Likewise.
31575         * misc/vhangup.c (vhangup): Likewise.
31576         * posix/fork.c (__fork): Likewise.
31577         * posix/getegid.c (__getegid): Likewise.
31578         * posix/geteuid.c (__geteuid): Likewise.
31579         * posix/getgid.c (__getgid): Likewise.
31580         * posix/getpid.c (__getpid): Likewise.
31581         * posix/getppid.c (__getppid): Likewise.
31582         * posix/getuid.c (__getuid): Likewise.
31583         * posix/pause.c (pause): Likewise.
31584         * posix/setpgrp.c (setpgrp): Likewise.
31585         * posix/setsid.c (__setsid): Likewise.
31586         * posix/test-vfork.c (noop): Likewise.
31587         * resolv/gethnamaddr.c (_endhtent): Likewise.
31588         (_gethtent): Likewise.
31589         (ht_endhostent): Likewise.
31590         (gethostent): Likewise.
31591         (dns_service): Likewise.
31592         * stdlib/drand48.c (drand48): Likewise.
31593         * stdlib/lrand48.c (lrand48): Likewise.
31594         * stdlib/mrand48.c (mrand48): Likewise.
31595         * stdlib/rand.c (rand): Likewise.
31596         * stdlib/random.c (__random): Likewise.
31597         * stdlib/setenv.c (clearenv): Likewise.
31598         * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
31599         * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
31600         * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
31601         * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
31602         (__get_nprocs): Likewise.
31603         (__get_phys_pages): Likewise.
31604         (__get_avphys_pages): Likewise.
31605         * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
31606         * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
31607         * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
31608         * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
31609         * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
31610         * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
31611         * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
31612         * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
31613         * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
31614         * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
31615         * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
31616         * sysdeps/mach/hurd/sync.c (sync): Likewise.
31617         * sysdeps/posix/clock.c (clock): Likewise.
31618         * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
31619         * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
31620         * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
31621         * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
31622         * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
31623         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
31624         (__get_nprocs_conf): Likewise.
31625         (__get_phys_pages): Likewise.
31626         (__get_avphys_pages): Likewise.
31627         * time/clock.c (clock): Likewise.
31628         * time/tzset.c (__tzname_max): Likewise.
31630 2013-06-07  Joseph Myers  <joseph@codesourcery.com>
31632         * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
31633         (__bswap_32): Do not use "register".
31634         * crypt/crypt.c (_ufc_doit_r): Likewise.
31635         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
31636         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
31637         * gmon/gmon.c (__monstartup): Likewise.
31638         * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
31639         * hurd/hurdmalloc.c (more_memory): Likewise.
31640         (malloc): Likewise.
31641         (free): Likewise.
31642         (realloc): Likewise.
31643         (malloc_fork_prepare): Likewise.
31644         (malloc_fork_parent): Likewise.
31645         (malloc_fork_child): Likewise.
31646         * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
31647         (_svcauth_des): Likewise.
31648         * inet/inet_lnaof.c (inet_lnaof): Likewise.
31649         * inet/inet_net.c (inet_network): Likewise.
31650         * inet/inet_netof.c (inet_netof): Likewise.
31651         * inet/rcmd.c (__validuser2_sa): Likewise.
31652         * io/fts.c (fts_open): Likewise.
31653         (fts_load): Likewise.
31654         (fts_close): Likewise.
31655         (fts_read): Likewise.
31656         (fts_children): Likewise.
31657         (fts_build): Likewise.
31658         (fts_stat): Likewise.
31659         (fts_sort): Likewise.
31660         (fts_alloc): Likewise.
31661         (fts_lfree): Likewise.
31662         * libio/fileops.c (_IO_new_file_xsputn): Likewise.
31663         (_IO_file_xsgetn): Likewise.
31664         (_IO_file_xsgetn_mmap): Likewise.
31665         * libio/iofopncook.c (_IO_cookie_read): Likewise.
31666         (_IO_cookie_write): Likewise.
31667         * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
31668         * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
31669         * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
31670         * malloc/obstack.c (_obstack_begin): Likewise.
31671         (_obstack_begin_1): Likewise.
31672         (_obstack_newchunk): Likewise.
31673         (_obstack_allocated_p): Likewise.
31674         (obstack_free): Likewise.
31675         (_obstack_memory_used): Likewise.
31676         * misc/getttyent.c (getttynam): Likewise.
31677         (getttyent): Likewise.
31678         (skip): Likewise.
31679         (value): Likewise.
31680         * misc/getusershell.c (initshells): Likewise.
31681         * misc/syslog.c (__vsyslog_chk): Likewise.
31682         * misc/ttyslot.c (ttyslot): Likewise.
31683         * nis/nis_hash.c (__nis_hash): Likewise.
31684         * posix/fnmatch_loop.c (FCT): Likewise.
31685         * posix/getconf.c (print_all): Likewise.
31686         (main): Likewise.
31687         * posix/getopt.c (exchange): Likewise.
31688         * posix/glob.c (globfree): Likewise.
31689         (prefix_array): Likewise.
31690         (__glob_pattern_type): Likewise.
31691         * resolv/arpa/nameser.h (NS_GET16): Likewise.
31692         (NS_GET32): Likewise.
31693         (NS_PUT16): Likewise.
31694         (NS_PUT32): Likewise.
31695         * resolv/gethnamaddr.c (getanswer): Likewise.
31696         (gethostbyname2): Likewise.
31697         (gethostbyaddr): Likewise.
31698         (_gethtent): Likewise.
31699         (_gethtbyname2): Likewise.
31700         (_gethtbyaddr): Likewise.
31701         * resolv/ns_print.c (dst_s_get_int16): Likewise.
31702         * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
31703         * resolv/res_init.c (__res_vinit): Likewise.
31704         (net_mask): Likewise.
31705         * resolv/res_mkquery.c (outchar): Likewise.
31706         (PRINT): Likewise.
31707         * stdio-common/printf_fp.c (outchar): Likewise.
31708         (PRINT): Likewise.
31709         * stdio-common/printf_fphex.c (outchar): Likewise.
31710         (PRINT): Likewise.
31711         * stdio-common/printf_size.c (outchar): Likewise.
31712         (PRINT): Likewise.
31713         * stdio-common/test_rdwr.c (main): Likewise.
31714         * stdio-common/tfformat.c (matches): Likewise.
31715         * stdio-common/vfprintf.c (outchar): Likewise.
31716         (printf_unknown): Likewise.
31717         (buffered_vfprintf): Likewise.
31718         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
31719         * stdio-common/xbug.c (AppendToBuffer): Likewise.
31720         (ReadFile): Likewise.
31721         * stdlib/qsort.c (SWAP): Likewise.
31722         (_quicksort): Likewise.
31723         * stdlib/setenv.c (__add_to_environ): Likewise.
31724         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
31725         * stdlib/strtol_l.c (__strtol_l): Likewise.
31726         * stdlib/tst-strtod.c (main): Likewise.
31727         * stdlib/tst-strtol.c (main): Likewise.
31728         * stdlib/tst-strtoll.c (main): Likewise.
31729         * string/bits/string2.h (__strcmp_cc): Likewise.
31730         (__strcmp_cg): Likewise.
31731         (__strcspn_c1): Likewise.
31732         (__strcspn_c2): Likewise.
31733         (__strcspn_c3): Likewise.
31734         (__strspn_c1): Likewise.
31735         (__strspn_c2): Likewise.
31736         (__strspn_c3): Likewise.
31737         (__strsep_1c): Likewise.
31738         (__strsep_2c): Likewise.
31739         (__strsep_3c): Likewise.
31740         * string/memccpy.c (__memccpy): Likewise.
31741         * string/stpcpy.c (__stpcpy): Likewise.
31742         * string/strcmp.c (strcmp): Likewise.
31743         * string/strrchr.c (strrchr): Likewise.
31744         * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
31745         Likewise.
31746         * sysdeps/mach/hurd/getcwd.c
31747         (_hurd_canonicalize_directory_name_internal): Likewise.
31748         * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
31749         * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
31750         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
31751         * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
31752         Likewise, in both definitions.
31753         * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
31754         definitions.
31755         [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
31756         64] (__bswap_64): Likewise.
31757         * time/test_time.c (main): Likewise.
31758         * time/tzfile.c (__tzfile_read): Likewise.
31759         (__tzfile_compute): Likewise.
31760         * time/tzset.c (__tzset_parse_tz): Likewise.
31761         (tzset_internal): Likewise.
31762         (compute_change): Likewise.
31763         * wcsmbs/wcscat.c (__wcscat): Likewise.
31764         * wcsmbs/wcschr.c (wcschr): Likewise.
31765         * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
31766         * wcsmbs/wcscspn.c (wcscspn): Likewise.
31767         * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
31768         * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
31769         * wcsmbs/wcsspn.c (wcsspn): Likewise.
31770         * wcsmbs/wcsstr.c (wcsstr): Likewise.
31771         * wcsmbs/wmemchr.c (wmemchr): Likewise.
31772         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
31773         * wcsmbs/wmemset.c (wmemset): Likewise.
31775 2013-06-06  Joseph Myers  <joseph@codesourcery.com>
31777         * scripts/config.guess: Update to version 2013-05-16.
31778         * scripts/config.sub: Update to version 2013-04-24.
31779         * scripts/install-sh: Update to version 2011-11-20.07.
31780         * scripts/mkinstalldirs: Update to version 2009-04-28.21.
31781         * scripts/move-if-change: Update to version 2012-01-06 07:23.
31783 2013-06-06   Ondřej Bílka  <neleai@seznam.cz>
31785         * debug/fgetws_u_chk.c: Fix leading whitespaces.
31786         * elf/sln.c: Likewise.
31787         * hurd/hurd/ioctl.h: Likewise.
31788         * hurd/hurdmalloc.c: Likewise.
31789         * hurd/xattr.c: Likewise.
31790         * include/shlib-compat.h: Likewise.
31791         * inet/ruserpass.c: Likewise.
31792         * libio/iofgets_u.c: Likewise.
31793         * libio/iofgetws_u.c: Likewise.
31794         * locale/programs/ld-identification.c: Likewise.
31795         * locale/programs/ld-time.c: Likewise.
31796         * mach/msg-destroy.c: Likewise.
31797         * nss/nss_files/files-netgrp.c: Likewise.
31798         * resolv/res_data.c: Likewise.
31799         * soft-fp/op-1.h: Likewise.
31800         * soft-fp/op-2.h: Likewise.
31801         * soft-fp/op-4.h: Likewise.
31802         * soft-fp/op-common.h: Likewise.
31803         * stdio-common/printf_fphex.c: Likewise.
31804         * stdlib/strtod_l.c: Likewise.
31805         * sunrpc/rpc/clnt.h: Likewise.
31806         * sysdeps/generic/framestate.c: Likewise.
31807         * sysdeps/i386/bsd-_setjmp.S: Likewise.
31808         * sysdeps/i386/bsd-setjmp.S: Likewise.
31809         * sysdeps/i386/__longjmp.S: Likewise.
31810         * sysdeps/i386/setjmp.S: Likewise.
31811         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
31812         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
31813         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
31814         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
31815         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
31816         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
31817         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
31818         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
31819         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
31820         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
31821         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
31822         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
31823         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
31824         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
31825         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
31826         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
31827         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
31828         * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
31829         * sysdeps/ieee754/support.c: Likewise.
31830         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
31831         * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
31832         * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
31833         * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
31834         * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
31835         * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
31836         * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
31837         * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
31838         * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
31839         * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
31840         * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
31841         * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
31842         * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
31843         * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
31844         * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
31845         * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
31846         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
31847         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
31849 2013-06-05  Ondřej Bílka  <neleai@seznam.cz>
31851         * posix/transbug.c: Remove executable mode.
31853 2013-06-05  Joseph Myers  <joseph@codesourcery.com>
31855         * crypt/speeds.c: Remove trailing whitespace.
31856         * dlfcn/default.c: Likewise.
31857         * elf/ifuncdep2.c: Likewise.
31858         * elf/ifuncmain1.c: Likewise.
31859         * elf/ifuncmain1vis.c: Likewise.
31860         * elf/testobj.h: Likewise.
31861         * elf/tst-stackguard1.c: Likewise.
31862         * gmon/sys/gmon.h: Likewise.
31863         * hurd/hurdmsg.c: Likewise.
31864         * hurd/new-fd.c: Likewise.
31865         * hurd/ports-get.c: Likewise.
31866         * iconvdata/ibm1008_420.c: Likewise.
31867         * inet/tst-getni1.c: Likewise.
31868         * inet/tst-getni2.c: Likewise.
31869         * libio/ioungetc.c: Likewise.
31870         * libio/wfiledoalloc.c: Likewise.
31871         * manual/libm-err-tab.pl: Likewise.
31872         * math/w_dremf.c: Likewise.
31873         * misc/ftruncate.c: Likewise.
31874         * posix/bug-glob2.c: Likewise.
31875         * posix/tst-pcre.c: Likewise.
31876         * posix/wait4.c: Likewise.
31877         * resolv/README: Likewise.
31878         * resolv/res_debug.h: Likewise.
31879         * resolv/tst-inet_ntop.c: Likewise.
31880         * setjmp/bug269-setjmp.c: Likewise.
31881         * soft-fp/extended.h: Likewise.
31882         * soft-fp/op-1.h: Likewise.
31883         * soft-fp/op-2.h: Likewise.
31884         * soft-fp/op-4.h: Likewise.
31885         * soft-fp/op-8.h: Likewise.
31886         * soft-fp/testit.c: Likewise.
31887         * stdio-common/bug16.c: Likewise.
31888         * stdlib/random.c: Likewise.
31889         * sunrpc/rpcsvc/rquota.x: Likewise.
31890         * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
31891         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
31892         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
31893         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
31894         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
31895         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
31896         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
31897         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
31898         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
31899         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
31900         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
31901         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
31902         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
31903         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
31904         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
31905         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
31906         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
31907         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
31908         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
31909         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
31910         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
31911         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
31912         * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
31913         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
31914         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
31915         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
31916         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
31917         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
31918         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
31919         * sysdeps/ieee754/s_lib_version.c: Likewise.
31920         * sysdeps/mach/hurd/check_fds.c: Likewise.
31921         * sysdeps/mach/hurd/getsockname.c: Likewise.
31922         * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
31923         * sysdeps/mach/hurd/recvfrom.c: Likewise.
31924         * sysdeps/powerpc/bits/link.h: Likewise.
31925         * sysdeps/powerpc/dl-procinfo.c: Likewise.
31926         * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
31927         * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
31928         * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
31929         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
31930         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
31931         * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
31932         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
31933         * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
31934         * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
31935         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
31936         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
31937         * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
31938         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
31939         * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
31940         * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
31941         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
31942         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
31943         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
31944         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
31945         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
31946         * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
31947         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
31948         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
31949         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
31950         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
31951         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
31952         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
31953         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
31954         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
31955         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
31956         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
31957         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
31958         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
31959         * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
31960         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
31961         * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
31962         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
31963         * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
31964         * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
31965         * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
31966         * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
31967         * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
31968         * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
31969         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
31970         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
31971         * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
31972         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
31973         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
31974         * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
31975         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
31976         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
31977         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
31978         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
31979         * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
31980         * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
31981         * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
31982         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
31983         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
31984         * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
31985         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
31986         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
31987         * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
31988         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
31989         * sysdeps/powerpc/sysdep.h: Likewise.
31990         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
31991         * sysdeps/s390/s390-64/sub_n.S: Likewise.
31992         * sysdeps/sh/dl-trampoline.S: Likewise.
31993         * sysdeps/sh/memset.S: Likewise.
31994         * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
31995         * sysdeps/sh/strlen.S: Likewise.
31996         * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
31997         * sysdeps/sparc/sparc32/dotmul.S: Likewise.
31998         * sysdeps/sparc/sparc32/memcpy.S: Likewise.
31999         * sysdeps/sparc/sparc32/rem.S: Likewise.
32000         * sysdeps/sparc/sparc32/sdiv.S: Likewise.
32001         * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
32002         * sysdeps/sparc/sparc32/strchr.S: Likewise.
32003         * sysdeps/sparc/sparc32/udiv.S: Likewise.
32004         * sysdeps/sparc/sparc32/urem.S: Likewise.
32005         * sysdeps/sparc/sparc64/add_n.S: Likewise.
32006         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
32007         * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
32008         * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
32009         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
32010         * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
32011         * sysdeps/sparc/sparc64/strncmp.S: Likewise.
32012         * sysdeps/sparc/sparc64/strncpy.S: Likewise.
32013         * sysdeps/unix/bsd/times.c: Likewise.
32014         * sysdeps/unix/sysv/linux/a.out.h: Likewise.
32015         * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
32016         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
32017         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
32018         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
32019         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
32020         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
32021         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
32022         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
32023         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
32024         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
32025         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
32026         * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
32027         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
32028         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
32029         * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
32030         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
32031         * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
32032         * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
32033         * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
32034         * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
32035         * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
32036         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
32037         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
32038         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
32039         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
32040         * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
32041         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
32042         * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
32043         * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
32044         * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
32045         * sysdeps/x86_64/strcspn.S: Likewise.
32047 2013-06-05  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
32049         * locale/C-translit.h: Revert #include <stdint.h> because this is a
32050         generated file.  Regenerate properly from gen-translit.pl.
32051         * locale/gen-translit.pl: Add #include <stdint.h>.  This generates
32052         locale/C-translit.h.
32054 2013-06-05  Andreas Schwab  <schwab@suse.de>
32056         [BZ #15100]
32057         * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
32058         week as 6 instead of -1.
32059         * time/tst-strptime.c (day_tests): Add test case.
32061 2013-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
32063         * sysdeps/generic/math_private.h
32064         (libc_feholdexcept_setround_53bit): Replace with
32065         libc_feholdsetround_53bit.
32066         (libc_feupdateenv_53bit): Replace with
32067         libc_feresetround_53bit.
32068         (SET_RESTORE_ROUND_53BIT): Adjust.
32070 2013-06-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
32072         * string/test-strchrnul.c: Add copyright header.
32074         * posix/tst-getaddrinfo4.c: Increase test timeout.
32076 2013-06-03  Carlos O'Donell  <carlos@redhat.com>
32078         [BZ #15536]
32079         * math/libm-test.inc (MAX_EXP): Remove
32080         (MIN_EXP): Define.
32081         (ulp): Use MIN_EXP - MANT_DIG.
32082         (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
32084 2013-05-31  Carlos O'Donell  <carlos@redhat.com>
32086         * po/be.po: Revert last change.
32087         * po/zh_CN.po: Likewise.
32088         * po/header.pot: Likewise.
32090 2013-05-31  Joseph Myers  <joseph@codesourcery.com>
32092         * Makefile ($(common-objpfx)linkobj/libc.so): Define
32093         link-libc-deps to empty as target-specific variable.
32094         * Makerules (link-libc-args): New variable.
32095         (libc-for-link): Likewise.
32096         (link-libc-deps): Likewise.
32097         (lib%.so): Depend on $(link-libc-deps).  Link with
32098         $(link-libc-args).
32099         (build-module): Link with $(link-libc-args).
32100         (build-module-asneeded): Likewise.
32101         (build-module-helper-objlist): Filter out $(link-libc-deps) from
32102         list of objects.
32103         ($(common-objpfx)libc.so): Define link-libc-deps to empty as
32104         target-specific variable.
32105         ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
32106         $(link-libc-deps) instead of libc.so and libc_nonshared.a.
32107         * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
32108         libc.
32109         * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
32110         libc and ld.so.
32111         ($(objpfx)libpcprofile.so): Likewise.
32112         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
32113         libc_nonshared.a.
32114         ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
32115         * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
32116         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
32117         $(link-libc-deps).
32118         ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
32119         * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
32120         * login/Makefile ($(objpfx)libutil.so): Likewise.
32121         * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
32122         * math/Makefile ($(objpfx)libm.so): Likewise.
32123         * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
32124         $(objpfx)libnsl.so): Define libc-for-link as target-specific
32125         variable instead of depending directly on libc.
32126         * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
32127         ($(objpfx)/libnss_test1.so): Change dependencies on libc to
32128         $(link-libc-deps).
32129         * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
32130         libc.
32131         [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
32132         ($(objpfx)libnss_dns.so): Remove dependencies on libc.
32133         ($(objpfx)libanl.so): Likewise.
32134         * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
32135         ld.so.
32136         * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
32137         $(link-libc-deps).
32138         * sysdeps/i386/fpu/Makefile: Remove file.
32139         * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
32140         ($(objpfx)libm.so): Remove dependency on ld.so.
32142 2013-05-30  Patsy Franklin  <pfrankli@redhat.com>
32144         [BZ # 15553]
32145         * nis/yp_xdr.c (XDRMAXNAME): Define.
32146         (XDRMAXRECORD): Define.
32147         (xdr_domainname): Use XDRMAXNAME.
32148         (xdr_mapname): Likewise.
32149         (xdr_peername): Likewise.
32150         (xdr_keydat): Use XDRMAXRECORD.
32151         (xdr_valdat): Likewise.
32153 2013-05-30  Jeff Law  <law@redhat.com>
32155         [BZ #14256]
32156         * manual/errno.texi (ESTALE): Update to account for more than
32157         just NFS file systems.
32158         * sysdeps/gnu/errlist.c: Regenerated.
32160 2013-05-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
32162         [BZ #15465]
32163         * elf/Makefile (tests): Add tst-null-argv.
32164         (modules-names):  Add tst-null-argv-lib.
32165         ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
32166         (tst-null-argv-ENV): Set environment for tst-null-argv.
32167         * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
32168         (RTLD_PROGNAME): New macro.
32169         * elf/tst-null-argv.c: New test case.
32170         * elf/tst-null-argv-lib.c: Library for test case.
32171         * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
32172         * elf/dl-deps.c (_dl_map_object_deps): Likewise.
32173         * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
32174         * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
32175         * elf/dl-init.c (call_init): Likewise.
32176         (_dl_init): Likewise.
32177         * elf/dl-load.c (print_search_path): Likewise.
32178         (_dl_map_object): Likewise.
32179         * elf/dl-lookup.c (do_lookup_x): Likewise.
32180         (add_dependency): Likewise.
32181         (_dl_lookup_symbol_x): Likewise.
32182         (_dl_debug_bindings): Likewise.
32183         * elf/dl-open.c (_dl_show_scope): Likewise.
32184         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
32185         * elf/dl-version.c (match_symbol): Likewise.
32186         (_dl_check_map_versions): Likewise.
32187         * elf/rtld.c (dl_main): Likewise.
32188         (print_unresolved): Use RTLD_PROGNAME.
32189         (print_missing_version): Likewise.
32190         * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
32191         (elf_machine_rela): Likewise.
32192         * sysdeps/powerpc/powerpc32/dl-machine.c
32193         (__process_machine_rela): Likewise.
32194         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
32195         Likewise.
32196         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
32197         Likewise.
32198         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
32199         Likewise.
32200         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
32201         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
32202         Likewise.
32203         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
32204         Likewise.
32205         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
32207 2013-05-28  Carlos O'Donell  <carlos@redhat.com>
32209         * po/be.po: Add descriptive title.
32210         * po/zh_CN.po: Likewise.
32211         * po/header.pot: Likewise.
32213 2013-05-28  Mike Frysinger  <vapier@gentoo.org>
32215         * locale/programs/locarchive.c (create_archive): Inlucde fname in
32216         error message.
32217         (enlarge_archive): Likewise.
32219 2013-05-28  Ben North  <ben@redfrontdoor.org>
32221         * manual/arith.texi (frexp): It is the magnitude of the return
32222         value which lies in [0.5, 1), not the return value itself.
32224 2013-05-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32226         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
32228 2013-05-26  Thomas Schwinge  <thomas@codesourcery.com>
32230         * stdio-common/bug26.c (main): Correct fscanf template.
32232         * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
32233         declare _dl_skip_args.
32235         * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
32236         Don't declare.
32238         * manual/platform.texi: Add missing @end deftypefun.
32240 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
32242         [BZ #15529]
32243         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
32244         bit of mantissa of 2^16382.
32245         * math/libm-test.inc (hypot_test_data): Add more tests.
32247         * math/libm-test.inc: Add drem and pow10 to list of tested
32248         functions.
32249         (pow10_test): New function.
32250         (drem_test): Likewise.
32251         (drem_test_tonearest): Likewise.
32252         (drem_test_towardzero): Likewise.
32253         (drem_test_downward): Likewise.
32254         (drem_test_upward): Likewise.
32255         (main): Call the new functions.
32257         * math/libm-test.inc (finite_test_data): Remove.
32258         (finite_test): Run tests from isfinite_test_data.
32259         (gamma_test_data): Remove.
32260         (gamma_test): Run tests from lgamma_test_data.
32261         * sysdeps/i386/fpu/libm-test-ulps: Update.
32262         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32264 2013-05-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32266         * manual/platform.texi: Add PowerPC PPR function set documentation.
32267         * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
32268         implementation.
32270 2013-05-24  Carlos O'Donell  <carlos@redhat.com>
32272         * math/libm-test.inc (MAX_EXP): Define.
32273         (ULPDIFF): Define.
32274         (ulp): New function.
32275         (check_float_internal): Use ULPDIFF.
32276         (cpow_test): Disable failing test.
32277         (check_ulp): Test ulp() implemetnation.
32278         (main): Call check_ulp before starting tests.
32280 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
32282         * math/gen-libm-test.pl (generate_testfile): Do not handle
32283         START_DATA and END_DATA.
32284         * math/libm-test.inc (acos_test_data): Do not use START_DATA and
32285         END_DATA.
32286         (acos_tonearest_test_data): Likewise.
32287         (acos_towardzero_test_data): Likewise.
32288         (acos_downward_test_data): Likewise.
32289         (acos_upward_test_data): Likewise.
32290         (acosh_test_data): Likewise.
32291         (asin_test_data): Likewise.
32292         (asin_tonearest_test_data): Likewise.
32293         (asin_towardzero_test_data): Likewise.
32294         (asin_downward_test_data): Likewise.
32295         (asin_upward_test_data): Likewise.
32296         (asinh_test_data): Likewise.
32297         (atan_test_data): Likewise.
32298         (atanh_test_data): Likewise.
32299         (atan2_test_data): Likewise.
32300         (cabs_test_data): Likewise.
32301         (cacos_test_data): Likewise.
32302         (cacosh_test_data): Likewise.
32303         (carg_test_data): Likewise.
32304         (casin_test_data): Likewise.
32305         (casinh_test_data): Likewise.
32306         (catan_test_data): Likewise.
32307         (catanh_test_data): Likewise.
32308         (cbrt_test_data): Likewise.
32309         (ccos_test_data): Likewise.
32310         (ccosh_test_data): Likewise.
32311         (ceil_test_data): Likewise.
32312         (cexp_test_data): Likewise.
32313         (cimag_test_data): Likewise.
32314         (clog_test_data): Likewise.
32315         (clog10_test_data): Likewise.
32316         (conj_test_data): Likewise.
32317         (copysign_test_data): Likewise.
32318         (cos_test_data): Likewise.
32319         (cos_tonearest_test_data): Likewise.
32320         (cos_towardzero_test_data): Likewise.
32321         (cos_downward_test_data): Likewise.
32322         (cos_upward_test_data): Likewise.
32323         (cosh_test_data): Likewise.
32324         (cosh_tonearest_test_data): Likewise.
32325         (cosh_towardzero_test_data): Likewise.
32326         (cosh_downward_test_data): Likewise.
32327         (cosh_upward_test_data): Likewise.
32328         (cpow_test_data): Likewise.
32329         (cproj_test_data): Likewise.
32330         (creal_test_data): Likewise.
32331         (csin_test_data): Likewise.
32332         (csinh_test_data): Likewise.
32333         (csqrt_test_data): Likewise.
32334         (ctan_test_data): Likewise.
32335         (ctan_tonearest_test_data): Likewise.
32336         (ctan_towardzero_test_data): Likewise.
32337         (ctan_downward_test_data): Likewise.
32338         (ctan_upward_test_data): Likewise.
32339         (ctanh_test_data): Likewise.
32340         (ctanh_tonearest_test_data): Likewise.
32341         (ctanh_towardzero_test_data): Likewise.
32342         (ctanh_downward_test_data): Likewise.
32343         (ctanh_upward_test_data): Likewise.
32344         (erf_test_data): Likewise.
32345         (erfc_test_data): Likewise.
32346         (exp_test_data): Likewise.
32347         (exp_tonearest_test_data): Likewise.
32348         (exp_towardzero_test_data): Likewise.
32349         (exp_downward_test_data): Likewise.
32350         (exp_upward_test_data): Likewise.
32351         (exp10_test_data): Likewise.
32352         (exp2_test_data): Likewise.
32353         (expm1_test_data): Likewise.
32354         (fabs_test_data): Likewise.
32355         (fdim_test_data): Likewise.
32356         (finite_test_data): Likewise.
32357         (floor_test_data): Likewise.
32358         (fma_test_data): Likewise.
32359         (fma_towardzero_test_data): Likewise.
32360         (fma_downward_test_data): Likewise.
32361         (fma_upward_test_data): Likewise.
32362         (fmax_test_data): Likewise.
32363         (fmin_test_data): Likewise.
32364         (fmod_test_data): Likewise.
32365         (fpclassify_test_data): Likewise.
32366         (frexp_test_data): Likewise.
32367         (gamma_test_data): Likewise.
32368         (hypot_test_data): Likewise.
32369         (ilogb_test_data): Likewise.
32370         (isfinite_test_data): Likewise.
32371         (isgreater_test_data): Likewise.
32372         (isgreaterequal_test_data): Likewise.
32373         (isinf_test_data): Likewise.
32374         (isless_test_data): Likewise.
32375         (islessequal_test_data): Likewise.
32376         (islessgreater_test_data): Likewise.
32377         (isnan_test_data): Likewise.
32378         (isnormal_test_data): Likewise.
32379         (issignaling_test_data): Likewise.
32380         (isunordered_test_data): Likewise.
32381         (j0_test_data): Likewise.
32382         (j1_test_data): Likewise.
32383         (jn_test_data): Likewise.
32384         (ldexp_test_data): Likewise.
32385         (lgamma_test_data): Likewise.
32386         (lrint_test_data): Likewise.
32387         (lrint_tonearest_test_data): Likewise.
32388         (lrint_towardzero_test_data): Likewise.
32389         (lrint_downward_test_data): Likewise.
32390         (lrint_upward_test_data): Likewise.
32391         (llrint_test_data): Likewise.
32392         (llrint_tonearest_test_data): Likewise.
32393         (llrint_towardzero_test_data): Likewise.
32394         (llrint_downward_test_data): Likewise.
32395         (llrint_upward_test_data): Likewise.
32396         (log_test_data): Likewise.
32397         (log10_test_data): Likewise.
32398         (log1p_test_data): Likewise.
32399         (log2_test_data): Likewise.
32400         (logb_test_data): Likewise.
32401         (logb_downward_test_data): Likewise.
32402         (lround_test_data): Likewise.
32403         (llround_test_data): Likewise.
32404         (modf_test_data): Likewise.
32405         (nearbyint_test_data): Likewise.
32406         (nextafter_test_data): Likewise.
32407         (nexttoward_test_data): Likewise.
32408         (pow_test_data): Likewise.
32409         (pow_tonearest_test_data): Likewise.
32410         (pow_towardzero_test_data): Likewise.
32411         (pow_downward_test_data): Likewise.
32412         (pow_upward_test_data): Likewise.
32413         (remainder_test_data): Likewise.
32414         (remainder_tonearest_test_data): Likewise.
32415         (remainder_towardzero_test_data): Likewise.
32416         (remainder_downward_test_data): Likewise.
32417         (remainder_upward_test_data): Likewise.
32418         (remquo_test_data): Likewise.
32419         (rint_test_data): Likewise.
32420         (rint_tonearest_test_data): Likewise.
32421         (rint_towardzero_test_data): Likewise.
32422         (rint_downward_test_data): Likewise.
32423         (rint_upward_test_data): Likewise.
32424         (round_test_data): Likewise.
32425         (scalb_test_data): Likewise.
32426         (scalbn_test_data): Likewise.
32427         (scalbln_test_data): Likewise.
32428         (signbit_test_data): Likewise.
32429         (sin_test_data): Likewise.
32430         (sin_tonearest_test_data): Likewise.
32431         (sin_towardzero_test_data): Likewise.
32432         (sin_downward_test_data): Likewise.
32433         (sin_upward_test_data): Likewise.
32434         (sincos_test_data): Likewise.
32435         (sinh_test_data): Likewise.
32436         (sinh_tonearest_test_data): Likewise.
32437         (sinh_towardzero_test_data): Likewise.
32438         (sinh_downward_test_data): Likewise.
32439         (sinh_upward_test_data): Likewise.
32440         (sqrt_test_data): Likewise.
32441         (tan_test_data): Likewise.
32442         (tan_tonearest_test_data): Likewise.
32443         (tan_towardzero_test_data): Likewise.
32444         (tan_downward_test_data): Likewise.
32445         (tan_upward_test_data): Likewise.
32446         (tanh_test_data): Likewise.
32447         (tgamma_test_data): Likewise.
32448         (trunc_test_data): Likewise.
32449         (y0_test_data): Likewise.
32450         (y1_test_data): Likewise.
32451         (yn_test_data): Likewise.
32452         (significand_test_data): Likewise.
32454         * math/gen-libm-test.pl (@functions): Remove variable.
32455         (generate_testfile): Don't handle START and END lines.
32456         * math/libm-test.inc (START): New macro.
32457         (END): Likewise.
32458         (END_COMPLEX): Likewise.
32459         (acos_test): Use END macro without arguments.
32460         (acos_test_tonearest): Likewise.
32461         (acos_test_towardzero): Likewise.
32462         (acos_test_downward): Likewise.
32463         (acos_test_upward): Likewise.
32464         (acosh_test): Likewise.
32465         (asin_test): Likewise.
32466         (asin_test_tonearest): Likewise.
32467         (asin_test_towardzero): Likewise.
32468         (asin_test_downward): Likewise.
32469         (asin_test_upward): Likewise.
32470         (asinh_test): Likewise.
32471         (atan_test): Likewise.
32472         (atanh_test): Likewise.
32473         (atan2_test): Likewise.
32474         (cabs_test): Likewise.
32475         (cacos_test): Use END_COMPLEX macro without arguments.
32476         (cacosh_test): Likewise.
32477         (carg_test): Use END macro without arguments.
32478         (casin_test): Use END_COMPLEX macro without arguments.
32479         (casinh_test): Likewise.
32480         (catan_test): Likewise.
32481         (catanh_test): Likewise.
32482         (cbrt_test): Use END macro without arguments.
32483         (ccos_test): Use END_COMPLEX macro without arguments.
32484         (ccosh_test): Likewise.
32485         (ceil_test): Use END macro without arguments.
32486         (cexp_test): Use END_COMPLEX macro without arguments.
32487         (cimag_test): Use END macro without arguments.
32488         (clog_test): Use END_COMPLEX macro without arguments.
32489         (clog10_test): Likewise.
32490         (conj_test): Likewise.
32491         (copysign_test): Use END macro without arguments.
32492         (cos_test): Likewise.
32493         (cos_test_tonearest): Likewise.
32494         (cos_test_towardzero): Likewise.
32495         (cos_test_downward): Likewise.
32496         (cos_test_upward): Likewise.
32497         (cosh_test): Likewise.
32498         (cosh_test_tonearest): Likewise.
32499         (cosh_test_towardzero): Likewise.
32500         (cosh_test_downward): Likewise.
32501         (cosh_test_upward): Likewise.
32502         (cpow_test): Use END_COMPLEX macro without arguments.
32503         (cproj_test): Likewise.
32504         (creal_test): Use END macro without arguments.
32505         (csin_test): Use END_COMPLEX macro without arguments.
32506         (csinh_test): Likewise.
32507         (csqrt_test): Likewise.
32508         (ctan_test): Likewise.
32509         (ctan_test_tonearest): Likewise.
32510         (ctan_test_towardzero): Likewise.
32511         (ctan_test_downward): Likewise.
32512         (ctan_test_upward): Likewise.
32513         (ctanh_test): Likewise.
32514         (ctanh_test_tonearest): Likewise.
32515         (ctanh_test_towardzero): Likewise.
32516         (ctanh_test_downward): Likewise.
32517         (ctanh_test_upward): Likewise.
32518         (erf_test): Use END macro without arguments.
32519         (erfc_test): Likewise.
32520         (exp_test): Likewise.
32521         (exp_test_tonearest): Likewise.
32522         (exp_test_towardzero): Likewise.
32523         (exp_test_downward): Likewise.
32524         (exp_test_upward): Likewise.
32525         (exp10_test): Likewise.
32526         (exp2_test): Likewise.
32527         (expm1_test): Likewise.
32528         (fabs_test): Likewise.
32529         (fdim_test): Likewise.
32530         (finite_test): Likewise.
32531         (floor_test): Likewise.
32532         (fma_test): Likewise.
32533         (fma_test_towardzero): Likewise.
32534         (fma_test_downward): Likewise.
32535         (fma_test_upward): Likewise.
32536         (fmax_test): Likewise.
32537         (fmin_test): Likewise.
32538         (fmod_test): Likewise.
32539         (fpclassify_test): Likewise.
32540         (frexp_test): Likewise.
32541         (gamma_test): Likewise.
32542         (hypot_test): Likewise.
32543         (ilogb_test): Likewise.
32544         (isfinite_test): Likewise.
32545         (isgreater_test): Likewise.
32546         (isgreaterequal_test): Likewise.
32547         (isinf_test): Likewise.
32548         (isless_test): Likewise.
32549         (islessequal_test): Likewise.
32550         (islessgreater_test): Likewise.
32551         (isnan_test): Likewise.
32552         (isnormal_test): Likewise.
32553         (issignaling_test): Likewise.
32554         (isunordered_test): Likewise.
32555         (j0_test): Likewise.
32556         (j1_test): Likewise.
32557         (jn_test): Likewise.
32558         (ldexp_test): Likewise.
32559         (lgamma_test): Likewise.
32560         (lrint_test): Likewise.
32561         (lrint_test_tonearest): Likewise.
32562         (lrint_test_towardzero): Likewise.
32563         (lrint_test_downward): Likewise.
32564         (lrint_test_upward): Likewise.
32565         (llrint_test): Likewise.
32566         (llrint_test_tonearest): Likewise.
32567         (llrint_test_towardzero): Likewise.
32568         (llrint_test_downward): Likewise.
32569         (llrint_test_upward): Likewise.
32570         (log_test): Likewise.
32571         (log10_test): Likewise.
32572         (log1p_test): Likewise.
32573         (log2_test): Likewise.
32574         (logb_test): Likewise.
32575         (logb_test_downward): Likewise.
32576         (lround_test): Likewise.
32577         (llround_test): Likewise.
32578         (modf_test): Likewise.
32579         (nearbyint_test): Likewise.
32580         (nextafter_test): Likewise.
32581         (nexttoward_test): Likewise.
32582         (pow_test): Likewise.
32583         (pow_test_tonearest): Likewise.
32584         (pow_test_towardzero): Likewise.
32585         (pow_test_downward): Likewise.
32586         (pow_test_upward): Likewise.
32587         (remainder_test): Likewise.
32588         (remainder_test_tonearest): Likewise.
32589         (remainder_test_towardzero): Likewise.
32590         (remainder_test_downward): Likewise.
32591         (remainder_test_upward): Likewise.
32592         (remquo_test): Likewise.
32593         (rint_test): Likewise.
32594         (rint_test_tonearest): Likewise.
32595         (rint_test_towardzero): Likewise.
32596         (rint_test_downward): Likewise.
32597         (rint_test_upward): Likewise.
32598         (round_test): Likewise.
32599         (scalb_test): Likewise.
32600         (scalbn_test): Likewise.
32601         (scalbln_test): Likewise.
32602         (signbit_test): Likewise.
32603         (sin_test): Likewise.
32604         (sin_test_tonearest): Likewise.
32605         (sin_test_towardzero): Likewise.
32606         (sin_test_downward): Likewise.
32607         (sin_test_upward): Likewise.
32608         (sincos_test): Likewise.
32609         (sinh_test): Likewise.
32610         (sinh_test_tonearest): Likewise.
32611         (sinh_test_towardzero): Likewise.
32612         (sinh_test_downward): Likewise.
32613         (sinh_test_upward): Likewise.
32614         (sqrt_test): Likewise.
32615         (tan_test): Likewise.
32616         (tan_test_tonearest): Likewise.
32617         (tan_test_towardzero): Likewise.
32618         (tan_test_downward): Likewise.
32619         (tan_test_upward): Likewise.
32620         (tanh_test): Likewise.
32621         (tgamma_test): Likewise.
32622         (trunc_test): Likewise.
32623         (y0_test): Likewise.
32624         (y1_test): Likewise.
32625         (yn_test): Likewise.
32626         (significand_test): Likewise.
32628 2013-05-24  Ondřej Bílka  <neleai@seznam.cz>
32630         [BZ #15381]
32631         * libio/genops.c (_IO_no_init): Initialize wide struct info.
32633 2013-05-23  Edjunior Machado  <emachado@linux.vnet.ibm.com>
32635         [BZ #14894]
32636         * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
32637         __ppc_mdoio and __ppc_mdoom.
32638         * manual/platform.texi: Document new functions __ppc_yield,
32639         __ppc_mdoio and __ppc_mdoom.
32641 2013-05-22  Carlos O'Donell  <carlos@redhat.com>
32643         * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
32644         (main): Mention "tls" pseudo-hwcap is legacy.
32645         * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
32647 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
32649         * math/gen-libm-test.pl (parse_args): Output only string of
32650         arguments as text for test name, not full call or descriptions of
32651         tests for extra outputs.
32652         (generate_testfile): Do not pass function name to parse_args.
32653         Generate this_func variable from START.
32654         * math/libm-test.inc (struct test_f_f_data): Rename test_name
32655         field to arg_str.
32656         (struct test_ff_f_data): Likewise.
32657         (test_ff_f_data_nexttoward): Likewise.
32658         (struct test_fi_f_data): Likewise.
32659         (struct test_fl_f_data): Likewise.
32660         (struct test_if_f_data): Likewise.
32661         (struct test_fff_f_data): Likewise.
32662         (struct test_c_f_data): Likewise.
32663         (struct test_f_f1_data): Likewise.  Remove field extra_name.
32664         (struct test_fF_f1_data): Likewise.
32665         (struct test_ffI_f1_data): Likewise.
32666         (struct test_c_c_data): Rename test_name field to arg_str.
32667         (struct test_cc_c_data): Likewise.
32668         (struct test_f_i_data): Likewise.
32669         (struct test_ff_i_data): Likewise.
32670         (struct test_f_l_data): Likewise.
32671         (struct test_f_L_data): Likewise.
32672         (struct test_fFF_11_data): Likewise.  Remove fields extra1_name
32673         and extra2_name.
32674         (COMMON_TEST_SETUP): New macro.
32675         (EXTRA_OUTPUT_TEST_SETUP): Likewise.
32676         (COMMON_TEST_CLEANUP): Likewise.
32677         (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
32678         (RUN_TEST_f_f): Take argument string.  Call new setup and cleanup
32679         macros.
32680         (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
32681         (RUN_TEST_2_f): Take argument string.  Call new setup and cleanup
32682         macros.
32683         (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
32684         (RUN_TEST_fff_f): Take argument string.  Call new setup and
32685         cleanup macros.
32686         (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
32687         (RUN_TEST_c_f): Take argument string.  Call new setup and cleanup
32688         macros.
32689         (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
32690         (RUN_TEST_f_f1): Take argument string.  Call new setup and cleanup
32691         macros.
32692         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
32693         (RUN_TEST_fF_f1): Take argument string.  Call new setup and
32694         cleanup macros.
32695         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
32696         (RUN_TEST_fI_f1): Take argument string.  Call new setup and
32697         cleanup macros.
32698         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
32699         (RUN_TEST_ffI_f1): Take argument string.  Call new setup and
32700         cleanup macros.
32701         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
32702         (RUN_TEST_c_c): Take argument string.  Call new setup and cleanup
32703         macros.
32704         (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
32705         (RUN_TEST_cc_c): Take argument string.  Call new setup and cleanup
32706         macros.
32707         (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
32708         (RUN_TEST_f_i): Take argument string.  Call new setup and cleanup
32709         macros.
32710         (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
32711         (RUN_TEST_f_i_tg): Take argument string.  Call new setup and
32712         cleanup macros.
32713         (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
32714         (RUN_TEST_ff_i_tg): Take argument string.  Call new setup and
32715         cleanup macros.
32716         (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
32717         (RUN_TEST_f_b): Take argument string.  Call new setup and cleanup
32718         macros.
32719         (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
32720         (RUN_TEST_f_b_tg): Take argument string.  Call new setup and
32721         cleanup macros.
32722         (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
32723         (RUN_TEST_f_l): Take argument string.  Call new setup and cleanup
32724         macros.
32725         (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
32726         (RUN_TEST_f_L): Take argument string.  Call new setup and cleanup
32727         macros.
32728         (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
32729         (RUN_TEST_fFF_11): Take argument string.  Call new setup and
32730         cleanup macros.
32731         (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
32733 2013-05-22  Edjunior Barbosa Machado  <emachado@linux.vnet.ibm.com>
32735         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
32736         to _sifields.sigfault.
32737         (si_addr_lsb): Define new macro.
32738         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
32739         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
32740         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
32742 2013-05-03  Carlos O'Donell  <carlos at redhat.com>
32744         [BZ #15441]
32745         * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
32746         returns -1.
32747         (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
32748         null return -1.
32749         * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
32750         loading the domain.
32752 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
32754         * math/gen-libm-test.pl (parse_args): Do not include expected
32755         result in test name.
32756         * sysdeps/i386/fpu/libm-test-ulps: Update test names.
32757         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
32758         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
32759         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
32760         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
32761         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32763 2013-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
32765         * benchtests/Makefile: Sort function entries.
32767         * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
32768         tanh, asinh, acosh, atanh.
32769         * benchtests/acos-inputs: New file.
32770         * benchtests/acosh-inputs: New file.
32771         * benchtests/asin-inputs: New file.
32772         * benchtests/asinh-inputs: New file.
32773         * benchtests/atanh-inputs: New file.
32774         * benchtests/cosh-inputs: New file.
32775         * benchtests/log-inputs: New file.
32776         * benchtests/sinh-inputs: New file.
32777         * benchtests/tanh-inputs: New file.
32779 2013-05-21  Dmitry V. Levin  <ldv@altlinux.org>
32781         [BZ #15339]
32782         * posix/tst-getaddrinfo4.c: New test.
32783         * posix/Makefile (tests): Add it.
32785 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
32787         [BZ #15339]
32788         * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
32789         when no services were used.
32790         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
32791         Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
32793 2013-05-21  Andreas Schwab  <schwab@suse.de>
32795         [BZ #15014]
32796         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
32797         [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
32798         successful.
32799         * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
32800         redundant variable declarations and reallocation of buffer when
32801         parsing as IPv6 address.  Always set NSS status when called from
32802         reentrant functions.  Use NETDB_INTERNAL instead of TRY_AGAIN when
32803         buffer too small.  Correct computation of needed size.
32804         * nss/Makefile (tests): Add test-digits-dots.
32805         * nss/test-digits-dots.c: New test.
32807 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
32809         * benchtests/Makefile: Remove instructions for adding
32810         benchmark tests.
32811         * benchtests/README: New file to explain how to execute and
32812         enhance the benchmark tests.
32814 2013-05-21  Andreas Schwab  <schwab@suse.de>
32816         [BZ #15493]
32817         * setjmp/Makefile (tests): Add tst-sigsetjmp.
32818         * setjmp/tst-sigsetjmp.c: New test.
32820 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
32822         * sysdeps/x86_64/memset.S (memset): New implementation.
32823         (__bzero): Likewise.
32824         (__memset_tail): New function.
32826 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
32828         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
32829         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
32830         __memcpy_sse2_unaligned ifunc selection.
32831         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
32832         Add memcpy-sse2-unaligned.S.
32833         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
32834         Add: __memcpy_sse2_unaligned.
32836 2013-05-19  Joseph Myers  <joseph@codesourcery.com>
32838         [BZ #15490]
32839         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
32840         math_force_eval before restoring floating-point envrionment.
32841         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
32842         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
32843         Likewise.
32844         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
32845         <math_private.h>.
32846         (__nearbyintl): Use math_force_eval before restoring
32847         floating-point environment.
32848         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
32850         * math/gen-libm-test.pl (special_functions): Remove.
32851         (parse_args): Don't handle TEST_extra.  Handle functions with no
32852         return value.
32853         * math/libm-test.inc (struct test_sincos_data): Replace with
32854         struct test_fFF_11_data.
32855         (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
32856         (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
32857         (sincos_test_data): Change element type to struct
32858         test_fFF_11_data.  Use TEST_fFF_11 instead of TEST_extra.
32859         (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
32860         RUN_TEST_LOOP_sincos.
32861         * math/README.libm-test: Don't mention special handling of
32862         individual functions.
32863         * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
32864         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
32865         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
32866         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
32867         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
32868         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32870         * math/gen-libm-test.pl (get_variable): Remove function.
32871         (parse_args): Don't show pointer parameters to call in test
32872         names.  Use "extra output N" in test names for extra outputs
32873         rather than naming variables.
32875 2013-05-18  Joseph Myers  <joseph@codesourcery.com>
32877         [BZ #15488]
32878         * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
32879         __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
32880         * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
32881         double tests.
32882         * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
32883         disable.
32884         (do_test) [NO_LONG_DOUBLE]: Do not disable call to
32885         check_long_double.
32887         * math/gen-libm-test.pl (@tests): Remove variable.
32888         ($count): Likewise.
32889         (new_test): Remove function.
32890         (show_exceptions): New function.
32891         (special_functions): Use show_exceptions instead of new_test.
32892         (parse_args): Likewise.
32893         (generate_testfile): Pass only function name in generated call to
32894         print_max_error or print_complex_max_error.
32895         (get_ulps): Do not handle complex tests specially.
32896         (output_test): Rename to ...
32897         (get_all_ulps_for_test): ... this.  Return a string rather than
32898         printing to a file.  Require ulps to be present.
32899         (output_ulps): Generate arrays rather than #defines.
32900         * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
32901         (struct ulp_data): New type.
32902         (BUILD_COMPLEX_ULP): Remove macro.
32903         (compare_ulp_data): New function.
32904         (find_ulps): Likewise.
32905         (find_test_ulps): Likewise.
32906         (find_function_ulps): Likewise.
32907         (find_complex_function_ulps): Likewise.
32908         (print_max_error): Determine allowed ulps using
32909         find_function_ulps.
32910         (print_complex_max_error): Determine allowed ulps using
32911         find_complex_function_ulps.
32912         (check_float_internal): Determine max ulps using find_test_ulps.
32913         (check_float): Do not take max_ulp parameter.  Update call to
32914         check_float_internal.
32915         (check_complex): Likewise.
32916         (check_int): Do not take max_ulp parameter.
32917         (check_long): Likewise.
32918         (check_bool): Likewise.
32919         (check_longlong): Likewise.
32920         (struct test_f_f_data): Remove max_ulp field.
32921         (struct test_ff_f_data): Likewise.
32922         (struct test_ff_f_data_nexttoward): Likewise.
32923         (struct test_fi_f_data): Likewise.
32924         (struct test_fl_f_data): Likewise.
32925         (struct test_if_f_data): Likewise.
32926         (struct test_fff_f_data): Likewise.
32927         (struct test_c_f_data): Likewise.
32928         (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
32929         (struct test_fF_f1_data): Likewise.
32930         (struct test_ffI_f1_data): Likewise.
32931         (struct test_c_c_data): Remove max_ulp field.
32932         (struct test_cc_c_data): Likewise.
32933         (struct test_f_i_data): Likewise.
32934         (struct test_ff_i_data): Likewise.
32935         (struct test_f_l_data): Likewise.
32936         (struct test_f_L_data): Likewise.
32937         (struct test_sincos_data): Likewise.
32938         (RUN_TEST_f_f): Do not handle ulps.
32939         (RUN_TEST_LOOP_f_f): Likewise.
32940         (RUN_TEST_2_f): Likewise.
32941         (RUN_TEST_LOOP_2_f): Likewise.
32942         (RUN_TEST_fff_f): Likewise.
32943         (RUN_TEST_LOOP_fff_f): Likewise.
32944         (RUN_TEST_c_f): Likewise.
32945         (RUN_TEST_LOOP_c_f): Likewise.
32946         (RUN_TEST_f_f1): Likewise.
32947         (RUN_TEST_LOOP_f_f1): Likewise.
32948         (RUN_TEST_fF_f1): Likewise.
32949         (RUN_TEST_LOOP_fF_f1): Likewise.
32950         (RUN_TEST_fI_f1): Likewise.
32951         (RUN_TEST_LOOP_fI_f1): Likewise.
32952         (RUN_TEST_ffI_f1): Likewise.
32953         (RUN_TEST_LOOP_ffI_f1): Likewise.
32954         (RUN_TEST_c_c): Likewise.
32955         (RUN_TEST_LOOP_c_c): Likewise.
32956         (RUN_TEST_cc_c): Likewise.
32957         (RUN_TEST_LOOP_cc_c): Likewise.
32958         (RUN_TEST_f_i): Likewise.
32959         (RUN_TEST_LOOP_f_i): Likewise.
32960         (RUN_TEST_f_i_tg): Likewise.
32961         (RUN_TEST_LOOP_f_i_tg): Likewise.
32962         (RUN_TEST_ff_i_tg): Likewise.
32963         (RUN_TEST_LOOP_ff_i_tg): Likewise.
32964         (RUN_TEST_f_b): Likewise.
32965         (RUN_TEST_LOOP_f_b): Likewise.
32966         (RUN_TEST_f_b_tg): Likewise.
32967         (RUN_TEST_LOOP_f_b_tg): Likewise.
32968         (RUN_TEST_f_l): Likewise.
32969         (RUN_TEST_LOOP_f_l): Likewise.
32970         (RUN_TEST_f_L): Likewise.
32971         (RUN_TEST_LOOP_f_L): Likewise.
32972         (RUN_TEST_sincos): Likewise.
32973         (RUN_TEST_LOOP_sincos): Likewise.
32975 2013-05-17  Joseph Myers  <joseph@codesourcery.com>
32977         [BZ #15480]
32978         [BZ #15485]
32979         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
32980         main case of finite arguments, set rounding mode to FE_TONEAREST
32981         and discard exceptions.
32982         * math/libm-test.inc (remainder_test_data): Disallow "inexact"
32983         exceptions.
32984         (remainder_tonearest_test_data): New variable.
32985         (remainder_test_tonearest): New function.
32986         (remainder_towardzero_test_data): New variable.
32987         (remainder_test_towardzero): New function.
32988         (remainder_downward_test_data): New variable.
32989         (remainder_test_downward): New function.
32990         (remainder_upward_test_data): New variable.
32991         (remainder_test_upward): New function.
32992         (main): Call the new test functions.
32994         * math/libm-test.inc (struct test_f_f1_data): Remove field
32995         extra_init.
32996         (struct test_fF_f1_data): Likewise.
32997         (struct test_ffI_f1_data): Likewise.
32998         (RUN_TEST_f_f1): Remove argument EXTRA_INIT.  Initialize EXTRA_VAR
32999         based on value of EXTRA_EXPECTED.
33000         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
33001         (RUN_TEST_fF_f1): Remove argument EXTRA_INIT.  Initialize
33002         EXTRA_VAR based on value of EXTRA_EXPECTED.
33003         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
33004         (RUN_TEST_fI_f1): Remove argument EXTRA_INIT.  Initialize
33005         EXTRA_VAR based on value of EXTRA_EXPECTED.
33006         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
33007         (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT.  Initialize
33008         EXTRA_VAR based on value of EXTRA_EXPECTED.
33009         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
33010         * math/gen-libm-test.pl (parse_args): Don't output initializers
33011         for extra output values.
33013         * math/libm-test.inc (check_int): Expect result to be exactly
33014         equal to expected value and do not handle ulps.
33015         (check_long): Likewise.
33016         (check_longlong): Likewise.
33018         * math/libm-test.inc (ceil_test_data): Test for "inexact"
33019         exceptions.
33020         (cimag_test_data): Likewise.
33021         (conj_test_data): Likewise.
33022         (copysign_test_data): Likewise.
33023         (cproj_test_data): Likewise.
33024         (creal_test_data): Likewise.
33025         (fabs_test_data): Likewise.
33026         (fdim_test_data): Likewise.
33027         (finite_test_data): Likewise.
33028         (floor_test_data): Likewise.
33029         (fmax_test_data): Likewise.
33030         (fmin_test_data): Likewise.
33031         (fmod_test_data): Likewise.
33032         (fpclassify_test_data): Likewise.
33033         (frexp_test_data): Likewise.
33034         (ilogb_test_data): Likewise.
33035         (isfinite_test_data): Likewise.
33036         (isgreater_test_data): Likewise.
33037         (isgreaterequal_test_data): Likewise.
33038         (isinf_test_data): Likewise.
33039         (isless_test_data): Likewise.
33040         (islessequal_test_data): Likewise.
33041         (islessgreater_test_data): Likewise.
33042         (isnan_test_data): Likewise.
33043         (isnormal_test_data): Likewise.
33044         (issignaling_test_data): Likewise.
33045         (isunordered_test_data): Likewise.
33046         (ldexp_test_data): Likewise.
33047         (lrint_test_data): Likewise.
33048         (lrint_test_data) [TEST_FLOAT]: Disable one test.
33049         (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
33050         (lrint_tonearest_test_data): Test for "inexact" exceptions.
33051         (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
33052         (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
33053         (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
33054         test input.
33055         (lrint_towardzero_test_data): Test for "inexact" exceptions.
33056         (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
33057         (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
33058         (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
33059         that test input.
33060         (lrint_downward_test_data): Test for "inexact" exceptions.
33061         (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
33062         (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
33063         (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
33064         test input.
33065         (lrint_upward_test_data): Test for "inexact" exceptions.
33066         (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
33067         test input.
33068         (llrint_test_data): Test for "inexact" exceptions.
33069         (llrint_test_data) [TEST_FLOAT]: Disable one test.
33070         (llrint_tonearest_test_data): Test for "inexact" exceptions.
33071         (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
33072         (llrint_towardzero_test_data): Test for "inexact" exceptions.
33073         (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
33074         (llrint_downward_test_data): Test for "inexact" exceptions.
33075         (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
33076         (llrint_upward_test_data): Test for "inexact" exceptions.
33077         (logb_test_data): Likewise.
33078         (logb_downward_test_data): Likewise.
33079         (nextafter_test_data): Likewise.
33080         (nexttoward_test_data): Likewise.
33081         (remainder_test_data): Likewise.
33082         (remquo_test_data): Likewise.
33083         (scalbn_test_data): Likewise.
33084         (scalbln_test_data): Likewise.
33085         (signbit_test_data): Likewise.
33086         (sqrt_test_data): Likewise.
33087         (significand_test_data): Likewise.
33089 2013-05-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
33091         [BZ #15424]
33092         * benchtests/bench-modf.c (struct args): Mark arg0 as
33093         volatile.
33094         * scripts/bench.pl: Mark members of struct args as volatile.
33096 2013-05-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33098         [BZ # 15497]
33099         * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
33100         negative infinity on POWER6 or lower.
33101         * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
33103 2013-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
33105         [BZ #15442]
33106         * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
33107         (_FP_FRAC_SNANP_SEMIRAW): Likewise.
33108         (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
33109         (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
33110         (_FP_SETQNAN): New macro.
33111         (_FP_SETQNAN_SEMIRAW): Likewise.
33112         (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
33113         (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
33114         (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
33115         (FP_EXTEND): Use _FP_FRAC_SNANP.
33116         (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
33117         * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
33118         into account.
33119         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
33120         New macro.
33121         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
33122         Likewise.
33124 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
33126         * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
33127         with DIVIDE_BY_ZERO_EXCEPTION.
33128         (gamma_test_data): Likewise.
33129         (lgamma_test_data): Likewise.
33130         (log_test_data): Likewise.
33131         (log10_test_data): Likewise.
33132         (log2_test_data): Likewise.
33133         (tgamma_test_data): Likewise.
33135         * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
33136         (acos_test_tonearest): Likewise.
33137         (acos_test_towardzero): Likewise.
33138         (acos_test_downward): Likewise.
33139         (acos_test_upward): Likewise.
33140         (acosh_test): Likewise.
33141         (asin_test): Likewise.
33142         (asin_test_tonearest): Likewise.
33143         (asin_test_towardzero): Likewise.
33144         (asin_test_downward): Likewise.
33145         (asin_test_upward): Likewise.
33146         (asinh_test): Likewise.
33147         (atan_test): Likewise.
33148         (atanh_test): Likewise.
33149         (atan2_test): Likewise.
33150         (cabs_test): Likewise.
33151         (cacos_test): Likewise.
33152         (cacosh_test): Likewise.
33153         (casin_test): Likewise.
33154         (casinh_test): Likewise.
33155         (catan_test): Likewise.
33156         (catanh_test): Likewise.
33157         (cbrt_test): Likewise.
33158         (ccos_test): Likewise.
33159         (ccosh_test): Likewise.
33160         (cexp_test): Likewise.
33161         (clog_test): Likewise.
33162         (clog10_test): Likewise.
33163         (cos_test): Likewise.
33164         (cos_test_tonearest): Likewise.
33165         (cos_test_towardzero): Likewise.
33166         (cos_test_downward): Likewise.
33167         (cos_test_upward): Likewise.
33168         (cosh_test): Likewise.
33169         (cosh_test_tonearest): Likewise.
33170         (cosh_test_towardzero): Likewise.
33171         (cosh_test_downward): Likewise.
33172         (cosh_test_upward): Likewise.
33173         (cpow_test): Likewise.
33174         (csin_test): Likewise.
33175         (csinh_test): Likewise.
33176         (csqrt_test): Likewise.
33177         (ctan_test): Likewise.
33178         (ctan_test_tonearest): Likewise.
33179         (ctan_test_towardzero): Likewise.
33180         (ctan_test_downward): Likewise.
33181         (ctan_test_upward): Likewise.
33182         (ctanh_test): Likewise.
33183         (ctanh_test_tonearest): Likewise.
33184         (ctanh_test_towardzero): Likewise.
33185         (ctanh_test_downward): Likewise.
33186         (ctanh_test_upward): Likewise.
33187         (erf_test): Likewise.
33188         (erfc_test): Likewise.
33189         (exp_test): Likewise.
33190         (exp_test_tonearest): Likewise.
33191         (exp_test_towardzero): Likewise.
33192         (exp_test_downward): Likewise.
33193         (exp_test_upward): Likewise.
33194         (exp10_test): Likewise.
33195         (exp2_test): Likewise.
33196         (expm1_test): Likewise.
33197         (fmod_test): Likewise.
33198         (gamma_test): Likewise.
33199         (hypot_test): Likewise.
33200         (j0_test): Likewise.
33201         (j1_test): Likewise.
33202         (jn_test): Likewise.
33203         (lgamma_test): Likewise.
33204         (log_test): Likewise.
33205         (log10_test): Likewise.
33206         (log1p_test): Likewise.
33207         (log2_test): Likewise.
33208         (logb_test_downward): Likewise.
33209         (pow_test): Likewise.
33210         (pow_test_tonearest): Likewise.
33211         (pow_test_towardzero): Likewise.
33212         (pow_test_downward): Likewise.
33213         (pow_test_upward): Likewise.
33214         (remainder_test): Likewise.
33215         (remquo_test): Likewise.
33216         (sin_test): Likewise.
33217         (sin_test_tonearest): Likewise.
33218         (sin_test_towardzero): Likewise.
33219         (sin_test_downward): Likewise.
33220         (sin_test_upward): Likewise.
33221         (sincos_test): Likewise.
33222         (sinh_test): Likewise.
33223         (sinh_test_tonearest): Likewise.
33224         (sinh_test_towardzero): Likewise.
33225         (sinh_test_downward): Likewise.
33226         (sinh_test_upward): Likewise.
33227         (sqrt_test): Likewise.
33228         (tan_test): Likewise.
33229         (tan_test_tonearest): Likewise.
33230         (tan_test_towardzero): Likewise.
33231         (tan_test_downward): Likewise.
33232         (tan_test_upward): Likewise.
33233         (tanh_test): Likewise.
33234         (tgamma_test): Likewise.
33235         (y0_test): Likewise.
33236         (y1_test): Likewise.
33237         (yn_test): Likewise.
33239         * math/gen-libm-test.pl (adjust_arg): Remove function.
33240         (special_function): Remove argument $in_func.  Only handle
33241         generating output for tables of tests, not inside functions.
33242         (parse_args): Likewise.
33243         (generate_testfile): Remove variable $in_func.  Update call to
33244         parse_args.
33245         * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
33246         (MINUS_ZERO_INIT): Rename macro to minus_zero.
33247         (PLUS_INFTY_INIT): Rename macro to plus_infty.
33248         (MINUS_INFTY_INIT): Rename macro to minus_infty.
33249         (QNAN_VALUE_INIT): Rename macro to qnan_value.
33250         (MAX_VALUE_INIT): Rename macro to max_value.
33251         (MIN_VALUE_INIT): Rename macro to min_value.
33252         (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
33253         (plus_zero): Remove variable.
33254         (minus_zero): Likewise.
33255         (plus_infty): Likewise.
33256         (minus_infty): Likewise.
33257         (qnan_value): Likewise.
33258         (max_value): Likewise.
33259         (min_value): Likewise.
33260         (min_subnorm_value): Likewise.
33262 2013-05-16  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
33264         * crypt/sha512-block.c: Add missing #include <stdint.h> due to
33265         uint64_t or uint32_t usage.
33266         * crypt/sha256-block.c: Likewise.
33267         * crypt/sha256-crypt.c: Likewise.
33268         * crypt/sha256.c: Likewise.
33269         * crypt/sha512-block.c: Likewise.
33270         * crypt/sha512-crypt.c: Likewise.
33271         * crypt/sha512.c: Likewise.
33272         * debug/backtrace-tst.c: Likewise.
33273         * debug/pcprofiledump.c: Likewise.
33274         * elf/cache.c: Likewise.
33275         * elf/dl-cache.c: Likewise.
33276         * elf/dl-misc.c: Likewise.
33277         * elf/dl-profile.c: Likewise.
33278         * elf/dl-support.c: Likewise.
33279         * elf/ldconfig.c: Likewise.
33280         * elf/sprof.c: Likewise.
33281         * iconv/dummy-repertoire.c: Likewise.
33282         * iconv/iconv_charmap.c: Likewise.
33283         * iconv/skeleton.c: Likewise.
33284         * iconvdata/8bit-generic.c: Likewise.
33285         * iconvdata/cp737.h: Likewise.
33286         * iconvdata/cp775.h: Likewise.
33287         * iconvdata/ibm1008.h: Likewise.
33288         * iconvdata/ibm1025.h: Likewise.
33289         * iconvdata/ibm1046.h: Likewise.
33290         * iconvdata/ibm1097.h: Likewise.
33291         * iconvdata/ibm1112.h: Likewise.
33292         * iconvdata/ibm1122.h: Likewise.
33293         * iconvdata/ibm1123.h: Likewise.
33294         * iconvdata/ibm1124.h: Likewise.
33295         * iconvdata/ibm1129.h: Likewise.
33296         * iconvdata/ibm1130.h: Likewise.
33297         * iconvdata/ibm1132.h: Likewise.
33298         * iconvdata/ibm1133.h: Likewise.
33299         * iconvdata/ibm1137.h: Likewise.
33300         * iconvdata/ibm1140.h: Likewise.
33301         * iconvdata/ibm1141.h: Likewise.
33302         * iconvdata/ibm1142.h: Likewise.
33303         * iconvdata/ibm1143.h: Likewise.
33304         * iconvdata/ibm1144.h: Likewise.
33305         * iconvdata/ibm1145.h: Likewise.
33306         * iconvdata/ibm1146.h: Likewise.
33307         * iconvdata/ibm1147.h: Likewise.
33308         * iconvdata/ibm1148.h: Likewise.
33309         * iconvdata/ibm1149.h: Likewise.
33310         * iconvdata/ibm1153.h: Likewise.
33311         * iconvdata/ibm1154.h: Likewise.
33312         * iconvdata/ibm1155.h: Likewise.
33313         * iconvdata/ibm1156.h: Likewise.
33314         * iconvdata/ibm1157.h: Likewise.
33315         * iconvdata/ibm1158.h: Likewise.
33316         * iconvdata/ibm1160.h: Likewise.
33317         * iconvdata/ibm1161.h: Likewise.
33318         * iconvdata/ibm1162.h: Likewise.
33319         * iconvdata/ibm1163.h: Likewise.
33320         * iconvdata/ibm1164.h: Likewise.
33321         * iconvdata/ibm1166.h: Likewise.
33322         * iconvdata/ibm1167.h: Likewise.
33323         * iconvdata/ibm12712.h: Likewise.
33324         * iconvdata/ibm1390.h: Likewise.
33325         * iconvdata/ibm1399.h: Likewise.
33326         * iconvdata/ibm16804.h: Likewise.
33327         * iconvdata/ibm4517.h: Likewise.
33328         * iconvdata/ibm4899.h: Likewise.
33329         * iconvdata/ibm4909.h: Likewise.
33330         * iconvdata/ibm4971.h: Likewise.
33331         * iconvdata/ibm5347.h: Likewise.
33332         * iconvdata/ibm803.h: Likewise.
33333         * iconvdata/ibm856.h: Likewise.
33334         * iconvdata/ibm901.h: Likewise.
33335         * iconvdata/ibm902.h: Likewise.
33336         * iconvdata/ibm9030.h: Likewise.
33337         * iconvdata/ibm9066.h: Likewise.
33338         * iconvdata/ibm921.h: Likewise.
33339         * iconvdata/ibm922.h: Likewise.
33340         * iconvdata/ibm9448.h: Likewise.
33341         * iconvdata/isiri-3342.h: Likewise.
33342         * iconvdata/jis0201.h: Likewise.
33343         * include/link.h: Likewise.
33344         * include/netdb.h: Likewise.
33345         * inet/check_native.c: Likewise.
33346         * inet/check_pf.c: Likewise.
33347         * inet/getipv4sourcefilter.c: Likewise.
33348         * inet/getnameinfo.c: Likewise.
33349         * inet/getsourcefilter.c: Likewise.
33350         * inet/htonl.c: Likewise.
33351         * inet/setipv4sourcefilter.c: Likewise.
33352         * inet/setsourcefilter.c: Likewise.
33353         * inet/test-inet6_opt.c: Likewise.
33354         * inet/tst-network.c: Likewise.
33355         * locale/C-collate.c: Likewise.
33356         * locale/C-ctype.c: Likewise.
33357         * locale/C-time.c: Likewise.
33358         * locale/C-translit.h: Likewise.
33359         * locale/loadarchive.c: Likewise.
33360         * locale/programs/3level.h: Likewise.
33361         * locale/programs/charmap.c: Likewise.
33362         * locale/programs/charmap.h: Likewise.
33363         * locale/programs/ld-address.c: Likewise.
33364         * locale/programs/ld-collate.c: Likewise.
33365         * locale/programs/ld-ctype.c: Likewise.
33366         * locale/programs/ld-identification.c: Likewise.
33367         * locale/programs/ld-measurement.c: Likewise.
33368         * locale/programs/ld-messages.c: Likewise.
33369         * locale/programs/ld-monetary.c: Likewise.
33370         * locale/programs/ld-name.c: Likewise.
33371         * locale/programs/ld-numeric.c: Likewise.
33372         * locale/programs/ld-paper.c: Likewise.
33373         * locale/programs/ld-telephone.c: Likewise.
33374         * locale/programs/ld-time.c: Likewise.
33375         * locale/programs/linereader.c: Likewise.
33376         * locale/programs/locale.c: Likewise.
33377         * locale/programs/locarchive.c: Likewise.
33378         * locale/programs/locfile.h: Likewise.
33379         * locale/programs/repertoire.c: Likewise.
33380         * locale/programs/simple-hash.c: Likewise.
33381         * locale/programs/simple-hash.h: Likewise.
33382         * malloc/memusage.c: Likewise.
33383         * malloc/memusagestat.c: Likewise.
33384         * nis/nis_defaults.c: Likewise.
33385         * nis/nis_hash.c: Likewise.
33386         * nis/nis_print.c: Likewise.
33387         * nis/nis_xdr.c: Likewise.
33388         * nscd/connections.c: Likewise.
33389         * nscd/hstcache.c: Likewise.
33390         * nscd/nscd_gethst_r.c: Likewise.
33391         * nscd/nscd_getserv_r.c: Likewise.
33392         * nscd/nscd_helper.c: Likewise.
33393         * nscd/servicescache.c: Likewise.
33394         * nss/makedb.c: Likewise.
33395         * nss/nss_db/db-XXX.c: Likewise.
33396         * nss/nss_db/db-initgroups.c: Likewise.
33397         * nss/nss_db/db-netgrp.c: Likewise.
33398         * nss/nss_files/files-network.c: Likewise.
33399         * nss/nss_files/files-parse.c: Likewise.
33400         * posix/bug-regex5.c: Likewise.
33401         * posix/fnmatch_loop.c: Likewise.
33402         * posix/regcomp.c: Likewise.
33403         * posix/regexec.c: Likewise.
33404         * posix/tst-rfc3484-2.c: Likewise.
33405         * posix/tst-rfc3484-3.c: Likewise.
33406         * posix/tst-rfc3484.c: Likewise.
33407         * resolv/nss_dns/dns-canon.c: Likewise.
33408         * resolv/nss_dns/dns-network.c: Likewise.
33409         * resolv/res_init.c: Likewise.
33410         * resolv/res_mkquery.c: Likewise.
33411         * resolv/tst-aton.c: Likewise.
33412         * stdlib/cxa_atexit.c: Likewise.
33413         * stdlib/cxa_finalize.c: Likewise.
33414         * stdlib/gen-fpioconst.c: Likewise.
33415         * stdlib/strtol_l.c: Likewise.
33416         * string/tst-endian.c: Likewise.
33417         * sunrpc/auth_des.c: Likewise.
33418         * sunrpc/clnt_udp.c: Likewise.
33419         * sunrpc/rtime.c: Likewise.
33420         * sunrpc/svcauth_des.c: Likewise.
33421         * sunrpc/xdr.c: Likewise.
33422         * sunrpc/xdr_intXX_t.c: Likewise.
33423         * sunrpc/xdr_rec.c: Likewise.
33424         * sysdeps/generic/ldconfig.h: Likewise.
33425         * sysdeps/generic/ldsodefs.h: Likewise.
33426         * sysdeps/generic/memusage.h: Likewise.
33427         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
33428         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
33429         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
33430         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
33431         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
33432         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
33433         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
33434         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
33435         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
33436         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
33437         * sysdeps/posix/getaddrinfo.c: Likewise.
33438         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
33439         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
33440         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
33441         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
33442         * sysdeps/powerpc/test-gettimebase.c: Likewise.
33443         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
33444         * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
33445         * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
33446         * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
33447         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
33448         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
33449         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
33450         * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
33451         * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
33452         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
33453         * sysdeps/x86_64/dl-tls.h: Likewise.
33454         * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
33455         * time/alt_digit.c: Likewise.
33456         * time/era.c: Likewise.
33457         * wcsmbs/tst-c16c32-1.c: Likewise.
33459 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
33461         * math/libm-test.inc (struct test_sincos_data): New type.
33462         (RUN_TEST_LOOP_sincos): New macro.
33463         (sincos_test_data): New variable.
33464         (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
33466 2013-05-16  Richard Henderson  <rth@redhat.com>
33468         * math/atest-exp2.c (LIMB64): New macro.
33469         (CONSTSZ): New macro.
33470         (mp_exp1, mp_exp_m1, mp_log2): New variables.
33471         (hexdig): Move ...
33472         (print_mpn_fp): ... to function scope.
33473         (read_mpn_hex): Remove.
33474         (get_log2): Remove.
33475         (exp2_mpn): Use mp_log2.
33476         (main): Use mp_exp1.
33478 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
33480         * math/libm-test.inc: Remove comment about not testing "inexact"
33481         exceptions.
33482         (INEXACT_EXCEPTION): New macro.
33483         (NO_INEXACT_EXCEPTION): Likewise.
33484         (INVALID_EXCEPTION_OK): Update value.
33485         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
33486         (OVERFLOW_EXCEPTION_OK): Likewise.
33487         (UNDERFLOW_EXCEPTION_OK): Likewise.
33488         (IGNORE_ZERO_INF_SIGN): Likewise.
33489         (ERRNO_UNCHANGED): Likewise.
33490         (ERRNO_EDOM): Likewise.
33491         (ERRNO_ERANGE): Likewise.
33492         (test_exceptions): Handle testing "inexact" exceptions.
33493         (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
33494         (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
33495         (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
33496         (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
33497         INEXACT_EXCEPTION.
33498         (rint_towardzero_test_data): Likewise.
33499         (rint_downward_test_data): Likewise.
33500         (rint_upward_test_data): Likewise.
33502         * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
33503         with OVERFLOW_EXCEPTION.
33504         (exp10_test_data): Likewise.
33505         (exp2_test_data): Likewise.
33506         (expm1_test_data): Likewise.
33507         (lgamma_test_data): Likewise.
33508         (pow_test_data): Likewise.
33509         (tgamma_test_data): Likewise.
33510         (yn_test_data): Remove duplicate test of overflow.
33512         * math/libm-test.inc (struct test_cc_c_data): New type.
33513         (RUN_TEST_LOOP_cc_c): New macro.
33514         (cpow_test_data): New variable.
33515         (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
33517         * math/libm-test.inc (struct test_f_L_data): New type.
33518         (RUN_TEST_LOOP_f_L): New macro.
33519         (llrint_test_data): New variable.
33520         (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
33521         (llrint_tonearest_test_data): New variable.
33522         (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
33523         (llrint_towardzero_test_data): New variable.
33524         (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
33525         (llrint_downward_test_data): New variable.
33526         (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
33527         (llrint_upward_test_data): New variable.
33528         (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
33529         (llround_test_data): New variable.
33530         (llround_test): Run tests with RUN_TEST_LOOP_f_L.
33532 2013-05-13  Peter Collingbourne  <pcc@google.com>
33534         * math/atest-exp2.c (get_log2): Remove const attribute.
33536 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
33538         * math/libm-test.inc (struct test_f_l_data): New type.
33539         (RUN_TEST_LOOP_f_l): New macro.
33540         (lrint_test_data): New variable.
33541         (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
33542         (lrint_tonearest_test_data): New variable.
33543         (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
33544         (lrint_towardzero_test_data): New variable.
33545         (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
33546         (lrint_downward_test_data): New variable.
33547         (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
33548         (lrint_upward_test_data): New variable.
33549         (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
33550         (lround_test_data): New variable.
33551         (lround_test): Run tests with RUN_TEST_LOOP_f_l.
33553 2013-05-15  Peter Collingbourne  <pcc@google.com>
33555         * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
33556         (EXTRACT_WORDS64) Use where appropriate.
33557         (INSERT_WORDS64) Likewise.
33559         * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
33560         constraints with x constraints.
33561         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
33563         * malloc/obstack.c (_obstack_compat): Add initializer.
33565 2013-05-15  Edjunior Machado  <emachado@linux.vnet.ibm.com>
33567         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
33568         si_trapno and add si_addr_lsb to _sifields.sigfault.
33569         (si_trapno): Remove macro.
33570         (si_addr_lsb): Define new macro.
33571         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
33573 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
33575         * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
33576         instead of TEST_f_l.
33577         (llrint_test_tonearest): Likewise.
33578         (llrint_test_towardzero): Likewise.
33579         (llrint_test_downward): Likewise.
33580         (llrint_test_upward): Likewise.
33581         (llround_test): Likewise.
33583         * math/libm-test.inc (struct test_f_i_data): Add comment.
33584         (RUN_TEST_LOOP_f_b): New macro.
33585         (RUN_TEST_LOOP_f_b_tg): Likewise.
33586         (finite_test_data): New variable.
33587         (finite_test): Run tests with RUN_TEST_LOOP_f_b.
33588         (isfinite_test_data): New variable.
33589         (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
33590         (isinf_test_data): New variable.
33591         (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
33592         (isnan_test_data): New variable.
33593         (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
33594         (isnormal_test_data): New variable.
33595         (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
33596         (issignaling_test_data): New variable.
33597         (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
33598         (signbit_test_data): New variable.
33599         (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
33601         * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
33602         with INVALID_EXCEPTION.
33603         (acosh_test_data): Likewise.
33604         (asin_test_data): Likewise.
33605         (atanh_test_data): Likewise.
33606         (fmod_test_data): Likewise.
33607         (log_test_data): Likewise.
33608         (log10_test_data): Likewise.
33609         (log2_test_data): Likewise.
33610         (pow_test_data): Likewise.
33611         (sqrt_test_data): Likewise.
33612         (y0_test_data): Likewise.
33613         (y1_test_data): Likewise.
33614         (yn_test_data): Likewise.
33616         * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
33617         function contents.
33619         * math/libm-test.inc (struct test_ff_i_data): New type.
33620         (RUN_TEST_LOOP_ff_i_tg): New macro.
33621         (isgreater_test_data): New variable.
33622         (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
33623         (isgreaterequal_test_data): New variable.
33624         (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
33625         (isless_test_data): New variable.
33626         (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
33627         (islessequal_test_data): New variable.
33628         (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
33629         (islessgreater_test_data): New variable.
33630         (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
33631         (isunordered_test_data): New variable.
33632         (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
33634 2013-05-14  David S. Miller  <davem@davemloft.net>
33636         * sysdeps/sparc/fpu/libm-test-ulps: Update.
33638 2013-05-14  Joseph Myers  <joseph@codesourcery.com>
33640         * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
33642         * math/libm-test.inc (struct test_fF_f1_data): Change type of
33643         extra_test to int.
33644         (struct test_f_i_data): Change type of max_ulp to int.
33646         * math/libm-test.inc (test_ffI_f1_data): New type.
33647         (RUN_TEST_LOOP_ffI_f1): New macro.
33648         (remquo_test_data): New variable.
33649         (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
33651         * setjmp/tst-setjmp-fp.c: New file.
33652         * setjmp/Makefile (tests): Add tst-setjmp-fp.
33653         (link-libm): New variable.
33654         ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
33656         * math/libm-test.inc (struct test_f_i_data): New type.
33657         (RUN_TEST_LOOP_f_i): New macro.
33658         (RUN_TEST_LOOP_f_i_tg): Likewise.
33659         (fpclassify_test_data): New variable.
33660         (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
33661         (ilogb_test_data): New variable.
33662         (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
33664         * math/libm-test.inc (scalbln_test): Correct function name in END
33665         call.
33667         * math/libm-test.inc (struct test_f_f1_data): Add comment.
33668         (RUN_TEST_LOOP_fI_f1): New macro.
33669         (frexp_test_data): New variable.
33670         (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
33672         * math/libm-test.inc (struct test_fF_f1_data): New type.
33673         (RUN_TEST_LOOP_fF_f1): New macro.
33674         (modf_test_data): New variable.
33675         (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
33677         * math/libm-test.inc (struct test_f_f1_data): New type.
33678         (RUN_TEST_LOOP_f_f1): New macro.
33679         (gamma_test_data): New variable.
33680         (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
33681         (lgamma_test_data): New variable.
33682         (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
33684 2013-05-13  Carlos O'Donell  <carlos@redhat.com>
33686         * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
33687         * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
33688         (main): Comment "tls" pseudo-hwcap.
33690 2013-05-13  Joseph Myers  <joseph@codesourcery.com>
33692         * math/libm-test.inc (struct test_fl_f_data): New type.
33693         (RUN_TEST_LOOP_fl_f): New variable.
33694         (scalbln_test_data): New variable.
33695         (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
33697         * math/libm-test.inc (struct test_fi_f_data): New type.
33698         (RUN_TEST_LOOP_fi_f): New macro.
33699         (ldexp_test_data): New variable.
33700         (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
33701         (scalbn_test_data): New variable.
33702         (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
33704         * math/libm-test.inc (struct test_c_f_data): New type.
33705         (RUN_TEST_LOOP_c_f): New macro.
33706         (cabs_test_data): New variable.
33707         (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
33708         (carg_test_data): New variable.
33709         (carg_test): Run tests with RUN_TEST_LOOP_c_f.
33710         (cimag_test_data): New variable.
33711         (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
33712         (creal_test_data): New variable.
33713         (creal_test): Run tests with RUN_TEST_LOOP_c_f.
33715         * math/libm-test.inc (struct test_if_f_data): New type.
33716         (RUN_TEST_LOOP_if_f): New macro.
33717         (jn_test_data): New variable.
33718         (jn_test): Run tests with RUN_TEST_LOOP_if_f.
33719         (yn_test_data): New variable.
33720         (yn_test): Run tests with RUN_TEST_LOOP_if_f.
33722         * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
33724 2013-05-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33726         * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
33727         (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
33729 2013-05-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
33731         * benchtests/Makefile (CPPFLAGS-nonlib): Add
33732         -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
33733         (bench-deps): Add bench-timing.h.
33734         * benchtests-bench-skeleton.c: Include bench-timing.h.
33735         (main): Use TIMING_* macros instead of clock_gettime.
33736         * benchtests/bench-timing.h: New file.
33738         [BZ #14582]
33739         * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
33740         Renamed from _LIB_VERSION.
33741         (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
33743 2013-05-12  Joseph Myers  <joseph@codesourcery.com>
33745         * math/libm-test.inc (struct test_fff_f_data): New type.
33746         (RUN_TEST_LOOP_fff_f): New macro.
33747         (fma_test_data): New variable.
33748         (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
33749         (fma_towardzero_test_data): New variable.
33750         (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
33751         (fma_downward_test_data): New variable.
33752         (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
33753         (fma_upward_test_data): New variable.
33754         (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
33756         * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
33757         (struct test_c_c_data): New type.
33758         (RUN_TEST_LOOP_c_c): New macro.
33759         (cacos_test_data): New variable.
33760         (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
33761         (cacosh_test_data): New variable.
33762         (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
33763         (casin_test_data): New variable.
33764         (casin_test): Run tests with RUN_TEST_LOOP_c_c.
33765         (casinh_test_data): New variable.
33766         (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
33767         (catan_test_data): New variable.
33768         (catan_test): Run tests with RUN_TEST_LOOP_c_c.
33769         (catanh_test_data): New variable.
33770         (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
33771         (ccos_test_data): New variable.
33772         (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
33773         (ccosh_test_data): New variable.
33774         (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
33775         (cexp_test_data): New variable.
33776         (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
33777         (clog_test_data): New variable.
33778         (clog_test): Run tests with RUN_TEST_LOOP_c_c.
33779         (clog10_test_data): New variable.
33780         (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
33781         (conj_test_data): New variable.
33782         (conj_test): Run tests with RUN_TEST_LOOP_c_c.
33783         (cproj_test_data): New variable.
33784         (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
33785         (csin_test_data): New variable.
33786         (csin_test): Run tests with RUN_TEST_LOOP_c_c.
33787         (csinh_test_data): New variable.
33788         (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
33789         (csqrt_test_data): New variable.
33790         (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
33791         (ctan_test_data): New variable.
33792         (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
33793         (ctan_tonearest_test_data): New variable.
33794         (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
33795         (ctan_towardzero_test_data): New variable.
33796         (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
33797         (ctan_downward_test_data): New variable.
33798         (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
33799         (ctan_upward_test_data): New variable.
33800         (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
33801         (ctanh_test_data): New variable.
33802         (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
33803         (ctanh_tonearest_test_data): New variable.
33804         (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
33805         (ctanh_towardzero_test_data): New variable.
33806         (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
33807         (ctanh_downward_test_data): New variable.
33808         (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
33809         (ctanh_upward_test_data): New variable.
33810         (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
33811         * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
33812         of BUILD_COMPLEX.
33814         * math/libm-test.inc (struct test_ff_f_data): New type.
33815         (struct test_ff_f_data_nexttoward): Likewise.
33816         (RUN_TEST_LOOP_2_f): New macro.
33817         (RUN_TEST_LOOP_ff_f): Likewise.
33818         (atan2_test_data): New variable.
33819         (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
33820         (copysign_test_data): New variable.
33821         (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
33822         (fdim_test_data): New variable.
33823         (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
33824         (fmax_test_data): New variable.
33825         (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
33826         (fmin_test_data): New variable.
33827         (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
33828         (fmod_test_data): New variable.
33829         (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
33830         (hypot_test_data): New variable.
33831         (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
33832         (nextafter_test_data): New variable.
33833         (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
33834         (nexttoward_test_data): New variable.
33835         (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
33836         (pow_test_data): New variable.
33837         (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
33838         (pow_tonearest_test_data): New variable.
33839         (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
33840         (pow_towardzero_test_data): New variable.
33841         (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
33842         (pow_downward_test_data): New variable.
33843         (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
33844         (pow_upward_test_data): New variable.
33845         (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
33846         (remainder_test_data): New variable.
33847         (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
33848         (scalb_test_data): New variable.
33849         (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
33850         * sysdeps/i386/fpu/libm-test-ulps: Update.
33852 2013-05-11  Joseph Myers  <joseph@codesourcery.com>
33854         * math/libm-test.inc (fma_test): Use max_value instead of local
33855         variable fltmax.
33856         (nextafter_test): Likewise.
33858         * math/libm-test.inc (acos_towardzero_test_data): New variable.
33859         (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
33860         (acos_downward_test_data): New variable.
33861         (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
33862         (acos_upward_test_data): New variable.
33863         (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
33864         (acosh_test_data): New variable.
33865         (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
33866         (asin_test_data): New variable.
33867         (asin_test): Run tests with RUN_TEST_LOOP_f_f.
33868         (asin_tonearest_test_data): New variable.
33869         (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
33870         (asin_towardzero_test_data): New variable.
33871         (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
33872         (asin_downward_test_data): New variable.
33873         (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
33874         (asin_upward_test_data): New variable.
33875         (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
33876         (asinh_test_data): New variable.
33877         (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
33878         (atan_test_data): New variable.
33879         (atan_test): Run tests with RUN_TEST_LOOP_f_f.
33880         (atanh_test_data): New variable.
33881         (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
33882         (cbrt_test_data): New variable.
33883         (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
33884         (ceil_test_data): New variable.
33885         (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
33886         (cos_test_data): New variable.
33887         (cos_test): Run tests with RUN_TEST_LOOP_f_f.
33888         (cos_tonearest_test_data): New variable.
33889         (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
33890         (cos_towardzero_test_data): New variable.
33891         (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
33892         (cos_downward_test_data): New variable.
33893         (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
33894         (cos_upward_test_data): New variable.
33895         (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
33896         (cosh_test_data): New variable.
33897         (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
33898         (cosh_tonearest_test_data): New variable.
33899         (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
33900         (cosh_towardzero_test_data): New variable.
33901         (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
33902         (cosh_downward_test_data): New variable.
33903         (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
33904         (cosh_upward_test_data): New variable.
33905         (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
33906         (erf_test_data): New variable.
33907         (erf_test): Run tests with RUN_TEST_LOOP_f_f.
33908         (erfc_test_data): New variable.
33909         (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
33910         (exp_test_data): New variable.
33911         (exp_test): Run tests with RUN_TEST_LOOP_f_f.
33912         (exp_tonearest_test_data): New variable.
33913         (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
33914         (exp_towardzero_test_data): New variable.
33915         (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
33916         (exp_downward_test_data): New variable.
33917         (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
33918         (exp_upward_test_data): New variable.
33919         (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
33920         (exp10_test_data): New variable.
33921         (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
33922         (exp2_test_data): New variable.
33923         (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
33924         (expm1_test_data): New variable.
33925         (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
33926         (fabs_test_data): New variable.
33927         (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
33928         (floor_test_data): New variable.
33929         (floor_test): Run tests with RUN_TEST_LOOP_f_f.
33930         (j0_test_data): New variable.
33931         (j0_test): Run tests with RUN_TEST_LOOP_f_f.
33932         (j1_test_data): New variable.
33933         (j1_test): Run tests with RUN_TEST_LOOP_f_f.
33934         (log_test_data): New variable.
33935         (log_test): Run tests with RUN_TEST_LOOP_f_f.
33936         (log10_test_data): New variable.
33937         (log10_test): Run tests with RUN_TEST_LOOP_f_f.
33938         (log1p_test_data): New variable.
33939         (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
33940         (log2_test_data): New variable.
33941         (log2_test): Run tests with RUN_TEST_LOOP_f_f.
33942         (logb_test_data): New variable.
33943         (logb_test): Run tests with RUN_TEST_LOOP_f_f.
33944         (logb_downward_test_data): New variable.
33945         (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
33946         (nearbyint_test_data): New variable.
33947         (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
33948         (rint_test_data): New variable.
33949         (rint_test): Run tests with RUN_TEST_LOOP_f_f.
33950         (rint_tonearest_test_data): New variable.
33951         (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
33952         (rint_towardzero_test_data): New variable.
33953         (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
33954         (rint_downward_test_data): New variable.
33955         (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
33956         (rint_upward_test_data): New variable.
33957         (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
33958         (round_test_data): New variable.
33959         (round_test): Run tests with RUN_TEST_LOOP_f_f.
33960         (sin_test_data): New variable.
33961         (sin_test): Run tests with RUN_TEST_LOOP_f_f.
33962         (sin_tonearest_test_data): New variable.
33963         (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
33964         (sin_towardzero_test_data): New variable.
33965         (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
33966         (sin_downward_test_data): New variable.
33967         (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
33968         (sin_upward_test_data): New variable.
33969         (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
33970         (sinh_test_data): New variable.
33971         (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
33972         (sinh_tonearest_test_data): New variable.
33973         (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
33974         (sinh_towardzero_test_data): New variable.
33975         (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
33976         (sinh_downward_test_data): New variable.
33977         (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
33978         (sinh_upward_test_data): New variable.
33979         (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
33980         (sqrt_test_data): New variable.
33981         (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
33982         (tan_test_data): New variable.
33983         (tan_test): Run tests with RUN_TEST_LOOP_f_f.
33984         (tan_tonearest_test_data): New variable.
33985         (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
33986         (tan_towardzero_test_data): New variable.
33987         (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
33988         (tan_downward_test_data): New variable.
33989         (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
33990         (tan_upward_test_data): New variable.
33991         (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
33992         (tanh_test_data): New variable.
33993         (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
33994         (tgamma_test_data): New variable.
33995         (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
33996         (trunc_test_data): New variable.
33997         (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
33998         (y0_test_data): New variable.
33999         (y0_test): Run tests with RUN_TEST_LOOP_f_f.
34000         (y1_test_data): New variable.
34001         (y1_test): Run tests with RUN_TEST_LOOP_f_f.
34002         (significand_test_data): New variable.
34003         (significand_test): Run tests with RUN_TEST_LOOP_f_f.
34005 2013-05-10  Christian Grönke  <cgr_bugs@sysgo.com>
34007         [BZ #12387]
34008         * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
34010 2013-05-10  Pino Toscano  <toscano.pino@tiscali.it>
34012         * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
34014 2013-05-10  Andreas Jaeger  <aj@suse.de>
34016         [BZ #15448]
34017         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
34018         (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
34020 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
34022         * math/gen-libm-test.pl (adjust_arg): New function.
34023         (special_functions): Handle generating output in both functions
34024         and arrays.
34025         (parse_args): Likewise.
34026         (generate_testfile): Handle START_DATA and END_DATA.  Pass extra
34027         $in_func argument to parse_args.
34028         * math/libm-test.inc (struct test_f_f_data): New type.
34029         (IF_ROUND_INIT_): New macro.
34030         (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
34031         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
34032         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
34033         (IF_ROUND_INIT_FE_UPWARD): Likewise.
34034         (ROUND_RESTORE_): Likewise.
34035         (ROUND_RESTORE_FE_DOWNWARD): Likewise.
34036         (ROUND_RESTORE_FE_TONEAREST): Likewise.
34037         (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
34038         (ROUND_RESTORE_FE_UPWARD): Likewise.
34039         (RUN_TEST_LOOP_f_f): New macro.
34040         (acos_test_data): New variable.
34041         (acos_test): Run tests with RUN_TEST_LOOP_f_f.
34042         (acos_tonearest_test_data): New variable.
34043         (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
34045 2013-05-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
34047         * benchtests/bench-skeleton.c (startup): Fix coding style.
34049 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
34051         [BZ #6809]
34052         * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
34053         negative infinity argument.
34054         * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
34055         negative infinity argument.
34056         * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
34057         negative infinity argument.
34058         * math/libm-test.inc (tgamma_test): Expect errno to be set for
34059         domain errors.
34061 2013-05-10  Florian Weimer  <fweimer@redhat.com>
34063         * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
34064         * iconv/iconv_charmap.c (charmap_conversion): Likewise.
34065         * iconv/iconv_prog.c (main): Likewise.
34066         * locale/programs/charmap-dir.c (charmap_readdir)
34067         (fopen_uncompressed): Likewise.
34068         * locale/programs/locfile.c (siblings_uncached)
34069         (write_locale_data): Use lstat64 instead of lstat.
34070         * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
34071         stat.
34073 2013-05-10  Andreas Jaeger  <aj@suse.de>
34075         [BZ #15395]
34076         * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
34077         localization.
34078         Include <locale.h>.
34080 2013-05-09  Carlos O'Donell  <carlos@redhat.com>
34082         * elf/dl-close.c (_dl_close_worker): Add comments.
34084 2013-05-09  Joseph Myers  <joseph@codesourcery.com>
34086         [BZ #15359]
34087         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
34088         high part of pi/2.
34089         (__ieee754_rem_pio2l): Update comments.
34091         [BZ #15429]
34092         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
34093         high part of pi/2.
34094         (__ieee754_rem_pio2l): Update comments.
34096         * math/libm-test.inc (M_SQRT_2_2): Remove macro.
34097         (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
34099         * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
34100         M_PI_4l.
34102         * math/libm-test.inc (M_PI_34l): Define using decimal constant.
34103         (M_PI_34_LOG10El): Likewise.
34104         (M_PI2_LOG10El): Likewise.
34105         (M_PI4_LOG10El): Likewise.
34106         (M_PI_LOG10El): Likewise.
34108 2013-05-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34110         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
34112 2013-05-08  Joseph Myers  <joseph@codesourcery.com>
34114         * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
34115         (MINUS_ZERO_INIT): Likewise.
34116         (PLUS_INFTY_INIT): Likewise.
34117         (MINUS_INFTY_INIT): Likewise.
34118         (QNAN_VALUE_INIT): Likewise.
34119         (MAX_VALUE_INIT): Likewise.
34120         (MIN_VALUE_INIT): Likewise.
34121         (MIN_SUBNORM_VALUE_INIT): Likewise.
34122         (plus_zero): Initialize with PLUS_ZERO_INIT.
34123         (minus_zero): Initialize with MINUS_ZERO_INIT.
34124         (plus_infty): Initialize with PLUS_INFTY_INIT.
34125         (minus_infty): Initialize with MINUS_INFTY_INIT.
34126         (qnan_value): Initialize with QNAN_VALUE_INIT.
34127         (max_value): Initialize with MAX_VALUE_INIT.
34128         (min_value): Initialize with MIN_VALUE_INIT.
34129         (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
34131         * math/libm-test.inc (RUN_TEST_if_f): New macro.
34132         (jn_test): Use TEST_if_f instead of TEST_ff_f.
34133         (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
34134         (yn_test): Use TEST_if_f instead of TEST_ff_f.
34136         * math/libm-test.inc (RUN_TEST_f_f): New macro.
34137         (RUN_TEST_2_f): Likewise.
34138         (RUN_TEST_ff_f): Likewise.
34139         (RUN_TEST_fi_f): Likewise.
34140         (RUN_TEST_fl_f): Likewise.
34141         (RUN_TEST_fff_f): Likewise.
34142         (RUN_TEST_c_f): Likewise.
34143         (RUN_TEST_f_f1): Likewise.
34144         (RUN_TEST_fF_f1): Likewise.
34145         (RUN_TEST_fI_f1): Likewise.
34146         (RUN_TEST_ffI_f1): Likewise.
34147         (RUN_TEST_c_c): Likewise.
34148         (RUN_TEST_cc_c): Likewise.
34149         (RUN_TEST_f_i): Likewise.
34150         (RUN_TEST_f_i_tg): Likewise.
34151         (RUN_TEST_ff_i_tg): Likewise.
34152         (RUN_TEST_f_b): Likewise.
34153         (RUN_TEST_f_b_tg): Likewise.
34154         (RUN_TEST_f_l): Likewise.
34155         (RUN_TEST_f_L): Likewise.
34156         (RUN_TEST_sincos): Likewise.
34157         * math/gen-libm-test.pl (new_test): Take new argument to indicate
34158         whether to show exceptions.  Do not include ");\n" in return
34159         value.
34160         (special_functions): Output call to RUN_TEST_sincos instead of
34161         check_float calls.  Update calls to new_test.
34162         (parse_args): Output call to single RUN_TEST_* macro instead of
34163         check_* calls and other assignments.  Update calls to new_test.
34165         [BZ #2546]
34166         [BZ #2560]
34167         [BZ #5159]
34168         [BZ #15426]
34169         * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
34170         input to result for tgamma overflow.
34171         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
34172         (gamma_coeff): New variable.
34173         (NCOEFF): New macro.
34174         (gamma_positive): New function.
34175         (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
34176         underflow here.  Use gamma_positive instead of exp (lgamma) for
34177         other arguments.
34178         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
34179         (gamma_coeff): New variable.
34180         (NCOEFF): New macro.
34181         (gammaf_positive): New function.
34182         (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
34183         underflow here.  Use gamma_positive instead of exp (lgamma) for
34184         other arguments.
34185         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
34186         (gamma_coeff): New variable.
34187         (NCOEFF): New macro.
34188         (gammal_positive): New function.
34189         (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
34190         underflow here.  Use gamma_positive instead of exp (lgamma) for
34191         other arguments.
34192         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
34193         (gamma_coeff): New variable.
34194         (NCOEFF): New macro.
34195         (gammal_positive): New function.
34196         (__ieee754_gammal_r): Handle positive infinity, overflow and
34197         underflow here.  Handle NaN the same as positive infinity.  Remove
34198         check x < 0xffffffff for negative integers.  Use gamma_positive
34199         instead of exp (lgamma) for other arguments.
34200         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
34201         (gamma_coeff): New variable.
34202         (NCOEFF): New macro.
34203         (gammal_positive): New function.
34204         * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
34205         * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
34206         * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
34207         * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
34208         * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
34209         * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
34210         * sysdeps/generic/math_private.h (__gamma_productf): New
34211         prototype.
34212         (__gamma_product): Likewise.
34213         (__gamma_productl): Likewise.
34214         * math/Makefile (libm-calls): Add gamma_product.
34215         * math/libm-test.inc (tgamma_test): Add more tests.
34216         * sysdeps/i386/fpu/libm-test-ulps: Update.
34217         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34219 2013-05-08  Ondřej Bílka  <neleai@seznam.cz>
34221         * benchtests/bench-skeleton.c (main): Preheat CPU.
34223 2013-05-07  Aurelien Jarno <aurelien@aurel32.net>
34225         * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
34227 2013-05-07  Roland McGrath  <roland@hack.frob.com>
34229         * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
34230         and _dl_skip_args_internal.
34232 2013-05-07  Carlos O'Donell  <carlos@redhat.com>
34234         * manual/message.texi (Message Translation): Talk about users.
34235         Message to key mapping impacts design.
34237 2013-05-06  Roland McGrath  <roland@hack.frob.com>
34239         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
34241         * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
34243         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
34244         * sysdeps/wordsize-64/glob64.c: ... here.
34246         * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
34247         (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
34248         New macros.
34250         * debug/getlogin_r_chk.c: Moved to ...
34251         * login/getlogin_r_chk.c: ... here.
34252         * debug/Makefile (routines): Move getlogin_r_chk to ...
34253         * login/Makefile (routines): ... here.
34254         * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
34255         * login/Versions (libc: GLIBC_2.4): ... here.
34257         * io/poll.c (__poll): Renamed from poll.
34258         Add libc_hidden_def.
34259         (poll): Define as weak alias.
34261         * debug/ptsname_r_chk.c: Moved to ...
34262         * login/ptsname_r_chk.c: ... here.
34263         * debug/Makefile (routines): Move ptsname_r_chk to ...
34264         * login/Makefile (routines): ... here.
34265         * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
34266         * login/Versions (libc: GLIBC_2.4): ... here.
34268         * posix/getlogin.c: Moved to ...
34269         * login/getlogin.c: ... here.
34270         * posix/getlogin_r.c: Moved to ...
34271         * login/getlogin_r.c: ... here.
34272         * posix/getlogin_r.c: Moved to ...
34273         * login/getlogin_r.c: ... here.
34274         * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
34275         * login/Makefile (routines): ... here.
34276         * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
34277         * login/Versions (libc: GLIBC_2.0): ... here.
34279         * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
34280         (setrlimit): Define as weak alias.
34282         * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
34283         Call __ names for open, ftruncate, and close.
34284         For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
34285         (truncate): Define as weak alias.
34287 2013-05-06  Joseph Myers  <joseph@codesourcery.com>
34289         * math/gen-libm-test.pl (parse_args): Initialize x before each
34290         test of frexp, modf and remquo.
34292         * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
34293         test signgam value.
34295 2013-05-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34297         [BZ #15418]
34298         [BZ #15419]
34299         * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
34300         internal tests.
34301         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
34303 2013-05-06  Roland McGrath  <roland@hack.frob.com>
34305         * elf/dl-writev.h: New file.
34306         * elf/dl-misc.c: Include it.
34307         (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
34308         * sysdeps/unix/sysv/linux/dl-writev.h: New file.
34310 2013-05-04  Joseph Myers  <joseph@codesourcery.com>
34312         * math/libm-test.inc (noXFails): Remove variable.
34313         (noXPasses): Likewise.
34314         (BUILD_COMPLEX_INT): Remove macro.
34315         (print_screen): Remove xfail argument.
34316         (print_screen_max_error): Likewise.
34317         (update_stats): Likewise.
34318         (print_max_error): Likewise.  Update calls to other affected
34319         functions.
34320         (print_complex_max_error): Likewise.
34321         (test_single_exception): Update calls to print_screen.
34322         (test_single_errno): Likewise.
34323         (check_float_internal): Remove xfail argument.  Update calls to
34324         other affected functions.
34325         (check_float): Likewise.
34326         (check_complex): Likewise.
34327         (check_int): Likewise.
34328         (check_long): Likewise.
34329         (check_bool): Likewise.
34330         (check_longlong): Likewise.
34331         (main): Don't print noXFails and noXPasses.
34332         * math/gen-libm-test.pl (top level): Don't mention expected
34333         failure handling in comment.
34334         (new_test): Don't handle expected failures.
34335         (parse_args): Don't mention expected failure handling in comment.
34336         (generate_testfile): Don't handle expected failures.
34337         (parse_ulps): Likewise.
34338         (print_ulps_file): Likewise.
34339         (get_failure): Remove function.
34340         (output_test): Don't handle expected failures.
34341         * make/README.libm-test: Don't mention expected failure handling.
34343         * math/libm-test.inc (plus_zero): Make const.  Add initializer.
34344         (minus_zero): Likewise.
34345         (plus_infty): Likewise.
34346         (minus_infty): Likewise.
34347         (qnan_value): Likewise.
34348         (max_value): Likewise.
34349         (min_value): Likewise.
34350         (min_subnorm_value): Likewise.
34351         (initialize): Do not initialize those variables dynamically.
34353 2013-05-03  Roland McGrath  <roland@hack.frob.com>
34355         * io/open.c (__open_2): Moved to ...
34356         * io/open_2.c: ... this new file.
34357         * io/open64.c (__open64_2): Moved to ...
34358         * io/open64_2.c: ... this new file.
34359         * io/openat.c (__openat_2): Moved to ...
34360         * io/openat_2.c: ... this new file.
34361         * io/openat64.c (__openat64_2): Moved to ...
34362         * io/openat64_2.c: ... this new file.
34363         * io/Makefile (routines): Add them.
34364         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
34365         * sysdeps/unix/sysv/linux/open_2.c: File removed.
34366         * sysdeps/unix/sysv/linux/open64_2.c: File removed.
34367         * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
34368         * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
34369         * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
34370         (__openat64): Add hidden_ver.
34371         * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
34372         * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
34374         * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
34375         Separately conditionalize setting of GLRO(dl_sysinfo) so
34376         that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
34377         as well, but the actual setting is only under [NEED_DL_SYSINFO].
34379 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34381         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
34382         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
34383         definition.
34384         (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
34385         * sysdeps/unix/sysv/linux/powerpc/init-first.c
34386         (_libc_vdso_platform_setup): Add __vdso_time initialization.
34387         * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
34388         for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
34390 2013-05-03  Joseph Myers  <joseph@codesourcery.com>
34392         * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
34393         test signgam value.
34395         * math/libm-test.inc (hypot_test): Do not use
34396         IGNORE_ZERO_INF_SIGN.
34398 2013-05-03  Andreas Jaeger  <aj@suse.de>
34400         * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
34401         Linux 3.9.
34402         * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
34403         (PF_MAX): Adjust for VSOCK change.
34405 2013-05-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34407         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
34409 2013-05-02  Carlos O'Donell  <carlos@redhat.com>
34411         [BZ #15264]
34412         * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
34413         * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
34414         * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
34416 2013-05-02  David S. Miller  <davem@davemloft.net>
34418         * sysdeps/sparc/fpu/libm-test-ulps: Update.
34420 2013-05-01  Ondřej Bílka  <neleai@seznam.cz>
34422         * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
34424 2013-05-01  Roland McGrath  <roland@hack.frob.com>
34426         * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
34428 2013-05-01  Richard Smith  <richard@metafoo.co.uk>
34430         [BZ #14952]
34431         * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
34432         [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
34433         Use __attribute__ ((__gnu_inline__)).
34434         [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
34435         Don't use __attribute__ ((__gnu_inline__)).
34437 2013-05-01  Joseph Myers  <joseph@codesourcery.com>
34439         [BZ #15423]
34440         * math/s_catan.c (__catan): Handle small real or imaginary part of
34441         input specially to avoid spurious underflow.
34442         * math/s_catanf.c (__catanf): Likewise.
34443         * math/s_catanh.c (__catanh): Likewise.
34444         * math/s_catanhf.c (__catanhf): Likewise.
34445         * math/s_catanhl.c (__catanhl): Likewise.
34446         * math/s_catanl.c (__catanl): Likewise.
34447         * math/libm-test.inc (catan_test): Add more tests.
34448         (catanh_test): Likewise.
34449         * sysdeps/i386/fpu/libm-test-ulps: Update.
34450         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34452 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34454         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
34456 2013-04-30  Joseph Myers  <joseph@codesourcery.com>
34458         [BZ #15416]
34459         * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
34460         accurately for denominator in atan2.
34461         * math/s_catanf.c (__catanf): Likewise.
34462         * math/s_catanh.c (__catanh): Likewise.
34463         * math/s_catanhf.c (__catanhf): Likewise.
34464         * math/s_catanhl.c (__catanhl): Likewise.
34465         * math/s_catanl.c (__catanl): Likewise.
34466         * math/libm-test.inc (catan_test): Add more tests.
34467         (catanh_test): Likewise.
34468         * sysdeps/i386/fpu/libm-test-ulps: Update.
34469         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34471 2013-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
34473         * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
34475         * benchtests/Makefile (bench): Remove slow benchmarks.
34476         * benchtests/atan-inputs: Add slow benchmark inputs.
34477         * benchtests/bench-modf.c (NUM_VARIANTS): Define.
34478         (BENCH_FUNC): Accept variant offset.
34479         (VARIANT): Define.
34480         * benchtests/bench-skeleton.c (main): Run benchmark for each
34481         variant.
34482         * benchtests/cos-inputs: Add slow benchmark inputs.
34483         * benchtests/exp-inputs: Likewise.
34484         * benchtests/pow-inputs: Likewise.
34485         * benchtests/sin-inputs: Likewise.
34486         * benchtests/slowatan-inputs: Remove.
34487         * benchtests/slowatan.c: Remove.
34488         * benchtests/slowcos-inputs: Remove.
34489         * benchtests/slowcos.c: Remove.
34490         * benchtests/slowexp-inputs: Remove.
34491         * benchtests/slowexp.c: Remove.
34492         * benchtests/slowpow-inputs: Remove.
34493         * benchtests/slowpow.c: Remove.
34494         * benchtests/slowsin-inputs: Remove.
34495         * benchtests/slowsin.c: Remove.
34496         * benchtests/slowtan-inputs: Remove.
34497         * benchtests/slowtan.c: Remove.
34498         * benchtests/tan-inputs: Add slow benchmark inputs.
34499         * scripts/bench.pl: Parse comments and directives.
34501         * benchtests/Makefile: Remove *-ITER.  Define BENCH_DURATION
34502         in CPPFLAGS.
34503         ($(objpfx)bench-%.c): Remove *-ITER.
34504         * benchtests/bench-modf.c: Remove definition of ITER.
34505         * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
34506         (main): Loop for DURATION seconds instead of fixed number of
34507         iterations.
34508         * scripts/bench.pl: Don't expect iterations in parameters.
34510 2013-04-29  Roland McGrath  <roland@hack.frob.com>
34512         * io/fchdir.c (__fchdir): Renamed from fchdir.
34513         (fchdir): Define as weak alias.
34515 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
34517         * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
34518         (ERRNO_EDOM): Likewise.
34519         (ERRNO_ERANGE): Likewise.
34520         (noErrnoTests): New variable.
34521         (init_max_error): Set errno to 0.
34522         (test_single_errno): New function.
34523         (test_errno): Likewise.
34524         (check_float_internal): Call test_errno.  Set errno to 0.
34525         (check_complex): Refer to errno tests in comment.
34526         (check_int): Call test_errno.  Set errno to 0.
34527         (check_long): Likewise.
34528         (check_bool): Likewise.
34529         (check_longlong): Likewise.
34530         (cos_test): Use ERRNO_* flags for errno tests instead of
34531         check_int.
34532         (expm1_test): Likewise.
34533         (fmod_test): Likewise.
34534         (ilogb_test): Likewise.
34535         (lgamma_test): Likewise.
34536         (pow_test): Likewise.
34537         (remainder_test): Likewise.
34538         (sin_test): Likewise.
34539         (tan_test): Likewise.
34540         (yn_test): Likewise.
34541         (initialize): Set errno to 0.
34542         (main): Print number of errno tests.
34543         * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
34545 2013-04-29  Andreas Jaeger  <aj@suse.de>
34547         [BZ #15084]
34548         * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
34549         and RES_USEVC.
34551         [BZ #15085]
34552         * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
34553         * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
34554         unimplemented.
34556         [BZ #15380]
34557         * stdlib/random.c (__initstate): Return NULL if
34558         __initstate fails.
34560         [BZ #15086]
34561         * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
34562         RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
34563         RES_SNGLKUPREOP.
34565 2013-04-29  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34567         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
34569 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
34571         * math/libm-test.inc (cacos_test): Add missing semicolons at ends
34572         of individual tests.
34573         (casin_test): Likewise.
34574         (casinh_test): Likewise.
34576 2013-04-27  Joseph Myers  <joseph@codesourcery.com>
34578         [BZ #15409]
34579         * math/s_catan.c (__catan): Handle arguments with large real or
34580         imaginary part separately without squaring.
34581         * math/s_catanf.c (__catanf): Likewise.
34582         * math/s_catanh.c (__catanh): Likewise.
34583         * math/s_catanhf.c (__catanhf): Likewise.
34584         * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
34585         and redefine.
34586         (__catanhl): Handle arguments with large real or imaginary part
34587         separately without squaring.
34588         * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
34589         and redefine.
34590         (__catanl): Handle arguments with large real or imaginary part
34591         separately without squaring.
34592         * math/libm-test.inc (catan_test): Add more tests.
34593         (catanh_test): Likewise.
34594         * sysdeps/i386/fpu/libm-test-ulps: Update.
34595         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34597 2013-04-27  Andreas Jaeger  <aj@suse.de>
34599         [BZ #15007]
34600         * stdlib/stdlib.h: Update guards for qecvt.
34601         * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
34602         <stdlib.h>.
34604 2013-04-27  Allan McRae  <allan@archlinux.org>
34606         * sysdeps/i386/fpu/libm-test-ulps: Update.
34608 2013-04-26  Joseph Myers  <joseph@codesourcery.com>
34610         [BZ #15406]
34611         * math/s_catan.c: Include <float.h>.
34612         (__catan): Ensure underflow exception occurs for underflowed
34613         result.
34614         * math/s_catanf.c: Include <float.h>.
34615         (__catanf): Ensure underflow exception occurs for underflowed
34616         result.
34617         * math/s_catanh.c: Include <float.h>.
34618         (__catanh): Ensure underflow exception occurs for underflowed
34619         result.
34620         * math/s_catanhf.c: Include <float.h>.
34621         (__catanhf): Ensure underflow exception occurs for underflowed
34622         result.
34623         * math/s_catanhl.c: Include <float.h>.
34624         (__catanhl): Ensure underflow exception occurs for underflowed
34625         result.
34626         * math/s_catanl.c: Include <float.h>.
34627         (__catanl): Ensure underflow exception occurs for underflowed
34628         result.
34629         * math/libm-test.inc (catan_test): Add more tests.
34630         (catanh_test): Likewise.
34632         [BZ #15405]
34633         * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
34634         underflowed result.
34635         * math/s_ccoshf.c (__ccoshf): Likewise.
34636         * math/s_ccoshl.c (__ccoshl): Likewise.
34637         * math/s_csin.c (__csin): Likewise.
34638         * math/s_csinf.c (__csinf): Likewise.
34639         * math/s_csinh.c (__csinh): Likewise.
34640         * math/s_csinhf.c (__csinhf): Likewise.
34641         * math/s_csinhl.c (__csinhl): Likewise.
34642         * math/s_csinl.c (__csinl): Likewise.
34643         * math/libm-test.inc (ccos_test): Add more tests.
34644         (ccosh_test): Likewise.
34645         (csin_test): Likewise.
34646         (csinh_test): Likewise.
34648 2013-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34650         * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
34651         * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
34652         * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
34653         * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
34654         * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
34655         powerpc/power5+/fpu folders.
34656         * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
34659 2013-04-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
34661         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
34663 2013-04-25  Joseph Myers  <joseph@codesourcery.com>
34665         * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
34666         additions to variable.
34667         [$(config-machine) = x86_64] (modules-names): Likewise.
34668         ($(objpfx)tst-audit3): Remove dependency.
34669         ($(objpfx)tst-audit3.out): Likewise.
34670         ($(objpfx)tst-audit4): Likewise.
34671         ($(objpfx)tst-audit4.out): Likewise.
34672         ($(objpfx)tst-audit5): Likewise.
34673         ($(objpfx)tst-audit5.out): Likewise.
34674         ($(objpfx)tst-audit6): Likewise.
34675         ($(objpfx)tst-audit6.out): Likewise.
34676         ($(objpfx)tst-audit7): Likewise.
34677         ($(objpfx)tst-audit7.out): Likewise.
34678         (tst-audit3-ENV): Remove variable.
34679         (tst-audit4-ENV): Likewise.
34680         (tst-audit5-ENV): Likewise.
34681         (tst-audit6-ENV): Likewise.
34682         (tst-audit7-ENV): Likewise.
34683         [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
34684         [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
34685         addition to variable.
34686         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
34687         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
34688         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
34689         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
34690         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
34691         * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
34692         tst-audit3, tst-audit4 and tst-audit5.
34693         [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
34694         tst-audit6 and tst-audit7.
34695         [$(subdir) = elf] (modules-names): Add audit modules for those
34696         tests.
34697         [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
34698         [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
34699         [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
34700         [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
34701         [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
34702         [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
34703         [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
34704         [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
34705         [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
34706         [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
34707         [$(subdir) = elf] (tst-audit3-ENV): New variable.
34708         [$(subdir) = elf] (tst-audit4-ENV): Likewise.
34709         [$(subdir) = elf] (tst-audit5-ENV): Likewise.
34710         [$(subdir) = elf] (tst-audit6-ENV): Likewise.
34711         [$(subdir) = elf] (tst-audit7-ENV): Likewise.
34712         [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
34713         Likewise.
34714         [$(subdir) = elf && $(config-cflags-avx) = yes]
34715         (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
34716         [$(subdir) = elf && $(config-cflags-avx) = yes]
34717         (CFLAGS-tst-auditmod4a.c): Likewise.
34718         [$(subdir) = elf && $(config-cflags-avx) = yes]
34719         (CFLAGS-tst-auditmod4b.c): Likewise.
34720         [$(subdir) = elf && $(config-cflags-avx) = yes]
34721         (CFLAGS-tst-auditmod6b.c): Likewise.
34722         [$(subdir) = elf && $(config-cflags-avx) = yes]
34723         (CFLAGS-tst-auditmod6c.c): Likewise.
34724         [$(subdir) = elf && $(config-cflags-avx) = yes]
34725         (CFLAGS-tst-auditmod7b.c): Likewise.
34726         * elf/tst-audit3.c: Move to ...
34727         * sysdeps/x86_64/tst-audit3.c: ... here.
34728         * elf/tst-audit4.c: Move to ...
34729         * sysdeps/x86_64/tst-audit4.c: ... here.
34730         * elf/tst-audit5.c: Move to ...
34731         * sysdeps/x86_64/tst-audit5.c: ... here.
34732         * elf/tst-audit6.c: Move to ...
34733         * sysdeps/x86_64/tst-audit6.c: ... here.
34734         * elf/tst-audit7.c: Move to ...
34735         * sysdeps/x86_64/tst-audit7.c: ... here.
34736         * elf/tst-auditmod3a.c: Move to ...
34737         * sysdeps/x86_64/tst-auditmod3a.c: ... here.
34738         * elf/tst-auditmod3b.c: Move to ...
34739         * sysdeps/x86_64/tst-auditmod3b.c: ... here.
34740         * elf/tst-auditmod4a.c: Move to ...
34741         * sysdeps/x86_64/tst-auditmod4a.c: ... here.
34742         * elf/tst-auditmod4b.c: Move to ...
34743         * sysdeps/x86_64/tst-auditmod4b.c: ... here.
34744         * elf/tst-auditmod5a.c: Move to ...
34745         * sysdeps/x86_64/tst-auditmod5a.c: ... here.
34746         * elf/tst-auditmod5b.c: Move to ...
34747         * sysdeps/x86_64/tst-auditmod5b.c: ... here.
34748         * elf/tst-auditmod6a.c: Move to ...
34749         * sysdeps/x86_64/tst-auditmod6a.c: ... here.
34750         * elf/tst-auditmod6b.c: Move to ...
34751         * sysdeps/x86_64/tst-auditmod6b.c: ... here.
34752         * elf/tst-auditmod6c.c: Move to ...
34753         * sysdeps/x86_64/tst-auditmod6c.c: ... here.
34754         * elf/tst-auditmod7a.c: Move to ...
34755         * sysdeps/x86_64/tst-auditmod7a.c: ... here.
34756         * elf/tst-auditmod7b.c: Move to ...
34757         * sysdeps/x86_64/tst-auditmod7b.c: ... here.
34759 2013-04-25  Paul Pluzhnikov  <ppluzhnikov@google.com>
34761         [BZ #15366]
34762         * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
34763         define unconditionally.
34764         * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
34765         define unconditionally.
34766         (INT8_C, INT16_C, etc.): Likewise.
34768 2013-04-25  Maciej W. Rozycki  <macro@codesourcery.com>
34770         * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
34771         __ehdr_start with hidden visibility.
34773         * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
34775 2013-04-24  Carlos O'Donell  <carlos@redhat.com>
34777         * math/libm-test.inc (cos_test): Use accurate hex constants.
34778         (sincost_test): Likewise.
34780 2013-04-24  Joseph Myers  <joseph@codesourcery.com>
34782         * math/libm-test.inc (catan_test): Add more tests.
34783         (catanh_test): Likewise.
34785         * math/s_catanf.c (__catanf): Use suffixed floating-point
34786         constants.
34787         * math/s_catanhf.c (__catanhf): Likewise.
34788         * math/s_catanhl.c (__catanhl): Likewise.
34789         * math/s_catanl.c (__catanl): Likewise.
34791         [BZ #15394]
34792         * math/s_catan.c (__catan): Calculate imaginary part of result
34793         with log1p not log unless computing log of number close to 0.
34794         * math/s_catanf.c (__catanf): Likewise.
34795         * math/s_catanl.c (__catanl): Likewise.
34796         * math/s_catanh.c (__catanh): Calculate real part of result with
34797         log1p not log unless computing log of number close to 0.
34798         * math/s_catanhf.c (__catanhf): Likewise.
34799         * math/s_catanhl.c (__catanhl): Likewise.
34800         * math/libm-test.inc (catan_test): Add more tests.
34801         (catanh_test): Likewise.
34802         * sysdeps/i386/fpu/libm-test-ulps: Update.
34803         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34805 2013-04-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
34807         * benchtests/Makefile: Mention files in which fast and slow
34808         paths of math functions are implemented.
34810 2013-04-23  Roland McGrath  <roland@hack.frob.com>
34812         * sysdeps/posix/timespec_get.c: New file.
34814 2013-04-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34816         * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
34817         POWER.
34818         * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
34819         for POWER.
34820         * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
34821         powerpc/power5/fpu folders.
34822         * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
34823         * benchtests/Makefile: Add modf testcase.
34824         * benchtests/bench-modf.c: New file: Benchmark test for mo
34826 2013-04-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
34828         [BZ #14888]
34829         * time/Makefile (tests): Add tst-strptime-whitespace.
34830         * time/strptime_l.c (get_number): Use ISSPACE.
34831         (__strptime_internal): Likewise.
34832         * time/tst-strptime-whitespace.c: New test case.
34834 2013-04-23  Andreas Schwab  <schwab@linux-m68k.org>
34836         * nss/nss_files/files-init.c (TF): Don't initialize flexible array
34837         member.
34838         (_nss_files_init): Set it here.
34840 2013-04-23  Heiko Carstens  <heiko.carstens@de.ibm.com>
34842         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
34843         f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
34844         unsigned.
34846 2013-04-22  Jan-Benedict Glaw  <jbglaw@getslash.de>
34848         * nss/getent.c (shadow_keys): Call endspent, not endpwent.
34850 2013-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
34852         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
34853         size just once.
34855 2013-04-21  David S. Miller  <davem@davemloft.net>
34857         * po/ru.po: Update Russion translation from translation project.
34859 2013-04-17  Adam Conrad  <adconrad@0c3.net>
34861         * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
34862         and setfsgid.
34864 2013-04-17  Carlos O'Donell  <carlos@redhat.com>
34866         * configure.in: Remove i386 configure warning. Remove i386 case.
34867         * configure: Regenerate.
34868         * sysdeps/i386/configure.in: Raise error if config_machine is i386.
34869         Add example to error message.
34870         * sysdeps/i386/configure: Regenerate.
34872 2013-04-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
34874         * benchtests/Makefile (bench): Add cos, tan, slowcos and
34875         slowtan.
34876         * benchtests/cos-inputs: New file.
34877         * benchtests/slowcos-inputs: New file.
34878         * benchtests/slowcos.c: New file.
34879         * benchtests/slowtan-inputs: New file.
34880         * benchtests/slowtan.c: New file.
34881         * benchtests/tan-inputs: New file.
34883 2013-04-16  Roland McGrath  <roland@hack.frob.com>
34885         * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
34886         considered kosher.
34888 2013-04-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
34890         * benchtests/Makefile: Include cppflags-iterator.mk to add
34891         -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
34893         * Makefile.in (bench-clean): New target.
34894         * benchtests/Makefile (bench-clean): Likewise.
34896 2013-04-16  David Holsgrove  <david.holsgrove@xilinx.com>
34898         * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
34900 2013-04-15  Thomas Schwinge  <thomas@codesourcery.com>
34902         * stdio-common/tstdiomisc.c: Fix coding-style violation.
34904 2013-04-15  Andreas Schwab  <schwab@suse.de>
34906         * nscd/grpcache.c (cache_addgr): Properly check for short write.
34907         * nscd/initgrcache.c (addinitgroupsX): Likewise.
34908         * nscd/pwdcache.c (cache_addpw): Likewise.
34909         * nscd/servicescache.c (cache_addserv): Likewise.  Don't write
34910         more than recsize.
34912 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
34914         * benchtests/Makefile (bench): Write all output to
34915         bench-out.tmp together.
34917 2013-04-15  Andreas Schwab  <schwab@suse.de>
34919         * nscd/nscd.c (main): Don't fork again after closing files.
34921 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
34923         * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
34925         * benchtests/Rules (bench-deps): Collect dependencies into a
34926         single variable.  Add Makefile to dependencies.
34927         ($(objpfx)bench-%.c): Depend on bench-deps.
34929 2013-04-12  Roland McGrath  <roland@hack.frob.com>
34930             Xavier Roche  <roche+kml2@exalead.com>
34932         [BZ #15361]
34933         * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
34934         just that it's a file descriptor.
34935         * manual/llio.texi (Synchronizing AIO Operations): Update description
34936         for EBADF error from aio_fsync.
34938 2013-04-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
34940         * Rules (bench): Move target definition...
34941         * benchtests/Makefile: ... here.
34943 2013-04-11  Carlos O'Donell  <carlos@redhat.com>
34945         * math/libm-test.inc (cos_test): Fix PI/2 test.
34946         (sincos_test): Likewise.
34947         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
34948         * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
34950 2013-04-11  Andreas Schwab  <schwab@suse.de>
34952         [BZ #13988]
34953         * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
34954         accept exponent character only when digits were seen.
34955         * stdio-common/Makefile (tests): Add bug26.
34956         * stdio-common/bug26.c: New file.
34958         [BZ #14293]
34959         * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
34960         non-freeable.
34962 2013-04-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
34964         * Makeconfig (rtld-prefix): Define built linker prefix.
34965         * Rules (run-bench): Use it.
34966         * math/Makefile (run-regen-ulps): Likewise.
34968         * Rules (bench): Remove eval.
34970 2013-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
34971             Roland McGrath  <roland@hack.frob.com>
34972             Ondrej Bilka  <neleai@seznam.cz>
34974         [BZ #15346]
34975         * time/getdate.c: Include ctype.h and alloca.h.
34976         (__getdate_r): Trim leading and trailing spaces of input.
34977         * time/tst-getdate.c (tests): Add tests with leading and
34978         trailing spaces.
34980 2013-04-08  Roland McGrath  <roland@hack.frob.com>
34982         [BZ #14280]
34983         * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
34984         when computing value.
34986 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
34988         * math/README.libm-test (How can I generate "libm-test-ulps"?):
34989         Use testrun.sh to run libm tests.
34991         [BZ #15309]
34992         * elf/dl-open.c (dl_open_worker): memset all of seen array.
34994 2013-04-06  Marko Myllynen  <myllynen@redhat.com>
34996         [BZ #15264]
34997         * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
34999 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
35001         * Makefile.in (regen-ulps): New target.
35002         * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
35003         [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
35004         [ifneq (no,$(PERL)] (regen-ulps): New target.
35005         [ifeq (no,$(PERL)] (regen-ulps): New target.
35006         * math/libm-test.inc (ulps_file_name): Define.
35007         (output_dir): New variable.
35008         (options): Add "output-dir" option.
35009         (parse_opt): Handle 'o' case.
35010         (main): If output_dir is non-NULL use it as a prefix
35011         otherwise use "".
35012         * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
35014 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
35016         [BZ #10060, #10062]
35017         * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
35018         * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
35019         fail configure if __sync_val_compare_and_swap is not inlined.
35020         * sysdeps/i386/configure: Regenerate.
35021         * configure.in: Build for i686 when configured for i386.
35022         * configure: Regenerate.
35023         * README: Remove i386 reference.
35025 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
35027         * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
35028         * sysdeps/s390/s390-64/sysdep.h: Likewise.
35030 2013-04-05  Thomas Schwinge  <thomas@codesourcery.com>
35032         * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
35033         (lmsnanval): New variables.
35034         (F): Add conversion tests.
35035         * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
35036         * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
35038         * stdio-common/tstdiomisc.c (F): Properly collect individual
35039         tests' results.
35041         [BZ #14686, #15336]
35042         * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
35043         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
35044         Instead, use input NaN values or generate a qNaN by arithmetic
35045         operation.  Also fix bugs to comply with the standard.
35046         * math/libm-test.inc (remainder_test): Add more tests.
35048         [BZ #15335, #15342]
35049         * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
35050         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
35051         input NaN values or generate a qNaN by arithmetic operation.
35053         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
35054         unreachable code.
35056         * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
35057         definitions.
35059 2013-04-03  Joseph Myers  <joseph@codesourcery.com>
35061         [BZ #14478]
35062         * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
35063         underflowed result.
35064         * math/s_cexpf.c (__cexpf): Likewise.
35065         * math/s_cexpl.c (__cexpl): Likewise.
35066         * math/libm-test.inc (cexp_test): Add more tests.
35068 2013-04-03  Andreas Schwab  <schwab@suse.de>
35070         [BZ #15330]
35071         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
35072         order arrays from heap if bigger than alloca cutoff.
35074 2013-04-03  Thomas Schwinge  <thomas@codesourcery.com>
35076         * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
35077         (SNAN_TESTS_double): Refer to GCC PR56831.
35078         * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
35079         GCC PR56828.
35081 2013-04-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
35083         * Rules (bench): Move bench.out after the run is complete.
35085         * Rules (bench): Echo currently running benchmark.
35087         * benchtests/Makefile (bench): Add atan and slowatan.
35088         * benchtests/atan-inputs: New file.
35089         * benchtests/slowatan-inputs: New file.
35090         * benchtests/slowatan.c: New file.
35092         * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
35093         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
35094         its value.
35096         [BZ #15305]
35097         * sysdeps/unix/sysv/linux/kernel-features.h
35098         [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
35099         __ASSUME_XFS_RESTRICTED_CHOWN.
35100         * sysdeps/unix/sysv/linux/pathconf.c
35101         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
35102         Save and restore errno.
35104 2013-04-02  Joseph Myers  <joseph@codesourcery.com>
35106         [BZ #15327]
35107         * math/s_cacosh.c (__cacosh): Implement for finite nonzero
35108         arguments using __kernel_casinh.
35109         * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
35110         arguments using __kernel_casinhf.
35111         * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
35112         arguments using __kernel_casinhl.
35113         * math/libm-test.inc (cacosh_test): Add more tests.
35114         * sysdeps/i386/fpu/libm-test-ulps: Update.
35115         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35117 2013-04-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
35119         * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
35120         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
35122         * bench/Makefile (bench): Add sin and slowsin.
35123         * benchtests/sin-inputs: New file.
35124         * benchtests/slowsin-inputs: New file.
35125         * benchtests/slowsin.c: New file.
35127         * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
35128         (bench): Add slowexp and slowpow.
35129         (exp-ITER): Increase iterations.
35130         (pow-ITER): Likewise.
35131         * benchtests/exp-inputs: Change input.
35132         * benchtests/pow-inputs: Likewise.
35133         * benchtests/slowexp-inputs: New file.
35134         * benchtests/slowexp.c: New file.
35135         * benchtests/slowpow-inputs: New file.
35136         * benchtests/slowpow.c: New file.
35138 2013-04-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35140         * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
35141         instructions.
35142         * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
35143         * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
35144         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
35145         * benchtests/Makefile: Add rint benchtest.
35146         * benchtests/rint-inputs: Input for rint benchtest.
35148 2013-04-02  Thomas Schwinge  <thomas@codesourcery.com>
35150         * Versions.def (libm): Add GLIBC_2.18.
35151         * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
35152         hidden libm prototypes.
35153         [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
35154         * math/Makefile (libm-calls): Add s_issignaling.
35155         * math/Versions (libm: GLIBC_2.18): Add __issignaling,
35156         __issignalingf, __issignalingl.  Adjust all libm.abilist files.
35157         * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
35158         declaration.
35159         * math/math.h [__USE_GNU] (issignaling): New macro.
35160         * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
35161         * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
35162         * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
35163         * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
35164         * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
35165         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
35166         * manual/arith.texi (issignaling): New section.
35167         * manual/libm-err-tab.pl (@all_functions): Update comment.
35168         * math/gen-libm-test.pl (parse_args): Apply special handling for
35169         issignaling.
35170         * math/libm-test.inc (print_float, issignaling_test): New
35171         functions.
35172         (check_float_internal): Add issignaling checks.
35173         * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
35174         default definition.
35175         * sysdeps/powerpc/math-tests.h: New file.
35176         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
35177         tests.
35178         * math/test-snan.c (TEST_FUNC): Likewise.
35180 2013-03-30  David S. Miller  <davem@davemloft.net>
35182         * po/de.po: Update from translation team.
35184 2013-03-30  Joseph Myers  <joseph@codesourcery.com>
35186         [BZ #10357]
35187         * math/k_casinh.c (__kernel_casinh): Handle arguments with
35188         imaginary part less than 1.0 and real part less than 0.5
35189         specially.
35190         * math/k_casinhf.c (__kernel_casinhf): Likewise.
35191         * math/k_casinhl.c (__kernel_casinhl): Likewise.
35192         * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
35193         (cacos_test): Add more tests.
35194         (casin_test): Likewise.
35195         (casinh_test): Likewise.
35196         * sysdeps/i386/fpu/libm-test-ulps: Update.
35197         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35199 2013-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
35201         * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
35202         ONE with its value.
35204         * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
35205         (__pow_mp): Replace ONE and MONE with their values.
35206         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
35207         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
35208         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
35209         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
35210         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
35211         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
35213         * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
35215         * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
35216         (__pow_mp): Replace ZERO and MZERO with their values.
35217         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
35218         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
35219         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
35220         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
35221         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
35222         * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
35223         (__sqr): Likewise.
35225         * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
35227         * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
35229 2013-03-28  Roland McGrath  <roland@hack.frob.com>
35231         * include/stdlib.h [!SHARED] (__call_tls_dtors):
35232         Declare with __attribute__ ((weak)).
35233         * stdlib/exit.c (__libc_atexit) [!SHARED]:
35234         Call __call_tls_dtors only if it's not NULL.
35236 2013-03-28  Roland McGrath  <roland@hack.frob.com>
35238         * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
35239         didn't do it already, then set _dl_phdr and _dl_phnum based on the
35240         magic __ehdr_start linker symbol if it's defined.
35241         * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
35242         them up here if it was already done.
35244         * elf/dl-support.c (_dl_phdr): Make pointer to const.
35245         (_dl_aux_init): Use const in cast when setting it.
35246         * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
35247         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
35248         * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
35250         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
35251         Declare them here.
35252         * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
35253         * csu/libc-tls.c: Nor here.
35254         * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
35256         * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
35257         (__libc_message): Never call vsyslog.
35259 2013-03-28  Alan Modra  <amodra@gmail.com>
35261         * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
35262         Define as empty.
35263         * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
35264         Likewise.
35266 2013-03-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35268         [BZ #15214]
35269         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
35270         underflow.
35271         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
35273 2013-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
35275         [BZ #15304]
35276         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
35277         Don't add gid passed as argument.
35279         * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
35281 2013-03-27  Joseph Myers  <joseph@codesourcery.com>
35283         [BZ #15307]
35284         * math/k_casinh.c (__kernel_casinh): Handle arguments with
35285         imaginary part between 1.0 and 1.5 and real part less than 0.5
35286         specially.
35287         * math/k_casinhf.c (__kernel_casinhf): Likewise.
35288         * math/k_casinhl.c (__kernel_casinhl): Likewise.
35289         * math/libm-test.inc (cacos_test): Add more tests.
35290         (casin_test): Likewise.
35291         (casinh_test): Likewise.
35292         * sysdeps/i386/fpu/libm-test-ulps: Update.
35293         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35295 2013-03-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
35297         * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
35298         constants.
35299         (norm): Likewise.
35300         (denorm): Likewise.
35301         (__dbl_mp): Likewise.
35302         (add_magnitudes): Likewise.
35303         (sub_magnitudes): Likewise.
35304         (__add): Likewise.
35305         (__sub): Likewise.
35306         (__mul): Likewise.
35307         (__sqr): Likewise.
35308         (__inv): Likewise.
35309         (__dvd): Likewise.
35311         * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
35312         commented code.
35313         * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
35314         (__dubcos): Likewise.
35315         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
35316         (__ieee754_acos): Likewise.
35317         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
35318         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
35319         (__exp1): Likewise.
35320         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
35321         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
35322         (log1): Likewise.
35323         (my_log2): Likewise.
35324         (checkint): Likewise.
35325         * sysdeps/ieee754/dbl-64/e_remainder.c
35326         (__ieee754_remainder): Likewise.
35327         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
35328         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
35329         (bsloww): Likewise.
35330         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
35332         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
35333         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
35334         MANTISSA_STORE_T to store computations on mantissa.  Use
35335         macros for rounding and division.
35336         (denorm): Likewise.
35337         (__dbl_mp): Likewise.
35338         (add_magnitudes): Likewise.
35339         (sub_magnitudes): Likewise.
35340         (__mul): Likewise.
35341         (__sqr): Likewise.
35342         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
35343         powers of two in terms of TWOPOW macro.
35344         (mp_no): Make type of mantissa as MANTISSA_T.
35345         [!RADIXI]: Define RADIXI.
35346         [!TWO52]: Define TWO52.
35347         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
35349 2013-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35351         * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
35352         llroundl symbol when building for PPC32.
35354 2013-03-24  Mark H Weaver  <mhw@netris.org>
35356         * manual/arith.texi (Normalization Functions): Fix prototypes for
35357         scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
35359 2013-03-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35361         [BZ #13889]
35362         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
35363         high value to check if expl overflow.
35364         * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
35365         to check for underflow and overflow.
35366         * math/libm-test.inc: Add exp test.
35368 2013-03-21  Dmitry V. Levin  <ldv@altlinux.org>
35370         [BZ #11120]
35371         * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
35372         with NOT_IN_libc.
35374 2013-03-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35376         * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
35377         symbol.
35379 2013-03-21  Thomas Schwinge  <thomas@codesourcery.com>
35381         * math/gen-libm-test.pl (parse_args, special_functions): Properly
35382         wrap blocks consisting of several statements.
35384         * sysdeps/generic/math-tests.h: New file.
35385         * sysdeps/i386/fpu/math-tests.h: Likewise.
35386         * math/test-snan.c: Include it.
35387         (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
35389 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
35391         [BZ #15285]
35392         * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
35393         (__ieee754_j0l): Do not improve calculations using cos of twice
35394         input for inputs above LDBL_MAX / 2.0L.
35395         (__ieee754_y0l): Likewise.
35396         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
35397         (__ieee754_j1l): Do not improve calculations using cos of twice
35398         input for inputs above LDBL_MAX / 2.0L.
35399         (__ieee754_y1l): Likewise.
35400         * math/libm-test.inc (j0_test): Add another test.
35401         (j1_test): Likewise.
35402         (y0_test): Likewise.
35403         (y1_test): Likewise.
35404         * sysdeps/i386/fpu/libm-test-ulps: Update.
35406 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
35408         * Rules ($(objpfx)bench-%.c): Include code from a C source
35409         file.
35411 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
35413         [BZ #15287]
35414         * math/k_casinh.c (__kernel_casinh): Handle arguments with
35415         imaginary part 1.0 and real part less than 0.5 specially.
35416         * math/k_casinhf.c (__kernel_casinhf): Likewise.
35417         * math/k_casinhl.c (__kernel_casinhl): Likewise.
35418         * math/libm-test.inc (cacos_test): Add more tests.
35419         (casin_test): Likewise.
35420         (casinh_test): Likewise.
35421         * sysdeps/i386/fpu/libm-test-ulps: Update.
35422         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35424 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
35426         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
35427         * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
35429 2013-03-20  Joseph Myers  <joseph@codesourcery.com>
35431         * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
35432         * config.make.in (config-cflags-sse4): Remove variable.
35433         (config-cflags-avx): Likewise.
35434         (config-cflags-sse2avx): Likewise.
35435         (config-cflags-novzeroupper): Likewise.
35436         (config-asflags-i686): Likewise.
35437         (have-mfma4): Likewise.
35438         (have-as-vis3): Likewise.
35439         (MIG): Likewise.
35440         * configure.in (MIG): Do not AC_SUBST.
35441         (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
35442         (libc_cv_cc_sse4): Do not AC_SUBST.
35443         (libc_cv_cc_avx): Likewise.
35444         (libc_cv_cc_sse2avx): Likewise.
35445         (libc_cv_cc_novzeroupper): Likewise.
35446         (libc_cv_cc_fma4): Likewise.
35447         (libc_cv_as_i686): Likewise.
35448         (libc_cv_sparc_as_vis3): Likewise.
35449         * sysdeps/i386/configure.in (config-cflags-sse4): Set using
35450         LIBC_CONFIG_VAR.
35451         (config-asflags-i686): Likewise.
35452         (config-cflags-avx): Likewise.
35453         (config-cflags-sse2avx): Likewise.
35454         (have-mfma4): Likewise.
35455         (config-cflags-novzeroupper): Likewise.
35456         * sysdeps/mach/configure.in (MIG): Likewise.
35457         * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
35458         * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
35459         LIBC_CONFIG_VAR.
35460         (config-cflags-avx): Likewise.
35461         (config-cflags-sse2avx): Likewise.
35462         (have-mfma4): Likewise.
35463         (config-cflags-novzeroupper): Likewise.
35464         * configure: Regenerated.
35465         * sysdeps/i386/configure: Likewise.
35466         * sysdeps/mach/configure: Likewise.
35467         * sysdeps/sparc/configure: Likewise.
35468         * sysdeps/x86_64/configure: Likewise.
35470 2013-03-20  Roland McGrath  <roland@hack.frob.com>
35472         [BZ #14812]
35473         * locale/programs/localedef.c (options): Put N_ translation marker
35474         on argument names, not just descriptions.
35476 2013-03-20  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
35478         * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
35480 2013-03-20  Ondřej Bílka  <neleai@seznam.cz>
35482         [BZ #14176]
35483         * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
35485 2013-03-19  Roland McGrath  <roland@hack.frob.com>
35487         * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
35488         [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
35489         [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
35490         [!BEFORE_ABORT] (before_abort): New function.
35491         [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
35492         * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
35493         (writev_for_fatal): New function.
35494         (WRITEV_FOR_FATAL): New macro; call that.
35495         (backtrace_and_maps): New function.
35496         (BEFORE_ABORT): New macro; call that.
35497         (struct str_list): Type removed.
35498         (__libc_message, __libc_fatal): Functions removed.
35499         Include <sysdeps/posix/libc_fatal.c> instead.
35501 2013-03-19  Joseph Myers  <joseph@codesourcery.com>
35503         * math/k_casinhf.c (__kernel_casinhf): Consistently use float
35504         constants.
35505         * math/k_casinhl.c (__kernel_casinhl): Consistently use long
35506         double constants.
35508 2013-03-19  Andreas Schwab  <schwab@suse.de>
35510         * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
35511         * sysdeps/gnu/configure: Regenerate.
35513         * configure.in: Substitute libc_cv_rtlddir.
35514         * configure: Regenerate.
35515         * config.make.in (rtlddir): Set from libc_cv_rtlddir.
35516         * Makeconfig (rtlddir, inst_rtlddir): New variables.
35517         (rtld-LDFLAGS): Use them with $(rtld-installed-name).
35518         * elf/Makefile (install-others, CFLAGS-interp.c)
35519         (ldso_install, common-ldd-rewrite): Likewise.
35520         ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
35521         $(inst_slibdir)/$(rtld-installed-name).
35522         * scripts/rellns-sh: Add -p option.
35523         * Makerules (make-shlib-link): Use rellns-sh to get relative name
35524         for source.
35526 2013-03-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
35528         * manual/nptl.texi: Renamed to ...
35529         * manual/threads.texi: ... this.
35530         * manual/Makefile (chapters): Update.
35532 2013-03-18  Roland McGrath  <roland@hack.frob.com>
35534         [BZ #14812]
35535         * argp/argp-parse.c (argp_default_options): Put N_ translation marker
35536         on argument names, not just descriptions.
35537         * malloc/memusagestat.c (options): Likewise.
35538         * nss/getent.c (options): Likewise.
35540 2013-03-18  Benno Schulenberg  <bensberg@justemail.net>
35542         [BZ #14812]
35543         * iconv/iconv_prog.c (options): Put N_ translation marker
35544         on argument names, not just descriptions.
35545         * iconv/iconvconfig.c (options): Likewise.
35547 2013-03-18  Ondrej Bilka  <neleai@seznam.cz>
35549         * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
35550         implementation which is faster on all x86_64 architectures.
35551         Tested on AMD, Intel Nehalem, SNB, IVB.
35552         * sysdeps/x86_64/strnlen.S: Likewise.
35554         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
35555         Remove all multiarch strlen and strnlen versions.
35556         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
35557         Remove strlen and strnlen related parts.
35559         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
35560         Inline strlen part.
35561         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
35563         * sysdeps/x86_64/multiarch/strlen.S: Remove.
35564         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
35565         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
35566         * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
35567         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
35568         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
35570 2013-03-17  Carlos O'Donell  <carlos@redhat.com>
35572         * manual/memory.texi (Malloc Tunable Parameters):
35573         Sort parameters alphabetically. Add comments for missing entries.
35575 2013-03-17  David S. Miller  <davem@davemloft.net>
35577         * sysdeps/sparc/fpu/libm-test-ulps: Update.
35579 2013-03-16  Joseph Myers  <joseph@codesourcery.com>
35581         [BZ #15283]
35582         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
35583         for arguments at most half maximum finite value.
35584         * math/libm-test.inc (j0_test): Add more tests.
35585         (j1_test): Likewise.
35586         (y0_test): Likewise.
35587         (y1_test): Likewise.
35588         * sysdeps/i386/fpu/libm-test-ulps: Update.
35589         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35591         [BZ #14155]
35592         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
35593         1 / x and functions P and Q for arguments above 0x1p256L.
35594         (__ieee754_y0l): Likewise.
35595         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
35596         (__ieee754_y1l): Likewise.
35597         * math/libm-test.inc (j0_test): Do not allow spurious underflows.
35598         (j1_test): Likewise.
35599         (y0_test): Likewise.
35600         (y1_test): Likewise.
35602 2013-03-16  Thomas Schwinge  <thomas@codesourcery.com>
35604         * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
35605         variable.
35607 2013-03-15  Roland McGrath  <roland@hack.frob.com>
35609         * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
35610         (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
35611         zero since it's initialized to EXEC_PAGESIZE.
35613         * sysdeps/unix/sysv/linux/ldsodefs.h
35614         (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
35615         * sysdeps/generic/ldsodefs.h: ... here.
35617 2013-03-15  Thomas Schwinge  <thomas@codesourcery.com>
35619         * math/libm-test.inc (ldexp_test): Add missing START/END markers.
35621         * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
35622         math/test-snan.c.
35623         * math/test-snan.c: Renamed from
35624         sysdeps/powerpc/fpu/test-powerpc-snan.c.
35625         * math/Makefile (tests): Add test-snan.
35626         * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
35627         test-powerpc-snan.
35629         * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
35630         SUFFIX.  Initialize qNaN_var with __builtin_nan family of
35631         functions.
35632         (TEST_TRUNC): Add SUFFIX argument.  Initialize qNaN_var with
35633         __builtin_nan family of functions.
35634         * math/libm-test.inc (initialize): Initialize qnan_value with
35635         __builtin_nan family of functions.
35636         * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
35637         Remove variables.
35638         (init_signaling_nan, snan_float, snan_double, snan_ldouble):
35639         Remove functions.
35640         (TEST_FUNC): Add SUFFIX argument.  Move sNaN_var into static
35641         storage class.  Initialize qNaN_var and sNaN_var with
35642         __builtin_nan and __builtin_nans families of functions,
35643         respectively.
35645         * math/libm-test.inc (acosh_test): Also test with qNaN input.
35646         (sqrt_test): Remove duplicate test with qNaN input.
35647         (lrint_test, llrint_test, lround_test, llround_test, rint_test)
35648         (round_test, signbit_test, significand_test): Note missing +/-Inf
35649         as well as qNaN tests.
35651         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
35652         qNaN_var.  Fix a few strings, too.
35653         * math/libm-test.inc (nan_value): Rename to qnan_value.
35654         * math/gen-libm-test.pl (%beautify): Adjust to that.
35655         * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
35656         * math/test-misc.c (main): Likewise.
35657         * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
35658         to __qnan_bytes, and __qnan_union, respectively.
35659         * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
35660         Likewise.
35661         * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
35662         and lqnanval, respectively.
35663         * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
35664         * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
35665         * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
35666         and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
35668         * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
35669         * math/test-misc.c (main) [__x86_64__]: Enable test for long
35670         doubles.
35672         * math/test-misc.c (main): Fix copy'n'pastos.
35673         * misc/tst-efgcvt.c (special): Likewise.
35675         * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
35676         Remove declarations.
35678 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
35680         * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
35681         * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
35682         * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
35683         * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
35685 2013-03-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35687         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
35688         macro to return vdso values correctly in IFUNC implementations.
35689         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
35690         Optimization by using IFUNC.
35692 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
35693             Richard Henderson  <rth@redhat.com>
35694             Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
35696         * Makefile.in (bench): New target.
35697         * NEWS: Mention the benchmark framework.
35698         * Rules (bench): Likewise.
35699         (binaries-bench): Generate binaries for functions to
35700         benchmark.
35701         * benchtests/Makefile: New makefile for benchmark tests.
35702         * benchtests/bench-skeleton.c: New skeleton file for benchmark
35703         programs.
35704         * benchtests/exp-inputs: New input file for EXP function.
35705         * benchtests/pow-inputs: New input file for POW function.
35706         * scripts/bench.pl: New script to generate source files for
35707         benchmark programs.
35709 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
35711         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
35712         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
35713         computations on mantissa.  Use macros for rounding and
35714         division.
35715         (denorm): Likewise.
35716         (__dbl_mp): Likewise.
35717         (add_magnitudes): Likewise.
35718         (sub_magnitudes): Likewise.
35719         (__mul): Likewise.
35720         (__sqr): Likewise.
35721         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
35722         powers of two in terms of TWOPOW macro.
35723         (mp_no): Make type of mantissa as MANTISSA_T.
35724         [!RADIXI]: Define RADIXI.
35725         [!TWO52]: Define TWO52.
35726         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
35728         * manual/nptl.texi (cindex): Modify threads to pthreads.
35730 2013-03-15  Joseph Myers  <joseph@codesourcery.com>
35732         * sysdeps/x86_64/preconfigure: Regenerated.
35734 2013-03-14  Joseph Myers  <joseph@codesourcery.com>
35736         [BZ #14155]
35737         * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
35738         0x1p28 and above.
35739         (qzero): Return -0.125 / x for arguments 0x1p28 and above.
35740         * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
35741         0x1p28 and above.
35742         (qzero): Return 0.375 / x for arguments 0x1p28 and above.
35743         * math/libm-test.inc (j0_test): Do not allow one spurious
35744         underflow exception.
35745         (y1_test): Likewise.
35747 2013-03-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
35749         * manual/Makefile (chapters): Add nptl.
35750         * manual/debug.texi (Debugging Support): Add link to Threads
35751         chapter.
35752         * manual/nptl.texi: New file.
35754         * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
35756 2013-03-14  Petr Baudis  <pasky@ucw.cz>
35758         * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
35759         for non-NULL pointer before the memory validity test. Pointed
35760         out by Holger Brunck <holger.brunck@keymile.com>.
35762 2013-03-13  Andreas Schwab  <schwab@suse.de>
35764         * extra-lib.mk (extra-objs): Add static-only-routines as .oS
35765         instead of .os.
35767 2013-03-13  Joseph Myers  <joseph@codesourcery.com>
35769         * timezone/zic.c: Update from tzcode 2013b.
35771 2013-03-12  Carlos O'Donell  <carlos@redhat.com>
35773         * manual/install.texi (Configuring and compiling):
35774         Mention i686 and i586.
35775         * INSTALL: Regenerate.
35777 2013-03-12  Roland McGrath  <roland@hack.frob.com>
35779         * sysdeps/init_array/elf-init.c: New file.
35780         * csu/elf-init.c
35781         (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
35782         (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
35784         * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
35785         __gmon_start__ as global, but as static with a .preinit_array pointer.
35786         * sysdeps/init_array/gmon-start.c: New file.  Use that.
35787         * sysdeps/init_array/crti.S: New file, empty except for comments.
35788         * sysdeps/init_array/crtn.S: Likewise.
35790 2013-03-11  Ondřej Bílka  <neleai@seznam.cz>
35792         * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
35793         definining bcopy.
35794         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
35795         Remove Prefer_SSE_for_memop.
35796         * sysdeps/x86_64/multiarch/init-arch.h: Remove
35797         bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
35798         HAS_PREFER_SSE_FOR_MEMOP.
35799         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
35800         memset-x86-64.
35801         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
35802         Remove bzero, memset ifunc support.
35803         * sysdeps/x86_64/multiarch/bzero.S: Remove file.
35804         * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
35805         * sysdeps/x86_64/multiarch/memset.S: Likewise.
35806         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
35808 2013-03-11  Andreas Schwab  <schwab@suse.de>
35810         [BZ #15234]
35811         * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
35812         by SHLIB_COMPAT.
35813         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
35814         (GLIBC_2.16): Remove pthread_atfork.
35816 2013-03-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
35818         * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
35819         (ptestcases.h): Likewise.
35821 2013-03-08  Roland McGrath  <roland@hack.frob.com>
35823         * Makeconfig ($(common-objpfx)config.status): Depend on
35824         sysdeps/*/preconfigure{,.in} too.
35826 2013-03-08  Joseph Myers  <joseph@codesourcery.com>
35828         * malloc/malloc.h (__malloc_ptr_t): Remove macro.
35829         (__free_hook): Use void * instead of __malloc_ptr_t.
35830         (__malloc_hook): Likewise.
35831         (__realloc_hook): Likewise.
35832         (__memalign_hook): Likewise.
35833         (__after_morecore_hook): Likewise.
35834         * malloc/arena.c (save_malloc_hook): Likewise.
35835         (save_free_hook): Likewise.
35836         * malloc/hooks.c (malloc_hook_ini): Likewise.
35837         (realloc_hook_ini): Likewise.
35838         (memalign_hook_ini): Likewise.
35839         * malloc/malloc.c (malloc_hook_ini): Likewise.
35840         (realloc_hook_ini): Likewise.
35841         (memalign_hook_ini): Likewise.
35842         (__free_hook): Likewise.
35843         (__malloc_hook): Likewise.
35844         (__realloc_hook): Likewise.
35845         (__memalign_hook): Likewise.
35846         (__libc_malloc): Likewise.
35847         (__libc_free): Likewise.
35848         (__libc_realloc): Likewise.
35849         (__libc_memalign): Likewise.
35850         (__libc_valloc): Likewise.
35851         (__libc_pvalloc): Likewise.
35852         (__libc_calloc): Likewise.
35853         (__posix_memalign): Likewise.
35854         * malloc/morecore.c (__sbrk): Likewise.
35855         (__default_morecore): Likewise.
35857         * malloc/morecore.c (__default_morecore): Use ISO C prototype.
35859         * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
35860         * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
35861         __malloc_ptrdiff_t.
35863         * malloc/malloc.h (__malloc_size_t): Remove macro.
35864         * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
35865         __malloc_size_t.
35866         (old_memalign_hook): Likewise.
35867         (old_realloc_hook): Likewise.
35868         (struct hdr): Likewise.
35869         (flood): Likewise.
35870         (mallochook): Likewise.
35871         (memalignhook): Likewise.
35872         (reallochook): Likewise.
35873         * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
35874         (tr_old_realloc_hook): Likewise.
35875         (tr_old_memalign_hook): Likewise.
35876         (tr_mallochook): Likewise.
35877         (tr_reallochook): Likewise.
35878         (tr_memalignhook): Likewise.
35880 2013-03-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35882         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
35883         default_ldbl_pack and using as default implementation.
35884         (ldbl_unpack): Rename to default_ldbl_unpack and using as default
35885         implementation.
35886         * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
35887         redundant definition.
35888         (ldbl_insert_mantissa): Likewise.
35889         (ldbl_canonicalize): Likewise.
35890         (ldbl_nearbyint): Likewise.
35891         (ldbl_pack): Rename to ldbl_pack_ppc.
35892         (ldbl_unpack): Rename to ldbl_unpack_ppc.
35893         * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
35894         * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
35896 2013-03-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
35898         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
35899         * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
35900         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
35901         * sysdeps/powerpc/power4/fpu/Makefile: ... here.
35902         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
35903         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
35904         * sysdeps/powerpc/powerpc32/power4/Implies: New file.
35905         * sysdeps/powerpc/powerpc64/power4/Implies: New file.
35907 2013-03-07  Andreas Jaeger  <aj@suse.de>
35909         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
35910         bits/mman-linux.h.
35912 2013-03-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
35914         * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
35915         Include mpa.h and declare __MPEXP.
35916         [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
35917         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
35918         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
35919         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
35920         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
35921         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
35922         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
35924         * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
35925         (__slowpow): Use long double EXPL and LOGL functions to
35926         compute POW.
35927         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
35928         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
35929         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
35930         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
35931         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
35932         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
35934         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
35935         intermediate variable to calculate exponent.
35936         (__sqr): Likewise.
35937         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
35938         Likewise.
35939         (__sqr): Likewise.
35941         * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
35942         [!NO__SQR]: Define __sqr.
35943         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
35944         and NO__SQR.  Remove all code except __mul and __sqr.  Include
35945         sysdeps/ieee754/dbl-64/mpa.c.
35946         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
35948         [BZ #12723]
35949         * posix/Makefile (tests): Add tst-pathconf.
35950         * posix/tst-pathconf.c: New test case.
35951         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
35952         _PC_PIPE_BUF.
35953         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
35955 2013-03-06  Patsy Franklin  <pfrankli@redhat.com>
35957         * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
35959 2013-03-06  Andreas Jaeger  <aj@suse.de>
35961         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
35962         definition via __MAP_ANONYMOUS.
35964         * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
35965         it's not part of Linux headers.
35967         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
35968         (MAP_HUGE_MASK): Define.
35970         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
35971         Define.
35972         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
35973         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
35974         Define.
35975         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
35976         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
35977         Define.
35978         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
35979         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
35980         Define.
35981         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
35983         * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
35984         * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
35985         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
35986         * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
35987         * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
35988         * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
35990         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
35991         Handle f2fs.
35993         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
35994         Handle f2fs and efivarfs.
35996         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
35997         f2fs.
35999         * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
36000         (EFIVARFS_MAGIC): Add.
36001         (F2FS_LINK_MAX): Add.
36003 2013-03-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
36005         * stdio-common/vfprintf.c: Replace __builtin_expect with
36006         __glibc_unlikely.
36008 2013-03-06  Joseph Myers  <joseph@codesourcery.com>
36010         [BZ #13550]
36011         * sysdeps/generic/bp-sym.h: Remove file.
36012         * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
36013         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
36014         <bp-sym.h> and <bp-asm.h>.
36015         (__longjmp): Don't use BP_SYM.
36016         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
36017         and <bp-asm.h>.
36018         (memcpy): Don't use BP_SYM.
36019         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
36020         <bp-sym.h> and <bp-asm.h>.
36021         (memcpy): Don't use BP_SYM.
36022         * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
36023         <bp-asm.h>.
36024         (memcpy): Don't use BP_SYM.
36025         * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
36026         <bp-asm.h>.
36027         (memset): Don't use BP_SYM.
36028         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
36029         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
36030         (__bzero): Don't use BP_SYM.
36031         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
36032         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
36033         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
36034         <bp-sym.h> and <bp-asm.h>.
36035         (memcmp): Don't use BP_SYM.  Remove comment about bounded
36036         pointers.
36037         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
36038         <bp-sym.h> and <bp-asm.h>.
36039         (memcpy): Don't use BP_SYM.
36040         * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
36041         <bp-sym.h> and <bp-asm.h>.
36042         (memset): Don't use BP_SYM.
36043         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
36044         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
36045         (__bzero): Don't use BP_SYM.
36046         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
36047         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
36048         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
36049         <bp-sym.h> and <bp-asm.h>.
36050         (strncmp): Don't use BP_SYM.  Remove comment about bounded
36051         pointers.
36052         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
36053         <bp-sym.h> and <bp-asm.h>.
36054         (memcpy): Don't use BP_SYM.
36055         * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
36056         <bp-sym.h> and <bp-asm.h>.
36057         (memset): Don't use BP_SYM.
36058         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
36059         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
36060         (__bzero): Don't use BP_SYM.
36061         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
36062         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
36063         * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
36064         <bp-sym.h> and <bp-asm.h>.
36065         (__memchr): Don't use BP_SYM.
36066         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
36067         <bp-sym.h> and <bp-asm.h>.
36068         (memcmp): Don't use BP_SYM.  Remove comment about bounded
36069         pointers.
36070         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
36071         <bp-sym.h> and <bp-asm.h>.
36072         (memcpy): Don't use BP_SYM.
36073         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
36074         <bp-sym.h> and <bp-asm.h>.
36075         (__mempcpy): Don't use BP_SYM.
36076         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
36077         <bp-sym.h> and <bp-asm.h>.
36078         (__memrchr): Don't use BP_SYM.
36079         * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
36080         <bp-sym.h> and <bp-asm.h>.
36081         (memset): Don't use BP_SYM.
36082         (__bzero): Likewise.
36083         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
36084         <bp-sym.h> and <bp-asm.h>.
36085         (__rawmemchr): Don't use BP_SYM.
36086         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
36087         <bp-sym.h> and <bp-asm.h>.
36088         (__STRCMP): Don't use BP_SYM.
36089         * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
36090         <bp-sym.h> and <bp-asm.h>.
36091         (strchr): Don't use BP_SYM.
36092         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
36093         <bp-sym.h> and <bp-asm.h>.
36094         (__strchrnul): Don't use BP_SYM.
36095         * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
36096         <bp-sym.h> and <bp-asm.h>.
36097         (strlen): Don't use BP_SYM.
36098         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
36099         <bp-sym.h> and <bp-asm.h>.
36100         (strncmp): Don't use BP_SYM.  Remove comment about bounded
36101         pointers.
36102         * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
36103         <bp-sym.h> and <bp-asm.h>.
36104         (__strnlen): Don't use BP_SYM.
36105         * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
36106         <bp-sym.h> and <bp-asm.h>.
36107         (__GI__setjmp): Don't use BP_SYM.
36108         (_setjmp): Likewise.
36109         (__sigsetjmp): Likewise.
36110         * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
36111         (L(start_addresses)): Don't use BP_SYM.
36112         (_start): Likewise.
36113         * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
36114         <bp-asm.h>.
36115         (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
36116         STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
36117         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
36118         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
36119         * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
36120         <bp-asm.h>.
36121         (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
36122         CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE.  Remove comment
36123         about bounded pointers.
36124         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
36125         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
36126         * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
36127         <bp-asm.h>.
36128         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
36129         about bounded pointers.  Remove GKM FIXME comments.
36130         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
36131         * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
36132         <bp-asm.h>.
36133         (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
36134         STORE_RETURN_BOUNDS.  Remove comment about bounded pointers.
36135         Remove GKM FIXME comments.
36136         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
36137         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
36138         * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
36139         <bp-asm.h>.
36140         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
36141         about bounded pointers.  Remove GKM FIXME comment.
36142         * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
36143         and <bp-asm.h>.
36144         (strncmp): Don't use BP_SYM.  Remove comment about bounded
36145         pointers.
36146         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
36147         <bp-sym.h> and <bp-asm.h>.
36148         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
36149         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
36150         <bp-sym.h> and <bp-asm.h>.
36151         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
36152         comment.
36154 2013-03-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
36156         * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
36157         call free(NULL).
36159 2013-03-05  David S. Miller  <davem@davemloft.net>
36161         * po/es.po: Update from translation team.
36163 2013-03-05  Andreas Jaeger  <aj@suse.de>
36165         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
36166         <bits/mman-linux.h>.
36167         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
36168         is fine.
36169         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
36170         <bits/mman-linux.h> to end of file.
36171         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
36172         is fine.
36173         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
36174         <bits/mman-linux.h> to end of file.
36175         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
36176         is fine.
36177         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
36178         <bits/mman-linux.h> to end of file.
36180         * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
36181         (MCL_CURRENT, MCL_FUTURE): Define here.
36183 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
36185         [BZ #15232]
36186         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
36187         attribute_hidden.
36188         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
36190 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
36192         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
36193         fourth parameter needed for rt_sigprocmask syscall.
36194         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
36195         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
36196         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
36197         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
36198         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
36199         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
36201 2013-03-04  Joseph Myers  <joseph@codesourcery.com>
36203         [BZ #13550]
36204         * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
36205         comment about bounded pointers.
36206         * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
36207         * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
36209 2013-03-04  Andreas Jaeger  <aj@suse.de>
36211         * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
36212         common definitions.
36214         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
36215         provided by bits/mman-linux.h and include <bits/mman-linux.h>.
36216         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
36217         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
36218         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
36219         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
36221 2013-03-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36223         [BZ #15055]
36224         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
36225         __ieee754_sqrl instead of __sqrl.
36227 2013-03-01  Joseph Myers  <joseph@codesourcery.com>
36229         * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
36230         * sysdeps/powerpc/fpu_control.h: ... here.
36231         * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
36232         * sysdeps/powerpc/bits/fenvinline.h: ... here.
36233         * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
36234         * sysdeps/powerpc/bits/mathinline.h: ... here.
36236 2013-03-01  Roland McGrath  <roland@hack.frob.com>
36238         * elf/dl-hwcaps.c (_dl_important_hwcaps):
36239         Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
36240         to just [NEED_DL_SYSINFO_DSO].
36241         * elf/dl-support.c: Likewise.
36242         * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
36243         * elf/rtld.c (dl_main): Likewise.
36244         * elf/setup-vdso.h (setup_vdso): Likewise.
36245         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
36246         * sysdeps/unix/sysv/linux/dl-sysdep.c
36247         (_dl_discover_osversion): Likewise.
36249 2013-03-01  Carlos O'Donell  <carlos@redhat.com>
36251         * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
36252         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
36254 2013-03-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
36256         * NEWS: Mention libm performance improvements and non-x86 PI
36257         futex support.
36259         * csu/libc-start.c (__pthread_initialize_minimal): Change
36260         function arguments.
36261         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
36263 2013-02-28  Joseph Myers  <joseph@codesourcery.com>
36265         [BZ #13550]
36266         * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
36267         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
36268         <bp-sym.h> and <bp-asm.h>.
36269         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
36270         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
36271         and <bp-asm.h>.
36272         (memcpy): Don't use BP_SYM.
36273         * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
36274         <bp-asm.h>.
36275         (__mpn_add_n): Don't use BP_SYM.
36276         (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
36277         * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
36278         and <bp-asm.h>.
36279         (__mpn_addmul_1): Don't use BP_SYM.
36280         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
36281         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
36282         <bp-sym.h>.
36283         (_setjmp): Don't use BP_SYM.
36284         (__novmx_setjmp): Likewise.
36285         (__GI__setjmp): Likewise.
36286         (__vmx_setjmp): Likewise.
36287         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
36288         <bp-sym.h>.
36289         * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
36290         (__bzero): Don't use BP_SYM.
36291         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
36292         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
36293         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
36294         <bp-sym.h> and <bp-asm.h>.
36295         (memcpy): Don't use BP_SYM.
36296         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
36297         <bp-sym.h> and <bp-asm.h>.
36298         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
36299         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
36300         <bp-sym.h> and <bp-asm.h>.
36301         (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
36302         * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
36303         <bp-asm.h>.
36304         (__mpn_lshift): Don't use BP_SYM.
36305         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
36306         * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
36307         <bp-asm.h>.
36308         (memset): Don't use BP_SYM.
36309         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
36310         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
36311         * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
36312         <bp-asm.h>.
36313         (__mpn_mul_1): Don't use BP_SYM.
36314         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
36315         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
36316         <bp-sym.h> and <bp-asm.h>.
36317         (memcmp): Don't use BP_SYM.
36318         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
36319         <bp-sym.h> and <bp-asm.h>.
36320         (memcpy): Don't use BP_SYM.
36321         * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
36322         <bp-sym.h> and <bp-asm.h>.
36323         (memset): Don't use BP_SYM.
36324         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
36325         <bp-sym.h> and <bp-asm.h>.
36326         (strncmp): Don't use BP_SYM.
36327         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
36328         <bp-sym.h> and <bp-asm.h>.
36329         (memcpy): Don't use BP_SYM.
36330         * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
36331         <bp-sym.h> and <bp-asm.h>.
36332         (memset): Don't use BP_SYM.
36333         * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
36334         <bp-sym.h> and <bp-asm.h>.
36335         (__memchr): Don't use BP_SYM.
36336         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
36337         <bp-sym.h> and <bp-asm.h>.
36338         (memcmp): Don't use BP_SYM.
36339         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
36340         <bp-sym.h> and <bp-asm.h>.
36341         (memcpy): Don't use BP_SYM.
36342         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
36343         <bp-sym.h> and <bp-asm.h>.
36344         (__mempcpy): Don't use BP_SYM.
36345         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
36346         <bp-sym.h> and <bp-asm.h>.
36347         (__memrchr): Don't use BP_SYM.
36348         * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
36349         <bp-sym.h> and <bp-asm.h>.
36350         (memset): Don't use BP_SYM.
36351         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
36352         <bp-sym.h> and <bp-asm.h>.
36353         (__rawmemchr): Don't use BP_SYM.
36354         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
36355         <bp-sym.h> and <bp-asm.h>.
36356         (__STRCMP): Don't use BP_SYM.
36357         * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
36358         <bp-sym.h> and <bp-asm.h>.
36359         (strchr): Don't use BP_SYM.
36360         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
36361         <bp-sym.h> and <bp-asm.h>.
36362         (__strchrnul): Don't use BP_SYM.
36363         * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
36364         <bp-sym.h> and <bp-asm.h>.
36365         (strlen): Don't use BP_SYM.
36366         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
36367         <bp-sym.h> and <bp-asm.h>.
36368         (strncmp): Don't use BP_SYM.
36369         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
36370         <bp-sym.h> and <bp-asm.h>.
36371         (__strnlen): Don't use BP_SYM.
36372         * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
36373         <bp-asm.h>.
36374         (__mpn_rshift): Don't use BP_SYM.
36375         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
36376         * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
36377         <bp-sym.h> and <bp-asm.h>.
36378         (__sigsetjmp): Don't use BP_SYM.
36379         * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
36380         (L(start_addresses)): Don't use BP_SYM.
36381         (_start): Likewise.
36382         * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
36383         <bp-asm.h>.
36384         (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
36385         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
36386         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
36387         * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
36388         <bp-asm.h>.
36389         (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
36390         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
36391         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
36392         * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
36393         <bp-asm.h>.
36394         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
36395         comments.
36396         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
36397         * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
36398         <bp-asm.h>.
36399         (strcpy): Don't use BP_SYM and macros from bp-asm.h.  Remove GKM
36400         FIXME comments.
36401         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
36402         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
36403         * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
36404         <bp-asm.h>.
36405         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
36406         comment.
36407         * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
36408         and <bp-asm.h>.
36409         (strncmp): Don't use BP_SYM,
36410         * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
36411         <bp-asm.h>.
36412         (__mpn_sub_n): Don't use BP_SYM.
36413         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
36414         * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
36415         and <bp-asm.h>.
36416         (__mpn_submul_1): Don't use BP_SYM.
36417         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
36418         * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
36419         <bp-sym.h> and <bp-asm.h>.
36420         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
36421         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
36422         <bp-sym.h> and <bp-asm.h>.
36423         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
36424         comment.
36426 2013-02-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
36428         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
36429         Use ZK to minimize writes to Z.
36430         (sub_magnitudes): Simplify code a bit.
36431         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
36432         Use ZK to minimize writes to Z.
36433         (sub_magnitudes): Simplify code a bit.
36435 2013-02-27  Roland McGrath  <roland@hack.frob.com>
36437         * csu/gmon-start.c: Add special exception to license text.
36439 2013-02-27  Richard Henderson  <rth@redhat.com>
36441         * scripts/config.guess: Update from config.git.
36442         * scripts/config.sub: Likewise.
36444 2013-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
36446         * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
36448         * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
36450         * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
36452         * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
36454         * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
36456 2013-02-26  Roland McGrath  <roland@hack.frob.com>
36458         * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
36459         [$(build-shared = yes].
36461 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
36463         * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
36464         (__mul): Reduce iterations for calculating mantissa.
36466         * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
36467         MPTWO.
36468         (__mpranred): Likewise.
36470         [BZ #15160]
36471         * malloc/memusagestat.c (main): Draw graphs for heap and stack
36472         only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
36474 2013-02-26  Paul Eggert  <eggert@cs.ucla.edu>
36476         * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
36477         Define __attribute__.
36479 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
36481         * locale/elem-hash.h (elem_hash): Mark as pure and possibly
36482         unused.
36483         * posix/regex_internal.h (__attribute): Remove.
36484         [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
36485         (re_string_context_at): Likewise.
36486         (bitset_not): Use __attribute__ and mark function as possibly
36487         unused.
36488         (bitset_merge): Likewise.
36489         (bitset_mask): Likewise.
36490         (re_string_char_size_at): Likewise.
36491         (re_string_wchar_at): Likewise.
36492         (re_string_elem_size_at): Likewise.
36494 2013-02-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
36496         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
36497         code.
36498         (cc32): Likewise.
36500         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
36501         (__acr): Likewise.
36502         (__cpy): Likewise.
36503         (norm): Likewise.
36504         (denorm): Likewise.
36505         (__dbl_mp): Likewise.
36506         (add_magnitudes): Likewise.
36507         (sub_magnitudes): Likewise.
36508         (__mul): Likewise.
36509         (__inv): Likewise.
36511         * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
36512         style.
36514         * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
36515         style.
36517         * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
36518         code.
36520         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
36521         up changes with default code.
36522         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
36523         Likewise.
36525 2013-02-24  Allan McRae  <allan@archlinux.org>
36527         * manual/socket.texi (The Internet Namespace): Order menu items
36528         to match that in the file.
36530         * manual/libc-texinfo.sh: Use @detailmenu around the detailed
36531         node listing of the info page menu.
36533 2013-02-21  Joseph Myers  <joseph@codesourcery.com>
36535         [BZ #13550]
36536         * sysdeps/i386/bp-asm.h: Remove file.
36537         * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
36538         (PARMS): Do not use macros from bp-asm.h.
36539         (S1): Likewise.
36540         (S2): Likewise.
36541         (SIZE): Likewise.
36542         (__mpn_add_n): Do not use BP_SYM
36543         * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
36544         "bp-asm.h".
36545         (PARMS): Do not use macros from bp-asm.h.
36546         (S1): Likewise.
36547         (SIZE): Likewise.
36548         (__mpn_addmul_1): Do not use BP_SYM
36549         * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
36550         "bp-asm.h".
36551         (PARMS): Do not use macros from bp-asm.h.
36552         (SIGMSK): Likewise.
36553         (_setjmp): Likewise.  Do not use BP_SYM.
36554         * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
36555         "bp-asm.h".
36556         (PARMS): Do not use macros from bp-asm.h.
36557         (SIGMSK): Likewise.
36558         (setjmp): Likewise.  Do not use BP_SYM.
36559         * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
36560         "bp-asm.h".
36561         (PARMS): Do not use macros from bp-asm.h.
36562         (__frexp): Do not use BP_SYM.
36563         (frexp): Likewise.
36564         * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
36565         "bp-asm.h".
36566         (PARMS): Do not use macros from bp-asm.h.
36567         (__frexpf): Do not use BP_SYM.
36568         (frexpf): Likewise.
36569         * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
36570         "bp-asm.h".
36571         (PARMS): Do not use macros from bp-asm.h.
36572         (__frexpl): Do not use BP_SYM.
36573         (frexpl): Likewise.
36574         * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
36575         "bp-asm.h".
36576         (PARMS): Do not use macros from bp-asm.h.
36577         (__remquo): Do not use BP_SYM.
36578         (remquo): Likewise.
36579         * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
36580         "bp-asm.h".
36581         (PARMS): Do not use macros from bp-asm.h.
36582         (__remquof): Do not use BP_SYM.
36583         (remquof): Likewise.
36584         * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
36585         "bp-asm.h".
36586         (PARMS): Do not use macros from bp-asm.h.
36587         (__remquol): Do not use BP_SYM.
36588         (remquol): Likewise.
36589         * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
36590         "bp-asm.h".
36591         (PARMS): Do not use macros from bp-asm.h.
36592         (DEST): Likewise.
36593         (SRC): Likewise.
36594         (strcat): Remove GKM FIXME comment.  Do not use BP_SYM.
36595         * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
36596         "bp-asm.h".
36597         (PARMS): Do not use macros from bp-asm.h.
36598         (strlen): Do not use BP_SYM.
36599         * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
36600         "bp-asm.h".
36601         (PARMS): Do not use macros from bp-asm.h.
36602         (S1): Likewise.
36603         (S2): Likewise.
36604         (SIZE): Likewise.
36605         (__mpn_add_n): Do not use BP_SYM.
36606         * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
36607         "bp-asm.h".
36608         (PARMS): Do not use macros from bp-asm.h.
36609         (S1): Likewise.
36610         (SIZE): Likewise.
36611         (__mpn_addmul_1): Do not use BP_SYM.
36612         * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
36613         weak_alias.
36614         (bzero): Likewise.
36615         * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
36616         "bp-asm.h".
36617         (PARMS): Do not use macros from bp-asm.h.
36618         (S): Likewise.
36619         (SIZE): Likewise.
36620         (__mpn_lshift): Do not use BP_SYM.
36621         * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
36622         "bp-asm.h".
36623         (PARMS): Do not use macros from bp-asm.h.
36624         (DEST): Likewise.
36625         (SRC): Likewise.
36626         (LEN): Likewise.
36627         (memcpy): Likewise.  Do not use BP_SYM.
36628         * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
36629         libc_hidden_def and weak_alias.
36630         (mempcpy): Do not use BP_SYM in weak_alias.
36631         * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
36632         "bp-asm.h".
36633         (PARMS): Do not use macros from bp-asm.h.
36634         (DEST): Likewise.
36635         (LEN): Likewise.
36636         [!BZERO_P] (CHR): Likewise.
36637         (memset): Likewise.  Do not use BP_SYM.
36638         * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
36639         "bp-asm.h".
36640         (PARMS): Do not use macros from bp-asm.h.
36641         (S1): Likewise.
36642         (SIZE): Likewise.
36643         (__mpn_mul_1): Do not use BP_SYM.
36644         * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
36645         "bp-asm.h".
36646         (PARMS): Do not use macros from bp-asm.h.
36647         (S): Likewise.
36648         (SIZE): Likewise.
36649         (__mpn_rshift): Do not use BP_SYM.
36650         * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
36651         "bp-asm.h".
36652         (PARMS): Do not use macros from bp-asm.h.
36653         (STR): Likewise.
36654         (CHR): Likewise.
36655         (strchr): Likewise.  Do not use BP_SYM.
36656         (index): Do not use BP_SYM in weak_alias.
36657         * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
36658         "bp-asm.h".
36659         (PARMS): Do not use macros from bp-asm.h.
36660         (DEST): Likewise.
36661         (SRC): Likewise.
36662         (STRCPY): Likewise.  Remove GKM FIXME comment.  Do not use BP_SYM.
36663         * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
36664         "bp-asm.h".
36665         (PARMS): Do not use macros from bp-asm.h.
36666         (strlen): Do not use BP_SYM.
36667         * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
36668         "bp-asm.h".
36669         (PARMS): Do not use macros from bp-asm.h.
36670         (S1): Likewise.
36671         (S2): Likewise.
36672         (SIZE): Likewise.
36673         (__mpn_sub_n): Do not use BP_SYM.
36674         * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
36675         "bp-asm.h".
36676         (PARMS): Do not use macros from bp-asm.h.
36677         (S1): Likewise.
36678         (SIZE): Likewise.
36679         (__mpn_submul_1): Do not use BP_SYM.
36680         * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
36681         "bp-asm.h".
36682         (PARMS): Do not use macros from bp-asm.h.
36683         (S1): Likewise.
36684         (S2): Likewise.
36685         (SIZE): Likewise.
36686         (__mpn_add_n): Do not use BP_SYM.
36687         * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
36688         weak_alias.
36689         (bzero): Likewise.
36690         * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
36691         "bp-asm.h".
36692         (PARMS): Do not use macros from bp-asm.h.
36693         (BLK2): Likewise.
36694         (LEN): Likewise.
36695         (memcmp): Do not use BP_SYM.
36696         (bcmp): Do not use BP_SYM in weak_alias.
36697         * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
36698         "bp-asm.h".
36699         (PARMS): Do not use macros from bp-asm.h.
36700         (DEST): Likewise.
36701         (SRC): Likewise.
36702         (LEN): Likewise.
36703         (memcpy): Likewise.  Do not use BP_SYM.
36704         * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
36705         "bp-asm.h".
36706         (PARMS): Do not use macros from bp-asm.h.
36707         (DEST): Likewise.
36708         (SRC): Likewise.
36709         (LEN): Likewise.
36710         (memmove): Likewise.  Do not use BP_SYM.
36711         * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
36712         "bp-asm.h".
36713         (PARMS): Do not use macros from bp-asm.h.
36714         (DEST): Likewise.
36715         (SRC): Likewise.
36716         (LEN): Likewise.
36717         (__mempcpy): Likewise.  Do not use BP_SYM.
36718         (mempcpy): Do not use BP_SYM in weak_alias.
36719         * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
36720         "bp-asm.h".
36721         (PARMS): Do not use macros from bp-asm.h.
36722         (DEST): Likewise.
36723         (LEN): Likewise.
36724         [!BZERO_P] (CHR): Likewise.
36725         (memset): Likewise.  Do not use BP_SYM.
36726         * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
36727         "bp-asm.h".
36728         (PARMS): Do not use macros from bp-asm.h.
36729         (STR2): Likewise.
36730         (strcmp): Do not use BP_SYM.
36731         * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
36732         "bp-asm.h".
36733         (PARMS): Do not use macros from bp-asm.h.
36734         (STR): Likewise.
36735         (DELIM): Likewise.
36736         [USE_AS_STRTOK_R] (SAVE): Likewise.
36737         (FUNCTION): Likewise.  Do not use BP_SYM.
36738         * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
36739         aliases.
36740         (strtok_r): Likewise.
36741         (__GI___strtok_r): Likewise.
36742         * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
36743         (PARMS): Do not use macros from bp-asm.h.
36744         (S): Likewise.
36745         (SIZE): Likewise.
36746         (__mpn_lshift): Do not use BP_SYM.
36747         * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
36748         (PARMS): Do not use macros from bp-asm.h.
36749         (STR): Likewise.
36750         (CHR): Likewise.
36751         (__memchr): Do not use BP_SYM.
36752         (memchr): Do not use BP_SYM in weak_alias.
36753         * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
36754         (PARMS): Do not use macros from bp-asm.h.
36755         (BLK2): Likewise.
36756         (LEN): Likewise.
36757         (memcmp): Do not use BP_SYM.
36758         (bcmp): Do not use BP_SYM in weak_alias.
36759         * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
36760         (PARMS): Do not use macros from bp-asm.h.
36761         (S1): Likewise.
36762         (SIZE): Likewise.
36763         (__mpn_mul_1): Do not use BP_SYM.
36764         * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
36765         "bp-asm.h".
36766         (PARMS): Do not use macros from bp-asm.h.
36767         (STR): Likewise.
36768         (CHR): Likewise.
36769         (__rawmemchr): Do not use BP_SYM.
36770         (rawmemchr): Do not use BP_SYM in weak_alias.
36771         * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
36772         (PARMS): Do not use macros from bp-asm.h.
36773         (S): Likewise.
36774         (SIZE): Likewise.
36775         (__mpn_rshift): Do not use BP_SYM.
36776         * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
36777         (PARMS): Do not use macros from bp-asm.h.
36778         (SIGMSK): Likewise.
36779         (__sigsetjmp): Likewise.  Do not use BP_SYM.
36780         * sysdeps/i386/start.S: Do not include "bp-sym.h".
36781         (_start): Do not use BP_SYM.
36782         * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
36783         (PARMS): Do not use macros from bp-asm.h.
36784         (DEST): Likewise.
36785         (SRC): Likewise.
36786         (__stpcpy): Likewise.  Do not use BP_SYM.
36787         (stpcpy): Do not use BP_SYM in weak_alias.
36788         * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
36789         "bp-asm.h".
36790         (PARMS): Do not use macros from bp-asm.h.
36791         (DEST): Likewise.
36792         (SRC): Likewise.
36793         (LEN): Likewise.
36794         (__stpncpy): Likewise.  Do not use BP_SYM.
36795         (stpncpy): Do not use BP_SYM in weak_alias.
36796         * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
36797         (PARMS): Do not use macros from bp-asm.h.
36798         (STR): Likewise.
36799         (CHR): Likewise.
36800         (strchr): Likewise.  Do not use BP_SYM.
36801         * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
36802         "bp-asm.h".
36803         (PARMS): Do not use macros from bp-asm.h.
36804         (STR): Likewise.
36805         (CHR): Likewise.
36806         (__strchrnul): Likewise.  Do not use BP_SYM.
36807         (strchrnul): Do not use BP_SYM in weak_alias.
36808         * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
36809         "bp-asm.h".
36810         (PARMS): Do not use macros from bp-asm.h.
36811         (STOP): Likewise.
36812         (strcspn): Do not use BP_SYM.
36813         * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
36814         "bp-asm.h".
36815         (PARMS): Do not use macros from bp-asm.h.
36816         (STR): Likewise.
36817         (STOP): Likewise.
36818         (strpbrk): Likewise.  Do not use BP_SYM.
36819         * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
36820         "bp-asm.h".
36821         (PARMS): Do not use macros from bp-asm.h.
36822         (STR): Likewise.
36823         (CHR): Likewise.
36824         (strrchr): Likewise.  Do not use BP_SYM.
36825         * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
36826         (PARMS): Do not use macros from bp-asm.h.
36827         (SKIP): Likewise.
36828         (strspn): Do not use BP_SYM.
36829         * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
36830         (PARMS): Do not use macros from bp-asm.h.
36831         (STR): Likewise.
36832         (DELIM): Likewise.
36833         (SAVE): Likewise.
36834         (FUNCTION): Likewise.  Do not use BP_SYM.
36835         * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
36836         aliases.
36837         (strtok_r): Likewise.
36838         (__GI___strtok_r): Likewise.
36839         * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
36840         (PARMS): Do not use macros from bp-asm.h.
36841         (S1): Likewise.
36842         (S2): Likewise.
36843         (SIZE): Likewise.
36844         (__mpn_sub_n): Do not use BP_SYM.
36845         * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
36846         "bp-asm.h".
36847         (PARMS): Do not use macros from bp-asm.h.
36848         (S1): Likewise.
36849         (SIZE): Likewise.
36850         (__mpn_submul_1): Do not use BP_SYM.
36851         * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
36852         <bp-sym.h>.
36853         * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
36854         and <bp-asm.h>.
36855         (PARMS): Do not use macros from bp-asm.h.
36856         (FLAGS): Likewise.
36857         (PTID): Likewise.
36858         (TLS): Likewise.
36859         (CTID): Likewise.
36860         (__clone): Do not use BP_SYM.
36861         (clone): Do not use BP_SYM in weak_alias.
36862         * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
36863         and <bp-asm.h>.
36864         (PARMS): Do not use macros from bp-asm.h.
36865         (LEN): Likewise.
36866         (__mmap64): Do not use BP_SYM.
36867         (mmap64): Do not use BP_SYM in weak_alias.
36868         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
36869         <bp-sym.h> and <bp-asm.h>.
36870         (PARMS): Do not use macros from bp-asm.h.
36871         (__posix_fadvise64_l64): Do not use BP_SYM.
36872         * sysdeps/unix/sysv/linux/i386/semtimedop.S
36873         (PARMS): Do not use macros from bp-asm.h.
36874         (NSOPS): Likewise.
36875         (semtimedop): Do not use BP_SYM.
36876         * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
36877         and <bp-asm.h>.
36879 2013-02-21  Allan McRae  <allan@archlinux.org>
36881         * manual/message.texi (Charset conversion in gettext):
36882         Move @end statement to beginning of line.
36884 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
36886         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
36887         static.
36888         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
36889         Likewise.
36891         * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
36892         (denorm): Likewise.
36893         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
36894         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
36896 2013-02-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
36898         * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
36899         tail-call to the resolved function if pltexit isn't needed.
36901 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
36903         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
36904         or Y being zero as being unlikely.
36905         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
36906         Likewise.
36908 2013-02-20  Carlos O'Donell  <carlos@redhat.com>
36910         * manual/nss.texi (System Databases and Name Service Switch):
36911         Remove frobnicate @pxref.
36913 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
36915         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
36916         __attribute__ ((unused)) to __attribute__ ((__unused__)).
36918 2013-02-20  Petr Machata  <pmachata@redhat.com>
36920         * elf/elf.h (R_ARM_TARGET1): New macro.
36921         (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
36922         (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
36923         (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
36924         (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
36925         (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
36926         (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
36927         (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
36928         (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
36929         (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
36930         (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
36931         (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
36932         (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
36933         (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
36934         (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
36935         (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
36936         (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
36937         (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
36938         (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
36939         (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
36940         (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
36941         (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
36942         (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
36943         (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
36944         (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
36945         (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
36946         (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
36947         (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
36948         (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
36949         (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
36950         (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
36951         (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
36952         (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
36953         (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
36954         (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
36955         (R_ARM_THM_GOT_BREL12): Likewise.
36956         (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
36957         (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
36958         (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
36959         (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
36960         (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
36961         (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
36962         (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
36963         (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
36964         (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
36966 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
36968         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
36969         __attribute_used__ to __attribute__ ((unused)).
36971 2013-02-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
36973         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
36974         powerpc mpa.c.
36975         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
36976         comment formatting.
36977         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
36979 2013-02-19  Joseph Myers  <joseph@codesourcery.com>
36981         [BZ #13550]
36982         * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
36983         Remove macro.
36984         (ENTER): Remove both macro definitions.
36985         (LEAVE): Likewise.
36986         (CHECK_BOUNDS_LOW): Likewise.
36987         (CHECK_BOUNDS_HIGH): Likewise.
36988         (CHECK_BOUNDS_BOTH): Likewise.
36989         (CHECK_BOUNDS_BOTH_WIDE): Likewise.
36990         (RETURN_BOUNDED_POINTER): Likewise.
36991         (RETURN_NULL_BOUNDED_POINTER): Likewise.
36992         (PUSH_ERRNO_LOCATION_RETURN): Likewise.
36993         (POP_ERRNO_LOCATION_RETURN): Likewise.
36994         * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
36995         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
36996         * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
36997         macros.
36998         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
36999         * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
37000         * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
37001         * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
37002         * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
37003         * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
37004         * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
37005         * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
37006         * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
37007         * sysdeps/i386/i486/strcat.S (strcat): Likewise.
37008         * sysdeps/i386/i486/strlen.S (strlen): Likewise.
37009         * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
37010         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
37011         * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
37012         removed macros.
37013         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
37014         * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
37015         macros.
37016         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
37017         * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
37018         * sysdeps/i386/i586/memset.S (memset): Likewise.
37019         * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
37020         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
37021         * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
37022         macros.
37023         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
37024         * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
37025         Change uses of L(2) to L(out).
37026         * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
37027         * sysdeps/i386/i586/strlen.S (strlen): Likewise.
37028         * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
37029         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
37030         * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
37031         removed macros.
37032         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
37033         * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
37034         macros.
37035         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
37036         * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
37037         (RETURN): Do not use macro LEAVE.
37038         * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
37039         * sysdeps/i386/i686/memmove.S (memmove): Likewise.
37040         * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
37041         * sysdeps/i386/i686/memset.S (memset): Likewise.
37042         * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
37043         (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
37044         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
37045         * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
37046         Likewise.
37047         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
37048         (FUNCTION): Do not use removed macros.  Combine labels L(1_1),
37049         L(1_2) and L(1_3) into L(1).
37050         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
37051         * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
37052         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
37053         * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
37054         (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
37055         * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
37056         * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
37057         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
37058         * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
37059         macros.
37060         * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
37061         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
37062         * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
37063         * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
37064         * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
37065         (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
37066         * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
37067         * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
37068         * sysdeps/i386/strcspn.S (strcspn): Likewise.
37069         * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
37070         * sysdeps/i386/strrchr.S (strrchr): Likewise.
37071         * sysdeps/i386/strspn.S (strspn): Likewise.
37072         * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
37073         conditional code.
37074         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
37075         (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
37076         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
37077         (FUNCTION): Do not use removed macros.  Combine labels L(1_2) and
37078         L(1_3) into L(1_1).
37079         * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
37080         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
37081         * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
37082         macros.
37083         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
37085 2013-02-19  Jakub Jelinek  <jakub@redhat.com>
37087         * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
37088         macro.
37090 2013-02-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
37092         * math/atest-exp.c (exp_mpn): Remove ROUND.
37093         * math/atest-exp2.c (exp_mpn): Likewise.
37094         * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
37096         * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
37097         * stdlib/tst-tls-atexit-lib.c: Likewise.
37098         * stdlib/tst-tls-atexit.c: Likewise.
37100 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
37102         * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
37103         and __attribute_alloc_size__.
37105 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
37107         * include/programs/xmalloc.h: Change __attribute_alloc_size to
37108         __attribute_alloc_size__.
37109         * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
37110         * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
37112 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
37114         * include/programs/xmalloc.h: New file.
37115         * catgets/gencat.c: Include it.
37116         (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
37117         * elf/pldd.c: Likewise.
37118         * iconv/iconv_charmap.c: Likewise.
37119         * iconv/iconvconfig.c: Likewise.
37120         * iconv/strtab.c: Likewise.
37121         * locale/programs/locale.c: Likewise.
37122         * locale/programs/localedef.h: Likewise.
37123         * locale/programs/simple-hash.c: Likewise.
37124         * nscd/nscd.h: Likewise.
37125         * nss/makedb.c: Likewise.
37126         * sysdeps/generic/ldconfig.h: Likewise.
37128 2013-02-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
37130         * Versions.def: Add GLIBC_2.18.
37131         * include/link.h (struct link_map): New member l_tls_dtor_count.
37132         * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
37133         (__call_tls_dtors): Likewise.
37134         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
37135         __cxa_thread_atexit_impl.
37136         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
37137         Likewise.
37138         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
37139         Likewise.
37140         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
37141         Likewise.
37142         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
37143         Likewise.
37144         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
37145         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
37146         Likewise.
37147         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
37148         Likewise.
37149         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
37150         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
37151         Likewise.
37152         * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
37153         (tests): Add test case tst-tls-atexit.
37154         (modules-names): Add shared library for tst-tls-atexit.
37155         * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
37156         (GLIBC_PRIVATE): Add __call_tls_dtors.
37157         * stdlib/cxa_thread_atexit_impl.c: New file with helper function
37158         for libstdc++.
37159         * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
37160         * stdlib/tst-tls-atexit.c: New test case.
37161         * stdlib/tst-tls-atexit-lib.c: New test case.
37163         * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
37165         * elf/Versions (ld): Add _dl_find_dso_for_object.
37166         * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
37167         * elf/dl-open.c (_dl_find_dso_for_object): New function.
37168         (dl_open_worker): Use _dl_find_dso_for_object.
37169         * elf/dl-sym.c (do_sym): Likewise.
37170         * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
37172 2013-02-18  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
37174         * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
37175         Syntactic changes only.
37176         (_dl_runtime_profile): Do a tail-call to the resolved function.
37178 2013-02-17  Joseph Myers  <joseph@codesourcery.com>
37180         [BZ #13550]
37181         * sysdeps/x86_64/bp-asm.h: Remove file.
37182         * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
37183         <bp-sym.h> and <bp-asm.h>.
37184         (__clone): Do not use BP_SYM.
37185         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
37186         <bp-sym.h> and <bp-asm.h>.
37187         * sysdeps/unix/x86_64/sysdep.S: Likewise.
37188         * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
37189         "bp-asm.h".
37190         (_setjmp): Do not use BP_SYM.
37191         * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
37192         "bp-asm.h".
37193         (setjmp): Do not use BP_SYM.
37194         * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
37195         libc_hidden_def.
37196         (mempcpy): Do not use BP_SYM in weak_alias.
37197         * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
37198         "bp-asm.h".
37199         (strchr): Do not use BP_SYM.
37200         * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
37201         "bp-asm.h".
37202         * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
37203         * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
37204         (_start): Do not use BP_SYM.
37205         * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
37206         "bp-asm.h".
37207         (strcat): Do not use BP_SYM.
37208         * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
37209         "bp-asm.h".
37210         (STRCMP): Do not use BP_SYM.
37211         * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
37212         "bp-asm.h".
37213         (STRCPY): Do not use BP_SYM.
37214         * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
37215         "bp-asm.h".
37216         * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
37217         "bp-asm.h".
37218         (FUNCTION): Do not use BP_SYM.
37219         * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
37220         weak_alias.
37221         (__GI___strtok_r): Do not use BP_SYM in strong_alias.
37223 2013-02-17  Andreas Jaeger  <aj@suse.de>
37225         * time/Versions: Sort entries.
37226         * string/Versions: Likewise.
37227         * resolv/Versions: Likewise.
37228         * posix/Versions: Likewise.
37229         * iconv/Versions: Likewise.
37230         * elf/Versions: Likewise.
37231         * wcsmbs/Versions: Likewise.
37233 2013-02-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
37235         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
37236         loop termination condition.
37238         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
37239         variable to calculate EZ.
37240         (__sqr): Likewise.
37242         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
37243         the lower precision input.
37245 2013-02-15  Joseph Myers  <joseph@codesourcery.com>
37247         [BZ #13550]
37248         * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
37249         [!link-extra-libs] (link-extra-libs-bounded): Likewise.
37250         (run-via-rtld-prefix): Do not handle %-bp tests.
37251         (test-via-rtld-prefix): Do not mention %-bp tests in comment.
37252         (all-object-suffixes): Remove .ob.
37253         (bppfx): Remove variable.
37254         [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
37255         [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
37256         [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
37257         [$(build-bounded) = yes] (libtype.ob): Likewise.
37258         * Makerules (elide-routines.ob): Remove variable.
37259         (do-tests-clean): Do not handle *-bp.out.
37260         (common-mostlyclean): Do not handle *-bp and *-bp.out.
37261         * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
37262         [$(build-bounded) = yes] (xtests-bp.out): Likewise.
37263         (tests): Do not include $(tests-bp.out).
37264         (xtests): Do not include $(xtests-bp.out).
37265         [$(build-bounded) = yes] (binaries-bounded): Remove variable.
37266         [$(build-bounded) = yes] ($(addprefix
37267         $(objpfx),$(binaries-bounded))): Remove rule.
37268         ($(objpfx)%-bp.out): Remove rule.
37269         * config.make.in (build-bounded): Remove variable.
37270         * crypt/Makefile [$(build-bounded) = yes]
37271         ($(tests:%=$(objpfx)%-bp)): Remove dependency.
37272         * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
37273         append to variable.
37274         [$(build-bounded) = yes] (install-lib): Likewise.
37275         [$(build-bounded) = yes] (generated): Likewise.
37276         [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
37277         Remove rule.
37278         * intl/Makefile [$(build-bounded) = yes]
37279         ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
37280         * math/Makefile [$(build-bounded) = yes]
37281         ($(tests:%=$(objpfx)%-bp): Likewise.
37282         * misc/Makefile [$(build-bounded) = yes]
37283         ($(objpfx)tst-tsearch-bp): Likewise.
37284         * nptl/Makeconfig (bounded-thread-library): Remove variable.
37285         * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
37286         Remove dependency.
37287         * string/Makefile (o-objects.ob): Remove variable.
37288         * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
37289         (CFLAGS-.ob): Remove variable.
37290         [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
37291         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
37292         both definitions of variable.
37293         * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
37294         (ASFLAGS-.ob): Remove variable.
37296 2013-02-14  Joseph Myers  <joseph@codesourcery.com>
37298         [BZ #13550]
37299         * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
37300         Remove __BOUNDED_POINTERS__ from condition.
37301         * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
37302         * string/bits/string2.h [!__NO_STRING_INLINES &&
37303         !__BOUNDED_POINTERS__]: Likewise.
37304         * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
37305         Likewise.
37306         * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
37307         Remove conditional code.
37308         * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
37309         __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
37310         !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
37311         condition.
37313         [BZ #13550]
37314         * csu/libc-start.c: Do not include <bp-sym.h>.
37315         [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
37316         * elf/dl-open.c: Do not include <bp-sym.h>.
37317         (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
37318         * math/fegetenv.c: Do not include <bp-sym.h>.
37319         (fegetenv): Do not use BP_SYM in versioned symbols.
37320         * nptl/sysdeps/pthread/bits/libc-lockP.h
37321         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
37322         <bp-sym.h>.
37323         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
37324         (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
37325         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
37326         (__pthread_mutex_destroy): Likewise.
37327         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
37328         (__pthread_mutex_lock): Likewise.
37329         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
37330         (__pthread_mutex_trylock): Likewise.
37331         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
37332         (__pthread_mutex_unlock): Likewise.
37333         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
37334         (__pthread_mutexattr_init): Likewise.
37335         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
37336         (__pthread_mutexattr_destroy): Likewise.
37337         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
37338         (__pthread_mutexattr_settype): Likewise.
37339         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
37340         (__pthread_rwlock_init): Likewise.
37341         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
37342         (__pthread_rwlock_destroy): Likewise.
37343         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
37344         (__pthread_rwlock_rdlock): Likewise.
37345         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
37346         (__pthread_rwlock_tryrdlock): Likewise.
37347         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
37348         (__pthread_rwlock_wrlock): Likewise.
37349         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
37350         (__pthread_rwlock_trywrlock): Likewise.
37351         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
37352         (__pthread_rwlock_unlock): Likewise.
37353         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
37354         (__pthread_key_create): Likewise.
37355         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
37356         (__pthread_setspecific): Likewise.
37357         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
37358         (__pthread_getspecific): Likewise.
37359         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
37360         Likewise.
37361         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
37362         (_pthread_cleanup_push_defer): Likewise.
37363         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
37364         (_pthread_cleanup_pop_restore): Likewise.
37365         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
37366         (pthread_setcancelstate): Likewise.
37367         * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
37368         <bp-sym.h>.
37369         [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
37370         (memchr): Do not use BP_SYM in weak_alias.
37371         * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
37372         (fegetenv): Do not use BP_SYM in versioned symbols.
37373         * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
37374         (fesetenv): Do not use BP_SYM in versioned symbols.
37375         * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
37376         (feupdateenv): Do not use BP_SYM in versioned symbols.
37377         * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
37378         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
37379         * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
37380         (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
37381         (open64): Do not use BP_SYM in weak_alias.
37382         * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
37383         (fegetenv): Do not use BP_SYM in versioned symbols.
37384         * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
37385         (fesetenv): Do not use BP_SYM in versioned symbols.
37386         * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
37387         (feupdateenv): Do not use BP_SYM in versioned symbols.
37388         * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
37389         (fegetexceptflag): Do not use BP_SYM in versioned symbols.
37390         * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
37391         (feraiseexcept): Do not use BP_SYM in versioned symbols.
37392         * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
37393         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
37394         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
37395         <bp-sym.h>.
37396         (__libc_start_main): Do not use BP_SYM.
37398 2013-02-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
37400         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
37401         redundant return line.
37402         (norm): Likewise.
37403         (denorm): Likewise.
37404         (dbl_mp): Likewise.
37405         (sub_magnitudes): Likewise.
37406         (__add): Likewise.
37407         (__sub): Likewise.
37408         (__mul): Likewise.
37409         (__inv): Likewise.
37410         (__dvd): Likewise.
37411         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
37412         (norm): Likewise.
37413         (denorm): Likewise.
37414         (dbl_mp): Likewise.
37415         (sub_magnitudes): Likewise.
37416         (__add): Likewise.
37417         (__sub): Likewise.
37418         (__mul): Likewise.
37419         (__inv): Likewise.
37420         (__dvd): Likewise.
37422         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
37423         instead of __mul.
37424         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
37425         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
37426         (cc32): Likewise.
37428         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
37429         * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
37430         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
37431         of __mul for squares.
37432         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
37433         function
37434         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
37435         Likewise.
37436         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
37437         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
37439 2013-02-13  Joseph Myers  <joseph@codesourcery.com>
37441         [BZ #13550]
37442         * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
37443         code.
37444         * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
37445         prototype or function definition.  Rename ubp_* variables and
37446         parameters.  Remove argv definitions conditional on
37447         [__BOUNDED_POINTERS__].
37448         * debug/backtrace.c (__backtrace): Do not use __unbounded.
37449         * elf/dl-runtime.c (_dl_fixup): Likewise.
37450         * include/set-hooks.h (RUN_HOOK): Likewise.
37451         * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
37452         definition.
37453         * string/strcpy.c (strcpy): Do not use __unbounded.
37454         * sysdeps/generic/frame.h (struct layout): Likewise.
37455         * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
37456         * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
37457         * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
37458         * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
37459         * sysdeps/sparc/backtrace.c (struct layout): Likewise.
37460         (__backtrace): Likewise.
37461         * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
37462         use __ptrvalue.
37463         * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
37464         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
37465         * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
37466         Likewise.
37467         * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
37468         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
37469         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
37470         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
37471         * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
37472         Do not use __unbounded.
37473         * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
37474         Rename __unboundedrlimits parameter to rlimits in prototype.
37475         * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
37476         Do not use __unbounded.
37477         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
37478         not use __ptrvalue.
37479         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
37480         * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
37481         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
37482         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
37483         __ptrvalue or __unbounded.
37484         (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
37485         * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
37486         use __unbounded.
37487         (__new_msgctl): Do not use __ptrvalue.
37488         * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
37489         __unbounded.
37490         (__libc_msgrcv): Do not use __ptrvalue.
37491         * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
37492         startup_info): Do not use __unbounded.
37493         (__libc_start_main): Likewise.  Rename ubp_* variables and
37494         parameters.  Remove argv definitions conditional on
37495         [__BOUNDED_POINTERS__].
37496         * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
37497         __ptrvalue.
37498         * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
37499         use __unbounded.
37500         * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
37501         or __ptrvalue.
37502         * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
37503         use __unbounded.
37504         (__new_shmctl): Do not use __ptrvalue.
37505         * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
37506         * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
37507         Likewise.
37508         * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
37509         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
37510         (__libc_sigaction): Likewise.
37511         * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
37512         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
37513         Likewise.
37514         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
37516 2013-02-13   Ondřej Bílka  <neleai@seznam.cz>
37518         * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
37520         * string/mempcpy.c: Implement by calling memcpy.
37522 2013-02-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
37524         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
37526         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
37527         evaluation.
37529         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
37530         values in the mantissa.
37532         * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
37533         minimize writes to Z.
37534         (sub_magnitudes): Simplify code a bit.
37536 2013-02-12  Roland McGrath  <roland@hack.frob.com>
37538         * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
37539         from the message.  The linker prefixes all warnings with that already.
37541 2013-02-12  Andreas Schwab  <schwab@suse.de>
37543         [BZ #15078]
37544         * posix/regexec.c (extend_buffers): Add parameter min_len.
37545         (check_matching): Pass minimum needed length.
37546         (clean_state_log_if_needed): Likewise.
37547         (get_subexp): Likewise.
37548         * posix/Makefile (tests): Add bug-regex34.
37549         (bug-regex34-ENV): Define.
37550         * posix/bug-regex34.c: New file.
37552         [BZ #11561]
37553         * posix/regcomp.c (parse_bracket_exp): When looking up collating
37554         elements compare against the byte sequence of it, not its name.
37555         * posix/Makefile (tests): Add bug-regex35.
37556         (bug-regex35-ENV): Define.
37557         * posix/bug-regex35.c: New file.
37559 2013-02-11  Tom de Vries  <tom@codesourcery.com>
37561         * string/str-two-way.h:  Fix typo RESULT_TYPE -> RETURN_TYPE in
37562         comment.
37563         Add RET0_IF_0 and CHECK_EOL to macro list in comment.
37564         (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
37565         (CHECK_EOL): Add undef.
37567 2013-02-11   Ondřej Bílka  <neleai@seznam.cz>
37569         * bits/stdlib-bsearch.h: New file.
37570         * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
37571         * stdlib/stdlib.h: Likewise.
37573 2013-02-11  Roland McGrath  <roland@hack.frob.com>
37575         * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
37576         * manual/errno.texi (Error Messages): Fix typo in error_print_progname
37577         declaration.
37578         * manual/search.texi (Array Search Function): Add missing const in
37579         lfind prototype.
37580         * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
37581         declaration to use rlim_t.
37582         (Basic Scheduling Functions): Remove erroneous const from
37583         sched_getparam prototype.  Remove erroneous * from
37584         sched_get_priority_max and sched_get_priority_min prototypes.
37585         (Resource Usage): Fix summary @comment on vtimes to refer to
37586         sys/vtimes.h rather than vtimes.h.
37587         Add missing *s in vtimes prototype.
37588         (Limits on Resources): Fix ulimit prototype to return long int.
37589         * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
37590         prototypes to use long int rather than double.
37591         (BSD Random): Fix initstate and setstate to use char *, not void *.
37592         * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
37593         prototype to make second argument 'struct aiocb64 *const[]'.
37594         Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
37595         (Status of AIO Operations): Remove erroneous const in aio_return and
37596         aio_return64 prototypes.
37597         (Synchronizing I/O): Fix sync prototype to return void.
37598         * manual/startup.texi (Suboptions): Remove an erroneous const in
37599         getsubopt prototype.
37600         * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
37601         * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
37602         use size_t rather than int.
37603         (Scanning All Users): Likewise for getpwent_r.
37604         (Setting Groups): Add missing const to setgroups prototype.
37605         * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
37606         * manual/socket.texi (Host Names): Fix gethostbyaddr and
37607         gethostbyaddr_r prototypes to use socklen_t rather than size_t and
37608         'const void *' rather than 'const char *'.
37609         (Host Address Functions): Likewise for inet_ntop.
37610         (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
37611         (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
37612         ssize_t for return value.
37613         (Sending Data): Likewise for send, sendto, sendmsg.
37614         (Socket Option Functions): Add a missing const in setsockopt prototype.
37615         * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
37616         use wchar_t for the argument.
37617         (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
37618         * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
37619         take no arguments.
37620         (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
37621         double/float/long double for second argument.
37622         Fix return types of significand, significandf, significandl.
37623         * manual/filesys.texi (Setting Permissions): Use mode_t for second
37624         argument in fchmod prototype.
37625         (File Owner): Use uid_t and gid_t in fchown prototype.
37626         (File Times): Add const to utimes, futimes, and lutimes prototypes.
37627         (Making Special Files): Use mode_t and dev_t in mknod prototype.
37628         (Scanning Directory Content): Fix scandir and scandir64 prototypes to
37629         use 'const struct dirent **' as argument types to CMP function pointer
37630         argument.
37631         (Symbolic Links): Fix readlink prototype with ssize_t as return value.
37632         (File Times): Fix summary magic @comment for struct utimbuf and utime
37633         to refer to utime.h, not time.h.
37634         * manual/string.texi (Argz Functions): Add missing const in
37635         argz_extract and argz_next prototypes.
37636         (Finding Tokens in a String): Likewise for basename.
37637         (String/Array Comparison): Fix typo in wcscasecmp prototype.
37638         (Copying and Concatenation): Fix typo in wmemmove prototype.
37639         * manual/signal.texi (Using Pause): Use (void) in pause prototype.
37640         (Signal Stack): Remove erroneous const in sigstack prototype.
37641         * manual/time.texi (Setting an Alarm): Add missing const in setitimer
37642         prototype.
37643         (Simple Calendar Time): Likewise for stime.
37644         * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
37645         prototype.
37646         * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
37647         say sys/sysctl.h instead.
37648         * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
37649         and vsyslog prototypes.
37651 2013-02-11  Tom de Vries  <tom@codesourcery.com>
37653         * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
37654         Remove.
37656 2013-02-11  Roland McGrath  <roland@hack.frob.com>
37658         * misc/sys/mman.h: Fix typo in mremap comment.
37660 2013-02-08  Roland McGrath  <roland@hack.frob.com>
37662         * manual/examples/mkfsock.c (make_named_socket): Don't add one for
37663         the '\0' terminator.
37665 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
37667         [BZ #13550]
37668         * debug/segfault.c: Don't include <bp-checks.h>.
37669         * sysdeps/generic/bp-checks.h: Remove file.
37670         * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
37671         (__GETDENTS): Don't use CHECK_N.
37672         * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
37673         * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
37674         (__getgroups): Don't use CHECK_N.
37675         * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
37676         (setgroups): Don't use CHECK_N.
37677         * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
37678         * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
37679         (__libc_msgrcv): Don't use CHECK_N.
37680         * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
37681         (__libc_msgsnd): Don't use CHECK_N.
37682         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
37683         <bp-checks.h>.
37684         (__libc_pread): Don't use CHECK_N.
37685         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
37686         include <bp-checks.h>.
37687         (__libc_pread64): Don't use CHECK_N.
37688         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
37689         include <bp-checks.h>.
37690         (__libc_pwrite): Don't use CHECK_N.
37691         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
37692         include <bp-checks.h>.
37693         (__libc_pwrite64): Don't use CHECK_N.
37694         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
37695         <bp-checks.h>.
37696         (__libc_pread): Don't use CHECK_N.
37697         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
37698         include <bp-checks.h>.
37699         (__libc_pread64): Don't use CHECK_N.
37700         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
37701         include <bp-checks.h>.
37702         (__libc_pwrite): Don't use CHECK_N.
37703         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
37704         include <bp-checks.h>.
37705         (__libc_pwrite64): Don't use CHECK_N.
37706         * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
37707         (do_pread): Don't use CHECK_N.
37708         * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
37709         (do_pread64): Don't use CHECK_N.
37710         * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
37711         (do_pwrite): Don't use CHECK_N.
37712         * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
37713         (do_pwrite64): Don't use CHECK_N.
37714         * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
37715         (__libc_readv): Don't use CHECK_N.
37716         * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
37717         (semop): Don't use CHECK_N.
37718         * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
37719         <bp-checks.h>.
37720         (semtimedop): Don't use CHECK_N.
37721         * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
37722         (__libc_pread): Don't use CHECK_N.
37723         * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
37724         <bp-checks.h>.
37725         (__libc_pread64): Don't use CHECK_N.
37726         * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
37727         <bp-checks.h>.
37728         (__libc_pwrite): Don't use CHECK_N.
37729         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
37730         <bp-checks.h>.
37731         (__libc_pwrite64): Don't use CHECK_N.
37732         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
37733         <bp-checks.h>.
37734         (__libc_msgrcv): Don't use CHECK_N.
37735         * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
37736         (__sysctl): Don't use CHECK_N.  Remove GKM FIXME comment.
37737         * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
37738         (__libc_writev): Don't use CHECK_N.
37740 2013-02-08  Roland McGrath  <roland@hack.frob.com>
37742         * string/strcpy.c: Removed unused variable.
37744         * Makeconfig (+sysdep-includes): Define with := rather than =.
37745         Use an existing include/ subdir of each sysdeps dir before it.
37747 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
37749         * nscd/connection.c (register_traced_file): Comment function.
37750         [HAVE_INOTIFY] (union __inev): Define.
37751         [HAVE_INOTIFY] (inotify_check_files): New function.
37752         [HAVE_INOTIFY] (clear_db_cache): Likewise.
37753         [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
37754         clear_db_cache.
37755         [HAVE_INOTIFY] (main_loop_epoll): Likewise.
37757 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
37759         * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
37760         loaded if not already and that a failure is permanent.
37762 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
37764         [BZ #15006]
37765         * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
37766         * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
37768 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
37770         [BZ #13550]
37771         * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
37772         (CHECK_1_NULL_OK): Likewise.
37773         * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
37774         (__fxstat): Do not use CHECK_1.
37775         * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
37776         <bp-checks.h>.
37777         (___fxstat64): Do not use CHECK_1.
37778         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
37779         <bp-checks.h>.
37780         (__fxstatat): Do not use CHECK_1.
37781         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
37782         <bp-checks.h>.
37783         (__fxstatat64): Do not use CHECK_1.
37784         * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
37785         <bp-checks.h>.
37786         (__fxstat): Do not use CHECK_1.
37787         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
37788         <bp-checks.h>.
37789         (__fxstatat): Do not use CHECK_1.
37790         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
37791         <bp-checks.h>.
37792         (__getresgid): Do not use CHECK_1.
37793         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
37794         <bp-checks.h>.
37795         (__getresuid): Do not use CHECK_1.
37796         * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
37797         <bp-checks.h>.
37798         (__lxstat): Do not use CHECK_1.
37799         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
37800         <bp-checks.h>.
37801         (__old_msgctl): Do not use CHECK_1.
37802         (__new_msgctl): Likewise.
37803         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
37804         <bp-checks.h>.
37805         (__new_setrlimit): Do not use CHECK_1.
37806         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
37807         <bp-checks.h>.
37808         (__old_shmctl): Do not use CHECK_1.
37809         (__new_shmctl): Likewise.
37810         * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
37811         <bp-checks.h>.
37812         (__xstat): Do not use CHECK_1.
37813         * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
37814         (__lxstat): Do not use CHECK_1.
37815         * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
37816         <bp-checks.h>.
37817         (___lxstat64): Do not use CHECK_1.
37818         * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
37819         (__old_msgctl): Do not use CHECK_1.
37820         (__new_msgctl): Likewise.
37821         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
37822         <bp-checks.h>.
37823         (__gettimeofday): Do not use CHECK_1.
37824         * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
37825         (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
37826         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
37827         <bp-checks.h>.
37828         (__gettimeofday): Do not use CHECK_1.
37829         * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
37830         (__old_shmctl): Do not use CHECK_1_NULL_OK.
37831         (__new_shmctl): Do not use CHECK_1.
37832         * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
37833         <bp-checks.h>.
37834         (do_sigtimedwait): Do not use CHECK_1.
37835         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
37836         <bp-checks.h>.
37837         (do_sigwaitinfo): Do not use CHECK_1.
37838         * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
37839         <bp-checks.h>.
37840         (msgctl): Do not use CHECK_1.
37841         * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
37842         <bp-checks.h>.
37843         (shmctl): Do not use CHECK_1.
37844         * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
37845         (ustat): Do not use CHECK_1.
37846         * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
37847         <bp-checks.h>.
37848         (__fxstat): Do not use CHECK_1.
37849         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
37850         <bp-checks.h>.
37851         (__fxstatat): Do not use CHECK_1.
37852         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
37853         <bp-checks.h>.
37854         (__lxstat): Do not use CHECK_1.
37855         * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
37856         <bp-checks.h>.
37857         (__xstat): Do not use CHECK_1.
37858         * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
37859         (__xstat): Do not use CHECK_1.
37860         * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
37861         (___xstat64): Do not use CHECK_1.
37863         [BZ #13550]
37864         * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
37865         definitions.
37866         (CHECK_BOUNDS_HIGH): Likewise.
37867         * string/strcpy.c: Do not include <bp-checks.h>.
37868         (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
37870 2013-02-07  Roland McGrath  <roland@hack.frob.com>
37872         * nscd/nscd-client.h (__nscd_drop_map_ref):
37873         Add __attribute__ ((unused)).
37874         * nis/nss-nisplus.h (niserr2nss): Likewise.
37876         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
37877         under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
37879         * csu/libc-tls.c (init_static_tls, init_slotinfo):
37880         Remove inline keyword.
37881         * include/rounding-mode.h (round_away): Likewise.
37882         * libio/wfileops.c (adjust_wide_data): Likewise.
37883         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
37884         (__m128i_strloadu_tolower): Likewise.
37885         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
37886         (__m128i_strloadu_tolower): Likewise.
37887         * time/mktime.c (ydhms_diff): Likewise.
37888         * locale/elem-hash.h (elem_hash): Likewise.
37889         * locale/setlocale.c (setdata): Likewise.
37890         * posix/regex_internal.h (re_string_char_size_at): Likewise.
37891         (re_string_wchar_at): Likewise.
37892         (bitset_not, bitset_merge, bitset_mask): Likewise.
37893         [!(__GNUC__ > 3)] (inline): Remove macro.
37894         * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
37895         * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
37896         * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
37897         (_dl_tlsdesc_wake_up_held_fixups): Likewise.
37898         * string/memcmp.c (memcmp_bytes): Likewise.
37899         * locale/programs/locarchive.c (compute_hashval): Likewise.
37900         * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
37901         * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
37902         * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
37903         * nss/getent.c (print_rpc, print_protocols): Likewise.
37904         (print_passwd, print_group, print_aliases): Likewise.
37905         * nis/nss-nisplus.h (niserr2nss): Likewise.
37906         * nscd/connections.c (restart_p): Likewise.
37907         Change return type to bool.
37909 2013-02-05  Roland McGrath  <roland@hack.frob.com>
37911         * Makeconfig (all-Depend-files): Add existing
37912         $(sorted-subdirs:=/Depend) files.
37913         (all-subdirs): Remove nss.
37914         * sysdeps/unix/inet/Subdirs: Add it here instead.
37915         * hesiod/Depend: New file.
37917         * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
37918         instead of calling alloca.
37920         * io/lseek.c (__lseek): Rename to __libc_lseek.
37921         Define __lseek as an alias.
37923         * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
37925 2013-02-04  Carlos O'Donell  <carlos@redhat.com>
37927         * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
37928         else clause and remove check for non-standard endianness.
37930 2013-02-04  David S. Miller  <davem@davemloft.net>
37932         * sysdeps/sparc/fpu/libm-test-ulps: Update.
37934 2013-02-04  Joseph Myers  <joseph@codesourcery.com>
37936         [BZ #13550]
37937         * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
37938         (__ubp_memchr): Remove prototype.
37939         [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
37940         [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
37941         [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
37942         [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
37943         * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
37944         Remove alias.
37945         * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
37946         (__ubp_memchr): Likewise.
37947         * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
37948         (__ubp_memchr): Likewise.
37949         * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
37950         (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
37951         (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
37952         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
37953         CHECK_STRING.
37954         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
37955         * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
37956         (__getcwd): Do not use CHECK_STRING.
37957         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
37958         <bp-checks.h>.
37959         (__real_chown): Do not use CHECK_STRING.
37960         * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
37961         <bp-checks.h>.
37962         (fchownat): Do not use CHECK_STRING.
37963         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
37964         CHECK_STRING.
37965         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
37966         <bp-checks.h>.
37967         (__lchown): Do not use CHECK_STRING.
37968         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
37969         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
37970         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
37971         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
37972         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
37973         include <bp-checks.h>.
37974         (truncate64): Do not use CHECK_STRING.
37975         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
37976         <bp-checks.h>.
37977         (__real_chown): Do not use CHECK_STRING.
37978         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
37979         <bp-checks.h>.
37980         (__lchown): Do not use CHECK_STRING.
37981         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
37982         <bp-checks.h>.
37983         (__chown): Do not use CHECK_STRING.
37984         * sysdeps/unix/sysv/linux/truncate64.c: Do not include
37985         <bp-checks.h>.
37986         (truncate64): Do not use CHECK_STRING.
37987         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
37988         Likewise.
37989         * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
37990         (__xmknod): Do not use CHECK_STRING.
37991         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
37992         <bp-checks.h>.
37993         (__xmknodat): Do not use CHECK_STRING.
37994         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
37995         * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
37997 2013-02-04  Andreas Schwab  <schwab@suse.de>
37999         [BZ #14142]
38000         * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
38001         * include/netdb.h: Likewise for h_errno.
38002         * elf/tst-stackguard1.c: Include <tls.h>.
38004 2013-02-02  Jan Kratochvil  <jan.kratochvil@redhat.com>
38006         * elf/link.h (struct link_map): Extend the l_addr comment.
38007         * include/link.h (struct link_map): Likewise.
38009 2013-02-01  Joseph Myers  <joseph@codesourcery.com>
38011         [BZ #13550]
38012         * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
38013         (BOUNDED_1): Remove macro.
38014         * debug/backtrace.c: Don't include <bp-checks.h>.
38015         (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
38016         (__backtrace): Likewise.
38017         * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
38018         <bp-checks.h>.
38019         (__backtrace): Don't use BOUNDED_1.
38020         * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
38021         <bp-checks.h>.
38022         (__backtrace): Don't use BOUNDED_1.
38023         * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
38024         (__backtrace): Don't use BOUNDED_1.
38025         * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
38026         (shmat): Don't use BOUNDED_N.
38028 2013-01-31  Joseph Myers  <joseph@codesourcery.com>
38030         [BZ #13550]
38031         * sysdeps/generic/bp-start.h: Remove file.
38032         * csu/libc-start.c: Don't include <bp-start.h>.
38033         (LIBC_START_MAIN): Set up __environ directly instead of using
38034         INIT_ARGV_and_ENVIRON.
38035         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
38036         <bp-start.h>.
38038         [BZ #13550]
38039         * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
38040         definitions.
38041         (CHECK_FCNTL): Likewise.
38042         (CHECK_N_PAGES): Likewise.
38044         [BZ #13550]
38045         * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
38046         definitions.
38047         (CHECK_SIGSET_NULL_OK): Likewise.
38048         * sysdeps/unix/sysv/linux/sigpending.c: Don't include
38049         <bp-checks.h>.
38050         (sigpending): Don't use CHECK_SIGSET.
38051         * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
38052         <bp-checks.h>.
38053         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
38054         * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
38055         <bp-checks.h>.
38056         (do_sigsuspend): Don't use CHECK_SIGSET.
38057         * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
38058         use CHECK_SIGSET.
38059         * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
38060         (do_sigwait): Don't use CHECK_SIGSET.
38061         * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
38062         use CHECK_SIGSET.
38063         * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
38064         include <bp-checks.h>.
38065         (sigpending): Don't use CHECK_SIGSET.
38066         * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
38067         include <bp-checks.h>.
38068         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
38069         * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
38070         <bp-checks.h>.
38071         (sigpending): Don't use CHECK_SIGSET.
38072         * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
38073         <bp-checks.h>.
38074         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
38076         [BZ #13550]
38077         * sysdeps/generic/bp-semctl.h: Remove file.
38078         * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
38079         <bp-checks.h> and <bp-semctl.h>.
38080         (__old_semctl): Don't use CHECK_SEMCTL.
38081         (__new_semctl): Likewise.
38082         * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
38083         and <bp-semctl.h>.
38084         (__old_semctl): Don't use CHECK_SEMCTL.
38085         (__new_semctl): Likewise.
38086         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
38087         <bp-checks.h> and <bp-semctl.h>.
38088         (__old_semctl): Don't use CHECK_SEMCTL.
38089         (__new_semctl): Likewise.
38090         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
38091         <bp-checks.h> and <bp-semctl.h>.
38092         (semctl): Don't use CHECK_SEMCTL.
38094         [BZ #13550]
38095         * Makerules (elide-bp-thunks): Remove variable.
38096         (elide-routines.oS): Don't use $(elide-bp-thunks).
38097         (elide-routines.os): Likewise.
38098         (elide-routines.o): Likewise.
38099         (elide-routines.op): Likewise.
38100         (elide-routines.og): Likewise.
38101         (objects): Don't use $(bp-thunks).
38102         * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
38103         include.
38104         (common-generated): Do not add s-proto-bp.d.
38105         * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
38106         (int): Likewise.
38107         (typ): Likewise.
38108         Do not generate makefile rules for bounded-pointer thunks.
38109         * sysdeps/generic/bp-thunks.h: Remove file.
38110         * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
38111         * sysdeps/unix/s-proto-bp.S: Likewise.
38113         [BZ #15062]
38114         * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
38115         parts of result separately when argument is not close to line from
38116         -i to i and one part of argument is small.
38117         * math/k_casinhf.c (__kernel_casinhf): Likewise.
38118         * math/k_casinhl.c (__kernel_casinhl): Likewise.
38119         * math/libm-test.inc (cacos_test): Add more tests.
38120         (casin_test): Likewise.
38121         (casinh_test): Likewise.
38122         * sysdeps/i386/fpu/libm-test-ulps: Update.
38123         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38125 2013-01-31  David S. Miller  <davem@davemloft.net>
38127         * po/de.po: Update from translation team.
38129 2013-01-25  Maxim Kuvyrkov  <maxim.kuvyrkov@gmail.com>
38131         * time/tzfile.c: Include stdint.h for SIZE_MAX.
38133 2013-01-25  Thomas Schwinge  <thomas@codesourcery.com>
38135         * configure.in (_AC_PROG_CC_C89): New definition.
38136         * configure: Regenerate.
38138         * configure.in (AC_PROG_CPP): New definition.
38139         * configure: Regenerate.
38141 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
38143         * debug/tst-backtrace.h: New file.
38144         * debug/tst-backtrace2.c: Include tst-backtrace.h.
38145         (ret): Remove variable.
38146         (x): Likewise.
38147         (FAIL): Remove macro.
38148         (NO_INLINE): Likewise.
38149         (fn1): Use match function instead of strstr.
38150         * debug/tst-backtrace3.c: Include tst-backtrace.h.
38151         (ret): Remove variable.
38152         (x): Likewise.
38153         (FAIL): Remove macro.
38154         (NO_INLINE): Likewise.
38155         (fn): Use match function instead of strstr.
38156         * debug/tst-backtrace4.c: Include tst-backtrace.h.
38157         (ret): Remove variable.
38158         (x): Likewise.
38159         (FAIL): Remove macro.
38160         (NO_INLINE): Likewise.
38161         (handle_signal): Use match function instead of strstr.
38162         * debug/tst-backtrace5.c: Include tst-backtrace.h.
38163         (ret): Remove variable.
38164         (x): Likewise.
38165         (FAIL): Remove macro.
38166         (NO_INLINE): Likewise.
38167         (handle_signal): Use match function instead of strstr.
38169 2013-01-23  Roland McGrath  <roland@hack.frob.com>
38171         * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
38173 2013-01-23  David S. Miller  <davem@davemloft.net>
38175         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
38176         (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
38177         argument of CAS if possible.
38178         * sysdeps/sparc/sparc64/bits/atomic.h
38179         (__arch_compare_and_exchange_val_32_acq): Likewise.
38180         (__arch_compare_and_exchange_val_64_acq): Likewise.
38182 2013-01-23  Pino Toscano  <toscano.pino@tiscali.it>
38184         * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
38185         * sysdeps/posix/ulimit.c: ... this.
38186         Include <limits.h>.
38187         * sysdeps/unix/bsd/ulimit.c: Remove file.
38189 2013-01-23  Adam Conrad  <adconrad@0c3.net>
38191         * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
38192         (LDFLAGS-tst-array5): Likewise.
38194 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
38196         [BZ #15036]
38197         * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
38198         based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
38199         (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
38200         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
38202 2013-01-21  David S. Miller  <davem@davemloft.net>
38204         * sysdeps/sparc/backtrace.c: New file.
38205         * sysdeps/sparc/sparc32/backtrace.h: New file.
38206         * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
38207         * sysdeps/sparc/sparc64/backtrace.h: New file.
38208         * sysdeps/sparc/sparc64/backtrace.c: Delete.
38209         * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
38210         -funwind-tables.
38212 2013-01-21  Andreas Schwab  <schwab@suse.de>
38214         [BZ #15020]
38215         * posix/wordexp.c (exec_comm): Avoid busy loop when command has
38216         closed its stdout.
38218 2013-01-20  Andreas Schwab  <schwab@linux-m68k.org>
38220         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
38221         "mpa2.h".
38222         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
38224 2013-01-18  Joseph Myers  <joseph@codesourcery.com>
38225             Mark Mitchell  <mark@codesourcery.com>
38226             Tom de Vries  <tom@codesourcery.com>
38227             Paul Pluzhnikov  <ppluzhnikov@google.com>
38229         * debug/tst-backtrace2.c: New file.
38230         * debug/tst-backtrace3.c: Likewise.
38231         * debug/tst-backtrace4.c: Likewise.
38232         * debug/tst-backtrace5.c: Likewise.
38233         * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
38234         (CFLAGS-tst-backtrace3.c): Likewise.
38235         (CFLAGS-tst-backtrace4.c): Likewise.
38236         (CFLAGS-tst-backtrace5.c): Likewise.
38237         (LDFLAGS-tst-backtrace2): Likewise.
38238         (LDFLAGS-tst-backtrace3): Likewise.
38239         (LDFLAGS-tst-backtrace4): Likewise.
38240         (LDFLAGS-tst-backtrace5): Likewise.
38241         (tests): Add new tests tst-backtrace2, tst-backtrace3,
38242         tst-backtrace4 and tst-backtrace5.
38244 2013-01-18  Anton Blanchard  <anton@samba.org>
38245             Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
38247         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
38248         __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
38249         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
38250         INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
38251         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
38252         (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
38253         "+r" and remove output regs list as redundant.  Add explicit inline
38254         asm to specify register of return val to work around compiler codegen
38255         bug.  Remove (int) cast on return value.  Add return type parameter to
38256         use in macro so that this macro does not truncate return value for
38257         64-bit values.
38258         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
38259         pass to INTERNAL_VSYSCALL_NCS.
38260         (INLINE_VSYSCALL): Add 'long int' as return type to
38261         INTERNAL_VSYSCALL_NCS macro invocation.
38262         (INTERNAL_VSYSCALL): Add 'long int' as return type to
38263         INTERNAL_VSYSCALL_NCS macro invocation.
38264         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
38266 2013-01-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
38268         [BZ #14496]
38269         * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
38270         Fix application of SIMD FP exception mask.
38272         * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
38273         mp_no from a power of two.
38274         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
38275         __mpexp_twomm1.  Use __pow_mp.
38277         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
38278         multiplication.
38280 2013-01-17  David S. Miller  <davem@davemloft.net>
38282         * sysdeps/sparc/fpu/libm-test-ulps: Update.
38284 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
38286         [BZ #15023]
38287         * include/complex.h: Condition contents on [!_COMPLEX_H].
38288         (__kernel_casinhf): New prototype.
38289         (__kernel_casinh): Likewise.
38290         (__kernel_casinhl): Likewise.
38291         * math/Makefile (libm_calls): Add k_casinh.
38292         * math/k_casinh.c: New file.
38293         * math/k_casinhf.c: Likewise.
38294         * math/k_casinhl.c: Likewise.
38295         * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
38296         finite nonzero arguments.
38297         * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
38298         finite nonzero arguments.
38299         * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
38300         finite nonzero arguments.
38301         * math/s_casinh.c: Do not include <float.h>.
38302         (__casinh): Move code for finite nonzero arguments to k_casinh.c.
38303         * math/s_casinhf.c: Do not include <float.h>.
38304         (__casinhf): Move code for finite nonzero arguments to
38305         k_casinhf.c.
38306         * math/s_casinhl.c: Do not include <float.h>.
38307         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
38308         redefine.
38309         (__casinhl): Move code for finite nonzero arguments to
38310         k_casinhl.c.
38311         * math/libm-test.inc (cacos_test): Add more tests.
38312         * sysdeps/i386/fpu/libm-test-ulps: Update.
38313         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38315 2013-01-17  Pino Toscano  <toscano.pino@tiscali.it>
38317         * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
38318         * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
38319         [!HAVE_MREMAP]: Remove [defined linux] case.
38320         * malloc/arena.c: Do not include <malloc-sysdep.h>.
38322 2013-01-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
38324         * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
38326 2013-01-17  H.J. Lu  <hongjiu.lu@intel.com>
38328         * elf/elf.h (R_386_SIZE32): New relocation.
38329         * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
38330         R_386_SIZE32.
38331         (elf_machine_rela): Likewise.
38332         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
38333         R_X86_64_SIZE64 and R_X86_64_SIZE32.
38335 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
38337         * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
38338         (FP_FAST_FMA): Do not define.
38339         [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
38340         * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
38341         && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
38342         * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
38343         !_SOFT_FLOAT]: Likewise.
38344         * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
38345         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
38346         value.
38347         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
38348         [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
38349         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
38350         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
38351         [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
38352         [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
38353         file.
38355 2013-01-16  Andreas Schwab  <schwab@suse.de>
38357         [BZ #14327]
38358         * include/stdlib.h (__mktemp): Add declaration.
38359         * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
38360         * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
38362 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
38364         * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
38365         definitions.
38366         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
38367         * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
38368         * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
38369         definitions here.
38370         * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
38371         * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
38372         definitions.
38373         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
38374         and ONE.
38375         * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
38376         * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
38377         * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
38378         definitions.
38379         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
38380         * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
38381         definitions.
38382         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
38384         * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
38386 2013-01-15  David S. Miller  <davem@davemloft.net>
38388         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
38389         trunc{,f} to libm-sysdep_routes.
38390         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
38391         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
38392         file.
38393         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
38394         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
38395         file.
38396         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
38397         file.
38398         * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
38399         * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
38400         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
38401         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
38402         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
38403         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
38404         * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
38405         * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
38407         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
38408         nearbyint{,f} to libm-sysdep_routes.
38409         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
38410         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
38411         New file.
38412         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
38413         file.
38414         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
38415         New file.
38416         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
38417         file.
38418         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
38419         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
38420         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
38421         file.
38422         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
38423         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
38424         file.
38425         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
38426         * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
38427         * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
38429         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
38430         libc_feholdexcept and libc_fesetenv.
38432 2013-01-15  Mike Frysinger  <vapier@gentoo.org>
38434         * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
38436 2013-01-14  David S. Miller  <davem@davemloft.net>
38438         * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
38439         (SPARC_ASM_VIS2_IFUNC): Likewise.
38440         (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
38441         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
38442         use of 'siam' instruction.
38443         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
38444         Likewise.
38445         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
38446         Likewise.
38447         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
38448         Likewise.
38449         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
38450         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
38451         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
38452         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
38453         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
38454         file.
38455         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
38456         file.
38457         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
38458         file.
38459         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
38460         file.
38461         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
38462         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
38463         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
38464         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
38465         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
38466         new VIS2 routines.
38467         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
38468         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
38469         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
38470         Likewise.
38471         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
38472         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
38473         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
38474         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
38475         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
38476         routines to libm-sysdep_routines.
38477         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
38479         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
38480         fdim/fdimf to libm-sysdep_routines.
38481         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
38482         file.
38483         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
38484         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
38485         file.
38486         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
38487         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
38488         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
38489         * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
38490         * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
38491         * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
38492         * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
38494 2013-01-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
38496         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
38497         to optimize copies.
38499         * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
38500         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
38501         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
38503         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
38504         local variable MPTWO.
38505         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
38506         Likewise.
38508 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
38510         * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
38511         GLOB_NOESCAPE.
38513 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
38515         * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
38517 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
38519         * manual/pattern.texi (glob_t): Document gl_flags.
38520         (glob64_t): Likewise.
38522 2013-01-11  David S. Miller  <davem@davemloft.net>
38524         * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
38525         * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
38526         (gmp-sysdep_routines): New variable.  Add VIS3 optimized GMP routines.
38527         * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
38528         * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
38529         * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
38530         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
38531         * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
38532         * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
38533         * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
38534         * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
38535         * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
38536         * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
38538         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
38539         sparc V9 rather than using V8 code.
38540         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
38541         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
38543         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
38544         Move to...
38545         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
38546         Here.
38548 2013-01-11  Roland McGrath  <roland@hack.frob.com>
38550         * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
38551         not in the main loop.
38552         * configure: Regenerated.
38554 2013-01-11  Joseph Myers  <joseph@codesourcery.com>
38556         * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
38557         * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
38558         to just #else.
38559         * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise.  Remove
38560         [!__GLIBC_HAVE_LONG_LONG] case.
38561         * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
38562         condition to just #else.
38563         * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
38564         __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
38565         [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
38566         * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
38567         unconditional.
38568         * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
38569         * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
38570         #elif condition to just #else.
38571         * sysdeps/unix/sysv/linux/sys/sysmacros.h
38572         [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
38573         * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
38574         #elif condition to just #else.
38576 2013-01-11  Steve Ellcey  <sellcey@mips.com>
38578         * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
38579         (EF_MIPS_ARCH_64): Fix value.
38580         (EF_MIPS_ARCH_32R2): New.
38581         (EF_MIPS_ARCH_64R2): New.
38583 2013-01-11  H.J. Lu  <hongjiu.lu@intel.com>
38585         * Makeconfig (+link-pie-before-libc): New.
38586         (+link-pie-after-libc): Likewise.
38587         (+link-pie-tests): Likewise.
38588         (+link-pie): Rewritten.
38589         (link-before-libc): Remove $(config-LDFLAGS).
38590         (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
38591         (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
38592         (config-LDFLAGS): Renamed to ...
38593         (rtld-LDFLAGS): This.
38594         (rtld-tests-LDFLAGS): New macro.
38595         (link-libc-rpath-link): Likewise.
38596         (link-libc-tests-rpath-link): Likewise.
38597         (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
38598         (link-libc): Prepand $(link-libc-rpath-link).
38599         (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
38600         (test-program-prefix): New macro.
38601         (test-via-rtld-prefix): Likewise.
38602         (test-program-cmd): Likewise.
38603         (host-test-program-cmd): Likewise.
38604         * Makefile ($(common-objpfx)testrun.sh): Replace
38605         $(run-program-prefix) with $(test-program-prefix).
38606         * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
38607         $(rtld-LDFLAGS).
38608         ($(common-objpfx)shlib.lds): Likewise.
38609         (build-module-helper): Likewise.
38610         ($(common-objpfx)format.lds): Likewise.
38611         * Rules (binaries-pie-tests): New.
38612         (binaries-pie-notests): Likewise.
38613         (binaries-pie): Rewritten.
38614         ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
38615         ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
38616         ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
38617         (make-test-out): Replace $(host-built-program-cmd) with
38618         $(host-test-program-cmd).
38619         * config.make.in (build-hardcoded-path-in-tests): New variable.
38620         * configure.in (--enable-hardcoded-path-in-tests): New configure
38621         option.
38622         (hardcoded_path_in_tests): New AC_SUBST.
38623         * configure: Regenerated.
38624         * catgets/Makefile ($(objpfx)test-gencat.out): Replace
38625         $(built-program-cmd) with $(test-program-cmd).
38626         * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
38627         (test_program_cmd): This.
38628         * elf/Makefile ($(objpfx)order.out): Run test with
38629         $(test-program-prefix).
38630         ($(objpfx)order2.out): Likewise.
38631         ($(objpfx)tst-initorder.out): Likewise.
38632         ($(objpfx)tst-initorder2.out): Likewise.
38633         ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
38634         $(test-program-cmd).
38635         ($(objpfx)tst-array1-static.out): Likewise.
38636         ($(objpfx)tst-array2.out): Likewise.
38637         ($(objpfx)tst-array3.out): Likewise.
38638         ($(objpfx)tst-array4.out): Likewise.
38639         ($(objpfx)tst-array5.out): Likewise.
38640         ($(objpfx)tst-array5-static.out): Likewise.
38641         (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
38642         $(test-program-cmd).
38643         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
38644         $(run-program-prefix) with $(test-program-prefix).
38645         * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
38646         (test_program_prefix): This.
38647         * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
38648         $(run-program-prefix) with $(test-program-prefix).
38649         * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
38650         (test_program_prefix): This.
38651         * iconvdata/tst-tables.sh: Likewise.
38652         * intl/Makefile ($(objpfx)tst-gettext.out): Replace
38653         $(run-program-prefix) with $(test-program-prefix).
38654         ($(objpfx)tst-translit.out): Likewise.
38655         ($(objpfx)tst-gettext2.out): Likewise.
38656         ($(objpfx)tst-gettext4.out): Likewise.
38657         ($(objpfx)tst-gettext6.out): Likewise.
38658         * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
38659         (test_program_prefix): This.
38660         * intl/tst-gettext2.sh: Likewise.
38661         * intl/tst-gettext4.sh  Likewise.
38662         * intl/tst-gettext6.sh: Likewise.
38663         * intl/tst-translit.sh: Likewise.
38664         * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
38665         with $(test-program-cmd).
38666         * libio/Makefile ($(objpfx)test-freopen.out): Replace
38667         $(run-program-prefix) with $(test-program-prefix).
38668         * libio/test-freopen.sh (run_program_prefix): Renamed to ...
38669         (test_program_prefix): This.
38670         * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
38671         $(run-program-prefix) with $(test-program-prefix).
38672         * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
38673         (test_program_prefix): This.
38674         * manual/install.texi: Document --enable-hardcoded-path-in-tests.
38675         * posix/Makefile ($(objpfx)globtest.out): Replace
38676         $(run-via-rtld-prefix) and $(test-wrapper) with
38677         $(test-program-prefix) and $(test-via-rtld-prefix).
38678         ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
38679         $(test-program-prefix).
38680         (tst-exec-ARGS): Replace $(host-built-program-cmd) with
38681         $(host-test-program-cmd).
38682         (tst-spawn-ARGS): Likewise.
38683         ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
38684         $(test-program-prefix).
38685         * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
38686         (test_via_rtld_prefix): This.
38687         (test_wrapper): Renamed to ...
38688         (test_program_prefix): This.
38689         (run_program_prefix): Replaced by test_program_prefix.
38690         * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
38691         (test_program_prefix): This.
38692         * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
38693         with $(host-test-program-cmd).
38694         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
38695         $(run-program-prefix) with $(test-program-prefix).
38696         ($(objpfx)tst-printf.out): Likewise.
38697         ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
38698         $(test-program-cmd).
38699         * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
38700         (test_program_prefix): This.
38701         * stdio-common/tst-unbputc.sh: Likewise.
38702         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
38703         $(run-program-prefix) with $(test-program-prefix).
38704         * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
38705         (test_program_prefix): This.
38706         * string/Makefile ($(objpfx)tst-svc.out):  Replace
38707         $(built-program-cmd) with $(test-program-cmd).
38709 2013-01-11  Andreas Jaeger  <aj@suse.de>
38711         [BZ #15003]
38712         * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
38713         value. Sync with Linux 3.7.
38715 2013-01-10  David S. Miller  <davem@davemloft.net>
38717         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
38718         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
38719         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
38721 2013-01-10  Roland McGrath  <roland@hack.frob.com>
38723         * configure.in (sysnames): Drop use of $m0sub and $msub, which are
38724         never set.
38725         * configure: Regenerated.
38727 2013-01-10  David S. Miller  <davem@davemloft.net>
38729         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
38730         sparc V9 rather than using V8 code.
38731         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
38732         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
38734 2013-01-10  Roland McGrath  <roland@hack.frob.com>
38736         * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
38737         (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
38738         (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
38739         (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
38740         (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
38741         (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
38742         (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
38743         (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
38744         (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
38745         (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
38746         (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
38747         (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
38748         (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
38749         (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
38750         (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
38751         (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
38752         (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
38753         (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
38754         (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
38755         (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
38756         (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
38757         (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
38758         (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
38759         (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
38760         (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
38761         (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
38762         (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
38764 2013-01-10  David S. Miller  <davem@davemloft.net>
38766         * sysdeps/sparc/fpu/libm-test-ulps: Update.
38768 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
38770         * posix/Makefile (tests-static): New variable.
38771         (tests): Add $(tests-static).
38772         (tst-exec-static-ARGS): New variable.
38773         (tst-spawn-static-ARGS): Likewise.
38774         * posix/tst-exec-static.c: New file.
38775         * posix/tst-spawn-static.c: Likewise.
38776         * posix/tst-exec.c: Support run directly.
38777         * posix/tst-spawn.c: Likewise.
38779 2013-01-10  Joseph Myers  <joseph@codesourcery.com>
38781         * elf/link.h (struct dl_phdr_info): Use __extension__ with long
38782         long.
38783         * math/bits/mathcalls.h (llrint): Likewise.
38784         (llround): Likewise.
38785         * stdlib/stdlib.h (struct drand48_data): Likewise.
38786         * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
38787         * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
38788         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
38789         Likewise.
38790         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
38791         Likewise.
38792         * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
38793         (elf_greg_t): Likewise.
38794         * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
38795         (__jmp_buf): Likewise.
38796         * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
38797         definitions.
38798         (llrint): Likewise, for all definitions.
38799         (llrintl): Likewise.
38801         * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
38802         Remove [__GNUC__] condition.
38803         * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
38804         condition to just [__USE_ISOC99].
38805         [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
38807 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
38809         [BZ #14200]
38810         * sysdeps/unix/sysv/linux/x86/bits/environments.h
38811         (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
38812         defined.
38813         (_POSIX_V6_ILP32_OFF32): Likewise.
38814         (_XBS5_ILP32_OFF32): Likewise.
38815         (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
38816         (__ILP32_OFFBIG_LDFLAGS): Likewise.
38818 2013-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
38820         * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
38822         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
38823         doubles __mpexp_twomm1.  Adjust usage.
38824         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
38825         Remove.
38827 2013-01-10  Andreas Schwab  <schwab@suse.de>
38829         [BZ #14964]
38830         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
38831         (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
38833 2013-01-09  David S. Miller  <davem@davemloft.net>
38835         [BZ #15003]
38836         * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS)
38837         (TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT)
38838         (TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS)
38839         (TCP_FASTOPEN): Define.
38840         (tcp_repair_opt): New structure.
38841         (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
38842         enum values.
38843         (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE)
38844         (TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN)
38845         (TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
38846         (tcp_cookie_transactions): New structure.
38848 2013-01-09  Anton Blanchard  <anton@samba.org>
38850         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
38851         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
38852         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
38853         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
38855 2013-01-09  Joseph Myers  <joseph@codesourcery.com>
38857         * include/features.h (__USE_ANSI): Remove.
38859 2013-01-09  Roland McGrath  <roland@hack.frob.com>
38861         * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
38863         * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
38865 2013-01-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
38867         * sysdeps/s390/fpu/libm-test-ulps: Update.
38869         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
38871         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
38872         (__acr): Likewise.
38873         (__cpy): Likewise.
38874         (norm): Likewise.
38875         (denorm): Likewise.
38876         (__mp_dbl): Likewise.
38877         (__dbl_mp): Likewise.
38878         (add_magnitudes): Likewise.
38879         (sub_magnitudes): Likewise.
38880         (__add): Likewise.
38881         (__sub): Likewise.
38882         (__mul): Likewise.
38883         (__inv): Likewise.
38884         (__dvd): Likewise.
38885         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
38886         (__acr): Likewise.
38887         (__cpy): Likewise.
38888         (norm): Likewise.
38889         (denorm): Likewise.
38890         (__mp_dbl): Likewise.
38891         (__dbl_mp): Likewise.
38892         (add_magnitudes): Likewise.
38893         (sub_magnitudes): Likewise.
38894         (__add): Likewise.
38895         (__sub): Likewise.
38896         (__mul): Likewise.
38897         (__inv): Likewise.
38898         (__dvd): Likewise.
38899         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
38900         (__acr): Likewise.
38901         (__cpy): Likewise.
38902         (norm): Likewise.
38903         (denorm): Likewise.
38904         (__mp_dbl): Likewise.
38905         (__dbl_mp): Likewise.
38906         (add_magnitudes): Likewise.
38907         (sub_magnitudes): Likewise.
38908         (__add): Likewise.
38909         (__sub): Likewise.
38910         (__mul): Likewise.
38911         (__inv): Likewise.
38912         (__dvd): Likewise.
38914 2013-01-08  Joseph Myers  <joseph@codesourcery.com>
38916         * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
38917         __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
38918         * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
38919         2 && __USE_EXTERN_INLINES]: Likewise.
38921 2013-01-08  Andreas Jaeger  <aj@suse.de>
38923         [BZ# 14985]
38924         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
38925         Remove.
38926         * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
38927         * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
38929 2013-01-07  Anton Blanchard  <anton@samba.org>
38931         * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
38932         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
38933         * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
38934         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
38935         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
38936         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
38937         * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
38938         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
38939         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
38940         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
38941         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
38942         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
38943         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
38944         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
38945         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
38946         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
38947         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
38948         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
38949         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
38950         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
38951         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
38952         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
38953         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
38954         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
38955         * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
38956         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
38957         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
38958         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
38959         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
38960         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
38961         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
38962         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
38963         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
38964         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
38965         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
38966         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
38967         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
38968         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
38969         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
38970         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
38971         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
38972         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
38973         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
38975 2013-01-07  Joseph Myers  <joseph@codesourcery.com>
38977         * malloc/malloc.h (__MALLOC_P): Remove all definitions.
38978         (__MALLOC_PMT): Likewise.
38979         [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
38980         [__GNUC__], only on [_LIBC].
38981         [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
38982         [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
38983         [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
38984         * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
38985         forward declaration.
38986         (realloc_hook_ini): Likewise.
38987         (memalign_hook_ini): Likewise.
38988         (__libc_memalign): Do not use __MALLOC_PMT in variable
38989         declaration.
38990         (__libc_valloc): Likewise.
38991         (__libc_pvalloc): Likewise.
38992         (__libc_calloc): Likewise.
38993         (__posix_memalign): Likewise.
38995         [BZ #14996]
38996         * math/s_casinh.c: Include <float.h>.
38997         (__casinh): Do not do computation with squaring and square root
38998         for large arguments.
38999         * math/s_casinhf.c: Include <float.h>.
39000         (__casinhf): Do not do computation with squaring and square root
39001         for large arguments.
39002         * math/s_casinhl.c: Include <float.h>.
39003         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
39004         (__casinhl): Do not do computation with squaring and square root
39005         for large arguments.
39006         * math/libm-test.inc (casin_test): Add more tests.
39007         (casinh_test): Likewise.
39008         * sysdeps/i386/fpu/libm-test-ulps: Update.
39009         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39011 2013-01-04  H.J. Lu  <hongjiu.lu@intel.com>
39013         * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
39014         (__x86_64_raw_data_cache_size): Likewise.
39015         (__x86_64_data_cache_size_half): Likewise.
39016         (__x86_64_raw_data_cache_size_half): Likewise.
39017         (__x86_64_shared_cache_size): Likewise.
39018         (__x86_64_raw_shared_cache_size): Likewise.
39019         (__x86_64_shared_cache_size_half): Likewise.
39020         (__x86_64_raw_shared_cache_size_half): Likewise.
39021         * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
39022         to ...
39023         (__x86_data_cache_size): This.
39024         (__x86_64_raw_data_cache_size): Renamed to ...
39025         (__x86_raw_data_cache_size): This.
39026         (__x86_64_data_cache_size_half): Renamed to ...
39027         (__x86_data_cache_size_half): This.
39028         (__x86_64_raw_data_cache_size_half): Renamed to ...
39029         (__x86_raw_data_cache_size_half): This.
39030         (__x86_64_shared_cache_size): Renamed to ...
39031         (__x86_shared_cache_size): This.
39032         (__x86_64_raw_shared_cache_size): Renamed to ...
39033         (__x86_raw_shared_cache_size): This.
39034         (__x86_64_shared_cache_size_half): Renamed to ...
39035         (__x86_shared_cache_size_half): This.
39036         (__x86_64_raw_shared_cache_size_half): Renamed to ...
39037         (__x86_raw_shared_cache_size_half): This.
39038         * sysdeps/x86_64/memcpy.S: Updated.
39039         * sysdeps/x86_64/memset.S: Likewise.
39040         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
39041         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
39042         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
39044 2013-01-04  David S. Miller  <davem@davemloft.net>
39046         * sysdeps/sparc/fpu/libm-test-ulps: Update.
39048 2013-01-04  Andreas Schwab  <schwab@linux-m68k.org>
39050         * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
39051         1 to avoid redefinition warning.
39052         (__USE_GNU): Don't define.
39053         (init_signaling_nan): Protoize.
39055         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
39057 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
39059         * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
39060         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
39061         (__cpymn): Likewise.
39062         (norm): Remove commented code.
39063         (denorm): Likewise.
39064         (__mp_dbl): Likewise.
39065         (__inv): Likewise.
39066         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
39067         (__cpymn): Likewise.
39068         (norm): Remove commented code.
39069         (denorm): Likewise.
39070         (__mp_dbl): Likewise.
39071         (__inv): Likewise.
39073         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
39074         mp_no value for 1.0 and 2.0.
39075         (norm): Use RADIXI instead of radixi.d.
39076         (denorm): Likewise.
39077         (__mul): Use 0.0 instead of zero.d.
39078         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
39079         mp_no value for 1.0 and 2.0.
39080         (norm): Use RADIXI instead of radixi.d.
39081         (denorm): Likewise.
39082         (__mul): Use 0.0 instead of zero.d.
39084 2013-01-04  Joseph Myers  <joseph@codesourcery.com>
39086         [BZ #14994]
39087         * math/s_casinh.c (__casinh): Reduce finite argument to first
39088         quadrant then set signs of results at the end.
39089         * math/s_casinhf.c (__casinhf): Likewise.
39090         * math/s_casinhl.c (__casinhl): Likewise.
39091         * math/libm-test.inc (casin_test): Add more tests.
39092         (casinh_test): Likewise.
39093         * sysdeps/i386/fpu/libm-test-ulps: Update.
39094         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39096 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
39098         * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
39100         * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
39102         * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
39103         declarations.
39104         (denorm): Likewise.
39105         (__mp_dbl): Likewise.
39106         (__inv): Likewise.
39108         * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
39109         and adjust the header comment.
39111         * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
39112         variable name from declaration.
39114 2013-01-03  H.J. Lu  <hongjiu.lu@intel.com>
39116         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
39117         Initialize COMMON_CPUID_INDEX_7 element.
39118         * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
39119         (CPUID_RTM): Likewise.
39120         (HAS_RTM): Likewise.
39121         (COMMON_CPUID_INDEX_7): New enum.
39123 2013-01-03  Andreas Schwab  <schwab@linux-m68k.org>
39125         [BZ #14981]
39126         * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
39127         size is zero, record memory as freed.
39129 2013-01-03  Andreas Jaeger  <aj@suse.de>
39131         * po/ia.po: Add new Interlingua translation.
39133 2012-01-03  Allan McRae  <allan@archlinux.org>
39135         * locale/programs/localedef.c: Fix description of '--posix' flag.
39137 2013-01-02  Joseph Myers  <joseph@codesourcery.com>
39139         * NEWS: Update dates in second copyright notice.
39140         * README: Update copyright dates in example.
39141         * manual/libc.texinfo: Update copyright dates.
39142         * scripts/test-installation.pl: Update copyright date in --version
39143         output.
39145         * hurd/ctty-input.c: Fix copyright notice formatting.
39146         * hurd/ctty-output.c: Likewise.
39147         * hurd/dtable.c: Likewise.
39148         * hurd/hurd-raise.c: Likewise.
39149         * hurd/hurdprio.c: Likewise.
39150         * hurd/msgportdemux.c: Likewise.
39151         * misc/sys/file.h: Likewise.
39152         * misc/sys/ioctl.h: Likewise.
39153         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
39154         * sysdeps/mach/hurd/chdir.c: Likewise.
39155         * sysdeps/mach/hurd/fchdir.c: Likewise.
39156         * sysdeps/mach/hurd/rename.c: Likewise.
39157         * sysdeps/mach/hurd/rmdir.c: Likewise.
39158         * sysdeps/mach/hurd/seekdir.c: Likewise.
39159         * sysdeps/mach/hurd/setsid.c: Likewise.
39160         * sysdeps/posix/wait3.c: Likewise.
39162         * All files with FSF copyright notices: Update copyright dates
39163         using scripts/update-copyrights.
39164         * intl/plural.c: Regenerated.
39165         * locale/programs/charmap-kw.h: Likewise.
39166         * locale/programs/locfile-kw.h: Likewise.
39168 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
39170         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
39171         four values.
39173         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
39174         calculation loop and add branch prediction.
39176         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
39177         check access beyond bounds of m1np.
39179         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
39180         MPTWO.
39181         (__inv): Remove local variable MPTWO to use the global
39182         constant.
39183         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
39184         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
39185         variable MPTWO.
39186         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
39187         MP3HALFS static const.
39189 2013-01-01  David S. Miller  <davem@davemloft.net>
39191         * po/ca.po: Update from translation team.
39193 2013-01-01  Joseph Myers  <joseph@codesourcery.com>
39195         * scripts/update-copyrights: New file.
39196         * Makeconfig: Reformat copyright notice.
39197         * ctype/ctype.h: Likewise.
39198         * debug/swprintf_chk.c: Likewise.
39199         * elf/dl-cache.c: Likewise.
39200         * elf/dl-debug.c: Likewise.
39201         * elf/dl-object.c: Likewise.
39202         * grp/initgroups.c: Likewise.
39203         * hurd/Makefile: Likewise.
39204         * hurd/hurd/signal.h: Likewise.
39205         * hurd/hurdfault.c: Likewise.
39206         * hurd/hurdioctl.c: Likewise.
39207         * hurd/hurdlookup.c: Likewise.
39208         * hurd/intr-msg.c: Likewise.
39209         * iconv/gconv_open.c: Likewise.
39210         * libio/swprintf.c: Likewise.
39211         * locale/lc-ctype.c: Likewise.
39212         * locale/nl_langinfo.c: Likewise.
39213         * mach/Machrules: Likewise.
39214         * mach/Makefile: Likewise.
39215         * malloc/obstack.h: Likewise.
39216         * manual/Makefile: Likewise.
39217         * manual/tsort.awk: Likewise.
39218         * misc/bits/stab.def: Likewise.
39219         * nis/nis_print_group_entry.c: Likewise.
39220         * nis/nis_table.c: Likewise.
39221         * nis/nss_compat/compat-pwd.c: Likewise.
39222         * nis/nss_compat/compat-spwd.c: Likewise.
39223         * po/Makefile: Likewise.
39224         * posix/fnmatch.c: Likewise.
39225         * posix/regex.h: Likewise.
39226         * resolv/Makefile: Likewise.
39227         * resolv/nss_dns/dns-network.c: Likewise.
39228         * resolv/res_hconf.c: Likewise.
39229         * scripts/gen-sorted.awk: Likewise.
39230         * soft-fp/soft-fp.h: Likewise.
39231         * stdio-common/printf.h: Likewise.
39232         * stdlib/monetary.h: Likewise.
39233         * stdlib/random.c: Likewise.
39234         * stdlib/random_r.c: Likewise.
39235         * sysdeps/generic/Makefile: Likewise.
39236         * sysdeps/gnu/Makefile: Likewise.
39237         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
39238         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
39239         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
39240         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
39241         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
39242         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
39243         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
39244         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
39245         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
39246         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
39247         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
39248         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
39249         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
39250         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
39251         * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
39252         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
39253         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
39254         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
39255         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
39256         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
39257         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
39258         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
39259         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
39260         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
39261         * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
39262         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
39263         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
39264         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
39265         * sysdeps/mach/hurd/errnos.awk: Likewise.
39266         * sysdeps/mach/hurd/fork.c: Likewise.
39267         * sysdeps/mach/hurd/getcwd.c: Likewise.
39268         * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
39269         * sysdeps/mach/hurd/mmap.c: Likewise.
39270         * sysdeps/mach/hurd/utimes.c: Likewise.
39271         * sysdeps/mach/hurd/xmknod.c: Likewise.
39272         * sysdeps/posix/profil.c: Likewise.
39273         * sysdeps/posix/readdir_r.c: Likewise.
39274         * sysdeps/powerpc/bits/mathdef.h: Likewise.
39275         * sysdeps/powerpc/bits/setjmp.h: Likewise.
39276         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
39277         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
39278         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
39279         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
39280         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
39281         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
39282         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
39283         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
39284         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
39285         * sysdeps/pthread/lio_listio.c: Likewise.
39286         * sysdeps/sparc/dl-procinfo.h: Likewise.
39287         * sysdeps/unix/i386/sysdep.S: Likewise.
39288         * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
39289         * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
39290         * sysdeps/unix/sysv/linux/getdents.c: Likewise.
39291         * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
39292         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
39293         * sysdeps/unix/sysv/linux/semctl.c: Likewise.
39294         * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
39295         * sysdeps/unix/sysv/linux/speed.c: Likewise.
39296         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
39297         * sysdeps/wordsize-32/divdi3.c: Likewise.
39298         * time/sys/time.h: Likewise.
39299         * wcsmbs/Makefile: Likewise.
39301 2013-01-01  David S. Miller  <davem@davemloft.net>
39303         * po/fr.po: Update from translation team.
39305         * catgets/gencat.c: Update copyright year.
39306         * csu/version.c: Likewise.
39307         * debug/catchsegv.sh: Likewise.
39308         * debug/pcprofiledump.c: Likewise.
39309         * debug/xtrace.sh: Likewise.
39310         * elf/ldconfig.c: Likewise.
39311         * elf/ldd.bash.in: Likewise.
39312         * elf/pldd.c: Likewise.
39313         * elf/sotruss.ksh: Likewise.
39314         * elf/sprof.c: Likewise.
39315         * iconv/iconv_prog.c: Likewise.
39316         * iconv/iconvconfig.c: Likewise.
39317         * locale/programs/locale.c: Likewise.
39318         * locale/programs/localedef.c: Likewise.
39319         * login/programs/pt_chown.c: Likewise.
39320         * malloc/memusage.sh: Likewise.
39321         * malloc/memusagestat.c: Likewise.
39322         * malloc/mtrace.pl: Likewise.
39323         * nscd/nscd.c: Likewise.
39324         * nss/getent.c: Likewise.
39325         * nss/makedb.c: Likewise.
39326         * posix/getconf.c: Likewise.
39328 2012-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
39330         * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
39331         numbers.
39333 2012-12-30  Mike Frysinger  <vapier@gentoo.org>
39335         * math/bits/mathcalls.h (modf): Use __nonnull.
39337 2012-12-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
39339         * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
39340         (split): Use macro CN instead of the bare value.
39341         * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
39342         could be used.
39343         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
39344         instead of the bare value.
39345         (power1): Likewise.
39347 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
39349         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
39350         __ATAN_TWOM.
39351         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
39353         * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
39354         their values.
39355         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
39356         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
39357         * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
39358         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
39360 2012-12-28  Andreas Jaeger  <aj@suse.de>
39362         * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define.  New
39363         values are from Linux 3.7.
39365         * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
39366         (TCPI_OPT_ECN_SEEN): Define.  Sync with Linux 3.7.
39368 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
39370         * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
39371         TRUE case.
39373         * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
39374         (norm): Likewise.
39375         * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
39376         variables with preprocessor constants.
39377         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
39378         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
39379         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
39381 2012-12-27  Bruno Haible  <bruno@clisp.org>
39383         [BZ #14317]
39384         * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
39385         only if needed.
39387 2012-12-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
39389         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
39390         and use variable directly.
39391         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
39393         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
39394         MPONE.
39395         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
39396         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
39397         variable MPONE.
39398         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
39399         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
39400         * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
39401         include directive.  Remove local variable MPONE.
39402         * sysdeps/ieee754/dbl-64/mplog.h: Remove.
39403         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
39404         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
39406 2012-12-25  David S. Miller  <davem@davemloft.net>
39408         * version.h (RELEASE): Set to "development".
39409         (VERSION): Set to "2.17.90".
39410         * NEWS: Add 2.18 section.
39412 2012-12-21  David S. Miller  <davem@davemloft.net>
39414         * po/hr.po: Update from translation team.
39416 2012-12-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
39418         * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
39420 2012-12-19  Steve Ellcey  <sellcey@mips.com>
39422         * NEWS:  Mention new memcpy for MIPS.
39424 2012-12-18  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
39426         * manual/contrib.texi (Contributors): Spelling correction.
39428 2012-12-15  David S. Miller  <davem@davemloft.net>
39430         * po/ru.po: Update from translation team.
39432 2012-12-13  David S. Miller  <davem@davemloft.net>
39434         * NEWS: Mention IFUNC testsuite enhancements.
39436         * po/pl.po: Update from translation team.
39437         * po/bg.po: Likewise.
39439         * manual/contrib.texi (Contributors): Update entries for Hongjiu
39440         Lu and Joseph S. Myers.  Add entry for Marcus Shawcroft.
39442 2012-12-11  David S. Miller  <davem@davemloft.net>
39444         * po/sv.po: Update from translation team.
39446         * po/vi.po: Update from translation team.
39448         * po/cs.po: Update from translation team.
39450         * po/de.po: Update from translation team.
39451         * po/eo.po: Likewise.
39452         * po/nl.po: Likewise.
39454 2012-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
39456         [BZ #14246]
39457         * manual/argp.texi (Argp Helper Functions): Move node to follow
39458         Argp Parsing State.
39460         [BZ #14872]
39461         * manual/conf.texi (Limits on File System Capacity): Mention if
39462         terminating null is included in the max size.
39464 2012-12-10  Andreas Jaeger  <aj@suse.de>
39466         * po/cs.po: Update from translation team.
39468 2012-12-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
39470         * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
39471         void pointer and cast to uintptr_t.
39472         * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
39473         path.
39474         * sysdeps/s390/s390-64/memcpy.S: Likewise.
39475         * sysdeps/s390/s390-64/memset.S: Likewise.
39477 2012-12-08  Benno Schulenberg  <bensberg@justemail.net>
39479         [BZ #14833]
39480         * menual/message.texi (Message Translation): Fix typos.
39481         (Helper programs for gettext): Likewise.
39483 2012-12-07  Andreas Schwab  <schwab@linux-m68k.org>
39485         [BZ #14898]
39486         * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
39487         Change to -1.
39489 2012-12-07  David S. Miller  <davem@davemloft.net>
39491         * po/libc.pot: Update.
39493 2012-12-07  Richard Henderson  <rth@redhat.com>
39495         [BZ #10114]
39496         * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
39497         normal/normal case to before the switch.
39498         (_FP_DIV): Likewise.
39500 2012-12-06  Carlos O'Donell  <carlos@systemhalted.org>
39501             Mike Frysinger  <vapier@gentoo.org>
39503         * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
39504         check for __NR_fadvise64_64.
39506 2012-12-06  Chris Metcalf  <cmetcalf@tilera.com>
39508         * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
39509         0, not just to plain "0" as a statement.
39510         (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
39511         with cw.
39513 2012-12-06  Joseph Myers  <joseph@codesourcery.com>
39515         * NEWS: Use sourceware.org in Bugzilla URL.
39517 2012-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
39519         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
39520         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
39522         * stdio-common/tst-put-error.c (do_test): Add newline to the
39523         padded test to ensure flush.
39525 2012-12-05  Jeff Law  <law@redhat.com>
39527         * sunrpc/etc.rpc (fedfs_admin): Add entry.
39529 2012-12-05  Joseph Myers  <joseph@codesourcery.com>
39531         * README: Don't refer to ports add-on as distributed separately.
39532         Mention AArch64 in list of systems supported in the ports add-on.
39534         * LICENSES: Add more non-FSF copyright and license notices.
39536         * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
39537         ((unused)).
39539         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
39541         * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
39542         10000 as width of padded output.
39544 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
39546         * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
39548         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
39549         variable LX with __attribute__ ((unused)).
39550         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
39551         Likewise.
39552         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
39553         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
39554         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
39555         with __attribute__ ((unused)).
39557 2012-12-04  David S. Miller  <davem@abraco.davemloft.net>
39559         * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
39561 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
39563         * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
39564         (CFLAGS-nldbl-acos.c): New variable.
39565         [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
39566         [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
39567         [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
39568         [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
39569         [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
39570         [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
39571         [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
39572         [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
39573         [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
39574         [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
39575         [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
39576         [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
39577         [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
39578         [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
39579         [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
39580         [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
39581         [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
39582         [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
39583         [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
39584         [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
39585         [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
39586         [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
39587         [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
39588         [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
39589         [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
39590         [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
39591         [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
39592         [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
39593         [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
39594         [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
39595         [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
39596         [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
39597         [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
39598         [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
39599         [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
39600         [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
39601         [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
39602         [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
39603         [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
39604         [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
39605         [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
39606         [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
39607         [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
39608         [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
39609         [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
39610         [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
39611         [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
39612         [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
39613         [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
39614         [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
39615         [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
39616         [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
39617         [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
39618         [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
39619         [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
39620         [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
39621         [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
39622         [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
39623         [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
39624         [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
39625         [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
39626         [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
39627         [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
39628         [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
39629         [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
39630         [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
39631         [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
39632         [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
39633         [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
39634         [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
39635         [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
39636         [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
39637         [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
39638         [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
39639         [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
39640         [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
39641         [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
39642         [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
39643         [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
39644         [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
39645         [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
39646         [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
39647         [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
39648         [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
39649         [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
39650         [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
39651         [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
39652         [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
39653         [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
39654         [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
39655         [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
39656         [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
39657         [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
39658         [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
39659         [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
39660         [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
39661         [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
39663         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
39664         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
39666         [BZ #14914]
39667         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
39668         whole low double instead of just low 47 bits when splitting values
39669         into two parts.
39671 2012-12-03  Allan McRae  <allan@archlinux.org>
39673         * manual/stdio.texi (Predefined Printf Handlers): Remove
39674         @hsep and @vsep usage.
39676 2012-12-03  Mike Frysinger  <vapier@gentoo.org>
39678         * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
39679         * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
39681 2012-12-03  Jeff Law  <law@redhat.com>
39683         * time/sys/time.h (settimeofday): Do not mark TV argument
39684         as __nonnull.
39686 2012-12-01  Mike Frysinger  <vapier@gentoo.org>
39688         * libio/fileops.c (_IO_new_file_close_it): Do not always flush
39689         when currently writing and seek to current position when not.
39690         * libio/Makefile (tests): Remove bug-fclose1.
39691         * libio/bug-fclose1.c: Delete.
39693 2012-12-01  Joseph Myers  <joseph@codesourcery.com>
39695         * manual/arith.texi (feenableexcept): Fix typo.
39696         (fedisableexcept): Likewise.
39698 2012-11-30  Roland McGrath  <roland@hack.frob.com>
39700         * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
39701         second, differently-typed declaration, rather than a cast.
39703 2012-11-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
39705         * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
39706         * include/rpc/svc.h: ... here.
39708 2012-11-30  Aurelien Jarno  <aurel32@debian.org>
39710         [BZ #13013]
39711         * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
39712         depending n and resplen2 to catch cases where answer
39713         equals answerp2.
39715 2012-11-29  Carlos O'Donell  <carlos@systemhalted.org>
39717         * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
39718         for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
39720 2012-11-29  Mike Frysinger  <vapier@gentoo.org>
39722         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
39724 2012-11-29  Roland McGrath  <roland@hack.frob.com>
39726         * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
39728 2012-11-28  Jeff Law  <law@redhat.com>
39730         [BZ #13761]
39731         * nscd/grpcache.c (cache_addgr): Rename alloca_used to
39732         dataset_temporary.  Track alloca usage into alloca_used.
39733         If dataset is large allocate and release it via malloc/free.
39735 2012-06-04  Florian Weimer  <fweimer@redhat.com>
39737         [BZ #14197]
39738         * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
39740 2012-11-28  David S. Miller  <davem@davemloft.net>
39742         * sysdeps/sparc/fpu/libm-test-ulps: Update.
39744 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
39746         [BZ #14803]
39747         * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
39748         of pi/2 rounded to nearest to 64 bits.
39749         (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
39750         nearest to 64 bits.
39751         (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
39752         bits.
39754 2012-11-28  Jeff Law <law@redhat.com>
39755             Martin Osvald <mosvald@redhat.com>
39757         [BZ #14889]
39758         * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
39759         * sunrpc/svc.c: Include time.h.
39760         (__svc_accept_failed): New function.
39761         * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
39762         any reason other than EINTR, call __svc_accept_failed.
39763         * sunrpc/svc_udp.c (svcudp_recv): Similarly.
39764         * sunrpc/svc_unix.c (rendezvous_request): Similarly.
39766 2012-11-28  Andreas Schwab  <schwab@suse.de>
39768         * scripts/abilist.awk: Also handle indirect functions in .opd
39769         section.
39771 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
39773         [BZ #13881]
39774         * sysdeps/x86/fpu/powl_helper.c: New file.
39775         * sysdeps/x86/fpu/Makefile: Likewise.
39776         * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
39777         (p3): New object.
39778         (__ieee754_powl): Use __powl_helper for finite arguments except
39779         integer exponents below 8.
39780         * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
39781         (p3): New object.
39782         (__ieee754_powl): Use __powl_helper for finite arguments except
39783         integer exponents below 8.
39784         * math/libm-test.inc (pow_test): Add more tests and enable some
39785         previously disabled tests.
39786         * sysdeps/i386/fpu/libm-test-ulps: Update.
39787         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39789 2012-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
39790             Carlos O'Donell  <carlos_odonell@mentor.com>
39792         * nss/makedb.c (is_prime): Assert that input is odd and greater
39793         than 4.  Note that fact in a comment too.
39794         (next_prime): Add 4 to input.
39796 2012-11-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
39798         [BZ #11741]
39799         * libio/Makefile (tests): Add test case tst-fwrite-error.
39800         * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
39801         * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
39802         * libio/tst-fwrite-error.c: New test case.
39804 2012-11-26  H.J. Lu  <hongjiu.lu@intel.com>
39806         * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
39807         before casting to void *.
39808         * include/libc-internal.h (__pointer_type): New macro.
39809         (__integer_if_pointer_type_sub): Likewise.
39810         (__integer_if_pointer_type): Likewise.
39811         (cast_to_integer): Likewise.
39812         * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
39813         (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
39814         before casting to atomic64_t.
39815         (atomic_exchange_acq): Likewise.
39816         (__arch_exchange_and_add_body): Likewise.
39817         (__arch_add_body): Likewise.
39818         (atomic_add_negative): Likewise.
39819         (atomic_add_zero): Likewise.
39821 2012-11-26  Joseph Myers  <joseph@codesourcery.com>
39823         * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
39824         (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
39825         (add_fdes): Likewise.
39826         (linear_search_fdes): Likewise.
39827         (binary_search_unencoded_fdes): Likewise.
39829 2012-11-26  Andreas Schwab  <schwab@linux-m68k.org>
39831         * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
39833 2012-11-24  Adam Conrad  <adconrad@0c3.net>
39835         * configure.in: Autodetect C++ header directories.
39836         * configure: Regenerated.
39838 2012-11-23  Mike Frysinger  <vapier@gentoo.org>
39840         * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
39842 2012-11-23  Andreas Schwab  <schwab@linux-m68k.org>
39844         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
39846 2012-11-22  Joseph Myers  <joseph@codesourcery.com>
39848         * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
39849         LDBL_MANT_DIG == 106]: Disable some tests.
39850         (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
39851         Likewise.
39852         (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
39853         Likewise.
39855         [BZ #14871]
39856         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
39857         input for small inputs.  Return +/- pi/2 for large inputs.
39858         * math/libm-test.inc (atan_test): Add more tests.
39860         * sysdeps/generic/unwind-dw2-fde-glibc.c
39861         (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
39862         __attribute__ ((unused)).
39864         [BZ #14645]
39865         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
39866         x * y if x and y are nonzero and z is zero.
39868         [BZ #14811]
39869         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
39870         nonzero exponents with absolute value below 0x1p-117 to +/-
39871         0x1p-117.
39873         [BZ #14869]
39874         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
39875         up arguments below 2**-450, not just those below 2**-500.
39876         * math/libm-test.inc (hypot_test): Add another test.
39878         [BZ #14868]
39879         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
39880         Return a+b for ratio over 2**120, not 2**60.
39881         * math/libm-test.inc (hypot_test): Add another test.
39883         * math/libm-test.inc (clog_test): Use
39884         UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
39885         (clog10_test): Likewise.
39887         [BZ #6778]
39888         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
39890 2012-11-22  Andreas Schwab  <schwab@suse.de>
39892         * sysdeps/i386/fpu/libm-test-ulps: Update.
39894 2012-11-22  Pino Toscano  <toscano.pino@tiscali.it>
39896         * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
39897         printf output with newline.
39899 2012-11-21  H.J. Lu  <hongjiu.lu@intel.com>
39901         [BZ #14865]
39902         * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
39903         * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
39904         -z nodlopen, -z initfirst and -z execstack support.
39905         * configure: Regenerated.
39907         * elf/elf.h (DF_1_NODIRECT): New macro.
39908         (DF_1_IGNMULDEF): Likewise.
39909         (DF_1_NOKSYMS): Likewise.
39910         (DF_1_NOHDR): Likewise.
39911         (DF_1_EDITED): Likewise.
39912         (DF_1_NORELOC): Likewise.
39913         (DF_1_SYMINTPOSE): Likewise.
39914         (DF_1_GLOBAUDIT): Likewise.
39915         (DF_1_SINGLETON): Likewise.
39916         * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
39917         DT_1_SUPPORTED_MASK bits.
39918         * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
39920 2012-11-20  Carlos O'Donell  <carlos_odonell@mentor.com>
39922         * sysdeps/unix/make-syscalls.sh: Document prefixes.
39924 2012-11-20  Thomas Schwinge  <thomas@codesourcery.com>
39926         * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
39927         macro.
39929         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
39930         (sendmmsg): Move declarations...
39931         * socket/sys/socket.h: ... here.
39932         * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
39933         !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
39934         include it from...
39935         * socket/recvmmsg.c: ... this new file.
39936         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
39937         (sendmmsg): Rename to __sendmmsg, create weak alias and make
39938         definition of __sendmmsg hidden.
39939         * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
39940         [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
39941         Move ENOSYS stub into and include it from...
39942         * socket/sendmmsg.c: ... this new file.
39943         * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
39944         (sysdep_routines): Move recvmmsg and sendmmsg...
39945         * socket/Makefile (routines): ... here.
39946         * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
39947         (GLIBC_PRIVATE): Add __sendmmsg.
39948         * include/sys/socket.h (__sendmmsg): Add declarations.
39949         * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
39950         sendmmsg.
39952 2012-11-20  Joseph Myers  <joseph@codesourcery.com>
39954         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
39955         variable I1 with __attribute__ ((unused)).
39956         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
39958 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
39960         * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
39961         DUMMY variables with __attribute__ ((unused)).
39963         * bits/byteswap.h: Include <bits/types.h>.
39964         (__bswap_64): Use __uint64_t instead of unsigned long long int.
39966 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
39968         * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
39969         string_t.  Do not manually set errno.
39970         (__ptsname_r): Change the type of PEERNAME to string_t, and check its
39971         length with __strnlen.  Make sure to both set errno and return it on
39972         failure.
39974 2012-11-19  David S. Miller  <davem@davemloft.net>
39976         With help from Joseph Myers.
39977         * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
39978         very large arguments properly.
39979         * math/libm-test.inc (atan_test): New tests.
39980         (atan2_test): New tests.
39981         * sysdeps/sparc/fpu/libm-test-ulps: Update.
39982         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
39984 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
39986         [BZ #14856]
39987         * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
39988         Define to 3.
39990         * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
39991         [POSIX] (EADDRNOTAVAIL): Likewise.
39992         [POSIX] (EAFNOSUPPORT): Likewise.
39993         [POSIX] (EALREADY): Likewise.
39994         [POSIX] (ECONNABORTED): Likewise.
39995         [POSIX] (ECONNREFUSED): Likewise.
39996         [POSIX] (ECONNRESET): Likewise.
39997         [POSIX] (EDESTADDRREQ): Likewise.
39998         [POSIX] (EDQUOT): Likewise.
39999         [POSIX] (EHOSTUNREACH): Likewise.
40000         [POSIX] (EIDRM): Likewise.
40001         [POSIX] (EISCONN): Likewise.
40002         [POSIX] (ELOOP): Likewise.
40003         [POSIX] (EMULTIHOP): Likewise.
40004         [POSIX] (ENETDOWN): Likewise.
40005         [POSIX] (ENETUNREACH): Likewise.
40006         [POSIX] (ENOBUFS): Likewise.
40007         [POSIX] (ENODATA): Likewise.
40008         [POSIX] (ENOLINK): Likewise.
40009         [POSIX] (ENOMSG): Likewise.
40010         [POSIX] (ENOPROTOOPT): Likewise.
40011         [POSIX] (ENOSR): Likewise.
40012         [POSIX] (ENOSTR): Likewise.
40013         [POSIX] (ENOTCONN): Likewise.
40014         [POSIX] (ENOTSOCK): Likewise.
40015         [POSIX] (EOPNOTSUPP): Likewise.
40016         [POSIX] (EOVERFLOW): Likewise.
40017         [POSIX] (EPROTO): Likewise.
40018         [POSIX] (EPROTONOSUPPORT): Likewise.
40019         [POSIX] (EPROTOTYPE): Likewise.
40020         [POSIX] (ESTALE): Likewise.
40021         [POSIX] (ETIME): Likewise.
40022         [POSIX] (ETXTBSY): Likewise.
40023         [POSIX] (EWOULDBLOCK): Likewise.
40024         [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
40025         * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
40026         [POSIX] (SEEK_CUR): Likewise.
40027         [POSIX] (SEEK_END): Likewise.
40028         [POSIX || UNIX98] (mode_t): Do not require.
40029         [POSIX] (off_t): Likewise.
40030         [POSIX] (pid_t): Likewise.
40031         [POSIX] (sys/stat.h): Do not allow header.
40032         [POSIX] (unistd.h): Likewise.
40033         [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
40034         [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
40035         [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
40036         * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
40037         require.
40038         * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
40039         sigevent): Specify elements.
40040         [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
40041         entry.
40042         [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
40043         [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
40045         * conform/data/cpio.h-data [POSIX]: Disable whole file.
40046         * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
40047         * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
40048         (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
40049         [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
40050         [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
40051         [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
40052         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
40053         [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
40054         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
40055         [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
40056         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
40057         [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
40058         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
40059         Likewise.
40060         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
40061         Likewise.
40062         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
40063         Likewise.
40064         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
40065         Likewise.
40066         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
40067         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
40068         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
40069         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
40070         [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
40071         Specify lower bound on value.
40072         [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
40073         [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
40074         [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
40075         [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
40076         [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
40077         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
40078         [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
40079         [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
40080         value.
40081         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
40082         as optional.
40083         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
40084         [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
40085         [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
40086         [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
40087         [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
40088         [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
40089         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
40090         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
40091         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
40092         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
40093         [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
40094         [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
40095         [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
40096         [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
40097         [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
40098         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
40099         entry.
40100         [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
40101         optional.
40102         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
40103         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
40104         [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
40105         [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
40106         [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
40107         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
40108         Likewise.
40109         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
40110         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
40111         [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
40112         [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
40113         [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise.  Give
40114         value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
40115         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
40116         as optional.
40117         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
40118         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
40119         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
40120         [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
40121         Likewise.  Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
40122         [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
40123         specify as optional.
40124         [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
40125         [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
40126         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
40127         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
40128         [POSIX || XPG3] (NL_ARGMAX): Do not allow.
40129         [XPG3] (NL_LANGMAX): Likewise.
40130         [POSIX || XPG3] (NL_MSGMAX): Likewise.
40131         [POSIX || XPG3] (NL_NMAX): Likewise.
40132         [POSIX || XPG3] (NL_SETMAX): Likewise.
40133         [POSIX || XPG3] (NL_TEXTMAX): Likewise.
40134         [XPG3] (NZERO): Likewise.
40135         [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
40136         [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
40137         [!ISO && !ISO99 && !ISO11] (*_t): Allow.
40138         * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
40139         (REG_ERANGE): Expect.
40140         * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
40141         optional-constant.
40142         [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
40143         Use (void) in prototype.
40144         [POSIX] (*_t): Allow.
40145         * conform/data/sys/times.h-data [POSIX]: Enable whole file.
40146         * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
40147         (WRDE_BADVAL): Expect.
40149         * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
40150         expect.
40151         [XPG3 || XPG4] (O_RSYNC): Likewise.
40152         * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
40153         Likewise.
40154         [XPG3 || XPG4] (pthread_sigmask): Likewise.
40155         [XPG3 || XPG4] (sigqueue): Likewise.
40156         [XPG3 || XPG4] (sigtimedwait): Likewise.
40157         [XPG3 || XPG4] (sigwaitinfo): Likewise.
40158         * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
40159         [XPG3 || XPG4] (vsnprintf): Likewise.
40160         * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
40161         Likewise.
40162         [XPG3 || XPG4] (blksize_t): Likewise.
40163         * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
40164         Likewise.
40165         [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
40166         [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
40167         [XPG3 || XPG4] (struct itimerspec): Likewise.
40168         [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
40169         [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
40170         [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
40171         [XPG3 || XPG4] (clockid_t): Likewise.
40172         [XPG3 || XPG4] (timer_t): Likewise.
40173         [XPG3 || XPG4] (clock_getres): Likewise.
40174         [XPG3 || XPG4] (clock_gettime): Likewise.
40175         [XPG3 || XPG4] (clock_settime): Likewise.
40176         [XPG3 || XPG4] (nanosleep): Likewise.
40177         [XPG3 || XPG4] (timer_create): Likewise.
40178         [XPG3 || XPG4] (timer_delete): Likewise.
40179         [XPG3 || XPG4] (timer_gettime): Likewise.
40180         [XPG3 || XPG4] (timer_getoverrun): Likewise.
40181         [XPG3 || XPG4] (timer_settime): Likewise.
40182         * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
40183         [XPG3 || XPG4] (getlogin_r): Likewise.
40184         [XPG3 || XPG4] (pread): Likewise.
40185         [XPG3 || XPG4] (pthread_atfork): Likewise.
40186         [XPG3 || XPG4] (pwrite): Likewise.
40188         [BZ #14835]
40189         * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
40190         <bits/siginfo.h>.
40192 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
40194         * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
40195         finalizing MALLSTREAM.
40197         * sysdeps/mach/hurd/syncfs.c: New file.
40199 2012-11-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
40201         [BZ #14719]
40202         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
40203         NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
40204         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
40205         h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
40206         (_nss_dns_gethostbyname4_r): Likewise.
40207         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
40208         EAI_SYSTEM if NSS_STATUS_UNAVAIL.
40210 2012-11-19  Peng Haitao  <penght@cn.fujitsu.com>
40212         [BZ #13763]
40213         * sunrpc/bindrsvprt.c: Add lock to protect static variable.
40215 2012-11-19  Steve McIntyre  <steve.mcintyre@linaro.org>
40217         * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
40218         * elf/cache.c (print_entry): Print ",AArch64" for
40219         FLAG_AARCH64_LIB64
40221         * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
40222         * elf/cache.c (print_entry): Print ",hard-float" for
40223         FLAG_ARM_LIBHF.
40225 2012-11-18  David S. Miller  <davem@davemloft.net>
40227         With help from Joseph Myers.
40228         * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
40229         cutoff to 2**-13.
40230         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
40231         cutoff to 2**-25.
40232         * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
40233         ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
40234         small.
40235         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
40236         * math/libm-test.inc (y0_test): New tests.
40237         (y1_test): New tests.
40238         * sysdeps/i386/fpu/libm-test-ulps: Update.
40239         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
40240         * sysdeps/sparc/fpu/libm-test-ulps: Update.
40242 2012-11-18  Andreas Schwab  <schwab@linux-m68k.org>
40244         * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
40245         64-bit targets.
40246         * configure: Regenerated.
40248 2012-11-17  David S. Miller  <davem@davemloft.net>
40250         [BZ #14811]
40251         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
40252         nonzero exponents with absolute value below 0x1p-128 to +/-
40253         0x1p-128.
40255 2012-11-17  Joseph Myers  <joseph@codesourcery.com>
40257         * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
40259         * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
40261         * posix/getconf-speclist.c: New file.
40262         * posix/posix-envs.def: Likewise.
40263         * posix/confstr.c (START_ENV_GROUP): New macro.
40264         (END_ENV_GROUP): Likewise.
40265         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
40266         (KNOWN_PRESENT_ENV_STRING): Likewise.
40267         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
40268         (UNKNOWN_ENVIRONMENT): Likewise.
40269         (confstr): Include posix-envs.def instead of handling
40270         _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
40271         _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
40272         * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
40273         (END_ENV_GROUP): Likewise.
40274         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
40275         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
40276         (UNKNOWN_ENVIRONMENT): Likewise.
40277         (__sysconf): Include posix-envs.def instead of handling associated
40278         cases directly here.
40279         * posix/Makefile ($(objpfx)getconf.speclist): Generate by
40280         preprocessing getconf-speclist.c rather than running getconf or
40281         generating empty file.
40283 2012-11-16  Pino Toscano  <toscano.pino@tiscali.it>
40285         * scripts/check-local-headers.sh: Ignore 'mach' headers.
40287 2012-11-16  Andrej Lajovic  <natrij@gmail.com>
40289         [BZ #14672]
40290         * iconv/iconv_prog.c (main): Fix -c handling of '/'.
40292 2012-11-16  David S. Miller  <davem@davemloft.net>
40294         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
40295         smaller than LDBL_EPSILON/2.0L, just return xm1.
40297 2012-11-16  H.J. Lu  <hongjiu.lu@intel.com>
40299         * elf/tst-array1.c (init): Set constructor priority to 1000.
40300         (fini): Set destructor priority to 1000.
40301         * elf/tst-array2dep.c: Likewise.
40303 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
40305         [BZ #11741]
40306         * libio/fileops.c (_IO_new_file_write): Correctly return error.
40307         (_IO_new_file_xsputn): Also return EOF if none of the input
40308         data was written when overflow failed.
40309         * libio/iopadn.c (_IO_padn): Likewise.
40310         * libio/iowpadn.c (_IO_wpadn): Likewise.
40311         * stdio-common/tst-put-error.c: Add copyright notice.
40312         (do_test): Add case for printing padded string.
40313         * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
40314         _IO_padn returned error.
40315         [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
40316         * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
40317         return EOF.
40319 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
40321         * libio/libioP.h: Add comment note that the references to C++
40322         bits are now obsolete.
40324 2012-11-15  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
40326         * math/libm-test.inc (check_complex): Use asprintf.
40328 2012-11-14  Joseph Myers  <joseph@codesourcery.com>
40330         * debug/pcprofiledump.c (print_version): Update copyright year.
40331         * malloc/memusagestat.c (print_version): Likewise.
40333 2012-11-14  H.J. Lu  <hongjiu.lu@intel.com>
40335         [BZ #14831]
40336         * elf/Makefile (tests): Add tst-audit8.
40337         ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
40338         ($(objpfx)tst-audit8.out): New target.
40339         (tst-audit8-ENV): New variable.
40340         * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
40341         audit if l_reloc_result is NULL.
40342         (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
40343         defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
40344         * elf/tst-audit8.c: New file.
40346 2012-11-14  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
40348         * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
40349         * misc/Makefile (CFLAGS-select.c): Define.
40350         * posix/Makefile (CFLAGS-pause.c): Define.
40352 2012-11-13  David S. Miller  <davem@davemloft.net>
40354         * crypt/Makefile: Move test targets after toplevel Rules
40355         inclusion.  Grab any necessary sysdep routines when linking.
40356         * crypt/md5.c (md5_process_block): Remove define, we will always
40357         name it __md5_process_block.
40358         (md5_finish_ctx): Update md5_process_block call.
40359         (md5_stream): Likewise.
40360         (md5_process_bytes): Likewise.
40361         (md5_process_block): Rename to __md5_process_block and move to ...
40362         * crypt/md5-block.c: ... here.
40363         * crypt/sha256.c (sha256_process_block): Move to ...
40364         * crypt/sha256-block.c: ... here.
40365         * crypt/sha512.c (sha512_process_block): Move to ...
40366         * crypt/sha512-block.c: ... here.
40367         * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
40368         path.
40369         * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
40370         * sysdeps/sparc/sparc64/multiarch/Makefile
40371         (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
40372         crypt subdir.
40373         (localedef-aux): Add md5 crypto assembler when in locale subdir.
40374         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
40375         multiarch changes.
40376         * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
40377         * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
40378         * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
40379         * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
40380         * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
40381         * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
40382         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
40383         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
40384         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
40385         file.
40386         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
40387         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
40388         file.
40389         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
40391 2012-11-13  Joseph Myers  <joseph@codesourcery.com>
40393         * timezone/tzselect.ksh: Update from tzcode git revision
40394         a435f9f0ecafa56d9e0263835836bd0c64cd7307.
40395         * timezone/zdump.c: Likewise.
40396         * timezone/zic.c: Likewise.
40397         * timezone/Makefile ($(objpfx)version.h): Only include $(version)
40398         in TZVERSION setting, not $(PKGVERSION).
40399         ($(objpfx)tzselect): Likewise.  Also substitute PKGVERSION and
40400         REPORT_BUGS_TO settings.
40402         [BZ #14838]
40403         * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
40404         macro.
40406 2012-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
40408         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
40409         detection to immediately after _FP_ROUND().
40410         * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
40411         bits are 0.
40413 2012-11-11  David S. Miller  <davem@davemloft.net>
40415         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
40416         inttypes.h
40417         (__get_clockfreq_via_proc_openprom): Use __open, __read, and
40418         __close rather than their public counterparts.
40420 2012-11-10  Joseph Myers  <joseph@codesourcery.com>
40422         * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
40423         file.
40424         [UNIX98] (sem_timedwait): Do not expect.
40425         * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
40426         [XPG4 || UNIX98] (sockatmark): Do not expect.
40427         * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
40428         (clock_getcpuclockid): Do not expect.
40429         [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
40430         * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
40431         Do not expect.
40432         [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
40433         * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
40434         [UNIX98] (vwscanf): Likewise.
40435         [UNIX98] (vswscanf): Likewise.
40437 2012-11-09  Joseph Myers  <joseph@codesourcery.com>
40439         * timezone/version.h: Remove file.
40440         * timezone/README: Do not refer to version.h.
40441         * timezone/Makefile ($(objpfx)zic.o): New dependency on
40442         $(objpfx)version.h.
40443         ($(objpfx)zdump.o): Likewise.
40444         ($(objpfx)version.h): New target.
40446         * timezone/tzselect.ksh: Change to verbatim copy from tzcode
40447         2012i.
40448         * timezone/README: Don't mention modification to tzselect.ksh.
40449         * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
40450         work on unmodified tzselect.ksh.  Substitute version numbers in
40451         tzselect.ksh.
40453         * Makefile (format-me): Remove.
40454         (INSTALL): Adjust indentation.  Use commands directly instead of
40455         using $(format-me).
40457         * aclocal.m4 (ACX_PKGVERSION): New macro.
40458         (ACX_BUGURL): Likewise.
40459         * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
40460         (PKGVERSION): New AC_DEFINE_UNQUOTED.
40461         (REPORT_BUGS_TO): Likewise.
40462         * configure: Regenerated.
40463         * config.h.in (PKGVERSION): New macro.
40464         (REPORT_BUGS_TO): Likewise.
40465         * config.make.in (PKGVERSION): New variable.
40466         (PKGVERSION_TEXI): Likewise.
40467         (REPORT_BUGS_TO): Likewise.
40468         (REPORT_BUGS_TEXI): Likewise.
40469         * Makefile (format-me): Use -I$(common-objpfx)manual.
40470         (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
40471         ($(common-objpfx)manual/%): New target.
40472         (manual/%): Remove target.
40473         * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
40474         (print_version): Use PKGVERSION.
40475         * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
40476         * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
40477         and REPORT_BUGS_TO.
40478         ($(objpfx)xtrace): Likewise.
40479         * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
40480         * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
40481         (print_version): Use PKGVERSION.
40482         * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
40483         (do_version): Use PKGVERSION.
40484         * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
40485         REPORT_BUGS_TO.
40486         (common-ldd-rewrite): Likewise.
40487         * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
40488         * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
40489         (print_version): Use PKGVERSION.
40490         * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
40491         * elf/pldd.c (argp_program_bug_address): Remove variable.
40492         (more_help): New function.
40493         (argp): Use more_help.
40494         (print_version): Use PKGVERSION.
40495         * elf/sln.c (main): Use PKGVERSION.
40496         (usage): Use REPORT_BUGS_TO.
40497         * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
40498         (top level): Use PKGVERSION.
40499         * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
40500         (print_version): Use PKGVERSION.
40501         * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
40502         (print_version): Use PKGVERSION.
40503         * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
40504         (print_version): Use PKGVERSION.
40505         * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
40506         (print_version): Use PKGVERSION.
40507         * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
40508         (print_version): Use PKGVERSION.
40509         * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
40510         (print_version): Use PKGVERSION.
40511         * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
40512         and BUGURL.
40513         ($(objpfx)memusage): Likewise.
40514         * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
40515         (do_version): Use PKGVERSION.
40516         * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
40517         (print_version): Use PKGVERSION.
40518         * malloc/mtrace.pl ($PACKAGE): Remove variable.
40519         ($PKGVERSION): New variable.
40520         ($REPORT_BUGS_TO): Likewise.
40521         (usage): Use $REPORT_BUGS_TO.
40522         (top level): Use $PKGVERSION.
40523         * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
40524         ($(objpfx)pkgvers.texi): New rule.
40525         ($(objpfx)stamp-pkgvers): Likewise.
40526         * manual/install.texi: Include pkgvers.texi.
40527         (--with-pkgversion): Document new configure option.
40528         (--with-bugurl): Likewise.
40529         (Reporting Bugs): Describe Bugzilla as upstream tracker rather
40530         than necessarily for this particular distribution.  Use
40531         REPORT_BUGS_TO for where to report bugs.
40532         * INSTALL: Regenerated.
40533         * manual/libc.texinfo: Include pkgvers.texi.
40534         [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
40535         * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
40536         (print_version): Use PKGVERSION.
40537         * nss/getent.c (more_help): Use REPORT_BUGS_TO.
40538         (print_version): Use PKGVERSION.
40539         * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
40540         (print_version): Use PKGVERSION.
40541         * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
40542         * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
40543         macro.
40544         * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
40545         (print_version): Use PKGVERSION.
40546         * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
40547         (print_version): Use PKGVERSION.
40548         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
40549         and PKGVERSION.
40551         * timezone/checktab.awk: Update from tzcode 2012i.
40552         * timezone/ialloc.c: Likewise.
40553         * timezone/private.h: Likewise.
40554         * timezone/scheck.c: Likewise.
40555         * timezone/tzfile.h: Likewise.
40556         * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
40557         (TZVERSION): Hardcode tzcode version number.
40558         * timezone/zdump.c: Update from tzcode 2012i.
40559         * timezone/zic.c: Likewise.
40560         * timezone/version.h: New file.
40561         * timezone/README: Describe version.h.  Update upstream location.
40563         [BZ #14824]
40564         * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
40565         (mktemp): Enable declaration.
40566         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
40567         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
40568         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
40569         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
40570         Likewise.
40571         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
40572         Likewise.
40573         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
40574         Likewise.
40575         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
40576         Likewise.
40577         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
40578         Likewise.
40579         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
40580         Likewise.
40582         [BZ #14821]
40583         * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
40584         offset in buffer as u_int32_t not u_long.  Consistently use memcpy
40585         for copies of such integer values.
40586         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
40587         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
40589 2012-11-09  Andreas Jaeger  <aj@suse.de>
40591         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
40592         definitions and declarations that are provided by
40593         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
40595 2012-11-08  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
40597         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
40598         * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
40599         * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
40600         definition.
40602 2012-11-08  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
40604         * elf/elf.h: Update comment before AArch64 relocations.
40606 2012-11-07  David S. Miller  <davem@davemloft.net>
40608         * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
40609         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
40610         (__start_context): Declare.
40611         (__makecontext_ret): Delete.
40612         (__makecontext): Hook up __start_context instead of
40613         __makecontext_ret.
40614         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
40615         (sysdep_routines): Add __start_context when in stdlib.
40617 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
40619         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
40620         $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
40621         * sysdeps/x86/tst-xmmymm.sh (NM): New variable.  Use it instead of
40622         hardcoded "nm".
40623         (OBJDUMP): New variable.  Use it instead of hardcoded "objdump".
40624         (READELF): New variable.  Use it instead of hardcoded "readelf".
40626 2012-11-07  H.J. Lu  <hongjiu.lu@intel.com>
40628         * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
40629         * sysdeps/x86/Makefile: Here.
40630         * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
40631         * sysdeps/x86/tst-xmmymm.sh: This.
40633 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
40635         * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
40636         expectations.
40637         [UNIX98] (pthread_barrier_t): Do not expect.
40638         [UNIX98] (pthread_barrierattr_t): Likewise.
40639         [UNIX98] (pthread_spinlock_t): Likewise.
40640         [UNIX98] (pthread_barrier_destroy): Likewise.
40641         [UNIX98] (pthread_barrier_init): Likewise.
40642         [UNIX98] (pthread_barrier_wait): Likewise.
40643         [UNIX98] (pthread_barrierattr_destroy): Likewise.
40644         [UNIX98] (pthread_barrierattr_getpshared): Likewise.
40645         [UNIX98] (pthread_barrierattr_init): Likewise.
40646         [UNIX98] (pthread_barrierattr_setpshared): Likewise.
40647         [UNIX98] (pthread_getcpuclockid): Likewise.
40648         [UNIX98] (pthread_mutex_timedlock): Likewise.
40649         [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
40650         [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
40651         [UNIX98] (pthread_sigmask): Likewise.
40652         [UNIX98] (pthread_spin_destroy): Likewise.
40653         [UNIX98] (pthread_spin_init): Likewise.
40654         [UNIX98] (pthread_spin_lock): Likewise.
40655         [UNIX98] (pthread_spin_trylock): Likewise.
40656         [UNIX98] (pthread_spin_unlock): Likewise.
40657         * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
40658         Do not expect.
40659         [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
40660         [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
40661         [XPG3 || XPG4] (pthread_cond_t): Likewise.
40662         [XPG3 || XPG4] (pthread_condattr_t): Likewise.
40663         [XPG3 || XPG4] (pthread_key_t): Likewise.
40664         [XPG3 || XPG4] (pthread_mutex_t): Likewise.
40665         [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
40666         [XPG3 || XPG4] (pthread_once_t): Likewise.
40667         [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
40668         [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
40669         [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
40670         [XPG3 || XPG4] (pthread_t): Likewise.
40672         * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
40673         not expect.
40674         [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
40676         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
40677         Change function return type to int.
40679         * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
40680         Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
40681         [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
40682         [!POSIX] (POSIX_MADV_RANDOM): Likewise.
40683         [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
40684         [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
40685         [!POSIX] (posix_madvise): Likewise.
40686         (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
40687         && !UNIX98].
40688         (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
40689         (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
40690         (mode_t): Likewise.
40691         (posix_mem_offset): Likewise.
40692         (posix_typed_mem_get_info): Likewise.
40693         (posix_typed_mem_open): Likewise.
40695         * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
40696         Change condition to [XOPEN2K8].
40698         * conform/conformtest.pl: Preprocess allow-header data with -x c
40699         instead of from stdin.
40700         (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
40701         * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
40702         [C99-based standards] (cerfc): Likewise.
40703         [C99-based standards] (cexp2): Likewise.
40704         [C99-based standards] (cexpm1): Likewise.
40705         [C99-based standards] (clog10): Likewise.
40706         [C99-based standards] (clog1p): Likewise.
40707         [C99-based standards] (clog2): Likewise.
40708         [C99-based standards] (clgamma): Likewise.
40709         [C99-based standards] (ctgamma): Likewise.
40710         [C99-based standards] (cerff): Likewise.
40711         [C99-based standards] (cerfcf): Likewise.
40712         [C99-based standards] (cexp2f): Likewise.
40713         [C99-based standards] (cexpm1f): Likewise.
40714         [C99-based standards] (clog10f): Likewise.
40715         [C99-based standards] (clog1pf): Likewise.
40716         [C99-based standards] (clog2f): Likewise.
40717         [C99-based standards] (clgammaf): Likewise.
40718         [C99-based standards] (ctgammaf): Likewise.
40719         [C99-based standards] (cerfl): Likewise.
40720         [C99-based standards] (cerfcl): Likewise.
40721         [C99-based standards] (cexp2l): Likewise.
40722         [C99-based standards] (cexpm1l): Likewise.
40723         [C99-based standards] (clog10l): Likewise.
40724         [C99-based standards] (clog1pl): Likewise.
40725         [C99-based standards] (clog2l): Likewise.
40726         [C99-based standards] (clgammal): Likewise.
40727         [C99-based standards] (ctgammal): Likewise.
40728         * conform/data/inttypes.h-data [C99-based standards]: Include
40729         stdint.h-data.  Remove all expectations for stdint.h contents.
40730         [C99-based standards] (PRI*): Do not allow.
40731         [C99-based standards] (SCN*): Likewise.
40732         [C99-based standards] (*_t): Likewise.
40733         [C99-based-standards] (PRId8): Expect macro.
40734         [C99-based-standards] (PRIi8): Likewise.
40735         [C99-based-standards] (PRIo8): Likewise.
40736         [C99-based-standards] (PRIu8): Likewise.
40737         [C99-based-standards] (PRIx8): Likewise.
40738         [C99-based-standards] (PRIX8): Likewise.
40739         [C99-based-standards] (SCNd8): Likewise.
40740         [C99-based-standards] (SCNi8): Likewise.
40741         [C99-based-standards] (SCNo8): Likewise.
40742         [C99-based-standards] (SCNu8): Likewise.
40743         [C99-based-standards] (SCNx8): Likewise.
40744         [C99-based-standards] (PRIdLEAST8): Likewise.
40745         [C99-based-standards] (PRIiLEAST8): Likewise.
40746         [C99-based-standards] (PRIoLEAST8): Likewise.
40747         [C99-based-standards] (PRIuLEAST8): Likewise.
40748         [C99-based-standards] (PRIxLEAST8): Likewise.
40749         [C99-based-standards] (PRIXLEAST8): Likewise.
40750         [C99-based-standards] (SCNdLEAST8): Likewise.
40751         [C99-based-standards] (SCNiLEAST8): Likewise.
40752         [C99-based-standards] (SCNoLEAST8): Likewise.
40753         [C99-based-standards] (SCNuLEAST8): Likewise.
40754         [C99-based-standards] (SCNxLEAST8): Likewise.
40755         [C99-based-standards] (PRIdFAST8): Likewise.
40756         [C99-based-standards] (PRIiFAST8): Likewise.
40757         [C99-based-standards] (PRIoFAST8): Likewise.
40758         [C99-based-standards] (PRIuFAST8): Likewise.
40759         [C99-based-standards] (PRIxFAST8): Likewise.
40760         [C99-based-standards] (PRIXFAST8): Likewise.
40761         [C99-based-standards] (SCNdFAST8): Likewise.
40762         [C99-based-standards] (SCNiFAST8): Likewise.
40763         [C99-based-standards] (SCNoFAST8): Likewise.
40764         [C99-based-standards] (SCNuFAST8): Likewise.
40765         [C99-based-standards] (SCNxFAST8): Likewise.
40766         [C99-based-standards] (PRId16): Likewise.
40767         [C99-based-standards] (PRIi16): Likewise.
40768         [C99-based-standards] (PRIo16): Likewise.
40769         [C99-based-standards] (PRIu16): Likewise.
40770         [C99-based-standards] (PRIx16): Likewise.
40771         [C99-based-standards] (PRIX16): Likewise.
40772         [C99-based-standards] (SCNd16): Likewise.
40773         [C99-based-standards] (SCNi16): Likewise.
40774         [C99-based-standards] (SCNo16): Likewise.
40775         [C99-based-standards] (SCNu16): Likewise.
40776         [C99-based-standards] (SCNx16): Likewise.
40777         [C99-based-standards] (PRIdLEAST16): Likewise.
40778         [C99-based-standards] (PRIiLEAST16): Likewise.
40779         [C99-based-standards] (PRIoLEAST16): Likewise.
40780         [C99-based-standards] (PRIuLEAST16): Likewise.
40781         [C99-based-standards] (PRIxLEAST16): Likewise.
40782         [C99-based-standards] (PRIXLEAST16): Likewise.
40783         [C99-based-standards] (SCNdLEAST16): Likewise.
40784         [C99-based-standards] (SCNiLEAST16): Likewise.
40785         [C99-based-standards] (SCNoLEAST16): Likewise.
40786         [C99-based-standards] (SCNuLEAST16): Likewise.
40787         [C99-based-standards] (SCNxLEAST16): Likewise.
40788         [C99-based-standards] (PRIdFAST16): Likewise.
40789         [C99-based-standards] (PRIiFAST16): Likewise.
40790         [C99-based-standards] (PRIoFAST16): Likewise.
40791         [C99-based-standards] (PRIuFAST16): Likewise.
40792         [C99-based-standards] (PRIxFAST16): Likewise.
40793         [C99-based-standards] (PRIXFAST16): Likewise.
40794         [C99-based-standards] (SCNdFAST16): Likewise.
40795         [C99-based-standards] (SCNiFAST16): Likewise.
40796         [C99-based-standards] (SCNoFAST16): Likewise.
40797         [C99-based-standards] (SCNuFAST16): Likewise.
40798         [C99-based-standards] (SCNxFAST16): Likewise.
40799         [C99-based-standards] (PRId32): Likewise.
40800         [C99-based-standards] (PRIi32): Likewise.
40801         [C99-based-standards] (PRIo32): Likewise.
40802         [C99-based-standards] (PRIu32): Likewise.
40803         [C99-based-standards] (PRIx32): Likewise.
40804         [C99-based-standards] (PRIX32): Likewise.
40805         [C99-based-standards] (SCNd32): Likewise.
40806         [C99-based-standards] (SCNi32): Likewise.
40807         [C99-based-standards] (SCNo32): Likewise.
40808         [C99-based-standards] (SCNu32): Likewise.
40809         [C99-based-standards] (SCNx32): Likewise.
40810         [C99-based-standards] (PRIdLEAST32): Likewise.
40811         [C99-based-standards] (PRIiLEAST32): Likewise.
40812         [C99-based-standards] (PRIoLEAST32): Likewise.
40813         [C99-based-standards] (PRIuLEAST32): Likewise.
40814         [C99-based-standards] (PRIxLEAST32): Likewise.
40815         [C99-based-standards] (PRIXLEAST32): Likewise.
40816         [C99-based-standards] (SCNdLEAST32): Likewise.
40817         [C99-based-standards] (SCNiLEAST32): Likewise.
40818         [C99-based-standards] (SCNoLEAST32): Likewise.
40819         [C99-based-standards] (SCNuLEAST32): Likewise.
40820         [C99-based-standards] (SCNxLEAST32): Likewise.
40821         [C99-based-standards] (PRIdFAST32): Likewise.
40822         [C99-based-standards] (PRIiFAST32): Likewise.
40823         [C99-based-standards] (PRIoFAST32): Likewise.
40824         [C99-based-standards] (PRIuFAST32): Likewise.
40825         [C99-based-standards] (PRIxFAST32): Likewise.
40826         [C99-based-standards] (PRIXFAST32): Likewise.
40827         [C99-based-standards] (SCNdFAST32): Likewise.
40828         [C99-based-standards] (SCNiFAST32): Likewise.
40829         [C99-based-standards] (SCNoFAST32): Likewise.
40830         [C99-based-standards] (SCNuFAST32): Likewise.
40831         [C99-based-standards] (SCNxFAST32): Likewise.
40832         [C99-based-standards] (PRId64): Likewise.
40833         [C99-based-standards] (PRIi64): Likewise.
40834         [C99-based-standards] (PRIo64): Likewise.
40835         [C99-based-standards] (PRIu64): Likewise.
40836         [C99-based-standards] (PRIx64): Likewise.
40837         [C99-based-standards] (PRIX64): Likewise.
40838         [C99-based-standards] (SCNd64): Likewise.
40839         [C99-based-standards] (SCNi64): Likewise.
40840         [C99-based-standards] (SCNo64): Likewise.
40841         [C99-based-standards] (SCNu64): Likewise.
40842         [C99-based-standards] (SCNx64): Likewise.
40843         [C99-based-standards] (PRIdLEAST64): Likewise.
40844         [C99-based-standards] (PRIiLEAST64): Likewise.
40845         [C99-based-standards] (PRIoLEAST64): Likewise.
40846         [C99-based-standards] (PRIuLEAST64): Likewise.
40847         [C99-based-standards] (PRIxLEAST64): Likewise.
40848         [C99-based-standards] (PRIXLEAST64): Likewise.
40849         [C99-based-standards] (SCNdLEAST64): Likewise.
40850         [C99-based-standards] (SCNiLEAST64): Likewise.
40851         [C99-based-standards] (SCNoLEAST64): Likewise.
40852         [C99-based-standards] (SCNuLEAST64): Likewise.
40853         [C99-based-standards] (SCNxLEAST64): Likewise.
40854         [C99-based-standards] (PRIdFAST64): Likewise.
40855         [C99-based-standards] (PRIiFAST64): Likewise.
40856         [C99-based-standards] (PRIoFAST64): Likewise.
40857         [C99-based-standards] (PRIuFAST64): Likewise.
40858         [C99-based-standards] (PRIxFAST64): Likewise.
40859         [C99-based-standards] (PRIXFAST64): Likewise.
40860         [C99-based-standards] (SCNdFAST64): Likewise.
40861         [C99-based-standards] (SCNiFAST64): Likewise.
40862         [C99-based-standards] (SCNoFAST64): Likewise.
40863         [C99-based-standards] (SCNuFAST64): Likewise.
40864         [C99-based-standards] (SCNxFAST64): Likewise.
40865         [C99-based-standards] (PRIdMAX): Likewise.
40866         [C99-based-standards] (PRIiMAX): Likewise.
40867         [C99-based-standards] (PRIoMAX): Likewise.
40868         [C99-based-standards] (PRIuMAX): Likewise.
40869         [C99-based-standards] (PRIxMAX): Likewise.
40870         [C99-based-standards] (PRIXMAX): Likewise.
40871         [C99-based-standards] (SCNdMAX): Likewise.
40872         [C99-based-standards] (SCNiMAX): Likewise.
40873         [C99-based-standards] (SCNoMAX): Likewise.
40874         [C99-based-standards] (SCNuMAX): Likewise.
40875         [C99-based-standards] (SCNxMAX): Likewise.
40876         [C99-based-standards] (PRIdPTR): Likewise.
40877         [C99-based-standards] (PRIiPTR): Likewise.
40878         [C99-based-standards] (PRIoPTR): Likewise.
40879         [C99-based-standards] (PRIuPTR): Likewise.
40880         [C99-based-standards] (PRIxPTR): Likewise.
40881         [C99-based-standards] (PRIXPTR): Likewise.
40882         [C99-based-standards] (SCNdPTR): Likewise.
40883         [C99-based-standards] (SCNiPTR): Likewise.
40884         [C99-based-standards] (SCNoPTR): Likewise.
40885         [C99-based-standards] (SCNuPTR): Likewise.
40886         [C99-based-standards] (SCNxPTR): Likewise.
40887         * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
40888         allow.
40889         * conform/data/stdint.h-data: Update comments to clarify
40890         requirements.
40891         [C99-based standards] (INT8_MIN): Use macro-int-constant.  Specify
40892         type.
40893         [C99-based standards] (INT8_MAX): Likewise.
40894         [C99-based standards] (INT16_MIN): Likewise.
40895         [C99-based standards] (INT16_MAX): Likewise.
40896         [C99-based standards] (INT32_MIN): Likewise.
40897         [C99-based standards] (INT32_MAX): Likewise.
40898         [C99-based standards] (INT64_MIN): Likewise.
40899         [C99-based standards] (INT64_MAX): Likewise.
40900         [C99-based standards] (UINT8_MAX): Likewise.
40901         [C99-based standards] (UINT16_MAX): Likewise.
40902         [C99-based standards] (UINT32_MAX): Likewise.
40903         [C99-based standards] (UINT64_MAX): Likewise.
40904         [C99-based standards] (INT_LEAST8_MIN): Likewise.
40905         [C99-based standards] (INT_LEAST8_MAX): Likewise.
40906         [C99-based standards] (INT_LEAST16_MIN): Likewise.
40907         [C99-based standards] (INT_LEAST16_MAX): Likewise.
40908         [C99-based standards] (INT_LEAST32_MIN): Likewise.
40909         [C99-based standards] (INT_LEAST32_MAX): Likewise.
40910         [C99-based standards] (INT_LEAST64_MIN): Likewise.
40911         [C99-based standards] (INT_LEAST64_MAX): Likewise.
40912         [C99-based standards] (UINT_LEAST8_MAX): Likewise.
40913         [C99-based standards] (UINT_LEAST16_MAX): Likewise.
40914         [C99-based standards] (UINT_LEAST32_MAX): Likewise.
40915         [C99-based standards] (UINT_LEAST64_MAX): Likewise.
40916         [C99-based standards] (INT_FAST8_MIN): Likewise.
40917         [C99-based standards] (INT_FAST8_MAX): Likewise.
40918         [C99-based standards] (INT_FAST16_MIN): Likewise.
40919         [C99-based standards] (INT_FAST16_MAX): Likewise.
40920         [C99-based standards] (INT_FAST32_MIN): Likewise.
40921         [C99-based standards] (INT_FAST32_MAX): Likewise.
40922         [C99-based standards] (INT_FAST64_MIN): Likewise.
40923         [C99-based standards] (INT_FAST64_MAX): Likewise.
40924         [C99-based standards] (UINT_FAST8_MAX): Likewise.
40925         [C99-based standards] (UINT_FAST16_MAX): Likewise.
40926         [C99-based standards] (UINT_FAST32_MAX): Likewise.
40927         [C99-based standards] (UINT_FAST64_MAX): Likewise.
40928         [C99-based standards] (INTPTR_MIN): Likewise.
40929         [C99-based standards] (INTPTR_MAX): Likewise.
40930         [C99-based standards] (UINTPTR_MAX): Likewise.
40931         [C99-based standards] (INTMAX_MIN): Likewise.
40932         [C99-based standards] (INTMAX_MAX): Likewise.
40933         [C99-based standards] (UINTMAX_MAX): Likewise.
40934         [C99-based standards] (PTRDIFF_MIN): Likewise.
40935         [C99-based standards] (PTRDIFF_MAX): Likewise.
40936         [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
40937         [C99-based standards] (SIZE_MAX): Likewise.
40938         [C99-based standards] (WCHAR_MAX): Likewise.
40939         [C99-based standards] (WINT_MAX): Likewise.
40940         [C99-based standards] (SIG_ATOMIC_MIN): Likewise.  Do not specify
40941         constraint on value.
40942         [C99-based standards] (WCHAR_MIN): Likewise.
40943         [C99-based standards] (WINT_MIN): Likewise.
40944         [C99-based standards] (*_t): Allow.
40945         * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
40946         condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
40947         Include math.h-data and complex.h-data.  Remove all expectations
40948         of math.h and complex.h contents.
40949         * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
40950         at end of line.
40951         * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
40952         (struct tm): Expect tag.
40953         [C99-based-standards] (wcstof): Expect function.
40954         [C99-based-standards] (wcstold): Likewise.
40955         [C99-based-standards] (wcstoll): Likewise.
40956         [C99-based-standards] (wcstoull): Likewise.
40957         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
40958         macro-int-constant.  Specify type.
40959         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise.  Specify
40960         constraint on value.
40961         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
40962         Specify type.
40963         [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
40964         Specify value.
40965         [ISO C standards]: Do not allow headers.
40966         [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
40967         wcs[abcdefghijklmnopqrstuvwxyz]*.
40968         [ISO C standards] (*_t): Do not allow.
40969         * conform/data/wctype.h-data [C99-based standards] (iswblank):
40970         Expect function.
40971         [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
40972         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
40973         Specify type.
40974         [ISO C standards]: Do not allow headers.
40975         [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
40976         is[abcdefghijklmnopqrstuvwxyz]*.
40977         [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
40978         to[abcdefghijklmnopqrstuvwxyz]*.
40979         [ISO C standards] (*_t): Do not allow.
40980         * conform/data/stdalign.h-data: New file.
40981         * conform/data/stdbool.h-data: Likewise.
40982         * conform/data/stdnoreturn.h-data: Likewise.
40984 2012-11-07  Roland McGrath  <roland@hack.frob.com>
40986         [BZ #14815]
40987         * manual/filesys.texi (Directory Entries): Typo fix.
40988         Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
40990 2012-11-07  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
40992         * elf/elf.h (EM_AARCH64): New macro.
40993         (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
40994         (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
40995         (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
40996         (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
40997         (R_AARCH64_TLSDESC): Likewise.
40998         (NT_ARM_TLS): Likewise.
40999         (NT_ARM_HW_BREAK): Likewise.
41000         (NT_ARM_HW_WATCH): Likewise.
41002 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
41004         [BZ #14811]
41005         * sysdeps/i386/fpu/e_powl.S (pm79): New object.
41006         (__ieee754_powl): Saturate nonzero exponents with absolute value
41007         below 0x1p-79 to +/- 0x1p-79.
41008         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
41009         exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
41010         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
41011         nonzero exponents with absolute value below 0x1p-32 to +/-
41012         0x1p-32.
41013         * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
41014         (__ieee754_powl): Saturate nonzero exponents with absolute value
41015         below 0x1p-79 to +/- 0x1p-79.
41016         * math/libm-test.inc (pow_test): Add more tests.
41018 2012-11-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
41020         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
41021         _dl_s390_cap_flags with kernel. Increase string length.
41022         (_dl_s390_platforms): Add z196 and zEC12.
41024 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
41026         * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
41027         Change XOPEN21K to XOPEN2K.
41029 2012-11-06  Maxim Kuvyrkov  <maxim@codesourcery.com>
41031         * string/memmove.c: Use memcpy when possible.
41033 2012-11-06  Andreas Jaeger  <aj@suse.de>
41035         * po/eo.po: Update from translation team.
41037 2012-11-06  Joseph Myers  <joseph@codesourcery.com>
41039         [BZ #14793]
41040         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
41041         exponent and small x and y exponents, scale x or y up.  Increase
41042         by 2 the exponent used in scaling up.
41043         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
41044         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
41045         * math/libm-test.inc (fma_test): Add more tests.
41046         (fma_test_towardzero): Likewise.
41047         (fma_test_downward): Likewise.
41048         (fma_test_upward): Likewise.
41050 2012-11-05  Joseph Myers  <joseph@codesourcery.com>
41052         [BZ #14805]
41053         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
41054         fenv_t *.
41056         [BZ #14801]
41057         * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
41058         namespace for names of struct fields.
41059         * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
41060         fenv_t fields.
41061         * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
41062         * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
41064 2012-11-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
41066         [BZ #3665]
41067         * sysdeps/mach/hurd/bits/errno.h: Regenerated.
41069 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
41071         * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
41072         PTR_DEMANGLE.
41074         [BZ #5246]
41075         * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
41076         PTR_DEMANGLE.
41078 2012-11-04  Joseph Myers  <joseph@codesourcery.com>
41080         [BZ #14797]
41081         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
41082         definitely overflow as x * y not x * y + z.
41083         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
41084         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
41085         * math/libm-test.inc (fma_test): Add more tests.
41086         (fma_test_towardzero): Likewise.
41087         (fma_test_downward): Likewise.
41088         (fma_test_upward): Likewise.
41090 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
41092         [BZ #157]
41094         * include/stub-tag.h: Remove file.
41095         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
41096         '#include' of it.
41097         * manual/maint.texi (Porting): Don't reference it.
41098         * Makerules ($(objpfx)stubs): Likewise.
41099         * dirent/closedir.c: Don't include <stub-tag.h>.
41100         * dirent/dirfd.c: Likewise.
41101         * dirent/fdopendir.c: Likewise.
41102         * dirent/getdents.c: Likewise.
41103         * dirent/getdents64.c: Likewise.
41104         * dirent/opendir.c: Likewise.
41105         * dirent/readdir.c: Likewise.
41106         * dirent/readdir64.c: Likewise.
41107         * dirent/readdir64_r.c: Likewise.
41108         * dirent/readdir_r.c: Likewise.
41109         * dirent/rewinddir.c: Likewise.
41110         * dirent/seekdir.c: Likewise.
41111         * dirent/telldir.c: Likewise.
41112         * gmon/profil.c: Likewise.
41113         * grp/setgroups.c: Likewise.
41114         * inet/if_index.c: Likewise.
41115         * io/access.c: Likewise.
41116         * io/chdir.c: Likewise.
41117         * io/chmod.c: Likewise.
41118         * io/chown.c: Likewise.
41119         * io/close.c: Likewise.
41120         * io/dup.c: Likewise.
41121         * io/dup2.c: Likewise.
41122         * io/dup3.c: Likewise.
41123         * io/euidaccess.c: Likewise.
41124         * io/faccessat.c: Likewise.
41125         * io/fchdir.c: Likewise.
41126         * io/fchmod.c: Likewise.
41127         * io/fchmodat.c: Likewise.
41128         * io/fchown.c: Likewise.
41129         * io/fchownat.c: Likewise.
41130         * io/fcntl.c: Likewise.
41131         * io/flock.c: Likewise.
41132         * io/fstatfs.c: Likewise.
41133         * io/fstatfs64.c: Likewise.
41134         * io/fstatvfs.c: Likewise.
41135         * io/fstatvfs64.c: Likewise.
41136         * io/futimens.c: Likewise.
41137         * io/fxstat.c: Likewise.
41138         * io/fxstat64.c: Likewise.
41139         * io/fxstatat.c: Likewise.
41140         * io/fxstatat64.c: Likewise.
41141         * io/getcwd.c: Likewise.
41142         * io/isatty.c: Likewise.
41143         * io/lchmod.c: Likewise.
41144         * io/lchown.c: Likewise.
41145         * io/link.c: Likewise.
41146         * io/linkat.c: Likewise.
41147         * io/lseek.c: Likewise.
41148         * io/lseek64.c: Likewise.
41149         * io/lxstat64.c: Likewise.
41150         * io/mkdir.c: Likewise.
41151         * io/mkdirat.c: Likewise.
41152         * io/mkfifo.c: Likewise.
41153         * io/mkfifoat.c: Likewise.
41154         * io/open.c: Likewise.
41155         * io/open64.c: Likewise.
41156         * io/openat.c: Likewise.
41157         * io/openat64.c: Likewise.
41158         * io/pipe.c: Likewise.
41159         * io/pipe2.c: Likewise.
41160         * io/poll.c: Likewise.
41161         * io/posix_fadvise.c: Likewise.
41162         * io/posix_fadvise64.c: Likewise.
41163         * io/posix_fallocate.c: Likewise.
41164         * io/posix_fallocate64.c: Likewise.
41165         * io/read.c: Likewise.
41166         * io/readlink.c: Likewise.
41167         * io/readlinkat.c: Likewise.
41168         * io/rmdir.c: Likewise.
41169         * io/sendfile.c: Likewise.
41170         * io/sendfile64.c: Likewise.
41171         * io/statfs.c: Likewise.
41172         * io/statfs64.c: Likewise.
41173         * io/statvfs.c: Likewise.
41174         * io/statvfs64.c: Likewise.
41175         * io/symlink.c: Likewise.
41176         * io/symlinkat.c: Likewise.
41177         * io/ttyname.c: Likewise.
41178         * io/ttyname_r.c: Likewise.
41179         * io/umask.c: Likewise.
41180         * io/unlink.c: Likewise.
41181         * io/unlinkat.c: Likewise.
41182         * io/utime.c: Likewise.
41183         * io/utimensat.c: Likewise.
41184         * io/write.c: Likewise.
41185         * io/xmknod.c: Likewise.
41186         * io/xmknodat.c: Likewise.
41187         * io/xstat.c: Likewise.
41188         * io/xstat64.c: Likewise.
41189         * login/getpt.c: Likewise.
41190         * login/grantpt.c: Likewise.
41191         * login/unlockpt.c: Likewise.
41192         * math/e_acoshl.c: Likewise.
41193         * math/e_acosl.c: Likewise.
41194         * math/e_asinl.c: Likewise.
41195         * math/e_atan2l.c: Likewise.
41196         * math/e_atanhl.c: Likewise.
41197         * math/e_coshl.c: Likewise.
41198         * math/e_expl.c: Likewise.
41199         * math/e_fmodl.c: Likewise.
41200         * math/e_gammal_r.c: Likewise.
41201         * math/e_hypotl.c: Likewise.
41202         * math/e_j0l.c: Likewise.
41203         * math/e_j1l.c: Likewise.
41204         * math/e_jnl.c: Likewise.
41205         * math/e_lgammal_r.c: Likewise.
41206         * math/e_log10l.c: Likewise.
41207         * math/e_log2l.c: Likewise.
41208         * math/e_logl.c: Likewise.
41209         * math/e_powl.c: Likewise.
41210         * math/e_rem_pio2l.c: Likewise.
41211         * math/e_sinhl.c: Likewise.
41212         * math/e_sqrtl.c: Likewise.
41213         * math/fclrexcpt.c: Likewise.
41214         * math/fedisblxcpt.c: Likewise.
41215         * math/feenablxcpt.c: Likewise.
41216         * math/fegetenv.c: Likewise.
41217         * math/fegetexcept.c: Likewise.
41218         * math/fegetround.c: Likewise.
41219         * math/feholdexcpt.c: Likewise.
41220         * math/fesetenv.c: Likewise.
41221         * math/fesetround.c: Likewise.
41222         * math/feupdateenv.c: Likewise.
41223         * math/fgetexcptflg.c: Likewise.
41224         * math/fraiseexcpt.c: Likewise.
41225         * math/fsetexcptflg.c: Likewise.
41226         * math/ftestexcept.c: Likewise.
41227         * math/k_cosl.c: Likewise.
41228         * math/k_rem_pio2l.c: Likewise.
41229         * math/k_sinl.c: Likewise.
41230         * math/k_tanl.c: Likewise.
41231         * math/s_asinhl.c: Likewise.
41232         * math/s_atanl.c: Likewise.
41233         * math/s_cbrtl.c: Likewise.
41234         * math/s_erfl.c: Likewise.
41235         * math/s_expm1l.c: Likewise.
41236         * math/s_log1pl.c: Likewise.
41237         * math/s_tanhl.c: Likewise.
41238         * misc/acct.c: Likewise.
41239         * misc/brk.c: Likewise.
41240         * misc/chflags.c: Likewise.
41241         * misc/chroot.c: Likewise.
41242         * misc/fchflags.c: Likewise.
41243         * misc/fgetxattr.c: Likewise.
41244         * misc/flistxattr.c: Likewise.
41245         * misc/fremovexattr.c: Likewise.
41246         * misc/fsetxattr.c: Likewise.
41247         * misc/fsync.c: Likewise.
41248         * misc/ftruncate.c: Likewise.
41249         * misc/futimes.c: Likewise.
41250         * misc/futimesat.c: Likewise.
41251         * misc/getdomain.c: Likewise.
41252         * misc/getdtsz.c: Likewise.
41253         * misc/gethostid.c: Likewise.
41254         * misc/gethostname.c: Likewise.
41255         * misc/getloadavg.c: Likewise.
41256         * misc/getpagesize.c: Likewise.
41257         * misc/getsysstats.c: Likewise.
41258         * misc/getxattr.c: Likewise.
41259         * misc/gtty.c: Likewise.
41260         * misc/ioctl.c: Likewise.
41261         * misc/lgetxattr.c: Likewise.
41262         * misc/listxattr.c: Likewise.
41263         * misc/llistxattr.c: Likewise.
41264         * misc/lremovexattr.c: Likewise.
41265         * misc/lsetxattr.c: Likewise.
41266         * misc/lutimes.c: Likewise.
41267         * misc/madvise.c: Likewise.
41268         * misc/mincore.c: Likewise.
41269         * misc/mlock.c: Likewise.
41270         * misc/mlockall.c: Likewise.
41271         * misc/mmap.c: Likewise.
41272         * misc/mprotect.c: Likewise.
41273         * misc/msync.c: Likewise.
41274         * misc/munlock.c: Likewise.
41275         * misc/munlockall.c: Likewise.
41276         * misc/munmap.c: Likewise.
41277         * misc/preadv.c: Likewise.
41278         * misc/preadv64.c: Likewise.
41279         * misc/ptrace.c: Likewise.
41280         * misc/pwritev.c: Likewise.
41281         * misc/pwritev64.c: Likewise.
41282         * misc/readv.c: Likewise.
41283         * misc/reboot.c: Likewise.
41284         * misc/remap_file_pages.c: Likewise.
41285         * misc/removexattr.c: Likewise.
41286         * misc/revoke.c: Likewise.
41287         * misc/select.c: Likewise.
41288         * misc/setdomain.c: Likewise.
41289         * misc/setegid.c: Likewise.
41290         * misc/seteuid.c: Likewise.
41291         * misc/sethostid.c: Likewise.
41292         * misc/sethostname.c: Likewise.
41293         * misc/setregid.c: Likewise.
41294         * misc/setreuid.c: Likewise.
41295         * misc/setxattr.c: Likewise.
41296         * misc/sstk.c: Likewise.
41297         * misc/stty.c: Likewise.
41298         * misc/swapoff.c: Likewise.
41299         * misc/swapon.c: Likewise.
41300         * misc/sync.c: Likewise.
41301         * misc/syncfs.c: Likewise.
41302         * misc/syscall.c: Likewise.
41303         * misc/truncate.c: Likewise.
41304         * misc/ualarm.c: Likewise.
41305         * misc/usleep.c: Likewise.
41306         * misc/ustat.c: Likewise.
41307         * misc/utimes.c: Likewise.
41308         * misc/vhangup.c: Likewise.
41309         * misc/writev.c: Likewise.
41310         * posix/_exit.c: Likewise.
41311         * posix/alarm.c: Likewise.
41312         * posix/execve.c: Likewise.
41313         * posix/fexecve.c: Likewise.
41314         * posix/fork.c: Likewise.
41315         * posix/fpathconf.c: Likewise.
41316         * posix/getaddrinfo.c: Likewise.
41317         * posix/getegid.c: Likewise.
41318         * posix/geteuid.c: Likewise.
41319         * posix/getgid.c: Likewise.
41320         * posix/getgroups.c: Likewise.
41321         * posix/getlogin.c: Likewise.
41322         * posix/getlogin_r.c: Likewise.
41323         * posix/getpgid.c: Likewise.
41324         * posix/getpid.c: Likewise.
41325         * posix/getppid.c: Likewise.
41326         * posix/getresgid.c: Likewise.
41327         * posix/getresuid.c: Likewise.
41328         * posix/getsid.c: Likewise.
41329         * posix/getuid.c: Likewise.
41330         * posix/glob64.c: Likewise.
41331         * posix/nanosleep.c: Likewise.
41332         * posix/pathconf.c: Likewise.
41333         * posix/pause.c: Likewise.
41334         * posix/posix_madvise.c: Likewise.
41335         * posix/pread.c: Likewise.
41336         * posix/pread64.c: Likewise.
41337         * posix/pwrite.c: Likewise.
41338         * posix/pwrite64.c: Likewise.
41339         * posix/sched_getaffinity.c: Likewise.
41340         * posix/sched_getp.c: Likewise.
41341         * posix/sched_gets.c: Likewise.
41342         * posix/sched_primax.c: Likewise.
41343         * posix/sched_primin.c: Likewise.
41344         * posix/sched_rr_gi.c: Likewise.
41345         * posix/sched_setaffinity.c: Likewise.
41346         * posix/sched_setp.c: Likewise.
41347         * posix/sched_sets.c: Likewise.
41348         * posix/sched_yield.c: Likewise.
41349         * posix/setgid.c: Likewise.
41350         * posix/setlogin.c: Likewise.
41351         * posix/setpgid.c: Likewise.
41352         * posix/setresgid.c: Likewise.
41353         * posix/setresuid.c: Likewise.
41354         * posix/setsid.c: Likewise.
41355         * posix/setuid.c: Likewise.
41356         * posix/sleep.c: Likewise.
41357         * posix/spawni.c: Likewise.
41358         * posix/sysconf.c: Likewise.
41359         * posix/times.c: Likewise.
41360         * posix/wait.c: Likewise.
41361         * posix/wait3.c: Likewise.
41362         * posix/wait4.c: Likewise.
41363         * posix/waitpid.c: Likewise.
41364         * resolv/gai_sigqueue.c: Likewise.
41365         * resource/getpriority.c: Likewise.
41366         * resource/getrlimit.c: Likewise.
41367         * resource/getrusage.c: Likewise.
41368         * resource/nice.c: Likewise.
41369         * resource/setpriority.c: Likewise.
41370         * resource/setrlimit.c: Likewise.
41371         * resource/ulimit.c: Likewise.
41372         * rt/aio_cancel.c: Likewise.
41373         * rt/aio_fsync.c: Likewise.
41374         * rt/aio_read.c: Likewise.
41375         * rt/aio_sigqueue.c: Likewise.
41376         * rt/aio_suspend.c: Likewise.
41377         * rt/aio_write.c: Likewise.
41378         * rt/clock_getres.c: Likewise.
41379         * rt/clock_gettime.c: Likewise.
41380         * rt/clock_nanosleep.c: Likewise.
41381         * rt/clock_settime.c: Likewise.
41382         * rt/lio_listio.c: Likewise.
41383         * rt/mq_close.c: Likewise.
41384         * rt/mq_getattr.c: Likewise.
41385         * rt/mq_notify.c: Likewise.
41386         * rt/mq_open.c: Likewise.
41387         * rt/mq_receive.c: Likewise.
41388         * rt/mq_send.c: Likewise.
41389         * rt/mq_setattr.c: Likewise.
41390         * rt/mq_timedreceive.c: Likewise.
41391         * rt/mq_timedsend.c: Likewise.
41392         * rt/mq_unlink.c: Likewise.
41393         * rt/shm_open.c: Likewise.
41394         * rt/shm_unlink.c: Likewise.
41395         * rt/timer_create.c: Likewise.
41396         * rt/timer_delete.c: Likewise.
41397         * rt/timer_getoverr.c: Likewise.
41398         * rt/timer_gettime.c: Likewise.
41399         * rt/timer_settime.c: Likewise.
41400         * setjmp/__longjmp.c: Likewise.
41401         * setjmp/setjmp.c: Likewise.
41402         * signal/kill.c: Likewise.
41403         * signal/killpg.c: Likewise.
41404         * signal/raise.c: Likewise.
41405         * signal/sigaction.c: Likewise.
41406         * signal/sigaltstack.c: Likewise.
41407         * signal/sigblock.c: Likewise.
41408         * signal/sigignore.c: Likewise.
41409         * signal/sigintr.c: Likewise.
41410         * signal/signal.c: Likewise.
41411         * signal/sigpause.c: Likewise.
41412         * signal/sigpending.c: Likewise.
41413         * signal/sigqueue.c: Likewise.
41414         * signal/sigreturn.c: Likewise.
41415         * signal/sigset.c: Likewise.
41416         * signal/sigsetmask.c: Likewise.
41417         * signal/sigstack.c: Likewise.
41418         * signal/sigsuspend.c: Likewise.
41419         * signal/sigtimedwait.c: Likewise.
41420         * signal/sigvec.c: Likewise.
41421         * signal/sigwait.c: Likewise.
41422         * signal/sigwaitinfo.c: Likewise.
41423         * signal/sysv_signal.c: Likewise.
41424         * socket/accept.c: Likewise.
41425         * socket/accept4.c: Likewise.
41426         * socket/bind.c: Likewise.
41427         * socket/connect.c: Likewise.
41428         * socket/getpeername.c: Likewise.
41429         * socket/getsockname.c: Likewise.
41430         * socket/getsockopt.c: Likewise.
41431         * socket/isfdtype.c: Likewise.
41432         * socket/listen.c: Likewise.
41433         * socket/recv.c: Likewise.
41434         * socket/recvfrom.c: Likewise.
41435         * socket/recvmsg.c: Likewise.
41436         * socket/send.c: Likewise.
41437         * socket/sendmsg.c: Likewise.
41438         * socket/sendto.c: Likewise.
41439         * socket/setsockopt.c: Likewise.
41440         * socket/shutdown.c: Likewise.
41441         * socket/sockatmark.c: Likewise.
41442         * socket/socket.c: Likewise.
41443         * socket/socketpair.c: Likewise.
41444         * stdio-common/ctermid.c: Likewise.
41445         * stdio-common/cuserid.c: Likewise.
41446         * stdio-common/remove.c: Likewise.
41447         * stdio-common/rename.c: Likewise.
41448         * stdio-common/renameat.c: Likewise.
41449         * stdio-common/tempname.c: Likewise.
41450         * stdlib/getcontext.c: Likewise.
41451         * stdlib/makecontext.c: Likewise.
41452         * stdlib/setcontext.c: Likewise.
41453         * stdlib/swapcontext.c: Likewise.
41454         * stdlib/system.c: Likewise.
41455         * streams/fattach.c: Likewise.
41456         * streams/fdetach.c: Likewise.
41457         * streams/getmsg.c: Likewise.
41458         * streams/getpmsg.c: Likewise.
41459         * streams/putmsg.c: Likewise.
41460         * streams/putpmsg.c: Likewise.
41461         * sysdeps/unix/bsd/getpt.c: Likewise.
41462         * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
41463         * sysdeps/unix/sysv/linux/futimens.c: Likewise.
41464         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
41465         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
41466         Likewise.
41467         * sysdeps/unix/sysv/linux/readahead.c: Likewise.
41468         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
41469         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
41470         * sysvipc/msgctl.c: Likewise.
41471         * sysvipc/msgget.c: Likewise.
41472         * sysvipc/msgrcv.c: Likewise.
41473         * sysvipc/msgsnd.c: Likewise.
41474         * sysvipc/semctl.c: Likewise.
41475         * sysvipc/semget.c: Likewise.
41476         * sysvipc/semop.c: Likewise.
41477         * sysvipc/semtimedop.c: Likewise.
41478         * sysvipc/shmat.c: Likewise.
41479         * sysvipc/shmctl.c: Likewise.
41480         * sysvipc/shmdt.c: Likewise.
41481         * sysvipc/shmget.c: Likewise.
41482         * termios/tcdrain.c: Likewise.
41483         * termios/tcflow.c: Likewise.
41484         * termios/tcflush.c: Likewise.
41485         * termios/tcgetattr.c: Likewise.
41486         * termios/tcgetpgrp.c: Likewise.
41487         * termios/tcsendbrk.c: Likewise.
41488         * termios/tcsetattr.c: Likewise.
41489         * termios/tcsetpgrp.c: Likewise.
41490         * time/adjtime.c: Likewise.
41491         * time/clock.c: Likewise.
41492         * time/getitimer.c: Likewise.
41493         * time/gettimeofday.c: Likewise.
41494         * time/setitimer.c: Likewise.
41495         * time/settimeofday.c: Likewise.
41496         * time/stime.c: Likewise.
41497         * time/time.c: Likewise.
41499 2012-11-04  Pino Toscano  <toscano.pino@tiscali.it>
41501         * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
41502         /usr/old/bin.
41504         * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
41505         instead of spaces.
41506         * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
41508 2012-11-03  Joseph Myers  <joseph@codesourcery.com>
41510         [BZ #14796]
41511         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
41512         FE_TONEAREST before applying Dekker multiplication and Knuth
41513         addition.  Clear inexact exceptions and check for exact zero
41514         results afterwards.
41515         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
41516         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
41517         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
41518         * math/libm-test.inc (fma_test): Add more tests.
41519         (fma_test_towardzero): Likewise.
41520         (fma_test_downward): Likewise.
41521         (fma_test_upward): Likewise.
41522         * sysdeps/generic/math_private.h (default_libc_fesetround): New
41523         function.
41524         (libc_fesetround): New macro.
41525         (libc_fesetroundf): Likewise.
41526         (libc_fesetroundl): Likewise.
41527         * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
41528         function.
41529         (libc_fesetround_387): Likewise.
41530         (libc_fesetroundf): New macro.
41531         (libc_fesetround): Likewise.
41532         (libc_fesetroundl): Likewise.
41533         * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
41534         function.
41535         (libc_fesetroundf): New macro.
41536         (libc_fesetround): Likewise.
41537         (libc_fesetroundl): Likewise.
41538         * include/fenv.h (feclearexcept): Add libm_hidden_proto.
41539         * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
41540         * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
41541         libm_hidden_ver.
41542         * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
41543         * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
41544         libm_hidden_def.
41545         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
41546         * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
41547         libm_hidden_ver.
41548         * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
41549         libm_hidden_def.
41551         [BZ #3439]
41552         * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
41553         integer constant usable in #if and use that to give value to enum
41554         constant.
41555         (FE_DIVBYZERO): Likewise.
41556         (FE_UNDERFLOW): Likewise.
41557         (FE_OVERFLOW): Likewise.
41558         (FE_INVALID): Likewise.
41559         (FE_INVALID_SNAN): Likewise.
41560         (FE_INVALID_ISI): Likewise.
41561         (FE_INVALID_IDI): Likewise.
41562         (FE_INVALID_ZDZ): Likewise.
41563         (FE_INVALID_IMZ): Likewise.
41564         (FE_INVALID_COMPARE): Likewise.
41565         (FE_INVALID_SOFTWARE): Likewise.
41566         (FE_INVALID_SQRT): Likewise.
41567         (FE_INVALID_INTEGER_CONVERSION): Likewise.
41568         (FE_TONEAREST): Likewise.
41569         (FE_TOWARDZERO): Likewise.
41570         (FE_UPWARD): Likewise.
41571         (FE_DOWNWARD): Likewise.
41572         * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
41573         (FE_DIVBYZERO): Likewise.
41574         (FE_OVERFLOW): Likewise.
41575         (FE_UNDERFLOW): Likewise.
41576         (FE_INEXACT): Likewise.
41577         (FE_TONEAREST): Likewise.
41578         (FE_DOWNWARD): Likewise.
41579         (FE_UPWARD): Likewise.
41580         (FE_TOWARDZERO): Likewise.
41581         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
41582         (FE_UNDERFLOW): Likewise.
41583         (FE_OVERFLOW): Likewise.
41584         (FE_DIVBYZERO): Likewise.
41585         (FE_INVALID): Likewise.
41586         (FE_TONEAREST): Likewise.
41587         (FE_TOWARDZERO): Likewise.
41588         * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
41589         (FE_OVERFLOW): Likewise.
41590         (FE_UNDERFLOW): Likewise.
41591         (FE_DIVBYZERO): Likewise.
41592         (FE_INEXACT): Likewise.
41593         (FE_TONEAREST): Likewise.
41594         (FE_TOWARDZERO): Likewise.
41595         (FE_UPWARD): Likewise.
41596         (FE_DOWNWARD): Likewise.
41597         * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
41598         (FE_DIVBYZERO): Likewise.
41599         (FE_OVERFLOW): Likewise.
41600         (FE_UNDERFLOW): Likewise.
41601         (FE_INEXACT): Likewise.
41602         (FE_TONEAREST): Likewise.
41603         (FE_DOWNWARD): Likewise.
41604         (FE_UPWARD): Likewise.
41605         (FE_TOWARDZERO): Likewise.
41607 2012-11-02  Chris Metcalf  <cmetcalf@tilera.com>
41609         * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
41611 2012-11-03  Andreas Schwab  <schwab@linux-m68k.org>
41613         * scripts/cross-test-ssh.sh (command): Use newlines to separate
41614         commands.  Quote $PWD.
41615         (blacklist_exports): Don't use remove_newlines.  Replace "declare
41616         -x" by "export".
41617         (remove_newlines): Remove.
41619 2012-11-02  H.J. Lu  <hongjiu.lu@intel.com>
41621         * stdlib/Makefile (headers): Add bits/stdlib-float.h.
41622         * stdlib/stdlib.h (atof): Moved to ...
41623         * include/bits/stdlib-float.h: Here.  New file.
41624         * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
41625         * stdlib/bits/stdlib-float.h: New file.
41626         * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
41627         -mno-sse -mno-mmx.
41628         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
41629         <xmmintrin.h>.
41631 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
41633         * conform/conformtest.pl (@headers): Add fenv.h.
41634         * conform/data/fenv.h-data: New file.
41635         * include/fenv.h [_ISOMAC]: Disable all contents of file except
41636         include of <math/fenv.h>.
41638         * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
41639         POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
41640         && !UNIX98].  Enables tests for XOPEN2K8.
41641         * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
41642         POSIX2008]: Likewise.
41644         * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
41645         (struct rusage): Do not expect type or its members.
41647         [BZ #3439]
41648         * math/math.h (FP_NAN): Define macro to integer constant usable in
41649         #if and use that to give value to enum constant.
41650         (FP_INFINITE): Likewise.
41651         (FP_ZERO): Likewise.
41652         (FP_SUBNORMAL): Likewise.
41653         (FP_NORMAL): Likewise.
41655 2012-11-02  Andreas Schwab  <schwab@linux-m68k.org>
41657         * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
41658         * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
41659         arguments.
41661 2012-11-02  Roland McGrath  <roland@hack.frob.com>
41663         * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
41664         Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
41665         autoconf-time if not.
41666         * configure.in: Remove AC_PREREQ.
41668 2012-11-02  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
41670         * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
41671         __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
41672         of the internal implementation.
41674 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
41676         * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
41677         except include of <misc/sys/syslog.h>.
41679 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
41681         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
41682         function returns with a NULL context exit with zero.
41684 2012-11-01  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
41686         * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
41688 2012-11-01  H.J. Lu  <hongjiu.lu@intel.com>
41690         * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
41691         (run_program_cmd): This.
41692         * localedata/tst-langinfo.sh (run_program_prefix): Removed.
41693         (tst_langinfo): New variable.  Use it.
41695 2012-11-01  Sebastan Andrzej Siewior  <bigeasy@linutronix.de>
41697         * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
41698         floating point opcodes.
41700 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
41702         * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
41703         variable.
41705         * elf/dl-support.c: Unconditionally include "setup-vdso.h".
41707         * sysdeps/mach/hurd/powerpc: Remove directory.
41708         * sysdeps/mach/powerpc: Likewise.
41710 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
41712         * scripts/check-local-headers.sh: Ignore c++ headers.
41714 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
41716         * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
41717         __libc_cleanup_region_start argument.
41719 2012-11-01  Joseph Myers  <joseph@codesourcery.com>
41721         [BZ #14784]
41722         [BZ #14785]
41723         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
41724         x * y using scaling, not as x * y + z.
41725         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
41726         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
41727         * math/libm-test.inc (fma_test): Add more tests.
41728         (fma_test_towardzero): Likewise.
41729         (fma_test_downward): Likewise.
41730         (fma_test_upward): Likewise.
41732 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
41734         * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
41736 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
41738         * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
41739         New variable.
41741 2012-10-31  Thomas Schwinge  <thomas@codesourcery.com>
41743         * rt/tst-shm.c (worker): Correct checking for mmap failure.
41745 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
41747         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
41748         Fix sort order.
41749         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
41750         Likewise.
41752 2012-10-31  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
41754         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
41755         Fix the order of the list for glibc 2.17.
41756         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
41757         Likewise.
41759 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
41761         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
41763 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
41765         [BZ #14610]
41766         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
41767         for low part of x being zero before using __atanl (y).
41768         * math/libm-test.inc (atan2_test): Add another test.
41770         * manual/install.texi (Configuring and compiling): Document
41771         general use of test-wrapper and test-wrapper-env.
41772         * INSTALL: Regenerated.
41774         * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
41775         (__fma): Do not extract and scale down low bits on after-rounding
41776         systems when result rounded to normal precision would have normal
41777         exponent.
41778         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
41779         (__fmal): Do not extract and scale down low bits on after-rounding
41780         systems when result rounded to normal precision would have normal
41781         exponent.
41782         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
41783         (__fmal): Do not extract and scale down low bits on after-rounding
41784         systems when result rounded to normal precision would have normal
41785         exponent.
41786         * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
41787         macro.
41788         (fma_test): Add more tests.
41789         (fma_test_towardzero): Likewise.
41790         (fma_test_downward): Likewise.
41791         (fma_test_upward): Likewise.
41793 2012-10-30  H.J. Lu  <hongjiu.lu@intel.com>
41795         * sysdeps/i386/tininess.h: Renamed to ...
41796         * sysdeps/x86/tininess.h: This.
41797         * sysdeps/x86_64/tininess.h: Removed.
41799 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
41801         * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
41802         input.  Use $(build-program-cmd).
41803         ($(objpfx)tst-array1-static.out): Likewise.
41804         ($(objpfx)tst-array2.out): Likewise.
41805         ($(objpfx)tst-array3.out): Likewise.
41806         ($(objpfx)tst-array4.out): Likewise.
41807         ($(objpfx)tst-array5.out): Likewise.
41808         ($(objpfx)tst-array5-static.out): Likewise.
41810 2012-10-30  Chris Metcalf  <cmetcalf@tilera.com>
41812         * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
41813         if defined.
41815         * nss/nsswitch.h (nss_interface_function): Provide new
41816         macro for use with NSS functions.
41817         * grp/initgroups.c: Use new macro.
41818         * nss/getXXbyYY.c: Likewise.
41819         * nss/getXXbyYY_r.c: Likewise.
41820         * nss/getXXent.c: Likewise.
41821         * nss/getXXent_r.c: Likewise.
41822         * sysdeps/posix/getaddrinfo.c: Likewise.
41824 2012-10-30  Andreas Jaeger  <aj@suse.de>
41826         * po/ru.po: Update Russion translation from translation project.
41828 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
41830         [BZ #14152]
41831         [BZ #14783]
41832         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
41833         result and shift together with sticky bit instead of replicating
41834         round-to-nearest rounding.
41835         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
41836         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
41837         * math/libm-test.inc (fma_test): Add more tests.  Do not permit
41838         missing underflow exceptions.
41839         (fma_test_towardzero): Add more tests.
41840         (fma_test_downward): Likewise.
41841         (fma_test_upward): Likewise.
41843         [BZ #14047]
41844         * sysdeps/generic/tininess.h: New file.
41845         * sysdeps/i386/tininess.h: Likewise.
41846         * sysdeps/sh/tininess.h: Likewise.
41847         * sysdeps/x86_64/tininess.h: Likewise.
41848         * stdlib/tst-strtod-underflow.c: Likewise.
41849         * stdlib/tst-tininess.c: Likewise.
41850         * stdlib/strtod_l.c: Include <tininess.h>.
41851         (round_and_return): Do not set errno for exact underflow cases.
41852         Force an underflow exception when setting errno for underflow.
41853         Determine underflow based on rounding to normal precision if
41854         TININESS_AFTER_ROUNDING.
41855         * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
41856         ERANGE for exact underflow cases.
41857         * stdlib/Makefile (tests): Add tst-tininess and
41858         tst-strtod-underflow.
41859         ($(objpfx)tst-tininess): Use $(link-libm).
41860         ($(objpfx)tst-strtod-underflow): Likewise.
41862 2012-10-30  Andreas Jaeger  <aj@suse.de>
41864         [BZ#14767]
41865         * elf/Makefile (tests): Remove conditional for have-initfini-array
41866         since this is now always required and the variable does not exist
41867         anymore.
41868         (tests-static): Likewise.
41869         (modules-names): Likewise.
41871         * po/eo.po: Add Esperanto translation from translation project.
41873         * elf/tst-array1.c (fini_array): Make writeable so that it can be
41874         merged with constructor/destructor.
41875         (init_array): Likewise.
41876         * elf/tst-array2dep.c (fini_array): Likewise.
41877         (init_array): Likewise.
41879 2012-10-29  Mike Frysinger  <vapier@gentoo.org>
41881         * manual/message.texi: Delete @cartouche tags.
41883 2012-10-29  Pino Toscano  <toscano.pino@tiscali.it>
41885         * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
41886         EOPNOTSUPP.
41887         * sysdeps/mach/hurd/fsync.c: Likewise.
41889         * sysdeps/pthread/aio_notify.c (__aio_notify_only)
41890         [_POSIX_REALTIME_SIGNALS]: Change condition to
41891         [_POSIX_REALTIME_SIGNALS > 0].
41893 2012-10-27  Andreas Jaeger  <aj@suse.de>
41895         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
41896         [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
41897         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
41898         [__WORDSIZE != 64]: Likewise.
41900 2012-10-26  H.J. Lu  <hongjiu.lu@intel.com>
41902         *  iconvdata/tst-table.sh: Remove ${SHELL}.
41903         *  iconvdata/tst-tables.sh: Likewise.
41905 2012-10-25  David S. Miller  <davem@davemloft.net>
41907         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
41908         (__get_clockfreq_via_proc_openprom): Use strtoumax instead
41909         of strtoull.
41911         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
41912         ifunc-impl-list.c
41913         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
41914         * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
41915         * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
41916         file.
41918 2012-10-25  Roland McGrath  <roland@hack.frob.com>
41920         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
41921         (__get_clockfreq_via_proc_openprom): Use __getdents instead of
41922         __getdirentries.
41924 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
41925             Jim Blandy  <jimb@codesourcery.com>
41927         * scripts/cross-test-ssh.sh: New file.
41928         * manual/install.texi (Configuring and compiling): Document use of
41929         cross-test-ssh.sh.
41930         * INSTALL: Regenerated.
41932 2012-10-25  Pino Toscano  <toscano.pino@tiscali.it>
41934         * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
41935         EOPNOTSUPP.
41937 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
41939         * Makeconfig (run-program-prefix): Fix comment.
41941 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
41942             Jim Blandy  <jimb@codesourcery.com>
41944         * Makeconfig (test-wrapper): New variable,
41945         (test-wrapper-env): Likewise.
41946         [$(cross-compiling) = yes && $(test-wrapper) != ""]
41947         (run-built-tests): Define to yes.
41948         (run-program-prefix): Use $(test-wrapper).
41949         (built-program-cmd): Likewise.
41950         * Rules (make-test-out): Use $(test-wrapper-env) and
41951         $(host-built-program-cmd).
41952         * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
41953         ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
41954         tst-pathopt.sh.
41955         ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
41956         $(test-wrapper-env) to tst-rtld-load-self.sh.
41957         ($(objpfx)order2.out): Use $(test-wrapper).
41958         ($(objpfx)tst-initorder.out): Likewise.
41959         ($(objpfx)tst-initorder2.out): Likewise.
41960         ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
41961         * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
41962         (test_wrapper_env): New variable.  Use it to run ld.so.
41963         * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
41964         Use it to run ld.so.
41965         (test_wrapper_env): Likewise.
41966         * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
41967         $(test-wrapper) to run-iconv-test.sh.
41968         * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
41969         (ICONV): Use $test_wrapper.
41970         * posix/Makefile ($(objpfx)globtest.out): Pass
41971         $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
41972         globtest.sh, not $(run-program-prefix).
41973         * posix/globtest.sh (run_via_rtld_prefix): New variable.
41974         (test_wrapper): Likewise.
41975         (test_wrapper_env): Likewise.  Use it to run globtest with HOME
41976         set together with run_via_rtld_prefix.
41977         (run_program_prefix): Define in terms of test_wrapper and
41978         run_via_rtld_prefix.
41980 2012-10-24  Roland McGrath  <roland@hack.frob.com>
41982         * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
41983         * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
41984         Targets removed.
41986         [BZ #14743]
41987         * include/time.h: Remove librt_hidden_proto (clock_gettime).
41988         Declare __clock_getres, __clock_gettime, __clock_settime,
41989         __clock_nanosleep, and __clock_getcpuclockid.
41990         * rt/clock_gettime.c: Define __clock_gettime as an alias.
41991         Remove librt_hidden_def (clock_gettime).
41992         * sysdeps/unix/clock_gettime.c: Likewise.
41993         * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
41994         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
41995         * rt/clock_getres.c: Define __clock_getres as an alias.
41996         * sysdeps/posix/clock_getres.c: Likewise.
41997         * rt/clock_settime.c: Define __clock_settime as an alias.
41998         * sysdeps/unix/clock_settime.c: Likewise.
41999         * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
42000         * sysdeps/unix/clock_nanosleep.c: Likewise.
42001         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
42002         * rt/clock-compat.c: New file.
42003         * rt/Makefile (librt-routines): Add clock-compat and move
42004         $(clock-routines) to ...
42005         (routines): ... here, new variable.
42006         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
42007         Don't add get_clockfreq here.
42008         * rt/Versions (libc: GLIBC_2.17): New version set.
42009         Add clock_* symbols here.
42010         (libc: GLIBC_PRIVATE): New version set.  Add __clock_* symbols here.
42011         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
42012         (GLIBC_2.17): Add clock_* symbols.
42013         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
42014         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
42015         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
42016         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
42017         Likewise.
42018         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
42019         Likewise.
42020         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
42021         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
42022         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
42023         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
42024         * NEWS: Mention the move.
42026         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
42027         Use __open, __read, __close rather than their public counterparts.
42028         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
42029         (__get_clockfreq_via_cpuinfo): Likewise.
42030         (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
42031         (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
42033         * config.h.in (HAVE_IFUNC): New #undef.
42034         * configure.in: Define it if libc_cv_ld_gnu_indirect_function
42035         was successful.
42036         * configure: Regenerated.
42038 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
42040         * configure.in: Move READELF check to start of file.
42041         (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
42042         libc_cv_asm_gnu_indirect_function in the process.
42043         * configure: Regenerated.
42045 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
42047         * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
42048         send the output to /dev/null.
42049         (libc_cv_cc_with_libunwind): Likewise.
42050         (libc_cv_as_noexecstack): Likewise.
42051         * configure: Regenerate.
42053 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
42055         * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
42057         * posix/globtest.sh (TMPDIR): Do not set.
42058         (testdir): Define using ${common_objpfx}posix not $TMPDIR.
42059         (testout): Likewise.
42061 2012-10-24  Andreas Jaeger  <aj@suse.de>
42063         * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
42064         types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
42065         [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
42066         [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
42067         posix_fadvise64, posix_fallocate64.
42069         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
42070         (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
42071         (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
42072         Likewise.
42073         (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
42074         Likewise.
42075         (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
42077         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
42078         (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
42079         <bits/fcntl-linux.h>.
42080         (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
42082         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
42083         (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
42084         (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
42085         (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
42086         [__WORDSIZE != 64]: Likewise.
42088 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
42090         * Makeconfig (run-built-tests): New variable.
42091         * Rules [$(cross-compiling) = yes]: Change condition to
42092         [$(run-built-tests) = no].
42093         * catgets/Makefile [$(cross-compiling) != yes]: Change condition
42094         to [$(run-built-tests) = yes].
42095         * elf/Makefile [$(cross-compiling) = no]: Likewise
42096         * grp/Makefile [$(cross-compiling) = no]: Likewise.
42097         * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
42098         * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
42099         * intl/Makefile [$(cross-compiling) = no]: Likewise.
42100         * io/Makefile [$(cross-compiling) = no]: Likewise.
42101         * libio/Makefile [$(cross-compiling) = no]: Likewise.
42102         * malloc/Makefile [$(cross-compiling) = no]: Likewise.
42103         * misc/Makefile [$(cross-compiling) = no]: Likewise.
42104         * posix/Makefile [$(cross-compiling) = no]: Likewise.
42105         * resolv/Makefile [$(cross-compiling) = no]: Likewise.
42106         * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
42107         * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
42108         * string/Makefile [$(cross-compiling) = no]: Likewise.
42110         * posix/Makefile ($(objpfx)globtest.out): Pass
42111         $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
42112         $(rtld-installed-name).
42113         * posix/globtest.sh (elf_objpfx): Remove variable.
42114         (rtld_installed_name): Likewise.
42115         (library_path): Likewise.
42116         (run_program_prefix): New variable.  Use for running globtest
42117         binary.
42119 2012-10-23  Jim Blandy  <jimb@codesourcery.com>
42120             Joseph Myers  <joseph@codesourcery.com>
42122         * Makeconfig (host-built-program-cmd): New variable.
42123         * elf/Makefile (tst-stackguard1-ARGS): Use
42124         $(host-built-program-cmd).
42125         * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
42126         (tst-spawn-ARGS): Likewise.
42127         * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
42129 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
42130             Jim Blandy  <jimb@codesourcery.com>
42132         * Makeconfig (run-via-rtld-prefix): New variable.
42133         (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
42134         (built-program-cmd): Likewise.
42136 2012-10-22  Andreas Jaeger  <aj@suse.de>
42138         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
42139         __O_RSYNC if it exists, otherwise to O_SYNC.
42141 2012-10-22  Jim Blandy  <jimb@codesourcery.com>
42142             Joseph Myers  <joseph@codesourcery.com>
42144         * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
42145         /dev/null.
42146         * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
42147         from /dev/null
42148         * posix/tst-getconf.sh: Redirect getconf stdin in loop from
42149         /dev/null.
42151 2012-10-22  Andreas Jaeger  <aj@suse.de>
42153         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
42154         Define always.
42155         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
42157         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
42158         bits/fcntl-linux.h.
42160         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
42161         (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
42163         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
42164         to __O_LARGEFILE.
42165         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
42166         to __O_LARGEFILE.
42168 2012-10-21  Jim Blandy  <jimb@codesourcery.com>
42169             Joseph Myers  <joseph@codesourcery.com>
42171         * config.make.in (NM): New variable.
42173 2012-10-21  Andreas Jaeger  <aj@suse.de>
42175         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
42176         definitions and declarations that are provided by
42177         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
42179 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
42181         [BZ #14683]
42182         * elf/Makefile (tests-static): Add tst-leaks1-static.
42183         (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
42184         ($(objpfx)tst-leaks1-static): New rule.
42185         ($(objpfx)tst-leaks1-static-mem): Likewise.
42186         (tst-leaks1-static-ENV): New macro.
42187         * elf/dl-open.c (dl_open_worker): Check the main application
42188         only if SHARED is defined.
42189         * elf/tst-leaks1-static.c: New file.
42191 2012-10-20  Andreas Jaeger  <aj@suse.de>
42193         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
42194         generic values for Linux.
42195         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
42196         and declarations that are provided by <bits/fcntl-linux.h> and
42197         include <bits/fcntl-linux.h>.
42198         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
42199         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
42201 2012-10-20  Roland McGrath  <roland@hack.frob.com>
42203         * io/fcntl.h: Move include of <bits/types.h> to the top and
42204         include it unconditionally.
42206 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
42208         * wcsmbs/Makefile (tests-ifunc): New variable.
42209         (tests): Add $(tests-ifunc).
42210         * wcsmbs/test-wcschr-ifunc.c: New file.
42211         * wcsmbs/test-wcscmp-ifunc.c: Likewise.
42212         * wcsmbs/test-wcscpy-ifunc.c: Likewise.
42213         * wcsmbs/test-wcslen-ifunc.c: Likewise.
42214         * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
42215         * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
42217         * string/Makefile (tests-ifunc): New variable.
42218         (tests): Add $(tests-ifunc).
42219         * string/test-memccpy.c (TEST_NAME): New macro.
42220         * string/test-memchr.c (TEST_NAME): Likewise.
42221         * string/test-memcmp.c (TEST_NAME): Likewise.
42222         * string/test-memcpy.c (TEST_NAME): Likewise.
42223         * string/test-memmem.c (TEST_NAME): Likewise.
42224         * string/test-memmove.c (TEST_NAME): Likewise.
42225         * string/test-memset.c (TEST_NAME): Likewise.
42226         * string/test-rawmemchr.c (TEST_NAME): Likewise.
42227         * string/test-stpcpy.c (TEST_NAME): Likewise.
42228         * string/test-stpncpy.c (TEST_NAME): Likewise.
42229         * string/test-strcasecmp.c (TEST_NAME): Likewise.
42230         * string/test-strcasestr.c (TEST_NAME): Likewise.
42231         * string/test-strcat.c (TEST_NAME): Likewise.
42232         * string/test-strchr.c (TEST_NAME): Likewise.
42233         * string/test-strcmp.c(TEST_NAME): Likewise.
42234         * string/test-strcpy.c (TEST_NAME): Likewise.
42235         * string/test-strcspn.c (TEST_NAME): Likewise.
42236         * string/test-strlen.c (TEST_NAME): Likewise.
42237         * string/test-strncasecmp.c (TEST_NAME): Likewise.
42238         * string/test-strncmp.c (TEST_NAME): Likewise.
42239         * string/test-strncpy.c (TEST_NAME): Likewise.
42240         * string/test-strnlen.c (TEST_NAME): Likewise.
42241         * string/test-strpbrk.c (TEST_NAME): Likewise.
42242         * string/test-strrchr.c (TEST_NAME): Likewise.
42243         * string/test-strspn.c (TEST_NAME): Likewise.
42244         * string/test-strstr.c (TEST_NAME): Likewise.
42245         * string/test-bcopy-ifunc.c: New file.
42246         * string/test-bzero-ifunc.c: Likewise.
42247         * string/test-memccpy-ifunc.c: Likewise.
42248         * string/test-memchr-ifunc.c: Likewise.
42249         * string/test-memcmp-ifunc.c: Likewise.
42250         * string/test-memcpy-ifunc.c: Likewise.
42251         * string/test-memmem-ifunc.c: Likewise.
42252         * string/test-memmove-ifunc.c: Likewise.
42253         * string/test-mempcpy-ifunc.c: Likewise.
42254         * string/test-memset-ifunc.c: Likewise.
42255         * string/test-rawmemchr-ifunc.c: Likewise.
42256         * string/test-stpcpy-ifunc.c: Likewise.
42257         * string/test-stpncpy-ifunc.c: Likewise.
42258         * string/test-strcasecmp-ifunc.c: Likewise.
42259         * string/test-strcasestr-ifunc.c: Likewise.
42260         * string/test-strcat-ifunc.c: Likewise.
42261         * string/test-strchr-ifunc.c: Likewise.
42262         * string/test-strchrnul-ifunc.c: Likewise.
42263         * string/test-strcmp-ifunc.c: Likewise.
42264         * string/test-strcpy-ifunc.c: Likewise.
42265         * string/test-strcspn-ifunc.c: Likewise.
42266         * string/test-strlen-ifunc.c: Likewise.
42267         * string/test-strncasecmp-ifunc.c: Likewise.
42268         * string/test-strncat-ifunc.c: Likewise.
42269         * string/test-strncmp-ifunc.c: Likewise.
42270         * string/test-strncpy-ifunc.c: Likewise.
42271         * string/test-strnlen-ifunc.c: Likewise.
42272         * string/test-strpbrk-ifunc.c: Likewise.
42273         * string/test-strrchr-ifunc.c: Likewise.
42274         * string/test-strspn-ifunc.c: Likewise.
42275         * string/test-strstr-ifunc.c: Likewise.
42277         * debug/Makefile (tests-ifunc): New variable.
42278         (tests): Add $(tests-ifunc).
42279         * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
42280         * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
42281         * debug/test-stpcpy_chk-ifunc.c: New file.
42282         * debug/test-strcpy_chk-ifunc.c: Likewise.
42284 2012-10-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
42286         [BZ #13601]
42287         * elf/dl-load.c (open_verify): Retry read if the entire ELF
42288         header is not read in.
42290 2012-10-19  Joseph Myers  <joseph@codesourcery.com>
42292         * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh.  Pass
42293         script to $(SHELL) as $<.  Pass $(common-objpfx) to script
42294         directly.  Pass built executable to script as
42295         $(built-program-cmd).
42296         * io/ftwtest-sh (ldso): Remove variable.  Run ftwtest directly as
42297         $testprogram without using LD_LIBRARY_PATH and $ldso.
42299         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
42300         $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
42301         $(rtld-installed-name).
42302         * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
42303         (rtld_installed_name): Likewise.
42304         (library_path): Likewise.
42305         (run_program_prefix): New variable.  Use it to run tst_fgetgrent.
42306         * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
42307         $(run-program-prefix) to tst-tables.sh.
42308         * iconvdata/tst-table.sh (run_program_prefix): New variable.  Use
42309         it to run tst-table-from and tst-table-to.
42310         * iconvdata/tst-tables.sh (run_program_prefix): New variable.
42311         Pass it to tst-table.sh.
42312         * intl/Makefile ($(objpfx)tst-gettext.out): Pass
42313         $(run-program-prefix) to tst-gettext.sh.
42314         ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
42315         tst-translit.sh.
42316         ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
42317         tst-gettext2.sh.
42318         * intl/tst-gettext.sh (run_program_prefix): New variable.  Use it
42319         to run tst-gettext.
42320         * intl/tst-gettext2.sh (run_program_prefix): New variable.  Use it
42321         to run tst-gettext2.
42322         * intl/tst-translit.sh (run_program_prefix): New variable.  Use it
42323         to run tst-translit.
42324         * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
42325         $(run-program-prefix) to tst-mtrace.sh.
42326         * malloc/tst-mtrace.sh (run_program_prefix): New variable.  Use it
42327         to run tst-mtrace.
42328         * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
42329         $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
42330         $(rtld-installed-name).
42331         * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
42332         (rtld_installed_name): Likewise.
42333         (run_program_prefix): New variable.  Use it to run wordexp-test.
42335         * Makeconfig (ARCH): Remove all definitions.
42336         (machine): Likewise.
42337         [ARCH]: Remove conditional code.
42338         [!objdir]: Give error.
42339         [!objdir] (objpfx): Remove.
42340         [!objdir] (common-objpfx): Likewise.
42341         [!objdir] (common-objdir): Likewise.
42342         * configure.in (config_makefile): Remove.  Hardcode Makefile in
42343         AC_CONFIG_FILES call.
42344         * configure: Regenerated.
42346         [BZ #13888]
42347         * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
42348         or TMPDIR.
42349         (testout): Likewise.
42351         * posix/Makefile ($(objpfx)tst-getconf.out): Pass
42352         $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
42353         $(rtld-installed-name).
42354         * posix/tst-getconf.sh (elf_objpfx): Remove variable.
42355         (rtld_installed_name): Likwise.
42356         (runit): Remove function.
42357         (run_getconf): New variable,  Use it for running getconf binary.
42359 2012-10-18  H.J. Lu  <hongjiu.lu@intel.com>
42361         [BZ #14716]
42362         * string/test-memmem.c (check_result): New function.
42363         (do_one_test): Use it.
42364         (check1): New function.
42365         (test_main): Use it.
42367 2012-10-18  Markus Trippelsdorf  <markus@trippelsdorf.de>
42369         * math/Makefile: Comment on slow compilation of test-tgmath2.c.
42371 2012-10-18  Joseph Myers  <joseph@codesourcery.com>
42373         * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
42374         (_G_LSEEK64): Likewise.
42375         (_G_MMAP64): Likewise.
42376         (_G_FSTAT64): Likewise.
42377         * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
42378         (_G_LSEEK64): Likewise.
42379         (_G_MMAP64): Likewise.
42380         (_G_FSTAT64): Likewise.
42381         * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
42382         unconditional.  Call __mmap64 directly.
42383         (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
42384         (mmap_remap_check) [_G_LSEEK64]: Make code unconditional.  Call
42385         __lseek64 directly.
42386         (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
42387         (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional.  Call
42388         __mmap64 directly.
42389         (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
42390         (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional.  Call
42391         __lseek64 directly.
42392         (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
42393         (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional.  Call
42394         __lseek64 directly.
42395         (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
42396         (_IO_file_seek) [_G_LSEEK64]: Make code unconditional.  Call
42397         __lseek64 directly.
42398         (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
42399         (_IO_file_stat) [_G_FSTAT64]: Make code unconditional.  Call
42400         __fxstat64 directly.
42401         (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
42402         * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
42403         unconditional.
42404         (freopen64) [!_G_OPEN64]: Remove conditional code.
42405         * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
42406         unconditional.
42407         (fseeko64) [!_G_LSEEK64]: Remove conditional code.
42408         * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
42409         unconditional.
42410         (ftello64) [!_G_LSEEK64]: Remove conditional code.
42411         * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
42412         unconditional.
42413         (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
42414         * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
42415         unconditional.
42416         (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
42417         * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
42418         unconditional.
42419         (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
42420         * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
42421         unconditional.
42422         (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
42423         * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
42424         unconditional.
42425         (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
42427 2012-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
42429         [BZ #12140]
42430         * manual/memory.texi (Malloc Tunable Parameters): Add note
42431         about free list pointers overwriting some perturb bytes.
42432         Wording suggested by Roland McGrath.
42434 2012-10-17  Joseph Myers  <joseph@codesourcery.com>
42436         * math/libm-test.inc (gamma_test): Do not call feclearexcept.
42437         (lgamma_test): Likewise.
42438         (tgamma_test): Likewise.
42440 2012-10-16  Florian Weimer  <fweimer@redhat.com>
42442         [BZ #14700]
42443         * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
42444         (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
42446 2012-10-16  Maxim Kuvyrkov  <maxim@codesourcery.com>
42448         * NEWS: Mention BZ #14716.
42449         * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
42450         when removing AVAILABLE1_USES_J macro.
42452 2012-10-12  H.J. Lu  <hongjiu.lu@intel.com>
42454         * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
42455         (__bswap_64): __uint64_t for unsigned 64-bit int.
42457 2012-10-12  Andreas Schwab  <schwab@linux-m68k.org>
42459         * include/string.h (memmem): Declare libc hidden alias.
42460         * string/memmem.c (memmem): Define libc hidden alias.
42461         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
42462         __read, __close instead of open, read, close.
42464 2012-10-11  H.J. Lu  <hongjiu.lu@intel.com>
42466         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
42467         * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
42468         global and hidden.
42469         * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
42470         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
42471         * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
42472         Likewise.
42473         (__rawmemchr_sse2): Likewise.
42474         * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
42475         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
42476         (__strchr_sse2): Likewise.
42477         * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
42478         * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
42479         (__strcasecmp_sse2): Likewise.
42480         (__strncasecmp_sse2): Likewise.
42481         * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
42482         * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
42483         * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
42484         * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
42485         (__strrchr_sse2): Likewise.
42486         * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
42487         ifunc-impl-list.c.
42488         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
42489         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
42490         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
42491         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
42492         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
42493         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
42494         * sysdeps/x86_64/multiarch/memset.S: Likewise.
42495         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
42496         * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
42497         * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
42498         * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
42499         * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
42500         * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
42501         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
42502         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
42503         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
42504         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
42505         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
42506         * sysdeps/x86_64/multiarch/strlen.S: Likewise.
42507         * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
42508         * sysdeps/x86_64/multiarch/strncat.S: Likewise.
42509         * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
42510         * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
42511         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
42512         * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
42513         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
42514         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
42515         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
42516         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
42517         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
42519         * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
42520         global and hidden.
42521         * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
42522         * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
42523         * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
42524         * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
42525         Likewise.
42526         * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
42527         Likewise.
42528         * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
42529         * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
42530         * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
42531         * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
42532         ifunc-impl-list.c.
42533         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
42534         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
42535         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
42536         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
42537         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
42538         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
42539         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
42540         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
42541         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
42542         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
42543         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
42544         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
42545         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
42546         * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
42547         * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
42548         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
42549         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
42550         * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
42551         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
42552         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
42553         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
42554         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
42555         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
42556         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
42557         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
42558         * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
42559         * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
42560         * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
42561         * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
42562         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
42563         * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
42564         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
42565         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
42566         * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
42567         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
42568         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
42569         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
42570         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
42571         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
42572         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
42573         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
42575         * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
42576         [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
42577         * include/ifunc-impl-list.h: New file.
42578         * misc/ifunc-impl-list.c: Likewise.
42579         * misc/Makefile (routines): Add ifunc-impl-list.
42580         * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
42581         * string/test-string.h: Include <ifunc-impl-list.h>.
42582         (func_list, func_count, impl_count, impl_array) [TEST_IFUNC &&
42583         TEST_NAME]: New variables.
42584         (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
42585         are defined.
42586         (test_init): Call __libc_ifunc_impl_list to initialize
42587         func_list if TEST_IFUNC and TEST_NAME are defined.
42589         * string/Makefile (strop-tests): Add bcopy and bzero.
42590         * string/test-bcopy.c: New file.
42591         * string/test-bzero.c: Likewise.
42592         * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
42593         defined.
42594         * string/test-memset.c: Support bzero test if TEST_BZERO is
42595         defined.
42596         * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
42597         __libc_memmove.
42598         * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
42599         __libc_memset.
42600         * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
42601         of memset.
42603 2012-10-10  Joseph Myers  <joseph@codesourcery.com>
42605         * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
42606         * configure: Regenerated.
42608         * Makeconfig (+link-static-before-libc): Don't include
42609         $(link-static-libc).
42611         * libio/libio.h (_IO_pos_t): Remove.
42613 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
42615         * NEWS: Add note about FIPS mode.  Wording suggested by Roland
42616         McGrath.
42618 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
42620         * crypt/crypt-entry.c: Include fips-private.h.
42621         (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
42622         * crypt/md5c-test.c (main): Tolerate disabled MD5.
42623         * sysdeps/unix/sysv/linux/fips-private.h: New file.
42624         * sysdeps/generic/fips-private.h: New file, dummy fallback.
42626 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
42628         * crypt/crypt-private.h: Include stdbool.h.
42629         (_ufc_setup_salt_r): Return bool.
42630         * crypt/crypt-entry.c: Include errno.h.
42631         (__crypt_r): Return NULL with EINVAL for bad salt.
42632         * crypt/crypt_util.c (bad_for_salt): New.
42633         (_ufc_setup_salt_r): Check that salt is long enough and within
42634         the specified alphabet.
42635         * crypt/badsalttest.c: New file.
42636         * crypt/Makefile (tests): Add it.
42637         ($(objpfx)badsalttest): New.
42639 2012-10-09  Maxim Kuvyrkov  <maxim@codesourcery.com>
42641         * NEWS: Add entry for BZ #14602.
42643 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
42645         * math/gen-libm-test.pl (parse_args): Handle comparison macros as
42646         type-generic.
42647         * math/libm-test.inc: Update comment listing what functions and
42648         macros are tested.
42649         (isgreater_test): New function.
42650         (isgreaterequal_test): Likewise.
42651         (isless_test): Likewise.
42652         (islessequal_test): Likewise.
42653         (islessgreater_test): Likewise.
42654         (isunordered_test): Likewise.
42655         (main): Call the new functions.
42657 2012-10-09  Roland McGrath  <roland@hack.frob.com>
42659         * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
42660         _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
42661         AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
42662         * sysdeps/i386/configure: Regenerated.
42663         * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
42664         * sysdeps/mach/configure: Regenerated.
42665         * sysdeps/mach/hurd/configure: Regenerated.
42666         * sysdeps/powerpc/configure: Regenerated.
42667         * sysdeps/powerpc/powerpc32/configure: Regenerated.
42668         * sysdeps/powerpc/powerpc64/configure: Regenerated.
42669         * sysdeps/s390/s390-32/configure: Regenerated.
42670         * sysdeps/s390/s390-64/configure: Regenerated.
42671         * sysdeps/sh/configure: Regenerated.
42672         * sysdeps/sparc/configure: Regenerated.
42673         * sysdeps/unix/sysv/linux/configure: Regenerated.
42674         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
42675         * sysdeps/x86_64/configure: Regenerated.
42677         * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
42678         defined.  Don't check if MAP is NULL.
42680 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
42682         * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
42683         (_G_stat64): Likewise.
42684         * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
42685         (_G_stat64): Likewise.
42686         * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
42687         instead of struct _G_stat64.
42688         * libio/fileops.c (mmap_remap_check): Likewise.
42689         (decide_maybe_mmap): Likewise.
42690         (_IO_new_file_seekoff): Likewise.
42691         (_IO_file_stat): Likewise.
42692         * libio/libio.h (_IO_off64_t): Define to __off64_t, not
42693         _G_off64_t.
42694         * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
42695         instead of struct _G_stat64.
42696         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
42698 2012-10-08  Maxim Kuvyrkov  <maxim@codesourcery.com>
42700         [BZ #14602]
42701         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
42702         Replace with ...
42703         (CHECK_EOL): New macro.
42704         (two_way_short_needle): Check beginning of haystack for EOL.  Use
42705         CHECK_EOL.
42706         * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
42707         Replace with CHECK_EOL.
42708         * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
42709         Replace with CHECK_EOL.
42711 2012-10-08  Joseph Myers  <joseph@codesourcery.com>
42713         * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
42714         type-generic.
42715         * math/libm-test.inc: Update comment listing what functions and
42716         macros are tested.
42717         (finite_test): New function.
42718         (isinf_test): Likewise.
42719         (isnan_test): Likewise.
42720         (fpclassify_test): Test subnormal input.
42721         (isfinite_test): Likewise.
42722         (isnormal_test): Likewise.
42723         (main): Call the new functions.
42725 2012-10-08  Jonathan Nieder  <jrnieder@gmail.com>
42727         [BZ #14660]
42728         * Makerules (%.dynsym): Force C locale when running
42729         $(OBJDUMP) --dynamic-syms.
42731 2012-10-08  Andreas Schwab  <schwab@linux-m68k.org>
42733         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
42734         <stdint.h>.
42736 2012-10-06  David S. Miller  <davem@davemloft.net>
42738         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
42739         upper 32-bits of the length value in %o2 since we use branch-on-register
42740         tests which consider the entire 64-bit register.
42742 2012-10-06  H.J. Lu  <hongjiu.lu@intel.com>
42744         * string/test-strstr.c (check2): Add a test for page boundary.
42746 2012-10-05  David S. Miller  <davem@davemloft.net>
42748         * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
42749         * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
42750         file.
42751         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
42752         sysdep_routines.
42753         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
42754         * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
42755         and bzero when HWCAP_SPARC_CRYPTO is present.
42757 2012-10-05  H.J. Lu  <hongjiu.lu@intel.com>
42759         [BZ #14602]
42760         * string/test-strstr.c (check2): New function.
42761         (test_main): Call check2.
42763         * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
42764         and bug-strchr1.
42765         * string/bug-strcasestr1.c (do_test): Moved to ...
42766         * string/test-strcasestr.c (check1): Here.  New function.
42767         (do_one_test): Break out result checking code into ...
42768         (check_result): This.  New function.
42769         (do_one_test): Call check_result.
42770         (test_main): Call check1.
42771         * string/bug-strchr1.c (do_test): Moved to ...
42772         * string/test-strchr.c (check1): Here.  New function.
42773         (do_one_test): Break out result checking code into ...
42774         (check_result): This.  New function.
42775         (do_one_test): Call check_result.
42776         (test_main): Call check1.
42777         * string/bug-strstr1.c (main): Moved to ...
42778         * string/test-strstr.c (check1): Here.  New function.
42779         (do_one_test): Break out result checking code into ...
42780         (check_result): This.  New function.
42781         (do_one_test): Call check_result.
42782         (test_main): Call check1.
42783         * string/bug-strcasestr1.c: Removed.
42784         * string/bug-strchr1.c: Likewise.
42785         * string/bug-strstr1.c: Likewise.
42787         * elf/Makefile (dl-routines): Add hwcaps.
42788         * elf/dl-support.c (_dl_important_hwcaps): Removed.
42789         * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
42790         (_dl_important_hwcaps): Moved to ...
42791         * elf/dl-hwcaps.c: Here.  New file.
42792         * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
42794         [BZ #14557]
42795         * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
42796         if IS_IN_rtld isn't defined.
42798         * elf/dl-support.c (_dl_sysinfo_map): New.
42799         Include "get-dynamic-info.h" and "setup-vdso.h".
42800         (_dl_non_dynamic_init): Call setup_vdso.
42801         * elf/dynamic-link.h: Don't include <assert.h>.
42802         (elf_get_dynamic_info): Moved to ...
42803         * elf/get-dynamic-info.h: Here.  New file.
42804         * elf/dynamic-link.h: Include "get-dynamic-info.h".
42805         * elf/rtld.c (dl_main): Break out vDSO setup code into ...
42806         * elf/setup-vdso.h: Here.  New file.
42807         * elf/rtld.c: Include "setup-vdso.h".
42808         (dl_main): Call setup_vdso.
42810 2012-10-05  Joseph Myers  <joseph@codesourcery.com>
42812         * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
42813         creal in comment listing functions tested.  List finite, isinf,
42814         isnan, isless, islessequal, isgreater, isgreaterequal,
42815         islessgreater, isunordered, lgamma_r and pow10 as functions and
42816         macros not tested.  Mention which functions not tested are aliases
42817         for other functions.  Fix typo.  Note that signs of NaNs are not
42818         tested.
42820         * scripts/config.guess: Update from config.git.
42821         * scripts/config.sub: Likewise.
42823 2012-10-04  Roland McGrath  <roland@hack.frob.com>
42825         * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
42826         * misc/madvise.c (madvise): Renamed to __madvise.
42827         Make madvise a weak alias.
42828         * include/sys/mman.h: Declare __madvise.
42829         Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
42830         * sysdeps/unix/syscalls.list
42831         (madvise): Make __madvise the strong name, and madvise a weak alias.
42832         * sysdeps/unix/sysv/linux/syscalls.list
42833         (madvise, mmap): Remove redundant entries.
42834         * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
42835         * malloc/malloc.c (mtrim): Likewise.
42836         * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
42838 2012-10-03  Roland McGrath  <roland@hack.frob.com>
42840         * sysdeps/mach/hurd/dl-cache.c: File removed.
42841         * config.h.in (USE_LDCONFIG): New #undef.
42842         * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
42843         * configure: Regenerated.
42844         * elf/Makefile (dl-routines): Add dl-cache only under
42845         [$(use-ldconfig) = yes].
42846         * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
42847         cache on [USE_LDCONFIG].
42848         * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
42849         [USE_LDCONFIG].
42850         * elf/rtld.c (dl_main): Likewise.
42852 2012-10-03  Pino Toscano  <toscano.pino@tiscali.it>
42854         * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
42855         _SC_LEVEL4_CACHE_LINESIZE.
42857 2012-10-03  Roland McGrath  <roland@hack.frob.com>
42859         * sysdeps/unix/bsd/confstr.h: File removed.
42861 2012-10-02  Alexandre Oliva <aoliva@redhat.com>
42863         * scripts/check-local-headers.sh: Exclude sys/sdt.h and
42864         sys/sdt-config.h.
42866 2012-10-02  Roland McGrath  <roland@hack.frob.com>
42868         * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
42869         Make 'mapoff' field ElfW(Off) rather than off_t.
42871 2012-10-02  Dmitry V. Levin  <ldv@altlinux.org>
42873         * nscd/Makefile: Remove nscd-cflags and all its users.
42874         (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
42875         (CFLAGS-nonlib): Add compiler flags for nscd modules.
42877         [BZ #10631]
42878         * malloc.c (malloc_printerr): Clarify error message.
42880 2012-10-02  H.J. Lu  <hongjiu.lu@intel.com>
42882         [BZ #14648]
42883         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
42884         Set bit_FMA_Usable if FMA is supported.
42885         * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
42886         macro.
42887         (bit_FMA4_Usable): Updated.
42888         (index_FMA_Usable): New macro.
42889         (CPUID_FMA): Likewise
42890         (HAS_FMA): Defined with bit_FMA_Usable.
42892 2012-10-01  Roland McGrath  <roland@hack.frob.com>
42894         * bits/types.h (__swblk_t): Type removed.
42895         * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
42896         * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
42897         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
42898         (__SWBLK_T_TYPE): Likewise.
42899         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
42900         (__SWBLK_T_TYPE): Likewise.
42901         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
42902         (__SWBLK_T_TYPE): Likewise.
42903         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
42904         (__SWBLK_T_TYPE): Likewise.
42906 2012-10-01  Patsy Franklin <pfrankli@redhat.com>
42907             Honza Horak <hhorak@redhat.com>
42909         * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
42910         (xdr_mapname): Use YPMAXMAP as maxsize.
42911         (xdr_peername): Use YPMAXPEER as maxsize.
42912         (xdr_keydat): Use YPAXRECORD as maxsize.
42913         (xdr_valdat): Use YPMAXRECORD as maxsize.
42915 2012-10-01  Roland McGrath  <roland@hack.frob.com>
42917         * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
42919         * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
42920         * csu/init-first.c: ... here.
42921         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
42922         * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
42923         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
42924         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
42925         * sysdeps/i386/init-first.c: File removed.
42926         * sysdeps/sh/init-first.c: File removed.
42928 2012-10-01  Joseph Myers  <joseph@codesourcery.com>
42930         [BZ #14645]
42931         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
42932         if x * y might underflow to zero and z is zero.
42933         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
42934         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
42935         * math/libm-test.inc (min_subnorm_value): New variable.
42936         (fma_test): Add more tests.
42937         (fma_test_towardzero): Likewise.
42938         (fma_test_downward): Likewise
42939         (fma_test_upward): Likewise.
42940         (initialize): Set min_subnorm_value.
42942 2012-09-29  Joseph Myers  <joseph@codesourcery.com>
42944         [BZ #14638]
42945         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
42946         0 + 0.
42947         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
42948         mode for addition resulting in exact zero.
42949         * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
42950         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
42951         exact 0 + 0.
42952         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
42953         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
42954         * math/libm-test.inc (fma_test): Add more tests.
42955         (fma_test_towardzero): New function.
42956         (fma_test_downward): Likewise.
42957         (fma_test_upward): Likewise.
42958         (main): Call the new functions.
42960 2012-09-28  David S. Miller  <davem@davemloft.net>
42962         * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
42964 2012-09-28  Roland McGrath  <roland@hack.frob.com>
42966         * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
42967         instead of SIGALRM.
42969         * sysdeps/gnu/_G_config.h: Moved to ...
42970         * sysdeps/unix/sysv/linux/_G_config.h: ... here.
42971         * sysdeps/mach/hurd/_G_config.h: Moved to ...
42972         * sysdeps/generic/_G_config.h: ... here.
42974         * io/open.c (__open): Renamed to __libc_open.  Make __open an alias.
42976         * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
42978         * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
42979         Conditionalize target on [libnss_test1.so-version].
42981         * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
42983         * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
42984         (elfobjdir): Move out of conditionals.
42986         * nss/nsswitch.c (nss_new_service): Conditionalize definition and
42987         declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
42988         (__nss_lookup_function): Conditionalize label remove_from_tree on
42989         [!DO_STATIC_NSS || SHARED], matching its only use.
42991 2012-09-28  David S. Miller  <davem@davemloft.net>
42993         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
42994         * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
42995         file.
42996         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
42997         sysdep_routines.
42998         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
42999         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
43000         when HWCAP_SPARC_CRYPTO is present.
43002 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
43004         * io/tst-mknodat.c: Create a FIFO instead of a socket.
43006 2012-09-28  Andreas Schwab  <schwab@linux-m68k.org>
43008         [BZ #6530]
43009         * stdio-common/vfprintf.c (process_string_arg): Revert
43010         2000-07-22 change.
43012 2011-09-28  Jonathan Nieder  <jrnieder@gmail.com>
43014         * stdio-common/Makefile (tst-sprintf-ENV): Set environment
43015         for testcase.
43016         * stdio-common/tst-sprintf.c: Include <locale.h>
43017         (main): Test sprintf's handling of incomplete multibyte
43018         characters.
43020 2012-09-28  H.J. Lu  <hongjiu.lu@intel.com>
43022         * elf/dl-runtime.c (VERSYMIDX): Removed.
43023         * elf/dl-version.c (VERSYMIDX): Likewise.
43024         * elf/do-rel.h (VERSYMIDX): Likewise.
43025         (VALIDX): Likewise.
43026         * elf/dynamic-link.h (VERSYMIDX): Likewise.
43027         * elf/rtld.c (VALIDX): Likewise.
43028         (ADDRIDX): Likewise.
43029         * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
43030         * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
43031         * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
43032         * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
43033         (VALIDX): Likewise.
43034         (ADDRIDX): Likewise.
43036 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
43038         * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
43040 2012-09-28  Dmitry V. Levin  <ldv@altlinux.org>
43042         [BZ #11438]
43043         * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
43044         to global scope.
43045         * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
43046         addresses are in the same scope as 192.0.2/24.
43047         * posix/gai.conf: Document new scope table defaults.
43049 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
43051         [BZ #5298]
43052         * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
43053         for ftell.  Compute offsets from write pointers instead.
43054         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
43056 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
43058         [BZ #14543]
43059         * libio/Makefile (tests): New test case tst-fseek.
43060         * libio/tst-fseek.c: New test case to verify that fseek/ftell
43061         combination works in wide mode.
43062         * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
43063         state when the external buffer state changes.
43065 2012-09-27  David S. Miller  <davem@davemloft.net>
43067         [BZ #14376]
43068         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
43069         pass reloc->r_addend in as the 'high' argument to
43070         sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
43072         * sysdeps/sparc/fpu/libm-test-ulps: Update.
43074 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
43076         * rt/tst-aio2.c: Include <pthread.h>.
43077         * rt/tst-aio3.c: Likewise.
43079 2012-09-27  Steve Ellcey  <sellcey@mips.com>
43081         * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
43083 2012-09-27  H.J. Lu  <hongjiu.lu@intel.com>
43085         * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
43086         contents on [SHARED].
43088 2012-09-26  Marek Polacek  <polacek@redhat.com>
43090         [BZ #14530]
43091         [BZ #13741]
43092         * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
43093         for C++ and GCC <4.3 as well as for non GCC compilers.
43095 2012-09-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
43097         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
43099 2012-09-25  Roland McGrath  <roland@hack.frob.com>
43101         * Makefile.in (all, install): Declare with .PHONY.
43102         Reported by Michael Hope <michael.hope@linaro.org>.
43104 2012-09-25  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
43106         * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
43107         * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
43108         system header.
43109         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
43110         Likewise.
43111         (sydep_routines): Add the new and the internal functions.
43112         * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
43113         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
43114         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
43115         (GLIBC_2.17): Add the new function.
43116         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
43117         (GLIBC_2.17): Likewise.
43118         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
43119         (GLIBC_2.17): Likewise.
43120         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
43121         (GLIBC_2.17): Likewise.
43122         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
43124 2012-09-25  Alan Modra  <amodra@gmail.com>
43126         * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
43127         Add release barrier before setting once_control to say
43128         initialisation is done.  Add hints on lwarx.  Use macro in
43129         place of isync.
43130         (clear_once_control): Add release barrier.
43132 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
43134         [BZ #13629]
43135         * math/s_clog.c (__clog): Handle more values close to |z| = 1
43136         specially.
43137         * math/s_clog10.c (__clog10): Likewise.
43138         * math/s_clog10f.c (__clog10f): Likewise.
43139         * math/s_clog10l.c (__clog10l): Likewise.
43140         * math/s_clogf.c (__clogf): Likewise.
43141         * math/s_clogl.c (__clogl): Likewise.
43142         * math/Makefile (libm-calls): Add x2y2m1.
43143         * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
43144         (__x2y2m1): Likewise.
43145         (__x2y2m1l): Likewise.
43146         * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
43147         * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
43148         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
43149         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
43150         * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
43151         * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
43152         * math/libm-test.inc (clog_test, clog10_test): Add more tests.
43153         * sysdeps/i386/fpu/libm-test-ulps: Update.
43154         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43156         [BZ #14621]
43157         * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
43158         int as type of variable DEPTH.
43159         (glob): Use size_t instead of int as type of variables NEWCOUNT
43160         and OLD_PATHC.
43162 2012-09-25  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
43164         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
43165         Add s_sincosf-sse2.
43166         * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
43167         * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
43168         * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
43169         macros for using routine as __sincosf_ia32.
43170         Use macro for function declaration and weak_alias.
43171         * sysdeps/i386/fpu/libm-test-ulps: Update.
43173         * sysdeps/x86_64/fpu/s_sincosf.S: New file.
43174         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
43176         * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
43177         subnormal argument.
43178         * math/s_cexpf.c (__cexpf): Likewise.
43179         * math/s_csinf.c (__csinf): Likewise.
43180         * math/s_csinhf.c (__csinhf): Likewise.
43181         * math/s_ctanf.c (__ctanf): Likewise.
43182         * math/s_ctanhf.c (__ctanhf): Likewise.
43183         * math/s_ccosh.c (__ccoshf): Likewise.
43184         * math/s_cexp.c (__cexpl): Likewise.
43185         * math/s_csin.c (__csin): Likewise.
43186         * math/s_csinh.c (__csinh): Likewise.
43187         * math/s_ctan.c (__ctan): Likewise.
43188         * math/s_ctanh.c (ctanh): Likewise.
43189         * math/s_ccoshl.c (__ccoshl): Likewise.
43190         * math/s_cexpl.c (__cexpl): Likewise.
43191         * math/s_csinl.c (__csinl): Likewise.
43192         * math/s_csinhl.c (__csinhl): Likewise.
43193         * math/s_ctanl.c (__ctanl): Likewise.
43194         * math/s_ctanhl.c (__ctanhl): Likewise.
43196 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
43198         * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
43199         (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
43200         (_IO_off_t): Define to __off_t, not _G_off_t.
43201         (_IO_pid_t): Define to __pid_t, not _G_pid_t.
43202         (_IO_uid_t): Define to __uid_t, not _G_uid_t.
43203         (_IO_wint_t): Define to wint_t, not _G_wint_t.
43204         * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
43205         type of __dummy and __dummy2 fields.
43206         * sysdeps/generic/_G_config.h (_G_size_t): Remove.
43207         (_G_ssize_t): Likewise.
43208         (_G_off_t): Likewise.
43209         (_G_pid_t): Likewise.
43210         (_G_uid_t): Likewise.
43211         (_G_wchar_t): Likewise.
43212         (_G_wint_t): Likewise.
43213         * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
43214         (_G_ssize_t): Likewise.
43215         (_G_off_t): Likewise.
43216         (_G_pid_t): Likewise.
43217         (_G_uid_t): Likewise.
43218         (_G_wchar_t): Likewise.
43219         (_G_wint_t): Likewise.
43220         * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
43221         (_G_ssize_t): Likewise.
43222         (_G_off_t): Likewise.
43223         (_G_pid_t): Likewise.
43224         (_G_uid_t): Likewise.
43225         (_G_wchar_t): Likewise.
43226         (_G_wint_t): Likewise.
43228 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
43230         * malloc/arena.c: Include malloc-sysdep.h.
43231         (shrink_heap): Use check_may_shrink_heap to decide if madvise
43232         is sufficient to shrink the heap or an unmap is needed.
43233         * sysdeps/generic/malloc-sysdep.h: New file.  Define
43234         new function check_may_shrink_heap.
43235         * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file.  Define
43236         new function check_may_shrink_heap.
43238 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
43240         * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
43241         comments.
43243 2012-09-24  Dmitry V. Levin  <ldv@altlinux.org>
43245         * catgets/test-gencat.sh: Add "set -e".
43246         * elf/tst-pathopt.sh: Likewise.
43247         * grp/tst_fgetgrent.sh: Likewise.
43248         * iconvdata/run-iconv-test.sh: Likewise.
43249         * intl/tst-gettext.sh: Likewise.
43250         * intl/tst-gettext2.sh: Likewise.
43251         * intl/tst-gettext4.sh: Likewise.
43252         * intl/tst-gettext6.sh: Likewise.
43253         * intl/tst-translit.sh: Likewise.
43254         * io/ftwtest-sh: Likewise.
43255         * libio/test-freopen.sh: Likewise.
43256         * malloc/tst-mtrace.sh: Likewise.
43257         * posix/globtest.sh: Likewise.
43258         * posix/tst-getconf.sh: Likewise.
43259         * posix/wordexp-tst.sh: Likewise.
43260         * stdio-common/tst-printf.sh: Likewise.
43261         * stdio-common/tst-unbputc.sh: Likewise.
43262         * stdlib/tst-fmtmsg.sh: Likewise.
43263         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
43264         * catgets/Makefile: Do not specify -e option when running
43265         testsuite shell scripts.
43266         * elf/Makefile: Likewise.
43267         * grp/Makefile: Likewise.
43268         * iconvdata/Makefile: Likewise.
43269         * intl/Makefile: Likewise.
43270         * io/Makefile: Likewise.
43271         * libio/Makefile: Likewise.
43272         * malloc/Makefile: Likewise.
43273         * posix/Makefile: Likewise.
43274         * stdio-common/Makefile: Likewise.
43275         * stdlib/Makefile: Likewise.
43276         * sysdeps/x86_64/Makefile: Likewise.
43278         * io/ftwtest-sh: Add copyright header.
43279         * posix/globtest.sh: Likewise.
43280         * posix/tst-getconf.sh: Likewise.
43281         * posix/wordexp-tst.sh: Likewise.
43282         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
43284 2012-09-24  H.J. Lu  <hongjiu.lu@intel.com>
43286         [BZ #13679]
43287         * Makeconfig (+link): Defined as $(+link-static) if
43288         $(build-shared) isn't yes.
43289         (link-tests): Defined as $(+link-static-tests) if $(build-shared)
43290         isn't yes.
43291         (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
43293         * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
43295         [BZ #14562]
43296         * malloc/arena.c (heap_trim): Properly get fencepost and adjust
43297         new chunk size with MALLOC_ALIGN_MASK.
43299 2012-09-24  Joseph Myers  <joseph@codesourcery.com>
43301         [BZ #5044]
43302         * stdio-common/printf_fphex.c: Include <stdbool.h> and
43303         <rounding-mode.h>.
43304         (__printf_fphex): Determine rounding using get_rounding_mode and
43305         round_away.
43306         * stdio-common/tst-printf-round.c (struct hex_test): New
43307         structure.
43308         (hex_tests): New variable.
43309         (test_hex_in_one_mode): New function.
43310         (do_test): Also run tests for hex float output.
43312 2012-09-21  Joseph Myers  <joseph@codesourcery.com>
43314         * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
43315         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
43316         * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
43317         * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
43318         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
43319         * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
43320         * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
43321         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
43323 2012-09-20  Joseph Myers  <joseph@codesourcery.com>
43325         * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
43326         * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
43327         * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
43328         * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
43330 2012-09-19  Dmitry V. Levin  <ldv@altlinux.org>
43332         [BZ #14579]
43333         * elf/rtld.c (dl_main): Limit the check for self loading to normal
43334         mode only.
43335         * elf/tst-rtld-load-self.sh: New test.
43336         * elf/Makefile: Run it.
43338 2012-09-18  Joseph Myers  <joseph@codesourcery.com>
43340         * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
43341         (tst-writev-ENV): Remove.
43342         * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
43344 2012-09-17  Chris Metcalf  <cmetcalf@tilera.com>
43346         * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
43348 2012-09-17  Joseph Myers  <joseph@codesourcery.com>
43350         * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
43351         unconditional.
43352         * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
43353         Likewise.
43354         * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
43355         * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
43356         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
43357         Likewise.
43359 2012-09-14  H.J. Lu  <hongjiu.lu@intel.com>
43361         [BZ #14587]
43362         * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
43363         * config.make.in (have-cpp-asm-debuginfo): Removed.
43364         * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
43365         * configure: Regenerated.
43367 2012-09-14  Joseph Myers  <joseph@codesourcery.com>
43369         [BZ #5044]
43370         * stdio-common/printf_fp.c: Include <stdbool.h> and
43371         <rounding-mode.h>.
43372         (___printf_fp): Determine rounding using get_rounding_mode and
43373         round_away.
43374         * stdio-common/tst-printf-round.c: New file.
43375         * stdio-common/Makefile (tests): Add tst-printf-round.
43376         (link-libm): New variable.
43377         ($(objpfx)tst-printf-round): Depend in $(link-libm).
43379 2012-09-13  H.J. Lu  <hongjiu.lu@intel.com>
43381         [BZ #14576]
43382         * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
43383         * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
43384         Likewise.
43385         * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
43386         Likewise.
43388 2012-09-13  Joseph Myers  <joseph@codesourcery.com>
43390         * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
43391         * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
43392         * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
43393         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
43395 2012-09-12  Joseph Myers  <joseph@codesourcery.com>
43397         [BZ #14518]
43398         * include/rounding-mode.h: New file.
43399         * sysdeps/generic/get-rounding-mode.h: Likewise.
43400         * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
43401         * stdlib/strtod_l.c: Include <rounding-mode.h>.
43402         (MAX_VALUE): New macro.
43403         (MIN_VALUE): Likewise.
43404         (overflow_value): New function.
43405         (underflow_value): Likewise.
43406         (round_and_return): Use overflow_value and underflow_value to
43407         determine return values in overflow and underflow cases.  Use
43408         round_away to determine rounding depending on rounding mode.
43409         (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
43410         determine return values in overflow and underflow cases.
43411         * stdlib/tst-strtod-round.c: Include <fenv.h>.
43412         (struct test_results): New structure.
43413         (struct test): Use struct test_results to store expected results
43414         for all rounding modes.
43415         (TEST): Include expected results for all rounding modes.
43416         (test_in_one_mode): New function.
43417         (do_test): Use test_in_one_mode to compute and check results.
43418         Check results for all rounding modes.
43419         * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
43420         $(link-libm).
43422 2012-12-09  Allan McRae  <allan@archlinux.org>
43424         * sysdeps/i386/fpu/libm-test-ulps: Update
43426 2012-09-11  Joseph Myers  <joseph@codesourcery.com>
43428         * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
43429         (_G_int32_t): Likewise.
43430         (_G_uint16_t): Likewise.
43431         (_G_uint32_t): Likewise.
43432         (_G_HAVE_BOOL): Likewise.
43433         (_G_HAVE_ATEXIT): Likewise.
43434         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
43435         (_G_HAVE_IO_FILE_OPEN): Likewise.
43436         * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
43437         (_G_int32_t): Likewise.
43438         (_G_uint16_t): Likewise.
43439         (_G_uint32_t): Likewise.
43440         (_G_HAVE_BOOL): Likewise.
43441         (_G_HAVE_ATEXIT): Likewise.
43442         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
43443         (_G_HAVE_IO_FILE_OPEN): Likewise.
43444         * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
43445         (_G_int32_t): Likewise.
43446         (_G_uint16_t): Likewise.
43447         (_G_uint32_t): Likewise.
43448         (_G_HAVE_BOOL): Likewise.
43449         (_G_HAVE_ATEXIT): Likewise.
43450         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
43451         (_G_HAVE_IO_FILE_OPEN): Likewise.
43453 2012-09-11  H.J. Lu  <hongjiu.lu@intel.com>
43455         * csu/libc-tls.c: Update copyright years.
43457 2012-09-10  Joseph Myers  <joseph@codesourcery.com>
43459         * libioP.h [_G_USING_THUNKS]: Make code unconditional.
43460         [!_G_USING_THUNKS]: Remove conditional code.
43461         * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
43462         * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
43464         * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
43465         [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
43466         * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
43467         (_G_VTABLE_LABEL_PREFIX): Likewise.
43468         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
43469         * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
43470         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
43471         (_G_VTABLE_LABEL_PREFIX): Likewise.
43472         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
43473         * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
43474         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
43475         (_G_VTABLE_LABEL_PREFIX): Likewise.
43476         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
43478 2012-09-10  H.J. Lu  <hongjiu.lu@intel.com>
43480         * libio/Makefile: Include ../Makeconfig before tests.
43481         (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
43482         only if $(build-shared) is yes.
43484         * iconv/gconv_db.c: Update copyright years.
43486 2012-09-10  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
43488         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
43489         unwind info if defined PIC. Fix special cases description.
43490         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
43492         * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
43493         DP_HI_MASK entry.
43494         * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
43496 2012-09-07  H.J. Lu  <hongjiu.lu@intel.com>
43498         * scripts/check-local-headers.sh: Add "shopt -s nullglob".
43500         * iconv/gconv_db.c (free_derivation): Check if deriv->steps
43501         is NULL.
43503         * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
43504         (LDLIBS-tst-chk4): This.
43505         (LDFLAGS-tst-chk5): Renamed to ...
43506         (LDLIBS-tst-chk5): This.
43507         (LDFLAGS-tst-chk6): Renamed to ...
43508         (LDLIBS-tst-chk6): This.
43509         (LDFLAGS-tst-lfschk4): Renamed to ...
43510         (LDLIBS-tst-lfschk4): This.
43511         (LDFLAGS-tst-lfschk5): Renamed to ...
43512         (LDLIBS-tst-lfschk5): This.
43513         (LDFLAGS-tst-lfschk6): Renamed to ...
43514         (LDLIBS-tst-lfschk6): This.
43516         * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
43517         on $(common-objpfx)soversions.mk.
43519 2012-09-07  Joseph Myers  <joseph@codesourcery.com>
43521         [BZ #10014]
43522         * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
43523         example host name.
43525 2012-09-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
43527         * malloc/arena.c (arena_get_retry): New function that gets
43528         another arena for the caller to try its request on.
43529         * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
43530         current arena cannot fulfill the request.
43531         (__libc_memalign): Likewise.
43532         (__libc_memalign): Likewise.
43533         (__libc_pvalloc): Likewise.
43534         (__libc_calloc): Likewise.
43536 2012-09-05  John Tobey  <john.tobey@gmail.com>
43538         [BZ #13542]
43539         * manual/arith.texi (Operations on Complex): Fix description
43540         of carg branch cut.
43542 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
43544         [BZ #10014]
43545         * manual/socket.texi (Host Addresses): Use www.gnu.org as example
43546         host name.
43548         [BZ #10038]
43549         * manual/memory.texi (Memory): Make order of menu items match
43550         order of sections.
43552 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
43554         * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
43555         (_dl_initial_dtv): New.  Defined if SHARED isn't defined.
43556         (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
43558 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
43560         * csu/libc-tls.c (static_dtv): Renamed to ...
43561         (_dl_static_dtv): This.  Make it global.
43562         (_dl_initial_dtv): Removed.
43563         (__libc_setup_tls): Updated.
43564         * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
43565         (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
43566         DL_INITIAL_DTV.
43568 2012-09-06  Petr Machata  <pmachata@redhat.com>
43570         * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
43571         (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
43572         (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
43573         (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
43575 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
43577         [BZ #14545]
43578         * csu/libc-tls.c (_dl_initial_dtv): New variable.
43579         * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
43580         freeing dtv[-1].
43582 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
43584         [BZ #14544]
43585         * Makeconfig (link-static-before-libc): Replace $(+prector)
43586         with $(+prectorT).
43587         (link-static-after-libc): Replace $(+postctor) with
43588         $(+postctorT).
43589         (link-bounded): Replace $(+prector)/$(+postctor) with
43590         $(+prectorT)/$(+postctorT).
43591         (+prectorT): New macro.
43592         (+postctorT): Likewise.
43594 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
43596         * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
43597         (round_str): Handle values above the maximum for IBM long double
43598         as inexact.
43599         * stdlib/tst-strtod-round.c (tests): Regenerated.
43601 2012-09-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
43603         * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
43604         assembler flag.
43605         * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
43606         zarch_nohighgprs around the zarch optimized routines.
43607         * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
43608         * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
43609         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
43610         for zarch.
43612 2012-09-05  David S. Miller  <davem@davemloft.net>
43614         * sysdeps/sparc/fpu/libm-test-ulps: Update.
43616         * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE)
43617         (HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
43618         * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
43619         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
43620         entries.
43622 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
43624         * malloc/arena.c: Fold copyright years.
43625         * malloc/mcheck.c, malloc/memusage.c: Likewise.
43627 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
43629         * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
43631 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
43633         * manual/contrib.texi (Contributors): Fix typo.  Complete entry.
43635 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
43637         * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
43638         change internal state upon failure.
43640 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
43642         * malloc/mcheck.c (mcheck_check_all): Fix typo.
43643         * malloc/memusage.c (mmap): Likewise.
43644         (mmap64, mremap): Likewise.  Adjust name in comment.
43646 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
43648         * libio/fileops.c: Fix typos in comments.
43649         * libio/oldfileops.c: Likewise.
43650         * libio/wfileops.c: Likewise.
43652 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
43654         [BZ #1349]
43655         * malloc/Makefile (tests): Add tst-malloc-usable test case.
43656         (tst-malloc-usable-ENV): Set environment for test case.
43657         * malloc/hooks.c (malloc_check_get_size): New function to get
43658         requested size.
43659         * malloc/malloc.c (musable): Use malloc_check_get_size.
43660         * malloc/tst-malloc-usable.c: New test case.
43662 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
43664         * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
43666 2012-09-05  Allan McRae  <allan@archlinux.org>
43668         [BZ #13966]
43669         * configure.in (CXX_SYSINCLUDES): Use compiler output to
43670         determine header location.
43671         * configure: Regenerated.
43673 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
43675         * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
43676         float format.
43677         * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
43678         LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
43679         format.
43680         (test): Regenerate.
43682 2012-09-04  David S. Miller  <davem@davemloft.net>
43684         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
43685         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
43686         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
43688 2012-09-04  Florian Weimer  <fweimer@redhat.com>
43690         * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
43691         failures.
43693         * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
43695 2012-09-04  Joseph Myers  <joseph@codesourcery.com>
43697         [BZ #9914]
43698         * libio/iogetdelim.c: Include <limits.h>.
43699         (_IO_getdelim): Avoid integer overflow in testing whether cur_len
43700         + len + 1 would overflow.
43702 2012-09-03  Andreas Jaeger  <aj@suse.de>
43704         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
43705         * sysdeps/i386/fpu/libm-test-ulps: Update.
43707 2012-09-03  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
43709         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
43710         Add s_sinf-sse2, s_conf-sse2.
43712         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
43713         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
43714         * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
43715         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
43717         * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
43718         for using routine as __sinf_ia32.
43719         Use macro for function declaration and weak_alias.
43720         * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
43721         for using routine as __cosf_ia32.
43722         Use macro for function declaration and weak_alias.
43724         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
43725         * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
43727         * sysdeps/x86_64/fpu/s_sinf.S: New file.
43728         * sysdeps/x86_64/fpu/s_cosf.S: New file.
43729         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
43731         * math/libm-test.inc (cos_test): Add more test cases.
43732         (sin_test): Likewise.
43733         (sincos_test): Likewise.
43735 2012-09-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
43737         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
43738         (IFUNC_RESOLVE): Make pointers to the specialized implementations
43739         hidden.
43740         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
43742 2012-09-02  H.J. Lu  <hongjiu.lu@intel.com>
43744         [BZ #14538]
43745         * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
43746         first element of the GOT.
43747         (elf_machine_load_address): Return the difference between
43748         the runtime address of _DYNAMIC and elf_machine_dynamic ().
43750 2012-09-01  Allan McRae  <allan@archlinux.org>
43752         [BZ #13412]
43753         * configure.in (AWK): Require gawk version 3.0 or later.
43754         * configure: Regenerated.
43756 2012-09-01  Joseph Myers  <joseph@codesourcery.com>
43758         * sysdeps/unix/sysv/linux/kernel-features.h
43759         (__ASSUME_POSIX_CPU_TIMERS): Remove.
43760         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
43761         [__NR_clock_getres]: Make code unconditional.
43762         [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
43763         (clock_getcpuclockid): Remove code left unreachable by removal of
43764         conditionals.
43765         * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
43766         code unconditional.
43767         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
43768         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
43769         * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
43770         Make code unconditional.
43771         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
43772         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
43773         * sysdeps/unix/sysv/linux/clock_settime.c
43774         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
43775         conditional code.
43776         [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
43777         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
43779 2012-08-29  H.J. Lu  <hongjiu.lu@intel.com>
43781         [BZ #14476]
43782         * Makefile (install): Also pass LD_SO=$(ld.so-version) to
43783         scripts/test-installation.pl.
43785         * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
43786         and $ld_so_version if it is set.
43788 2012-08-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
43790         [BZ #14516]
43791         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
43792         failure if reading from procfs failed.
43793         * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
43795 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
43797         * sysdeps/unix/sysv/linux/kernel-features.h
43798         (__ASSUME_STAT64_SYSCALL): Remove all definitions.
43799         * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
43800         Remove conditional code.
43801         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
43802         * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
43803         Remove conditional code.
43804         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
43805         * sysdeps/unix/sysv/linux/i386/fxstat.c
43806         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
43807         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
43808         * sysdeps/unix/sysv/linux/i386/fxstatat.c
43809         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
43810         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
43811         * sysdeps/unix/sysv/linux/i386/lxstat.c
43812         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
43813         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
43814         * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
43815         Remove conditional code.
43816         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
43817         * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
43818         Remove conditional code.
43819         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
43820         * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
43821         <kernel-features.h>.
43822         [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
43823         Remove.
43824         * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
43825         Remove conditional code.
43826         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
43827         * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
43828         Remove conditional.
43830 2012-08-27  Mike Frysinger  <vapier@gentoo.org>
43832         [BZ #5400]
43833         * NEWS: Add fixed bug number.
43835 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
43837         [BZ #14519]
43838         * stdlib/strtod_l.c (round_and_return): Return -0.0 for
43839         underflowing exponent in case of negative sign.
43840         * stdlib/tst-strtod-round-data: Add more tests.
43841         * stdlib/tst-strtod-round.c (tests): Regenerated.
43843         [BZ #3479]
43844         * stdlib/strtod_l.c (NDIG): Remove.
43845         (HEXNDIG): Likewise.
43846         (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
43847         smallest representable value.
43848         (____STRTOF_INTERNAL): Use all fractional decimal digits that may
43849         lie within an exact representation of 1/2 ulp of the result.
43850         * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
43851         unconditionally.
43852         (TENS_P9_IDX): Define unconditionally.
43853         (TENS_P9_SIZE): Likewise.
43854         (TENS_P10_IDX): Likewise.
43855         (TENS_P10_SIZE): Likewise.
43856         [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
43857         to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
43858         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
43859         entries for 10^2^13 and 10^2^14.
43860         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
43861         (TENS_P13_IDX): Define.
43862         (TENS_P13_SIZE): Likewise.
43863         (TENS_P14_IDX): Likewise.
43864         (TENS_P14_SIZE): Likewise.
43865         (_fpioconst_pow10): Change array size to
43866         FPIOCONST_POW10_ARRAY_SIZE.  Make entries for 10^2^9 and 10^2^10
43867         unconditional.
43868         (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
43869         1024]: Add entries for 10^2^13 and 10^2^14.
43870         [LAST_POW10 > _LAST_POW10]: Remove #error.
43871         * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
43872         (_fpioconst_pow10): Change array size to
43873         FPIOCONST_POW10_ARRAY_SIZE.
43874         * stdlib/gen-fpioconst.c: New file.
43875         * stdlib/gen-tst-strtod-round.c: Likewise.
43876         * stdlib/tst-strtod-round-data: Likewise.
43877         * stdlib/tst-strtod-round.c: Likewise.
43878         * stdlib/Makefile (tests): Add tst-strtod-round.
43880         [BZ #14459]
43881         * stdlib/strtod_l.c: Include <stdint.h>.
43882         (NDEBUG): Do not define.
43883         (round_and_return): Change EXPONENT parameter to type intmax_t.
43884         Rearrange calculations to avoid internal overflow possibilities.
43885         (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
43886         Rearrange calculations to avoid internal overflow possibilities.
43887         Assert that number fits inside MPNSIZE limbs.
43888         (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
43889         Change DIG_NO, INT_NO and LEAD_ZERO to type size_t.  Rearrange
43890         calculations and add assertions to avoid internal overflow
43891         possibilities.  Add casts to avoid signed/unsigned operations.
43892         * stdlib/tst-strtod-overflow.c: New file.
43893         * stdlib/Makefile (tests): Add tst-strtod-overflow.
43895 2012-08-25  Marek Polacek  <polacek@redhat.com>
43897         * time/time.h: Fix some typos in comments.
43899 2012-08-23  Roland McGrath  <roland@hack.frob.com>
43901         * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
43902         * posix/tst-rfc3484-2.c: Likewise.
43903         * posix/tst-rfc3484-3.c: Likewise.
43905 2012-08-23  Steve McIntyre  <steve.mcintyre@linaro.org>
43907         * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
43908         (EF_ARM_ABI_FLOAT_HARD): Likewise.
43910 2012-08-23  Joseph Myers  <joseph@codesourcery.com>
43912         * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
43913         #include of fxstatat64.c.
43915 2012-08-22  Roland McGrath  <roland@hack.frob.com>
43917         * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
43918         * shadow/getspent_r.c: Likewise.
43919         * shadow/getspnam.c: Likewise.
43920         * shadow/getspnam_r.c: Likewise.
43921         * gshadow/getsgent.c: Likewise.
43922         * gshadow/getsgent_r.c: Likewise.
43923         * gshadow/getsgnam.c: Likewise.
43924         * gshadow/getsgnam_r.c: Likewise.
43925         * inet/getnetbyad.c: Likewise.
43926         * inet/getnetbyad_r.c: Likewise.
43927         * inet/getnetbynm.c: Likewise.
43928         * inet/getnetbynm_r.c: Likewise.
43929         * inet/getnetent.c: Likewise.
43930         * inet/getnetent_r.c: Likewise.
43931         * inet/getproto.c: Likewise.
43932         * inet/getproto_r.c: Likewise.
43933         * inet/getprtent.c: Likewise.
43934         * inet/getprtent_r.c: Likewise.
43935         * inet/getprtname.c: Likewise.
43936         * inet/getprtname_r.c: Likewise.
43937         * inet/getrpcbyname.c: Likewise.
43938         * inet/getrpcbyname_r.c: Likewise.
43939         * inet/getrpcbynumber.c: Likewise.
43940         * inet/getrpcbynumber_r.c: Likewise.
43941         * inet/getrpcent.c: Likewise.
43942         * inet/getrpcent_r.c: Likewise.
43943         * inet/getaliasent.c: Likewise.
43944         * inet/getaliasent_r.c: Likewise.
43945         * inet/getaliasname.c: Likewise.
43946         * inet/getaliasname_r.c: Likewise.
43947         * nscd/getgrgid_r.c: Likewise.
43948         * nscd/getgrnam_r.c: Likewise.
43949         * nscd/gethstbyad_r.c: Likewise.
43950         * nscd/gethstbynm3_r.c: Likewise.
43951         * nscd/getpwnam_r.c: Likewise.
43952         * nscd/getpwuid_r.c: Likewise.
43953         * nscd/getsrvbynm_r.c: Likewise.
43954         * nscd/getsrvbypt_r.c: Likewise.
43955         * nscd/gai.c: Likewise.
43957         * configure.in (build_nscd): New substituted variable, set
43958         by --disable-build-nscd and defaults to $use_nscd.
43959         * configure: Regenerated.
43960         * config.make.in (build-nscd): New substituted variable.
43961         * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
43962         Change conditional to require [$(build-nscd) = yes] as well.
43963         * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
43965         [BZ# 13696]
43966         * configure.in (use_nscd): New substituted variable, set by
43967         --disable-nscd.  If enabled, define USE_NSCD.
43968         * configure: Regenerated.
43969         * config.h.in: Add USE_NSCD.
43970         * config.make.in (use-nscd): New substituted variable.
43971         * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
43972         (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
43973         (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
43974         * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
43975         (CFLAGS-getgrnam_r.c): Likewise.
43976         (CFLAGS-initgroups.c): Likewise.
43977         * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
43978         * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
43979         Variables removed.
43980         * inet/getnetgrent_r.c
43981         (nscd_setnetgrent): New function, broken out of ...
43982         (setnetgrent): ... here.  Call it.
43983         (innetgr): Conditionalize nscd bits on [USE_NSCD].
43984         (nscd_getnetgrent): Conditionalize on [USE_NSCD].
43985         (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
43986         * nscd/Makefile (routines, aux): Move definitions after include of
43987         Makeconfig.  Conditionalize on [$(use-nscd) != no].
43988         * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
43989         Conditionalize on [USE_NSCD].
43990         (is_nscd, nscd_init_cb): Likewise.
43991         (nss_load_library): Conditionalize init callback on [USE_NSCD].
43992         * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
43993         * nss/nss_db/db-init.c: Likewise.
43994         * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
43995         [USE_NSCD].
43996         * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
43997         (make_request): Use it.
43998         (cache_valid_p): New function.
43999         (__check_pf): Use it.
44000         * NEWS: Add item for --disable-nscd.
44002 2012-08-22  Dmitry V. Levin  <ldv@altlinux.org>
44004         * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
44005         to support sed >= 4.2.1-20-ga9bf076.
44006         * configure: Regenerated.
44008 2012-08-22  Roland McGrath  <roland@hack.frob.com>
44010         * csu/libc-start.c (apply_irel): Move extern declarations inside here.
44011         Conditionalize whole body on [IREL].
44013 2012-08-22  Jeff Law <law@redhat.com>
44015         [BZ #14505]
44016         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
44017         if the family is PF_UNSPEC.
44019 2012-08-22  Mike Frysinger  <vapier@gentoo.org>
44021         * Makerules (lib-version): Rename from V.
44022         (install-lib-nosubdir): Change V to lib-version.
44024 2012-08-22  Will Schmidt  <will_schmidt@vnet.ibm.com>
44026         [BZ #14252]
44027         * powerpc32/power6/wcschr.c: New file.
44028         * powerpc32/power6/wcscpy.c: New file.
44029         * powerpc32/power6/wcsrchr.c: New file.
44030         * powerpc64/power6/wcschr.c: New file.
44031         * powerpc64/power6/wcscpy.c: New file.
44032         * powerpc64/power6/wcsrchr.c: New file.
44034 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
44036         * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
44037         (two_way_short_needle): Use it.
44038         * string/strstr.c (AVAILABLE1_USES_J): Define.
44039         * string/strcasestr.c: Likewise.
44041         * string/str-two-way.h (two_way_short_needle): Use pointers instead of
44042         array references.
44043         * string/strcasestr.c (TOLOWER): Make side-effect safe.
44045         [BZ #11607]
44046         * NEWS: Add an entry.
44047         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
44048         define their defaults.
44049         (two_way_short_needle): Detect end-of-string on-the-fly.
44050         * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
44051         (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
44052         * string/bug-strcasestr1.c: New test.
44053         * string/Makefile: Run it.
44055 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
44057         [BZ #11607]
44058         * string/str-two-way.h (two_way_short_needle): Optimize matching of
44059         the first character.
44061 2012-08-21  Roland McGrath  <roland@hack.frob.com>
44063         * csu/elf-init.c (__libc_csu_irel): Function removed.
44064         * csu/libc-start.c (apply_irel): New function.
44065         (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
44067 2012-08-21  Joseph Myers  <joseph@codesourcery.com>
44069         * sysdeps/unix/sysv/linux/kernel-features.h
44070         (__ASSUME_FADVISE64_64_SYSCALL): Remove.
44071         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
44072         <kernel-features.h>.
44073         [__NR_fadvise64_64]: Make code unconditional.
44074         [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
44075         [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
44076         !__NR_fadvise64_64)]: Likewise.
44077         [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
44078         !__NR_fadvise64_64))]: Likewise.
44079         [__NR_fadvise64]: Make code unconditional.
44080         [!__NR_fadvise64]: Remove conditional code.
44081         * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
44082         <kernel-features.h>.
44083         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
44084         unconditional.
44085         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
44086         conditional code.
44087         * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
44088         not include <kernel-features.h>.
44089         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
44090         unconditional.
44091         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
44092         conditional code.
44093         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
44094         include <kernel-features.h>.
44095         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
44096         unconditional.
44097         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
44098         conditional code.
44100 2012-08-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
44102         * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
44103         slight instruction rearrangements per scrollpipe analysis.
44104         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
44106 2012-08-20  Roland McGrath  <roland@hack.frob.com>
44108         * manual/syslog.texi (syslog; vsyslog, closelog):
44109         Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
44110         Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
44112         * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
44113         DSOCAPS to match condition on defining it.
44115 2012-08-20  Joseph Myers  <joseph@codesourcery.com>
44117         * sysdeps/unix/sysv/linux/kernel-features.h
44118         (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
44119         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
44120         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
44121         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
44122         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
44123         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
44124         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
44125         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
44126         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
44127         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
44129         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
44130         __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
44132         * sysdeps/unix/sysv/linux/kernel-features.h
44133         (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
44134         * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
44135         unconditional.
44136         [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
44137         * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
44138         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
44139         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
44140         * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
44141         Make code unconditional.
44142         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
44143         (__mmap64) [!__NR_mmap2]: Likewise.
44144         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
44145         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
44146         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
44147         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
44148         [__NR_mmap2]: Make code unconditional.
44149         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
44150         (__mmap64) [!__NR_mmap2]: Likewise.
44152 2012-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
44154         * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
44156 2012-08-18  Andreas Jaeger  <aj@suse.de>
44158         * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
44160 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
44162         * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
44163         * include/unistd.h (__have_sock_cloexec): Likewise.
44164         (__have_pipe2): Likewise.
44165         (__have_dup3): Likewise.
44167 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
44169         [BZ #9685]
44170         * include/unistd.h (__have_pipe2): Change define into an extern int.
44171         (__have_dup3): Likewise.
44172         * socket/have_sock_cloexec.c: Include fcntl.h.
44173         (__have_pipe2): New variable.
44174         (__have_dup3): Likewise.
44176 2012-08-17  Mike Frysinger  <vapier@gentoo.org>
44178         * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
44180 2012-08-17  Marek Polacek  <polacek@redhat.com>
44182         * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
44183         ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
44185 2012-08-17  Roland McGrath  <roland@hack.frob.com>
44187         * configure.in: Add AC_SUBST for sysheaders.
44188         * configure: Regenerated.
44189         * config.make.in (sysheaders): New substituted variable.
44191         * sysdeps/unix/mkfifo.c: Moved ...
44192         * sysdeps/posix/mkfifo.c: ... here.
44193         * sysdeps/unix/mkfifoat.c: Moved ...
44194         * sysdeps/posix/mkfifoat.c: ... here.
44196         * sysdeps/unix/utime.c: Moved ...
44197         * sysdeps/posix/utime.c: ... here.
44199         * sysdeps/unix/time.c: Moved ...
44200         * sysdeps/posix/time.c: ... here.
44201         * sysdeps/unix/sysv/linux/time.c: Adjust #include.
44202         * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
44204         * sysdeps/unix/nice.c: Moved ...
44205         * sysdeps/posix/nice.c: ... here.
44207         * sysdeps/unix/alarm.c: Moved ...
44208         * sysdeps/posix/alarm.c: ... here.
44210         * intl/Makefile ($(codeset_mo)): Depend on the input file.
44212 2012-08-17  Jeff Law <law@redhat.com>
44214         * intl/Makefile (codeset_mo): New variable.
44215         ($(codeset_mo)): New target.
44216         (tst-codeset.out): Depend on that.  Remove explicit rule.
44217         (tst-gettext3.out, tst-gettext5.out): Likewise.
44218         (LOCPATH-ENV, tst-codeset-ENV): New variables.
44219         (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
44220         * intl/tst-codeset.sh: Remove.
44221         * intl/tst-gettext3.sh: Likewise.
44222         * intl/tst-gettext5.sh: Likewise.
44224 2012-08-17  Roland McGrath  <roland@hack.frob.com>
44226         * sysdeps/unix/inet/syscalls.list: File removed.  Move contents into ...
44227         * sysdeps/unix/syscalls.list: ... here.
44229         * sysdeps/posix/getaddrinfo.c
44230         (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
44231         (gaiconf_init, gaiconf_reload): Use them.
44232         [!_STATBUF_ST_NSEC]
44233         (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
44234         Define using time_t rather than struct timespec.
44236         * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
44237         (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
44238         Macros removed.
44239         * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
44240         [!NO_THREADS].
44241         (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
44242         (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
44243         Likewise.
44245         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
44246         __libc_cleanup_push argument.
44248         * bits/param.h: New file.
44249         * misc/sys/param.h: New file.
44250         * include/sys/param.h: New file.
44251         * misc/Makefile (headers): Add bits/param.h.
44252         * sysdeps/generic/sys/param.h: File removed.
44253         * sysdeps/unix/sysv/linux/bits/param.h: New file.
44254         * sysdeps/unix/sysv/linux/sys/param.h: File removed.
44255         * sysdeps/mach/hurd/bits/param.h: New file.
44256         * sysdeps/mach/hurd/sys/param.h: File removed.
44258         * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
44259         last change.
44261         * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
44262         [_IO_MTSAFE_IO].
44263         * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
44264         (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
44265         New macros.
44267         * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
44268         * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
44269         rather than -D_IO_MTSAFE_IO conditionally.
44270         * stdio-common/Makefile (CPPFLAGS): Likewise.
44271         * wcsmbs/Makefile (CPPFLAGS): Likewise.
44272         * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
44273         Use $(libio-mtsafe).
44274         * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
44275         of -D_IO_MTSAFE_IO.
44276         (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
44277         (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
44278         (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
44279         (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
44280         (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
44281         (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
44282         (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
44283         (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
44284         (CFLAGS-fread_u_chk.c): Likewise.
44285         (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
44286         (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
44287         (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
44288         (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
44289         * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
44290         * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
44291         * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
44292         * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
44293         * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
44295         * libio/Makefile: Test [$(libc-reentrant) = yes]
44296         instead of [$(filter %REENTRANT, $(defines)) nonempty].
44298         * Makeconfig
44299         [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
44300         * sysdeps/pthread/configure: File removed.
44301         * sysdeps/pthread/Makeconfig: New file.
44302         * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
44303         * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
44305 2012-08-16  Gary Benson  <gbenson@redhat.com>
44307         * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
44308         unmapping the first object in a namespace.
44310 2012-08-16  Roland McGrath  <roland@hack.frob.com>
44312         * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
44313         (__internal_setnetgrent): ... this.  Add internal_function to
44314         definition.  Add libc_hidden_def.
44315         (setnetgrent): Update caller.
44316         (internal_endnetgrent): Renamed to ...
44317         (__internal_endnetgrent): ... this.  Add internal_function to
44318         definition.  Add libc_hidden_def.
44319         (endnetgrent): Update caller.
44320         (internal_getnetgrent_r): Renamed to ...
44321         (__internal_getnetgrent_r): ... this.  Add internal_function to
44322         definition.  Add libc_hidden_def.
44323         (__getnetgrent_r): Update caller.
44324         * inet/netgroup.h: Update declarations.  Add libc_hidden_proto uses.
44326 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
44328         * stdlib/longlong.h: Update from GCC.
44330 2012-08-16  Roland McGrath  <roland@hack.frob.com>
44332         * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
44333         on _QL, which is set by umul_ppmm but never used.
44334         * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
44335         variables, which are set by GMP macros but never used.
44336         * stdio-common/_itowa.c (_itowa): Likewise.
44337         * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
44338         * stdlib/mod_1.c (mpn_mod_1): Likewise.
44340 2012-08-16  Carlos O'Donell  <carlos_odonell@mentor.com>
44342         * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
44343         struct La_sh_regs is not constant.
44344         * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
44345         <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
44346         and struct La_sparc64_regs are not constant.
44348 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
44350         * sysdeps/unix/sysv/linux/kernel-features.h
44351         (__ASSUME_POSIX_TIMERS): Remove.
44352         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
44353         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
44354         * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
44355         Make code unconditional.
44356         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
44357         * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
44358         Make code unconditional.
44359         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
44360         * sysdeps/unix/sysv/linux/clock_nanosleep.c
44361         [__ASSUME_POSIX_TIMERS]: Make code unconditional.
44362         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
44363         * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
44364         Make code unconditional.
44365         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
44366         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
44367         (__libc_missing_posix_timers): Remove.
44369 2012-08-15  Roland McGrath  <roland@hack.frob.com>
44371         * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
44372         check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
44374         * bits/libc-lock.h (__rtld_lock_initialize): New macro.
44376         * elf/dl-sym.c: Include <stdlib.h>.
44378         * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
44379         constants, which avoids warnings in 32-bit builds.
44381         * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
44382         (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
44384         * misc/lseek.c: File moved to ...
44385         * io/lseek.c: ... here.
44387         * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
44389         * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
44390         shifting LEN more than 31 bits at once.
44392 2012-08-15  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
44394         [BZ #14195]
44395         * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
44396         segmentation fault for a case of two empty input strings.
44397         * string/test-strncasecmp.c (check1): Renamed to...
44398         (bz12205): ...this.
44399         (bz14195): Add new testcase for two empty input strings and N > 0.
44400         (test_main): Call new testcase, adapt for renamed function.
44402 2012-08-15  Andreas Jaeger  <aj@suse.de>
44404         [BZ #14090]
44405         * crypt/md5test2.c: New test, based on test supplied by Serge
44406         Belyshev <belyshev@depni.sinp.msu.ru>.
44407         * crypt/Makefile (xtests): Add md5test-giant..
44408         * crypt/Makefile ($(objpfx)md5test-giant): Add.
44410 2012-08-15  Paul Eggert  <eggert@cs.ucla.edu>
44412         [BZ #14090]
44413         * crypt/md5.c (md5_process_block): Don't assume the buffer
44414         length is less than 2**32.
44415         * crypt/sha512.c (sha512_process_block): Don't assume the buffer
44416         length is less than 2**64.
44418 2012-08-15  Roland McGrath  <roland@hack.frob.com>
44420         * string/str-two-way.h: Include <sys/param.h>.
44421         (MAX): Macro removed.
44423         * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
44424         Move #define and #undef of memmove to just before and after
44425         including <string.h>.
44427         * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
44428         [!NOT_IN_libc]: Move #define and #undef of memmove to just before
44429         and after including <string.h>.  Move declarations of
44430         __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
44431         to before #include "string/memmove.c".
44433         * include/dirent.h: Declare __getdirentries.
44435         * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
44436         using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
44438 2012-08-14  Mike Frysinger  <vapier@gentoo.org>
44440         * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
44441         * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
44442         * sysdeps/i386/configure: Regenerated.
44443         * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
44444         STABS_CURRENT_FILE, and STABS_FUN.
44445         (END): Remove call to STABS_FUN_END.
44446         (STABS_CURRENT_FILE1): Delete.
44447         (STABS_CURRENT_FILE): Likewise.
44448         (STABS_FUN): Likewise.
44449         (STABS_FUN_END): Likewise.
44450         (STABS_FUN2): Likewise.
44451         * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
44452         * sysdeps/x86_64/configure: Regenerated.
44454 2012-08-14  Roland McGrath  <roland@hack.frob.com>
44456         * elf/dl-open.c: Include <atomic.h>.
44457         * elf/dl-lookup.c: Likewise.
44459 2012-08-14  Joseph Myers  <joseph@codesourcery.com>
44461         * sysdeps/unix/sysv/linux/kernel-features.h
44462         (__ASSUME_CLONE_THREAD_FLAGS): Remove.
44463         * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
44464         unconditionally.
44465         * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
44466         unconditionally.
44467         * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
44468         condition on __ASSUME_CLONE_THREAD_FLAGS.
44470 2012-08-14  Andreas Jaeger  <aj@suse.de>
44472         * sysdeps/i386/fpu/libm-test-ulps: Update.
44474 2012-08-13  Maxim Kuvyrkov  <maxim@codesourcery.com>
44476         * include/atomic.h (atomic_exchange_and_add): Split into ...
44477         (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
44478         New atomic macros.
44480 2012-08-13  Markus Trippelsdorf  <markus@trippelsdorf.de>
44482         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
44484 2012-08-13  Jeff Law <law@redhat.com>
44486         * manual/stdio.texi (snprintf): Clarify handling of the trailing
44487         null byte in the output string.
44489 2012-08-10  Joseph Myers  <joseph@codesourcery.com>
44491         * sysdeps/unix/sysv/linux/kernel-features.h
44492         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
44493         [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
44494         (__ASSUME_ARG_MAX_STACK_BASED): Define.
44495         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
44496         [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
44497         !__ASSUME_ARG_MAX_STACK_BASED.  Compare version with
44498         __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
44500 2012-08-09  Jeff Law <law@redhat.com>
44502         [BZ #13939]
44503         * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
44504         When avoid_arena is set, don't retry in the that arena.  Pick the
44505         next one, whatever it might be.
44506         (arena_get2): New parameter avoid_arena, pass through to reused_arena.
44507         (arena_lock): Pass in new parameter to arena_get2.
44508         * malloc/malloc.c (__libc_memalign): Pass in new parameter to
44509         arena_get2.
44510         (__libc_malloc): Unify retrying after main arena failure with
44511         __libc_memalign version.
44512         (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
44514 2012-08-09  H.J. Lu  <hongjiu.lu@intel.com>
44516         [BZ #14166]
44517         * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
44518         to __redirect_strstr.
44519         (__strstr_sse42): Use typeof __redirect_strstr.
44520         (__strstr_ia32): Likewise.
44521         (__libc_strstr): New prototype.
44522         (strstr): Renamed to ...
44523         (__libc_strstr): This.
44524         (strstr): New strong alias of __libc_strstr.
44525         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
44526         * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
44527         __redirect_time.
44528         Include <time.h>.
44529         (__libc_time): New prototype.
44530         (time_ifunc): Replace time with __libc_time.
44531         (time): New strong alias and hidden definition of __libc_time.
44532         (__GI_time): Remove strong alias.
44533         * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
44534         Include <stddef.h>.
44535         (memmove): Redefined to __redirect_memmove.
44536         (__memmove_sse2): Use typeof __redirect_memmove.
44537         (__memmove_ssse3): Likewise.
44538         (__memmove_ssse3_back): Likewise.
44539         (__libc_memmove): New prototype.
44540         (memmove): Renamed to ...
44541         (__libc_memmove): This.
44542         (memmove): New strong alias of __libc_memmove.
44544 2012-08-08  Mark Salter  <msalter@redhat.com>
44546         * elf/elf.h
44547         (R_MN10300_TLS_GD): Define.
44548         (R_MN10300_TLS_LD): Likewise.
44549         (R_MN10300_TLS_LDO): Likewise.
44550         (R_MN10300_TLS_GOTIE): Likewise.
44551         (R_MN10300_TLS_IE): Likewise.
44552         (R_MN10300_TLS_LE): Likewise.
44553         (R_MN10300_TLS_DTPMOD): Likewise.
44554         (R_MN10300_TLS_DTPOFF): Likewise.
44555         (R_MN10300_TLS_TPOFF): Likewise.
44556         (R_MN10300_SYM_DIFF): Likewise.
44557         (R_MN10300_ALIGN): Likewise.
44558         (R_MN10300_NUM): Update.
44560 2012-08-08  Joseph Myers  <joseph@codesourcery.com>
44562         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
44563         Remove.
44565 2012-08-08  Roland McGrath  <roland@hack.frob.com>
44567         * sysdeps/posix/fdopendir.c: Include <stddef.h>.
44569         * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
44570         sysdeps/unix -> sysdeps/posix move.
44571         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
44573 2012-08-07      Allan McRae     <allan@archlinux.org>
44575         [BZ #14303]
44576         * sunrpc/rpc_main.c (SVR4_CPP): Remove.
44577         (SUNOS_CPP): Likewise.
44578         (find_cpp): Fall back to selecting system cpp when /lib/cpp is
44579         not found.
44580         (open_input): Call CPP using execvp.
44582 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
44584         * sysdeps/unix/sysv/linux/kernel-features.h
44585         (__ASSUME_PROT_GROWSUPDOWN): Remove.
44586         (__ASSUME_NO_CLONE_DETACHED): Likewise.
44587         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
44588         (__ASSUME_WAITID_SYSCALL): Likewise.
44589         * sysdeps/unix/sysv/linux/dl-execstack.c
44590         (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
44591         code unconditional.
44592         (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
44593         conditional code.
44594         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
44595         [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
44596         (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
44597         code.
44598         * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
44599         unconditional.
44600         [__ASSUME_WAITID_SYSCALL]: Likewise.
44601         [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
44603 2012-08-07  Roland McGrath  <roland@hack.frob.com>
44605         * sysdeps/unix/closedir.c: Renamed to ...
44606         * sysdeps/posix/closedir.c: ... here.
44607         * sysdeps/unix/dirfd.c: Renamed to ...
44608         * sysdeps/posix/dirfd.c: ... here.
44609         * sysdeps/unix/dirstream.h: Renamed to ...
44610         * sysdeps/posix/dirstream.h: ... here.
44611         * sysdeps/unix/fdopendir.c: Renamed to ...
44612         * sysdeps/posix/fdopendir.c: ... here.
44613         * sysdeps/unix/opendir.c: Renamed to ...
44614         * sysdeps/posix/opendir.c: ... here.
44615         * sysdeps/unix/readdir.c: Renamed to ...
44616         * sysdeps/posix/readdir.c: ... here.
44617         * sysdeps/unix/readdir_r.c: Renamed to ...
44618         * sysdeps/posix/readdir_r.c: ... here.
44619         * sysdeps/unix/rewinddir.c: Renamed to ...
44620         * sysdeps/posix/rewinddir.c: ... here.
44621         * sysdeps/unix/seekdir.c: Renamed to ...
44622         * sysdeps/posix/seekdir.c: ... here.
44623         * sysdeps/unix/telldir.c: Renamed to ...
44624         * sysdeps/posix/telldir.c: ... here.
44625         * sysdeps/unix/sysv/linux/opendir.c: Update #include.
44626         * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
44627         * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
44628         * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
44630         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
44631         * bits/fcntl.h: ... here.
44633         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
44634         not 0.
44635         (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
44636         [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
44637         (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
44638         (struct flock): Move l_start, l_len to the beginning.
44639         Use __pid_t for l_pid.
44640         [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
44641         [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
44642         [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
44643         (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
44644         [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
44645         [__USE_LARGEFILE64] (struct flock64): New type.
44646         (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
44648         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
44649         * bits/dirent.h: ... here.
44651         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
44652         [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
44654 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
44656         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
44657         Change from 2.6.0 to 2.6.16.
44658         * sysdeps/unix/sysv/linux/configure: Regenerated.
44659         * sysdeps/unix/sysv/linux/kernel-features.h
44660         (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
44661         (__ASSUME_TGKILL): Define conditional on architectures, not kernel
44662         version.
44663         (__ASSUME_UTIMES): Likewise.
44664         (__ASSUME_CLONE_STOPPED): Remove.
44665         (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
44666         architectures, not kernel version.
44667         (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
44668         (__ASSUME_NO_CLONE_DETACHED): Likewise.
44669         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
44670         (__ASSUME_WAITID_SYSCALL): Likewise.
44671         [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
44672         condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
44673         * README: State 2.6.16 as minimum Linux kernel version.  Do not
44674         refer to older versions.
44676 2012-08-06  Roland McGrath  <roland@hack.frob.com>
44678         * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
44679         Define alphasort64 as an alias.
44680         * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
44681         Define versionsort64 as an alias.
44682         * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
44683         Define scandir64 as an alias.
44684         * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
44685         Define scandirat64 as an alias.
44686         * dirent/alphasort64.c (alphasort64):
44687         Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
44688         * dirent/versionsort64.c: Likewise.
44689         * dirent/scandir64.c: Likewise.
44690         * dirent/scandirat64.c: Likewise.
44691         * sysdeps/wordsize-64/alphasort.c: File removed.
44692         * sysdeps/wordsize-64/alphasort64.c: File removed.
44693         * sysdeps/wordsize-64/scandir.c: File removed.
44694         * sysdeps/wordsize-64/scandir64.c: File removed.
44695         * sysdeps/wordsize-64/scandirat.c: File removed.
44696         * sysdeps/wordsize-64/scandirat64.c: File removed.
44697         * sysdeps/wordsize-64/versionsort.c: File removed.
44698         * sysdeps/wordsize-64/versionsort64.c: File removed.
44699         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
44700         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
44701         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
44702         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
44703         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
44704         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
44705         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
44706         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
44708         * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
44709         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
44710         [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
44711         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
44712         [defined __arch64__ || defined __sparcv9]
44713         (__INO_T_MATCHES_INO64_T): New macro.
44714         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
44715         [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
44716         * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
44717         * sysdeps/unix/sysv/linux/bits/dirent.h
44718         [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
44719         (_DIRENT_MATCHES_DIRENT64): New macro.
44721         * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
44722         Define lockf64 as an alias.
44723         * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
44724         Define fseeko64 as an alias.
44725         * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
44726         Define ftello64 as an alias.
44727         * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
44728         Define _IO_fgetpos64 and fgetpos64 as aliases.
44729         * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
44730         Define _IO_fsetpos64 and fsetpos64 as aliases.
44731         * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
44732         Conditionalize body on this.
44733         * libio/fseeko64.c: Likewise.
44734         * libio/ftello64.c: Likewise.
44735         * libio/iofgetpos64.c: Likewise.
44736         * libio/iofsetpos64.c: Likewise.
44737         * sysdeps/wordsize-64/lockf.c: File removed.
44738         * sysdeps/wordsize-64/lockf64.c: File removed.
44739         * sysdeps/wordsize-64/fseeko.c: File removed.
44740         * sysdeps/wordsize-64/fseeko64.c: File removed.
44741         * sysdeps/wordsize-64/ftello.c: File removed.
44742         * sysdeps/wordsize-64/ftello64.c: File removed.
44743         * sysdeps/wordsize-64/iofgetpos.c: File removed.
44744         * sysdeps/wordsize-64/iofgetpos64.c: File removed.
44745         * sysdeps/wordsize-64/iofsetpos.c: File removed.
44746         * sysdeps/wordsize-64/iofsetpos64.c: File removed.
44747         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
44748         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
44749         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
44750         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
44751         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
44752         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
44753         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
44754         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
44755         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
44756         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
44758         * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
44759         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
44760         [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
44761         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
44762         [defined __arch64__ || defined __sparcv9]
44763         (__OFF_T_MATCHES_OFF64_T): New macro.
44764         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
44765         [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
44766         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
44767         (__OFF_T_MATCHES_OFF64_T): New macro.
44769 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
44771         * stdlib/secure-getenv.c (__secure_getenv): Replace
44772         GLIBC_2_16 with GLIBC_2_17.
44774 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
44776         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
44777         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
44779 2012-08-03  David S. Miller  <davem@davemloft.net>
44781         * sysdeps/sparc/fpu/libm-test-ulps: Update.
44783 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
44785         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
44786         Remove.
44787         (__ASSUME_CORRECT_SI_PID): Likewise.
44788         (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
44789         (__ASSUME_TMPFS_NAME): Likewise.
44790         * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
44791         [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
44792         * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
44793         (HAVE_AUX_SECURE): Make definition unconditional.
44794         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
44795         [!__ASSUME_TMPFS_NAME]: Remove conditional code.
44797 2012-08-03  Roland McGrath  <roland@hack.frob.com>
44799         * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
44800         * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
44801         * sysdeps/mach/hurd/eloop-threshold.h: New file.
44802         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
44803         __eloop_threshold instead of SYMLOOP_MAX.
44805         * sysdeps/generic/eloop-threshold.h: New file.
44806         * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
44807         of MAXSYMLINKS.
44808         * elf/chroot_canon.c (chroot_canon): Likewise.
44810 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
44812         [BZ #13717]
44813         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
44814         Change to 2.6.0 everywhere.
44815         * sysdeps/unix/sysv/linux/configure: Regenerated.
44816         * sysdeps/unix/sysv/linux/kernel-features.h
44817         (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
44818         (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
44819         kernel versions.
44820         (__ASSUME_POSIX_TIMERS): Define unconditionally.
44821         (__ASSUME_FUTEX_REQUEUE): Remove.
44822         (__ASSUME_STATFS64): Define unconditionally.
44823         (__ASSUME_AT_SECURE): Likewise.
44824         (__ASSUME_CORRECT_SI_PID): Likewise.
44825         (__ASSUME_TGKILL): Define without depending on kernel version for
44826         i386.
44827         (__ASSUME_UTIMES): Likewise.
44828         (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
44829         kernel version.
44830         (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
44831         (__ASSUME_TMPFS_NAME): Likewise.
44832         * README: Update reference to Linux kernel versions.
44834 2012-08-02  Marek Polacek  <polacek@redhat.com>
44836         [BZ# 14150]
44837         * configure.in (libc_cv_asm_type_prefix): Remove test.  Replace
44838         libc_cv_asm_type_prefix with %.
44839         * configure: Regenerated.
44840         * include/libc-symbols.h: Remove comment about
44841         ASM_TYPE_DIRECTIVE_PREFIX.  Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
44842         (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
44843         (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
44844         (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
44845         (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
44846         * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
44847         [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
44848         [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
44849         * elf/tst-unique2mod1.c: Likewise.
44850         * elf/tst-unique1mod2.c: Likewise.
44851         * elf/tst-unique1mod1.c: Likewise.
44852         * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
44853         * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
44854         Replace ASM_TYPE_DIRECTIVE with .type.
44855         * sysdeps/s390/s390-64/sysdep.h: Likewise.
44856         * sysdeps/i386/sysdep.h: Likewise.
44857         * sysdeps/x86_64/sysdep.h: Likewise.
44858         * sysdeps/sh/sysdep.h: Likewise.
44859         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
44860         Do not define ASM_TYPE_DIRECTIVE.
44861         * sysdeps/powerpc/sysdep.h: Likewise.
44862         * sysdeps/powerpc/powerpc32/sysdep.h:
44863         Replace ASM_TYPE_DIRECTIVE with .type.
44864         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
44865         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
44866         * sysdeps/i386/fpu/e_powf.S: Likewise.
44867         * sysdeps/i386/fpu/e_expl.S: Likewise.
44868         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
44869         * sysdeps/i386/fpu/e_acosh.S: Likewise.
44870         * sysdeps/i386/fpu/e_pow.S: Likewise.
44871         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
44872         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
44873         * sysdeps/i386/fpu/s_expm1.S: Likewise.
44874         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
44875         * sysdeps/i386/fpu/e_log2.S: Likewise.
44876         * sysdeps/i386/fpu/e_log2l.S: Likewise.
44877         * sysdeps/i386/fpu/e_scalb.S: Likewise.
44878         * sysdeps/i386/fpu/e_powl.S: Likewise.
44879         * sysdeps/i386/fpu/e_log10f.S: Likewise.
44880         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
44881         * sysdeps/i386/fpu/e_logl.S: Likewise.
44882         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
44883         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
44884         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
44885         * sysdeps/i386/fpu/e_log2f.S: Likewise.
44886         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
44887         * sysdeps/i386/fpu/e_log.S: Likewise.
44888         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
44889         * sysdeps/i386/fpu/e_logf.S: Likewise.
44890         * sysdeps/i386/fpu/e_log10l.S: Likewise.
44891         * sysdeps/i386/fpu/e_atanh.S: Likewise.
44892         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
44893         * sysdeps/i386/fpu/e_log10.S: Likewise.
44894         * sysdeps/i386/fpu/s_frexp.S: Likewise.
44895         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
44896         * sysdeps/i386/fpu/s_asinh.S: Likewise.
44897         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
44898         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
44899         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
44900         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
44901         * sysdeps/i386/i686/strtok.S: Likewise.
44902         * sysdeps/i386/i386-mcount.S: Likewise.
44903         * sysdeps/i386/strtok.S: Likewise.
44904         * sysdeps/x86_64/fpu/e_expl.S: Likewise.
44905         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
44906         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
44907         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
44908         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
44909         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
44910         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
44911         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
44912         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
44913         * sysdeps/x86_64/_mcount.S: Likewise.
44914         * sysdeps/x86_64/strtok.S: Likewise.
44915         * sysdeps/sh/_mcount.S: Likewise.
44917 2012-08-01  Roland McGrath  <roland@hack.frob.com>
44919         * libio/iofopen.c: Include <fcntl.h>.
44920         [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
44921         (_IO_fopen64, fopen64): Define as aliases.
44922         * libio/iofopen64.c: Include <fcntl.h>.
44923         [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
44924         Conditionalize body on this.
44925         * sysdeps/wordsize-64/iofopen.c: File removed.
44926         * sysdeps/wordsize-64/iofopen64.c: File removed.
44928 2012-08-01  Marek Polacek  <polacek@redhat.com>
44930         * libc/Makeconfig: Use elf in place of binfmt-subdir.
44931         Use dlfcn directly instead of a variable.
44932         (binfmt-subdir): Do not define.
44933         (dlfcn): Likewise.
44935 2012-08-01  Joseph Myers  <joseph@codesourcery.com>
44937         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
44938         Remove all definitions.
44939         * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
44940         <kernel-features.h>.
44941         [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
44942         (miss_F_GETOWN_EX): Remove all definitions.
44943         [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
44944         macro definition.
44945         [!__ASSUME_FCNTL64]: Remove conditional code.
44946         [__ASSUME_FCNTL64]: Make code unconditional.
44947         * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
44948         <kernel-features.h>.
44949         [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
44950         (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
44951         (lockf64) [__NR_fcntl64]: Make code unconditional.
44952         (lockf64) [__ASSUME_FCNTL64]: Likewise.
44954         * sysdeps/unix/sysv/linux/kernel-features.h
44955         (__ASSUME_VFORK_SYSCALL): Remove all definitions.
44956         * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
44957         Make code unconditional.
44958         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
44959         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
44960         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
44961         [__NR_vfork]: Make code unconditional.
44962         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
44963         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
44964         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
44965         [__NR_vfork]: Make code unconditional.
44966         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
44967         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
44969 2012-08-01  Roland McGrath  <roland@hack.frob.com>
44971         * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
44972         (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
44974         * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
44975         Define mkstemp64 as an alias.
44976         * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
44977         Define mkstemps64 as an alias.
44978         * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
44979         Define mkostemp64 as an alias.
44980         * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
44981         Define mkostemps64 as an alias.
44982         * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
44983         Conditionalize body on this.
44984         * misc/mkostemp64.c: Likewise.
44985         * misc/mkostemps64.c: Likewise.
44986         * misc/mkstemps64.c: Likewise.
44987         * sysdeps/wordsize-64/mkstemp64.c: File removed.
44988         * sysdeps/wordsize-64/mkostemp64.c: File removed.
44989         * sysdeps/wordsize-64/mkostemp.c: File removed.
44990         * sysdeps/wordsize-64/mkstemp.c: File removed.
44991         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
44992         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
44993         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
44994         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
44996         [BZ #14138]
44997         * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
44998         * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
44999         * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
45000         * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
45002         * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
45003         compat_symbol macros from <shlib-compat.h> rather than the underlying
45004         default_symbol_version and symbol_version macros, so that DEFAULT
45005         lines in shlib-versions are respected.
45006         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
45008 2012-08-01  Florian Weimer  <fweimer@redhat.com>
45010         * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
45011         Declare with warn_unused_result.
45012         (setgid, setregid, setegid, setresgid): Likewise.
45013         * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
45014         Likewise.
45015         * WUR-REPORT: Remove set*id functions.
45017 2012-07-31  Pino Toscano  <toscano.pino@tiscali.it>
45019         * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
45021 2012-07-31  Roland McGrath  <roland@hack.frob.com>
45023         [BZ #10191]
45024         * include/sys/socket.h (__libc_accept, __libc_accept4):
45025         Add attribute_hidden.
45026         * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
45028         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
45029         use of PTR_MANGLE.
45030         * inet/getnetgrent_r.c (setup): Likewise.
45032         * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
45034 2012-07-31  David S. Miller  <davem@davemloft.net>
45036         * sysdeps/sparc/fpu/libm-test-ulps: Update.
45038 2012-07-31  Joseph Myers  <joseph@codesourcery.com>
45040         [BZ #13629]
45041         * math/s_clog.c (__clog): Use __log1p if larger part has absolute
45042         value between 1.0 and 2.0 and smaller part has absolute value less
45043         than 1.0.
45044         * math/s_clog10.c (__clog10): Likewise.
45045         * math/s_clog10f.c (__clog10f): Likewise.
45046         * math/s_clog10l.c (__clog10l): Likewise.
45047         * math/s_clogf.c (__clogf): Likewise.
45048         * math/s_clogl.c (__clogl): Likewise.
45049         * math/libm-test.inc (clog_test): Add more tests.
45050         (clog10_test): Likewise.
45051         * sysdeps/i386/fpu/libm-test-ulps: Update.
45052         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45054 2012-07-31  Florian Weimer  <fweimer@redhat.com>
45056         * stdlib/tst-secure-getenv.c: Use printf for error reporting.
45057         Exit with zero in case no suitable GID is found, and write a
45058         message to standard error.
45060 2012-07-30  Roland McGrath  <roland@hack.frob.com>
45062         * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
45063         rather than to 1.
45064         (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
45065         (MAXPATHLEN): Removed.
45066         (NOGROUP, NODEV): New macros.
45067         (setbit, clrbit, isset, isclr): New macros.
45068         (howmany, roundup, powerof2): New macros.
45069         (DEV_BSIZE): New macro.
45071         * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
45072         * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
45074         * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
45075         definition on [!__NO_LONG_DOUBLE_MATH].
45077         * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
45078         PTR_MANGLE and PTR_DEMANGLE.
45080         * socket/accept4.c (accept4): Rename to __libc_accept4.
45081         Define accept4 as a weak alias.
45083         * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
45084         on [_DIRENT_HAVE_D_TYPE].
45085         * io/ftw.c (ftw_dir): Likewise.
45087         * io/xmknod.c (__xmknod): Don't check PATH for being null.
45089         * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
45091         * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
45092         Use the BSD numbers rather than the arbitrary ones we had.
45093         (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
45094         (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
45095         (SIGXCPU, SIGXFSZ): New macros.
45096         (_NSIG): Now 32.
45098         * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
45099         initializer on [_LIBC_REENTRANT].
45101         * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
45102         definitions inside [_POSIX_MAPPED_FILES].
45104         * posix/regex.c: Include <sys/param.h> for MIN/MAX.
45106         * dirent/opendir.c: Include <fcntl.h>.
45108         * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
45109         (__libc_getspecific): Likewise.
45110         (__libc_key_create): Likewise.
45112         * stdio-common/tmpfile64.c: Include <fcntl.h> first.
45113         [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
45114         * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
45115         (tmpfile64): Define as alias.
45116         * sysdeps/wordsize-64/tmpfile.c: File removed.
45117         * sysdeps/wordsize-64/tmpfile64.c: File removed.
45118         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
45119         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
45121         * stdio-common/vfscanf.c: Include <stdbool.h>.
45122         * nss/makedb.c: Likewise.
45123         * stdio-common/_i18n_number.h: Likewise.
45124         * argp/argp-help.c: Likewise.
45125         * posix/wordexp.c: Likewise.
45126         * sysdeps/posix/spawni.c: Likewise.
45127         * nss/nss_files/files-initgroups.c: Likewise.
45128         * stdio-common/reg-modifier.c: Include <stdlib.h>.
45129         * nss/nss_files/files-initgroups.c: Likewise.
45130         * nss/nss_db/db-netgrp.c: Likewise.
45131         * nss/nss_db/db-initgroups.c: Likewise.
45132         * io/fchmodat.c: Include <sys/stat.h>.
45134         * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
45135         __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
45137         * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
45138         [HAVE_MMAP].
45140         * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
45141         Add multiple inclusion protection.
45143 2012-07-27  David S. Miller  <davem@davemloft.net>
45145         * sysdeps/sparc/fpu/libm-test-ulps: Update.
45147 2012-07-27  Gary Benson  <gbenson@redhat.com>
45149         [BZ #14298]
45150         * elf/rtld.c: Include <stap-probe.h>.
45151         (dl_main): Added static probes "init_start" and "init_complete".
45152         * elf/dl-load.c: Include <stap-probe.h>.
45153         (lose): Take new parameter "nsid".
45154         Added static probe "map_failed".
45155         (_dl_map_object_from_fd): Pass namespace id to lose.
45156         Added static probe "map_start".
45157         (open_verify): Pass namespace id to lose.
45158         * elf/dl-open.c: Include <stap-probe.h>.
45159         (dl_open_worker) Added static probes "map_complete", "reloc_start"
45160         and "reloc_complete".
45161         * elf/dl-close.c: Include <stap-probe.h>.
45162         (_dl_close_worker): Added static probes "unmap_start" and
45163         "unmap_complete".
45164         * elf/rtld-debugger-interface.txt: New file documenting the above.
45166 2012-07-26  Roland McGrath  <roland@hack.frob.com>
45168         * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
45169         rather than a string variable.
45170         * sunrpc/rpc_main.c (h_output): Likewise.
45171         * sunrpc/rpc_svcout.c (write_real_program): Likewise.
45173 2012-07-26  Pino Toscano  <toscano.pino@tiscali.it>
45175         * inet/check_native.c: New file.
45177 2012-07-26  Joseph Myers  <joseph@codesourcery.com>
45179         [BZ #13629]
45180         * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
45181         if larger part has absolute value 1.0.
45182         * math/s_clog10.c (__clog10): Likewise.
45183         * math/s_clog10f.c (__clog10f): Likewise.
45184         * math/s_clog10l.c (__clog10l): Likewise.
45185         * math/s_clogf.c (__clogf): Likewise.
45186         * math/s_clogl.c (__clogl): Likewise.
45187         * math/libm-test.inc (clog_test): Add more tests.
45188         (clog10_test): Likewise.
45189         * sysdeps/i386/fpu/libm-test-ulps: Update.
45190         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45192         * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
45193         (pltexit): Likewise.
45194         (La_regs): Likewise.
45195         (La_retval): Likewise.
45196         (int_retval): Likewise.
45197         Update #error for removed macros to refer only to definitions in
45198         tst-audit.h.
45199         * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
45200         macro.
45201         (pltexit): Likewise.
45202         (La_regs): Likewise.
45203         (La_retval): Likewise.
45204         (int_retval): Likewise.
45205         * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
45206         macro.
45207         (pltexit): Likewise.
45208         (La_regs): Likewise.
45209         (La_retval): Likewise.
45210         (int_retval): Likewise.
45211         * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
45212         macro.
45213         (pltexit): Likewise.
45214         (La_regs): Likewise.
45215         (La_retval): Likewise.
45216         (int_retval): Likewise.
45217         * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
45218         macro.
45219         (pltexit): Likewise.
45220         (La_regs): Likewise.
45221         (La_retval): Likewise.
45222         (int_retval): Likewise.
45223         * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
45224         macro.
45225         (pltexit): Likewise.
45226         (La_regs): Likewise.
45227         (La_retval): Likewise.
45228         (int_retval): Likewise.
45229         * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
45230         macro.
45231         (pltexit): Likewise.
45232         (La_regs): Likewise.
45233         (La_retval): Likewise.
45234         (int_retval): Likewise.
45235         * sysdeps/generic/tst-audit.h: Update comment to refer only to
45236         macro definitions in tst-audit.h.
45237         * sysdeps/i386/tst-audit.h: New file.
45238         * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
45239         * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
45240         * sysdeps/s390/s390-32/tst-audit.h: Likewise.
45241         * sysdeps/s390/s390-64/tst-audit.h: Likewise.
45242         * sysdeps/sh/tst-audit.h: Likewise.
45243         * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
45244         * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
45245         * sysdeps/x86_64/tst-audit.h: Likewise.
45247 2012-07-26  Andreas Jaeger  <aj@suse.de>
45249         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
45250         ptrace.
45252         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
45253         new value PTRACE_EVENT_SECCOMP from Linux 3.5.
45254         (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
45255         PTRACE_O_MASK.
45256         * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
45257         * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
45258         * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
45260         * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
45261         value.
45263         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
45264         _sigsys.
45265         (si_call_addr, si_syscall, si_arch): Define new macro.
45266         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
45267         _sigsys.
45268         (si_call_addr, si_syscall, si_arch): Define new marcro.
45269         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
45270         _sigsys.
45271         (si_call_addr, si_syscall, si_arch): Define new macro.
45272         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
45273         _sigsys.
45274         (si_call_addr, si_syscall, si_arch): Define new macro.
45276 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
45278         [BZ #13717]
45279         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
45280         Change to 2.4.21 where previously 2.4.1.
45281         * sysdeps/unix/sysv/linux/configure: Regenerated.
45282         * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
45283         __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
45284         Linux kernel version.
45285         (__ASSUME_STD_AUXV): Remove.
45286         [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
45287         kernel version.
45288         [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
45289         (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
45290         (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
45291         (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
45292         (__ASSUME_NETLINK_SUPPORT): Likewise.
45293         * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
45294         (__no_netlink_support): Remove conditional definition.
45295         * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
45296         Remove.
45297         (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
45298         [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
45299         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
45300         (if_nameindex_ioctl): Remove.
45301         (if_nameindex_netlink): Do not handle __no_netlink_support.
45302         (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
45303         code.
45304         * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
45305         Remove conditional code.
45306         (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
45307         code.
45308         (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
45309         unconditional.
45310         [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
45311         [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
45312         * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
45313         Remove.
45314         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
45315         [!__ASSUME_STD_AUXV]: Remove conditional code.
45316         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
45317         [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
45318         [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
45319         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
45320         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
45321         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
45322         code.
45323         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
45324         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
45325         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
45326         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
45327         conditional code.
45328         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
45329         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
45330         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
45331         code.
45332         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
45333         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
45334         conditional code.
45335         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
45336         (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
45337         code unconditional.
45338         (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
45339         conditional code.
45340         (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
45341         unconditional.
45342         (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
45343         conditional code.
45344         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
45345         (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
45346         unconditional.
45347         (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
45348         conditional code.
45349         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
45350         (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
45351         code unconditional.
45352         (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
45353         conditional code.
45354         (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
45355         unconditional.
45356         (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
45357         conditional code.
45358         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
45359         (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
45360         code unconditional.
45361         (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
45362         conditional code.
45363         (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
45364         unconditional.
45365         (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
45366         conditional code.
45368 2012-07-25  Andreas Schwab  <schwab@linux-m68k.org>
45370         * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
45371         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
45372         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
45373         * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
45374         * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
45375         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
45376         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
45377         * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
45378         * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
45379         * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
45380         * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
45381         * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
45382         * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
45383         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
45384         * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
45385         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
45386         * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
45387         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
45388         * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
45389         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
45390         * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
45391         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
45392         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
45394 2012-07-25  Florian Weimer  <fweimer@redhat.com>
45396         * Versions.def: Add GLIBC_2.17.
45397         * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
45398         * include/stdlib.h: Rename __secure_getenv to secure_getenv.
45399         Introduce __libc_secure_getenv.
45400         * stdlib/Versions (2.17): Add secure_getenv
45401         (GLIBC_PRIVATE): Add __libc_secure_getenv.
45402         * stdlib/secure-getenv.c: Rename __secure_getenv to
45403         __libc_secure_getenv.  Add secure_getenv alias.  Add compatibility
45404         symbol __secure_getenv for GLIBC_2.0.
45405         * stdlib/tst-secure-getenv.c: New.
45406         * stdlib/Makefile (tests): Add testcase.
45407         * manual/startup.texi (Environment Access): Document
45408         secure_getenv.
45409         * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
45410         __libc_secure_getenv.
45411         * inet/ruserpass.c (ruserpass): Likewise.
45412         * malloc/mtrace.c (mtrace): Likewise.
45413         * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
45414         * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
45415         * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
45416         * sysdeps/posix/tempname.c: Likewise.  Evaluate
45417         HAVE_SECURE_GETENV.
45418         * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
45419         __secure_getenv to __libc_secure_getenv.
45420         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
45421         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
45422         Likewise.
45423         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
45424         Likewise.
45425         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
45426         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
45427         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
45428         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
45429         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
45430         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
45431         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
45433 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
45435         * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
45436         (struct La_i86_retval): Likewise.
45437         (struct La_x86_64_regs): Likewise.
45438         (struct La_x86_64_retval): Likewise.
45439         (struct La_x32_regs): Likewise.
45440         (struct La_x32_retval): Likewise.
45441         (struct La_ppc32_regs): Likewise.
45442         (struct La_ppc32_retval): Likewise.
45443         (struct La_ppc64_regs): Likewise.
45444         (struct La_ppc64_retval): Likewise.
45445         (struct La_sh_regs): Likewise.
45446         (struct La_sh_retval): Likewise.
45447         (struct La_s390_32_regs): Likewise.
45448         (struct La_s390_32_retval): Likewise.
45449         (struct La_s390_64_regs): Likewise.
45450         (struct La_s390_64_retval): Likewise.
45451         (struct La_sparc32_regs): Likewise.
45452         (struct La_sparc32_retval): Likewise.
45453         (struct La_sparc64_regs): Likewise.
45454         (struct La_sparc64_retval): Likewise.
45455         (struct audit_ifaces): Remove architecture-specific pltenter and
45456         pltexit members.
45457         * sysdeps/i386/ldsodefs.h: New file.
45458         * sysdeps/powerpc/ldsodefs.h: Likewise.
45459         * sysdeps/s390/ldsodefs.h: Likewise.
45460         * sysdeps/sh/ldsodefs.h: Likewise.
45461         * sysdeps/sparc/ldsodefs.h: Likewise.
45462         * sysdeps/x86_64/ldsodefs.h: Likewise.
45464 2012-07-25  Marek Polacek  <polacek@redhat.com>
45466         [BZ #6808]
45467         * math/libm-test.inc (yn_test): Add another test.
45468         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
45469         to ERANGE when the result is +-Inf.
45470         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
45471         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
45472         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
45473         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
45475 2012-07-24  Joseph Myers  <joseph@codesourcery.com>
45477         * conform/data/time.h-data (NULL): Use macro-constant.  Require
45478         equal to 0.
45479         (CLOCKS_PER_SEC): Use macro instead of constant.  Specify type as
45480         clock_t.
45481         [ISO11] (TIME_UTC): Use macro-int-constant.  Require value > 0.
45483 2012-07-23  Thomas Schwinge  <thomas@codesourcery.com>
45485         * configure.in <sysdeps resolving>: Correct printing
45486         Implies_before.
45487         * configure: Regenerate.
45489 2012-07-22  Thomas Schwinge  <thomas@codesourcery.com>
45491         * math/w_ilogb.c: Include <limits.h>.
45492         * math/w_ilogbl.c: Likewise.
45494 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
45496         * manual/lang.texi (__va_copy): Document primarily as ISO C99
45497         va_copy.  Document allowing for unavailable va_copy only as
45498         pre-C99 compatibility.
45499         * manual/string.texi (Copying and Concatenation): Use va_copy
45500         instead of __va_copy in concat example.
45502 2012-07-20  Pino Toscano  <toscano.pino@tiscali.it>
45504         * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
45505         (__sendto): Use create_address_port.  Initialize APORT and deallocate
45506         it if not null.
45508         * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
45509         with O_NOLINK passed to __file_name_lookup.
45511         * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
45512         with O_NOLINK passed to __file_name_lookup.
45514         * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
45515         negative N or less than NGIDS.
45517         * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
45518         type to string_t.  Set ERANGE as errno and return it if NAME is not big
45519         enough.  Use memcpy instead of strncpy.
45521 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
45523         * elf/Makefile (check-data): Remove.
45524         (localplt.data): New vpath directive.
45525         ($(objpfx)check-localplt.out): Use localplt.data from vpath
45526         instead of $(check-data).
45527         * scripts/data/localplt-generic.data: Move to ...
45528         * sysdeps/generic/localplt.data: ... here.
45529         * scripts/data/localplt-i386-linux-gnu.data: Move to ...
45530         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
45531         * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
45532         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
45533         ... here.
45534         * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
45535         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
45536         ... here.
45537         * scripts/data/localplt-s390-linux-gnu.data: Move to ...
45538         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
45539         ... here.
45540         * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
45541         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
45542         ... here.
45543         * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
45544         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
45545         ... here.
45546         * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
45547         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
45548         ... here.
45550 2012-07-19 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45552         * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
45553         PPC32 and PPC64 files.
45554         * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
45555         * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
45557 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
45559         * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
45560         __makecontext_ret to ...
45561         * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
45562         ... here and call exit if uc_link is NULL.  New file.
45563         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
45564         __makecontext_ret.S.
45565         * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
45566         __makecontext_ret to ...
45567         * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
45568         ... here and call exit if uc_link is NULL.  New file.
45569         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
45570         __makecontext_ret.S.
45572 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
45574         * elf/elf.h (R_390_IRELATIVE): New definition.
45575         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
45576         resolver function for IFUNC symbols.  Support R_390_IRELATIVE.
45577         (elf_machine_lazy_rel): Support R_390_IRELATIVE.
45578         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
45579         (elf_machine_lazy_rel): Likewise.
45580         * sysdeps/s390/dl-irel.h: New file.
45581         * sysdeps/s390/s390-64/memcpy.S: New asm code.
45582         * sysdeps/s390/s390-64/memset.S: New asm code.
45583         * sysdeps/s390/s390-64/memcmp.S: New asm code.
45584         * sysdeps/s390/s390-64/multiarch/memset.S: New file.
45585         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
45586         * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
45587         * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
45588         * sysdeps/s390/s390-64/multiarch/Makefile: New file.
45589         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
45590         * sysdeps/s390/s390-32/multiarch/Makefile: New file.
45591         * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
45592         * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
45593         * sysdeps/s390/s390-32/multiarch/memset.S: New file.
45594         * sysdeps/s390/s390-32/memcpy.S: New asm code.
45595         * sysdeps/s390/s390-32/memset.S: New asm code.
45596         * sysdeps/s390/s390-32/memcmp.S: New asm code.
45598 2012-07-17  Marek Polacek  <polacek@redhat.com>
45600         [BZ #14349]
45601         * sysdeps/s390/s390-32/configure.in: Remove TLS check.
45602         * sysdeps/s390/s390-64/configure.in: Likewise.
45603         * sysdeps/sparc/configure.in: Likewise.
45604         * sysdeps/powerpc/powerpc32/configure.in: Likewise.
45605         * sysdeps/powerpc/powerpc64/configure.in: Likewise.
45606         * sysdeps/i386/configure.in: Likewise.
45607         * sysdeps/x86_64/configure.in: Likewise.
45608         * sysdeps/sh/configure.in: Likewise.
45609         * sysdeps/s390/s390-32/configure: Regenerated.
45610         * sysdeps/s390/s390-64/configure: Likewise.
45611         * sysdeps/x86_64/configure: Likewise.
45612         * sysdeps/sh/configure: Likewise.
45613         * sysdeps/powerpc/powerpc64/configure: Likewise.
45614         * sysdeps/powerpc/powerpc32/configure: Likewise.
45615         * sysdeps/sparc/configure: Likwise.
45616         * sysdeps/i386/configure: Likewise.
45618         * elf/dl-open.c: Comment fixes.
45620 2012-07-17  Joseph Myers  <joseph@codesourcery.com>
45622         * Makefile [CXX] (check-data): Remove.
45623         [CXX] (c++-types.data): New vpath directive.
45624         [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
45625         vpath.  Do not allow for C++ type data being missing.
45626         * scripts/data/c++-types-alpha-linux-gnu.data: Move to
45627         ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
45628         * scripts/data/c++-types-ia64-linux-gnu.data: Move to
45629         ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
45630         * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
45631         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
45632         * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
45633         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
45634         ... here.
45635         * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
45636         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
45637         ... here.
45638         * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
45639         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
45640         ... here.
45641         * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
45642         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
45643         ... here.
45644         * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
45645         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
45646         ... here.
45647         * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
45648         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
45649         ... here.
45650         * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
45651         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
45652         ... here.
45653         * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
45654         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
45656         * elf/tls-macros.h (TLS_LE): Move architecture-specific
45657         definitions to architecture-specific files.
45658         (TLS_IE): Likewise.
45659         (TLS_LD): Likewise.
45660         (TLS_GD): Likewise.
45661         * sysdeps/i386/tls-macros.h: New file.
45662         * sysdeps/powerpc/tls-macros.h: Likewise.
45663         * sysdeps/s390/s390-32/tls-macros.h: Likewise.
45664         * sysdeps/s390/s390-64/tls-macros.h: Likewise.
45665         * sysdeps/sh/tls-macros.h: Likewise.
45666         * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
45667         * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
45668         * sysdeps/x86_64/tls-macros.h: Likewise.
45670 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
45672         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
45673         zero value for regular exit case.
45675         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
45676         (__start_context): Preserve zero value for regular exit case.
45678 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
45679             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
45681         * manual/setjmp.texi (setcontext): Clarify normal process
45682         termination when uc_link is the null pointer.
45683         * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
45684         exit call.
45686 2012-07-16  Andreas Schwab  <schwab@linux-m68k.org>
45688         * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
45689         preprocessor.  Test for each exception mask separately.
45691 2012-07-16  Andreas Jaeger  <aj@suse.de>
45693         * po/ru.po: Update from translation team.
45695 2012-07-15  Joseph Myers  <joseph@codesourcery.com>
45697         * conform/data/string.h-data (NULL): Use macro-constant.  Require
45698         equal to 0.
45699         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
45700         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
45701         (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
45702         (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
45703         [ISO || ISO99 || ISO11] (*_t): Do not allow.
45705 2012-07-13  Andreas Jaeger  <aj@suse.de>
45707         * po/fr.po: Update from translation team.
45709 2012-07-12  Marek Polacek  <polacek@redhat.com>
45711         [BZ #14173]
45712         * math/libm-test.inc (yn_test): Add test for BZ #14173.
45713         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
45714         loop condition.
45716 2012-07-12  Joseph Myers  <joseph@codesourcery.com>
45718         [BZ #13717]
45719         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
45720         Change to 2.4.1 where previously 2.4.0.
45721         * sysdeps/unix/sysv/linux/configure: Regenerated.
45722         * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
45723         (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
45724         version.
45725         [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
45726         (__ASSUME_AT_CLKTCK): Remove.
45727         (__ASSUME_AT_PAGESIZE): Likewise.
45728         (__ASSUME_AT_XID): Likewise.
45729         (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
45730         [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
45731         * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
45732         unconditionally.
45733         (HAVE_AUX_PAGESIZE): Likewise.
45734         * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
45735         [__ASSUME_AT_CLKTCK]: Make code unconditional.
45736         [!__ASSUME_AT_CLKTCK]: Remove conditional code.
45738 2012-07-12  Jeroen van Bemmel  <jvb127@gmail.com>
45740         [BZ #14307]
45741         * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
45742         the temporary buffer used to invoke __gethostbyname2_r,
45743         __gethostbyaddr_r and gethostbyname4_r to make room for struct
45744         host_data / struct gaih_addrtuple.
45745         * resolv/nss_dns/dns-host.c (global scope): Move definition of
45746         implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
45747         header file nss/nsswitch.h.
45748         * nss/nsswitch.h (global scope): Add definition of implementation
45749         constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
45750         resolv/nss_dns/dns-host.c).
45752 2012-07-11  Andreas Jaeger  <aj@suse.de>
45754         * po/fr.po: Update from translation team.
45756         * po/sv.po: Update from translation team
45757         * po/fr.po: Another update from translation team.
45759 2012-07-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45761         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
45762         for subnormals or multiply small sinh result by itself.
45763         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
45764         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
45766 2012-07-11  David S. Miller  <davem@davemloft.net>
45768         * sysdeps/sparc/fpu/libm-test-ulps: Update.
45770 2012-07-10  Andreas Schwab  <schwab@linux-m68k.org>
45772         [BZ #14347]
45773         * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
45774         (INTERNAL_MARK): Shift it here.
45776 2012-07-10  Marek Polacek  <polacek@redhat.com>
45778         [BZ #14151]
45779         * configure.in (libc_cv_asm_global_directive): Remove test.  Replace
45780         libc_cv_asm_global_directive with .globl.
45781         * configure: Regenerated.
45782         * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
45783         with .globl.
45784         * sysdeps/i386/configure: Regenerated.
45785         * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
45786         with .globl.
45787         * sysdeps/x86_64/configure: Regenerated.
45788         * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
45789         * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
45790         * elf/tst-unique2mod2.c: Likewise.
45791         * elf/tst-unique2mod1.c: Likewise.
45792         * elf/tst-unique1mod2.c: Likewise.
45793         * elf/tst-unique1mod1.c: Likewise.
45794         * sysdeps/s390/s390-32/sysdep.h: Likewise.
45795         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
45796         * sysdeps/s390/s390-64/sysdep.h: Likewise.
45797         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
45798         * sysdeps/mach/sysdep.h: Likewise.
45799         * sysdeps/i386/sysdep.h: Likewise.
45800         * sysdeps/i386/i386-mcount.S: Likewise.
45801         * sysdeps/x86_64/_mcount.S: Likewise.
45802         * sysdeps/x86_64/sysdep.h: Likewise.
45803         * sysdeps/sh/_mcount.S: Likewise.
45804         * sysdeps/sh/sysdep.h: Likewise.
45805         * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
45806         * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
45807         * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
45808         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
45809         * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
45810         * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
45811         * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
45812         * locale/localeinfo.h: Likewise.
45813         (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
45814         (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
45816 2012-07-09  Roland McGrath  <roland@hack.frob.com>
45818         [BZ #14336]
45819         * manual/charset.texi (Extended Char Intro): Word use fix, "operating
45820         system".
45821         * manual/message.texi (The Uniforum approach): Likewise.
45822         * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
45823         (glibc iconv Implementation): Likewise.
45825 2012-07-09  Joseph Myers  <joseph@codesourcery.com>
45827         [BZ #14337]
45828         * math/s_clog.c (__clog): Avoid scaling a value down where that
45829         could result in underflow.
45830         * math/s_clog10.c (__clog10): Likewise.
45831         * math/s_clog10f.c (__clog10f): Likewise.
45832         * math/s_clog10l.c (__clog10l): Likewise.
45833         * math/s_clogf.c (__clogf): Likewise.
45834         * math/s_clogl.c (__clogl): Likewise.
45835         * math/libm-test.inc (clog_test): Add more tests.
45836         (clog10_test): Likewise.
45837         * sysdeps/i386/fpu/libm-test-ulps: Update.
45838         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45840 2012-07-06  Andreas Schwab  <schwab@linux-m68k.org>
45842         [BZ #14283]
45843         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
45844         by 7 not 8 to examine high bit of fractional part.
45846         [BZ #14042]
45847         * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
45848         for call to __mcount_internal.
45849         * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
45850         (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
45851         * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
45853 2012-07-06  Joseph Myers  <joseph@codesourcery.com>
45855         [BZ #14154]
45856         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
45857         approximation for values within 0x1p-13f of an odd multiple of
45858         pi/4.
45859         * math/libm-test.inc (tan_test): Do not allow spurious underflow
45860         exception.  Add more tests.
45861         * sysdeps/i386/fpu/libm-test-ulps: Update.
45863         [BZ #6778]
45864         * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
45865         inputs and return -1 for them.  Do not check for +Inf in case not
45866         reachable for +Inf.
45867         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
45868         * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
45869         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
45870         and return -1 for them.  Do not check for +Inf in case not
45871         reachable for +Inf.
45872         * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
45873         define.
45874         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
45875         and return -1 for them.  Do not check for +Inf in case not
45876         reachable for +Inf.
45877         * math/libm-test.inc (expm1_test): Add more tests.  Do not allow
45878         spurious underflow.
45879         * sysdeps/i386/fpu/libm-test-ulps: Update.
45880         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45882 2012-07-06  Mike Frysinger  <vapier@gentoo.org>
45884         * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
45886 2012-07-05  Joseph Myers  <joseph@codesourcery.com>
45888         [BZ #14157]
45889         [BZ #14331]
45890         * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
45891         could result in spurious underflow.  Scale down values above
45892         DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
45893         * math/s_csqrtf.c (__csqrtf): Likewise.
45894         * math/s_csqrtl.c (__csqrtl): Likewise.
45895         * math/libm-test.inc (csqrt_test): Add more tests.  Do not allow
45896         spurious underflow.
45897         * sysdeps/i386/fpu/libm-test-ulps: Update.
45898         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45900 2012-07-04  Andreas Schwab  <schwab@linux-m68k.org>
45902         * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
45903         xopen-msg.sed.
45904         * catgets/xopen-msg.awk: New file.
45905         * catgets/xopen-msg.sed: Removed.
45907         * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
45908         po2text.sed.
45909         * intl/po2test.awk: New file.
45910         * intl/po2test.sed: Removed.
45912 2012-07-04  Joseph Myers  <joseph@codesourcery.com>
45914         [BZ #14328]
45915         * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
45916         or multiply small sinh result by itself.
45917         * math/s_ctanf.c (__ctanf): Likewise.
45918         * math/s_ctanh.c (__ctanh): Likewise.
45919         * math/s_ctanhf.c (__ctanhf): Likewise.
45920         * math/s_ctanhl.c (__ctanhl): Likewise.
45921         * math/s_ctanl.c (__ctanl): Likewise.
45922         * math/libm-test.inc (ctan_test_tonearest): New function.
45923         (ctan_test_towardzero): Likewise.
45924         (ctan_test_downward): Likewise.
45925         (ctan_test_upward): Likewise.
45926         (ctanh_test_tonearest): Likewise.
45927         (ctanh_test_towardzero): Likewise.
45928         (ctanh_test_downward): Likewise.
45929         (ctanh_test_upward): Likewise.
45930         (main): Call these new functions.
45931         * sysdeps/i386/fpu/libm-test-ulps: Update.
45932         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45934 2012-07-03  Mike Frysinger  <vapier@gentoo.org>
45936         * .gitignore: Delete /ports entry.
45938 2012-07-03  Andreas Jaeger  <aj@suse.de>
45940         * po/bg.po: Update from translation team.
45941         * po/cs.po: Likewise.
45942         * po/de.po: Likewise.
45943         * po/hr.po: Likewise.
45944         * po/nl.pl: Likewise.
45945         * po/pl.po: Likewise.
45946         * po/vi.po: Likewise.
45948 2012-07-03  Joseph Myers  <joseph@codesourcery.com>
45950         * Makeconfig [!+link] (+link-before-libc): New variable.
45951         [!+link] (+link-after-libc): Likewise.
45952         [!+link] (+link-tests): Likewise.
45953         [!+link] (+link): Define in terms of $(+link-before-libc) and
45954         $(+link-after-libc).
45955         [!+link-static] (+link-static-before-libc): New variable.
45956         [!+link-static] (+link-static-after-libc): Likewise.
45957         [!+link-static] (+link-static-tests): Likewise.
45958         [!+link-static] (+link-static): Define in terms of
45959         $(+link-static-before-libc) and $(+link-static-after-libc).
45960         [build-shared] (link-libc-before-gnulib): New variable.
45961         [build-shared] (link-libc-tests): Likewise.
45962         [build-shared] (link-libc): Define in terms of
45963         $(link-libc-before-gnulib).
45964         [!build-shared] (link-libc-tests): New variable.
45965         (link-libc-static-tests): New variable.
45966         [!gnulib] (gnulib-arch): New variable.
45967         [!gnulib] (gnulib-tests): Likewise.
45968         [!gnulib] (static-gnulib-arch): Likewise.
45969         [!gnulib] (static-gnulib-tests): Likewise.
45970         [!gnulib] (gnulib): Use $(gnulib-arch).  Do not use $(libgcc_eh).
45971         Define with "=" instead of ":=".
45972         [!gnulib] (static-gnulib): Use $(static-gnulib-arch).  Do not use
45973         -lgcc_eh $(libunwind).  Define with "=" instead of ":=".
45974         * Rules (binaries-all-notests): New variable.
45975         (binaries-all-tests): Likewise.
45976         (binaries-static-notests): Likewise.
45977         (binaries-static-tests): Likewise.
45978         (binaries-all): Define using $(binaries-all-notests) and
45979         $(binaries-all-tests).
45980         (binaries-static): Define using $(binaries-static-notests) and
45981         $(binaries-static-tests).
45982         (binaries-shared-tests): New variable.
45983         (binaries-shared-notests): Likewise.
45984         (binaries-shared): Remove variable.
45985         ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
45986         ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
45987         ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
45988         ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
45989         ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
45990         ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
45991         * elf/Makefile (sln-modules): New variable.
45992         (extra-objs): Add $(sln-modules:=.o).
45993         (ldconfig-modules): Add static-stubs.
45994         ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
45995         * elf/static-stubs.c: New file.
45997         [BZ #14283]
45998         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
45999         by 7 not 8 to examine high bit of fractional part.  Use volatile
46000         variables when splitting into final array of floats if
46001         __FLT_EVAL_METHOD__ != 0.
46002         * math/libm-test.inc (cos_test): Add another test.
46003         (sin_test): Likewise.
46004         * sysdeps/i386/fpu/libm-test-ulps: Update.
46006         [BZ #14273]
46007         * math/libm-test.inc (cosh_test): Add more tests.
46009         * version.h (RELEASE): Set to "development".
46010         (VERSION): Set to "2.16.90".
46012 2012-06-30  Carlos O'Donell  <carlos_odonell@mentor.com>
46014         * NEWS: Update copyright. Remove last-updated date.
46015         Mention math library bug fixes and timezone data changes.
46016         * README: Mention GNU/Hurd, x32, and HPPA support status.
46018 2012-06-28  Thomas Schwinge  <thomas@codesourcery.com>
46020         * manual/contrib.texi (Contributors): Sort alphabetically by last name.
46022 2012-06-27  Andreas Jaeger  <aj@suse.de>
46024         * manual/contrib.texi (Contributors): Add Samuel Thibault.
46026 2012-06-25  Andreas Jaeger  <aj@suse.de>
46028         * sysdeps/s390/fpu/libm-test-ulps: Update.
46030 2012-06-23  Andreas Schwab  <schwab@linux-m68k.org>
46031             Thomas Schwinge  <thomas@codesourcery.com>
46033         * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
46034         * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
46035         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
46036         fanotify_mark.
46038 2012-06-23  Thomas Schwinge  <thomas@codesourcery.com>
46040         * sysdeps/mach/start.c: Remove file.
46041         * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
46042         * sysdeps/i386/init-first.c: Fix comment regarding start.S.
46043         * sysdeps/sh/init-first.c: Likewise.
46045         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
46046         registers for frame unwinding purposes, add CFI directives.
46047         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
46048         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
46049         * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
46050         Likewise.
46052         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
46053         __fortify_fail returning.
46054         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
46056         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
46057         sysdeps/sh/____longjmp_chk.S.
46058         * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
46059         on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
46060         * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
46061         (gen-as-const-headers): Append sigaltstack-offsets.sym.
46063         * sysdeps/sh/abort-instr.h: New file.
46064         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
46065         process in case exit returns.
46067         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
46068         initialize the GOT register before use.
46070         * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
46071         calculation of ARGC > 4.
46073         * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
46074         meaningful names to some local labels.
46076 2012-06-22  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
46077             Kaz Kojima  <kkojima@rr.iij4u.or.jp>
46079         * sysdeps/unix/sysv/linux/sh/bits/atomic.h
46080         (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
46081         (__arch_compare_and_exchange_val_16_acq): Likewise.
46082         (__arch_compare_and_exchange_val_32_acq): Likewise.
46083         (atomic_exchange_and_add): Fix gUSA sequence.
46084         (atomic_add): Likewise.
46085         (atomic_add_negative): Likewise.
46086         (atomic_add_zero): Likewise.
46087         (atomic_bit_test_set): Likewise.
46089 2012-06-22  Andreas Schwab  <schwab@redhat.com>
46091         [BZ #13579]
46092         * include/link.h (struct link_map): Add l_free_initfini.
46093         * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
46094         l_initfini.
46095         * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
46096         * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
46097         * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
46098         set.
46100 2012-06-22  Carlos O'Donell  <carlos_odonell@mentor.com>
46102         * configure.in: Use AC_LANG_SOURCE.
46103         * configure: Regenerate.
46105 2012-06-22  Roland McGrath  <roland@hack.frob.com>
46107         * configure.in (libc_cv_localstatedir): New substituted variable.
46108         * configure: Regenerated.
46109         * config.make.in (localstatedir): New variable, substituted from
46110         libc_cv_localstatedir.
46111         * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
46112         * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
46113         ${prefix}/var to /var when we change ${prefix}/etc to /etc.
46114         * sysdeps/gnu/configure: Regenerated.
46116 2012-06-21  Jeff Law  <law@redhat.com>
46118         [BZ #14277]
46119         * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
46120         free.  Simplify list management for _LIBC case.
46122 2012-06-21  Joseph Myers  <joseph@codesourcery.com>
46124         [BZ #14273]
46125         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
46126         Clear sign bit of 64-bit integer value before comparing against
46127         overflow value.
46129         * sysdeps/mach/configure: Regenerated.
46131 2012-06-21  H.J. Lu  <hongjiu.lu@intel.com>
46133         [BZ #14278]
46134         * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
46136 2012-06-21  Jeff Law  <law@redhat.com>
46138         [BZ #13882]
46139         * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection.  Use
46140         uint16_t for elements in the "seen" array to avoid char overflows.
46141         * elf/dl-fini.c (_dl_sort_fini): Likewise.
46142         * elf/dl-open.c (dl_open_worker): Likewise.
46144 2012-06-21  Carlos O'Donell  <carlos_odonell@mentor.com>
46146         * scripts/list-sources.sh: Scan PORTS for translations.
46147         * po/libc.pot: Regenerated.
46149 2012-06-21  Andreas Jaeger  <aj@suse.de>
46151         [BZ #12194]
46152         * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
46153         warning.
46154         * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
46155         * bits/byteswap-16.h (__bswap_16): Likewise.
46156         * bits/byteswap.h (__bswap_constant_16): Likewise.
46158 2012-06-18  H.J. Lu  <hongjiu.lu@intel.com>
46160         [BZ #14117]
46161         * sysdeps/i386/fpu_control.h: Removed.
46162         * sysdeps/x86_64/fpu_control.h: Moved to ...
46163         * sysdeps/x86/fpu_control.h: Here.
46165         * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
46166         (_FPU_SETCW): Likewise.
46168 2012-06-15  H.J. Lu  <hongjiu.lu@intel.com>
46170         [BZ #14117]
46171         * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
46172         * sysdeps/x86/fpu/bits/mathinline.h: This.
46173         * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
46175         [BZ #14050]
46176         [BZ #14117]
46177         * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
46178         functions if __x86_64__ is defined.
46180 2012-06-15  Chung-Lin Tang  <cltang@codesourcery.com>
46182         * string/endian.h: Add !__ASSEMBLER__ condition for including
46183         conversion interfaces.
46185 2012-06-15  Joseph Myers  <joseph@codesourcery.com>
46187         [BZ #14241]
46188         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
46189         of ABS(x) in calculating zero to negative powers other than odd
46190         integers.
46191         * math/libm-test.inc (pow_test): Add more tests.
46193 2012-06-15  Andreas Jaeger  <aj@suse.de>
46195         * manual/contrib.texi (Contributors): Update entry of Liubov
46196         Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
46197         Machado Filho.
46199 2012-06-15  Cyril Hrubis  <metan@ucw.cz>
46201         * string/string.h: Add __wur to GNU version of strerror_r.
46203 2012-06-14  H.J. Lu  <hongjiu.lu@intel.com>
46205         [BZ #14229]
46206         * string/Makefile (tests): Add tst-strtok_r.
46207         * string/tst-strtok_r.c: New file.
46208         * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
46209         RAX_LP/RDX_LP on SAVE_PTR.
46211 2012-06-14  Roland McGrath  <roland@hack.frob.com>
46213         * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
46215 2012-06-14  Joseph Myers  <joseph@codesourcery.com>
46217         * libm_test.inc (csqrt_test): Allow more spurious underflow
46218         exceptions.
46219         (j0_test): Likewise.
46220         (j1_test): Likewise.
46221         (y0_test): Likewise.
46222         (y1_test): Likewise.
46224 2012-06-13  Carlos O'Donell  <carlos_odonell@mentor.com>
46226         * po/Makefile (libc.pot): Use UTF-8 charset.
46228 2012-06-13  Paul Pluzhnikov  <ppluzhnikov@google.com>
46230         [BZ #14210]
46231         Suppress sign-conversion warning from FD_SET.
46232         See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
46233         * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
46234         not unsigned long int.
46235         * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
46237 2012-06-12  H.J. Lu  <hongjiu.lu@intel.com>
46239         [BZ #14050]
46240         [BZ #14117]
46241         * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
46242         __extern_always_inline instead of __extern_inline.
46243         (__signbitf): Support __SSE2_MATH__ and C++ namespace.
46244         (__signbit): Likewise.
46245         (__signbitl): Support C++ namespace.
46246         (lrintf): New inline function.
46247         (lrint): Likewise.
46248         (llrintf): Likewise.
46249         (llrint): Likewise.
46250         (fmaxf): Likewise.
46251         (fmax): Likewise.
46252         (fminf): Likewise.
46253         (fmin): Likewise.
46254         (rint): Likewise.
46255         (rintf): Likewise.
46256         (ceil): Likewise.
46257         (ceilf): Likewise.
46258         (floor): Likewise.
46259         (floorf): Likewise.
46260         (nearbyint): Likewise.
46261         (nearbyintf): Likewise.
46263 2012-06-12  Thomas Schwinge  <thomas@codesourcery.com>
46265         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
46266         non-default versions.
46268 2012-06-11  Roland McGrath  <roland@hack.frob.com>
46270         [BZ #14218]
46271         * manual/argp.texi (Argp): Reword argp_parse description slightly.
46273 2012-06-09  Thomas Schwinge  <thomas@codesourcery.com>
46275         * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
46276         (FE_UPWARD, FE_DOWNWARD): Don't define.
46277         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
46278         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
46280         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
46281         reading it.
46282         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
46283         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
46285 2012-06-09  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
46287         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
46288         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
46289         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
46290         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
46292 2012-06-06  H.J. Lu  <hongjiu.lu@intel.com>
46294         [BZ #14117]
46295         * sysdeps/i386/fpu/bits/fenv.h: Removed.
46296         * sysdeps/i386/fpu/Implies: New file.
46297         * sysdeps/x86_64/fpu/Implies: Likewise.
46298         * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
46299         * sysdeps/x86/fpu/bits/fenv.h: This.
46301         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
46302         __SSE_MATH__.
46304 2012-06-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
46306         [BZ #14134]
46307         * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
46308         character 0xffff that matches the last element of the
46309         conversion table.
46311 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
46313         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
46314         fmodl commit.
46316 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
46318         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
46319         values higher than 25.6283.
46321 2012-06-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
46323         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
46324         subnormal exponent extraction and add some __builtin_expect.
46325         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
46326         Fix for subnormal mantissa calculation.
46328 2012-06-04  Mike Frysinger  <vapier@gentoo.org>
46330         * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
46331         cpu2 is -1 and errno is not ENOSYS.
46333 2012-06-04  H.J. Lu  <hongjiu.lu@intel.com>
46335         [BZ #14117]
46336         * sysdeps/i386/i486/bits/string.h: Renamed to ...
46337         * sysdeps/x86/bits/string.h: This.
46338         * sysdeps/x86_64/bits/string.h: Removed.
46340         * sysdeps/i386/i486/bits/string.h: Define inline functions only
46341         if not compiling for x86-64, but compiling for >= i486.
46343         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
46344         * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
46346         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
46347         New macro from Linux kernel 3.4.0.
46348         (FP_XSTATE_MAGIC2): Likewise.
46349         (FP_XSTATE_MAGIC2_SIZE): Likewise.
46350         (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
46351         (struct _fpx_sw_bytes): New struct.
46352         (struct _xsave_hdr): Likewise.
46353         (struct _ymmh_state): Likewise.
46354         (struct _xstate): Likewise.
46356         * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
46357         * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
46358         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
46359         * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
46360         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
46361         * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
46363         * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
46364         * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
46365         * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
46366         * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
46367         * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
46368         * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
46370 2012-06-04  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
46372         [BZ #13743]
46373         * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
46374         * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
46375         (sysdep_headers): Include sys/platform/ppc.h.
46376         * sysdeps/powerpc/test-gettimebase.c: Test for
46377         __ppc_get_timebase() to catch future ISA opcode/insn changes.
46378         * manual/Makefile (appendices): Include platform.texi.
46379         * manual/contrib.texi (Contributors): Update @node pointers.
46380         * manual/maint.texi (Maintenance): Likewise.
46381         (Platform): New node.
46382         * manual/platform.texi: New file.  Document the new features.
46384 2012-06-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
46385             Jakub Jelinek  <jakub@redhat.com>
46387         [BZ #14188]
46388         * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
46389         where __builtin_expect is unavailable.
46391 2012-06-03  David S. Miller  <davem@davemloft.net>
46393         * stdlib/longlong.h: Updated from GCC.
46395 2012-06-02  Andreas Schwab  <schwab@linux-m68k.org>
46397         [BZ #14042]
46398         * sysdeps/powerpc/powerpc32/mcount.c: New file.
46399         * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
46400         __mcount_internal.
46401         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
46402         (GLIBC_2.16): Likewise.
46404 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
46406         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
46408 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
46410         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
46411         (default-abi): New variable.
46412         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
46413         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
46414         variable.
46415         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
46416         Likewise.
46417         * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
46418         Likewise.
46419         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
46420         Likewise.
46422         * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
46423         definition.  Document in comment.
46425 2012-06-01  David S. Miller  <davem@davemloft.net>
46427         * stdlib/longlong.h: Updated from GCC.
46429 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
46431         [BZ #14117]
46432         * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
46433         Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
46434         sys/debugreg.h sys/io.h here.
46435         * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
46436         sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
46437         sys/io.h.
46438         * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
46439         Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
46440         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
46441         * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
46442         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
46443         * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
46445         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
46446         Define only if __x86_64__ is defined.
46448 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
46450         [BZ #14048]
46451         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
46452         Use int64_t for variable i.
46453         * math/libm-test.inc (fmod_test): Add more tests.
46455         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
46456         z computation is not scheduled after fetestexcept.
46457         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
46458         Use math_force_eval instead of asm to ensure calculation scheduled
46459         before exception test.
46460         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
46461         Ensure a1 + u.d computation is not scheduled after fetestexcept.
46463 2012-06-01  Aurelien Jarno  <aurelien@aurel32.net>
46465         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
46466         computation is not scheduled after fetestexcept.
46468 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
46470         [BZ #14117]
46471         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
46472         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
46474 2012-06-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
46476         * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
46477         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
46479 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
46481         [BZ #14117]
46482         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
46483         <bits/wordsize.h>.
46484         (__WCHAR_MIN): Support __WORDSIZE == 64.
46485         (__WCHAR_MAX): Likewise.
46487         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
46488         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
46490         [BZ #14183]
46491         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
46492         Defined with __SWORD_TYPE if __x86_64__ isn't defined.
46494         [BZ #14117]
46495         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
46496         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
46498         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
46499         * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
46501         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
46502         Defined to 1 if __x86_64__ isn't defined.
46503         (_STAT_VER_LINUX_OLD): New.
46504         (st_atime): Remove duplicate.
46505         (st_mtime): Likewise.
46506         (st_ctime): Likewise.
46508 2012-05-31  David S. Miller  <davem@davemloft.net>
46510         * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
46511         entries.
46513 2012-06-01  Andreas Schwab  <schwab@linux-m68k.org>
46515         * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
46516         gen-libm-test.pl.
46518         [BZ #14132]
46519         * elf/dl-reloc.c: Include <_itoa.h>.
46520         (_dl_reloc_bad_type): Remove use of INTUSE.
46521         * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
46522         * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
46523         * stdio-common/psiginfo.c (psiginfo): Likewise.
46524         * stdio-common/psignal.c (psignal): Likewise.
46525         * string/strsignal.c (strsignal): Likewise.
46526         * include/signal.h (_sys_siglist): Declare hidden proto.
46527         * stdio-common/itoa-digits.c: Include <_itoa.h>.  Replace
46528         INTVARDEF with libc_hidden_data_def.
46529         * stdio-common/itoa-udigits.c: Likewise.
46530         * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
46531         (_itoa_lower_digits_internal): Remove declaration.
46532         (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
46533         * sysdeps/gnu/siglist.c (_sys_siglist_internal)
46534         (_sys_sigabbrev_internal): Remove aliases.
46535         (_sys_siglist): Define hidden alias.
46537 2012-05-31  Markus Trippelsdorf  <markus@trippelsdorf.de>
46539         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
46540         bits/sysctl.h.
46542 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
46544         [BZ #14117]
46545         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
46546         * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
46548         * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
46549         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
46550         * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
46551         * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
46552         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
46553         * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
46555         * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
46556         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
46557         * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
46559         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
46560         with __addr.
46561         (insw): Likewise.
46562         (insl): Likewise.
46563         (outsb): Likewise.
46564         (outsw): Likewise.
46565         (outsl): Likewise.
46567         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
46568         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
46569         * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
46571         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
46572         * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
46573         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
46574         * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
46575         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
46576         * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
46578         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
46579         * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
46581         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
46582         * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
46584         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
46585         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
46586         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
46588         * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
46589         * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
46590         to ...
46591         * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
46593         * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
46594         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
46595         * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
46597         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
46598         for x86-64.
46599         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
46601 2012-05-31  Joseph Myers  <joseph@codesourcery.com>
46603         * math/math.h (M_El): Use two more decimal places.
46604         (M_LOG2El): Likewise.
46605         (M_LOG10El): Likewise.
46606         (M_LN2l): Likewise.
46607         (M_LN10l): Likewise.
46608         (M_PIl): Likewise.
46609         (M_PI_2l): Likewise.
46610         (M_PI_4l): Likewise.
46611         (M_1_PIl): Likewise.
46612         (M_2_PIl): Likewise.
46613         (M_2_SQRTPIl): Likewise.
46614         (M_SQRT2l): Likewise.
46615         (M_SQRT1_2l): Likewise.
46617 2012-05-31  David S. Miller  <davem@davemloft.net>
46619         * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
46620         values between float registers.
46621         * sysdeps/sparc/sparc64/memset.S: Likewise.
46622         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
46624 2012-05-31  Mike Frysinger  <vapier@gentoo.org>
46626         * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
46627         -D_FORTIFY_SOURCE=1.
46628         (CPPFLAGS-tst-longjmp_chk.c): Define.
46629         (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
46630         (CPPFLAGS-tst-longjmp_chk2.c): Define.
46631         * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
46632         CFLAGS-tst-wchar-h.c.
46634 2012-05-31  Marek Polacek  <polacek@redhat.com>
46636         [BZ #14132]
46637         * include/mntent.h (__setmntent_internal, __getmntent_r_internal
46638         __endmntent_internal): Remove declaration.
46639         (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
46640         (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
46641         * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
46643 2012-05-30  David S. Miller  <davem@davemloft.net>
46645         * sysdeps/sparc/sparc32/soft-fp/q_util.c
46646         (___Q_simulate_exceptions): Use real FP ops rather than writing
46647         into the %fsr.
46648         * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
46649         Likewise.
46651 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
46653         [BZ #14117]
46654         * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
46655         * sysdeps/x86/bits/xtitypes.h: This.
46657         * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
46658         * sysdeps/x86/bits/wordsize.h: This.
46660         * sysdeps/i386/bits/huge_vall.h: Renamed to ...
46661         * sysdeps/x86/bits/huge_vall.h: This.
46663         * sysdeps/i386/bits/select.h: Removed.
46664         * sysdeps/x86_64/bits/select.h: Renamed to ...
46665         * sysdeps/x86/bits/select.h: This.
46667         * sysdeps/i386/bits/setjmp.h: Removed.
46668         * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
46669         * sysdeps/x86/bits/setjmp.h: This.
46671         * sysdeps/i386/bits/mathdef.h: Removed.
46672         * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
46673         * sysdeps/x86/bits/mathdef.h: This.
46675 2012-05-30  Andreas Schwab  <schwab@linux-m68k.org>
46677         [BZ #14132]
46678         * include/sys/socket.h (__connect_internal)
46679         (__libc_sa_len_internal): Remove declaration.
46680         (__connect, __libc_sa_len): Declare hidden_proto.
46681         (SA_LEN): Remove use of INTUSE.
46682         * socket/connect.c: Add libc_hidden_def.
46683         * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
46684         * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
46685         * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
46686         alias.
46687         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
46688         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
46689         * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
46690         of adding _internal alias.
46692 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
46694         [BZ #14117]
46695         * sysdeps/i386/bits/link.h: Removed.
46696         * sysdeps/i386/bits/linkmap.h: Likewise.
46697         * sysdeps/x86_64/bits/link.h: Renamed to ...
46698         * sysdeps/x86/bits/link.h: This.
46699         * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
46700         * sysdeps/x86/bits/linkmap.h: This.
46702         * sysdeps/i386/bits/endian.h: Removed.
46703         * sysdeps/x86_64/bits/endian.h: Renamed to ...
46704         * sysdeps/x86/bits/endian.h: This.
46706         * sysdeps/i386/bits/byteswap.h: Removed.
46707         * sysdeps/i386/bits/byteswap-16.h: Likewise.
46708         * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
46709         * sysdeps/x86/bits/byteswap.h: This.
46710         * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
46711         * sysdeps/x86/bits/byteswap-16.h: This.
46712         * sysdeps/i386/Implies: Add x86.
46713         * sysdeps/x86_64/Implies: Likewise.
46715 2012-05-30  David S. Miller  <davem@davemloft.net>
46717         * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
46718         (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
46719         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
46720         (FP_TRAPPING_EXCEPTIONS): Define.
46721         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
46722         (FP_TRAPPING_EXCEPTIONS): Define.
46723         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
46724         subnormals only when inexact has been signalled or underflow
46725         exceptions are enabled.
46726         (_FP_PACK_CANONICAL): Likewise.
46728 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
46730         [BZ #14183]
46731         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
46732         Defined with __UWORD_TYPE if __x86_64__ isn't defined.
46734 2012-05-30  Richard Henderson  <rth@twiddle.net>
46736         * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
46737         with #ifndef NOT_IN_libc.
46739         * scripts/abilist.awk: Accept 8 fields.  Handle Alpha functions
46740         marked to avoid plt entry.
46742 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
46744         [BZ #14112]
46745         * Makeconfig (default-abi): New macro.
46746         (abi-includes): Likewise.
46747         ($(common-objpfx)soversions.mk): Remove WORDSIZE check.  Use
46748         $(abi-$(default-abi)-lib-soname) for soname if defined.
46749         ($(common-objpfx)gnu/lib-names.stmp): Generate from
46750         abi-variants.
46751         * Makefile (installed-stubs): Likewise.
46752         * include/stubs-biarch.h: Removed.
46753         * scripts/lib-names.awk: Only handle one library at a time.
46754         * scripts/soversions.awk: Remove WORDSIZE support.
46755         * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
46756         entries.
46757         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
46758         Removed.
46759         (syscall-list-default-condition): Likewise.
46760         (syscall-list-default-condition): Likewise.
46761         (syscall-list-includes): Likewise.
46762         ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
46763         syscall-list-* with abi-*.  Handle undefined abi-variants.
46764         * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
46765         * sysdeps/unix/sysv/linux/i386/Implies: New file.
46766         * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
46767         * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
46768         * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
46769         * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
46770         Removed.
46771         (syscall-list-32-options): Likewise.
46772         (syscall-list-32-condition): Likewise.
46773         (syscall-list-64-options): Likewise.
46774         (syscall-list-64-condition): Likewise.
46775         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
46776         macro.
46777         * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
46778         Renamed to ...
46779         (abi-*): This.
46780         (abi-64-ld-soname): New macro.
46781         * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
46782         * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
46783         Renamed to ...
46784         (abi-*): This.
46785         * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
46786         * sysdeps/x86_64/x32/shlib-versions: Likewise.
46788 2012-05-30  Joseph Myers  <joseph@codesourcery.com>
46790         * sysdeps/unix/sysv/linux/kernel-features.h
46791         (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
46792         * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
46793         include <kernel-features.h>.
46794         [!__NR_ftruncate64]: Remove conditional code.
46795         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
46796         [__NR_ftruncate64]: Make code unconditional.
46797         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
46798         * sysdeps/unix/sysv/linux/truncate64.c: Do not
46799         include <kernel-features.h>.
46800         [!__NR_ftruncate64]: Remove conditional code.
46801         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
46802         [__NR_ftruncate64]: Make code unconditional.
46803         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
46804         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
46805         include <kernel-features.h>.
46806         [!__NR_ftruncate64]: Remove conditional code.
46807         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
46808         [__NR_ftruncate64]: Make code unconditional.
46809         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
46810         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
46811         include <kernel-features.h>.
46812         [!__NR_ftruncate64]: Remove conditional code.
46813         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
46814         [__NR_ftruncate64]: Make code unconditional.
46815         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
46817         * configure.in (libc_cv_fpie): Weaken to a compile test using
46818         LIBC_TRY_CC_OPTION.
46819         * configure: Regenerated.
46821 2012-05-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
46823         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
46824         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
46825         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
46826         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
46827         Refreshed.
46828         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
46829         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
46830         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
46831         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
46832         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
46833         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
46834         Refreshed.
46836 2012-05-27  David S. Miller  <davem@davemloft.net>
46838         * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
46839         (___Q_zero): New.
46840         (__Q_simulate_exceptions): Return void.  Change to simulate
46841         exceptions by writing into the %fsr.
46842         * sysdeps/sparc/sparc64/soft-fp/qp_util.c
46843         (__Qp_handle_exceptions): Likewise.
46844         (numbers): Delete.
46845         * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
46846         __Qp_handle_exceptions.
46847         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
46848         __Qp_handle_exceptions.
46849         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
46850         as unused and give dummy FP_RND_NEAREST initializer.
46851         (FP_INHIBIT_RESULTS): Define.
46852         (___Q_simulate_exceptions): Update declaration.
46853         (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
46854         formatting.
46855         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
46856         as unused and give dummy FP_RND_NEAREST initializer.
46857         (__Qp_handle_exceptions): Update declaration.
46858         (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
46859         formatting.
46861 2012-05-27  Thomas Schwinge  <thomas@codesourcery.com>
46863         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
46864         the temporary FPU control word.
46865         * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
46866         * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
46867         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
46868         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
46869         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
46870         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
46871         * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
46872         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
46873         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
46874         * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
46875         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
46877 2012-05-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
46879         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
46880         fields.
46882 2012-05-27  Chung-Lin Tang  <cltang@codesourcery.com>
46884         * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
46885         * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
46886         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
46887         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
46888         Likewise.
46889         * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
46890         * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
46891         Likewise.
46893 2012-05-27  Ulrich Drepper  <drepper@gmail.com>
46895         * po/h.po: Update from translation team.
46897 2012-05-26  Andreas Schwab  <schwab@linux-m68k.org>
46899         * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
46901         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
46902         handling of denormals.
46903         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
46904         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
46905         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
46906         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
46907         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
46908         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
46909         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
46910         Likewise.
46912 2012-05-26  Marek Polacek  <polacek@redhat.com>
46914         [BZ #14152]
46915         * math/libm-test.inc (fma_test): Don't always expect underflow
46916         exception.
46918 2012-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
46920         [BZ #12416]
46921         * elf/tst-execstack.c: Include stackinfo.h.
46922         (do_test): Adjust test case to ensure that pthread_getattr_np
46923         behaviour remains the same after marking stack executable.
46925 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
46927         * sysdeps/unix/sysv/linux/kernel-features.h
46928         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
46929         * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
46930         kernel-features.h.
46931         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
46932         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
46933         * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
46934         kernel-features.h.
46935         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
46936         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
46938 2012-05-25  H.J. Lu  <hongjiu.lu@intel.com>
46940         * configure.in: Define the default includes to being none.
46941         * configure: Regenerated.
46943 2012-05-25  Roland McGrath  <roland@hack.frob.com>
46945         * sysdeps/x86_64/__longjmp.S: Add a static probe here.
46946         * sysdeps/x86_64/setjmp.S: Likewise.
46947         * sysdeps/i386/bsd-setjmp.S: Likewise.
46948         * sysdeps/i386/bsd-_setjmp.S: Likewise.
46949         * sysdeps/i386/setjmp.S: Likewise.
46950         * sysdeps/i386/__longjmp.S: Likewise.
46951         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
46952         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
46954         * include/stap-probe.h: New file.
46955         * configure.in: Handle --enable-systemtap.
46956         * configure: Regenerated.
46957         * config.h.in (USE_STAP_PROBE): New #undef.
46958         * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
46959         * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
46960         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
46962 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
46964         [BZ #13717]
46965         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
46966         to 2.4.0 where earlier.
46967         * sysdeps/unix/sysv/linux/configure: Regenerated.
46968         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
46969         <kernel-features.h>.
46970         [__ASSUME_32BITUIDS]: Make code unconditional.
46971         [!__ASSUME_32BITUIDS]: Remove conditional code.
46972         * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
46973         <kernel-features.h>.
46974         [__ASSUME_32BITUIDS]: Make code unconditional.
46975         [!__ASSUME_32BITUIDS]: Remove conditional code.
46976         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
46977         [__ASSUME_32BITUIDS]: Make code unconditional.
46978         (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
46979         * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
46980         <kernel-features.h>.
46981         [__ASSUME_32BITUIDS]: Make code unconditional.
46982         [!__ASSUME_32BITUIDS]: Remove conditional code.
46983         * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
46984         <kernel-features.h>.
46985         [__ASSUME_32BITUIDS]: Make code unconditional.
46986         [!__ASSUME_32BITUIDS]: Remove conditional code.
46987         * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
46988         <kernel-features.h>.
46989         [__ASSUME_32BITUIDS]: Make code unconditional.
46990         [!__ASSUME_32BITUIDS]: Remove conditional code.
46991         * sysdeps/unix/sysv/linux/i386/getgroups.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/getresgid.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/getresuid.c: Do not include
47000         <kernel-features.h>.
47001         [__ASSUME_32BITUIDS]: Make code unconditional.
47002         [!__ASSUME_32BITUIDS]: Remove conditional code.
47003         * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
47004         <kernel-features.h>.
47005         [__ASSUME_32BITUIDS]: Make code unconditional.
47006         [!__ASSUME_32BITUIDS]: Remove conditional code.
47007         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
47008         <kernel-features.h>.
47009         [__ASSUME_32BITUIDS]: Make code unconditional.
47010         [!__ASSUME_32BITUIDS]: Remove conditional code.
47011         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
47012         <kernel-features.h>.
47013         [__ASSUME_32BITUIDS]: Make code unconditional.
47014         [!__ASSUME_32BITUIDS]: Remove conditional code.
47015         * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
47016         <kernel-features.h>.
47017         [__ASSUME_32BITUIDS]: Make code unconditional.
47018         [!__ASSUME_32BITUIDS]: Remove conditional code.
47019         * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
47020         <kernel-features.h>.
47021         [__NR_setresgid] (__setresgid): Do not declare.
47022         [__ASSUME_32BITUIDS]: Make code unconditional.
47023         [!__ASSUME_32BITUIDS]: Remove conditional code.
47024         * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
47025         <kernel-features.h>.
47026         [__NR_setresuid] (__setresuid): Do not declare.
47027         [__ASSUME_32BITUIDS]: Make code unconditional.
47028         [!__ASSUME_32BITUIDS]: Remove conditional code.
47029         * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
47030         <kernel-features.h>.
47031         [__ASSUME_32BITUIDS]: Make code unconditional.
47032         [!__ASSUME_32BITUIDS]: Remove conditional code.
47033         * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
47034         <kernel-features.h>.
47035         [__ASSUME_32BITUIDS]: Make code unconditional.
47036         [!__ASSUME_32BITUIDS]: Remove conditional code.
47037         * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
47038         <kernel-features.h>.
47039         [__ASSUME_32BITUIDS]: Make code unconditional.
47040         [!__ASSUME_32BITUIDS]: Remove conditional code.
47041         * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
47042         <kernel-features.h>.
47043         [__ASSUME_32BITUIDS]: Make code unconditional.
47044         [!__ASSUME_32BITUIDS]: Remove conditional code.
47045         * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
47046         <kernel-features.h>.
47047         [__ASSUME_32BITUIDS]: Make code unconditional.
47048         [!__ASSUME_32BITUIDS]: Remove conditional code.
47049         * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
47050         <kernel-features.h>.
47051         [__ASSUME_32BITUIDS]: Make code unconditional.
47052         [!__ASSUME_32BITUIDS]: Remove conditional code.
47053         * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
47054         <kernel-features.h>.
47055         [__ASSUME_32BITUIDS]: Make code unconditional.
47056         [!__ASSUME_32BITUIDS]: Remove conditional code.
47057         * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
47058         <kernel-features.h>.
47059         [__ASSUME_32BITUIDS]: Make code unconditional.
47060         [!__ASSUME_32BITUIDS]: Remove conditional code.
47061         * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
47062         <kernel-features.h>.
47063         [__ASSUME_32BITUIDS]: Make code unconditional.
47064         [!__ASSUME_32BITUIDS]: Remove conditional code.
47065         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
47066         <kernel-features.h>.
47067         [__ASSUME_32BITUIDS]: Make code unconditional.
47068         [!__ASSUME_32BITUIDS]: Remove conditional code.
47069         * sysdeps/unix/sysv/linux/kernel-features.h
47070         (__ASSUME_SETRESUID_SYSCALL): Remove.
47071         (__ASSUME_SETRESGID_SYSCALL): Likewise.
47072         (__ASSUME_32BITUIDS): Likewise.
47073         (__ASSUME_LDT_WORKS): Likewise.
47074         (__ASSUME_O_DIRECTORY): Likewise.
47075         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
47076         architecture but not kernel version.
47077         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
47078         (__ASSUME_MMAP2_SYSCALL): Likewise.
47079         (__ASSUME_STAT64_SYSCALL): Likewise.
47080         (__ASSUME_IPC64): Likewise.
47081         * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
47082         <kernel-features.h>.
47083         [__ASSUME_32BITUIDS]: Make code unconditional.
47084         [!__ASSUME_32BITUIDS]: Remove conditional code.
47085         * sysdeps/unix/sysv/linux/opendir.c: Do not include
47086         <kernel-features.h>.
47087         [__ASSUME_O_DIRECTORY]: Make code unconditional.
47088         * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
47089         132096]: Remove conditional code.
47090         [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
47091         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
47092         <kernel-features.h>.
47093         [__ASSUME_32BITUIDS]: Make code unconditional.
47094         [!__ASSUME_32BITUIDS]: Remove conditional code.
47095         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
47096         <kernel-features.h>.
47097         [__ASSUME_32BITUIDS]: Make code unconditional.
47098         [!__ASSUME_32BITUIDS]: Remove conditional code.
47099         * sysdeps/unix/sysv/linux/setegid.c: Do not include
47100         <kernel-features.h>.
47101         [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
47102         unconditional.
47103         (__setresgid): Do not declare.
47104         [__ASSUME_32BITUIDS]: Make code unconditional.
47105         [!__ASSUME_32BITUIDS]: Remove conditional code.
47106         * sysdeps/unix/sysv/linux/seteuid.c: Do not include
47107         <kernel-features.h>.
47108         [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
47109         unconditional.
47110         (__setresuid): Do not declare.
47111         [__ASSUME_32BITUIDS]: Make code unconditional.
47112         [!__ASSUME_32BITUIDS]: Remove conditional code.
47113         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
47114         <kernel-features.h>.
47115         [__ASSUME_32BITUIDS]: Make code unconditional.
47116         [!__ASSUME_32BITUIDS]: Remove conditional code.
47117         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
47118         <kernel-features.h>.
47119         [__ASSUME_32BITUIDS]: Make code unconditional.
47120         [!__ASSUME_32BITUIDS]: Remove conditional code.
47122 2012-05-25  Richard Henderson  <rth@twiddle.net>
47124         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
47125         dl_hwcap to ifunc resolver.
47126         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
47127         elf_ifunc_invoke.
47128         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
47129         dl_hwcap to ifunc resolver.
47130         * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
47132 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
47134         [BZ #14153]
47135         * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
47136         for |x| <= 2**-26, not 2**-57.
47137         * math/libm-test.inc (acos_test): Do not allow spurious underflow
47138         exception.
47140 2012-05-24  Jeff Law  <law@redhat.com>
47142         * stdio-common/Makefile (tests): Add bug25.
47143         * stdio-common/bug25.c: New test.
47145 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
47147         [BZ #13576]
47148         * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
47149         multiple of MALLOC_ALIGNMENT in size.
47150         (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
47152 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
47154         * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
47155         Require >= 256.
47156         (FILENAME_MAX): Use macro-int-constant.
47157         (FOPEN_MAX): Use macro-int-constant.  Require >= 8.
47158         (_IOFBF): Use macro-int-constant.
47159         (_IOLBF): Likewise.
47160         (_IONBF): Likewise.
47161         (SEEK_CUR): Likewise.
47162         (SEEK_END): Likewise.
47163         (SEEK_SET): Likewise.
47164         (TMP_MAX): Likewise.
47165         (EOF): Use macro-int-constant.  Require < 0.
47166         (NULL): Use macro-constant.  Require == 0.
47167         (stdin): Require type to be FILE *.
47168         (stdout): Likewise.
47169         (stderr): Likewise.
47170         * conform/data/stdlib.h-data (EXIT_FAILURE): Use
47171         macro-int-constant.
47172         (EXIT_SUCCESS): Likewise.
47173         (NULL): Use macro-constant.  Require == 0.
47174         (RAND_MAX): Use macro-int-constant.
47175         [ISO99 || ISO11] (lldiv_t): Require also for these standards.
47176         [C99-based standards] (strtof): Require function.
47177         [C99-based standards] (strtold): Likewise.
47178         [C99-based standards] (strtoll): Likewise.
47179         [C99-based standards] (strtoull): Likewise.
47180         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
47181         [ISO || ISO99 || ISO11] (limits.h): Likewise.
47182         [ISO || ISO99 || ISO11] (math.h): Likewise.
47183         [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
47184         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
47185         [ISO || ISO99 || ISO11] (*_t): Do not allow.
47187 2012-05-24  Andreas Schwab  <schwab@linux-m68k.org>
47189         [BZ #14132]
47190         * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
47191         * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
47192         * intl/dgettext.c (DCGETTEXT): Likewise.
47193         * intl/gettext.c (DCGETTEXT): Likewise.
47194         * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
47195         * posix/regex_internal.h (gettext): Likewise.
47196         * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
47197         Remove declaration.
47198         * include/argz.h (__argz_count_internal)
47199         (__argz_stringify_internal): Remove declaration.
47200         (__argz_count, __argz_stringify): Declare hidden proto.
47201         * intl/dcgettext.c: Remove use of INTDEF.
47202         * string/argz-count.c: Replace INTDEF with libc_hidden_def.
47203         * string/argz-stringify.c: Likewise.
47204         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
47205         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
47206         Declare hidden proto.
47207         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
47208         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
47209         Declare hidden proto.
47210         * include/stdio.h (__asprintf_internal): Don't declare.
47211         (__asprintf): Don't define as macro.  Declare hidden proto.
47212         * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
47213         (__fsetlocking): Declare hidden proto.
47214         * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
47215         (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
47216         hidden proto.
47217         (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
47218         (_IO_setlinebuf): Remove use of INTUSE.
47219         (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
47220         (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
47221         (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
47222         Remove declaration.
47223         * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
47224         (_IO_do_flush): Remove use of INTUSE.
47225         (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
47226         (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
47227         (_IO_adjust_column, _IO_least_wmarker)
47228         (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
47229         (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
47230         (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
47231         (_IO_default_doallocate, _IO_wdefault_doallocate)
47232         (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
47233         (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
47234         (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
47235         (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
47236         (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
47237         (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
47238         (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
47239         (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
47240         (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
47241         (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
47242         (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
47243         (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
47244         (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
47245         proto.
47246         (_IO_flush_all_internal, _IO_adjust_column_internal)
47247         (_IO_default_uflow_internal, _IO_default_finish_internal)
47248         (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
47249         (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
47250         (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
47251         (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
47252         (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
47253         (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
47254         (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
47255         (_IO_file_xsgetn_internal, _IO_file_stat_internal)
47256         (_IO_file_close_internal, _IO_file_close_it_internal)
47257         (_IO_file_underflow_internal, _IO_file_overflow_internal)
47258         (_IO_file_init_internal, _IO_file_attach_internal)
47259         (_IO_file_fopen_internal, _IO_file_read_internal)
47260         (_IO_file_sync_internal, _IO_file_seek_internal)
47261         (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
47262         (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
47263         (_IO_str_underflow_internal, _IO_str_overflow_internal)
47264         (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
47265         (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
47266         (_IO_list_all_internal, _IO_link_in_internal)
47267         (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
47268         (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
47269         (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
47270         (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
47271         (_IO_do_write_internal, _IO_padn_internal)
47272         (_IO_getline_info_internal, _IO_getline_internal)
47273         (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
47274         (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
47275         (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
47276         (_IO_vfscanf_internal, _IO_vfprintf_internal)
47277         (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
47278         (_IO_init_internal, _IO_un_link_internal): Don't declare.
47279         * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
47280         with libc_hidden_ver, remove use of INTUSE.
47281         * libio/genops.c: Likewise.
47282         * libio/freopen.c: Likewise.
47283         * libio/freopen64.c: Likewise.
47284         * libio/iofclose.c: Likewise.
47285         * libio/iofdopen.c: Likewise.
47286         * libio/iofflush.c: Likewise.
47287         * libio/iofflush_u.c: Likewise.
47288         * libio/iofgets.c: Likewise.
47289         * libio/iofgets_u.c: Likewise.
47290         * libio/iofopen.c: Likewise.
47291         * libio/iofopncook.c: Likewise.
47292         * libio/iofread.c: Likewise.
47293         * libio/iofread_u.c: Likewise.
47294         * libio/ioftell.c: Likewise.
47295         * libio/iofwrite.c: Likewise.
47296         * libio/iogetline.c: Likewise.
47297         * libio/iogets.c: Likewise.
47298         * libio/iogetwline.c: Likewise.
47299         * libio/iopadn.c: Likewise.
47300         * libio/iopopen.c: Likewise.
47301         * libio/ioseekoff.c: Likewise.
47302         * libio/ioseekpos.c: Likewise.
47303         * libio/iosetbuffer.c: Likewise.
47304         * libio/iosetvbuf.c: Likewise.
47305         * libio/ioungetc.c: Likewise.
47306         * libio/ioungetwc.c: Likewise.
47307         * libio/iovdprintf.c: Likewise.
47308         * libio/iovsprintf.c: Likewise.
47309         * libio/iovsscanf.c: Likewise.
47310         * libio/memstream.c: Likewise.
47311         * libio/obprintf.c: Likewise.
47312         * libio/oldfileops.c: Likewise.
47313         * libio/oldiofclose.c: Likewise.
47314         * libio/oldiofdopen.c: Likewise.
47315         * libio/oldiofopen.c: Likewise.
47316         * libio/oldiopopen.c: Likewise.
47317         * libio/oldstdfiles.c: Likewise.
47318         * libio/putc.c: Likewise.
47319         * libio/setbuf.c: Likewise.
47320         * libio/setlinebuf.c: Likewise.
47321         * libio/stdfiles.c: Likewise.
47322         * libio/strops.c: Likewise.
47323         * libio/vasprintf.c: Likewise.
47324         * libio/vscanf.c: Likewise.
47325         * libio/vsnprintf.c: Likewise.
47326         * libio/vswprintf.c: Likewise.
47327         * libio/wfiledoalloc.c: Likewise.
47328         * libio/wfileops.c: Likewise.
47329         * libio/wgenops.c: Likewise.
47330         * libio/wmemstream.c: Likewise.
47331         * libio/wstrops.c: Likewise.
47332         * libio/__fpurge.c: Likewise.
47333         * libio/__fsetlocking.c: Likewise.
47334         * assert/assert.c: Likewise.
47335         * debug/fgets_chk.c: Likewise.
47336         * debug/fgets_u_chk.c: Likewise.
47337         * debug/fread_chk.c: Likewise.
47338         * debug/fread_u_chk.c: Likewise.
47339         * debug/gets_chk.c: Likewise.
47340         * debug/obprintf_chk.c: Likewise.
47341         * debug/vasprintf_chk.c: Likewise.
47342         * debug/vdprintf_chk.c: Likewise.
47343         * debug/vsnprintf_chk.c: Likewise.
47344         * debug/vsprintf_chk.c: Likewise.
47345         * malloc/mtrace.c: Likewise.
47346         * misc/error.c: Likewise.
47347         * misc/syslog.c: Likewise.
47348         * stdio-common/asprintf.c: Likewise.
47349         * stdio-common/fxprintf.c: Likewise.
47350         * stdio-common/getw.c: Likewise.
47351         * stdio-common/isoc99_fscanf.c: Likewise.
47352         * stdio-common/isoc99_scanf.c: Likewise.
47353         * stdio-common/isoc99_vfscanf.c: Likewise.
47354         * stdio-common/isoc99_vscanf.c: Likewise.
47355         * stdio-common/isoc99_vsscanf.c: Likewise.
47356         * stdio-common/printf-prs.c: Likewise.
47357         * stdio-common/printf_fp.c: Likewise.
47358         * stdio-common/printf_fphex.c: Likewise.
47359         * stdio-common/printf_size.c: Likewise.
47360         * stdio-common/putw.c: Likewise.
47361         * stdio-common/scanf.c: Likewise.
47362         * stdio-common/sprintf.c: Likewise.
47363         * stdio-common/tmpfile.c: Likewise.
47364         * stdio-common/vfprintf.c: Likewise.
47365         * stdio-common/vfscanf.c: Likewise.
47366         * stdlib/strfmon_l.c: Likewise.
47367         * sunrpc/openchild.c: Likewise.
47368         * sunrpc/xdr_stdio.c: Likewise.
47369         * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
47370         * sysdeps/mach/hurd/tmpfile.c: Likewise.
47372 2012-05-24  Roland McGrath  <roland@hack.frob.com>
47374         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
47376         * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
47377         in the third column, to generate for the shared library an IFUNC
47378         that uses _dl_vdso_vsym.
47379         * Makerules (COMPILE.c, compile-stdin.c): New variables.
47380         * Makeconfig (object-suffixes-noshared): New variable.
47382         * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
47383         (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
47384         (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
47385         (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
47387         [BZ #14132]
47388         * include/sys/time.h (__gettimeofday): Remove macro.
47389         (__gettimeofday, gettimeofday): Add libc_hidden_proto.
47390         * time/gettimeofday.c (__gettimeofday): Remove #undef.
47391         Remove INTDEF.
47392         (__gettimeofday): Add libc_hidden_def.
47393         (gettimeofday): Add libc_hidden_weak.
47394         * sysdeps/mach/gettimeofday.c: Likewise.
47395         * sysdeps/posix/gettimeofday.c: Likewise.
47396         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
47397         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
47398         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
47399         (__gettimeofday_internal): Remove strong_alias.
47400         (__gettimeofday): Add libc_hidden_def.
47401         (gettimeofday): Add libc_hidden_weak.
47402         * sysdeps/unix/syscalls.list (gettimeofday):
47403         Remove __gettimeofday_internal alias.
47405 2012-05-24  Daniel Jacobowitz  <drow@false.org>
47406             H.J. Lu  <hongjiu.lu@intel.com>
47408         [BZ #12495]
47409         * malloc/malloc.c (SMALLBIN_CORRECTION): New.
47410         (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
47411         (largebin_index_32_big): New.
47412         (largebin_index): Use it for 16-byte alignment.
47413         (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ.  Don't update
47414         correction with front_misalign.
47416 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
47418         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
47419         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
47420         Likewise.
47421         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
47422         Likewise.
47423         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
47424         Likewise.
47425         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
47426         Likewise.
47427         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
47428         Likewise.
47429         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
47430         Likewise.
47431         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
47432         Likewise.
47433         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
47434         Likewise.
47435         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
47436         Likewise.
47437         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
47438         Likewise.
47439         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
47440         Likewise.
47441         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
47442         Likewise.
47444         * scripts/data/c++-types-x32-linux-gnu.data: New file.
47445         * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
47447 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
47449         [BZ #10846]
47450         [BZ #14036]
47451         * math/libm-test.inc (exp_test): Add test from bug 14036.
47452         (pow_test): Add test from bug 10846.
47454         * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
47455         and other flags.
47456         (special_function): Do not include flags in test name.
47457         (parse_args): Likewise.
47458         * sysdeps/i386/fpu/libm-test-ulps: Update.
47459         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
47460         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
47461         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
47462         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47464         * math/gen-libm-test.pl (%beautify): Add entries for underflow
47465         exceptions.
47466         * math/libm-test.inc ("Philosophy"): Update comment about
47467         exception testing.
47468         (UNDERFLOW_EXCEPTION): New macro.
47469         (UNDERFLOW_EXCEPTION_OK): Likewise.
47470         (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
47471         (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
47472         (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
47473         (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
47474         (INVALID_EXCEPTION_OK): Update value.
47475         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
47476         (OVERFLOW_EXCEPTION_OK): Likewise.
47477         (IGNORE_ZERO_INF_SIGN): Likewise.
47478         (test_exceptions): Handle underflow exceptions.
47479         (acos_test): Update for underflow exception expectations.
47480         (cexp_test): Likewise.
47481         (clog_test): Likewise.
47482         (clog10_test): Likewise.
47483         (csqrt_test): Likewise.
47484         (ctan_test): Likewise.
47485         (ctanh_test): Likewise.
47486         (exp_test): Likewise.
47487         (exp10_test): Likewise.
47488         (exp2_test): Likewise.
47489         (expm1_test): Likewise.
47490         (fma_test): Likewise.
47491         (j0_test): Likewise.
47492         (jn_test): Likewise.
47493         (nexttoward_test): Likewise.
47494         (pow_test): Likewise.
47495         (scalbn_test): Likewise.
47496         (scalbln_test): Likewise.
47497         (tan_test): Likewise.
47498         (y1_test): Likewise.
47499         * sysdeps/i386/fpu/libm-test-ulps: Update.
47500         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47502 2012-05-23  David S. Miller  <davem@davemloft.net>
47504         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
47505         (__libc_sigaction): Remove unused local variables.
47507 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
47509         * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
47511 2012-05-23  Paul Eggert  <eggert@cs.ucla.edu>
47513         mktime: avoid signed integer overflow
47514         * time/mktime.c (__mktime_internal): Do not mishandle the case
47515         where diff == INT_MIN.
47517         mktime: simplify computation of average
47518         * time/mktime.c (ranged_convert): Use new time_t_avg function
47519         instead of rolling our own (probably-slower) code.
47521         mktime: do not assume signed right shift propagates sign bit
47522         * time/mktime.c (isdst_differ): New static function.
47523         (__mktime_internal): No need to normalize tm_isdst now.
47524         (__mktime_internal, not_equal_tm): Use isdst_differ to compare
47525         tm_isdst values.
47527         mktime: merge another wrapv change from gnulib
47528         * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
47529         from some compilers.
47531         mktime: remove incorrect attempt at unusual arithmetics
47532         * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
47533         The code didn't really work on such machines anyway.
47534         (TYPE_MINIMUM): Assume two's complement.
47535         (twos_complement_arithmetic): Verify that long_int and time_t
47536         are two's complement (or unsigned, in the latter case).
47538         mktime: check signed shifts on long_int and time_t, too
47539         * time/mktime.c (SHR): Check that shifts work as desired
47540         on the types long_int and time_t too, as SHR is used on
47541         such types.
47543         mktime: do not assume 'long' is wide enough
47544         * time/mktime.c (verify): Move decl up.
47545         (long_int): New type.
47546         (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
47547         to remove assumption in the code that 'long' is wide enough to
47548         store year values.  This assumption is not true on x32 and on
47549         some non-glibc platforms.
47551         mktime: merge wrapv change from gnulib
47552         * time/mktime.c (WRAPV): New macro.
47553         (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
47554         (guess_time_tm, __mktime_internal): Do not assume that signed
47555         integer overflow wraps around; modern compilers generate code
47556         where this assumption is no longer valid.
47558 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
47560         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
47561         Replace "jmp L(pseudo_end)" with "ret".
47562         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
47563         Likewise.
47565 2012-05-23  Andreas Jaeger  <aj@suse.de>
47567         * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
47568         * sysdeps/unix/sysv/linux/poll.c: Remove file.
47570 2012-05-23  Andreas Jaeger  <aj@suse.de>
47571             Maximilian Attems  <max@stro.at>
47573         * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
47574         New macros.
47576 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
47578         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
47579         code so that pseudo_end is just ret and the stack pointer is
47580         correct also for static library in error case.
47582 2012-05-23  Joseph Myers  <joseph@codesourcery.com>
47584         * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
47585         move to syscalls.list.
47586         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
47587         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
47588         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
47589         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
47591         * manual/install.texi (Running make install): Do not mention Linux
47592         kernel version for which pt_chown is not needed.
47593         (Linux): Do not mention problems with nscd with 2.0 kernels.
47594         * INSTALL: Regenerated.
47596 2012-05-23  Andreas Jaeger  <aj@suse.de>
47598         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
47599         (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
47600         macro.
47601         * sysdeps/unix/sysv/linux/s390/bits/mman.h
47602         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
47603         * sysdeps/unix/sysv/linux/sh/bits/mman.h
47604         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
47605         * sysdeps/unix/sysv/linux/i386/bits/mman.h
47606         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
47607         * sysdeps/unix/sysv/linux/sparc/bits/mman.h
47608         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
47609         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
47610         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
47611         * sysdeps/unix/sysv/linux/bits/in.h
47612         (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
47614 2012-05-22  Roland McGrath  <roland@hack.frob.com>
47616         * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
47617         (PREPARE_VERSION): Just use assert instead, it will be elided
47618         under [NDEBUG] anyway.
47620 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
47622         * sysdeps/unix/sysv/linux/Makefile: Include
47623         $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
47624         (sysdep_routines): Remove sysctl.
47625         * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
47626         * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
47627         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
47628         * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
47629         * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
47631 2012-05-22  Andreas Jaeger  <aj@suse.de>
47633         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
47634         that pseudo_end is just ret and the stack pointer is correct also
47635         for static library in error case.
47637 2012-05-22  Paul Pluzhnikov  <ppluzhnikov@google.com>
47639         [BZ #14122]
47640         * nss/nsswitch.c (defconfig_entries): New variable.
47641         (__nss_database_lookup): Don't leak defconfig entries.
47642         (nss_parse_service_list): Don't leak on error paths.
47643         (free_database_entries): New function.
47644         (free_defconfig): New function.
47645         (free_mem): Move common code to free_database_entries.
47647 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
47649         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
47650         Add arch_prctl.
47651         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
47653         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
47654         (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
47655         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
47656         New macro.
47657         (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
47658         (INTERNAL_SYSCALL_TYPES): Likewise.
47659         (LOAD_ARGS_TYPES_[1-6]): Likewise.
47660         (LOAD_REGS_TYPES_[1-6]): Likewise.
47661         (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
47662         (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
47664 2012-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47666         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
47667         copysignl for GLIBC_2_0.
47668         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
47669         finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
47670         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
47671         logbl for GLIBC_2_0.
47672         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
47673         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
47675 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
47677         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
47678         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
47680         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
47681         Use "neg %eax".
47683         * time/mktime.c: Update copyright years.
47685 2012-05-22  Paul Eggert  <eggert@cs.ucla.edu>
47687         mktime: merge comment-quoting-style change from gnulib
47688         * time/mktime.c: Quote 'like this' in comments.
47689         The GNU coding standards suggest that we no longer quote `like this',
47690         as "`" and "'" are typically rendered asymmetrically nowadays.
47691         The typical gnulib style is to quote 'like this' when quoting
47692         code, and "like this" when quoting English.
47694         * time/mktime.c (compile-command): Add "-I.".
47696         mktime: merge mktime-internal.h change from gnulib
47697         * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
47699         mktime: merge time_r change from gnulib
47700         * time/mktime.c [!_LIBC]: Do not include "time_r.h".
47702         mktime: merge DEBUG change from gnulib
47703         * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
47704         case system <time.h> has a #define.
47706         mktime: merge <sys/types.h> change from gnulib
47707         * time/mktime.c: Do not include <sys/types.h>; no longer needed,
47708         since <time.t> is now guaranteed to define time_t.
47710         mktime: merge HAVE_CONFIG_H change from gnulib
47711         * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
47713 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
47715         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
47716         Use "neg %eax".
47718         * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
47719         __rlim_t cast.
47720         (struct rusage): Use anonymous union to pad each field to
47721         __syscall_slong_t.
47723 2012-05-21  David S. Miller  <davem@davemloft.net>
47725         * Makefules (o-iterator): Remove .s cases.
47726         (compile-command.s): Delete.
47727         (COMPILE.s): Delete.
47728         * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
47730 2012-05-21  Joseph Myers  <joseph@codesourcery.com>
47732         * configure.in (libc_cv_predef_stack_protector): Only consider
47733         "foobar" and "__stack_chk_fail" lines in libc_undefs.
47734         * configure: Regenerated.
47736 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
47738         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
47739         New macro.  Use R*LP on int and pointer.
47740         (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
47741         * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
47742         * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
47743         * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
47745         * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
47746         [__WORDSIZE_TIME64_COMPAT32] instead of
47747         [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
47748         (struct utmp): Likewise.
47749         * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
47750         * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
47751         Renamed to ...
47752         (__WORDSIZE_TIME64_COMPAT32): This.
47753         * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
47754         * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
47755         * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
47756         * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
47757         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
47758         (__WORDSIZE_TIME64_COMPAT32): New macro.
47760 2012-05-21  Andreas Jaeger  <aj@suse.de>
47762         * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
47763         only if [SHARED]. Add prototype for __wcschr_ia32.
47765 2012-05-21  Roland McGrath  <roland@hack.frob.com>
47767         * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
47768         of %rbp unmolested in the jmp_buf while mangling the low bits.
47769         * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
47770         unmolested high bits of %rbp while demangling the low bits.
47771         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
47773 2012-05-21  Andreas Jaeger  <aj@suse.de>
47775         * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
47776         * sunrpc/svc_simple.c: Use it for registerrpc.
47777         * sunrpc/xcrypt.c: Use it for passwd2des.
47779         * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
47781 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
47783         * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
47784         Don't define if [__SYSCALL_WORDSIZE != 32].
47785         * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
47786         New macro.
47788 2012-05-21  Bruno Haible  <bruno@clisp.org>
47789             Andreas Jaeger  <aj@suse.de>
47791         [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
47792         * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
47793         inptr and inend for must_buffer_ch.
47794         * wcsmbs/tst-mbsnrtowcs.c: Remove file.
47795         * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
47796         * stdio-common/Makefile (tests): Remove bug15.
47797         (bug15-ENV): Remove macro.
47798         * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
47799         anymore.
47801 2012-05-19  Andreas Jaeger  <aj@suse.de>
47802             Roland McGrath  <roland@hack.frob.com>
47804         * manual/contrib.texi: Completely rewritten. It contains now an
47805         alphabetical list of contributors and their contributions.
47807 2012-05-21  Richard Henderson  <rth@twiddle.net>
47809         * misc/getauxval.c (__getauxval): Use unsigned long int.
47810         * misc/sys/auxv.h: Include <sys/cdefs.h>.
47811         (getauxval): Use unsigned long int.
47813 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
47815         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
47817 2012-05-21  Roland McGrath  <roland@hack.frob.com>
47819         * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
47820         (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
47821         __alignof__ (long double).
47823 2012-05-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47825         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
47827 2012-05-20  Richard Henderson  <rth@twiddle.net>
47829         * misc/getauxval.c: New file.
47830         * misc/sys/auxv.h: New file.
47831         * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
47832         (routines): Add getauxval.
47833         * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
47834         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
47835         * elf/dl-sysdep.c (_dl_auxv): Remove.
47836         (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
47837         * elf/dl-support.c (_dl_auxv): New variable.
47838         (_dl_aux_init): Initialize it.
47839         * manual/startup.texi (Auxiliary Vector): New node.
47840         * sysdeps/generic/bits/hwcap.h: New file.
47841         * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
47842         * sysdeps/powerpc/sysdep.h: ... here.  Include it.
47843         * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
47844         * sysdeps/sparc/sysdep.h: ... here.  Include it.
47845         * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
47846         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
47847         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
47848         Update.
47849         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
47850         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
47851         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
47852         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
47853         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
47854         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
47855         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
47856         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
47858 2012-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47860         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
47862 2012-05-19  David S. Miller  <davem@davemloft.net>
47864         * sysdeps/sparc/fpu/libm-test-ulps: Update.
47866 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
47868         [BZ #14123]
47869         * math/s_ccosh.c: Include <float.h>
47870         (__ccosh): Avoid internal overflow calculating sinh and cosh
47871         values before multiplying by sin and cos values.
47872         * math/s_ccoshf.c: Likewise.
47873         * math/s_ccoshl.c: Likewise.
47874         * math/s_csin.c: Likewise.
47875         * math/s_csinf.c: Likewise.
47876         * math/s_csinl.c: Likewise.
47877         * math/s_csinh.c: Likewise.
47878         * math/s_csinhf.c: Likewise.
47879         * math/s_csinhl.c: Likewise.
47880         * math/libm-test.inc (ccos_test): Add more tests.
47881         (ccosh_test): Likewise.
47882         (csin_test): Likewise.
47883         (csinh_test): Likewise.
47884         * sysdeps/i386/fpu/libm-test-ulps: Update.
47885         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47887 2012-05-19  H.J. Lu  <hongjiu.lu@intel.com>
47889         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
47890         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
47892         * sysdeps/x86_64/x32/_itoa.h: Add comment.
47894 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
47896         * sysdeps/powerpc/soft-fp/Makefile: Remove file.
47897         * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
47898         * sysdeps/powerpc/soft-fp/Versions: Likewise.
47899         * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
47900         * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
47901         * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
47902         * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
47903         * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
47904         * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
47905         * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
47906         * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
47907         * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
47908         * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
47909         * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
47910         * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
47911         * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
47912         * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
47913         * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
47914         * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
47915         * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
47916         * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
47917         * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
47918         * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
47919         * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
47920         * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
47921         * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
47922         * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
47923         * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
47924         * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
47925         * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
47926         * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
47928 2012-05-18  Andreas Jaeger  <aj@suse.de>
47930         * csu/.gitignore: Delete.
47932 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
47934         * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
47935         (timex): Use __syscall_slong_t.
47937 2012-05-18  Andreas Jaeger  <aj@suse.de>
47938             Carlos O'Donell  <carlos_odonell@mentor.com>
47940         * manual/install.texi (Configuring and compiling): Update
47941         description about files modified in the source directory.
47942         * INSTALL: Regenerated.
47944 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
47946         * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
47947         value.  Use "or" to set return value to -1.
47948         * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
47949         negate return value.
47951 2012-05-18  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
47953         * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c)
47954         (CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
47955         failure if the compiler has Graphite support disabled.
47956         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
47957         Likewise.
47958         * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c)
47959         (CFLAGS-memmove.c): Likewise.
47960         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
47961         Likewise.
47963 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
47965         * sysdeps/x86_64/x32/_itoa.h: New file.
47967         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
47968         getdents system call only if kernel and user dirents have the
47969         same d_ino and d_off.
47971         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
47972         LLONG_MAX != LONG_MAX.
47973         (_itoa_word): Use _ITOA_WORD_TYPE on value.
47974         (_fitoa_word): Likewise.
47976         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
47977         years.
47978         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
47979         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
47980         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
47982         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
47983         include <bits/wordsize.h>.  Check __x86_64__ instead of
47984         __WORDSIZE.
47985         (sigcontext): Use "__uint64_t" instead of "unsigned long int"
47986         if __x86_64__ is defined.  Use anonymous union on fpstate.
47988         * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
47989         anonymous union.
47991 2012-05-18  Andreas Schwab  <schwab@linux-m68k.org>
47993         * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
47994         INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
47995         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
47996         Refer to _rtld_local_ro instead of _rtld_global_ro.
47997         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
47998         Likewise.
47999         * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
48000         Likewise.
48001         * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
48002         Likewise.
48003         * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
48004         * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
48005         of _rtld_global, and rtld_progname instead of _dl_argv[0].
48007         * sysdeps/powerpc/powerpc32/dl-machine.c
48008         (__elf_machine_runtime_setup) [PROF]: Don't reference
48009         _dl_prof_resolve.
48011 2012-05-18  Andreas Jaeger  <aj@suse.de>
48013         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
48014         function only available for GCCs before 3.4 since GCC 3.4
48015         introduced a builtin.
48016         (lrint): Likewise.
48017         (llrintf): Likewise.
48018         (llrint): Likewise.
48019         (fmaxf): Likewise.
48020         (fmax): Likewise.
48021         (fminf): Likewise.
48022         (fmin): Likewise.
48023         (rint): Likewise.
48024         (rintf): Likewise.
48025         (nearbyint): Likewise.
48026         (nearbyintf): Likewise.
48027         (ceil): Likewise.
48028         (ceilf): Likewise.
48029         (floor): Likewise.
48030         (floorf): Likewise.
48032 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
48034         * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
48035         on both fields and cast pointer to __syscall_ulong_t.
48037         * bits/types.h (__fsword_t): New type.
48038         * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
48039         sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
48040         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
48041         (__FSWORD_T_TYPE): Likewise.
48042         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
48043         (__FSWORD_T_TYPE): Likewise.
48044         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
48045         (__FSWORD_T_TYPE): Likewise.
48046         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
48047         (__FSWORD_T_TYPE): Likewise.
48048         * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
48049         __SWORD_TYPE with __fsword_t.
48050         (statfs64): Likewise.
48052 2012-05-17  David S. Miller  <davem@davemloft.net>
48054         * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
48056 2012-05-17  Andreas Jaeger  <aj@suse.de>
48058         * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
48059         warning.
48061 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
48063         * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
48065 2012-05-17  Andreas Jaeger  <aj@suse.de>
48067         * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
48068         when it is used.
48070 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
48072         * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
48074 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
48076         * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
48077         * sysdeps/x86_64/tst-mallocalign1.c: New file.
48079 2012-05-17  Andreas Jaeger  <aj@suse.de>
48080             Carlos O'Donell  <carlos_odonell@mentor.com>
48082         [BZ #14059]
48083         * sysdeps/x86_64/multiarch/init-arch.h
48084         (bit_YMM_Usable): Rename to...
48085         (bit_AVX_Usable): ... this.
48086         (bit_FMA4_Usable): New macro.
48087         (bit_XMM_state): New macro.
48088         (bit_YMM_state): New macro.
48089         [__ASSEMBLER__] (index_YMM_Usable): Rename to...
48090         [__ASSEMBLER__] (index_AVX_Usable): ... this.
48091         [__ASSEMBLER__] (index_FMA4_Usable): New macro.
48092         (CPUID_OSXSAVE): New macro.
48093         (CPUID_AVX): New macro.
48094         (CPUID_FMA4): New macro.
48095         (index_YMM_Usable): Rename to...
48096         (index_AVX_Usable): ... this.
48097         (HAS_AVX): Use HAS_ARCH_FEATURE.
48098         (HAS_FMA4): Likewise.
48099         (HAS_YMM_USABLE): Remove.
48100         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
48101         Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
48102         are present.
48103         * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
48104         * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
48105         * sysdeps/x86_64/multiarch/Makefile: Likewise.
48106         * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
48107         * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
48109 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
48111         * math/libm-test.c: Support platforms without multiple rounding modes.
48112         * math/bug-nextafter.c: Support platforms without FP exceptions.
48113         * math/bug-nexttoward.c: Likewise.
48114         * math/test-fenv.c: Likewise.
48115         * math/test-misc.c: Likewise.
48116         * stdlib/bug-getcontext.c: Likewise.
48118 2012-05-17  Andreas Jaeger  <aj@suse.de>
48120         * manual/examples/search.c (critter_cmp): Change signature to
48121         avoid warnings.
48122         * manual/string.texi (Collation Functions): Likewise.
48124 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
48126         * bits/types.h: Fold copyright years.
48127         * bits/typesizes.h: Likewise.
48128         * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
48129         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
48130         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
48131         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
48132         * time/time.h: Likewise.
48134 2012-05-16  Paul Pluzhnikov  <ppluzhnikov@google.com>
48136         [BZ #208]
48137         * malloc.c (int_mallinfo): Add parameter to accumulate statistics
48138         in instead of returning them.  Return void.
48139         (__libc_mallinfo): Accumulate over all arenas.
48140         (__malloc_stats): Adjust for change in int_mallinfo interface.
48142 2012-05-16  Roland McGrath  <roland@hack.frob.com>
48144         [BZ #10375]
48145         * configure.in (NM): Add AC_CHECK_TOOL for it.
48146         (libc_extra_cflags): New substituted variable.
48147         Check for -fstack-protector being used implicitly.
48148         * configure: Regenerated.
48149         * config.make.in (config-extra-cflags): New variable,
48150         gets @libc_extra_cflags@.
48151         * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
48153         [BZ #10375]
48154         * configure.in: Check for _FORTIFY_SOURCE being predefined.
48155         (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
48156         * configure: Regenerated.
48157         * config.make.in (CPPUNDEFS): New substituted variable.
48158         * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
48159         * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
48160         * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
48162 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
48164         * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
48165         (mq_attr): Use __syscall_slong_t.
48167 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
48169         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
48170         Check __x86_64__ instead of __WORDSIZE.
48171         (_STAT_VER_LINUX): Likewise.
48172         (stat): Check __x86_64__ instead of __WORDSIZE.  Use
48173         __syscall_ulong_t and __syscall_slong_t.
48174         (stat64): Likewise.
48176 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
48178         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
48180 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
48182         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
48184 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
48186         * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
48187         __syscall_ulong_t.
48189         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
48190         include <bits/wordsize.h>.  Check __x86_64__ instead of
48191         __WORDSIZE.
48192         (greg_t): Use "__extension__ long long int" if __x86_64__ is
48193         defined.
48194         (mcontext_t): Replace "unsigned long" with "unsigned long long".
48196         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
48197         include <bits/wordsize.h>.  Check __x86_64__ instead of
48198         __WORDSIZE.
48199         (user_regs_struct): Use "__extension__ unsigned long long"
48200         instead of "unsigned long" if __x86_64__ is defined.
48201         (user): Likewise.  Pad after pointer field if __ILP32__ is
48202         defined.
48204 2012-05-16  Joseph Myers  <joseph@codesourcery.com>
48206         * configure.in (makeinfo): Require version 4.5 or later.  Allow
48207         versions 5 to 9.
48208         * configure: Regenerated.
48209         * manual/install.texi (texinfo): Increase version requirement to
48210         4.5 or later.
48211         * INSTALL: Regenerated.
48213         * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
48215 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
48217         * sysdeps/x86_64/x32/gmp-mparam.h: New file.
48219         * sysdeps/x86_64/x32/ffs.c: New file.
48221         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
48222         __syscall_ulong_t.
48223         (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
48224         defined.  Use __syscall_ulong_t.
48225         (shminfo): Use __syscall_ulong_t.
48226         (shm_info): Likewise.
48228         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
48229         __syscall_ulong_t.
48231         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
48232         <bits/wordsize.h>.
48233         (msgqnum_t): Use __syscall_ulong_t.
48234         (msglen_t): Likewise.
48235         (msqid_ds): Check __x86_64__ instead of __WORDSIZE.  Use
48236         __syscall_ulong_t.
48238         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
48239         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
48241         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
48243         * sysdeps/x86_64/x32/divdi3.c: New dummy file.
48244         * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
48246         * sysvipc/sys/msg.h (msgbuf): Replace long int with
48247         __syscall_slong_t.
48249         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
48250         include <bits/wordsize.h>.  Check __x86_64__ instead of
48251         __WORDSIZE.
48253         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
48254         "unsigned long long int" if __x86_64__ is defined.
48255         (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
48257         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
48258         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
48259         (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
48261         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
48262         <stdint.h>.
48263         (GET_PC): Cast to uintptr_t first.
48264         (GET_FRAME): Likewise.
48265         (GET_STACK): Likewise.
48267         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
48268         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
48269         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
48270         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
48271         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
48272         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
48273         * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
48274         * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
48275         * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
48276         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
48277         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
48278         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
48279         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
48280         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
48281         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
48282         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
48283         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
48284         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
48285         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
48286         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
48287         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
48288         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
48289         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
48290         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
48291         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
48292         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
48293         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
48294         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
48295         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
48297 2012-05-16  Andreas Schwab  <schwab@linux-m68k.org>
48299         * Makerules (+depfiles): Also collect depfiles from .oS in
48300         $(extra-objs).
48301         * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
48302         .oS, $(libnldbl-routines)).
48304         * Makerules (native-compile-mkdep-flags): Define.
48305         * sunrpc/Makefile (extra-objs): Add $(addprefix
48306         cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
48307         ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
48308         of $(compile-mkdep-flags).  Depend on $(before-compile) instead of
48309         calling $(make-target-directory).
48311 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
48313         * bits/types.h (__snseconds_t): Removed.
48314         * time/time.h (struct timespec): Replace __snseconds_t with
48315         __syscall_slong_t.
48316         * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
48317         * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
48318         Likewise.
48319         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
48320         (__SNSECONDS_T_TYPE): Likewise.
48321         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
48322         (__SNSECONDS_T_TYPE): Likewise.
48323         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
48324         (__SNSECONDS_T_TYPE): Likewise.
48326 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
48328         * sysdeps/mach/hurd/bits/typesizes.h
48329         (__SYSCALL_SLONG_TYPE): New macro.
48330         (__SYSCALL_ULONG_TYPE): Likewise.
48332 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
48334         * bits/types.h (__syscall_slong_t): New type.
48335         (__syscall_ulong_t): Likewise.
48337         * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
48338         (__SYSCALL_ULONG_TYPE): Likewise.
48339         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
48340         (__SYSCALL_SLONG_TYPE): Likewise.
48341         (__SYSCALL_ULONG_TYPE): Likewise.
48342         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
48343         (__SYSCALL_SLONG_TYPE): Likewise.
48344         (__SYSCALL_ULONG_TYPE): Likewise.
48345         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
48346         (__SYSCALL_SLONG_TYPE): Likewise.
48347         (__SYSCALL_ULONG_TYPE): Likewise.
48349 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
48351         * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
48352         Add sigaltstack-offsets.sym.
48353         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
48354         <sigaltstack-offsets.h>.
48355         (CALL_FAIL): Use RSP_LP to operate on stack.  Use RDI_LP on
48356         longjmp_msg pointer.
48357         (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC.  Use
48358         R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
48359         signal stack.
48360         * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
48362 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
48364         * elf/stackguard-macros.h: Remove file.
48365         * sysdeps/generic/stackguard-macros.h: New file.
48366         * sysdeps/i386/stackguard-macros.h: Likewise.
48367         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
48368         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
48369         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
48370         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
48371         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
48372         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
48373         * sysdeps/x86_64/stackguard-macros.h: Likewise.
48374         * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
48375         <elf/stackguard-macros.h>.
48377         [BZ #14109]
48378         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
48379         __aligned__ in attribute.
48380         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
48381         (gregset_t): Likewise.
48383 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
48385         * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
48386         * sysdeps/x86_64/64/Implies-after: Here.  New file.
48387         * sysdeps/x86_64/x32/Implies-after: New file.
48389 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
48391         * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
48392         and access return value for _dl_profile_fixup.  Use R10_LP to
48393         load frame size.
48395 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
48397         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
48399 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
48401         * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
48402         * sysdeps/x86_64/x32/sysdep.h: New file.
48404 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
48406         * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
48407         * sysdeps/x86_64/setjmp.S: Likewise.
48409 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
48411         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
48412         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
48413         * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
48414         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
48415         remove unused global constant.
48417 2012-05-15  Chris Metcalf  <cmetcalf@tilera.com>
48419         * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
48420         include of <not-cancel.h>.
48422 2012-05-15  Roland McGrath  <roland@hack.frob.com>
48424         * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
48426 2012-05-15  Jeff Law  <law@redhat.com>
48427             Andreas Jaeger  <aj@suse.de>
48429         [BZ #13594]
48430         * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
48431         out from...
48432         * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
48433         * nscd/nscd-client.h: Add __nscd_acquire_maplock.
48434         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
48435         code changing __hst_map_handle.map.
48437 2012-05-15  Roland McGrath  <roland@hack.frob.com>
48439         * configure.in (sysnames): Look for Implies-before and Implies-after
48440         files.
48441         * configure: Regenerated.
48443 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
48445         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
48446         8-byte data alignment with LP_SIZE alignment.
48448 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
48450         * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
48451         into R10_LP.
48453 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
48455         * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
48457 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
48459         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
48460         * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
48461         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
48462         Likewise.
48463         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
48465 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
48467         * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
48468         (stackinfo_sub_sp): Likewise.
48470 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
48472         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
48473         RAX_LP.
48475 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
48477         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
48478         into R*_LP.
48480 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
48482         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
48483         sizes into R*_LP.
48485 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
48487         * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
48489 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
48491         * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
48492         into R11_LP and load __x86_64_shared_cache_size_half into
48493         R8_LP.
48495 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
48497         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
48498         R8_LP.
48500 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
48502         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
48503         logb for POWER7.
48504         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
48505         logbf for POWER7.
48506         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
48507         logbl for POWER7.
48508         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
48509         powerpc32/power7/fpu/s_logb.c via #include.
48510         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
48511         powerpc32/power7/fpu/s_logbf.c via #include.
48512         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
48513         powerpc32/power7/fpu/s_logbl.c via #include.
48515 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
48517         * README.libm: Remove file.
48519 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
48521         * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
48522         count for x32.  Use R*_LP and omit operand-size suffix.
48524 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
48526         * shlib-versions: Move x86_64-.*-linux.* entries to ...
48527         * sysdeps/x86_64/64/shlib-versions: Here.  New file.
48528         * sysdeps/x86_64/x32/shlib-versions: New file.
48530 2012-05-14  Roland McGrath  <roland@hack.frob.com>
48532         * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
48533         * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
48534         Use _dl_fatal_printf instead.
48536 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
48538         * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
48539         set if not set by the user.  Do not allow for being unset.
48540         * sysdeps/unix/sysv/linux/configure: Regenerated.
48542 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
48544         * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
48545         the `q' suffix from lea and replace .quad with ASM_ADDR.
48547 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
48549         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
48550         the `q' suffix from xor/rol instructions.  Use $2*LP_SIZE+1
48551         instead of $17.
48552         (PTR_DEMANGLE): Likewise.
48554 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
48556         * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
48557         (LP_OP): Likewise.
48558         (ASM_ADDR): Likewise.
48559         (RAX_LP): Likewise.
48560         (RBP_LP): Likewise.
48561         (RBX_LP): Likewise.
48562         (RCX_LP): Likewise.
48563         (RDI_LP): Likewise.
48564         (RSI_LP): Likewise.
48565         (RSP_LP): Likewise.
48566         (R8_LP): Likewise.
48567         (R9_LP): Likewise.
48568         (R10_LP): Likewise.
48569         (R10_LP): Likewise.
48570         (R11_LP): Likewise.
48571         (R12_LP): Likewise.
48572         (R13_LP): Likewise.
48573         (R14_LP): Likewise.
48574         (R15_LP): Likewise.
48576 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
48578         * sysdeps/x86_64/x32/dl-machine.h: New file.
48580 2012-05-14  Andreas Jaeger  <aj@suse.de>
48582         * manual/Makefile (subdir): Remove export of subdir.
48583         (all): Remove target.
48584         (.PHONY): Remove all from list.
48585         (mkinstalldirs): Remove.
48586         (.PHONY): Remove installdirs from list.
48587         ($(inst_infodir)/libc.info): Use make-target-directory.
48588         (installdirs): Remove.
48589         (subdir_%): Remove.
48590         (glibc-targets): Remove.
48591         (lib): Remove.
48592         (stubs): Remove.
48593         ($(objpfx)stubs ../po/manual.pot): Remove.
48594         ($(objpfx)stamp%): Remove.
48595         (make-target-directory): Remove.
48596         (subdir_install): Remove.
48597         (routines): Remove.
48598         (aux): Remove.
48599         (sources): Remove.
48600         (objects): Remove.
48601         (headers): Remove.
48603         [BZ #13750]
48604         * manual/.gitignore: Remove, it's not needed anymore.
48605         * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
48606         all files in it.
48607         * manual/Makefile (dvi, pdf, info, html): Depend on files in build
48608         directory.
48609         (texis): Renamed to $(objpfx)texis.
48610         (texis-path): New, contains path to generated files.
48611         (chapters.%): Use texis-path for complete path, add extra argument
48612         libc-texinfo.sh.
48613         (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
48614         (libc/index.html, summary.texi): Add $(objpfx) as prefix.
48615         (summary,texi, stamp-summary): Use complete path of
48616         files. Generate files in build dir.
48617         (dir-add.texi): Build in build dir.
48618         (libm-err.texi,stamp-libm-err): Likewise.
48619         (version.texi, stamp-version): Likewise.
48620         (.%c.texi): Likewise.
48621         (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
48622         (mostlyclean): Remove target.
48623         (realclean): Remove target.
48624         (generated): Add new variable with contents from mostlyclean and
48625         realclean, remove entries duplicated in common-mostlyclean, add
48626         stamp-libm-err and stamp-version.
48627         (generated-dirs): Add libc directory.
48628         ($(inst_infodir)/libc.info): Install files from build dir.
48630         * manual/install.texi (Configuring and compiling): Adjust since
48631         the info files are not part of the tar ball anymore.
48633 2012-05-14  Andreas Jaeger  <aj@suse.de>
48635         * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
48636         variable.
48638 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
48640         [BZ #13717]
48641         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
48642         to 2.2.0 where earlier.
48643         * sysdeps/unix/sysv/linux/configure: Regenerated.
48644         * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
48645         Remove conditional code.
48646         [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
48647         * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
48648         Remove conditional code.
48649         [!__NR_lchown]: Likewise.
48650         [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
48651         [__NR_lchown]: Likewise.
48652         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
48653         comment referencing __ASSUME_LCHOWN_SYSCALL.
48654         * sysdeps/unix/sysv/linux/i386/sigaction.c
48655         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
48656         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
48657         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
48658         Remove conditional code.
48659         [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
48660         (__protocol_available): Remove #if 0 code.
48661         * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
48662         conditional code.
48663         [__ASSUME_SIOCGIFNAME]: Make code unconditional.
48664         * sysdeps/unix/sysv/linux/kernel-features.h
48665         (__ASSUME_GETCWD_SYSCALL): Don't define.
48666         (__ASSUME_REALTIME_SIGNALS): Likewise.
48667         (__ASSUME_PREAD_SYSCALL): Likewise.
48668         (__ASSUME_PWRITE_SYSCALL): Likewise.
48669         (__ASSUME_POLL_SYSCALL): Likewise.
48670         (__ASSUME_LCHOWN_SYSCALL): Likewise.
48671         (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
48672         non-SPARC.
48673         (__ASSUME_SIOCGIFNAME): Don't define.
48674         (__ASSUME_MSG_NOSIGNAL): Likewise.
48675         (__ASSUME_SENDFILE): Define unconditionally.
48676         (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
48677         * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
48678         conditional code.
48679         [__ASSUME_POLL_SYSCALL]: Make code unconditional.
48680         * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
48681         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
48682         (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
48683         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
48684         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
48685         (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
48686         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
48687         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
48688         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
48689         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
48690         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
48691         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
48692         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
48693         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
48694         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
48695         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
48696         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
48697         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
48698         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
48699         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
48700         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
48701         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
48702         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
48703         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
48704         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
48705         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
48706         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
48707         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
48708         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
48709         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
48710         * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
48711         Remove conditional code.
48712         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
48713         * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
48714         Remove conditional code.
48715         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
48716         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
48717         [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
48718         * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
48719         Remove conditional code.
48720         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
48721         * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
48722         Remove conditional code.
48723         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
48724         * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
48725         Remove conditional code.
48726         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
48727         * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
48728         Remove conditional code.
48729         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
48730         * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
48731         Remove conditional code.
48732         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
48733         * sysdeps/unix/sysv/linux/sh/pwrite64.c
48734         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
48735         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
48736         * sysdeps/unix/sysv/linux/sigaction.c
48737         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
48738         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
48739         * sysdeps/unix/sysv/linux/sigpending.c
48740         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
48741         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
48742         * sysdeps/unix/sysv/linux/sigprocmask.c
48743         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
48744         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
48745         * sysdeps/unix/sysv/linux/sigsuspend.c
48746         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
48747         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
48748         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
48749         (__libc_missing_rt_sigs): Remove.
48750         (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
48751         (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
48752         * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
48753         Remove conditional code.
48754         [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
48755         * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
48756         return 1.
48757         * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
48758         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
48759         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
48760         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
48762 2012-05-14  Andreas Jaeger  <aj@suse.de>
48764         * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
48765         it's not used in glibc.
48766         (__coshm1): Likewise.
48767         (__acosh1p): Likewise.
48768         (__sgn): Likewise.
48770         * manual/string.texi (Copying and Concatenation): Add missing
48771         variable in concat example.
48772         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
48774 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
48776         [BZ #14103]
48777         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
48778         __builtin_clzl with __builtin_clzll.
48780 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
48782         [BZ #14104]
48783         * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
48784         libc_freeres_ptr.
48786 2012-05-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
48788         * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
48789         * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
48790         * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
48791         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
48793 2012-05-14  Mike Frysinger  <vapier@gentoo.org>
48795         * NEWS: Update ia64 info.
48797 2012-05-12  Andreas Schwab  <schwab@linux-m68k.org>
48799         * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
48800         used as bcopy.
48802 2012-05-12  Thomas Schwinge  <thomas@codesourcery.com>
48804         * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
48805         * sysdeps/unix/syscalls.list (dup3): Likewise.
48806         * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
48807         * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
48809 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
48811         * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
48812         "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
48814 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
48816         * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
48817         thread pointer.
48818         (TLS_IE): Use mov/add instead of movq/addq to load thread
48819         pointer.
48820         (TLS_GD_PREFIX): New.
48821         (TLS_GD): Use it.
48823 2012-05-11  David S. Miller  <davem@davemloft.net>
48825         * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
48826         * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
48827         (_FPU_SETCW): Likewise.
48829 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
48831         * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
48832         is 32-byte aligned.
48834 2012-05-11  Andreas Schwab  <schwab@linux-m68k.org>
48836         [BZ #11837]
48837         * iconvdata/gb18030.c: Update tables.
48838         (BODY for FROM_LOOP): Update.  Handle two-byte encoded non-BMP
48839         characters specially.
48840         (BODY for TO_LOOP): Add encoding of missing ranges.
48842 2012-05-11  Thomas Schwinge  <thomas@codesourcery.com>
48844         [BZ #13673]
48845         * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
48846         * sysdeps/mach/hurd/dup3.c: Likewise.
48847         * sysdeps/mach/hurd/readlinkat.c: Likewise.
48848         * sysdeps/powerpc/memmove.c:: Likewise.
48850 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
48852         * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
48853         R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
48855 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
48857         * elf/elf.h (R_X86_64_RELATIVE64): New.
48858         (R_X86_64_NUM): Updated.
48859         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
48860         R_X86_64_RELATIVE64.  Always use Elf64_Addr with R_X86_64_64.
48861         (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
48862         * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
48863         tst-quad1pie tst-quad2pie
48864         (modules-names): Add tst-quadmod1 tst-quadmod2.
48865         ($(objpfx)tst-quad1): New dependency.
48866         ($(objpfx)tst-quad2): Likewise.
48867         ($(objpfx)tst-quad1pie): Likewise.
48868         ($(objpfx)tst-quad2pie): Likewise.
48869         * sysdeps/x86_64/tst-quad1.c: New file.
48870         * sysdeps/x86_64/tst-quad1pie.c: New file.
48871         * sysdeps/x86_64/tst-quad2.c: Likewise.
48872         * sysdeps/x86_64/tst-quad2pie.c: Likewise.
48873         * sysdeps/x86_64/tst-quadmod1.S: Likewise.
48874         * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
48875         * sysdeps/x86_64/tst-quadmod2.S: Likewise.
48876         * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
48878 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
48880         * io/fcntl.h (mode_t, off_t, pid_t): Define types.
48881         (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
48882         * streams/stropts.h (t_scalar_t): Define type.
48884         * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
48885         (_PATH_PRESERVE): Set to "/var/lib".
48886         (_PATH_RWHODIR): Set to "/var/spool/rwho".
48888         * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
48889         instead of int.
48891         * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
48892         if __dir_mkfile succeeded.
48894         * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
48895         checking for _hurd_dtablesize.  Unlock it right after having
48896         finished _hurd_dtable allocation.
48898 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
48900         * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
48901         * sysdeps/mach/hurd/configure: Regenerated.
48902         * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
48903         special-casing to...
48904         * sysdeps/gnu/configure.in: ... this new file.
48905         * sysdeps/unix/sysv/linux/configure: Regenerated.
48906         * sysdeps/gnu/configure: New generated file.
48908         * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
48909         for Linux: use nsec instead of usec, as well as:
48910         [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
48911         members of type struct timespec.
48912         [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
48913         New macros.
48914         (struct stat64): Likewise.
48915         (_STATBUF_ST_NSEC): New macro.
48916         * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
48918         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
48919         __strtoul_internal rather than strtoul.
48921 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
48923         * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
48924         and reject them.
48926 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
48928         * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
48929         which preserves existing values.
48930         * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
48932 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
48934         * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
48935         TIMEOUT values.  Return EINVAL for NFDS values either negative or
48936         greater than FD_SETSIZE.
48938 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
48940         * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
48941         allocated, call __vm_protect to finish enabling the existing space, and
48942         pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
48943         allocate the remainder.
48945 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
48947         * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
48948         address port.  Set ADDR_LEN to 0 when not filling ADDRARG.
48950 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
48952         * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
48953         sysdeps/mach/hurd/readlink.c.
48955         * posix/tst-sysconf.c (posix_options): Only use
48956         _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
48957         _POSIX_SYNCHRONIZED_IO when they are defined
48958         * sysdeps/mach/hurd/bits/posix_opt.h:
48959         (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
48960         (_XOPEN_REALTIME): Undefine macro.
48961         (_XOPEN_REALTIME_THREADS): Undefine macro.
48962         (_XOPEN_SHM): Undefine macro.
48963         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
48964         macro to -1.
48965         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
48966         macro to -1.
48967         (_POSIX_ASYNC_IO): Undefine macro.
48968         (_POSIX_PRIORITIZED_IO): Undefine macro.
48969         (_POSIX_SPIN_LOCKS): Define macro to -1.
48971         * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
48972         SA_NODEFER, SA_RESETHAND.
48973         * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
48974         O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
48975         F_DUPFD_CLOEXEC.
48977 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
48979         * elf/Makefile (pldd-modules): Define unconditionally.
48981 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
48983         * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
48985 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
48987         * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
48988         Return ENOENT when name is empty.
48989         * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
48991 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
48993         * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
48995         * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
48997 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
48999         Fix mlock in all cases except non-readable pages.
49000         * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
49001         instead of VM_PROT_ALL as parameter to __vm_wire function.
49003         * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
49004         (__mkdir): When path is `/', just fail with EEXIST.
49005         * sysdeps/mach/hurd/mkdirat.c: Likewise.
49007 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
49009         * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
49010         <sys/uio.h> (for writev).
49011         * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
49012         and <sys/param.h> (for MIN).
49014 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
49016         * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
49017         REQUESTED_TIME.  Properly set the remaining time and return EINTR
49018         if interrupted.
49020 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
49022         * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
49023         Depend on against $(link-rpcuserlibs).
49025 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
49027         * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
49028         (__libc_stack_end): Do not use attribute_relro.
49029         * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
49030         * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
49031         to libthread-provided value.
49032         * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
49033         attribute_relro.
49035 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
49037         [BZ #3748]
49038         * bits/libc-lock.h (__libc_once_get): New macro.
49039         * sysdeps/mach/bits/libc-lock.h: Likewise.
49040         * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
49041         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
49042         instead of using implementation details.
49044         * libio/fileops.c: Unconditionally include <kernel-features.h>.
49045         * libio/freopen.c: Likewise.
49046         * libio/freopen64.c: Likewise.
49047         * misc/syslog.c: Likewise.
49048         * nscd/connections.c: Likewise.
49049         * nscd/netgroupcache.c: Likewise.
49050         * sysdeps/posix/getcwd.c: Likewise.
49052 2012-05-10  Roland McGrath  <roland@hack.frob.com>
49054         * math/w_ilogbf.c: Add #include <limits.h>.
49056 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
49058         * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
49059         path instead of returning without unlocking.
49061         * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
49062         immediate-write ioctls.
49063         * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
49065 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
49067         * sysdeps/mach/hurd/i386/init-first.c (init): Use
49068         __builtin_frame_address instead of making assumptions about the
49069         location of the return address relative to DATA.  Force early load of
49070         the return address.
49071         (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
49072         __builtin_frame_address.
49074         dup3 for GNU Hurd.
49075         * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
49076         * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c.  Evolve it to
49077         implement dup3 and do some further code clean-ups.
49078         * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
49079         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
49081 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
49083         * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
49085         * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
49086         HURD_CRITICAL_END around holding _hurd_dtable_lock.
49087         * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
49088         * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
49089         HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
49090         d->port.lock.
49092         * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
49093         instead of setjmp/longjmp to restore the signal mask.  Call sigsetjmp
49094         when handler == SIG_ERR, not when handler != SIG_ERR.
49096 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
49098         * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
49099         (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
49100         definitions.
49102         accept4 for GNU Hurd.
49103         * include/sys/socket.h (__libc_accept4): New prototype.
49104         * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c.  Evolve it
49105         to implement __libc_accept4.
49106         * sysdeps/mach/hurd/accept.c (accept): Reimplement using
49107         __libc_accept4.
49108         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
49110         * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
49111         * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
49112         * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
49113         signal-defines.sym.
49115 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
49117         * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
49119 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
49121         * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
49122         assertion on O_CLOEXEC flag.
49123         * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
49124         * hurd/intern-fd.c: Likewise.
49125         * hurd/port2fd.c: Likewise.
49127 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
49129         [BZ #3906]
49130         * bits/in.h (IPV6_PKTINFO): Define new macro.
49131         (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
49133 2012-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
49135         [BZ #13954]
49136         [BZ #13955]
49137         [BZ #13956]
49138         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
49139         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
49140         * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
49141         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
49142         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
49143         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
49144         * math/libm-test.inc (logb_test) : Additional logb tests.
49146 2012-05-09  Andreas Schwab  <schwab@linux-m68k.org>
49147             Andreas Jaeger  <aj@suse.de>
49149         * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
49150         * configure: Regenerated.
49151         * config.h.in (LINK_OBSOLETE_RPC): New macro.
49152         * config.make.in (link-obsolete-rpc): New substituted variable.
49153         * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
49154         libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
49155         * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
49156         (shared-only-routines): Don't set it under [link-obsolete-rpc],
49157         so that libc.a contains the symbols.
49158         * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
49159         * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
49160         * sunrpc/auth_none.c: Likewise.
49161         * sunrpc/auth_unix.c: Likewise.
49162         * sunrpc/authdes_prot.c: Likewise.
49163         * sunrpc/authuxprot.c: Likewise.
49164         * sunrpc/clnt_gen.c: Likewise.
49165         * sunrpc/clnt_perr.c: Likewise.
49166         * sunrpc/clnt_raw.c: Likewise.
49167         * sunrpc/clnt_simp.c: Likewise.
49168         * sunrpc/clnt_tcp.c: Likewise.
49169         * sunrpc/clnt_udp.c: Likewise.
49170         * sunrpc/clnt_unix.c: Likewise.
49171         * sunrpc/des_crypt.c: Likewise.
49172         * sunrpc/des_soft.c: Likewise.
49173         * sunrpc/get_myaddr.c: Likewise.
49174         * sunrpc/key_call.c: Likewise.
49175         * sunrpc/key_prot.c: Likewise.
49176         * sunrpc/netname.c: Likewise.
49177         * sunrpc/pm_getmaps.c: Likewise.
49178         * sunrpc/pm_getport.c: Likewise.
49179         * sunrpc/pmap_clnt.c: Likewise.
49180         * sunrpc/pmap_prot.c: Likewise.
49181         * sunrpc/pmap_prot2.c: Likewise.
49182         * sunrpc/pmap_rmt.c: Likewise.
49183         * sunrpc/publickey.c: Likewise.
49184         * sunrpc/rpc_cmsg.c: Likewise.
49185         * sunrpc/rpc_common.c: Likewise.
49186         * sunrpc/rpc_dtable.c: Likewise.
49187         * sunrpc/rpc_prot.c: Likewise.
49188         * sunrpc/rpc_thread.c: Likewise.
49189         * sunrpc/rtime.c: Likewise.
49190         * sunrpc/svc.c: Likewise.
49191         * sunrpc/svc_auth.c: Likewise.
49192         * sunrpc/svc_raw.c: Likewise.
49193         * sunrpc/svc_run.c: Likewise.
49194         * sunrpc/svc_tcp.c: Likewise.
49195         * sunrpc/svc_udp.c: Likewise.
49196         * sunrpc/svc_unix.c: Likewise.
49197         * sunrpc/svcauth_des.c: Likewise.
49198         * sunrpc/xcrypt.c: Likewise.
49199         * sunrpc/xdr.c: Likewise.
49200         * sunrpc/xdr_array.c: Likewise.
49201         * sunrpc/xdr_float.c: Likewise.
49202         * sunrpc/xdr_intXX_t.c: Likewise.
49203         * sunrpc/xdr_mem.c: Likewise.
49204         * sunrpc/xdr_rec.c: Likewise.
49205         * sunrpc/xdr_ref.c: Likewise.
49206         * sunrpc/xdr_sizeof.c: Likewise.
49207         * sunrpc/xdr_stdio.c: Likewise.
49209 2012-05-10  Roland McGrath  <roland@hack.frob.com>
49211         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
49212         change.  Update copyright years.
49214 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
49216         * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
49218 2012-05-10  Maxim Kuvyrkov  <maxim@codesourcery.com>
49219             Joseph Myers  <joseph@codesourcery.com>
49220             Paul Pluzhnikov  <ppluzhnikov@google.com>
49222         [BZ #14012]
49223         * sunrpc/Makefile [cross-compiling] (headers): Enable additions
49224         requiring rpcgen.
49225         [cross-compiling] (extra-libs): Likewise.
49226         [cross-compiling] (extra-libs-others): Likewise.
49227         [cross-compiling] (librpcsvc-routines): Likewise.
49228         [cross-compiling] (librpcsvc-inhibit-o): Likewise.
49229         [cross-compiling] (omit-deps): Likewise.
49230         (sunrpc-CPPFLAGS): New variable.
49231         (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
49232         (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
49233         (cross-rpcgen-objs): New variable.
49234         (extra-objs): Append $(cross-rpcgen-objs).
49235         ($(cross-rpcgen-objs)): New rule.
49236         ($(objpfx)cross-rpcgen): Likewise.
49237         (rpcgen-cmd): Define to use $(built-program-file).  Expand
49238         comment.
49239         ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
49240         ($(objpfx)x%.stmp): Likewise.
49241         * sunrpc/proto.h [IS_IN_build] (_): Define.
49242         [IS_IN_build] (_libc_intl_domainname): Likewise.
49244 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
49246         * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
49247         Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
49248         and R_X86_64_TPOFF64.
49250 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
49252         * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
49253         sysdeps/unix/sysv/syscalls.list.
49254         (stime): Likewise.
49255         (utime): Likewise.
49256         * sysdeps/unix/sysv/syscalls.list: Remove file.
49258 2012-05-10  Paul Eggert  <eggert@cs.ucla.edu>
49260         [BZ #3440]
49261         * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
49262         (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
49263         (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
49264         (__LC_IDENTIFICATION): Make these macros useful in #if
49265         expressions, as required by C99.
49267 2012-05-10  Andreas Schwab  <schwab@linux-m68k.org>
49269         * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
49270         $(addsuffix .os,$(rpc-compat-routines)).  Move include ../Rules
49271         after this.
49273 2012-05-09  H.J. Lu  <hongjiu.lu@intel.com>
49275         * stdlib/longlong.h: Updated from GCC.
49277 2012-05-09  Andreas Jaeger  <aj@suse.de>
49279         * nscd/nscd.c (run_modes): Make named enum, reorder so that
49280         default is first entry.
49281         (run_mode): Set type.
49282         (main): Remove informal message about syslog.
49283         (options): Fix typo.
49285         [BZ #14053]
49286         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
49287         to asm.
49288         (lrint): Likewise.
49289         (llrintf): Likewise.
49290         (llrint): Likewise.
49291         (rint): Likewise.
49292         (rintf): Likewise.
49293         (nearbyint): Likewise.
49294         (nearbyintf): Likewise.
49296 2012-05-09  Andreas Jaeger  <aj@suse.de>
49297             Pedro Alves  <palves@redhat.com>
49299         * nscd/nscd.c (run_mode): Use enum.
49300         (main): Cleanup coding style issue.
49302 2012-05-09  Alexandre Oliva  <aoliva@redhat.com>
49303             Andreas Jaeger  <aj@suse.de>
49305         * nscd/nscd.c (go_background): Replaced with...
49306         (run_mode): ... this.
49307         (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
49308         (options): Add -F --foreground.
49309         (main): Implement it.
49310         (parse_opt): Parse it.
49312 2012-05-09  Andreas Jaeger  <aj@suse.de>
49314         [BZ #14083]
49315         * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
49316         !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
49317         -Wconversion warning.
49318         (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
49319         Likewise.
49321 2012-05-09  Joseph Myers  <joseph@codesourcery.com>
49323         * conform/data/locale.h-data (NULL): Use macro-constant.  Require
49324         == 0.
49325         (LC_ALL): Use macro-int-constant.
49326         (LC_COLLATE): Likewise.
49327         (LC_CTYPE): Likewise.
49328         (LC_MESSAGES): Likewise.
49329         (LC_MONETARY): Likewise.
49330         (LC_NUMERIC): Likewise.
49331         (LC_TIME): Likewise.
49332         [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
49333         (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
49334         [ISO || ISO99 || ISO11] (*_t): Do not allow.
49335         * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
49336         Specify type.
49337         [C99-based standards] (float_t): Expect type.
49338         [C99-based standards] (double_t): Expect type.
49339         [C99-based standards] (HUGE_VALF): Use macro-constant.  Specify
49340         type.
49341         [C99-based standards] (HUGE_VALL): Likewise.
49342         [C99-based standards] (INFINITY): Likewise.
49343         [C99-based standards] (NAN): Likewise.
49344         [C99-based standards] (FP_INFINITE): Use macro-int-constant.
49345         [C99-based standards] (FP_NAN): Likewise.
49346         [C99-based standards] (FP_NORMAL): Likewise.
49347         [C99-based standards] (FP_SUBNORMAL): Likewise.
49348         [C99-based standards] (FP_ZERO): Likewise.
49349         [C99-based standards] (FP_FAST_FMA): Use
49350         optional-macro-int-constant.  Specify type.  Require == 1.
49351         [C99-based standards] (FP_FAST_FMAF): Likewise.
49352         [C99-based standards] (FP_FAST_FMAL): Likewise.
49353         [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
49354         [C99-based standards] (FP_ILOGBNAN): Likewise.
49355         [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
49356         Specify type.
49357         [C99-based standards] (MATH_ERREXCEPT): Likewise.
49358         [C99-based standards] (math_errhandling): Specify type.
49359         [ISO99 || ISO11] (signgam): Do not allow.
49360         [non-C99-based standards] (copysignf): Do not allow.
49361         [non-C99-based standards] (exp2f): Likewise.
49362         [non-C99-based standards] (log2f): Likewise.
49363         [non-C99-based standards] (modff): Allow.
49364         [non-C99-based standards] (erff): Do not allow.
49365         [non-C99-based standards] (erfcf): Likewise.
49366         [non-C99-based standards] (gammaf): Likewise.
49367         [non-C99-based standards] (hypotf): Likewise.
49368         [non-C99-based standards] (j0f): Likewise.
49369         [non-C99-based standards] (j1f): Likewise.
49370         [non-C99-based standards] (jnf): Likewise.
49371         [non-C99-based standards] (lgammaf): Likewise.
49372         [non-C99-based standards] (tgammaf): Likewise.
49373         [non-C99-based standards] (y0f): Likewise.
49374         [non-C99-based standards] (y1f): Likewise.
49375         [non-C99-based standards] (ynf): Likewise.
49376         [non-C99-based standards] (isnanf): Likewise.
49377         [non-C99-based standards] (acoshf): Likewise.
49378         [non-C99-based standards] (asinhf): Likewise.
49379         [non-C99-based standards] (atanhf): Likewise.
49380         [non-C99-based standards] (cbrtf): Likewise.
49381         [non-C99-based standards] (expm1f): Likewise.
49382         [non-C99-based standards] (ilogbf): Likewise.
49383         [non-C99-based standards] (log1pf): Likewise.
49384         [non-C99-based standards] (logbf): Likewise.
49385         [non-C99-based standards] (nextafterf): Likewise.
49386         [non-C99-based standards] (remainderf): Likewise.
49387         [non-C99-based standards] (rintf): Likewise.
49388         [non-C99-based standards] (scalbf): Likewise.
49389         [non-C99-based standards] (copysignl): Likewise.
49390         [non-C99-based standards] (exp2l): Likewise.
49391         [non-C99-based standards] (log2l): Likewise.
49392         [non-C99-based standards] (modfl): Allow.
49393         [non-C99-based standards] (erfl): Do not allow.
49394         [non-C99-based standards] (erfcl): Likewise.
49395         [non-C99-based standards] (gammal): Likewise.
49396         [non-C99-based standards] (hypotl): Likewise.
49397         [non-C99-based standards] (j0l): Likewise.
49398         [non-C99-based standards] (j1l): Likewise.
49399         [non-C99-based standards] (jnl): Likewise.
49400         [non-C99-based standards] (lgammal): Likewise.
49401         [non-C99-based standards] (tgammal): Likewise.
49402         [non-C99-based standards] (y0l): Likewise.
49403         [non-C99-based standards] (y1l): Likewise.
49404         [non-C99-based standards] (ynl): Likewise.
49405         [non-C99-based standards] (isnanl): Likewise.
49406         [non-C99-based standards] (acoshl): Likewise.
49407         [non-C99-based standards] (asinhl): Likewise.
49408         [non-C99-based standards] (atanhl): Likewise.
49409         [non-C99-based standards] (cbrtl): Likewise.
49410         [non-C99-based standards] (expm1l): Likewise.
49411         [non-C99-based standards] (ilogbl): Likewise.
49412         [non-C99-based standards] (log1pl): Likewise.
49413         [non-C99-based standards] (logbl): Likewise.
49414         [non-C99-based standards] (nextafterl): Likewise.
49415         [non-C99-based standards] (remainderl): Likewise.
49416         [non-C99-based standards] (rintl): Likewise.
49417         [non-C99-based standards] (scalbl): Likewise.
49418         [ISO || ISO99 || ISO11] (*_t): Do not allow.
49419         [non-C99-based standards] (FP_*): Do not allow.
49420         [C99-based standards] (FP_*): Change to
49421         FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
49422         * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
49423         allow.
49424         * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
49425         (SIG_ERR): Likewise.
49426         [X/Open-based standards] (SIG_HOLD): Likewise.
49427         (SIG_IGN): Likewise.
49428         (SIGABRT): Use macro-int-constant.  Specify type.  Require
49429         positive value.
49430         (SIGFPE): Likewise.
49431         (SIGILL): Likewise.
49432         (SIGINT): Likewise.
49433         (SIGSEGV): Likewise.
49434         (SIGTER): Likewise.
49435         [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
49436         [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
49437         [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
49438         [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
49439         [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
49440         [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
49441         [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
49442         [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
49443         [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
49444         [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
49445         [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
49446         [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
49447         [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
49448         [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
49449         [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
49450         [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
49451         [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
49452         [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
49453         [X/Open-based standards] (SIGTRAP): Likewise.
49454         [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
49455         [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
49456         [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
49457         [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
49458         * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
49459         allow.
49461 2012-05-08  Ian Wienand  <ianw@vmware.com>
49463         [BZ #14080]
49464         * time/tzset.c (__tzset_parse_tz): Update default rules for
49465         daylight time changes in the Energy Policy Act of 2005.
49467 2012-05-09  Andreas Jaeger  <aj@suse.de>
49469         [BZ #13983]
49470         * elf/ldconfig.c (parse_conf): Change string to make clear that
49471         ldconfig only issued a warning if ld.so.conf does not exist.
49473 2012-05-08  David S. Miller  <davem@davemloft.net>
49475         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
49476         movxtod instead of popping the value on the stack.
49478         * sysdeps/sparc/fpu/libm-test-ulps: Update.
49480 2012-05-08  Carlos O'Donell  <carlos_odonell@mentor.com>
49482         * config.h.in: Add HAVE_ARM_PCS_VFP.
49484 2012-05-08  Roland Mc Grath  <roland@hack.frob.com>
49486         [BZ #13979]
49487         * include/features.h: Warn if user requests __FORTIFY_SOURCE
49488         checking but the checks are disabled for any reason.
49490 2012-05-08  H.J. Lu  <hongjiu.lu@intel.com>
49492         * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
49493         and ELF64_R_TYPE with ELFW(R_TYPE).
49495 2012-05-08  Joseph Myers  <joseph@codesourcery.com>
49497         * sysdeps/unix/sysv/syscalls.list (pause): Remove.
49498         (ulimit): Likewise.
49500         * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
49501         (settimeofday): Likewise.
49503 2012-05-08  Mike Frysinger  <vapier@gentoo.org>
49505         * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1.  Add
49506         a struct th_u2 inside the union, and move tu_block/tu_code into
49507         a new th_u3 union of tu_block/tu_code inside of that.  Move
49508         th_data[1] into the th_u2 as tu_data[0].  Change tu_stuff[1] to
49509         tu_stuff[0].  Add a new tu_padding[4] to keep sizeof() the same.
49510         (th_block): Change to th_u1.th_u2.th_u3.tu_block.
49511         (th_code): Change to th_u1.th_u2.th_u3.tu_code.
49512         (th_stuff): Change to th_u1.tu_stuff.
49513         (th_data): Define.
49514         (th_msg): Change to th_u1.th_u2.tu_data.
49516 2012-05-07  David S. Miller  <davem@davemloft.net>
49518         * sysdeps/sparc/fpu/libm-test-ulps: Update.
49520         [BZ #14074]
49521         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
49522         (SETUP_PIC_REG): Use it.
49523         (SETUP_PIC_REG_LEAF): Use it.
49525 2012-05-07  Joseph Myers  <joseph@codesourcery.com>
49527         [BZ #13885]
49528         [BZ #13923]
49529         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
49530         USE_AS_EXPM1L.
49531         (EXPL_FINITE): Likewise.
49532         (FLDLOG): Likewise.
49533         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
49534         * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
49535         e_expl.S.
49536         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
49537         USE_AS_EXPM1L.
49538         (EXPL_FINITE): Likewise.
49539         (FLDLOG): Likewise.
49540         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
49541         * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
49542         e_expl.S.
49543         * math/libm-test.inc (expm1_test): Add more tests.  Do not disable
49544         test of -max_value argument for long double.
49545         * sysdeps/i386/fpu/libm-test-ulps: Update.
49546         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49548 2012-05-06  David S. Miller  <davem@davemloft.net>
49550         * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
49551         quad soft-float symbols whose references which are compiler
49552         generated.
49553         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
49555 2012-05-06  Joseph Myers  <joseph@codesourcery.com>
49557         [BZ #13884]
49558         [BZ #13914]
49559         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
49560         USE_AS_EXP10L.
49561         (EXPL_FINITE): Likewise.
49562         (FLDLOG): Likewise.
49563         (c0): Likewise.
49564         (c1): Likewise.
49565         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
49566         Adjust comments for base varying.
49567         (__expl_finite): Change alias to EXPL_FINITE.
49568         * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
49569         e_expl.S.
49570         * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
49571         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
49572         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
49573         * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
49574         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
49575         USE_AS_EXP10L.
49576         (EXPL_FINITE): Likewise.
49577         (FLDLOG): Likewise.
49578         (c0): Likewise.
49579         (c1): Likewise.
49580         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
49581         Adjust comments for base varying.
49582         (__expl_finite): Change alias to EXPL_FINITE.
49583         * math/libm-test.inc (exp10_test): Add more tests.  Do not disable
49584         tests for bugs.
49585         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
49587         [BZ #14064]
49588         * math/libm-test.inc (check_float_internal): Correct ulp
49589         calculation for subnormal expected results.
49591 2012-05-06  Andreas Jaeger  <aj@suse.de>
49593         * Makeconfig (+math-flags): New, set to -frounding-math.
49594         (+cflags): Add +math-flags so that all of glibc gets compiled with
49595         it.
49597         * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
49599 2012-05-05  Joseph Myers  <joseph@codesourcery.com>
49601         * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
49602         Disable one test.
49604         [BZ #13787]
49605         [BZ #13922]
49606         [BZ #14036]
49607         * sysdeps/i386/fpu/e_expl.S (csat): New constant.
49608         (__ieee754_expl): Allow for and saturate large arguments.
49609         * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
49610         (u_threshold): Likewise.
49611         (__exp): Call __ieee754_exp before checking for overflow and
49612         underflow.
49613         * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
49614         (u_threshold): Likewise.
49615         (__expf): Call __ieee754_expf before checking for overflow and
49616         underflow.
49617         * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
49618         (u_threshold): Likewise.
49619         (__expl): Call __ieee754_expl before checking for overflow and
49620         underflow.
49621         * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
49622         (__ieee754_expl): Allow for and saturate large arguments.
49623         * math/libm-test.inc (exp_test): Add another test.  Do not allow
49624         missing overflow exception on overflow.
49625         (expm1_test): Do not allow missing overflow exception on overflow.
49627         * sysdeps/i386/fpu/e_expl.c: Move to ...
49628         * sysdeps/i386/fpu/e_expl.S: ... here.  Write directly in assembly
49629         rather than using inline asm.
49630         * sysdeps/x86_64/fpu/e_expl.c: Remove file.
49631         * sysdeps/x86_64/fpu/e_expl.S: Copy from
49632         sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
49634         * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
49635         (nice): Likewise.
49636         (poll): Likewise.
49637         (signal): Likewise.
49638         (time): Likewise.
49639         (times): Likewise.
49641 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
49643         * sysdeps/unix/syscalls.list (adjtime): Add entry from
49644         sysdeps/unix/common/syscalls.list.
49645         (fchmod): Likewise.
49646         (fchown): Likewise.
49647         (ftruncate): Likewise.
49648         (getrusage): Likewise.
49649         (gettimeofday): Likewise.
49650         (setpgid): Likewise.
49651         (setregid): Likewise.
49652         (setreuid): Likewise.
49653         (sigaction): Likewise.
49654         (truncate): Likewise.
49655         (vhangup): Likewise.
49656         * sysdeps/unix/common/syscalls.list: Remove file.
49657         * sysdeps/unix/bsd/Implies: Don't include unix/common.
49658         * sysdeps/unix/sysv/linux/Implies: Likewise.
49660 2012-05-04  H.J. Lu  <hongjiu.lu@intel.com>
49662         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
49663         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
49664         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
49665         Moved to ...
49666         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
49667         Here.
49668         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
49669         to ...
49670         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
49671         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
49672         to ...
49673         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
49674         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
49675         to ...
49676         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
49677         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
49678         to ...
49679         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
49680         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
49681         to ...
49682         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
49683         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
49684         to ...
49685         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
49686         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
49687         to ...
49688         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
49689         Here.
49690         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
49691         to ...
49692         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
49693         Here.
49694         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
49695         to ...
49696         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
49697         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
49698         Moved to ...
49699         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
49700         Here.
49701         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
49702         to ...
49703         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
49705 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
49707         * sysdeps/unix/common/bits/dirent.h: Remove file.
49708         * sysdeps/unix/common/bits/fcntl.h: Likewise.
49710         * sysdeps/unix/bsd/bits/dirent.h: Remove file.
49711         * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
49712         * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
49713         * sysdeps/unix/bsd/isatty.c: Likewise.
49714         * sysdeps/unix/bsd/tcdrain.c: Likewise.
49715         * sysdeps/unix/bsd/tcgetattr.c: Likewise.
49716         * sysdeps/unix/bsd/tcsetattr.c: Likewise.
49718 2012-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
49720         [BZ #13563]
49721         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
49722         long double comparison inaccuracies.
49723         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
49724         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
49726 2012-05-04  Andreas Schwab  <schwab@linux-m68k.org>
49728         * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
49729         * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
49731 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
49733         [BZ #14049]
49734         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
49735         nonzero digits before rounding a hex value.
49736         * stdlib/tst-strtod.c (tests): Add another test.
49738 2012-05-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
49740         * sysdeps/s390/fpu/libm-test-ulps: Update.
49742 2012-05-03  Andreas Jaeger  <aj@suse.de>
49744         * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
49745         does not get optimized out.
49746         (malloc_opt_barrier): New.
49748 2012-05-03  Andreas Jaeger  <aj@suse.de>
49749             Roland McGrath  <roland@hack.frob.com>
49751         * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
49752         intermediate file deletion.
49753         (generated): Add .symlist files.
49755 2012-05-03  Joseph Myers  <joseph@codesourcery.com>
49757         [BZ #13775]
49758         * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
49759         Redirect under this condition.
49760         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
49761         [__USE_GNU] (__dprintf_chk): Not under this condition.
49762         [__USE_GNU] (__vdprintf_chk): Likewise.
49763         * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
49764         under this condition.
49765         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
49766         [__USE_XOPEN2K8] (dprintf): Define under this condition.
49767         [__USE_XOPEN2K8] (vdprintf): Likewise.
49768         [__USE_GNU] (__dprintf_chk): Not under this condition.
49769         [__USE_GNU] (__vdprintf_chk): Likewise.
49770         [__USE_GNU] (dprintf): Likewise.
49771         [__USE_GNU] (vdprintf): Likewise.
49773 2012-05-03  Roland McGrath  <roland@hack.frob.com>
49775         * elf/Makefile (common-generated): Set this instead of generated for
49776         .dyn, .phdr, .jmprel files.  Remove $(common-objpfx) from the
49777         $(all-built-dso)-derived lists.
49779 2012-05-03  Andreas Jaeger  <aj@suse.de>
49781         * sysdeps/i386/fpu/libm-test-ulps: Update.
49783         * FAQ: Removed.
49784         * FAQ.in: Likewise.
49785         * scripts/gen-FAQ.pl: Likewise.
49786         * manual/install.texi (Installation): Point to online location of
49787         FAQ.
49788         * Makefile (files-for-dist): Remove FAQ.
49789         (FAQ): Remove.
49791 2012-05-02  Allan McRae  <allan@archlinux.org>
49793         * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
49794         (LDFLAGS-reldepmod5.so): Likewise.
49795         (LDFLAGS-reldep6mod1.so): Likewise.
49796         (LDFLAGS-reldep6mod4.so): Likewise.
49797         (LDFLAGS-reldep8mod3.so): Likewise.
49798         (LDFLAGS-unload4mod1.so): Likewise.
49799         (LDFLAGS-unload4mod2.so): Likewise.
49800         (LDFLAGS-tst-initorder): Likewise.
49801         (LDFLAGS-tst-initordera2.so): Likewise.
49802         (LDFLAGS-tst-initordera3.so): Likewise.
49803         (LDFLAGS-tst-initordera4.so): Likewise.
49804         (LDFLAGS-tst-initorderb2.so): Likewise.
49805         (LDFLAGS-noload): Likewise.
49806         (LDFLAGS-next): Likewise.
49807         (LDFLAGS-order2mod1.so): Likewise.
49808         (LDFLAGS-order2mod2.so): Likewise.
49809         (LDFLAGS-tst-initorder2): Likewise.
49810         (LDFLAGS-tst-initorder2a.so): Likewise.
49811         (LDFLAGS-tst-initorder2b.so): Likewise.
49812         (LDFLAGS-tst-initorder2c.so): Likewise.
49813         * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
49815 2012-05-02  David S. Miller  <davem@davemloft.net>
49817         * sysdeps/sparc/fpu/libm-test-ulps: Update.
49819 2012-05-02  Paul Pluzhnikov  <ppluzhnikov@google.com>
49821         [BZ #14055]
49822         * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
49824 2012-05-02  Andreas Jaeger  <aj@suse.de>
49826         * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
49827         since we manipulate rounding mode.
49828         (CPPFLAGS-test-idouble.c): Likewise.
49829         (CPPFLAGS-test-ifloat.c): Likewise.
49830         (CFLAGS-test-ldouble.c): Likewise.
49831         (CFLAGS-test-double.c): Likewise.
49832         (CFLAGS-test-float.c): Likewise.
49833         (CFLAGS-test-misc.c): Likewise.
49834         (CFLAGS-test-test-fenv.c): Likewise.
49836 2012-05-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
49838         [BZ #2550]
49839         [BZ #2570]
49840         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
49841         comparisons to determine direction to adjust input.
49843 2012-05-01  Roland McGrath  <roland@hack.frob.com>
49845         * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
49846         output to the target.
49848         * scripts/localplt.awk: New file.
49849         * elf/Makefile ($(objpfx)check-localplt): Target removed.
49850         (check-localplt-CFLAGS): Variable removed.
49851         ($(all-built-dso:=.jmprel)): New static pattern rule.
49852         (generated): Add those targets.
49853         (localplt-built-dso): New variable.
49854         ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
49856         * elf/check-localplt.c: File removed.
49858         * scripts/check-execstack.awk: New file.
49859         * elf/Makefile ($(objpfx)check-execstack): Target removed.
49860         (check-execstack-CFLAGS): Variable removed.
49861         ($(objpfx)check-execstack.h): Target removed.
49862         ($(objpfx)execstack-default): New target.
49863         (generated): Add that instead of check-execstack.h.
49864         ($(all-built-dso:=.phdr)): New static pattern rule.
49865         (generated): Add those targets.
49866         * elf/check-execstack.c: File removed.
49868         * scripts/check-textrel.awk: New file.
49869         * elf/Makefile ($(objpfx)check-textrel): Target removed.
49870         (check-textrel-CFLAGS): Variable removed.
49871         (all-built-dso): Use := to define.o
49872         ($(all-built-dso:=.dyn)): New static pattern rule.
49873         (generated): Add those targets.
49874         ($(objpfx)check-textrel.out): Use the script on the .dyn files.
49875         * config.make.in (READELF): New substituted variable.
49876         * elf/check-textrel.c: File removed.
49878 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
49880         * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
49881         allow.
49882         * conform/data/ctype.h-data [C99-based standards] (isblank):
49883         Expect function.
49884         (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
49885         (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
49886         [ISO || ISO99 || ISO11] (*_t): Do not allow.
49887         * conform/data/errno.h-data (EDOM): Use macro-int-constant.
49888         Specify type.  Require positive value.
49889         (EILSEQ): Likewise.
49890         (ERANGE): Likewise.
49891         [ISO || POSIX] (EILSEQ): Do not expect.
49892         [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
49893         Specify type.  Require positive value.
49894         [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
49895         [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
49896         [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
49897         [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
49898         [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
49899         [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
49900         [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
49901         [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
49902         [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
49903         [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
49904         [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
49905         [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
49906         [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
49907         [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
49908         [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
49909         [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
49910         [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
49911         [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
49912         [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
49913         [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
49914         [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
49915         [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
49916         [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
49917         [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
49918         [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
49919         [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
49920         [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
49921         [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
49922         [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
49923         [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
49924         [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
49925         [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
49926         [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
49927         [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
49928         [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
49929         [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
49930         [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
49931         [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
49932         [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
49933         [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
49934         [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
49935         [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
49936         [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
49937         [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
49938         [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
49939         [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
49940         [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
49941         [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
49942         [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
49943         [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
49944         [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
49945         [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
49946         [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
49947         [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
49948         [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
49949         [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
49950         [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
49951         [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
49952         [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
49953         [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
49954         [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
49955         [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
49956         [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
49957         [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
49958         [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
49959         [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
49960         [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
49961         [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
49962         [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
49963         [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
49964         [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
49965         [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
49966         [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
49967         [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
49968         [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
49969         [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
49970         * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
49971         Require >= 2.
49972         (FLT_ROUNDS): Expect as macro, not constant.
49973         (FLT_MANT_DIG): Use macro-int-constant.
49974         (DBL_MANT_DIG): Likewise.
49975         (LDBL_MANT_DIG): Likewise.
49976         (FLT_DIG): Likewise.
49977         (DBL_DIG): Likewise.
49978         (LDBL_DIG): Likewise.
49979         (FLT_MIN_EXP): Use macro-int-constant.  Require < 0.
49980         (DBL_MIN_EXP): Likewise.
49981         (LDBL_MIN_EXP): Likewise.
49982         (FLT_MAX_EXP): Use macro-int-constant.
49983         (DBL_MAX_EXP): Likewise.
49984         (LDBL_MAX_EXP): Likewise.
49985         (FLT_MAX_10_EXP): Likewise.
49986         (DBL_MAX_10_EXP): Likewise.
49987         (LDBL_MAX_10_EXP): Likewise.
49988         (FLT_MAX): Use macro-constant.
49989         (DBL_MAX): Likewise.
49990         (LDBL_MAX): Likewise.
49991         (FLT_EPSILON): Use macro-constant.  Give upper bound.
49992         (DBL_EPSILON): Likewise.
49993         (LDBL_EPSILON): Likewise.
49994         (FLT_MIN): Likewise.
49995         (DBL_MIN): Likewise.
49996         (LDBL_MIN): Likewise.
49997         [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
49998         [C99-based standards] (FLT_EVAL_METHOD): Likewise.
49999         [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
50000         [ISO11] (FLT_HAS_SUBNORM): Likewise.
50001         [ISO11] (LDBL_HAS_SUBNORM): Likewise.
50002         [ISO11] (DBL_DECIMAL_DIG): Likewise.
50003         [ISO11] (FLT_DECIMAL_DIG): Likewise.
50004         [ISO11] (LDBL_DECIMAL_DIG): Likewise.
50005         [ISO11] (DBL_TRUE_MIN): Use macro-constant.
50006         [ISO11] (FLT_TRUE_MIN): Likewise.
50007         [ISO11] (LDBL_TRUE_MIN): Likewise.
50008         [ISO || ISO99 || ISO11] (*_t): Do not allow.
50009         * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
50010         (SCHAR_MIN): Use macro-int-constant.  Specify type.
50011         (SCHAR_MAX): Likewise.
50012         (UCHAR_MAX): Likewise.
50013         (CHAR_MIN): Likewise.
50014         (CHAR_MAX): Likewise.
50015         (MB_LEN_MAX): Use macro-int-constant.
50016         (SHRT_MIN): Use macro-int-constant.  Specify type.
50017         (SHRT_MAX): Likewise.
50018         (USHRT_MAX): Likewise.
50019         (INT_MAX): Likewise.
50020         (INT_MIN): Use macro-int-constant.  Specify type.  Make upper
50021         bound negative.
50022         (UINT_MAX): Use macro-int-constant.  Specify type.  Suffix lower
50023         bound with "U".
50024         (LONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
50025         bound with "L".
50026         (LONG_MIN): Use macro-int-constant.  Specify type.  Make upper
50027         bound negative.  Suffix upper bound with "L".
50028         (ULONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
50029         bound with "UL".
50030         [C99-based standards] (LLONG_MIN): Use macro-int-constant.
50031         Specify type.
50032         [C99-based standards] (LLONG_MAX): Likewise.
50033         [C99-based standards] (ULLONG_MAX): Likewise.
50034         * conform/data/stddef.h-data (NULL): Use macro-constant.  Require
50035         == 0.
50036         [ISO11] (max_align_t): Require type.
50037         [ISO || ISO99 || ISO11] (*_t): Do not allow.
50039         * conform/conformtest.pl ($CFLAGS_namespace): Define separately
50040         from $CFLAGS, without defining away __attribute__ calls.
50041         (checknamespace): Use $CFLAGS_namespace.
50043         * conform/conformtest.pl (@keywords): Only include C99 keywords
50044         for standards based on C99 or C11.
50046         * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
50047         Disable tests.
50048         * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
50049         UNIX98]: Likewise.
50051         * conform/conformtest.pl: Handle "macro-int-constant" and test for
50052         usability of symbols in #if.
50054         * conform/conformtest.pl: If macro or constant types start
50055         "promoted:", expect the symbol to be of the following type
50056         promoted by the integer promotions.
50058         * conform/conformtest.pl: Parse all "constant" and "macro" lines
50059         in one place.  Also handle "macro-constant".
50061         * conform/conformtest.pl: Only accept expected macro values with
50062         "==".  Parse all "macro" lines in one place.
50063         * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
50065         * conform/conformtest.pl: Handle braced types on "constant" lines
50066         instead of handling "typed-constant".
50067         * conform/data/signal.h-data: Use "constant" instead of
50068         "typed-constant".
50070         * conform/conformtest.pl: Handle "optional-" at start of lines in
50071         one place rather than duplicating several cases.  Handle each
50072         format of "macro" line with initial "optional-".
50074         * conform/conformtest.pl: Only accept expected constant or
50075         optional-constant values with "==".  Parse all "constant" lines in
50076         one place.  Parse all "optional-constant" lines in one place.
50077         * conform/data/cpio.h-data: Use "==" form on "constant" lines.
50078         * conform/data/fmtmsg.h-data: Likewise.
50079         * conform/data/netinet/in.h-data: Likewise.
50080         * conform/data/tar.h-data: Likewise.
50081         * conform/data/limits.h-data: Use "==" form on "constant" and
50082         "optional-constant" lines.
50084         * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
50085         Use -std=c99 for XOPEN2K.
50086         (@knownproblems): Remove.
50087         (newtoken): Don't check %isknown.
50089         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
50090         Do not expect macro.
50091         [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
50092         [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
50093         [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
50094         [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
50095         [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
50096         [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
50097         [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
50098         [XPG3 || XPG4 || UNIX98] (isless): Likewise.
50099         [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
50100         [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
50101         [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
50102         [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
50103         [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
50104         [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
50105         [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
50106         [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
50107         [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
50108         [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
50109         [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
50110         [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
50111         [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
50112         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
50113         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
50114         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
50115         [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
50116         [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
50117         [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
50118         [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
50119         [XPG3 || XPG4 || UNIX98] (log2): Likewise.
50120         [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
50121         [XPG3] (acosh): Likewise.
50122         [XPG3] (asinh): Likewise.
50123         [XPG3] (atanh): Likewise.
50124         [XPG3] (cbrt): Likewise.
50125         [XPG3] (expm1): Likewise.
50126         [XPG3] (ilogb): Likewise.
50127         [XPG3] (log1p): Likewise.
50128         [XPG3] (logb): Likewise.
50129         [XPG3] (nextafter): Likewise.
50130         [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
50131         [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
50132         [XPG3] (remainder): Likewise.
50133         [XPG3] (rint): Likewise.
50134         [XPG3 || XPG4 || UNIX98] (round): Likewise.
50135         [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
50136         [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
50137         [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
50138         [XPG3 || XPG4 || UNIX98] (lround): Likewise.
50139         [XPG3 || XPG4 || UNIX98] (llround): Likewise.
50140         [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
50141         [UNIX98 || XOPEN2K] (scalb): Expect.
50142         [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
50143         [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
50144         [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
50145         [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
50146         [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
50147         [XPG3 || XPG4 || UNIX98] (fma): Likewise.
50148         [XPG3 || XPG4 || UNIX98] (nan): Likewise.
50149         [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
50150         [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
50151         [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
50152         [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
50153         [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
50154         [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
50155         [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
50156         [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
50157         [XPG3 || XPG4 || UNIX98] (expf): Likewise.
50158         [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
50159         [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
50160         [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
50161         [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
50162         [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
50163         [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
50164         [XPG3 || XPG4 || UNIX98] (logf): Likewise.
50165         [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
50166         [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
50167         [XPG3 || XPG4 || UNIX98] (modff): Likewise.
50168         [XPG3 || XPG4 || UNIX98] (powf): Likewise.
50169         [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
50170         [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
50171         [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
50172         [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
50173         [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
50174         [XPG3 || XPG4 || UNIX98] (erff): Likewise.
50175         [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
50176         [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
50177         [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
50178         [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
50179         [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
50180         [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
50181         [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
50182         [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
50183         [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
50184         [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
50185         [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
50186         [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
50187         [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
50188         [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
50189         [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
50190         [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
50191         [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
50192         [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
50193         [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
50194         [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
50195         [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
50196         [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
50197         [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
50198         [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
50199         [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
50200         [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
50201         [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
50202         [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
50203         [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
50204         [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
50205         [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
50206         [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
50207         [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
50208         [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
50209         [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
50210         [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
50211         [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
50212         [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
50213         [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
50214         [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
50215         [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
50216         [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
50217         [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
50218         [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
50219         [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
50220         [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
50221         [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
50222         [XPG3 || XPG4 || UNIX98] (expl): Likewise.
50223         [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
50224         [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
50225         [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
50226         [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
50227         [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
50228         [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
50229         [XPG3 || XPG4 || UNIX98] (logl): Likewise.
50230         [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
50231         [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
50232         [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
50233         [XPG3 || XPG4 || UNIX98] (powl): Likewise.
50234         [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
50235         [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
50236         [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
50237         [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
50238         [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
50239         [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
50240         [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
50241         [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
50242         [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
50243         [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
50244         [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
50245         [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
50246         [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
50247         [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
50248         [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
50249         [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
50250         [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
50251         [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
50252         [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
50253         [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
50254         [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
50255         [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
50256         [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
50257         [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
50258         [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
50259         [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
50260         [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
50261         [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
50262         [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
50263         [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
50264         [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
50265         [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
50266         [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
50267         [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
50268         [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
50269         [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
50270         [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
50271         [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
50272         [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
50273         [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
50274         [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
50275         [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
50276         [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
50277         [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
50278         [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
50280         * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
50281         _XOPEN_SOURCE_EXTENDED for XPG4.
50283         * conform/conformtest.pl: Handle "symbol" lines for allow-header.
50285         * Makeconfig (localtime): Remove variable.
50286         (inst_localtime-file): Likewise.
50288 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
50290         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
50291         Update.
50292         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
50293         Update.
50294         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
50295         Update.
50296         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
50297         Update.
50298         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
50299         Update.
50300         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
50301         Update.
50302         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
50303         Update.
50304         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
50305         Update.
50306         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
50307         Update.
50309 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
50311         [BZ #2550]
50312         [BZ #2570]
50313         * math/s_nexttowardf.c (__nexttowardf): Use floating-point
50314         comparisons to determine direction to adjust input.
50315         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
50316         * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
50317         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
50318         Likewise.
50319         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
50320         Likewise.
50321         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
50322         Likewise.
50323         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
50324         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
50325         Likewise.
50326         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
50327         Likewise.
50328         * math/libm-test.inc (nexttoward_test): Add more tests.
50330 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
50332         [BZ #14040]
50333         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
50334         in version GLIBC_2.1, not GLIBC_2.0.
50335         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
50336         Likewise.
50338 2012-04-30  Joseph Myers  <joseph@codesourcery.com>
50340         [BZ #13942]
50341         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
50342         (1 - x) * (1 + x).
50343         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
50344         * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
50345         * math/libm-test.inc (acos_test): Add more tests.
50346         (asin_test): Likewise.
50347         * sysdeps/i386/fpu/libm-test-ulps: Update.
50348         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
50350         [BZ #14034]
50351         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
50352         of square root.
50353         * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
50354         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
50355         * math/libm-test.inc (acos_test_tonearest): New function.
50356         (acos_test_towardzero): Likewise.
50357         (acos_test_downward): Likewise.
50358         (acos_test_upward): Likewise.
50359         (asin_test_tonearest): Likewise.
50360         (asin_test_towardzero): Likewise.
50361         (asin_test_downward): Likewise.
50362         (asin_test_upward): Likewise.
50363         (main): Call the new functions.
50364         * sysdeps/i386/fpu/libm-test-ulps: Update.
50365         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
50367         [BZ #13884]
50368         [BZ #13924]
50369         * math/e_exp10.c: Include <float.h>.
50370         (__ieee754_exp10): Handle underflow here rather than multiplying
50371         large negative argument by M_LN10.
50372         * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
50373         of __ieee754_expf.
50374         * math/e_exp10l.c: Include <float.h>.
50375         (__ieee754_exp10l): Handle underflow here rather than multiplying
50376         large negative argument by M_LN10l.
50377         * math/libm-test.inc (exp10_test): Add another test.  Do not allow
50378         spurious overflow exception on underflow.
50380 2012-04-29  Marek Polacek  <polacek@redhat.com>
50382         * misc/sys/cdefs.h (__attribute_artificial__): New macro.
50383         (__fortify_function): New macro.
50384         (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
50385         * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
50386         __extern_always_inline.
50387         * libio/bits/stdio2.h: Likewise.
50388         * libio/bits/stdio.h: Likewise.
50389         * string/string.h: Likewise.
50390         * string/bits/string3.h: Likewise.
50391         * include/stdio.h: Likewise.
50392         * stdlib/bits/stdlib.h: Likewise.
50393         * stdlib/stdlib.h: Likewise.
50394         * rt/bits/mqueue2.h: Likewise.
50395         * rt/mqueue.h: Likewise.
50396         * posix/bits/unistd.h: Likewise.
50397         * posix/unistd.h: Likewise.
50398         * io/bits/poll2.h: Likewise.
50399         * io/bits/fcntl2.h: Likewise.
50400         * io/fcntl.h: Likewise.
50401         * io/sys/poll.h: Likewise.
50402         * misc/bits/syslog.h: Likewise.
50403         * misc/bits/syslog-ldbl.h: Likewise.
50404         * misc/sys/syslog.h: Likewise.
50405         * socket/bits/socket2.h: Likewise.
50406         * socket/sys/socket.h: Likewise.
50407         * debug/tst-chk1.c: Likewise.
50408         * wcsmbs/bits/wchar2.h: Likewise.
50409         * wcsmbs/bits/wchar-ldbl.h: Likewise.
50410         * wcsmbs/wchar.h: Likewise.
50412 2012-04-29  Andreas Jaeger  <aj@suse.de>
50414         * Makerules (tests): Remove enable-check-abi protection.
50415         (check-abi-warn): Remove.
50416         (check-abi-%): Remove check-abi-warn usage.
50418         * configure.in: Remove check-abi configure option.
50419         * configure: Regenerated.
50420         * config.make.in (enable-check-abi): Remove.
50422 2012-04-28  Andreas Schwab  <schwab@linux-m68k.org>
50424         [BZ #14033]
50425         * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
50426         double functions to double *_finite functions.
50428         [BZ #13941]
50429         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
50430         (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
50431         LDBL_MIN_EXP.
50432         * stdio-common/Makefile (tests): Add tst-sprintf3.
50433         * stdio-common/tst-sprintf3.c: New file.
50435         * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
50436         ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
50438 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
50440         * conform/conformtest.pl: Remove duplicate typed-constant
50441         handling.
50443 2012-04-28  David S. Miller  <davem@davemloft.net>
50445         * Makerules (%.abilist): Add vpath on sysdep_dirs.
50446         (check-abi-%): Remove AWK script prerequisite and explicit
50447         abilist directory.
50448         (check-abi): Rewrite to just diff the symlist with the abilist.
50449         (config-tls, config-abi-config): Delete, no longer used.
50450         (update-abi-%): Remove AWK script and explicit abilist directory.
50451         (update-abi): Rewrite to simply compare and conditionally copy the
50452         symlist and the sysdep abilist file.  Remove update-abi-config
50453         checks.
50454         * abilist/ld.abilist: Remove.
50455         * abilist/libBrokenLocale.abilist: Remove.
50456         * abilist/libanl.abilist: Remove.
50457         * abilist/libcrypt.abilist: Remove.
50458         * abilist/libdl.abilist: Remove.
50459         * abilist/librt.abilist: Remove.
50460         * abilist/libthread_db.abilist: Remove.
50461         * abilist/libutil.abilist: Remove.
50462         * scripts/extract-abilist.awk: Remove.
50463         * scripts/merge-abilist.awk: Remove.
50464         * sysdeps/generic/libcidn.abilist: New file.
50465         * sysdeps/generic/libnss_compat.abilist: New file.
50466         * sysdeps/generic/libnss_db.abilist: New file.
50467         * sysdeps/generic/libnss_dns.abilist: New file.
50468         * sysdeps/generic/libnss_files.abilist: New file.
50469         * sysdeps/generic/libnss_hesiod.abilist: New file.
50470         * sysdeps/generic/libnss_nis.abilist: New file.
50471         * sysdeps/generic/libnss_nisplus.abilist: New file.
50472         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
50473         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
50474         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
50475         file.
50476         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
50477         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
50478         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
50479         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
50480         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
50481         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
50482         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
50483         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
50484         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
50485         file.
50486         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
50487         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
50488         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
50489         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
50490         file.
50491         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
50492         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
50493         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
50494         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
50495         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
50496         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
50497         file.
50498         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
50499         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
50500         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
50501         file.
50502         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
50503         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
50504         New file.
50505         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
50506         New file.
50507         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
50508         New file.
50509         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
50510         New file.
50511         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
50512         New file.
50513         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
50514         New file.
50515         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
50516         New file.
50517         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
50518         New file.
50519         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
50520         New file.
50521         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
50522         New file.
50523         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
50524         New file.
50525         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
50526         New file.
50527         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
50528         New file.
50529         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
50530         file.
50531         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
50532         New file.
50533         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
50534         New file.
50535         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
50536         file.
50537         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
50538         New file.
50539         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
50540         New file.
50541         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
50542         file.
50543         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
50544         New file.
50545         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
50546         New file.
50547         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
50548         New file.
50549         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
50550         New file.
50551         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
50552         New file.
50553         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
50554         New file.
50555         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
50556         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
50557         file.
50558         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
50559         New file.
50560         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
50561         file.
50562         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
50563         file.
50564         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
50565         file.
50566         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
50567         file.
50568         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
50569         file.
50570         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
50571         New file.
50572         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
50573         file.
50574         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
50575         file.
50576         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
50577         New file.
50578         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
50579         file.
50580         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
50581         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
50582         file.
50583         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
50584         New file.
50585         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
50586         file.
50587         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
50588         file.
50589         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
50590         file.
50591         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
50592         file.
50593         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
50594         file.
50595         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
50596         New file.
50597         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
50598         file.
50599         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
50600         file.
50601         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
50602         New file.
50603         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
50604         file.
50605         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
50606         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
50607         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
50608         file.
50609         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
50610         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
50611         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
50612         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
50613         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
50614         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
50615         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
50616         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
50617         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
50618         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
50619         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
50620         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
50621         file.
50622         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
50623         New file.
50624         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
50625         file.
50626         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
50627         file.
50628         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
50629         file.
50630         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
50631         file.
50632         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
50633         file.
50634         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
50635         New file.
50636         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
50637         New file.
50638         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
50639         file.
50640         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
50641         New file.
50642         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
50643         file.
50644         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
50645         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
50646         file.
50647         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
50648         New file.
50649         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
50650         file.
50651         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
50652         file.
50653         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
50654         file.
50655         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
50656         file.
50657         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
50658         file.
50659         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
50660         New file.
50661         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
50662         New file.
50663         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
50664         file.
50665         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
50666         New file.
50667         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
50668         file.
50670 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
50672         * conform/conformtest.pl: Fix typo in handling typed-constant from
50673         allow-header.
50675 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
50677         * README: Cut down references to pre-2.6 Linux kernels and
50678         Linuxthreads.  Update lists of configurations in libc and ports
50679         and sort alphabetically.  Say "or newer" with Linux kernel version
50680         requirements.
50682         * config.h.in [IS_IN_build]: Allow compiling without optimization.
50684 2012-04-27  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
50686         [BZ #887]
50687         * math/libm-test.inc (logb_test_downward): New test to expose
50688         erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
50689         rounding mode.
50691 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
50693         [BZ #14027]
50694         * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
50695         to be done.
50696         * math/fraiseexcpt.c (__feraiseexcept): Likewise.
50697         * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
50699 2012-04-26  Joseph Myers  <joseph@codesourcery.com>
50701         * sysdeps/unix/i386/brk.S: Remove file.
50702         * sysdeps/unix/i386/dl-brk.S: Likewise.
50703         * sysdeps/unix/i386/pipe.S: Likewise.
50704         * sysdeps/unix/i386/sigreturn.S: Likewise.
50705         * sysdeps/unix/i386/syscall.S: Likewise.
50706         * sysdeps/unix/i386/vfork.S: Likewise.
50707         * sysdeps/unix/i386/wait.S: Likewise.
50709         * sysdeps/unix/common/tcsendbrk.c: Move to ...
50710         * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
50712         * configure.in (arm*-none*): Do not allow without
50713         --enable-hacker-mode.
50714         (netbsd*): Remove case setting base_os.
50715         (386bsd*): Likewise.
50716         (freebsd*): Likewise.
50717         (bsdi*): Likewise.
50718         (osf*): Likewise.
50719         (sunos*): Likewise.
50720         (ultrix*): Likewise.
50721         (newsos*): Likewise.
50722         (dynix*): Likewise.
50723         (*bsd*): Likewise.
50724         (sysv*): Likewise.
50725         (isc*): Likewise.
50726         (esix*): Likewise.
50727         (sco*): Likewise.
50728         (minix*): Likewise.
50729         (irix4*): Likewise.
50730         (irix6*): Likewise.
50731         (solaris[2-9]*): Likewise.
50732         (none): Likewise.
50733         * configure: Regenerated.
50735 2012-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
50737         [BZ #11521]
50738         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
50739         overflow or cancellation in calculating denominator.
50740         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
50741         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
50742         down expression to avoid unexpected rounding in newer GCCs.
50743         * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
50745 2012-04-26  David S. Miller  <davem@davemloft.net>
50747         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
50748         long-double compat symbols.
50749         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
50750         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
50751         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
50752         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
50753         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
50754         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
50755         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
50756         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
50757         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
50758         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
50759         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
50760         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
50761         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
50763 2012-04-25  David S. Miller  <davem@davemloft.net>
50765         * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
50766         HWCAP_* values only after the memory barriers have been defined.
50767         (atomic_full_barrier): Define.
50768         (atomic_read_barrier): Define.
50769         (atomic_write_barrier): Define.
50771 2012-04-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
50773         * shlib-versions: Add libgcc_s version information.
50774         * sysdeps/generic/libgcc_s.h: Remove.
50775         * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
50776         libgcc_s.h.
50777         * sysdeps/gnu/unwind-resume.c: Likewise.
50778         * scripts/test-installation.pl: Remove libgcc_s from link_libs.
50780 2012-04-25  David S. Miller  <davem@davemloft.net>
50782         * sysdeps/unix/sparc/brk.S: Delete.
50783         * sysdeps/unix/sparc/dl-brk.S: Delete.
50784         * sysdeps/unix/sparc/pipe.S: Delete.
50785         * sysdeps/unix/sparc/sysdep.S: Delete.
50786         * sysdeps/unix/sparc/sysdep.h: Delete.
50787         * sysdeps/unix/sparc/vfork.S: Delete.
50788         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG)
50789         (SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
50790         * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO)
50791         (ret_ERRVAL, r0, r1, MOVE): Define.
50792         (JUMPTARGET): Remove.
50793         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
50794         sysdeps/unix/sparc/sysdep.h
50795         (ENTRY, END): Remove.
50796         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
50798 2012-04-25  Joseph Myers  <joseph@codesourcery.com>
50800         * Makerules (native-compile): Use $(BUILD_LDFLAGS).
50801         (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
50802         -DIS_IN_build.
50804         * timezone/README: Update upstream location and email address for
50805         tzcode and tzdata.
50806         * timezone/zdump.c: Update from tzcode 2012b.
50807         * timezone/zic.c: Likewise.
50809         * configure.in (libc_cv_as_needed): Remove test.
50810         * configure: Regenerated.
50811         * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
50812         conditional definition.
50813         [$(have-as-needed) != yes] (no-as-needed): Likewise.
50814         [$(have-as-needed) != yes] (libgcc_eh): Likewise.
50815         * config.make.in (have-as-needed): Remove variable.
50817 2012-04-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
50818             Paul Pluzhnikov  <ppluzhnikov@google.com>
50820         * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
50821         strings correctly.
50823 2012-04-25  Chung-Lin Tang  <cltang@codesourcery.com>
50825         * sysdeps/sh/memcpy.S: Remove include of endian.h, change
50826         preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
50827         * sysdeps/sh/strlen.S: Likewise.
50829 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
50831         * sysdeps/unix/fork.S: Remove file.
50832         * sysdeps/unix/i386/fork.S: Likewise.
50833         * sysdeps/unix/sparc/fork.S: Likewise.
50835         * sysdeps/unix/system.c: Remove file.
50836         * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
50838         * sysdeps/unix/getegid.S: Remove file.
50839         * sysdeps/unix/geteuid.S: Likewise.
50841 2012-04-24  Roland McGrath  <roland@hack.frob.com>
50843         * scripts/check-localplt.awk: New file.
50844         * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
50845         of diff.
50846         * scripts/data/localplt-generic.data: Add a comment.
50848         * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
50849         NODE when __dir_mkfile failed.
50850         * sysdeps/mach/hurd/symlinkat.c: Likewise.
50851         Reported by Ludovic Courtès <ludo@gnu.org>.
50853 2012-04-24  Andreas Jaeger  <aj@suse.de>
50855         * Makerules (common-clean): Also remove gen-as-const-headers
50856         files.
50858 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
50860         * Makerules (native-compile): Do not change working directory for
50861         build.  Use $(OUTPUT_OPTION) in command.
50862         (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
50864 2012-04-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
50866         [BZ #13886]
50867         * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
50868         sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
50869         * math/libm-test.inc (floor_test): Add more tests.
50870         * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
50872 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
50874         * sysdeps/unix/getdents.c: Remove file.
50875         * sysdeps/unix/sysv/getdents.c: Likewise.
50876         * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
50878         * sysdeps/unix/syscalls.list (madvise): Add syscall from
50879         sysdeps/unix/mman/syscalls.list.
50880         (mmap): Likewise.
50881         (mprotect): Likewise.
50882         (msync): Likewise.
50883         (munmap): Likewise.
50884         * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
50885         * sysdeps/unix/mman/syscalls.list: Remove.
50886         * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
50888         * configure.in (libc_cv_libgcc_s_suffix): Remove test.
50889         (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
50890         * configure: Regenerated.
50891         * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
50892         $(libgcc_s_suffix).
50893         * config.make.in (libgcc_s_suffix): Remove variable.
50895 2012-04-23  Joseph Myers  <joseph@codesourcery.com>
50897         * sysdeps/unix/sysv/gethostname.c: Move to ...
50898         * sysdeps/posix/gethostname.c: ... here.
50900         * sysdeps/unix/execve.S: Remove file.
50902         * sysdeps/unix/_exit.S: Remove file.
50904 2012-04-23  Andreas Jaeger  <aj@suse.de>
50906         [BZ #13739]
50907         * manual/Makefile: Remove make dist support, there's no
50908         need for a stand-alone documentation tar ball.
50909         (TEXI2DVI): Define always, it's not in Makeconfig.
50910         (dist): Removed.
50911         (tar-it): Removed.
50912         (edition): Removed.
50913         (glibc-doc-$(edition).tar): Removed
50914         (%.Z): Removed.
50915         (%.gz): Removed.
50916         (%.uu): Removed.
50917         (ETAGS): Remove, it's in Makeconfig.
50918         (move-if-change): Remove, it's in Makeconfig.
50920 2012-04-23  Paul Eggert  <eggert@cs.ucla.edu>
50922         [BZ #13970]
50923         * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
50924         (strtod, strtof, strtold, strtol, strtoul, strtoq)
50925         (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
50926         (strtod_l, strtof_l, strtold_l): Remove __wur.
50927         It is not necessarily an error to ignore strtol's return value.
50928         One can reliably look at the stored endptr to decide whether
50929         the number had valid syntax.
50931 2012-04-21  Andreas Jaeger  <aj@suse.de>
50933         [BZ #13739]
50934         * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
50936 2012-04-21  Joseph Myers  <joseph@codesourcery.com>
50938         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
50939         * sysdeps/unix/sysv/Versions: Remove file.
50941 2012-04-21  Markus Trippelsdorf  <markus@trippelsdorf.de>
50943         [BZ #13927]
50944         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
50946 2012-04-21  Nick Alcock  <nick.alcock@oracle.com>
50948         [BZ #7064]
50949         * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
50950         version from __vm86.
50952 2012-04-20  Joseph Myers  <joseph@codesourcery.com>
50954         * sysdeps/unix/common/lxstat.c: Remove file.
50955         * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
50957         * sysdeps/unix/sysv/Makefile: Remove file.
50959         * sysdeps/unix/sysv/direct.h: Remove file.
50961         * sysdeps/unix/sysv/bits/dirent.h: Remove file.
50962         * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
50963         * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
50964         * sysdeps/unix/sysv/bits/signum.h: Likewise.
50965         * sysdeps/unix/sysv/bits/stat.h: Likewise.
50966         * sysdeps/unix/sysv/bits/utmp.h: Likewise.
50967         * sysdeps/unix/sysv/bits/utsname.h: Likewise.
50969         * sysdeps/unix/sysv/setrlimit.c: Remove file.
50971         * sysdeps/unix/xmknod.c: Remove file.
50972         * sysdeps/unix/syscalls.list (sys_mknod): Remove.
50974         * sysdeps/unix/sysv/settimeofday.c: Remove file.
50976         * sysdeps/unix/sysv/i386/time.S: Remove file.
50978         * sysdeps/unix/fxstat.c: Remove file.
50979         * sysdeps/unix/xstat.c: Likewise.
50980         * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
50982         * sysdeps/unix/sysv/sigaction.c: Remove file.
50984         * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
50985         (sysdep_headers): Remove variable.
50986         [termio.h not in sysdep_headers] (generated): Likewise.
50987         [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
50988         * sysdeps/unix/sysv/sysv_termio.h: Remove file.
50989         * sysdeps/unix/sysv/tcdrain.c: Likewise.
50990         * sysdeps/unix/sysv/tcflow.c: Likewise.
50991         * sysdeps/unix/sysv/tcflush.c: Likewise.
50992         * sysdeps/unix/sysv/tcgetattr.c: Likewise.
50993         * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
50994         * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
50995         * sysdeps/unix/sysv/tcsetattr.c: Likewise.
50996         * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
50998         * sysdeps/unix/siglist.c: Remove file.
51000         * sysdeps/unix/getppid.S: Remove file.
51002         * sysdeps/unix/mkdir.c: Remove file.
51003         * sysdeps/unix/rmdir.c: Likewise.
51005 2012-04-19  Andreas Schwab  <schwab@linux-m68k.org>
51007         * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
51008         ERR_MAX value.
51009         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
51010         errlist-compat value.
51012 2012-04-18  David S. Miller  <davem@davemloft.net>
51014         * sysdeps/generic/memcopy.h (reg_char): Delete.
51015         * debug/strcat_chk.c: Use char, not reg_char.
51016         * debug/strcpy_chk.c: Likewise.
51017         * debug/strncat_chk.c: Likewise.
51018         * debug/strncpy_chk.c: Likewise.
51019         * string/memchr.c: Likewise.
51020         * string/memrchr.c: Likewise.
51021         * string/rawmemchr.c: Likewise.
51022         * string/strcat.c: Likewise.
51023         * string/strchr.c: Likewise.
51024         * string/strchrnul.c: Likewise.
51025         * string/strcmp.c: Likewise.
51026         * string/strcpy.c: Likewise.
51027         * string/strncat.c: Likewise.
51028         * string/strncmp.c: Likewise.
51029         * string/strncpy.c: Likewise.
51031 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
51033         * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
51034         __builtin_memcopy is called when src and dest ranges are known to not
51035         overlap.
51037 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
51039         * sysdeps/powerpc/powerpc64/power6/wordcopy.c
51040         (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
51041         fwd_align_merge macro call.
51042         (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
51043         bwd_align_merge macro call.
51044         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
51046 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
51048         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
51049         bwd_align_merge macros.
51050         (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
51051         (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
51052         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
51054 2012-04-18  David S. Miller  <davem@davemloft.net>
51056         * sysdeps/sparc/sparc64/memcopy.h: Delete.
51058 2012-04-18  Andreas Jaeger  <aj@suse.de>
51060         [BZ# 6794]
51061         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
51062         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
51063         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
51065         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
51066         * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
51067         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
51069         * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
51070         * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
51071         Adjust for changed ldbl-128 files.
51073         * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
51074         * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
51075         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
51077 2012-04-17  David S. Miller  <davem@davemloft.net>
51079         * sysdeps/sparc/sparc32/memcopy.h: Delete.
51081 2012-04-17  Andreas Schwab  <schwab@linux-m68k.org>
51083         * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
51084         * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
51085         * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
51086         * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
51087         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
51088         * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
51090 2012-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
51092         [BZ #6794]
51093         * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
51094         * math/libm-test.inc: Add ilogb errno and exception tests.
51095         * math/w_ilogb.c: New file: ilogb wrapper.
51096         * math/w_ilogbf.c: New file: ilogbf wrapper.
51097         * math/w_ilogbl.c: New file: ilogbl wrapper.
51098         * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
51099         * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
51100         * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
51101         exception being thrown with 0.0 as argument.
51102         * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
51103         * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
51104         exception being thrown with 0.0 as argument.
51105         * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
51106         * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
51107         exception being thrown with 0.0 as argument.
51108         * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
51109         * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
51110         exception being thrown with 0.0 as argument.
51111         * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
51112         * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
51113         * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
51114         * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
51115         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
51116         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
51117         * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
51118         * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
51119         * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
51121 2012-04-17  Petr Baudis  <pasky@ucw.cz>
51123         * include/sys/uio.h: Change __vector to __iovec to avoid clash
51124         with altivec.
51126 2012-04-16  Marek Polacek  <polacek@redhat.com>
51128         * elf/pldd-xx.c: Rename static_assert to pldd_assert.
51130 2012-04-16  Marek Polacek  <polacek@redhat.com>
51132         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
51133         operands of fdivp instruction.
51135 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
51137         * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
51138         * elf/tst-auditmod3b.c: Likewise.
51139         * elf/tst-auditmod4b.c: Likewise.
51140         * elf/tst-auditmod5b.c: Likewise.
51141         * elf/tst-auditmod6b.c: Likewise.
51142         * elf/tst-auditmod6c.c: Likewise.
51143         * elf/tst-auditmod7b.c: Likewise.
51144         * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
51145         * sysdeps/x86_64/preconfigure.in: Likewise.
51146         * sysdeps/x86_64/preconfigure: Regenerated.
51148 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
51150         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
51151         __ILP32__.
51153 2012-04-13  Antoine Balestrat <merkil33@gmail.com>
51155         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
51156         (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
51158 2012-04-13  Chris Leonard  <cjlhomeaddress@gmail.com>
51160         [BZ #13973]
51161         * locale/iso-639.def: Fix gl language name. Spotted by
51162         Yaron Shahrabani.
51164 2012-04-12  Roland McGrath  <roland@hack.frob.com>
51166         [BZ #2074]
51167         * libio/libio.h (__io_write_fn): Update comment.
51169 2012-04-12  Petr Baudis  <pasky@ucw.cz>
51171         [BZ #2074]
51172         * stdio.texi (Hook Functions): The user provided writer function
51173         is not allowed to return -1.
51175 2012-04-11  David S. Miller  <davem@davemloft.net>
51177         * sysdeps/sparc/fpu/libm-test-ulps: Update.
51179 2012-04-11  Mike Frysinger  <vapier@gentoo.org>
51181         * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
51182         Add a leading slash to rtkaio.
51184 2012-04-11  Jim Meyering  <meyering@redhat.com>
51186         [BZ #11959]
51187         * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
51188         It is not necessarily an error to ignore fwrite's return
51189         value.  One can reliably use ferror to test for errors after
51190         the fact.
51192 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
51194         * bits/types.h (__snseconds_t): New type.
51195         * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
51197         * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
51198         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
51199         (__SNSECONDS_T_TYPE): Likewise.
51200         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
51201         (__SNSECONDS_T_TYPE): Likewise.
51202         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
51203         (__SNSECONDS_T_TYPE): Likewise.
51205 2012-04-10  Andreas Jaeger  <aj@suse.de>
51207         [BZ #2636]
51208         * manual/time.texi (Processor Time): Return type of times is
51209         elapsed real time since an arbitrary point in the past.
51210         (CPU Time): Move CLK_TCK from here...
51211         (Processor Time): ...to here.  Correct description.
51212         * manual/conf.texi (Constants for Sysconf): Correct description of
51213         _SC_CLK_TCK.
51215 2012-04-10  David S. Miller  <davem@davemloft.net>
51217         [BZ #13967]
51218         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
51219         where the is a gap between DT_REL(A) and DT_JMPREL.
51221 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
51223         * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
51224         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
51225         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
51227 2012-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
51229         * elf/dl-support.c (_dl_inhibit_cache): New variable.
51230         * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
51231         (dl_main): Handle --inhibit-cache.
51232         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
51233         _dl_inhibit_cache.
51234         * elf/dl-load.c (_dl_map_object): Use it.
51235         * elf/Makefile: Define SYSCONFDIR when building rtld.c.
51237 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
51239         [BZ #13872]
51240         * sysdeps/i386/fpu/e_powl.S (p78): New object.
51241         (__ieee754_powl): Saturate large exponents rather than testing for
51242         overflow of y*log2(x).
51243         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
51244         * math/libm-test.inc (pow_test): Do not permit spurious overflow
51245         exceptions.
51247         [BZ #11521]
51248         * math/s_ctan.c: Include <float.h>.
51249         (__ctan): Avoid internal overflow or cancellation in calculating
51250         denominator.
51251         * math/s_ctanf.c: Likewise.
51252         * math/s_ctanl.c: Likewise.
51253         * math/s_ctanh.c: Likewise.
51254         * math/s_ctanhf.c: Likewise.
51255         * math/s_ctanhl.c: Likewise.
51256         * math/libm-test.inc (ctan_test): Add more tests.
51257         (ctanh_test): Likewise.
51258         * sysdeps/i386/fpu/libm-test-ulps: Update.
51259         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
51261 2012-04-09  Andreas Jaeger  <aj@suse.de>
51263         [BZ #6894]
51264         * manual/filesys.texi (Directory Entries): Mention that d_namlen
51265         is an optional BSD extension.
51267         [BZ #10254]
51268         * manual/stdio.texi (Opening Streams): Document additional fopen
51269         parameters.
51271 2012-04-09  Roland McGrath  <roland@hack.frob.com>
51273         * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
51274         %eax without telling the compiler.
51276 2012-04-09  Carlos O'Donell  <carlos_odonell@mentor.com>
51278         [BZ # 13963]
51279         * manual/install.texi: Use sourceware.org.
51281 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
51283         [BZ #13873]
51284         * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
51285         (__ieee754_pow): Generate overflow and underflow using huge*huge
51286         and tiny*tiny rather than just returning constant infinity or zero
51287         for large exponents.
51288         * math/libm-test.inc (pow_test): Require overflow exceptions for
51289         applicable cases of large exponents.
51291         [BZ #706]
51292         * sysdeps/i386/fpu/e_pow.S (p10): New object.
51293         (__ieee754_pow): Use iterative multiplication algorithm only for
51294         integer exponents with absolute value below 1024.  Check for odd
51295         integer exponents when using algorithm for real exponents.
51296         * math/libm-test.inc (pow_test): Add more tests.
51297         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
51299 2012-04-08  Joseph Myers  <joseph@codesourcery.com>
51301         [BZ #13705]
51302         * math/libm-test.inc (exp_test): Do not allow overflow exception
51303         on underflow test.
51305 2012-04-08  Aurelien Jarno  <aurelien@aurel32.net>
51307         [BZ #13705]
51308         * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
51309         instead of __kernel_standard_f.
51311 2012-04-08  Mike Frysinger  <vapier@gentoo.org>
51313         * sysdeps/i386/i686/memset_chk.S: Update copyright year.
51314         * sysdeps/x86_64/memset_chk.S: Likewise.
51316 2012-04-08  Andreas Jaeger  <aj@suse.de>
51318         [BZ #10153]
51319         * manual/startup.texi (Environment Access): Describe return value
51320         for putenv and setenv.
51322         [BZ #6895]
51323         * manual/filesys.texi (Directory Entries): Add description for
51324         DT_LNK.
51326         [BZ #6890]
51327         * manual/filesys.texi (Directory Entries): Clarify that it's file
51328         system not operating system in the description of DT_UNKNOWN.
51330         [BZ #6578]
51331         * manual/syslog.texi (closelog): Fix reference, it's openlog.
51333 2012-04-08  Stephen Compall  <s11@member.fsf.org>
51335         [BZ #6649]
51336         * manual/llio.texi (Opening and Closing Files): Add cross
51337         reference to explain mode argument.
51339 2012-04-07  Mike Frysinger  <vapier@gentoo.org>
51341         * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
51342         * sysdeps/x86_64/memset_chk.S: Likewise.
51344 2012-04-07  David S. Miller  <davem@davemloft.net>
51346         * elf/elf.h (R_SPARC_WDISP10): Define.
51347         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
51348         R_SPARC_SIZE32.
51349         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
51350         R_SPARC_SIZE64 and R_SPARC_H34.
51352 2012-04-07  Carlos O'Donell  <carlos_odonell@mentor.com>
51354         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
51355         conditions and remove no longer applicable assertion.
51357 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
51359         * bits/byteswap.h: Include <features.h>.
51360         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
51361         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
51363 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
51365         * bits/byteswap.h (__bswap_16): Removed.
51366         Include <bits/byteswap-16.h> to get __bswap_16.
51367         * sysdeps/i386/bits/byteswap.h: Likewise.
51368         * sysdeps/s390/bits/byteswap.h: Likewise.
51369         * sysdeps/x86_64/bits/byteswap.h: Likewise.
51370         * bits/byteswap-16.h: New file.
51371         * sysdeps/i386/bits/byteswap-16.h: Likewise.
51372         * sysdeps/s390/bits/byteswap-16.h: Likewise.
51373         * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
51374         * string/Makefile (headers): Add bits/byteswap-16.h.
51376 2012-04-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
51378         [BZ #13895]
51379         * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
51380         extra indirection.
51381         * nss/Makefile (tests-static, tests): Add tst-nss-static.
51382         * nss/tst-nss-static.c: New.
51384 2012-04-06  Robert Millan  <rmh@gnu.org>
51386         [BZ #6486]
51387         * manual/llio.texi (File Position Primitive): lseek
51388         refers to WHENCE when it really means OFFSET.
51390 2012-04-06  Andreas Jaeger  <aj@suse.de>
51392         * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
51393         strncmp declarations.
51395         * abilist/libc.abilist: Add __poll and __ppoll.
51397 2012-04-05  David S. Miller  <davem@davemloft.net>
51399         * scripts/check-local-headers.sh: Accept a host triplet in the
51400         path matched by the exclude regexp.
51402         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
51403         definition.
51404         * sysdeps/powerpc/powerpc32/dl-machine.h
51405         (ELF_MACHINE_PLTREL_OVERLAP): Delete.
51406         * sysdeps/s390/s390-32/dl-machine.h
51407         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
51408         * sysdeps/sparc/sparc32/dl-machine.h
51409         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
51410         * sysdeps/sparc/sparc64/dl-machine.h
51411         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
51413         * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
51414         lazy binding.
51415         * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
51416         undefined symbol errors.
51418         * elf/rtld.c (dl_main): Skip VDSO when checking for unused
51419         DT_NEEDED entries.
51421 2012-04-05  Michael Matz  <matz@suse.de>
51423         [BZ #13592]
51424         * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
51426 2012-04-05  Andreas Jaeger  <aj@suse.de>
51428         [BZ #13908]
51429         * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
51430         comment.
51432 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
51434         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
51435         which ROUND is no valid rounding mode.
51437 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
51439         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
51440         read again.
51441         * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
51443 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
51445         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
51446         an exception using FPU order intentionally.
51448 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
51450         * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
51451         * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
51452         * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
51453         * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
51455 2012-04-05  Simon Josefsson  <simon@josefsson.org>
51457         [BZ #12340]
51458         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
51459         EINVAL when BUFLEN is too smal.
51461 2012-04-05  Thomas Schwinge  <thomas@codesourcery.com>
51463         [BZ #13553]
51464         * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
51465         * sysdeps/mach/powerpc/machine-lock.h: Likewise.
51467 2012-04-03  Andreas Jaeger  <aj@suse.de>
51469         [BZ #13938]
51470         * manual/setjmp.texi (System V contexts): Fix sentence.
51472         [BZ #13926]
51473         * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
51474         New macro for this case.
51475         [!__GNUC__] (__bswap_64): New inline function for this case.
51476         * sysdeps/x86_64/bits/byteswap.h: Likewise.
51477         * bits/byteswap.h: Likewise.
51478         * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
51479         ull, guard with __GLIBC_HAVE_LONG_LONG.
51481         * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
51482         __GLIBC_HAVE_LONG_LONG.
51484         * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
51485         Include <features.h> for __GLIBC_HAVE_LONG_LONG.
51487 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
51489         [BZ #13691]
51490         * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
51491         inptr and inend, rather than using last_ch.
51493 2012-04-02  David S. Miller  <davem@davemloft.net>
51495         With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
51496         * stdio-common/printf-parse.h (read_int): Change return type to
51497         'int', return -1 on INT_MAX overflow.
51498         * stdio-common/vfprintf.c (vfprintf): Validate width and precision
51499         against overflow of INT_MAX.  Set errno to EOVERFLOW when 'done'
51500         overflows INT_MAX.  Check for overflow of in-format-string precision
51501         values properly.  Use EOVERFLOW rather than ERANGE throughout.  Use
51502         SIZE_MAX not INT_MAX for integer overflow test.
51503         * stdio-common/printf-parsemb.c: If read_int signals an overflow,
51504         skip the construct in the format string but do not record anything.
51505         * stdio-common/bug22.c: Adjust to test both width/prevision
51506         INT_MAX overflow as well as total length INT_MAX overflow.  Check
51507         explicitly for proper errno values.
51509 2012-04-02  Thomas Schwinge  <thomas@codesourcery.com>
51511         * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
51512         CHAR_MAX.
51513         * string/test-strcmp.c [! WIDE]: Likewise.
51514         * time/tst-mktime2.c: Likewise for INT_MAX.
51515         * string/test-string.h: #include <sys/param.h> for MIN.
51517         * csu/init-first.c (__libc_init_first): Call __ctype_init.
51518         * sysdeps/i386/init-first.c (init): Likewise.
51519         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
51520         * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
51521         * sysdeps/sh/init-first.c (init): Likewise.
51523 2012-04-01  Ulrich Drepper  <drepper@gmail.com>
51525         * po/ru.po: Update from translation team.
51526         * po/vi.po: Likewise.
51528 2012-03-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
51530         * resolv/nss_dns/dns-host.c: Merge copyright years.
51532 2012-03-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
51534         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
51535         Optimize memcpy with prefetch if
51536         DATA_CACHE_SIZE_HALF <= len <  SHARED_CACHE_SIZE_HALF and
51537         src, dst pointers have unequal 16 byte alignments.
51539 2012-03-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
51541         [BZ #13928]
51542         * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
51543         from a CNAME entry and return the minimum ttl for the query.
51544         (gaih_getanswer_slice): Likewise.
51546 2012-03-30  Jeff Law  <law@redhat.com>
51548         * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
51549         due to long keys.
51550         * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
51551         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
51553         * resolv/nss_dns/dns-host.c: Update copyright year.
51555 2012-03-30  Ulrich Drepper  <drepper@gmail.com>
51557         * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
51558         requests to save a system call.  Fix check that all bytes are sent.
51560         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
51561         comments for sendmmsg.
51563 2012-03-30  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
51565         [BZ #13691]
51566         * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
51567         with only 1 character between 0x0041 and 0x01b0.
51568         * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
51569         * wcsmbs/tst-mbsnrtowcs.c: New file.
51571 2012-03-29  David S. Miller  <davem@davemloft.net>
51573         * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
51574         small copies by hand.
51576 2012-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
51578         [BZ #13761]
51579         * nis/nss_compat/compat-initgroups.c (getgrent_next_nss)
51580         (_nss_compat_initgroups_dyn): Fall back to malloc/free for large
51581         group memberships.
51583 2012-03-28  David S. Miller  <davem@davemloft.net>
51585         * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
51586         that branches into memcpy.
51587         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
51588         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
51589         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
51590         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
51591         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
51592         bits.
51593         * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
51594         implementation too.
51595         * sysdeps/sparc/mempcpy.S: New file.
51597         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
51598         the IFUNC routine in the libc case.
51599         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
51601         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
51602         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
51603         * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
51604         * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
51605         * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
51606         * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
51607         * sysdeps/sparc/sparc64/rtld-memset.c: New file.
51608         * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
51610         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
51611         loop to 256 bytes instead of 64 bytes and fix test signedness.
51613         * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
51614         * sysdeps/sparc/sparc32/Makefile: rather than here...
51615         * sysdeps/sparc/sparc64/Makefile: and here.
51617 2012-03-28  Ulrich Drepper  <drepper@gmail.com>
51619         * malloc/mallocbug.c: Avoid warnings about unused variables.
51621 2012-02-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
51623         [BZ #13760]
51624         * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
51625         in the right place. Discard and retry query if response is
51626         larger than input buffer size.
51628 2012-03-28  Joseph Myers  <joseph@codesourcery.com>
51630         [BZ #369]
51631         [BZ #2678]
51632         [BZ #3866]
51633         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
51634         x for large integer exponent.
51635         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
51636         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.  Adjust
51637         sign of result as needed afterwards.
51638         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
51639         * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
51640         result for underflowing pow the same as for overflow.
51641         (__kernel_standard_l): Handle powl overflow and underflow here
51642         rather than calling __kernel_standard.
51643         * math/libm-test.inc (pow_test): Add more tests.
51645         [BZ #3868]
51646         [BZ #13879]
51647         [BZ #13910]
51648         [BZ #13911]
51649         [BZ #13912]
51650         [BZ #13913]
51651         [BZ #13915]
51652         [BZ #13916]
51653         [BZ #13917]
51654         [BZ #13918]
51655         [BZ #13919]
51656         [BZ #13920]
51657         [BZ #13921]
51658         * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
51659         * sysdeps/ieee754/k_standard.c: Include <float.h>.
51660         (__kernel_standard_l): New function.
51661         * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
51662         __kernel_standard.
51663         * math/w_acosl.c (__acosl): Likewise.
51664         * math/w_asinl.c (__asinl): Likewise.
51665         * math/w_atan2l.c (__atan2l): Likewise.
51666         * math/w_atanhl.c (__atanhl): Likewise.
51667         * math/w_coshl.c (__coshl): Likewise.
51668         * math/w_exp10l.c (__exp10l): Likewise.
51669         * math/w_exp2l.c (__exp2l): Likewise.
51670         * math/w_fmodl.c (__fmodl): Likewise.
51671         * math/w_hypotl.c (__hypotl): Likewise.
51672         * math/w_j0l.c (__j0l, __y0l): Likewise.
51673         * math/w_j1l.c (__j1l, __y1l): Likewise.
51674         * math/w_jnl.c (__jnl, __ynl): Likewise.
51675         * math/w_lgammal.c (__lgammal): Likewise.
51676         * math/w_log10l.c (__log10l): Likewise.
51677         * math/w_log2l.c (__log2l): Likewise.
51678         * math/w_logl.c (__logl): Likewise.
51679         * math/w_powl.c (__powl): Likewise.
51680         * math/w_remainderl.c (__remainderl): Likewise.
51681         * math/w_scalbl.c (sysv_scalbl): Likewise.
51682         * math/w_sinhl.c (__sinhl): Likewise.
51683         * math/w_sqrtl.c (__sqrtl): Likewise.
51684         * math/w_tgammal.c (__tgammal): Likewise.
51685         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
51686         * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
51687         * math/libm-test.inc (acos_test): Add more tests.
51688         (acosh_test): Likewise.
51689         (asin_test): Likewise.
51690         (atanh_test): Likewise.
51691         (exp_test): Likewise.
51692         (exp10_test): Likewise.
51693         (exp2_test): Likewise.
51694         (expm1_test): Likewise.
51695         (lgamma_test): Likewise.
51696         (log_test): Likewise.
51697         (log10_test): Likewise.
51698         (log1p_test): Likewise.
51699         (log2_test): Likewise.
51700         (pow_test): Do not allow some spurious overflow exceptions.
51701         (sqrt_test): Add more tests.
51702         (tgamma_test): Likewise.
51703         (y0_test): Likewise.
51704         (y1_test): Likewise.
51705         (yn_test): Likewise.
51707 2012-03-27  Anton Blanchard  <anton@samba.org>
51709         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
51710         MAP_HUGETLB.
51711         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
51712         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
51713         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
51715 2012-03-27  David S. Miller  <davem@davemloft.net>
51717         * conform/Makefile: Run run-conformtest.sh using $(BASH).
51719         * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
51720         have-as-vis3 check.
51722 2012-03-27  Andreas Jaeger  <aj@suse.de>
51724         * sysdeps/x86_64/elf/configure.in: Moved to ...
51725         * sysdeps/x86_64/configure.in: ... here.
51726         * sysdeps/x86_64/elf/start.S: Moved to ...
51727         * sysdeps/x86_64/start.S: ... here.
51728         * sysdeps/x86_64/elf/configure: Delete.
51730         * sysdeps/x86_64/configure.in: Merge contents from
51731         sysdeps/i386/configure.in (without i686 check).
51733         * sysdeps/i386/elf/Versions: Merge into ...
51734         * sysdeps/i386/Versions: ... this.
51735         * sysdeps/i386/elf/Versions: Delete file.
51736         * sysdeps/i386/elf/start.S: Moved to ...
51737         * sysdeps/i386/start.S: ...here.
51738         * sysdeps/i386/elf/configure.in: Merge into...
51739         * sysdeps/i386/configure.in: ...here.
51740         * sysdeps/i386/elf/configure.in: Delete file.
51741         * sysdeps/i386/elf/configure: Delete file.
51743         * sysdeps/generic/elf/backtracesyms.c: Moved to ...
51744         * debug/backtracesyms.c: ... here.
51745         * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
51746         * debug/backtracesymsfd.c: ... here.
51747         * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
51748         * sysdeps/generic/ifunc-sel.h: ... here.
51750         * sysdeps/unix/i386/start.c: Delete file.
51751         * sysdeps/unix/sparc/start.c: Delete file.
51752         * sysdeps/unix/start.c: Delete file.
51754         * sysdeps/sh/elf/configure.in: Moved to ...
51755         * sysdeps/sh/configure.in: ... here.
51756         * sysdeps/sh/elf/start.S: Moved to ...
51757         * sysdeps/sh/start.S: ... here.
51758         * sysdeps/sh/elf/configure: Delete file.
51760         * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
51761         * sysdeps/powerpc/powerpc64/bzero.S: ... here.
51762         * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
51763         * sysdeps/powerpc/powerpc64/entry.h: ... here.
51764         * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
51765         * sysdeps/powerpc/powerpc64/start.S: here.
51766         * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
51767         * sysdeps/powerpc/powerpc64/Makefile: ... this.
51768         * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
51769         * sysdeps/powerpc/powerpc64/configure.in: ... this.
51770         * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
51772         * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
51773         * sysdeps/powerpc/powerpc32/bzero.S: ... here.
51774         * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
51775         * sysdeps/powerpc/powerpc32/start.S: ... here.
51776         * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
51777         * sysdeps/powerpc/powerpc32/configure.in: ... this.
51778         * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
51780         * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
51781         * sysdeps/powerpc/ifunc-sel.h: ... here.
51782         * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
51783         * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
51785         * sysdeps/sparc/elf/configure.in: Moved to ...
51786         * sysdeps/sparc/configure.in: ... here.
51787         * sysdeps/sparc/elf/configure: Delete file.
51788         * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
51789         * sysdeps/sparc/sparc32/start.S: ... here.
51790         * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
51791         * sysdeps/sparc/sparc64/start.S: ... here.
51792         * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
51793         * sysdeps/sparc/sparc32/Makefile: ... this.
51794         * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
51795         * sysdeps/sparc/sparc64/Makefile: ... this.
51797         * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
51798         * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
51799         * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
51800         * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
51801         * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
51802         * sysdeps/s390/s390-32/setjmp.S: ... here.
51803         * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
51804         * sysdeps/s390/s390-32/configure.in: ... here.
51805         * sysdeps/s390/s390-32/elf/configure: Delete file.
51806         * sysdeps/s390/s390-32/elf/start.S: Moved to ...
51807         * sysdeps/s390/s390-32/start.S: ... here.
51809         * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
51810         * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
51811         * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
51812         * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
51813         * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
51814         * sysdeps/s390/s390-64/setjmp.S: ... here.
51815         * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
51816         * sysdeps/s390/s390-64/configure.in: ... here
51817         * sysdeps/s390/s390-64/elf/configure: Delete file.
51818         * sysdeps/s390/s390-64/elf/start.S: Moved to ...
51819         * sysdeps/s390/s390-64/start.S: ... here.
51820         * sysdeps/s390/s390-64/elf/configure: Delete.
51822         * configure.in: Remove support for elf directories in sysdeps.
51824         * configure: Regenerated.
51825         * sysdeps/i386/configure: Regenerated.
51826         * sysdeps/powerpc/powerpc32/configure: Regenerated.
51827         * sysdeps/powerpc/powerpc64/configure: Regenerated.
51828         * sysdeps/s390/s390-32/configure: Regenerated.
51829         * sysdeps/s390/s390-64/configure: Regenerated.
51830         * sysdeps/sh/configure: Regenerated.
51831         * sysdeps/sparc/configure: Regenerated.
51832         * sysdeps/x86_64/configure: Regenerated.
51834 2012-03-26  Andreas Schwab  <schwab@linux-m68k.org>
51836         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
51838         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
51839         denormal result into account.
51841 2012-03-25  Roland McGrath  <roland@hack.frob.com>
51843         * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
51844         Reported by Allan McRae <allan@archlinux.org>.
51846 2012-03-23  Jeff Law  <law@redhat.com>
51848         * nss/getnssent.c (__nss_getent): Fix typo.
51850 2012-03-23  David S. Miller  <davem@davemloft.net>
51852         * sysdeps/sparc/fpu/libm-test-ulps: Update.
51854 2012-03-23  H.J. Lu  <hongjiu.lu@intel.com>
51856         * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
51857         to pad to uint64_t for each field.
51858         (dl_tls_index): Replace unsigned long with uint64_t.
51860 2012-03-23  Daniel Jacobowitz  <dmj@google.com>
51861         Paul Pluzhnikov  <ppluzhnikov@google.com>
51863         [BZ #6528]
51864         * grp/Makefile (otherlibs): Don't set it.
51865         * inet/Makefile (otherlibs): Likewise.
51866         * login/Makefile (otherlibs): Likewise.
51867         * nscd/Makefile (otherlibs): Likewise.
51868         * posix/Makefile (otherlibs): Likewise.
51869         * pwd/Makefile (otherlibs): Likewise.
51870         * rt/Makefile (otherlibs): Likewise.
51871         * sunrpc/Makefile (otherlibs): Likewise.
51872         * nss/Makefile (otherlibs): Likewise.
51873         Add libnss_files to routines and static-only-routines.
51874         ($(objpfx)getent): Remove rule.
51875         * resolv/Makefile: Add libnss_dns and libresolv to routines and
51876         static-only-routines.
51878 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
51880         [BZ #13892]
51881         * math/s_cexp.c: Include <float.h>.
51882         (__cexp): Handle exp result overflowing not necessarily
51883         overflowing both real and imaginary parts of result.
51884         * math/s_cexpf.c: Likewise.
51885         * math/s_cexpl.c: Likewise.
51886         * math/libm-test.inc (cexp_test): Add more tests.
51887         * sysdeps/i386/fpu/libm-test-ulps: Update.
51888         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
51890 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
51892         * include/link.h (ELFW): New macro.
51893         * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
51894         Replace ELF64_R_TYPE with ELFW(R_TYPE).
51896 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
51898         * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
51899         with uint64_t.
51901 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
51903         * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
51904         declaration.
51905         (struct La_x32_retval): Likewise.
51907 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
51909         * sysdeps/x86_64/preconfigure.in: New file.
51910         * sysdeps/x86_64/preconfigure: New generated file.
51912 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
51914         [BZ #13824]
51915         * math/e_exp2l.c: Include <float.h>.
51916         (__ieee754_exp2l): Handle overflow and underflow cases
51917         separately.  Only pass fractional part of argument to
51918         __ieee754_expl.
51919         * math/libm-test.inc (exp2_test): Add more tests.
51921         * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
51922         negating x to take absolute value.
51923         * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
51924         Likewise.
51925         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
51926         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
51927         Likewise.
51928         * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
51929         computing low part if x was negated.
51930         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
51932 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
51934         * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
51935         la_x32_gnu_pltexit.
51936         (pltexit): Cast int_retval to ptrdiff_t.
51937         * elf/tst-auditmod3b.c: Likewise.
51938         * elf/tst-auditmod4b.c: Likewise.
51939         * elf/tst-auditmod5b.c: Likewise.
51940         * elf/tst-auditmod6b.c: Likewise.
51941         * elf/tst-auditmod6c.c: Likewise.
51942         * elf/tst-auditmod7b.c: Likewise.
51944         * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
51945         and x32_gnu_pltexit.
51947         * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
51948         __ELF_NATIVE_CLASS.
51949         (La_x32_regs): New macro.
51950         (La_x32_retval): Likewise.
51951         (la_x32_gnu_pltenter): New function prototype.
51952         (la_x32_gnu_pltexit): Likewise.
51954 2012-03-21  Andreas Schwab  <schwab@linux-m68k.org>
51956         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
51957         exponent.
51959         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
51961         * configure.in (libc_cv_cc_nofma): Check for option to disable
51962         generation of FMA instructions.
51963         * configure: Regenerate.
51964         * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
51965         * sysdeps/ieee754/dbl-64/Makefile: New file.
51966         * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
51967         Remove brandred-fma4.
51968         (CFLAGS-brandred-fma4.c): Remove.
51969         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
51970         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
51971         define.
51972         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
51973         define.
51975 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
51977         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
51978         LLONG_MAX != LONG_MAX.
51979         (_itoa_word): Use _ITOA_WORD_TYPE on value.
51980         (_fitoa_word): Likewise.
51981         * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
51982         LLONG_MAX != LONG_MAX.
51983         * stdio-common/_itowa.h: Include <_itoa.h>.
51984         (_itowa_word): Use _ITOA_WORD_TYPE on value.
51985         (_itowa): New macro.  Defined only if _ITOA_NEEDED is false.
51986         * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro.  Defined
51987         only if not defined.
51988         (_ITOA_WORD_TYPE): Likewise.
51989         (_itoa_word): Use _ITOA_WORD_TYPE on value.
51990         Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
51992 2012-03-21  David S. Miller  <davem@davemloft.net>
51994         * sysdeps/sparc/fpu/libm-test-ulps: Update.
51996 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
51998         * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
51999         of x86_64 when setting libc_cv_slibdir, libdir and
52000         libc_cv_localedir.
52001         * sysdeps/unix/sysv/linux/configure: Regenerated.
52003 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
52005         * manual/lang.texi (Old Varargs): Remove section.
52006         (How Variadic): Update menu.
52007         (va_start): Do not mention varargs.h.
52009 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
52010             Joseph Myers  <joseph@codesourcery.com>
52012         * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
52013         link test.
52014         * configure: Regenerated.
52016 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
52018         * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
52019         * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
52020         conformtest.pl
52022 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
52024         * NOTES: Remove.
52025         * Makefile (files-for-dist): Remove NOTES.
52026         (NOTES): Remove rule.
52027         * README: Don't refer to NOTES.
52028         * manual/creature.texi: Don't include macros.texi.
52029         * manual/intro.texi (creature.texi): Remove comment referring to
52030         NOTES.
52032         * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
52033         * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
52034         * configure: Regenerated.
52035         * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
52036         LIBC_TRY_CC_OPTION.
52037         (libc_cv_as_i686): Likewise.
52038         (libc_cv_cc_avx): Likewise.
52039         (libc_cv_cc_sse2avx): Likewise.
52040         (libc_cv_cc_fma4): Likewise.
52041         (libc_cv_cc_novzeroupper): Likewise.
52042         * sysdeps/i386/configure: Regenerated.
52044         [BZ #13883]
52045         * sysdeps/i386/fpu/s_cexp.S: Remove.
52046         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
52047         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
52048         * math/libm-test.inc (cexp_test): Add more tests.
52049         * sysdeps/i386/fpu/libm-test-ulps: Update.
52050         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52052 2012-03-21  Allan McRae  <allan@archlinux.org>
52054         * timezone/Makefile: Do not install iso3166.tab and zone.tab
52056 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
52058         [BZ #13871]
52059         * math/w_exp2.c: Do not include <float.h>.
52060         (o_threshold, u_threshold): Remove.
52061         (__exp2): Calculate result before checking finiteness and calling
52062         __kernel_standard.
52063         * math/w_exp2f.c: Likewise.
52064         * math/w_exp2l.c: Likewise.
52065         * math/libm-test.inc (exp2_test): Require overflow exception for
52066         1e6 input.
52068         [BZ #3866]
52069         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
52070         range of signed 64-bit integers before using fistpll.  Remove
52071         checks for whether integers fit in mantissa bits.
52072         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
52073         the range of signed 32-bit integers before using fistpl.  Remove
52074         checks for whether integers fit in mantissa bits.
52075         * sysdeps/i386/fpu/e_powl.S (p64): New object.
52076         (__ieee754_powl): Test for y outside the range of signed 64-bit
52077         integers before using fistpll.  Reduce 64-bit values to 63-bit
52078         ones as needed.
52079         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
52080         divide-by-zero is raised for zero to large negative powers.
52081         * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
52082         (__ieee754_powl): Test for y outside the range of signed 64-bit
52083         integers before using fistpll.  Reduce 64-bit values to 63-bit
52084         ones as needed.
52085         * math/libm-test.inc (pow_test): Add more tests.
52087 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
52089         * debug/backtracesymsfd.c: Include <_itoa.h> instead of
52090         <stdio-common/_itoa.h>.
52091         * debug/segfault.c: Likewise.
52092         * elf/dl-cache.c: Likewise.
52093         * elf/dl-minimal.c: Likewise.
52094         * elf/dl-misc.c: Likewise.
52095         * elf/dl-sysdep.c: Likewise.
52096         * elf/dl-version.c: Likewise.
52097         * elf/rtld.c: Likewise.
52098         * hurd/hurdsock.c: Likewise.
52099         * hurd/lookup-retry.c: Likewise.
52100         * malloc/malloc.c: Likewise.
52101         * malloc/mtrace.c: Likewise.
52102         * nscd/nscd_getgr_r.c: Likewise.
52103         * nscd/nscd_getpw_r.c: Likewise.
52104         * nscd/nscd_getserv_r.c: Likewise.
52105         * posix/getopt_init.c: Likewise.
52106         * posix/wordexp.c: Likewise.
52107         * stdio-common/_itoa.c: Likewise.
52108         * stdio-common/printf_fphex.c: Likewise.
52109         * stdio-common/vfprintf.c: Likewise.
52110         * string/_strerror.c: Likewise.
52111         * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
52112         * sysdeps/i386/i686/hp-timing.h: Likewise.
52113         * sysdeps/mach/_strerror.c: Likewise.
52114         * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
52115         * sysdeps/mach/hurd/sethostid.c: Likewise.
52116         * sysdeps/mach/hurd/xmknodat.c: Likewise.
52117         * sysdeps/mach/xpg-strerror.c: Likewise.
52118         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
52119         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
52120         * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
52121         * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
52122         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
52123         * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
52124         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
52125         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
52126         * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
52127         * sysdeps/unix/sysv/linux/futimes.c: Likewise.
52128         * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
52129         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
52130         * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
52131         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
52132         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
52133         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
52134         * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
52135         * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
52136         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
52137         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
52138         * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
52140         * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
52142         * stdio-common/_itoa.h: Moved to ...
52143         * sysdeps/generic/_itoa.h: Here.
52145         * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
52147         * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
52148         instead of "_itoa.h" and "_itowa.h".
52149         * stdio-common/vfprintf.: Likewise.
52151 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
52153         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
52154         <bits/wordsize.h>.
52155         (__signbitf): Check __x86_64__ instead of __WORDSIZE.
52156         (__signbit): Likwise.
52157         (llrintf): Likwise.
52158         (llrint): Likwise.
52160 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
52162         * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
52163         __WORDSIZE != 64.
52165 2012-03-20  Joseph Myers  <joseph@codesourcery.com>
52167         * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
52168         OVERFLOW_EXCEPTION_OK.
52169         * math/libm-test.inc ("Philosophy"): Update comment about
52170         exception testing.
52171         (OVERFLOW_EXCEPTION): Define.
52172         (OVERFLOW_EXCEPTION_OK): Likewise.
52173         (INVALID_EXCEPTION_OK): Renumber.
52174         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
52175         (IGNORE_ZERO_INF_SIGN): Likewise.
52176         (test_exceptions): Handle FE_OVERFLOW.
52177         (exp10_test): Expect overflow exceptions.
52178         (exp2_test): Likewise.
52179         (expm1_test): Likewise.
52180         (nextafter_test): Likewise.
52181         (pow_test): Likewise.
52182         (scalbn_test): Likewise.
52183         (scalbln_test): Likewise.
52185 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
52187         * sysdeps/x86_64/bits/atomic.h
52188         (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
52189         64bit integer.
52190         (atomic_exchange_acq): Likewise.
52191         (__arch_exchange_and_add_body): Likewise.
52192         (__arch_add_body): Likewise.
52193         (atomic_add_negative): Likewise.
52194         (atomic_add_zero): Likewise.
52196 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
52198         * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
52199         (fenv_t): Check __x86_64__ instead of __WORDSIZE.
52201 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
52203         * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
52204         Check __x86_64__ instead of __WORDSIZE.
52206 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
52208         * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
52210 2012-03-19  David S. Miller  <davem@davemloft.net>
52212         * sysdeps/sparc/fpu/libm-test-ulps: Update.
52214         * sysdeps/sparc/fpu/fenv_private.h: New file.
52215         * sysdeps/sparc/fpu/math_private.h: Use it.
52216         (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
52217         Remove.
52218         (libc_feholdexcept_setround, libc_feholdexcept_setroundf)
52219         (libc_feholdexcept_setroundl): Remove.
52220         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
52221         Remove.
52222         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
52223         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
52225 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
52227         * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
52228         int64_t instead of long int.
52229         (INSERT_WORDS64): Likwise.
52231 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
52233         * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
52234         _Unwind_GetCFA return to _Unwind_Ptr first.
52236 2012-03-19  Joseph Myers  <joseph@codesourcery.com>
52238         [BZ #13629]
52239         * math/s_clog.c: Include <float.h>.
52240         (__clog): Scale large or subnormal inputs.
52241         * math/s_clogf.c: Likewise.
52242         * math/s_clogl.c: Likewise.
52243         * math/s_clog10.c: Include <float.h>.
52244         (M_LOG10_2): Define.
52245         (__clog10): Scale large or subnormal inputs.
52246         * math/s_clog10f.c: Likewise.
52247         * math/s_clog10l.c: Likewise.
52248         * math/libm-test.inc (clog_test): Add more tests.
52249         (clog10_test): Likewise.
52250         * sysdeps/i386/fpu/libm-test-ulps: Update.
52251         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52253         [BZ #11451]
52254         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
52255         x and y.
52256         * math/libm-test.inc (atan2_test): Add another test.
52258         * Makerules (common-objdir-compile): Remove.
52259         * sysdeps/unix/Makefile (config-generated): Do not add
52260         $(unix-generated) to variable.
52261         [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
52262         [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
52263         Remove rule.
52264         [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
52265         Likewise.
52266         [generic bits/local_lim.h] (before-compile): Do not append to
52267         variable.
52268         [generic bits/local_lim.h] (common-generated): Likewise.
52269         [generic sys/param.h] (before-compile): Do not append to variable.
52270         [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
52271         [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
52272         [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
52273         [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
52274         include.
52275         [generic sys/param.h] (sys/param.h-includes): Remove variable.
52276         [generic sys/param.h] (sys/param.h-includes): Remove rule.
52277         [generic sys/param.h] ($(addprefix
52278         $(common-objpfx),$(sys/param.h-includes))): Likewise.
52279         [generic sys/param.h] (common-generated): Do not append to
52280         variable.
52281         [generic sys/param.h] (sysdep_headers): Likewise.
52282         [generic bits/errno.h] (before-compile): Do not append to
52283         variable.
52284         [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
52285         rule.
52286         [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
52287         [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
52288         [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
52289         [generic bits/errno.h] (common-generated): Do not append to
52290         variable.
52291         [generic bits/ioctls.h] (before-compile): Do not append to
52292         variable.
52293         [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
52294         rule.
52295         [generic bits/ioctls.h] (ioctl-includes): Remove variable.
52296         [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
52297         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
52298         rule.
52299         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
52300         [generic bits/ioctls.h] (bits_termios.h): Remove variable.
52301         [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
52302         [generic bits/ioctls.h] (common-generated): Do not append to
52303         variable.
52304         [generic sys/syscall.h] (syscall.h): Remove variable.
52305         [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
52306         rule.
52307         [generic sys/syscall.h] (before-compile): Do not append to
52308         variable.
52309         [generic sys/syscall.h] (common-generated): Likewise.
52310         * sysdeps/unix/errnos-tmpl.c: Remove file.
52311         * sysdeps/unix/errnos.awk: Likewise.
52312         * sysdeps/unix/ioctls-tmpl.c: Likewise.
52313         * sysdeps/unix/ioctls.awk: Likewise.
52314         * sysdeps/unix/mk-local_lim.c: Likewise.
52315         * sysdeps/unix/snarf-ioctls: Likewise.
52317 2012-03-19  Richard Henderson  <rth@twiddle.net>
52319         * sysdeps/i386/fpu/fenv_private.h: New file.
52320         * sysdeps/i386/fpu/math_private.h: Use it.
52321         (math_opt_barrier, math_force_eval): Remove.
52322         (libc_feholdexcept_setround_53bit): Remove.
52323         (libc_feupdateenv_53bit): Remove.
52324         * sysdeps/x86_64/fpu/math_private.h: Likewise.
52325         (math_opt_barrier, math_force_eval): Remove.
52326         (libc_feholdexcept): Remove.
52327         (libc_feholdexcept_setround): Remove.
52328         (libc_fetestexcept, libc_fesetenv): Remove.
52329         (libc_feupdateenv_test): Remove.
52330         (libc_feupdateenv, libc_feholdsetround): Remove.
52331         (libc_feresetround): Remove.
52333         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
52334         * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
52336         * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
52337         (libc_feupdateenv_test, libc_feupdateenv_testf): New.
52338         (libc_feupdateenv_testl): New.
52339         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
52340         (libc_feupdateenv_testf): New.
52341         (libc_feupdateenv): Use libc_feupdateenv_test.
52342         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
52343         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
52345         * sysdeps/generic/math_private.h (libc_feholdsetround): New.
52346         (libc_feholdsetroundf, libc_feholdsetroundl): New.
52347         (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
52348         (libc_feresetround_noex): New.
52349         (libc_feresetround_noexf): New.
52350         (libc_feresetround_noexl): New.
52351         (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
52352         (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
52353         (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
52354         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
52355         SET_RESTORE_ROUND.
52356         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
52357         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
52358         (__cos): Likewise.
52359         * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
52360         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
52361         SET_RESTORE_ROUND_NOEX.
52362         * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
52363         SET_RESTORE_ROUND_NOEXF.
52364         * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
52365         * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
52366         (libc_feholdsetroundf): New.
52367         (libc_feresetround, libc_feresetroundf): New.
52369         * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
52370         (libc_feholdexcept_setround_53bit): Convert from macro to function.
52371         (libc_feupdateenv_53bit): Likewise.  Don't force _FPU_EXTENDED.
52373         * sysdeps/generic/math_private.h: Include <fenv.h>.
52374         (default_libc_feholdexcept): New.
52375         (default_libc_feholdexcept_setround): New.
52376         (default_libc_fesetenv, default_libc_feupdateenv): New.
52377         (libc_feholdexcept): Only define if undefined.
52378         (libc_feholdexceptf, libc_feholdexceptl): Likewise.
52379         (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
52380         (libc_feholdexcept_setroundl): Likewise.
52381         (libc_feholdexcept_setround_53bit): Likewise.
52382         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
52383         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
52384         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
52385         (libc_feupdateenv_53bit): Likewise.
52386         * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
52387         (libc_feholdexcept): Convert from macro to inline function.
52388         (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
52389         (libc_fesetenv, libc_feupdateenv): Likewise.
52391         * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
52392         not previously defined.
52393         (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
52394         (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
52395         (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
52396         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
52397         * sysdeps/ieee754/flt-32/math_private.h: New file.
52398         * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
52399         math_private.h below SET_FLOAT_WORD.
52400         (__isnan, __isinf_ns, __finite): Remove.
52401         (__isnanf, __isinf_nsf, __finitef): Remove.
52403 2012-03-18  Andreas Schwab  <schwab@linux-m68k.org>
52405         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
52407 2012-03-17  David S. Miller  <davem@davemloft.net>
52409         [BZ #6471]
52410         * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
52411         for 2.16.
52413 2012-03-16  David S. Miller  <davem@davemloft.net>
52415         * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
52416         warnings.
52418         [BZ #6471]
52419         * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
52420         properly.
52421         * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
52422         * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
52423         sysdep_routines when subdir is sysvipc.
52424         * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
52425         __getshmlba helper.
52427         * sysdeps/sparc/fpu/libm-test/ulps: Update.
52429 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
52431         * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
52432         [__LP64__].
52434 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
52436         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
52437         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
52438         (__lround): Renamed to ...
52439         (__llround): This.  Replace long int with long long int.
52440         Define lround functions as aliases of llround functions.
52441         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
52443 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
52445         * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
52446         Use greg_t on sp.  Use unsigned int on idx_uc_link.  Cast
52447         adresses to uintptr_t.  Replace "long int" and "unsigned long
52448         int" with "greg_t" on va_arg.
52450 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
52452         * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
52453         * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
52455         * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
52456         Move e_machine check before EI_CLASS check.  Handle x32
52457         libraries.  Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
52458         * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
52459         SKIP_EM_IA_64 and include
52460         <sysdeps/unix/sysv/linux/i386/readelflib.c>.
52462         * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
52463         Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
52464         (add_system_dir): New macro.
52466         * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
52467         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
52469 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
52471         [BZ #2551]
52472         [BZ #2552]
52473         [BZ #2553]
52474         [BZ #2554]
52475         [BZ #2562]
52476         [BZ #2563]
52477         [BZ #2565]
52478         [BZ #2566]
52479         [BZ #2576]
52480         * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
52481         (y0): Likewise.
52482         * math/w_j0f.c (j0f): Likewise.
52483         (y0f): Likewise.
52484         * math/w_j0l.c (__j0l): Likewise.
52485         (__y0l): Likewise.
52486         * math/w_j1.c (j1): Likewise.
52487         (y1): Likewise.
52488         * math/w_j1f.c (j1f): Likewise.
52489         (y1f): Likewise.
52490         * math/w_j1l.c (__j1l): Likewise.
52491         (__y1l): Likewise.
52492         * math/w_jn.c (jn): Likewise.
52493         (yn): Likewise.
52494         * math/w_jnf.c (jnf): Likewise.
52495         (ynf): Likewise.
52496         * math/w_jnl.c (__jnl): Likewise.
52497         (__ynl): Likewise.
52498         * math/libm-test.inc (j0_test): Add more tests.
52499         (j1_test): Likewise.
52500         (jn_test): Likewise.  Add trailing semicolon to existing test.
52501         (y0_test): Likewise.
52502         (y1_test): Likewise.
52503         * sysdeps/i386/fpu/libm-test-ulps: Update.
52504         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52506         [BZ #13851]
52507         [BZ #13854]
52508         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
52509         libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
52510         * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
52511         * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
52512         (__tanl): Set errno for infinite argument.
52513         * sysdeps/i386/fpu/mptan.c: Remove.
52514         * sysdeps/i386/fpu/s_tan.S: Likewise.
52515         * sysdeps/i386/fpu/s_tanl.S: Likewise.
52516         * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
52517         * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
52518         * math/libm-test.inc (tan_test): Add more tests and enable more
52519         tests for double and long double.
52520         * sysdeps/i386/fpu/libm-test-ulps: Update.
52521         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52523 2012-03-16  Jan Kratochvil  <jan.kratochvil@redhat.com>
52525         * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
52526         (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
52528 2012-03-16  Roland McGrath  <roland@hack.frob.com>
52530         * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
52531         * configure.in: Use it for both main tree and add-ons.
52532         * configure: Regenerated.
52534 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
52536         * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
52538 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
52540         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
52541         in comment.
52543         [BZ #13851]
52544         * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
52545         * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
52546         * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
52547         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
52548         * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
52549         infinite argument.
52550         * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
52551         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
52552         != 0 for prec == 2.
52553         * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
52554         * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
52555         * sysdeps/i386/fpu/s_cosl.S: Likewise.
52556         * sysdeps/i386/fpu/s_sincosl.S: Likewise.
52557         * sysdeps/i386/fpu/s_sinl.S: Likewise.
52558         * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
52559         * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
52560         * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
52561         * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
52562         * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
52563         * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
52564         * math/libm-test.inc (cos_test): Add more tests and enable more
52565         tests for long double.
52566         (sin_test): Likewise.
52567         (sincos_test): Likewise.
52568         * sysdeps/i386/fpu/libm-test-ulps: Update.
52569         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52571 2012-03-16  David S. Miller  <davem@davemloft.net>
52573         * sysdeps/sparc/fpu/math_private.h: New file.
52575 2012-03-15  David S. Miller  <davem@davemloft.net>
52577         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
52578         file.
52579         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
52580         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
52581         file.
52582         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
52583         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
52584         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
52585         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
52586         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
52587         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
52588         sysdep routines.
52589         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
52591         * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
52592         * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
52594         * sysdeps/sparc/sparc-ifunc.h: New file.
52595         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
52596         sparc-ifunc.h
52597         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
52598         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
52599         Likewise.
52600         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
52601         Likewise.
52602         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
52603         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
52604         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
52605         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
52606         Likewise.
52607         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
52608         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
52609         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
52610         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
52611         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
52612         Likewise.
52613         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
52614         Likewise.
52615         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
52616         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
52617         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
52618         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
52619         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
52620         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
52621         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
52622         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
52623         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
52624         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
52625         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
52626         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
52627         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
52628         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
52629         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
52630         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
52631         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
52632         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
52633         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
52634         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
52635         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
52636         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
52637         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
52638         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
52640 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
52642         * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
52643         scaling.
52644         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
52646 2012-03-15  Andreas Jaeger  <aj@suse.de>
52648         [BZ #13852]
52649         * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
52650         ieee754/flt-32 implementation for sin, cos and sincos.
52651         * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
52652         * sysdeps/i386/fpu/s_cosf.S: Likewise.
52653         * sysdeps/i386/fpu/s_sincosf.S: Likewise.
52654         * sysdeps/i386/fpu/s_sinf.S: Likewise.
52655         * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
52656         ieee754/flt-32 implementation for tan.
52658         * math/libm-test.inc (cos_test): Enable some large input tests for
52659         float as well
52660         (sin_test): Likewise.
52661         (sincos_test): Likewise.
52662         (tan_test): Add tests for large input.
52664         * sysdeps/i386/fpu/libm-test-ulps: Update.
52666 2012-03-15  Andreas Jaeger  <aj@suse.de>
52668         [BZ #13658]
52669         * math/libm-test.inc (cos_test): Add more test cases.
52670         (sin_test): Likewise.
52671         (sincos_test): Likewise.
52673 2012-03-15  Andreas Jaeger  <aj@suse.de>
52675         [BZ #13837]
52676         * math/libm-test.inc (cos_test): Add a test case for large input
52677         value.
52678         (sin_test): Likewise.
52679         (sincos_test): Likewise.
52681 2012-03-15  Andreas Jaeger  <aj@suse.de>
52682             Joseph Myers  <joseph@codesourcery.com>
52684         [BZ #13658]
52685         * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
52686         x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
52687         * sysdeps/i386/fpu/branred.c: Likewise.
52688         * sysdeps/i386/fpu/dosincos.c: Likewise.
52689         * sysdeps/i386/fpu/mpa.c: Likewise.
52690         * sysdeps/i386/fpu/s_cos.S: Likewise.
52691         * sysdeps/i386/fpu/s_sin.S: Likewise.
52692         * sysdeps/i386/fpu/s_sincos.S: Likewise.
52693         * sysdeps/i386/fpu/sincos32.c: Likewise.
52695         * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
52696         Define.
52697         (libc_feupdateenv_53bit): Define.
52698         * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
52699         Define.
52700         (libc_feupdateenv_53bit): Define.
52702         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
52703         53 bit (without extend i386 double precision).
52705         * math/libm-test.inc (sincos_test): Add tests for large input.
52706         (sin): Likewise.
52707         (cos): Likewise.
52709         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
52711 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
52713         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
52715 2012-03-15  David S. Miller  <davem@davemloft.net>
52717         * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
52718         * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
52719         * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
52720         * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
52721         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
52722         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
52723         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
52724         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
52725         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
52726         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
52727         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
52728         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
52729         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
52730         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
52731         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
52732         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
52733         file.
52734         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
52735         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
52736         file.
52737         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
52738         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
52739         file.
52740         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
52741         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
52742         file.
52743         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
52744         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
52745         fmin/fmax sysdep routines.
52746         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
52748 2012-03-14  David S. Miller  <davem@davemloft.net>
52750         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
52751         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
52752         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
52753         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
52754         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
52755         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
52756         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
52757         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
52758         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
52759         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
52760         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
52761         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
52762         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
52763         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
52764         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
52765         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
52766         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
52767         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
52768         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
52769         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
52770         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
52771         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
52772         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
52773         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
52774         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
52775         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
52776         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
52777         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
52778         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
52779         routines.
52780         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
52781         file.
52782         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
52783         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
52784         file.
52785         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
52786         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
52787         file.
52788         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
52789         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
52790         file.
52791         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
52792         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
52793         file.
52794         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
52795         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
52796         file.
52797         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
52798         file.
52799         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
52800         file.
52801         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
52802         file.
52803         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
52804         New file.
52805         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
52806         file.
52807         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
52808         file.
52809         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
52810         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
52811         file.
52812         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
52813         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
52814         file.
52815         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
52816         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
52817         file.
52818         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
52819         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
52820         VIS3 routines.
52822         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
52823         New file.
52825         * sysdeps/sparc/fpu/libm-test-ulps: Update.
52827         * sysdeps/sparc/configure.in: New file.
52828         * sysdeps/sparc/configure: Generate.
52829         * configure.in (libc_cv_sparc_as_vis3): Substitute.
52830         * configure: Regenerate.
52831         * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
52832         * config.make.in (have-as-vis3): New.
52833         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
52834         available use -Av9d instead of -Av9a.
52835         * sysdeps/sparc/sparc64/Makefile: Likewise.
52836         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
52837         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
52838         New file.
52839         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
52840         file.
52841         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
52842         New file.
52843         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
52844         file.
52845         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
52846         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
52847         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
52848         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
52849         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
52851         * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
52852         fzeros/fnegs to load 0x80000000 into a float register instead of
52853         using the stack.
52854         * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
52856 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
52858         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
52859         bits/syscall.h.
52860         ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
52861         ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
52862         ($(inst_includedir)/bits/syscall.h): Remove rule.
52863         ($(objpfx)bits/syscall.d): Include instead of
52864         $(objpfx)syscall-list.d.
52865         (generated): Change syscall-list.h and syscall-list.d to
52866         bits/syscall.h and bits/syscall.d.
52868 2012-03-14  Roland McGrath  <roland@hack.frob.com>
52870         [BZ #13846]
52871         * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
52873 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
52875         [BZ #13841]
52876         * math/s_csqrt.c: Include <float.h>.
52877         (__csqrt): Scale large or subnormal inputs.
52878         * math/s_csqrtf.c: Likewise.
52879         * math/s_csqrtl.c: Likewise.
52880         * math/libm-test.inc (csqrt_test): Add more tests.
52881         * sysdeps/i386/fpu/libm-test-ulps: Update.
52882         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52884         [BZ #13840]
52885         * math/libm-test.inc (hypot_test): Add more tests.
52887 2012-03-13  David S. Miller  <davem@davemloft.net>
52889         [BZ #13840]
52890         * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
52891         double-precision for the calculation instead of scaling.
52893 2012-03-13  Joseph Myers  <joseph@codesourcery.com>
52895         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
52896         manipulate bits before adding and subtracting TWO52[sx].
52897         * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
52898         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
52899         Likewise.
52900         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
52902 2012-03-13  David S. Miller  <davem@davemloft.net>
52904         * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
52905         * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
52906         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
52907         rtld-global-offsets.h
52908         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
52910         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
52911         large parameters.
52913         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
52915         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
52916         'err' in the ifdef scope in which it is actually used.
52918         * nss/nss_db/db-init.c: Include string.h
52920 2012-03-12  David S. Miller  <davem@davemloft.net>
52922         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
52923         masking out of the most significant byte of random value used.
52924         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
52925         Fix coding style in previous change.
52927         * sysdeps/unix/sysv/linux/kernel-features.h
52928         (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
52929         (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
52930         expression.
52931         (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
52932         later.
52934 2012-03-11  David S. Miller  <davem@davemloft.net>
52936         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
52937         (__makecontext): Fix signedness of pointer casts setting up 'sp'.
52938         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
52939         for 'resultvar' otherwise things get truncated on 64-bit.
52941         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
52942         Fix masking out of the most significant byte of random value used.
52944         * sysdeps/sparc/fpu/libm-test-ulps: Update.
52946 2012-03-10  Andreas Schwab  <schwab@linux-m68k.org>
52948         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
52950 2012-03-09  David S. Miller  <davem@davemloft.net>
52952         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
52953         variables with appropriate CPP guards.
52954         * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr
52955         from the frame pointer, not the stack pointer.  Correct layout
52956         comments.  Fix test on resulting framesize and the management of
52957         the outregs buffer for pltexit.  Preserve floating point return
52958         values across _dl_call_pltexit call.
52959         * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
52960         framesize and the management of the outregs buffer for pltexit.
52961         Preserve floating point return values across _dl_call_pltexit
52962         call.
52963         * elf/sotruss-lib.c (la_sparc32_gnu_pltenter)
52964         (la_sparc64_gnu_pltenter, la_sparc32_gnu_pltexit)
52965         (la_sparc64_gnu_pltexit): New functions.
52966         (print_exit): Fix format string for return register value.
52968 2012-03-10  Joseph Myers  <joseph@codesourcery.com>
52970         * sunrpc/Makefile (others): Add rpcgen.
52971         ($(objpfx)rpcgen): Remove special build rule and dependency on
52972         libc.
52973         * sunrpc/rpcgen.c: New file.
52975 2012-03-09  Paul Eggert  <eggert@cs.ucla.edu>
52977         [BZ #13673]
52978         * posix/bug-regex33.c: Replace FSF snail mail address with URL.
52979         * stdio-common/bug-vfprintf-nargs.c: Likewise.
52980         * sysdeps/i386/crti.S: Likewise.
52981         * sysdeps/i386/crtn.S: Likewise.
52982         * sysdeps/powerpc/powerpc32/crti.S: Likewise.
52983         * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
52984         * sysdeps/powerpc/powerpc64/crti.S: Likewise.
52985         * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
52986         * sysdeps/sh/crti.S: Likewise.
52987         * sysdeps/sh/crtn.S: Likewise.
52988         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
52990         [BZ #13673]
52991         * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
52992         with URL.
52993         * locale/programs/locfile-kw.gperf: Likewise.
52994         * locale/programs/charmap-kw.h: Regenerated.
52995         * locale/programs/locfile-kw.h: Likewise.
52997         [BZ #13673]
52998         * intl/plural.y: Replace FSF snail mail address with URL.
52999         * intl/plural.c: Regenerated.
53001 2012-03-09  Richard Henderson  <rth@twiddle.net>
53003         * include/math_private.h: Remove file.
53004         * math/math_private.h: Move file ...
53005         * sysdeps/generic/math_private.h: ... here.
53007         * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
53008         * sysdeps/powerpc/fpu/math_private.h: Likewise.
53009         * sysdeps/x86_64/fpu/math_private.h: Likewise.
53011         * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
53012         and <math_private.h>.
53013         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
53014         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
53015         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
53016         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
53017         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
53018         * sysdeps/ieee754/dbl-64/branred.c: Likewise.
53019         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
53020         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
53021         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
53022         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
53023         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
53024         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
53025         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
53026         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
53027         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
53028         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
53029         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
53030         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
53031         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
53032         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
53033         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
53034         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
53035         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
53036         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
53037         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
53038         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
53039         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
53040         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
53041         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
53042         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
53043         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
53044         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
53045         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
53046         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
53047         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
53048         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
53049         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
53050         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
53051         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
53052         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
53053         * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
53054         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
53055         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
53056         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
53057         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
53058         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
53059         * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
53060         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
53061         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
53062         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
53063         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
53064         * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
53065         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
53066         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
53067         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
53068         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
53069         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
53070         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
53071         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
53072         * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
53073         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
53074         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
53075         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
53076         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
53077         * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
53078         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
53079         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
53080         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
53081         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
53082         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
53083         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
53084         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
53085         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
53086         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
53087         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
53088         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
53089         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
53090         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
53091         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
53092         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
53093         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
53094         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
53095         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
53096         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
53097         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
53098         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
53099         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
53100         * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
53101         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
53102         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
53103         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
53104         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
53105         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
53106         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
53107         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
53108         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
53109         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
53110         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
53111         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
53112         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
53113         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
53114         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
53115         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
53116         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
53117         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
53118         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
53119         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
53120         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
53121         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
53122         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
53123         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
53124         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
53125         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
53126         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
53127         * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
53128         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
53129         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
53130         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
53131         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
53132         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
53133         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
53134         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
53135         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
53136         * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
53137         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
53138         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
53139         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
53140         * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
53141         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
53142         * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
53143         * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
53144         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
53145         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
53146         * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
53147         * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
53148         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
53149         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
53150         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
53151         * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
53152         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
53153         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
53154         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
53155         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
53156         * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
53157         * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
53158         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
53159         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
53160         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
53161         * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
53162         * sysdeps/ieee754/k_standard.c: Likewise.
53163         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
53164         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
53165         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
53166         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
53167         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
53168         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
53169         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
53170         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
53171         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
53172         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
53173         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
53174         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
53175         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
53176         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
53177         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
53178         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
53179         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
53180         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
53181         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
53182         * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
53183         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
53184         * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
53185         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
53186         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
53187         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
53188         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
53189         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
53190         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
53191         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
53192         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
53193         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
53194         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
53195         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
53196         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
53197         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
53198         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
53199         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
53200         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
53201         * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
53202         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
53203         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
53204         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
53205         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
53206         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
53207         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
53208         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
53209         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
53210         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
53211         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
53212         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
53213         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
53214         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
53215         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
53216         * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
53217         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
53218         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
53219         * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
53220         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
53221         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
53222         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
53223         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
53224         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
53225         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
53226         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
53227         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
53228         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
53229         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
53230         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
53231         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
53232         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
53233         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
53234         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
53235         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
53236         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
53237         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
53238         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
53239         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
53240         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
53241         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
53242         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
53243         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
53244         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
53245         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
53246         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
53247         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
53248         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
53249         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
53250         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
53251         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
53252         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
53253         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
53254         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
53255         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
53256         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
53257         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
53258         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
53259         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
53260         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
53261         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
53262         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
53263         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
53264         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
53265         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
53266         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
53267         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
53268         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
53269         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
53270         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
53271         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
53272         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
53273         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
53274         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
53275         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
53276         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
53277         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
53278         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
53279         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
53280         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
53281         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
53282         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
53283         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
53284         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
53285         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
53286         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
53287         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
53288         * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
53289         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
53290         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
53291         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
53292         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
53293         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
53294         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
53295         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
53296         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
53297         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
53298         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
53299         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
53300         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
53301         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
53302         * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
53303         * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
53304         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
53305         * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
53306         * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
53307         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
53308         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
53309         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
53310         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
53311         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
53312         * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
53313         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
53314         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
53315         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
53316         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
53317         * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
53318         * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
53319         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
53320         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
53321         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
53322         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
53323         * sysdeps/ieee754/s_lib_version.c: Likewise.
53324         * sysdeps/ieee754/s_matherr.c: Likewise.
53325         * sysdeps/ieee754/s_signgam.c: Likewise.
53326         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
53327         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
53328         * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
53329         * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
53330         * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
53331         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
53332         * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
53333         * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
53334         * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
53335         * sysdeps/powerpc/fpu/s_rint.c: Likewise.
53336         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
53337         * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
53338         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
53339         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
53340         * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
53341         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
53342         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
53343         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
53344         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
53345         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
53346         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
53348 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
53350         * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
53351         * sunrpc/rpc_main.c: Likewise.
53352         * sunrpc/rpc_svcout.c: Likewise.
53354 2012-03-09  David S. Miller  <davem@davemloft.net>
53356         * include/math_private.h: New file.
53358 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
53360         * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
53361         * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
53362         * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
53363         from <bits/socket_type.h>.
53364         (enum __socket_type): Don't define here.
53365         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
53366         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
53367         bits/socket_type.h.
53369         [BZ #13566]
53370         * libio/stdio.h (gets): Always declare for C++ up to C++11 without
53371         checking __USE_GNU.
53373         * Makerules ($(inst_includedir)/%.h): New rule.
53374         * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
53375         (install-others): Remove variable setting.
53376         ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
53378 2012-03-08  Richard Henderson  <rth@twiddle.net>
53380         * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
53381         from macro to inline function; merge with the
53382         !__LIBC_INTERNAL_MATH_INLINES version.
53383         (__ieee754_sqrtf): Likewise.
53385         * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
53386         to inline function.
53387         (__rintf, __floor, __floorf): Likewise.
53389         * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
53390         macro to inline function.
53391         (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
53393         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
53394         not <math/math_private.h>.
53396 2012-03-08  David S. Miller  <davem@davemloft.net>
53398         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
53399         copyright year.
53400         * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
53402 2012-03-08  Thomas Schwinge  <thomas@codesourcery.com>
53404         * resolv/gai_misc.c (handle_requests): Fix struct timespec
53405         normalization.
53406         * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
53407         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
53409 2012-03-08  Ulrich Drepper  <drepper@gmail.com>
53411         * stdio-common/tst-fphex.c: Various cleanups.  The macros cannot
53412         be defined individually, they must be defined as a block.  Define
53413         S for printing a string instead of hidint the different by using a
53414         macro for adding the 'l'.
53415         * stdio-common/tst-fphex-wide.c: Adjust.
53417 2012-03-07  Marek Polacek  <polacek@redhat.com>
53419         * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
53421 2012-03-08  Marek Polacek  <polacek@redhat.com>
53423         [BZ #13806]
53424         * stdio-common/Makefile (tests): Add tst-fphex-wide.
53425         * stdio-common/tst-fphex.c: Define a few macros to make the
53426         test reusable.  Use them.
53427         * stdio-common/tst-fphex-wide.c: New file.
53429 2012-03-08  Joseph Myers  <joseph@codesourcery.com>
53431         [BZ #6911]
53432         * manual/macros.texi (gnusystems): New macro.
53433         (nongnusystems): Likewise.
53434         (gnulinuxhurdsystems): Likewise.
53435         (gnuhurdsystems): Likewise..
53436         (gnulinuxsystems): Likewise.
53437         * manual/charset.texi: Use new macros or @theglibc{} to refer to
53438         variants of the GNU system, not "GNU system".
53439         * manual/conf.texi: Likewise.
53440         * manual/errno.texi: Likewise.  Update example of errno macro
53441         expansion.
53442         * manual/filesys.texi: Likewise.
53443         (getumask): Document as specific to GNU/Hurd.
53444         * manual/install.texi: Likewise.  Reword some references to
53445         GNU/Linux.
53446         * manual/intro.texi: Likewise.
53447         * manual/io.texi: Likewise.
53448         (File Name Portability): Detail which constraints are inapplicable
53449         to all GNU systems and which are only inapplicable to GNU/Hurd.
53450         * manual/job.texi: Likewise.
53451         * manual/llio.texi: Likewise.
53452         (O_NOCTTY): Document as present on GNU/Linux.
53453         * manual/maint.texi: Likewise.
53454         * manual/memory.texi: Likewise.
53455         * manual/pattern.texi: Likewise.
53456         * manual/pipe.texi: Likewise.
53457         * manual/process.texi: Likewise.
53458         * manual/resource.texi: Likewise.
53459         (RUSAGE_CHILDREN): Remove statement about specifying a particular
53460         child on GNU/Hurd.
53461         * manual/setjmp.texi: Likewise.
53462         * manual/signal.texi: Likewise.
53463         * manual/startup.texi: Likewise.
53464         * manual/stdio.texi: Likewise.
53465         * manual/terminal.texi: Likewise.
53466         (ONLCR): Document as POSIX.
53467         (OXTABS): Document availability on GNU/Linux as XTABS.
53468         (ONOEOT): Document availability separately from other bits.
53469         (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
53470         * manual/time.texi: Likewise.
53471         * manual/users.texi: Likewise.
53472         * INSTALL: Regenerated.
53473         * sysdeps/gnu/errlist.c: Regenerated.
53475         * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
53476         * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
53477         (libc_cv_ctors_header): Likewise.  Use asm ("") instead of calling
53478         puts.
53479         * configure: Regenerated.
53481 2012-03-07  Joseph Myers  <joseph@codesourcery.com>
53483         * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
53484         default includes instead of AC_HEADER_CHECK.
53485         * sysdeps/i386/configure: Regenerated.
53487         [BZ #10716]
53488         * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
53489         * math/s_cacoshf.c (__cacoshf): Likewise.
53490         * math/s_cacoshl.c (__cacoshl): Likewise.
53491         * math/s_casinh.c (__casinh): Set signs of result from argument.
53492         * math/s_casinhf.c (__casinhf): Likewise.
53493         * math/s_casinhl.c (__casinhl): Likewise.
53494         * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
53495         (casinh_test): Add more tests.
53496         * sysdeps/i386/fpu/libm-test-ulps: Update.
53497         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53499 2012-03-07  Ulrich Drepper  <drepper@gmail.com>
53501         * po/zh_TW.po: Update from translation team.
53503         * login/Makefile (distribute): Remove variable.
53504         * catgets/Makefile: Likewise.
53505         * mach/Makefile: Likewise.
53506         * malloc/Makefile: Likewise.
53507         * misc/Makefile: Likewise.
53508         * iconv/Makefile: Likewise.
53509         * nscd/Makefile: Likewise.
53510         * hurd/Makefile: Likewise.
53511         * manual/Makefile: Likewise.
53512         * locale/Makefile: Likewise.
53513         * intl/Makefile: Likewise.
53514         * conform/Makefile: Likewise.
53515         * nss/Makefile: Likewise.
53516         * time/Makefile: Likewise.
53517         * soft-fp/Makefile: Likewise.
53518         * dirent/Makefile: Likewise.
53519         * gmon/Makefile: Likewise.
53520         * po/Makefile: Likewise.
53521         * rt/Makefile: Likewise.
53522         * socket/Makefile: Likewise.
53523         * math/Makefile: Likewise.
53524         * signal/Makefile: Likewise.
53525         * debug/Makefile: Likewise.
53526         * elf/Makefile: Likewise.
53527         * timezone/Makefile: Likewise.
53528         * stdlib/Makefile: Likewise.
53529         * iconvdata/Makefile: Likewise.
53530         * sunrpc/Makefile: Likewise.
53531         * io/Makefile: Likewise.
53532         * argp/Makefile: Likewise.
53533         * inet/Makefile: Likewise.
53534         * hesiod/Makefile: Likewise.
53535         * grp/Makefile: Likewise.
53536         * csu/Makefile: Likewise.
53537         * wctype/Makefile: Likewise.
53538         * crypt/Makefile: Likewise.
53539         * libio/Makefile: Likewise.
53540         * string/Makefile: Likewise.
53541         * nis/Makefile: Likewise.
53542         * resolv/Makefile: Likewise.
53543         * stdio-common/Makefile: Likewise.
53544         * wcsmbs/Makefile: Likewise.
53545         * dlfcn/Makefile: Likewise.
53546         * posix/Makefile: Likewise.
53548         [BZ #6959]
53549         * timezone/Makefile: Don't install timezone files, just the programs
53550         and scripts.
53552 2012-03-06  Ulrich Drepper  <drepper@gmail.com>
53554         * nss/databases.def: Add missing gshadow entry.
53556         * stdio-common/vfprintf.c: Fix formatting.  Missing copyright update.
53558 2012-03-06  Marek Polacek  <polacek@redhat.com>
53560         [BZ #13726]
53561         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
53562         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
53563         * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
53564         * stdio-common/tst-long-dbl-fphex.c: New file.
53566 2012-03-06  David S. Miller  <davem@davemloft.net>
53568         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
53569         (set_obp_int): New function.
53570         (get_obp_int): New function.
53571         (__get_clockfreq_via_dev_openprom): Likewise.
53572         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
53573         Avoid unused variable warnings on 'val' and use builtin_expect.
53574         (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
53575         __builtin_expect.
53576         (INLINE_CLONE_SYSCALL): Likewise.
53578 2012-03-05  David S. Miller  <davem@davemloft.net>
53580         * sysdeps/sparc/fpu/libm-test-ulps: Update.
53582 2012-03-05  Andreas Schwab  <schwab@linux-m68k.org>
53584         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
53586         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
53587         only for |x| >= 40.
53588         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
53590 2012-03-05  H.J. Lu  <hongjiu.lu@intel.com>
53592         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
53593         Replace gettimeofday with __vdso_gettimeofday.
53595         * sysdeps/unix/sysv/linux/x86_64/init-first.c
53596         (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
53597         __vdso_clock_gettime and __vdso_getcpu.
53599         * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
53600         time with __vdso_time.
53602 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
53604         * manual/lang.texi (size_t): Note types to which size_t may be
53605         equivalent with the GNU C Library, but do not describe when
53606         differences between them are significant.
53608 2012-03-05  Andreas Jaeger  <aj@suse.de>
53610         * sysdeps/i386/fpu/libm-test-ulps: Update.
53612 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
53614         [BZ #3976]
53615         * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
53616         (__ieee754_pow): Save and restore rounding mode and use
53617         round-to-nearest for main computations.
53618         * math/libm-test.inc (pow_test_tonearest): New function.
53619         (pow_test_towardzero): Likewise.
53620         (pow_test_downward): Likewise.
53621         (pow_test_upward): Likewise.
53622         (main): Call the new functions.
53623         * sysdeps/i386/fpu/libm-test-ulps: Update.
53624         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53626         [BZ #3976]
53627         * math/libm-test.inc (cosh_test_tonearest): New function.
53628         (cosh_test_towardzero): Likewise.
53629         (cosh_test_downward): Likewise.
53630         (cosh_test_upward): Likewise.
53631         (sinh_test_tonearest): Likewise.
53632         (sinh_test_towardzero): Likewise.
53633         (sinh_test_downward): Likewise.
53634         (sinh_test_upward): Likewise.
53635         (main): Call the new functions.
53636         * sysdeps/i386/fpu/libm-test-ulps: Update.
53637         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53639 2012-03-05  Tom de Vries  <tom@codesourcery.com>
53641         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
53642         default stack guard is set in last bytes.
53643         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
53645 2012-03-05  Kees Cook  <keescook@chromium.org>
53647         * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
53649         [BZ #13656]
53650         * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
53651         possibly allocate from heap instead of stack.
53652         * stdio-common/bug-vfprintf-nargs.c: New file.
53653         * stdio-common/Makefile (tests): Add nargs overflow test.
53655 2012-03-03  Andreas Schwab  <schwab@linux-m68k.org>
53657         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
53659 2012-03-03  Marek Polacek  <polacek@redhat.com>
53661         * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
53662         * math/math_private.h: Likewise.
53663         * stdlib/tst-strtod.c: Likewise.
53664         * sysdeps/i386/i486/bits/atomic.h: Likewise.
53665         * sysdeps/x86_64/bits/atomic.h: Likewise.
53667 2012-03-02  David S. Miller  <davem@davemloft.net>
53669         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
53670         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
53671         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
53672         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
53673         * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
53674         * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
53675         * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
53676         * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
53678 2012-03-02  Roland McGrath  <roland@hack.frob.com>
53680         [BZ #13792]
53681         * manual/examples/README: New file, says the example source files
53682         can be used under GPL>=2.
53683         * manual/Makefile (%.c.texi): Eat the leading part of the file until a
53684         line containing just "*/".
53685         * manual/examples/add.c: Add copyright header (GPL>=2).
53686         * manual/examples/argp-ex1.c: Likewise.
53687         * manual/examples/argp-ex2.c: Likewise.
53688         * manual/examples/argp-ex3.c: Likewise.
53689         * manual/examples/argp-ex4.c: Likewise.
53690         * manual/examples/atexit.c: Likewise.
53691         * manual/examples/db.c: Likewise.
53692         * manual/examples/dir.c: Likewise.
53693         * manual/examples/dir2.c: Likewise.
53694         * manual/examples/execinfo.c: Likewise.
53695         * manual/examples/filecli.c: Likewise.
53696         * manual/examples/filesrv.c: Likewise.
53697         * manual/examples/fmtmsgexpl.c: Likewise.
53698         * manual/examples/genpass.c: Likewise.
53699         * manual/examples/inetcli.c: Likewise.
53700         * manual/examples/inetsrv.c: Likewise.
53701         * manual/examples/isockad.c: Likewise.
53702         * manual/examples/longopt.c: Likewise.
53703         * manual/examples/memopen.c: Likewise.
53704         * manual/examples/memstrm.c: Likewise.
53705         * manual/examples/mkfsock.c: Likewise.
53706         * manual/examples/mkisock.c: Likewise.
53707         * manual/examples/mygetpass.c: Likewise.
53708         * manual/examples/pipe.c: Likewise.
53709         * manual/examples/popen.c: Likewise.
53710         * manual/examples/rprintf.c: Likewise.
53711         * manual/examples/search.c: Likewise.
53712         * manual/examples/select.c: Likewise.
53713         * manual/examples/setjmp.c: Likewise.
53714         * manual/examples/sigh1.c: Likewise.
53715         * manual/examples/sigusr.c: Likewise.
53716         * manual/examples/stpcpy.c: Likewise.
53717         * manual/examples/strdupa.c: Likewise.
53718         * manual/examples/strftim.c: Likewise.
53719         * manual/examples/strncat.c: Likewise.
53720         * manual/examples/subopt.c: Likewise.
53721         * manual/examples/swapcontext.c: Likewise.
53722         * manual/examples/termios.c: Likewise.
53723         * manual/examples/testopt.c: Likewise.
53724         * manual/examples/testpass.c: Likewise.
53725         * manual/examples/timeval_subtract.c: Likewise.
53727         [BZ #13792]
53728         * manual/time.texi (Elapsed Time): Move timeval_subtract example
53729         function to ...
53730         * manual/timeval_subtract.c.texi: ... here, new file.
53732 2012-03-02  David S. Miller  <davem@davemloft.net>
53734         * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
53736 2012-03-02  Joseph Myers  <joseph@codesourcery.com>
53738         [BZ #3976]
53739         * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
53740         (__sin): Save and restore rounding mode and use round-to-nearest
53741         for all computations.
53742         (__cos): Save and restore rounding mode and use round-to-nearest
53743         for all computations.
53744         * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
53745         <fenv.h>.
53746         (tan): Save and restore rounding mode and use round-to-nearest for
53747         all computations.
53748         * math/libm-test.inc (cos_test_tonearest): New function.
53749         (cos_test_towardzero): Likewise.
53750         (cos_test_downward): Likewise.
53751         (cos_test_upward): Likewise.
53752         (sin_test_tonearest): Likewise.
53753         (sin_test_towardzero): Likewise.
53754         (sin_test_downward): Likewise.
53755         (sin_test_upward): Likewise.
53756         (tan_test_tonearest): Likewise.
53757         (tan_test_towardzero): Likewise.
53758         (tan_test_downward): Likewise.
53759         (tan_test_upward): Likewise.
53760         (main): Call the new functions.
53761         * sysdeps/i386/fpu/libm-test-ulps: Update.
53762         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53764         [BZ #10135]
53765         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
53766         small n, then large n, before computing and testing k+n.
53767         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
53768         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
53769         Likewise.
53770         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
53771         Likewise.
53772         * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
53773         * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
53774         * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
53775         * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
53776         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
53777         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
53778         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
53779         * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
53780         * math/libm-test.inc (scalbn_test): Add more tests.
53781         (scalbln_test): Likewise.
53783         * manual/filesys.texi (mode_t): Describe constraints on size and
53784         signedness, not exact equivalence to a particular type.
53785         (ino_t): Likewise.
53786         (ino64_t): Likewise.
53787         (dev_t): Likewise.
53788         (nlink_t): Likewise.
53789         (blkcnt_t): Likewise.
53790         (blkcnt64_t): Likewise.
53791         * manual/llio.texi (off_t): Likewise.
53793         [BZ #3976]
53794         * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
53795         (__ieee754_exp): Save and restore rounding mode and use
53796         round-to-nearest for all computations.
53797         * math/libm-test.inc (exp_test_tonearest): New function.
53798         (exp_test_towardzero): Likewise.
53799         (exp_test_downward): Likewise.
53800         (exp_test_upward): Likewise.
53801         (main): Call the new functions.
53802         * sysdeps/i386/fpu/libm-test-ulps: Update.
53803         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53805 2012-03-01  Chris Demetriou  <cgd@google.com>
53807         * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
53808         have predictable order.
53810 2012-03-01  David S. Miller  <davem@davemloft.net>
53812         * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
53814         * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
53815         * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
53816         * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
53817         * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
53819         * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
53820         * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
53821         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
53822         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
53823         * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
53824         * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
53825         * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
53826         * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
53827         * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
53829         * sysdeps/sparc/fpu/libm-test-ulps: Update.
53831         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
53832         * sysdeps/sparc/fpu/libm-test-ulps: to here.
53833         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
53835         * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
53836         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
53837         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
53838         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
53839         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
53840         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
53841         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
53842         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
53843         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
53844         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
53845         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
53846         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
53847         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
53848         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
53849         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
53850         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
53851         * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
53852         * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
53853         * sysdeps/sparc/elf/configure: Regenerated.
53855 2012-03-01  Joseph Myers  <joseph@codesourcery.com>
53857         * configure.in (AS, LD): Require binutils 2.20 or later.
53858         * configure: Regenerated.
53859         * manual/install.texi (Tools for Compilation): Give binutils 2.20
53860         as required minimum version.
53861         * INSTALL: Regenerated.
53863         [BZ #2541]
53864         [BZ #4108]
53865         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
53866         before squaring exponent.
53867         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
53868         bottom long double and 27 bits of top long double before squaring
53869         exponent.
53870         * math/libm-test.inc (erfc_test): Add more tests.
53871         * sysdeps/i386/fpu/libm-test-ulps: Update.
53872         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
53873         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53875 2012-03-01  Kai Tietz  <ktietz@redhat.com>
53877         * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
53878         * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
53879         containing bit-fields.
53880         * soft-fp/extended.h (_FP_UNION_E): Likewise.
53881         * soft-fp/single.h (_FP_UNION_S): Likewise.
53882         * soft-fp/double.h (_FP_UNION_D): Likewise.
53884 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
53886         [BZ #13786]
53887         * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
53888         not include ../strcmp.S.
53889         [USE_AS_STRNCASECMP_L]: Likewise.
53890         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
53891         (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
53892         * sysdeps/i386/i686/multiarch/strncase_l-c.c
53893         (__strncasecmp_l_ia32): Define as alias to
53894         __strncasecmp_l_nonascii.
53896         [BZ #5794]
53897         * math/libm-test.inc (expm1_test): Add test for bug 5794.
53898         * sysdeps/i386/fpu/libm-test-ulps: Update.
53899         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53901         * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
53902         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53904 2012-02-29  Jeff Law  <law@redhat.com>
53906         * resolv/res_query.c (__libc_res_nquerydomain): Avoid
53907         out of bounds read.
53909 2012-02-29  Marek Polacek  <polacek@redhat.com>
53911         [BZ #13706]
53912         * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
53913         * elf/Makefile: Add rules to run tst-unused-dep.out.
53915 2012-02-28  David S. Miller  <davem@davemloft.net>
53917         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
53918         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
53919         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
53920         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
53921         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
53922         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
53924 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
53926         * math/libm-test.inc (llround_test): Move one test from
53927         lround_test.  Use TEST_f_L in moved test.
53928         (lround_test): Move misplaced test to llround_test.  Add testcase
53929         from bug 2561.
53931 2012-02-28  Ulrich Drepper  <drepper@gmail.com>
53933         * sysdeps/x86_64/fpu/e_expf.S: New file.
53934         Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
53936 2012-02-28  Stanislav Brabec  <sbrabec@suse.cz>
53938         [BZ #13637]
53939         * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
53940         of remain_len that may cause incomplete multi-byte character and
53941         false match.
53942         * posix/bug-regex33.c: New file.
53943         * posix/Makefile (tests): Add bug-regex33.
53945 2012-02-28  Joseph Myers  <joseph@codesourcery.com>
53947         * manual/macros.texi: New file.
53948         * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
53949         * manual/libc.texinfo: Include macros.texi.
53950         * manual/creatute.texi: Likewise.
53951         * manual/install.texi: Likewise.
53952         * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
53953         @glibcadj{} in references to the GNU C Library.
53954         * manual/charset.texi: Likewise.
53955         * manual/conf.texi: Likewise.
53956         * manual/contrib.texi: Likewise.  Consistently use "GNU C Library"
53957         when not using those macros.
53958         * manual/creature.texi: Likewise.
53959         * manual/crypt.texi: Likewise.
53960         * manual/errno.texi: Likewise.
53961         * manual/filesys.texi: Likewise.
53962         * manual/header.texi: Likewise.
53963         * manual/install.texi: Likewise.
53964         * manual/intro.texi: Likewise.
53965         * manual/io.texi: Likewise.
53966         * manual/job.texi: Likewise.
53967         * manual/lang.texi: Likewise.
53968         * manual/libc.texiinfo: Likewise.
53969         * manual/llio.texi: Likewise.
53970         * manual/locale.texi: Likewise.
53971         * manual/maint.texi: Likewise.
53972         * manual/math.texi: Likewise.
53973         * manual/memory.texi: Likewise.
53974         * manual/message.texi: Likewise.
53975         * manual/nss.texi: Likewise.
53976         * manual/pattern.texi: Likewise.
53977         * manual/process.texi: Likewise.
53978         * manual/resource.texi: Likewise.
53979         * manual/search.texi: Likewise.
53980         * manual/setjmp.texi: Likewise.
53981         * manual/signal.texi: Likewise.
53982         * manual/socket.texi: Likewise.
53983         * manual/startup.texi: Likewise.
53984         * manual/stdio.texi: Likewise.
53985         * manual/string.texi: Likewise.
53986         * manual/sysinfo.texi: Likewise.
53987         * manual/syslog.texi: Likewise.
53988         * manual/terminal.texi: Likewise.
53989         * manual/time.texi: Likewise.
53990         * manual/users.texi: Likewise.
53991         * INSTALL: Regenerated.
53992         * NOTES: Regenerated.
53993         * sysdeps/gnu/errlist.c: Regenerated.
53995 2012-02-28  Andreas Schwab  <schwab@linux-m68k.org>
53997         * include/dirent.h: Include <dirstream.h> before
53998         <dirent/dirent.h>.
54000 2012-02-28  David S. Miller  <davem@davemloft.net>
54002         * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
54003         * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
54004         * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
54005         * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
54007 2012-02-27  David S. Miller  <davem@davemloft.net>
54009         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
54010         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
54011         * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
54012         * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
54014         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
54015         frame pointer instead of stack pointer relative arg slot.
54016         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
54017         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
54018         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
54020 2012-02-27  Carlos O'Donell  <carlos_odonell@mentor.com>
54022         [BZ #3992]
54023         * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
54025 2012-02-27  David S. Miller  <davem@davemloft.net>
54027         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
54028         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
54029         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
54030         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
54031         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
54032         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
54033         * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
54034         * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
54036 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
54038         * configure.in (CC): Restrict allowed GCC versions to 4.3 and
54039         later.  Allow versions 5-9.
54040         * configure: Regenerated.
54041         * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
54042         required minimum version and 4.6 as recommended version.  Do not
54043         mention bugs in GCC 2.7 and 2.8.
54044         * INSTALL: Regenerated.
54046 2012-02-27  David S. Miller  <davem@davemloft.net>
54048         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
54049         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
54050         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
54051         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
54052         * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
54053         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
54054         * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
54055         * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
54057         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
54058         manipulate bits before adding and subtracting TWO112[sx].
54059         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
54061 2012-02-27  Roland McGrath  <roland@hack.frob.com>
54063         [BZ #13775]
54064         * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
54065         [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
54066         * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
54067         being in POSIX, because they are in 1003.1-2008.
54069         * rt/tst-aio.c: Include <fcntl.h>.
54070         * rt/tst-aio7.c: Likewise.
54071         * rt/tst-aio64.c: Likewise.
54073         * stdio-common/tst-fmemopen.c (main): Remove spurious const.
54075 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
54077         * manual/install.texi (--with-headers): Describe headers as
54078         interface headers, not private headers.
54079         (Specific advice for GNU/Linux systems): Describe use of headers
54080         from "make headers_install", not private headers from older
54081         kernels.
54082         * INSTALL: Regenerated.
54083         * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
54084         Change to 2.6.19.
54085         * sysdeps/unix/sysv/linux/configure: Regenerated.
54087         * manual/llio.texi (fclean): Remove documentation.
54089         * manual/Makefile (libc-texi-generated): New variable.  Include
54090         version.texi.
54091         (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
54092         $(libc-texi-generated), not duplicated list of files.
54093         (version.texi, stamp-version): New rules.
54094         (realclean): Remove $(libc-texi-generated), not individual files
54095         from that list.  Do not remove dir-add.texinfo.
54096         * manual/libc.texinfo: Comment out uses of edition numbers and
54097         references to printed manual.  Remove last-updated dates.
54098         (EDITION): Comment out.
54099         (ISBN): Likewise.
54100         (VERSION, UPDATED): Remove.
54101         (version.texi): Include.
54103 2012-02-27  Andreas Schwab  <schwab@linux-m68k.org>
54105         * sysdeps/posix/spawni.c: Include <signal.h>.
54106         * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
54107         * sysdeps/pthread/aio_fsync.c: Likewise.
54109 2012-02-26  Ulrich Drepper  <drepper@gmail.com>
54111         * conform/Makefile (tests): Run only when not cross-compiling and
54112         when fast-check is not defined.
54114         * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
54115         * conform/data/limits.h-data: Fixes for POSIX2008.
54116         * conform/run-conformtest.sh: Run all tests.
54117         * include/arpa/inet.h: Changes to allow conformtest.pl to use the
54118         headers.
54119         * include/bits/dlfcn.h: Likewise.
54120         * include/langinfo.h: Likewise.
54121         * include/monetary.h: Likewise.
54122         * include/sys/poll.h: Likewise.
54124         * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
54125         for __USE_GNU.
54126         * posix/spawn.h: Define __need_sigset_t.
54127         * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
54128         * posix/unistd.h: Declare ctermid only for XPG before XPG6.
54129         * rt/aio.h: Don't include fcntl.h and signal.h.  Use bits/siginfo.h
54130         to get sigevent_t only.
54131         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
54132         only for __USE_GNU.
54133         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
54134         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
54135         process_vm_writev only for __USE_GNU.
54136         * termios/termios.h: Declare tcgetsid also for POSIX2008.
54138         * conform/Makefile: For now ignore errors from run-conformtest.
54139         * conform/conformtest.pl: Simplify code.  Add -ansi to CFLAGS for
54140         POSIX to avoid namespace pollution.  Don't prepend headers.
54141         * conform/data/aio.h-data: Fixes for POSIX testing.
54142         * conform/data/fcntl.h-data: Likewise.
54143         * conform/data/glob.h-data: Likewise.
54144         * conform/data/grp.h-data: Likewise.
54145         * conform/data/pthread.h-data: Likewise.
54146         * conform/data/pwd.h-data: Likewise.
54147         * conform/data/signal.h-data: Likewise.
54148         * conform/data/spawn.h-data: Likewise.
54149         * conform/data/stdio.h-data: Likewise.
54150         * conform/data/stdlib.h-data: Likewise.
54151         * conform/data/stropts.h-data: Likewise.
54152         * conform/data/sys/mman.h-data: Likewise.
54153         * conform/data/sys/stat.h-data: Likewise.
54154         * conform/data/sys/types.h-data: Likewise.
54155         * conform/data/sys/wait.h-data: Likewise.
54156         * conform/data/time.h-data: Likewise.
54157         * conform/data/unistd.h-data: Likewise.
54158         * conform/data/utime.h-data: Likewise.
54160         * io/sys/stat.h: fchmod was always in POSIX.
54161         * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
54162         * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
54163         * rt/aio.h: Define __need_timespec before including <time.h>.
54164         * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
54165         struct.  Add forward declaration of pthread_attr_t and use it in
54166         sigevent.
54167         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
54168         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
54169         * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
54170         always remove CLK_TCK definition.
54172 2012-02-26  Andreas Schwab  <schwab@linux-m68k.org>
54174         * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
54176 2012-02-25  Ulrich Drepper  <drepper@gmail.com>
54178         * conform/run-conformtest.sh: New file.
54179         * conform/Makefile: Run run-conformtest for tests.
54180         * conform/conformtest.pl: Many bug fixes.  Add ISO C99, ISO C11
54181         support.
54183         * conform/data/uchar.h-data: New file.
54184         * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
54185         * conform/data/arpa/inet.h-data: Likewise.
54186         * conform/data/assert.h-data: Likewise.
54187         * conform/data/complex.h-data: Likewise.
54188         * conform/data/cpio.h-data: Likewise.
54189         * conform/data/ctype.h-data: Likewise.
54190         * conform/data/dirent.h-data: Likewise.
54191         * conform/data/dlfcn.h-data: Likewise.
54192         * conform/data/errno.h-data: Likewise.
54193         * conform/data/fcntl.h-data: Likewise.
54194         * conform/data/float.h-data: Likewise.
54195         * conform/data/fmtmsg.h-data: Likewise.
54196         * conform/data/fnmatch.h-data: Likewise.
54197         * conform/data/ftw.h-data: Likewise.
54198         * conform/data/glob.h-data: Likewise.
54199         * conform/data/grp.h-data: Likewise.
54200         * conform/data/iconv.h-data: Likewise.
54201         * conform/data/inttypes.h-data: Likewise.
54202         * conform/data/langinfo.h-data: Likewise.
54203         * conform/data/libgen.h-data: Likewise.
54204         * conform/data/limits.h-data: Likewise.
54205         * conform/data/locale.h-data: Likewise.
54206         * conform/data/math.h-data: Likewise.
54207         * conform/data/monetary.h-data: Likewise.
54208         * conform/data/mqueue.h-data: Likewise.
54209         * conform/data/ndbm.h-data: Likewise.
54210         * conform/data/net/if.h-data: Likewise.
54211         * conform/data/netdb.h-data: Likewise.
54212         * conform/data/netinet/in.h-data: Likewise.
54213         * conform/data/nl_types.h-data: Likewise.
54214         * conform/data/poll.h-data: Likewise.
54215         * conform/data/pthread.h-data: Likewise.
54216         * conform/data/pwd.h-data: Likewise.
54217         * conform/data/regex.h-data: Likewise.
54218         * conform/data/sched.h-data: Likewise.
54219         * conform/data/search.h-data: Likewise.
54220         * conform/data/semaphore.h-data: Likewise.
54221         * conform/data/setjmp.h-data: Likewise.
54222         * conform/data/signal.h-data: Likewise.
54223         * conform/data/spawn.h-data: Likewise.
54224         * conform/data/stdarg.h-data: Likewise.
54225         * conform/data/stdio.h-data: Likewise.
54226         * conform/data/stdlib.h-data: Likewise.
54227         * conform/data/string.h-data: Likewise.
54228         * conform/data/strings.h-data: Likewise.
54229         * conform/data/stropts.h-data: Likewise.
54230         * conform/data/sys/ipc.h-data: Likewise.
54231         * conform/data/sys/mman.h-data: Likewise.
54232         * conform/data/sys/msg.h-data: Likewise.
54233         * conform/data/sys/resource.h-data: Likewise.
54234         * conform/data/sys/select.h-data: Likewise.
54235         * conform/data/sys/sem.h-data: Likewise.
54236         * conform/data/sys/shm.h-data: Likewise.
54237         * conform/data/sys/socket.h-data: Likewise.
54238         * conform/data/sys/stat.h-data: Likewise.
54239         * conform/data/sys/statvfs.h-data: Likewise.
54240         * conform/data/sys/time.h-data: Likewise.
54241         * conform/data/sys/timeb.h-data: Likewise.
54242         * conform/data/sys/times.h-data: Likewise.
54243         * conform/data/sys/types.h-data: Likewise.
54244         * conform/data/sys/uio.h-data: Likewise.
54245         * conform/data/sys/un.h-data: Likewise.
54246         * conform/data/sys/utsname.h-data: Likewise.
54247         * conform/data/sys/wait.h-data: Likewise.
54248         * conform/data/syslog.h-data: Likewise.
54249         * conform/data/tar.h-data: Likewise.
54250         * conform/data/termios.h-data: Likewise.
54251         * conform/data/utime.h-data: Likewise.
54252         * conform/data/utmpx.h-data: Likewise.
54253         * conform/data/varargs.h-data: Likewise.
54254         * conform/data/wchar.h-data: Likewise.
54255         * conform/data/wctype.h-data: Likewise.
54256         * conform/data/wordexp.h-data: Likewise.
54258         * include/stropts.h: New file.
54259         * include/uchar.h: New file.
54260         * include/aio.h: Changes to allow conformtest.pl to use the headers.
54261         * include/assert.h: Likewise.
54262         * include/ctype.h: Likewise.
54263         * include/dirent.h: Likewise.
54264         * include/dlfcn.h: Likewise.
54265         * include/fcntl.h: Likewise.
54266         * include/fnmatch.h: Likewise.
54267         * include/glob.h: Likewise.
54268         * include/grp.h: Likewise.
54269         * include/libio.h: Likewise.
54270         * include/locale.h: Likewise.
54271         * include/math.h: Likewise.
54272         * include/net/if.h: Likewise.
54273         * include/netdb.h: Likewise.
54274         * include/netinet/in.h: Likewise.
54275         * include/pthread.h: Likewise.
54276         * include/pwd.h: Likewise.
54277         * include/regex.h: Likewise.
54278         * include/sched.h: Likewise.
54279         * include/search.h: Likewise.
54280         * include/setjmp.h: Likewise.
54281         * include/signal.h: Likewise.
54282         * include/stdio.h: Likewise.
54283         * include/stdlib.h: Likewise.
54284         * include/string.h: Likewise.
54285         * include/sys/cdefs.h: Likewise.
54286         * include/sys/mman.h: Likewise.
54287         * include/sys/msg.h: Likewise.
54288         * include/sys/resource.h: Likewise.
54289         * include/sys/select.h: Likewise.
54290         * include/sys/socket.h: Likewise.
54291         * include/sys/stat.h: Likewise.
54292         * include/sys/statvfs.h: Likewise.
54293         * include/sys/time.h: Likewise.
54294         * include/sys/times.h: Likewise.
54295         * include/sys/uio.h: Likewise.
54296         * include/sys/utsname.h: Likewise.
54297         * include/sys/wait.h: Likewise.
54298         * include/termios.h: Likewise.
54299         * include/time.h: Likewise.
54300         * include/ulimit.h: Likewise.
54301         * include/unistd.h: Likewise.
54302         * include/utime.h: Likewise.
54303         * include/wchar.h: Likewise.
54304         * include/wctype.h: Likewise.
54305         * include/wordexp.h: Likewise.
54307         * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
54309         * time/time.h: TIME_UTC must be a macro.
54310         Make timespec_get available for ISO C11 only as well.
54312 2012-02-24  Ulrich Drepper  <drepper@gmail.com>
54314         * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
54315         Reported by Peng Haitao <penght@cn.fujitsu.com>.
54317 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
54319         * configure.in: Use -o not -a in test for unsupported multi-arch.
54321 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
54323         * manual/texinfo.tex: Update to version 2012-01-19.16.
54325 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
54327         * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
54329 2012-02-24  Roland McGrath  <roland@hack.frob.com>
54331         [BZ #13738]
54332         * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
54333         * manual/fdl-1.3.texi: New file.
54334         * manual/fdl-1.1.texi: File removed.
54336         [BZ #13738]
54337         * manual/libc.texinfo (FDL_VERSION): New @set.
54338         Use it for mention of FDL in cover text.
54339         (Documentation License): Use it in @include file name.
54341 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
54342             Roland McGrath  <roland@hack.frob.com>
54344         [BZ #5461]
54345         * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN)
54346         (not LONG_LONG_MAX and LONG_LONG_MIN.
54347         * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
54348         LLONG_MIN.  Refer to LONG_LONG_MIN only as older GCC-specific
54349         name.
54350         (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
54352 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
54354         [BZ #2547]
54355         [BZ #11365]
54356         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
54357         manipulate bits before adding and subtracting TWO23[sx].
54358         * math/libm-test.inc (nearbyint_test): Add more tests.
54360 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
54362         [BZ #2548]
54363         * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
54364         bits before adding and subtracting TWO23[sx].
54365         * math/libm-test.inc (rint_test): Add more tests.
54366         (rint_test_tonearest): Likewise.
54367         (rint_test_towardzero): Likewise.
54368         (rint_test_downward): Likewise.
54369         (rint_test_upward: Likewise.
54371 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
54373         [BZ #10110]
54374         * include/stdc-predef.h: New file.  Extracted from features.h.
54375         * include/features.h: Include stdc-predef.h.
54376         * Makefile (headers): Add stdc-predef.h.
54377         * CONFORMANCE (Compiler limitations): Update.
54379 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
54381         * manual/libc.texinfo (VERSION, UPDATED): Revert.
54383 2012-02-21  David S. Miller  <davem@davemloft.net>
54385         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
54386         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
54388 2012-02-20  David S. Miller  <davem@davemloft.net>
54390         * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
54391         using a normal save/restore sequence, rather than allocating a
54392         dummy stack frame just to store a frame pointer and restore.
54393         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
54395 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
54397         * manual/install.texi: Fix stray word in line-wrapped comment.
54399 2012-02-20  David S. Miller  <davem@davemloft.net>
54401         * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
54402         both binutils and gcc support GOTDATA.
54404         * sysdeps/unix/sparc/sysdep.h: Document why we don't use
54405         "rd %pc" in the PIC register setup sequences.
54407         * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
54408         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
54409         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
54410         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
54411         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
54412         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
54413         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
54414         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
54415         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
54416         (SYSCALL_ERROR_HANDLER): Likewise.
54417         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
54418         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
54419         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
54420         (SYSCALL_ERROR_HANDLER): Likewise.
54422         * config.h.in (HAVE_BINUTILS_GOTDATA): New.
54423         (HAVE_GCC_GOTDATA): New.
54424         * sysdeps/sparc/elf/configure.in: Test for GOTDATA
54425         relocation support in both binutils and gcc.
54426         * sysdeps/sparc/elf/configure: Regenerate.
54428         * sysdeps/sparc/sparc32/elf/configure.in: Delete.
54429         * sysdeps/sparc/sparc32/elf/configure: Delete.
54430         * sysdeps/sparc/sparc64/elf/configure.in: Delete.
54431         * sysdeps/sparc/sparc64/elf/configure: Delete.
54432         * sysdeps/sparc/elf/configure.in: New file.
54433         * sysdeps/sparc/elf/configure: Generate.
54435         * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
54436         * sysdeps/sparc/sparc32/elf/configure: Regenerate.
54437         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
54438         * sysdeps/sparc/sparc64/elf/configure: Regenerate.
54439         * config.h.in (BROKEN_SPARC_WDISP22): Remove.
54441 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
54443         * manual/install.texi: Do not mention specific glibc version
54444         numbers.
54445         * manual/libc.texinfo (VERSION, UPDATED): Update.
54446         (@copying): Use @copyright{} and range of years.
54448 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
54450         [BZ #13695]
54451         * csu/Makefile (distribute): Remove initfini.c and defs.awk.
54452         [crti.S not in sysdirs] (generated): Do not append.
54453         [crti.S not in sysdirs] (omit-deps): Likewise.
54454         [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
54455         [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
54456         [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
54457         [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
54458         [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
54459         Likewise.
54460         [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
54461         [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
54462         [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
54463         * csu/defs.awk: Remove file.
54464         * sysdeps/generic/initfini.c: Likewise.
54465         * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
54466         variable.
54467         * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
54468         Likewise.
54470 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
54472         * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
54473         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
54474         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
54475         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
54476         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
54477         * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
54478         <bits/epoll.h>.
54479         (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
54480         (__EPOLL_PACKED): Define to empty if not defined by
54481         <bits/epoll.h>.
54482         (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
54483         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
54484         bits/epoll.h.
54486 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
54488         * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
54489         * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
54490         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
54491         * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
54492         <bits/timerfd.h>.
54493         (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
54494         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
54495         bits/timerfd.h.
54497 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
54499         * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
54500         in C locale.
54501         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
54502         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
54503         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
54504         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
54506 2012-02-20  Aurelien Jarno  <aurelien@aurel32.net>
54508         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
54509         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
54511 2012-02-19  Andreas Schwab  <schwab@linux-m68k.org>
54513         * manual/errno.texi (Error Codes): Add EHWPOISON entry.
54514         * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
54515         defined.
54516         * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
54517         Likewise.
54518         * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
54519         entry for 2.16.
54521 2012-02-19  Aurelien Jarno  <aurelien@aurel32.net>
54523         * math/w_acos.c: Use non-signaling floating-point comparisons.
54524         * math/w_acosf.c: Likewise.
54525         * math/w_acosh.c: Likewise.
54526         * math/w_acoshf.c: Likewise.
54527         * math/w_acoshl.c: Likewise.
54528         * math/w_acosl.c: Likewise.
54529         * math/w_asin.c: Likewise.
54530         * math/w_asinf.c: Likewise.
54531         * math/w_asinl.c: Likewise.
54532         * math/w_atanh.c: Likewise.
54533         * math/w_atanhf.c: Likewise.
54534         * math/w_atanhl.c: Likewise.
54535         * math/w_exp2.c: Likewise.
54536         * math/w_exp2f.c: Likewise.
54537         * math/w_exp2l.c: Likewise.
54538         * math/w_j0.c: Likewise.
54539         * math/w_j0f.c: Likewise.
54540         * math/w_j0l.c: Likewise.
54541         * math/w_j1.c: Likewise.
54542         * math/w_j1f.c: Likewise.
54543         * math/w_j1l.c: Likewise.
54544         * math/w_jn.c: Likewise.
54545         * math/w_jnf.c: Likewise.
54546         * math/w_log.c: Likewise.
54547         * math/w_log10.c: Likewise.
54548         * math/w_log10f.c: Likewise.
54549         * math/w_log10l.c: Likewise.
54550         * math/w_log2.c: Likewise.
54551         * math/w_log2f.c: Likewise.
54552         * math/w_log2l.c: Likewise.
54553         * math/w_logf.c: Likewise.
54554         * math/w_logl.c: Likewise.
54555         * math/w_sqrt.c: Likewise.
54556         * math/w_sqrtf.c: Likewise.
54557         * math/w_sqrtl.c: Likewise.
54558         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
54559         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
54560         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
54561         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
54562         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
54564 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
54566         [BZ #9739]
54567         * manual/string.texi (strnlen): Use correct parameter name in
54568         equivalent expression.
54570 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
54572         [BZ #11174]
54573         * manual/users.texi (seteuid): Consistently use neweuid for
54574         argument name.
54576 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
54578         [BZ #13704]
54579         * manual/nss.texi (Services in the NSS configuration): Correct
54580         list of services in example configuration file.
54582 2012-02-19  Nick Bowler  <nbowler@draconx.ca>
54584         [BZ #11322]
54585         * manual/arith.texi: Remove statements about negative zero
54586         behaving identically to zero.
54588 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
54590         [BZ #5993]
54591         * manual/install.texi: Do not document upgrading from libc5.
54593 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
54595         [BZ #4596]
54596         * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
54598 2012-02-18  David S. Miller  <davem@davemloft.net>
54600         * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
54601         (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
54602         %o7 across the call.
54603         (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
54604         instead.
54605         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
54606         SETUP_PIC_REG_LEAF.
54607         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
54608         * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
54609         * sysdeps/sparc/crtn.S: Likewise.
54611 2012-02-17  Ulrich Drepper  <drepper@gmail.com>
54613         * aout/Makefile: Remove.
54615 2012-02-18  Rafe Kettler  <rafe.kettler@gmail.com>
54617         [BZ #13058]
54618         * manual/examples/argp-ex1.c (main): Format definition in GNU
54619         style.
54620         * manual/examples/argp-ex2.c (main): Likewise.
54621         * manual/examples/argp-ex3.c (main): Likewise.
54622         * manual/examples/argp-ex4.c (main): Likewise.
54623         * manual/examples/longopt.c (main): Use new-style prototype
54624         definition.
54625         * manual/examples/strncat.c (main): Specify return type and use
54626         (void) for arguments.
54627         * manual/examples/subopt.c (main): Use char **argv argument.
54629 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
54631         [BZ #5077]
54632         * manual/lang.texi (FLT_EPSILON): Avoid description depending on
54633         rounding modes.
54635 2012-02-17  Fabrice Bauzac  <fabrice.bauzac@wanadoo.fr>
54637         [BZ #6907]
54638         * manual/string.texi (strchr): Change when strchrnul is
54639         recommended.
54641 2012-02-17  Dwayne Grant McConnell  <decimal@us.ibm.com>
54643         [BZ #174]
54644         * manual/locale.texi (setlocale): Document LOCPATH.
54646 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
54648         [BZ #10210]
54649         * manual/process.texi (execle): Move @dots{} before last argument.
54651 2012-02-17  Paul Bolle  <pebolle@tiscali.nl>
54653         [BZ #12047]
54654         * manual/charset.texi (Generic Charset Conversion): Fix typo
54655         (LC_TYPE -> LC_CTYPE).
54657 2012-02-17  Nicolas Boulenguez  <nicolas.boulenguez@free.fr>
54659         [BZ #5805]
54660         * manual/arith.texi (scalbn): Use @var{} on parameter names.
54661         (scalbnf): Likewise.
54662         (scalbnl): Likewise.
54663         (scalbln): Likewise.
54664         (scalblnf): Likewise.
54665         (scalblnl): Likewise.
54666         * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
54667         (vwarnx): Likewise.
54668         (verr): Likewise.
54669         (verrx): Likewise.
54670         * manual/filesys.texi (telldir): Use braces around return type.
54671         * manual/llio.texi (mmap): Add space after comma.
54672         (mmap64): Likewise.
54673         * manual/math.texi (jn): Use @var{} on parameter names.
54674         (jnf): Likewise.
54675         (jnl): Likewise.
54676         (yn): Likewise.
54677         (ynf): Likewise.
54678         (ynl): Likewise.
54679         * manual/memory.texi (alloca): Remove semicolon on @deftypefun
54680         line.
54681         * manual/resource.texi (ulimit): Use @dots{} instead of literal
54682         "...".
54683         (sched_get_priority_min): Remove semicolon on @deftypefun line.
54684         (sched_get_priority_max): Likewise.
54685         * manual/signal.texi (sigvec): Add space after comma.
54686         * manual/socket.texi (if_nametoindex): Use @var{} on parameter
54687         names.
54688         (if_indextoname): Likewise.
54689         (if_freenameindex): Likewise.
54690         (sendto): Use ',' instead of '.' in prototype.
54691         * manual/startup.texi (syscall): Use @dots{} instead of literal
54692         "...".
54693         * manual/stdio.texi (__fpending): Separate initial words of
54694         paragraph from @deftypefun line.
54695         * manual/syslog.texi (syslog): Use @dots{} instead of literal
54696         "...".
54697         (vsyslog): Use @var{} on parameter names.
54698         * manual/terminal.texi (stty): Use @var{} on parameter names.
54699         * manual/users.texi (getutmp): Use @var{} on parameter names.
54700         (getutmpx): Likewise.
54702 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
54704         [BZ #6884]
54705         * manual/stdio.texi (fopen): Fix typos in description of
54706         ",ccs=STRING".
54708 2012-02-17  Aurelien Jarno  <aurelien@aurel32.net>
54710         [BZ #4026]
54711         * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
54712         get clock_id definition.
54714 2012-02-17  Thomas Schwinge  <thomas@schwinge.name>
54716         [BZ #4822]
54717         * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
54718         (madvise): Cast every argument to void on its own.
54720 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
54722         [BZ #9902]
54723         * manual/startup.texi (Exit Status): Fix typo.
54725 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
54727         [BZ #10140]
54728         * manual/examples/argp-ex1.c: Include <stdlib.h>.
54729         * manual/examples/argp-ex2.c: Likewise.
54730         * manual/examples/argp-ex3.c: Likewise.
54732 2012-02-16  Richard Henderson  <rth@redhat.com>
54734         * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
54735         * sysdeps/s390/s390-32/initfini.c: Remove.
54736         * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
54737         * sysdeps/s390/s390-64/initfini.c: Remove.
54739 2012-02-15  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
54741         * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
54742         compiler output for sysdeps/generic/initfini.c.
54743         * sysdeps/sh/elf/initfini.c: Remove file.
54745 2012-02-16  David S. Miller  <davem@davemloft.net>
54747         [BZ #11494]
54748         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
54750         * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
54751         * sysdeps/sparc/crti.S: New file.
54752         * sysdeps/sparc/crtn.S: New file.
54753         * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
54754         * sysdeps/sparc/sparc64/Makefile: Likewise.
54756 2012-02-15  Mike Frysinger  <vapier@gentoo.org>
54758         [BZ #3335]
54759         * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
54761 2012-02-15  Roland McGrath  <roland@hack.frob.com>
54763         [BZ #4822]
54764         * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
54766         * mach/devstream.c (cookie_io_functions_t): Macro removed.
54767         (write, read, close): Likewise.
54768         Patch by Aurelien Jarno <aurelien@aurel32.net>.
54770 2012-02-15  Joseph Myers  <joseph@codesourcery.com>
54772         * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
54773         * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
54774         * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
54775         * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
54776         <bits/signalfd.h>.
54777         (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
54778         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
54779         bits/signalfd.h.
54781 2012-02-14  Marek Polacek  <polacek@redhat.com>
54783         * sysdeps/x86_64/crti.S: New file.
54784         * sysdeps/x86_64/crtn.S: New file.
54785         * sysdeps/x86_64/elf/initfini.c: Remove file.
54787 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
54789         * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
54790         * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
54791         * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
54792         * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
54793         <bits/inotify.h>.
54794         (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
54795         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
54796         bits/inotify.h.
54798 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
54800         * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
54801         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
54802         * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
54803         * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
54804         <bits/eventfd.h>.
54805         (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
54806         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
54807         bits/eventfd.h.
54809 2012-02-10  Thomas Schwinge  <thomas@codesourcery.com>
54811         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
54812         __feraiseexcept instead of feraiseexcept.
54814         * rt/tst-cpuclock1.c: Add a few comments, and error checking for
54815         nanosleep invocations.
54816         * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
54817         strings, and add error checking for a nanosleep invocations.
54819 2012-02-09  Paul Eggert  <eggert@cs.ucla.edu>
54821         Replace FSF snail mail address with URLs, as per GNU coding standards.
54822         Most of the snail mail addresses were wrong anyway, and omitting
54823         them makes the source code easier to maintain.  Almost all of the
54824         changes are to license notices and to locale LC_IDENTIFICATION
54825         addresses, except for this one:
54826         * manual/libc.texinfo: In "Published by", give the FSF's URL,
54827         not its snail mail address.
54829 2012-02-09  Richard Henderson  <rth@twiddle.net>
54831         * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
54832         of kernel-features.h.
54834         * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
54836 2012-02-08  Marek Polacek  <polacek@redhat.com>
54838         * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
54839         * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
54840         * sysdeps/gnu/_G_config.h: Likewise.
54841         * sysdeps/generic/_G_config.h: Likewise.
54843 2012-02-08  Andreas Schwab  <schwab@linux-m68k.org>
54845         * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
54846         tests.
54847         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
54849         * sysdeps/powerpc/powerpc32/crti.S: New file.
54850         * sysdeps/powerpc/powerpc32/crtn.S: New file.
54851         * sysdeps/powerpc/powerpc64/crti.S: New file.
54852         * sysdeps/powerpc/powerpc64/crtn.S: New file.
54854         * Makeconfig (have-initfini): Don't set.
54855         * config.make.in (have-initfini, need-nopic-initfini): Don't set.
54856         * configure.in (nopic_initfini): Don't substitute.
54857         * config.h.in (HAVE_INITFINI): Don't #undef.
54858         * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
54859         * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
54861 2012-02-08  Joseph Myers  <joseph@codesourcery.com>
54863         Support crti.S and crtn.S provided directly by architectures.
54864         * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
54865         [crti.S in sysdirs] (omit-deps): Likewise.
54866         [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
54867         [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
54868         [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
54869         [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
54870         [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
54871         [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
54872         [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
54873         [crti.S in sysdirs] (initfini.c): Remove vpath directive.
54874         * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
54875         compiler output for sysdeps/generic/initfini.c.
54876         * sysdeps/i386/elf/Makefile: Remove file.
54877         * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
54879 2012-02-07  Marek Polacek  <polacek@redhat.com>
54881         * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
54882         * sysdeps/gnu/_G_config.h: Likewise.
54883         * sysdeps/mach/hurd/_G_config.h: Likewise.
54885 2012-02-07  Marek Polacek  <polacek@redhat.com>
54887         * math/Makefile (tests): Add tst-CMPLX2.
54888         * math/tst-CMPLX2.c: New file.
54890 2012-02-07  Andreas Schwab  <schwab@linux-m68k.org>
54892         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
54894         * math/libm-test.inc (jn_test): Add missing L suffix.
54896 2012-02-06  Marek Polacek  <polacek@redhat.com>
54898         * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
54899         * sysdeps/i386/fpu/e_powf.S: Likewise.
54900         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
54901         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
54902         * sysdeps/i386/fpu/e_acosh.S: Likewise.
54903         * sysdeps/i386/fpu/e_pow.S: Likewise.
54904         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
54905         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
54906         * sysdeps/i386/fpu/s_expm1.S: Likewise.
54907         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
54908         * sysdeps/i386/fpu/e_log2.S: Likewise.
54909         * sysdeps/i386/fpu/e_log2l.S: Likewise.
54910         * sysdeps/i386/fpu/e_scalb.S: Likewise.
54911         * sysdeps/i386/fpu/e_powl.S: Likewise.
54912         * sysdeps/i386/fpu/s_log1p.S: Likewise.
54913         * sysdeps/i386/fpu/e_log10f.S: Likewise.
54914         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
54915         * sysdeps/i386/fpu/e_logl.S: Likewise.
54916         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
54917         * sysdeps/i386/fpu/s_expm1l.S: Likewise.
54918         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
54919         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
54920         * sysdeps/i386/fpu/e_log2f.S: Likewise.
54921         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
54922         * sysdeps/i386/fpu/e_log.S: Likewise.
54923         * sysdeps/i386/fpu/s_cexp.S: Likewise.
54924         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
54925         * sysdeps/i386/fpu/s_log1pl.S: Likewise.
54926         * sysdeps/i386/fpu/e_logf.S: Likewise.
54927         * sysdeps/i386/fpu/e_log10l.S: Likewise.
54928         * sysdeps/i386/fpu/e_atanh.S: Likewise.
54929         * sysdeps/i386/fpu/s_log1pf.S: Likewise.
54930         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
54931         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
54932         * sysdeps/i386/fpu/e_log10.S: Likewise.
54933         * sysdeps/i386/fpu/s_frexp.S: Likewise.
54934         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
54935         * sysdeps/i386/fpu/s_asinh.S: Likewise.
54936         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
54937         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
54938         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
54939         * sysdeps/i386/asm-syntax.h: Likewise.
54940         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
54941         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
54942         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
54943         * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
54944         * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
54945         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
54946         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
54947         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
54948         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
54949         * sysdeps/powerpc/sysdep.h: Likewise.
54950         * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
54951         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
54953 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
54955         [BZ #411]
54956         * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
54958 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
54960         * sysdeps/i386/sysdep.h: Include <features.h>.
54961         (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
54962         version.
54964 2012-02-05  Joseph Myers  <joseph@codesourcery.com>
54966         * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
54967         Define.
54968         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
54969         LOAD_PIC_REG_STR.
54971 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
54973         * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
54974         (SETUP_PIC_REG): Use GET_PC_THUNK.
54975         * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
54976         macro.
54978 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
54980         * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
54981         for non-PIC compilation.
54982         (SETUP_PIC_REG): Add .p2align directive.
54983         * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
54984         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
54985         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
54986         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
54987         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
54988         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
54989         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
54990         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
54991         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
54992         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
54993         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
54994         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
54995         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
54996         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
54997         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
54998         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
54999         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
55000         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
55001         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
55002         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
55003         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
55004         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
55005         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
55006         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
55007         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
55008         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
55009         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
55010         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
55011         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
55012         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
55013         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
55014         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
55015         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
55016         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
55017         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
55018         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
55019         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
55020         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
55021         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
55022         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
55023         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
55025 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
55027         * math/tst-CMPLX.c: Include <stdio.h>.
55029 2012-01-31  Joseph Myers  <joseph@codesourcery.com>
55031         * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
55032         float.
55033         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
55034         * sysdeps/sparc/bits/mathdef.h: Likewise.
55036 2012-01-31  Marek Polacek  <polacek@redhat.com>
55038         * libio/libio.h: Don't define _PARAMS.
55039         * locale/programs/config.h: Don't define PARAMS.
55040         * stdlib/strtol_l.c: Likewise.
55041         (__strtol_l): Remove PARAMS from the prototype.
55043 2012-01-31  Ulrich Drepper  <drepper@gmail.com>
55045         * malloc/malloc.c: Remove name translation.  Don't use mixed-cap
55046         names.  Just use the correct names.  Remove unnecessary wrapper
55047         functions.
55048         * malloc/arena.c: Likewise.
55049         * malloc/hooks.c: Likewise.
55051         * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
55052         ARENA_TEST says not to.  Simplify test for creation of a new arena.
55053         Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
55055 2012-01-30  Ulrich Drepper  <drepper@gmail.com>
55057         * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
55058         into tail calls.
55059         (update_get_addr): New function.
55060         (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
55061         GET_ADDR_MODULE parameter.
55063 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
55065         * crypt/cert.c: Remove __STDC__ conditionals.
55066         * crypt/crypt-entry.c: Likewise.
55067         * crypt/crypt_util.c: Likewise.
55068         * libio/filedoalloc.c: Likewise.
55069         * libio/fileops.c: Likewise.
55070         * libio/genops.c: Likewise.
55071         * libio/iofclose.c: Likewise.
55072         * libio/iofdopen.c: Likewise.
55073         * libio/iofopen.c: Likewise.
55074         * libio/iofopen64.c: Likewise.
55075         * libio/iogetdelim.c: Likewise.
55076         * libio/iopopen.c: Likewise.
55077         * libio/obprintf.c: Likewise.
55078         * libio/oldfileops.c: Likewise.
55079         * libio/oldiofclose.c: Likewise.
55080         * libio/oldiofdopen.c: Likewise.
55081         * libio/oldiofopen.c: Likewise.
55082         * libio/oldiopopen.c: Likewise.
55083         * libio/wfiledoalloc.c: Likewise.
55084         * libio/wgenops.c: Likewise.
55085         * locale/programs/xmalloc.c: Likewise.
55086         * misc/syslog.c: Likewise.
55087         * stdio-common/xbug.c: Likewise.
55088         * string/memchr.c: Likewise.
55089         * string/memcmp.c: Likewise.
55090         * string/memrchr.c: Likewise.
55091         * string/rawmemchr.c: Likewise.
55092         * sysdeps/posix/getcwd.c: Likewise.
55093         * time/strftime_l.c: Likewise.
55095 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
55097         * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
55098         * config.make.in (config-cflags-sse2avx): Define.
55099         * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
55100         Fix typo.
55102 2012-01-29  Chris Metcalf  <cmetcalf@tilera.com>
55104         * scripts/config.guess: Update from upstream config git repository.
55105         * scripts/config.sub: Likewise.
55107 2012-01-28  Chris Metcalf  <cmetcalf@tilera.com>
55109         * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
55110         (EM_NUM): Update.
55111         (R_TILEPRO_*, R_TILEGX_*): New macros.
55113         * scripts/firstversions.awk: Fix bug in version range handling.
55115         * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
55117         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
55119         * include/sys/epoll.h: New file.
55120         * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
55121         libc_hidden_def.
55123 2012-01-28  Ulrich Drepper  <drepper@gmail.com>
55125         * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
55126         Avoid unnecessary __WORDSIZE == 64 test.
55127         (fmaxf): Use VEX format if possible.
55128         (fmax): Likewise.
55129         (fminf): Likewise.
55130         (fmin): Likewise.
55132         * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
55133         * math/math_private.h: Remove libc_fegetround* and
55134         libc_fesetround*.
55135         * sysdeps/i386/configure.in: Check for -msse2avx.
55136         * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
55137         also if SSE2AVX is defined.
55138         Remove libc_fegetround* and libc_fesetround*.
55139         * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
55140         if config-cflags-sse2avx is yes.  Also add -DSSE2AVX to defines.
55141         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
55142         of HAS_YMM_USABLE.
55143         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
55144         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
55145         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
55146         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
55147         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
55149         * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
55151 2012-01-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
55153         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
55154         size is not set.
55155         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
55157 2012-01-27  Ulrich Drepper  <drepper@gmail.com>
55159         [BZ #13618]
55160         * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
55161         relocation.
55162         * Makeconfig (libm): Define.
55163         * elf/Makefile: Add rules to build and run tst-relsort1.
55164         * elf/tst-relsort1.c: New file.
55165         * elf/tst-relsort1mod1.c: New file.
55166         * elf/tst-relsort1mod2.c: New file.
55168 2012-01-27  Joseph Myers  <joseph@codesourcery.com>
55170         * math/s_ldexp.c: Remove __STDC__ conditionals.
55171         * math/s_ldexpf.c: Likewise.
55172         * math/s_ldexpl.c: Likewise.
55173         * math/s_nextafter.c: Likewise.
55174         * math/s_nexttowardf.c: Likewise.
55175         * math/s_significand.c: Likewise.
55176         * math/s_significandf.c: Likewise.
55177         * math/s_significandl.c: Likewise.
55178         * math/w_jnl.c: Likewise.
55179         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
55180         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
55181         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
55182         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
55183         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
55184         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
55185         * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
55186         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
55187         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
55188         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
55189         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
55190         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
55191         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
55192         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
55193         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
55194         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
55195         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
55196         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
55197         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
55198         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
55199         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
55200         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
55201         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
55202         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
55203         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
55204         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
55205         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
55206         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
55207         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
55208         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
55209         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
55210         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
55211         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
55212         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
55213         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
55214         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
55215         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
55216         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
55217         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
55218         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
55219         * sysdeps/ieee754/k_standard.c: Likewise.
55220         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
55221         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
55222         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
55223         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
55224         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
55225         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
55226         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
55227         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
55228         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
55229         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
55230         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
55231         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
55232         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
55233         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
55234         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
55235         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
55236         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
55237         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
55238         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
55239         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
55240         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
55241         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
55242         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
55243         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
55244         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
55245         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
55246         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
55247         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
55248         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
55249         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
55250         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
55251         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
55252         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
55253         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
55254         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
55255         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
55256         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
55257         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
55258         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
55259         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
55260         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
55261         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
55262         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
55263         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
55264         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
55265         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
55266         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
55267         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
55268         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
55269         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
55270         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
55271         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
55272         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
55273         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
55274         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
55275         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
55276         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
55277         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
55278         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
55279         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
55280         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
55281         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
55282         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
55283         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
55284         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
55285         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
55286         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
55287         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
55288         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
55289         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
55290         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
55291         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
55292         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
55293         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
55294         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
55295         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
55296         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
55297         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
55298         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
55299         * sysdeps/ieee754/s_matherr.c: Likewise.
55300         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
55301         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
55302         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
55303         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
55305 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
55307         * crypt/md5.h: Remove __STDC__ conditionals.
55308         * libio/libioP.h: Likewise.
55309         * locale/programs/config.h: Likewise.
55310         * sysdeps/generic/sysdep.h: Likewise.
55311         * sysdeps/i386/asm-syntax.h: Likewise.
55312         * sysdeps/s390/asm-syntax.h: Likewise.
55313         * sysdeps/unix/sysdep.h: Likewise.
55314         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
55315         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
55317 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
55319         * libio/libio.h: Remove __STDC__ conditionals.
55320         * malloc/obstack.h: Likewise.
55321         * math/complex.h: Likewise.
55322         * math/math.h: Likewise.
55323         * sysdeps/generic/_G_config.h: Likewise.
55324         * sysdeps/gnu/_G_config.h: Likewise.
55325         * sysdeps/mach/hurd/_G_config.h: Likewise.
55326         * sysdeps/powerpc/bits/mathdef.h: Likewise.
55327         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
55328         * sysdeps/sparc/bits/mathdef.h: Likewise.
55330 2012-01-26  Ulrich Drepper  <drepper@gmail.com>
55332         [BZ #13583]
55333         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
55334         Clean up HAS_* macros.
55335         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
55336         bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
55337         possible.
55338         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
55339         HAS_AVX.
55340         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
55341         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
55342         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
55343         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
55344         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
55346 2012-01-25  Joseph Myers  <joseph@codesourcery.com>
55348         * elf/tst-unique3.cc (gets): Remove declaration.
55349         * elf/tst-unique3lib.cc (gets): Likewise.
55350         * elf/tst-unique3lib2.cc (gets): Likewise.
55351         * elf/tst-unique4.cc (gets): Likewise.
55353 2012-01-24  Ulrich Drepper  <drepper@gmail.com>
55355         * include/stdio.h: Add C++ protection.  Add gets declarations and
55356         definitions.
55357         * debug/tst-chk1.c: Don't declare gets here.
55358         * stdio-common/tst-gets.c: Likewise.
55360 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
55362         * posix/glob: Remove directory.
55364 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
55366         * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
55368 2012-01-22  Pino Toscano  <toscano.pino@tiscali.it>
55370         * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
55371         of the non-standard EPFNOSUPPORT.
55373 2011-12-26  Samuel Thibault  <samuel.thibault@ens-lyon.org>
55375         * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
55376         __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
55377         ANYWHERE set to 1 only on KERN_NO_SPACE error.
55379 2012-01-21  Ulrich Drepper  <drepper@gmail.com>
55381         * wcsmbs/uchar.h: Test __STDC_VERSION__.
55383 2012-01-20  Ulrich Drepper  <drepper@gmail.com>
55385         * nscd/aicache.c (addhstaiX): Do not cache negative results of
55386         transient errors.
55387         * nscd/grpcache.c (cache_addgr): Likewise.
55388         * nscd/hstcache.c (cache_addhst): Likewise.
55389         * nscd/initgrcache.c (addinitgroupsX): Likewise.
55390         * nscd/pwdcache.c (cache_addpw): Likewise.
55391         * nscd/servicescache.c (cache_addserv): Likewise.
55393 2012-01-16  Ulrich Drepper  <drepper@gmail.com>
55395         * malloc/malloc.c: Various cleanups.
55396         * malloc/hooks.c: Likewise.
55398         * stdlib/Makefile (tests): Add bug-fmtmsg1.
55399         * stdlib/bug-fmtmsg1.c: New file.
55401         * stdlib/fmtmsg.c (init): Add missing unlock.
55402         Patch by Peng Haitao <penght@cn.fujitsu.com>.
55404 2012-01-12  Marek Polacek  <polacek@redhat.com>
55406         * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
55407         and _GNU_SOURCE.
55409 2012-01-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
55411         * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
55412         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
55413         macro to ensure uniqueness of label name.
55414         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
55415         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
55417 2012-01-11  Ulrich Drepper  <drepper@gmail.com>
55419         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
55421         * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
55422         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
55423         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
55424         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
55426 2012-01-10  Ulrich Drepper  <drepper@gmail.com>
55428         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
55430         * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
55431         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
55432         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
55434         * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
55436         * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
55437         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
55438         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
55439         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
55441         * math/bits/math-finite.h: Add ldexp support.
55443 2012-01-10  Marek Polacek  <polacek@redhat.com>
55445         * locale/programs/localedef.h (show_archive_content): Add noreturn
55446         attribute.
55448 2012-01-09  Ulrich Drepper  <drepper@gmail.com>
55450         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
55452 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
55454         * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
55456         * io/Makefile (headers): Add bits/poll2.h.
55458 2011-01-05  Will Schmidt  <will_schmidt@vnet.ibm.com>
55460         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
55461         typo #include statement.
55463 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
55465         * include/sys/cdefs.h: Define __attribute_alloc_size.
55466         * catgets/gencat.c: Add alloc_size attribute and apply consistently
55467         the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
55468         * elf/pldd.c: Likewise.
55469         * iconv/iconv_charmap.c: Likewise.
55470         * iconv/iconvconfig.c: Likewise.
55471         * iconv/strtab.c: Likewise.
55472         * locale/programs/locale.c: Likewise.
55473         * locale/programs/localedef.h: Likewise.
55474         * locale/programs/simple-hash.c: Likewise.
55475         * nscd/nscd.h: Likewise.
55476         * nss/makedb.c: Likewise.
55477         * sysdeps/generic/ldconfig.h: Likewise.
55478         * locale/programs/localedef.c: Remove xmalloc prototype.
55479         * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
55481 2012-01-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
55483         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
55484         appropriate.
55486 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
55488         * math/Makefile (tests): Add tst-CMPLX.
55489         * math/tst-CMPLX.c: New file.
55491         * math/complex.h (CMPLXL): Fix typo.
55493         * debug/Makefile (routines): Add poll_chk and ppoll_chk.
55494         * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
55495         GLIBC_2.16.
55496         * debug/tst-chk1.c: Add poll and ppoll tests.
55497         * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
55498         * include/sys/poll.h: Add hidden proto for ppoll.
55499         * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
55500         * sysdeps/mach/hurd/ppoll.c: Likewise.
55501         * io/ppoll.c: Likewise.
55502         * debug/poll_chk.c: New file.
55503         * debug/ppoll_chk.c: New file.
55504         * include/bits/poll2.h: New file.
55505         * io/bits/poll2.h: New file.
55507         [BZ #1350]
55508         * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
55510         * configure.in: static is always set to yes.  Remove.
55511         * config.make.in: Don't set build-static.
55512         * Makeconfig: Remove use of build-static.
55513         * dlfcn/Makefile: Likewise.
55514         * elf/Makefile: Likewise.
55515         * math/Makefile: Likewise.
55516         * misc/Makefile: Likewise.
55517         * nptl/Makefile: Likewise.
55518         * sysdeps/mach/hurd/Makefile: Likewise.
55520         * configure.in: PWD_P is not used anymore.
55521         * config.make.in: Remove PWD_P entry.
55523         * configure.in: Remove last remnants of RANLIB.
55524         No need to check for signed size_t anymore.
55525         Don't set libc_commonpagesize and libc_relro_required here for Alpha
55526         and IA-64.
55527         Remove __builtin_expect test because we require at least gcc 3.4.
55528         * aclocal.m4: Likewise.
55530         * wcsmbs/mbrtoc16.c: Implement using towc function.
55531         * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
55532         * wcsmbs/wcsmbsload.c: Likewise.
55533         * iconv/gconv_simple.c: Likewise.
55534         * iconv/gconv_int.h: Likewise.
55535         * iconv/gconv_builtin.h: Likewise.
55536         * iconv/iconv_prog.c: Remove CHAR16 handling.
55538         * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
55540         * wcsmbs/mbrtowc.c: Better check for invalid inputs.
55542         * configure.in: Remove --with-elf and --enable-bounded options.
55543         Dont set base_machine for ia64.  More non-ELF conditions removed.
55544         Remove testing and setting of leading underscore information.
55545         * config.make.in (build-bounded): Set to no.
55546         * config.h.in: Remove NO_UNDERSCORES entry.
55547         * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS.  ELF has
55548         them.
55549         * csu/start.c: Remove !NO_UNDERSCORE code.
55550         * locale/localeinfo.h: Likewise.
55551         * sysdeps/generic/machine-gmon.h: Likewise.
55552         * sysdeps/generic/sysdep.h: Likewise.
55553         * sysdeps/i386/sysdep.h: Likewise.
55554         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
55555         * sysdeps/mach/sysdep.h: Likewise.
55556         * sysdeps/s390/s390-32/sysdep.h: Likewise.
55557         * sysdeps/s390/s390-64/sysdep.h: Likewise.
55558         * sysdeps/sh/sysdep.h: Likewise.
55559         * sysdeps/sparc/sparc32/alloca.S: Likewise.
55560         * sysdeps/unix/i386/sysdep.S: Likewise.
55561         * sysdeps/unix/sparc/start.c: Likewise.
55562         * sysdeps/unix/sparc/sysdep.S: Likewise.
55563         * sysdeps/unix/sparc/sysdep.h: Likewise.
55564         * sysdeps/unix/start.c: Likewise.
55565         * sysdeps/unix/x86_64/sysdep.S: Likewise.
55566         * sysdeps/x86_64/sysdep.h: Likewise.
55568 2012-01-07  Ulrich Drepper  <drepper@gmail.com>
55570         [BZ #13553]
55571         * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
55572         for non-gcc.
55573         * argp/argp-fmtstream.h: Use const instead __const.
55574         * argp/argp.h: Likewise.
55575         * assert/assert.h: Likewise.
55576         * bits/fenv.h: Likewise.
55577         * bits/sched.h: Likewise.
55578         * bits/sigset.h: Likewise.
55579         * bits/sigthread.h: Likewise.
55580         * catgets/nl_types.h: Likewise.
55581         * conform/data/pthread.h-data: Likewise.
55582         * crypt/crypt-private.h: Likewise.
55583         * crypt/crypt.h: Likewise.
55584         * crypt/crypt_util.c: Likewise.
55585         * ctype/ctype.h: Likewise.
55586         * debug/execinfo.h: Likewise.
55587         * debug/mbsnrtowcs_chk.c: Likewise.
55588         * debug/mbsrtowcs_chk.c: Likewise.
55589         * debug/wcsnrtombs_chk.c: Likewise.
55590         * debug/wcsrtombs_chk.c: Likewise.
55591         * debug/wcstombs_chk.c: Likewise.
55592         * dirent/dirent.h: Likewise.
55593         * dlfcn/dlfcn.h: Likewise.
55594         * elf/neededtest4.c: Likewise.
55595         * grp/grp.h: Likewise.
55596         * gshadow/gshadow.h: Likewise.
55597         * iconv/gconv.h: Likewise.
55598         * iconv/gconv_int.h: Likewise.
55599         * iconv/gconv_simple.c: Likewise.
55600         * iconv/iconv.h: Likewise.
55601         * iconv/loop.c: Likewise.
55602         * iconv/skeleton.c: Likewise.
55603         * include/aio.h: Likewise.
55604         * include/aliases.h: Likewise.
55605         * include/argz.h: Likewise.
55606         * include/arpa/inet.h: Likewise.
55607         * include/assert.h: Likewise.
55608         * include/dirent.h: Likewise.
55609         * include/dlfcn.h: Likewise.
55610         * include/execinfo.h: Likewise.
55611         * include/fcntl.h: Likewise.
55612         * include/fenv.h: Likewise.
55613         * include/glob.h: Likewise.
55614         * include/grp.h: Likewise.
55615         * include/libintl.h: Likewise.
55616         * include/mntent.h: Likewise.
55617         * include/netdb.h: Likewise.
55618         * include/pwd.h: Likewise.
55619         * include/rpc/netdb.h: Likewise.
55620         * include/sched.h: Likewise.
55621         * include/search.h: Likewise.
55622         * include/shadow.h: Likewise.
55623         * include/signal.h: Likewise.
55624         * include/stdio.h: Likewise.
55625         * include/stdlib.h: Likewise.
55626         * include/string.h: Likewise.
55627         * include/sys/socket.h: Likewise.
55628         * include/sys/stat.h: Likewise.
55629         * include/sys/statfs.h: Likewise.
55630         * include/sys/statvfs.h: Likewise.
55631         * include/sys/syslog.h: Likewise.
55632         * include/sys/time.h: Likewise.
55633         * include/sys/uio.h: Likewise.
55634         * include/time.h: Likewise.
55635         * include/unistd.h: Likewise.
55636         * include/utmp.h: Likewise.
55637         * include/wchar.h: Likewise.
55638         * include/wctype.h: Likewise.
55639         * inet/aliases.h: Likewise.
55640         * inet/arpa/inet.h: Likewise.
55641         * inet/netinet/ether.h: Likewise.
55642         * inet/netinet/in.h: Likewise.
55643         * intl/libintl.h: Likewise.
55644         * io/bits/fcntl2.h: Likewise.
55645         * io/fcntl.h: Likewise.
55646         * io/ftw.h: Likewise.
55647         * io/sys/poll.h: Likewise.
55648         * io/sys/stat.h: Likewise.
55649         * io/sys/statfs.h: Likewise.
55650         * io/sys/statvfs.h: Likewise.
55651         * io/utime.h: Likewise.
55652         * libio/bits/stdio.h: Likewise.
55653         * libio/bits/stdio2.h: Likewise.
55654         * libio/libio.h: Likewise.
55655         * libio/libioP.h: Likewise.
55656         * libio/stdio.h: Likewise.
55657         * locale/lc-ctype.c: Likewise.
55658         * locale/locale.h: Likewise.
55659         * login/utmp.h: Likewise.
55660         * malloc/arena.c: Likewise.
55661         * malloc/malloc.c: Likewise.
55662         * malloc/malloc.h: Likewise.
55663         * malloc/mcheck.c: Likewise.
55664         * malloc/mtrace.c: Likewise.
55665         * math/bits/mathcalls.h: Likewise.
55666         * math/fenv.h: Likewise.
55667         * math/math_private.h: Likewise.
55668         * misc/bits/error.h: Likewise.
55669         * misc/bits/syslog.h: Likewise.
55670         * misc/err.h: Likewise.
55671         * misc/error.h: Likewise.
55672         * misc/fstab.h: Likewise.
55673         * misc/mntent.h: Likewise.
55674         * misc/regexp.h: Likewise.
55675         * misc/search.h: Likewise.
55676         * misc/sgtty.h: Likewise.
55677         * misc/sys/mman.h: Likewise.
55678         * misc/sys/syslog.h: Likewise.
55679         * misc/sys/uio.h: Likewise.
55680         * misc/sys/xattr.h: Likewise.
55681         * misc/ttyent.h: Likewise.
55682         * nis/rpcsvc/ypclnt.h: Likewise.
55683         * nss/nss.h: Likewise.
55684         * posix/bits/unistd.h: Likewise.
55685         * posix/fnmatch.h: Likewise.
55686         * posix/glob.h: Likewise.
55687         * posix/sched.h: Likewise.
55688         * posix/spawn.h: Likewise.
55689         * posix/sys/wait.h: Likewise.
55690         * posix/unistd.h: Likewise.
55691         * posix/wordexp.h: Likewise.
55692         * pwd/pwd.h: Likewise.
55693         * resolv/netdb.h: Likewise.
55694         * resource/sys/resource.h: Likewise.
55695         * rt/aio.h: Likewise.
55696         * rt/bits/mqueue2.h: Likewise.
55697         * rt/mqueue.h: Likewise.
55698         * shadow/shadow.h: Likewise.
55699         * signal/signal.h: Likewise.
55700         * socket/send.c: Likewise.
55701         * socket/sendto.c: Likewise.
55702         * socket/sys/socket.h: Likewise.
55703         * stdio-common/printf.h: Likewise.
55704         * stdlib/bits/stdlib.h: Likewise.
55705         * stdlib/fmtmsg.h: Likewise.
55706         * stdlib/monetary.h: Likewise.
55707         * stdlib/stdlib.h: Likewise.
55708         * stdlib/ucontext.h: Likewise.
55709         * streams/stropts.h: Likewise.
55710         * string/argz.h: Likewise.
55711         * string/bits/string2.h: Likewise.
55712         * string/string.h: Likewise.
55713         * string/strings.h: Likewise.
55714         * sunrpc/rpc/auth.h: Likewise.
55715         * sunrpc/rpc/auth_des.h: Likewise.
55716         * sunrpc/rpc/clnt.h: Likewise.
55717         * sunrpc/rpc/netdb.h: Likewise.
55718         * sunrpc/rpc/pmap_clnt.h: Likewise.
55719         * sunrpc/rpc/xdr.h: Likewise.
55720         * sysdeps/generic/inttypes.h: Likewise.
55721         * sysdeps/generic/net/if.h: Likewise.
55722         * sysdeps/generic/sys/swap.h: Likewise.
55723         * sysdeps/gnu/net/if.h: Likewise.
55724         * sysdeps/gnu/utmpx.h: Likewise.
55725         * sysdeps/i386/fpu/bits/fenv.h: Likewise.
55726         * sysdeps/i386/i486/bits/string.h: Likewise.
55727         * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
55728         * sysdeps/s390/bits/string.h: Likewise.
55729         * sysdeps/s390/fpu/bits/fenv.h: Likewise.
55730         * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
55731         * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
55732         * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
55733         * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
55734         * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
55735         * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
55736         * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
55737         * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
55738         * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
55739         * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
55740         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
55741         * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
55742         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
55743         * sysdeps/unix/sysv/linux/readv.c: Likewise.
55744         * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
55745         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
55746         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
55747         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
55748         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
55749         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
55750         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
55751         * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
55752         * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
55753         * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
55754         * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
55755         * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
55756         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
55757         * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
55758         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
55759         * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
55760         * sysvipc/sys/ipc.h: Likewise.
55761         * sysvipc/sys/msg.h: Likewise.
55762         * sysvipc/sys/sem.h: Likewise.
55763         * sysvipc/sys/shm.h: Likewise.
55764         * termios/termios.h: Likewise.
55765         * time/sys/time.h: Likewise.
55766         * time/time.h: Likewise.
55767         * wcsmbs/bits/wchar2.h: Likewise.
55768         * wcsmbs/uchar.h: Likewise.
55769         * wcsmbs/wchar.h: Likewise.
55770         * wctype/wctype.h: Likewise.
55772         [BZ #13551]
55773         * Makeconfig: Remove all but ELF support including AIX support.
55774         * Makerules: Likewise.
55775         * config.h.in: Likewise.
55776         * config.make.in: Likewise.
55777         * configure: Likewise.
55778         * configure.in: Likewise.
55779         * csu/Makefile: Likewise.
55780         * csu/version.c: Likewise.
55781         * debug/Makefile: Likewise.
55782         * dlfcn/Makefile: Likewise.
55783         * elf/Makefile: Likewise.
55784         * extra-lib.mk: Likewise.
55785         * iconv/Makefile: Likewise.
55786         * include/libc-symbols.h: Likewise.
55787         * include/shlib-compat.h: Likewise.
55788         * resolv/Makefile: Likewise.
55789         * resolv/res_libc.c: Likewise.
55790         * rt/Makefile: Likewise.
55791         * sysdeps/i386/asm-syntax.h: Likewise.
55792         * sysdeps/i386/sysdep.h: Likewise.
55793         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
55794         * sysdeps/mach/sysdep.h: Likewise.
55795         * sysdeps/powerpc/powerpc32/Makefile: Likewise.
55796         * sysdeps/powerpc/powerpc64/Makefile: Likewise.
55797         * sysdeps/s390/asm-syntax.h: Likewise.
55798         * sysdeps/s390/s390-32/sysdep.h: Likewise.
55799         * sysdeps/s390/s390-64/sysdep.h: Likewise.
55800         * sysdeps/sh/sysdep.h: Likewise.
55801         * sysdeps/unix/sparc/sysdep.h: Likewise.
55802         * sysdeps/wordsize-32/divdi3.c: Likewise.
55803         * sysdeps/x86_64/sysdep.h: Likewise.
55805         * argp/Versions: Remove _argp_unlock_xxx.
55807         [BZ #13559]
55808         * abilist/ld.abilist: Update.  Adjust for removal of tls option.
55809         * abilist/libBrokenLocale.abilist: Likewise.
55810         * abilist/libanl.abilist: Likewise.
55811         * abilist/libc.abilist: Likewise.
55812         * abilist/libcrypt.abilist: Likewise.
55813         * abilist/libdl.abilist: Likewise.
55814         * abilist/libm.abilist: Likewise.
55815         * abilist/libnsl.abilist: Likewise.
55816         * abilist/libpthread.abilist: Likewise.
55817         * abilist/libresolv.abilist: Likewise.
55818         * abilist/librt.abilist: Likewise.
55819         * abilist/libthread_db.abilist: Likewise.
55820         * abilist/libutil.abilist: Likewise.
55821         * abilist/libnss_db.abilist: New file.
55823         * scripts/abilist.awk: Add support for indirect functions.
55825         * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
55827         * sysdeps/generic/ldsodefs.h: Remove Alpha support.
55829         * shlib-versions: Remove entries for ports architectures.
55831         * elf/tls-macros.h: Remove support for Alpha and IA-64.  Should be in
55832         files in ports.
55833         * elf/stackguard-macros.h: Remove support for IA-64.
55834         * elf/tst-auditmod1.c: Likewise.
55835         * sysdeps/generic/ldsodefs.h: Likewise.
55837         * sysdeps/unix/sysv/linux/configure.in: Ports should define
55838         libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
55839         configure files.
55841         [BZ #13552]
55842         * configure.in: Remove --enable-omitfp support.
55843         * FAQ.in: Adjust.
55844         * config.make.in: Likewise.
55845         * Makeconfig: Likewise.
55846         * manual/install.texi: Likewise.
55848         In case anyone cares, the IA-64 architecture could move to ports.
55849         * sysdeps/ia64/*: Removed.
55850         * sysdeps/unix/sysv/linux/ia64/*: Removed.
55851         * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
55853         [BZ #13555]
55854         * configure.in: Remove entries for unsupported architectures.
55856         [BZ #13533]
55857         * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
55858         * iconv/gconv_simple.c: Rename char16_t routines.  Add char16_t<->utf8
55859         routines.
55860         * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
55861         * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
55862         * wcsmbs/c16rtomb.c: Fix a few problems.  Disable all the code and
55863         fall back to using wcrtomb.
55864         * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
55865         * wcsmbs/wcsmbsload.c: Make char16 routines optional.  Adjust for
55866         renaming.
55867         * wcsmbs/Makefile (tests): Add tst-c16c32-1:
55868         * wcsmbs/tst-c16c32-1.c: New file.
55870         * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
55871         local variable.
55873         * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
55875         * elf/tst-unique3.cc: Add explicit declaration of gets.
55876         * elf/tst-unique3lib.cc: Likewise.
55877         * elf/tst-unique3lib2.cc: Likewise.
55878         * elf/tst-unique4.cc: Likewise.
55880         * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
55882 2012-01-06  Joseph Myers  <joseph@codesourcery.com>
55884         [BZ #13566]
55885         * assert/assert.h (static_assert): Don't define for C++.
55886         * libio/stdio.h (gets): Do declare for C++ <= C++11.
55887         * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
55889 2012-01-03  Ulrich Drepper  <drepper@gmail.com>
55891         * iconv/loop.c (single loop): Fix assertion in storing of
55892         remaining bytes.
55894         * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
55896 2012-01-01  Ulrich Drepper  <drepper@gmail.com>
55898         * posix/getconf.c: Update copyright year.
55899         * nss/getent.c: Likewise.
55900         * nss/makedb.c: Likewise.
55901         * iconv/iconvconfig.c: Likewise.
55902         * iconv/iconv_prog.c: Likewise.
55903         * elf/ldconfig.c: Likewise.
55904         * elf/pldd.c: Likewise.
55905         * elf/sotruss.ksh: Likewise.
55906         * catgets/gencat.c: Likewise.
55907         * csu/version.c: Likewise.
55908         * elf/ldd.bash.in: Likewise.
55909         * elf/sprof.c (print_version): Likewise.
55910         * locale/programs/locale.c: Likewise.
55911         * locale/programs/localedef.c: Likewise.
55912         * login/programs/pt_chown.c: Likewise.
55913         * nscd/nscd.c (print_version): Likewise.
55914         * debug/xtrace.sh: Likewise.
55915         * malloc/memusage.sh: Likewise.
55916         * malloc/mtrace.pl: Likewise.
55917         * debug/catchsegv.sh: Likewise.
55919 2011-12-30  Jakub Jelinek  <jakub@redhat.com>
55921         * posix/regex_internal.c (re_string_fetch_byte_case): Remove
55922         pure attribute.
55924 2011-12-24  Ulrich Drepper  <drepper@gmail.com>
55926         [BZ #13533]
55927         * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
55928         * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
55929         transformations.
55930         * iconv/gconv_int.h: Likewise.
55931         * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
55932         * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
55933         from libc for GLIBC_2.16.
55934         * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
55935         * wcsmbs/wcrtomb.c: Define c32rtomb alias.
55936         * wcsmbs/uchar.h: Really define mbstate_t.
55937         * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
55938         * wcsmbs/c16rtomb.c: New file.
55939         * wcsmbs/mbrtoc16.c: New file.
55940         * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
55941         for C/POSIX locale.
55942         (__wcsmbs_load_conv): Do not fill in c16 routines yet.
55943         * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
55945         * wcsmbs/wchar.h: Add missing __restrict.
55947 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
55949         [BZ #13532]
55950         * time/Makefile (routines): Add timespec_get.
55951         * time/Versions: Export timespec_get from libc for GLIBC_2.16.
55952         * time/time.h: Define TIME_UTC and declare timespec_get.  Define
55953         timespec for ISO C11.
55954         * time/timespec_get.c: New file.
55955         * sysdeps/unix/sysv/linux/timespec_get.c: New file.
55956         * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
55958         [BZ #13531]
55959         * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
55960         * stdlib/stdlib.h: Declare aligned_alloc.
55961         * Versions.def: Add GLIBC_2.16 for libc.
55962         * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
55964         [BZ 13527]
55965         * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
55966         ISO C11.
55968         * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
55969         code.
55971         [BZ #13528]
55972         * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
55974         [BZ #13529]
55975         * assert/assert.h (static_assert): Define.
55977         * version.h: Update for 2.16 development version.
55979         [BZ #13526]
55980         * include/features.h: Handle __STDC_VERSION__ >= 201112 and
55981         _ISOC11_SOURCE.
55983         * version.h (RELEASE): Bump for 2.15 release.
55984         * include/features.h (__GLIBC_MINOR__): Bump to 15.
55986         * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
55987         Patch by Marek Polacek <mpolacek@redhat.com>.
55989         * bits/byteswap.h: Protect long long constants with __extension__.
55990         * sysdeps/i386/bits/byteswap.h: Likewise.
55991         * sysdeps/ia64/bits/byteswap.h: Likewise.
55992         * sysdeps/s390/bits/byteswap.h: Likewise.
55993         * sysdeps/x86_64/bits/byteswap.h: Likewise.
55995 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
55997         [BZ #13540]
55998         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
55999         destination buffer.
56000         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
56002 2011-12-23  Marek Polacek  <polacek@redhat.com>
56004         * elf/dl-addr.c (determine_info): Add inline keyword.
56005         * elf/tst-auditmod4b.c (check_avx): Likewise.
56006         * elf/tst-auditmod6b.c (check_avx): Likewise.
56007         * elf/tst-auditmod6c.c (check_avx): Likewise.
56008         * elf/tst-auditmod7b.c (check_avx): Likewise.
56010 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
56012         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
56013         !__SSE_MATH__.
56015 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
56017         [BZ #13540]
56018         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
56019         processing for last bytes.
56021 2011-08-06  Bruno Haible  <bruno@clisp.org>
56023         [BZ #13061]
56024         * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
56025         U+0385, not to U+1FEE.
56027         [BZ #13062]
56028         * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
56029         entry for U+00A5 U+0301.
56031 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
56033         [BZ #13166]
56034         * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
56035         buffer for the output is too small.
56037         * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
56038         optimization.
56040         [BZ #13185]
56041         * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
56042         SSE flags if possible.
56044 2011-12-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
56046         [BZ #13540]
56047         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
56048         processing for last bytes.
56050 2011-12-22  Joseph Myers  <joseph@codesourcery.com>
56052         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
56053         (syscall-list-default-options, syscall-list-default-condition)
56054         (syscall-list-includes): Define.
56055         ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
56056         list of ABIs and options and #if conditions for each ABI.  Do not
56057         handle common syscalls between ABIs specially.
56058         * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
56059         Remove.
56060         (syscall-list-variants, syscall-list-32bit-options)
56061         (syscall-list-32bit-condition, syscall-list-64bit-options)
56062         (syscall-list-64bit-condition): Define.
56063         * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
56064         (syscall-list-variants, syscall-list-32bit-options)
56065         (syscall-list-32bit-condition, syscall-list-64bit-options)
56066         (syscall-list-64bit-condition): Define.
56067         * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
56068         Remove.
56069         (syscall-list-variants, syscall-list-32bit-options)
56070         (syscall-list-32bit-condition, syscall-list-64bit-options)
56071         (syscall-list-64bit-condition): Define.
56072         * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
56073         Remove.
56074         (syscall-list-variants, syscall-list-32bit-options)
56075         (syscall-list-32bit-condition, syscall-list-64bit-options)
56076         (syscall-list-64bit-condition): Define.
56078 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
56080         * locale/iso-639.def: Add brx entry.
56082         [BZ #13328]
56083         * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
56084         Proposed by Mariusz_Cukr <marcukr@op.pl>.
56086         * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
56087         __feraiseexcept_renamed.
56089 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
56091         [BZ #13538]
56092         * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
56093         EPOLLET with unsigned values.
56094         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
56095         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
56097         * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
56098         to large cancellation.
56099         * math/s_cacoshf.c: Likewise.
56100         * math/s_cacoshl.c: Likewise.
56102 2011-11-18  Richard B. Kreckel  <kreckel@ginac.de>
56104         [BZ #13305]
56105         [BZ #12786]
56106         * math/s_cacosh.c: Fix rare miscomputation in cacosh().
56107         * math/s_cacoshf.c: Likewise.
56108         * math/s_cacoshl.c: Likewise.
56110 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
56112         [BZ #13439]
56113         * iconv/gconv.h: Define __GCONV_SWAP.
56114         * iconvdata/unicode.c: The swap bit must be stored in __flags.
56115         * iconvdata/utf-16.c: Likewise.
56116         * iconvdata/utf-32.c: Likewise.
56118 2011-12-21  Andreas Schwab  <schwab@linux-m68k.org>
56120         [BZ #13524]
56121         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
56122         numerator after shifting it by one limb.
56124 2011-12-19  Rafael Ávila de Espíndola  <rafael.espindola@gmail.com>
56126         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
56127         under [__USE_EXTERN_INLINES].
56129 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
56131         [BZ #13446]
56132         * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
56134 2011-11-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
56136         * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
56137         * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
56138         optimized code.
56139         * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
56140         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
56141         * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
56142         * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
56143         for strncasecmp/strncasecmp_l compilation.
56144         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
56145         * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
56147 2011-12-08  Marek Polacek  <mpolacek@redhat.com>
56149         [BZ #13484]
56150         * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
56151         of __asm__.
56153 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
56155         [BZ #13506]
56156         * time/tzfile.c (__tzfile_read): Check values from file header.
56158 2011-11-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
56160         * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
56161         * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
56162         * powerpc/powerpc32/dl-start.S: Likewise.
56163         * powerpc/powerpc32/elf/start.S: Likewise.
56164         * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
56165         * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
56166         * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
56167         * powerpc/powerpc32/fpu/s_floor.S: Likewise.
56168         * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
56169         * powerpc/powerpc32/fpu/s_lround.S: Likewise.
56170         * powerpc/powerpc32/fpu/s_rint.S: Likewise.
56171         * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
56172         * powerpc/powerpc32/fpu/s_round.S: Likewise.
56173         * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
56174         * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
56175         * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
56176         * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
56177         * powerpc/powerpc32/memset.S: Likewise.
56178         * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
56179         * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
56180         * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
56181         * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
56182         * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
56183         * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
56184         * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
56185         * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
56186         * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
56187         * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
56188         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
56189         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
56190         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
56192 2011-11-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
56194         * math/libm-test.inc: Added more nearbyint tests.
56195         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
56196         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
56197         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
56198         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
56200 2011-11-21  Ross Lagerwall  <rosslagerwall@gmail.com>
56202         * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
56203         FD_CLOEXEC.
56205 2011-11-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
56207         * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
56208         Add wcscpy-ssse3 wcscpy-c.
56209         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
56210         * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
56211         * sysdeps/x86_64/multiarch/wcscpy.S: New file.
56212         * sysdeps/x86_64/wcschr.S: New file.
56213         * sysdeps/x86_64/wcsrchr.S: New file.
56214         * string/test-strcmp.c: Remove checking of wcscmp function for
56215         wrong alignments.
56216         * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
56217         (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
56218         wcsrchr-sse2 wcsrchr-c.
56219         * sysdeps/i386/i686/multiarch/wcschr.S: New file.
56220         * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
56221         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
56222         * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
56223         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
56224         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
56225         * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
56226         * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
56227         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
56228         * wcsmbc/wcschr.c (WCSCHR): New macro.
56230 2011-11-17  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
56232         * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
56233         * wcsmbs/test-wcsrchr.c: New file.
56234         * string/test-strrchr.c: Add wcsrchr support.
56235         (WIDE): New macro.
56236         * wcsmbs/test-wcscpy.c: New file.
56237         * string/test-strcpy.c: Add wcscpy support.
56238         (WIDE): New macro.
56240 2011-12-10  Ulrich Drepper  <drepper@gmail.com>
56242         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
56243         the inner loop.
56245 2011-12-06  Andreas Schwab  <schwab@linux-m68k.org>
56247         [BZ #13472]
56248         * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
56250 2011-12-04  Ulrich Drepper  <drepper@gmail.com>
56252         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
56253         Minor optimizations.
56255         * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
56256         * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
56257         * sunrpc/clnt_udp.c (clntudp_call): Likewise.
56259 2011-12-03  Ulrich Drepper  <drepper@gmail.com>
56261         * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
56262         IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
56263         IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
56264         for gcc to avoid warnings.
56265         * inet/Makefile (tests): Add tst-checks.
56266         * inet/tst-checks.c: New file.
56268         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
56269         warning.
56271         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
56272         __wmemcmp_sse2.
56274         * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
56275         * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
56277         * malloc/mcheck.h: Fix use of incorrect encoding in comment.
56279 2011-12-02  Ulrich Drepper  <drepper@gmail.com>
56281         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
56282         problem.
56284         * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
56286 2011-11-29  Joseph Myers  <joseph@codesourcery.com>
56288         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
56289         conditional on GCC version.
56290         (__arch_compare_and_exchange_val_8_acq)
56291         (__arch_compare_and_exchange_val_16_acq)
56292         (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
56293         (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
56294         (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
56296 2011-12-02  Joseph Myers  <joseph@codesourcery.com>
56298         * sysdeps/sh/backtrace.c: New file.
56300 2011-12-02  Andreas Schwab  <schwab@redhat.com>
56302         * misc/bits/select2.h (__FD_ELT): Mark as extension.  Add
56303         parenthesis.
56305 2011-12-01  Andreas Schwab  <schwab@redhat.com>
56307         * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
56308         falling back to utime.
56310 2011-11-30  Andreas Schwab  <schwab@redhat.com>
56312         * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
56313         expectations for float.
56315 2011-11-29  Andreas Schwab  <schwab@redhat.com>
56317         * locale/weight.h (findidx): Add parameter len.
56318         * locale/weightwc.h (findidx): Likewise.
56319         * posix/fnmatch_loop.c (FCT): Adjust caller.
56320         * posix/regcomp.c (build_equiv_class): Likewise.
56321         * posix/regex_internal.h (re_string_elem_size_at): Likewise.
56322         * posix/regexec.c (check_node_accept_bytes): Likewise.
56323         * string/strcoll_l.c (STRCOLL): Likewise.
56324         * string/strxfrm_l.c (STRXFRM): Likewise.
56326 2011-11-17  Ulrich Drepper  <drepper@gmail.com>
56328         * Makefile.in: Remove CVSOPT handling.
56329         * configure.in: Remove use of AC_REVISION.
56330         * iconvdata/Makefile (distribute): No need to filter out CVS.
56331         * scripts/list-sources.sh: Remove CVS, subversion and monotone
56332         handling.
56334 2011-11-16  Andreas Schwab  <schwab@redhat.com>
56336         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
56337         [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
56338         [USE_AS_STRNCASECMP_L]: Likewise.
56339         (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
56340         NO_TLS_DIRECT_SEG_REFS.
56341         * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
56342         Fix argument offsets for non-PIC.
56343         [USE_AS_STRNCASECMP_L]: Likewise.
56344         (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
56345         NO_TLS_DIRECT_SEG_REFS.
56347 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
56349         * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
56350         O_CLOEXEC.
56351         * locale/loadlocale.c (_nl_load_locale): Likewise.
56353 2011-11-15  Andreas Schwab  <schwab@redhat.com>
56355         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
56356         [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
56357         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
56358         (SYSCALL_GETTIME): Set errno on error.
56360         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
56361         count references to noai6ai_cached.
56363 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
56365         * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
56367         * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
56368         FD_CLOEXEC for /proc/self/maps.
56370         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
56371         FD_CLOEXEC for /proc/meminfo.
56373         * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
56374         gai.conf.
56376         * resolv/res_query.c (res_hostalias):  Don't allow cancellation and set
56377         FD_CLOEXEC for given file.
56379         * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
56381         * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
56382         FD_CLOEXEC for /etc/hosts.
56383         (_gethtent): Likewise.
56385         * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
56387         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
56388         cancellation and set FD_CLOEXEC for /etc/netgroup.
56390         * nss/nss_files/files-key.c (search): Don't allow cancellation when
56391         reading /etc/publickey.
56393         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
56394         allow cancellation when reading /etc/group.
56396         * nss/nss_files/files-alias.c (internal_setent): Don't allow
56397         cancellation.
56398         (get_next_alias): Likewise for included file.  Also set FD_CLOEXEC.
56400         * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
56401         when using data file.
56403         * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
56405         * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
56406         (write_nis_obj): Use "c" and "e" in fopen.
56408         * misc/mntent_r.c (__setmntent): Also append e to fopen format.
56410         * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
56412         * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
56414         * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
56416         * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
56417         locale.alias.
56419         * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
56421         * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
56423         * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
56425         * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
56426         file parsing and set FD_CLOEXEC.
56428 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
56430         * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
56432 2011-11-14  Andreas Schwab  <schwab@redhat.com>
56434         * malloc/arena.c (arena_get2): Don't call reused_arena when
56435         _int_new_arena failed.
56437 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
56439         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
56440         (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
56441         * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
56442         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
56443         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
56444         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
56445         to compile strcasecmp and strncasecmp.
56446         * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
56447         * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
56449         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
56451 2011-11-13  Ulrich Drepper  <drepper@gmail.com>
56453         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
56454         locale-defines.sym to gen-as-const-headers.
56455         (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
56456         strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
56457         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
56458         to compile strcasecmp and strncasecmp.
56459         * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
56460         strcasecmp_l and strncasecmp_l.
56461         * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
56462         * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
56463         * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
56464         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
56465         * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
56466         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
56467         * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
56468         * sysdeps/i386/i686/multiarch/strncase.S: New file.
56469         * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
56470         * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
56471         * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
56473 2011-11-12  Ulrich Drepper  <drepper@gmail.com>
56475         * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
56476         result of SYSDEP_GETTIME_CPU to retval.
56477         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
56478         parameter list to macro.  Remove trailing semicolon.  Adjust users.
56480         * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
56481         variable.
56483         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
56484         mantissa words.
56485         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
56487         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
56488         from unused variable.
56490         * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
56491         DWARF definitions.
56492         * sysdeps/generic/dwarf2.h: Don't define enums when using the file
56493         for assembling.
56495         * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
56496         over namespaces.
56498         * sunrpc/rpc_prot.c (rejected): Fix case value.
56500         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
56501         unsigned long long int to avoid warnings in shift.
56503         * posix/regex_internal.c (re_string_reconstruct): Actually use result
56504         of use of trans.
56505         * posix/regex_internal.h (re_string_wchar_at): Remove temporary
56506         variable tmp.
56508         * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
56509         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
56510         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
56512         * nis/nis_table.c (nis_list): Use variable of correct type for
56513         result of __follow_path call.
56515 2011-11-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
56517         * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
56518         of math functions ceil, trunc, floor, round, and sqrt, when
56519         avaliable on the platform.
56520         * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
56521         name clash.
56522         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
56523         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
56524         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
56526 2011-10-30  Marek Polacek  <mpolacek@redhat.com>
56528         * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
56529         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
56531 2011-11-11  Roland McGrath  <roland@hack.frob.com>
56533         * include/unistd.h: Fix __readlink return type.
56534         Reported by Chris Metcalf <cmetcalf@tilera.com>.
56536 2011-11-11  Ulrich Drepper  <drepper@gmail.com>
56538         * stdlib/ucontext.h: Undo last change for makecontext.
56540 2011-11-11  Andreas Schwab  <schwab@redhat.com>
56542         * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
56544         * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
56545         * setjmp/setjmp.h: Mark functions as non-leaf.
56546         * setjmp/bits/setjmp2.h: Likewise.
56547         * stdlib/ucontext.h: Likewise.
56549 2011-11-10  Andreas Schwab  <schwab@redhat.com>
56551         * malloc/arena.c (_int_new_arena): Don't increment narenas.
56552         (reused_arena): Don't check arena limit.
56553         (arena_get2): Atomically check arena limit.
56555 2011-11-08  Ulrich Drepper  <drepper@gmail.com>
56557         * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
56558         * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
56560         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
56561         instructions.
56563 2011-11-07  Andreas Schwab  <schwab@redhat.com>
56565         * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
56566         handler when locking.
56568         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
56569         Fix size of allocated buffer.
56571 2011-11-04  Andreas Schwab  <schwab@redhat.com>
56573         [BZ #10103]
56574         * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
56575         declarations for long double functions.
56576         * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
56578         * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
56580 2011-11-03  Andreas Schwab  <schwab@redhat.com>
56582         * nscd/nscd.c (main): Don't start AVC thread until credentials are
56583         installed.
56585         * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
56586         is disabled.
56588 2011-11-02  Samuel Thibault  <samuel.thibault@ens-lyon.org>
56590         * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
56592 2011-11-01  Andreas Schwab  <schwab@linux-m68k.org>
56594         * include/alloca.h (stackinfo_alloca_round): Define.
56595         (extend_alloca): Use it.
56596         [_STACK_GROWS_UP]: Correct check for adjacent allocation.
56597         * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
56598         here.
56600         * scripts/check-local-headers.sh: Ignore libaudit.h.
56602         * nscd/Makefile (extra-objs): Make recursively expanded.
56604 2011-11-01  Ulrich Drepper  <drepper@gmail.com>
56606         * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
56607         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
56609         * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
56610         * posix/tst-rfc3484-2.c: Likewise.
56611         * posix/tst-rfc3484-3.c: Likewise.
56613         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
56614         process_vm_writev.
56615         * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
56616         process_vm_writev.
56617         * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
56618         process_vm_writev from libc using GLIBC_2.15 version.
56620         * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
56622 2011-10-31  Paul Pluzhnikov  <ppluzhnikov@google.com>
56624         * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
56625         stack usage.
56627 2011-10-31  Ulrich Drepper  <drepper@gmail.com>
56629         [BZ #13367]
56630         * nss/getent.c (initgroups_keys): Show error message in case no group
56631         names are given.
56633         * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
56634         * inet/check_pf.c: Provide dummy versions of __free_in6ai and
56635         __bump_nl_timestamp.
56636         * nscd/connections (nscd_init): When host database is served open
56637         netlink socket and request notification about configuration changes.
56638         (main_loop_poll): Track netlink file descriptor and bump timestamp
56639         in case data becomes available.
56640         (main_loop_epoll): Likewise.
56641         * nscd/nscd-client.h (DB_VERSION): Bump to 2.
56642         (database_pers_head): Add extra_data fileds.
56643         Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
56644         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
56645         * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
56646         Adjust caller.
56647         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
56648         in6ai data, call __free_in6ai.
56649         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
56650         Add -DHAVE_NETLINK.
56651         * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite.  Cache the
56652         interface information.  Reuse previous data if netlink timestamp
56653         is not changed.
56654         (__bump_nl_timestamp): New function.
56655         (__free_in6ai): New function.
56657 2011-10-30  Ulrich Drepper  <drepper@gmail.com>
56659         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
56660         close_not_cancel_no_status here.
56661         (__check_pf): Reorganize code a bit to not call close twice if OOM.
56663 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
56665         [BZ #13276]
56666         * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
56667         return value.
56669         * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
56670         * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
56671         asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
56673 2011-07-03  Andreas Jaeger  <aj@suse.de>
56675         [BZ #10709]
56676         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
56677         of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
56678         * math/libm-test.inc (sin_test): Add test case.
56680 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
56682         [BZ #13337]
56683         * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
56684         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
56686         * elf/chroot_canon.c (chroot_canon): Cleanups.
56688         * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
56690         [BZ #13335]
56691         * elf/chroot_canon.c (chroot_canon): Fix readlink call.
56692         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
56694         * string/test-strchr.c: Make usable for strchrnul testing.
56695         * string/test-strchrnul.c: New file.
56696         * string/Makefile (strop-tests): Add strchrnul.
56698         * po/it.po: Update from translation team.
56699         * po/es.po: Likewise.
56701 2011-10-28  Ulrich Drepper  <drepper@gmail.com>
56703         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
56704         the three constants needed as parameters.  Drop the others.
56705         (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
56706         __m128i_strloadu_tolower.
56707         Create and initialize variable zero and use it in all the places
56708         where _mm_setzero_si128 was used.
56710         * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
56711         doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
56712         mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
56713         * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
56714         anymore.
56715         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
56716         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
56717         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
56718         __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
56719         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
56720         __mpranred, __mptan.
56721         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
56722         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
56723         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
56724         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
56725         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
56726         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
56727         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
56728         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
56729         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
56731 2011-10-28  Andreas Schwab  <schwab@redhat.com>
56733         * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
56734         redefine if SHARED.
56735         * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
56737         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
56738         wide char related routines to wcsmbs subdir.
56740 2011-10-27  Andreas Schwab  <schwab@redhat.com>
56742         [BZ #13344]
56743         * misc/sys/cdefs.h (__THROWNL): Define.
56744         * posix/unistd.h: Use __THREADNL instead of __THREAD
56745         for memory synchronization functions.
56747 2011-10-26  Roland McGrath  <roland@hack.frob.com>
56749         [BZ #13349]
56750         * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
56751         doesn't exist.
56752         * manual/stdio.texi (Obstack Streams): Node removed.
56754 2011-10-26  Andreas Schwab  <schwab@redhat.com>
56756         * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
56757         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
56758         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
56760         * math/math_private.h (math_force_eval): Allow non-addressable
56761         arguments.
56762         * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
56764 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
56766         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
56767         file is not needed.
56769         * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
56770         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
56771         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
56772         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
56773         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
56774         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
56775         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
56776         * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
56777         Add AVX variants.
56778         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
56779         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
56780         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
56781         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
56782         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
56783         * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
56784         * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
56785         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
56786         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
56787         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
56788         * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
56789         * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
56790         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
56791         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
56792         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
56793         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
56794         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
56795         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
56796         * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
56798         * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
56799         all the time.  Define bit_AVX.  Define HAS_* macros using bit_* macros.
56801         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
56802         place.  Use VEX encoding when compiling for AVX.
56804 2011-10-25  Andreas Schwab  <schwab@redhat.com>
56806         * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
56807         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
56809         * string/test-strchr.c (do_test): Don't generate NUL bytes.
56811 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
56813         * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
56814         useless if() expression.
56815         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
56816         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
56817         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
56818         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
56819         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
56820         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
56821         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
56822         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
56823         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
56824         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
56825         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
56826         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
56827         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
56828         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
56829         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
56830         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
56831         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
56832         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
56833         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
56835         * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
56837 2011-10-25  Andreas Schwab  <schwab@redhat.com>
56839         * elf/dl-deps.c (_dl_map_object_deps): Remove always true
56840         condition.
56841         * elf/dl-fini.c (_dl_sort_fini): Likewise.
56843 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
56845         * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
56846         .text section.  Avoid duplicate constants.
56847         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
56848         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
56849         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
56850         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
56851         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
56852         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
56853         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
56854         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
56855         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
56856         * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
56857         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
56858         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
56859         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
56860         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
56861         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
56862         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
56863         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
56864         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
56865         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
56866         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
56867         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
56868         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
56869         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
56870         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
56871         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
56872         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
56873         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
56874         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
56875         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
56876         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
56877         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
56878         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
56879         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
56880         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
56881         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
56882         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
56883         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
56884         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
56885         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
56886         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
56887         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
56888         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
56889         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
56890         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
56891         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
56893 2011-10-24  Ulrich Drepper  <drepper@gmail.com>
56895         * sysdeps/x86_64/dla.h: Move to ...
56896         * sysdeps/x86_64/fpu/dla.h: ...here.
56897         (DLA_FMS): Some compilers fail to inline __builtin_fma in some
56898         situations.  Use __builtin_fma only for gcc 4.6 and up.
56900         * config.make.in: Add have-mfma4 entry.
56901         * configure.in: Substitute libc_cv_cc_fma4.
56902         * math/Makefile (dbl-only-routines): Add sincostab.
56903         * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
56904         Use __sincostab not sincos.
56905         * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
56906         name is a macro.
56907         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
56908         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
56909         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
56910         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.  Define singArctan2
56911         using __copysign.
56912         * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr.  Don't define
56913         __cr and __cpymn.  Define __cpy unless NO___CPY is defined.  Define
56914         norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
56915         * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
56916         and __inv.
56917         * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
56918         * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
56919         __copysign.
56920         * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos.  Don't
56921         define aliases when function name is a macro.
56922         * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
56923         sysdeps/ieee754/dbl-64/sincos.tbl.
56924         * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
56925         fma4-enabled routines.
56926         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
56927         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
56928         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
56929         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
56930         * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
56931         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
56932         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
56933         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
56934         * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
56935         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
56936         * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
56937         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
56938         * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
56939         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
56940         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
56941         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
56942         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
56943         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
56944         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
56945         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
56946         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
56947         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
56948         * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
56949         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
56950         * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
56951         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
56952         * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
56953         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
56954         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
56955         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
56957         * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
56958         rename.
56959         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
56960         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
56961         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
56962         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
56963         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
56964         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
56965         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
56966         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
56968 2011-10-24  Andreas Schwab  <schwab@redhat.com>
56970         * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
56972 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
56974         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
56976         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
56977         prediction.
56978         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
56980         * string/strnlen.c: Don't define STRNLEN, reverse logic.
56981         Remove unused variable magic_bits.
56982         * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
56984         * string/strnlen.c: Define and use STRNLEN macro.
56985         * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
56986         Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
56987         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
56988         * wcsmbs/wcslen.c: Define and use WCSLEN.
56989         * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
56990         * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
56991         * sysdeps/i386/i686/multiarch/strnlen.S: New file.
56992         * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
56993         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
56994         * sysdeps/i386/i686/multiarch/wcslen.S: New file.
56995         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
56997 2011-10-20  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
56999         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
57000         strnlen-sse2-no-bsf.
57001         Rename strlen-no-bsf to strlen-sse2-no-bsf.
57002         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
57003         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
57004         Add strnlen support.
57005         (USE_AS_STRNLEN): New macro.
57006         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
57007         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
57008         Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
57009         * sysdeps/x86_64/wcslen.S: New file.
57011 2011-10-20  Michael Zolotukhin  <michael.v.zolotukhin@gmail.com>
57013         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
57014         XMM-moves are used for copying on small sizes.
57016 2011-10-19  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
57018         * wcsmbs/Makefile (strop-tests): Add wcschr.
57019         * wcsmbs/test-wcschr.c: New file.
57020         * string/test-strchr.c: Update.
57021         Add wcschr support.
57022         (WIDE): New macro.
57024 2011-10-18  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
57026         * wcsmbs/Makefile (strop-tests): Add wcslen.
57027         * wcsmbs/test-wcslen.c: New file.
57028         * string/test-strlen.c: Update.
57029         Add wcslen support.
57030         (WIDE): New macro.
57032 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
57034         * po/it.po: Update from translation team.
57036 2011-09-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
57038         * sysdeps/x86_64/wcscmp.S: Update.
57039         Fix wrong comparison semantics.
57040         wcscmp shall use signed comparison not unsigned.
57041         Don't use substraction to avoid overflow bug.
57042         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
57043         * wcsmbc/wcscmp.c: Likewise.
57044         * string/test-strcmp.c: Likewise.
57045         Add new tests to check cases with negative values.
57047 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
57049         * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
57050         * sysdeps/x86_64/dla.h: ...here.  New file.
57051         * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
57052         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
57053         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
57054         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
57055         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
57056         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
57057         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
57058         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
57059         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
57061 2011-10-23  Andreas Schwab  <schwab@linux-m68k.org>
57063         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
57064         __ynl_finite aliases.
57066 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
57068         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
57070         * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
57071         define DLA_FMA.
57072         [DLA_FMA] (EMULV): Use DLA_FMA.
57073         [DLA_FMA] (MUL12): Use EMULV.
57074         * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
57075         that are not needed.
57076         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
57077         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
57078         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
57079         * sysdeps/ieee754/dbl-64/e_pow.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-22  Andreas Schwab  <schwab@linux-m68k.org>
57086         * math/s_nan.c: Undef __nan.
57087         * math/s_nanf.c: Undef __nanf.
57088         * math/s_nanl.c: Undef __nanl.
57089         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
57090         "math_private.h".
57092 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
57094         * math/s_catan.c: Add branch predictions.
57095         * math/s_catanf.c: Likewise.
57096         * math/s_catanh.c: Likewise.
57097         * math/s_catanhf.c: Likewise.
57098         * math/s_catanhl.c: Likewise.
57099         * math/s_catanl.c: Likewise.
57100         * math/s_cexp.c: Likewise.
57101         * math/s_cexpf.c: Likewise.
57102         * math/s_cexpl.c: Likewise.
57103         * math/s_clog.c: Likewise.
57104         * math/s_clog10.c: Likewise.
57105         * math/s_clog10f.c: Likewise.
57106         * math/s_clog10l.c: Likewise.
57107         * math/s_clogf.c: Likewise.
57108         * math/s_clogl.c: Likewise.
57109         * math/s_csqrt.c: Likewise.
57110         * math/s_csqrtf.c: Likewise.
57111         * math/s_csqrtl.c: Likewise.
57112         * math/s_ctanf.c: Likewise.
57113         * math/s_ctanh.c: Likewise.
57114         * math/s_ctanhf.c: Likewise.
57115         * math/s_ctanhl.c: Likewise.
57116         * math/s_ctanl.c: Likewise.
57118         * math/math_private.h: Define __nan, __nanf, __nanl.
57119         * math/s_cacosh.c: Include <math_private.h>.
57120         * math/s_cacoshl.c: Likewise.
57121         * math/s_casinh.c: Likewise.
57122         * math/s_casinhf.c: Likewise.
57123         * math/s_casinhl.c: Likewise.
57124         * math/s_ccos.c: Rely entire on ccosh.
57125         * math/s_ccosf.c: Rely entire on ccoshf.
57126         * math/s_ccosl.c: Rely entirely on ccoshl.
57127         * math/s_ccosh.c: Add branch predicion helpers.  Add branch prediction.
57128         Remove tests for FE_INVALID.
57129         * math/s_ccoshf.c: Likewise.
57130         * math/s_ccoshl.c: Likewise.
57131         * math/s_csin.c: Likewise.
57132         * math/s_csinf.c: Likewise.
57133         * math/s_csinh.c Likewise.
57134         * math/s_csinhf.c: Likewise.
57135         * math/s_csinhl.c: Likewise.
57136         * math/s_csinl.c: Likewise.
57137         * math/s_ctan.c: Likewise.
57138         * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
57139         * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
57140         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
57142 2011-10-21  Ulrich Drepper  <drepper@gmail.com>
57144         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
57145         compilation problems.
57147         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
57148         __builtin_expect.
57150 2011-10-20  Ulrich Drepper  <drepper@gmail.com>
57152         * sysdeps/i386/configure.in: Test for -mfma4 option.
57153         * config.h.in: Add HAVE_FMA4_SUPPORT entry.
57154         * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
57155         COMMON_CPUID_INDEX_80000001.
57156         * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
57157         * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
57158         use it if FMA3 is not supported.
57159         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
57161         * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
57162         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
57164 2011-10-20  Andreas Schwab  <schwab@redhat.com>
57166         [BZ #12892]
57167         * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
57168         it would create a cycle with a link time dependency.
57170 2011-10-19  Ulrich Drepper  <drepper@gmail.com>
57172         * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
57173         instruction.
57174         * string/Makefile (strop-tests): Add rawmemchr.
57175         * string/test-rawmemchr.c: New file.
57177         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
57178         * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file.  Split out from...
57179         * sysdeps/x86_64/multiarch/strcmp.S: ...here.  Include strcmp-sse42.S
57180         when compiling str{,n}casecmp and when AVX is available.  Hook up
57181         new optimized code in initializers.
57183 2011-10-19  Andreas Schwab  <schwab@redhat.com>
57185         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
57186         __feraiseexcept instead of feraiseexcept.
57188 2011-10-18  Ulrich Drepper  <drepper@gmail.com>
57190         * math/math_private.h: Define defaults for libc_fetestexcept and
57191         libc_feupdateenv.
57192         * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
57193         * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
57194         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
57195         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
57196         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
57197         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
57198         libc_fetestexcept and libc_feupdateenv.
57200         * math/math_private.h: Define defaults for libc_feholdexcept_setround,
57201         libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
57202         * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
57203         * sysdeps/x86_64/fpu/math_private.h: Define special version of
57204         libc_feholdexcept_setround.
57206         * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
57207         Add s_nearbyint-c and s_nearbyintf-c.
57208         * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
57209         nearbyintf inlines.
57210         * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
57211         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
57212         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
57213         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
57215         * math/math_private.h: Define defaults for libc_fegetround,
57216         libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
57217         libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
57218         libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
57219         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
57220         libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
57221         standard functions.
57222         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
57223         Remove comments and hacks for old compiler versions.
57224         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
57225         libc_fegetround, libc_fesetround, libc_feholdexcept, and
57226         libc_feholdexceptl.
57228 2011-10-18  Andreas Schwab  <schwab@redhat.com>
57230         * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
57231         (__feraiseexcept_renamed): Add __NTH.
57232         (feraiseexcept): Add __NTH.  Rename local variables to fix
57233         namespace violations.
57235 2011-10-17  Ulrich Drepper  <drepper@gmail.com>
57237         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
57239         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
57241         * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
57242         recently added interfaces.
57243         * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
57245         * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
57246         about macro parameter expansion.
57248         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
57249         __NO_MATH_INLINES is defined.  Cleanups.
57251         * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
57252         and __floorf is target has SSE4.1.
57253         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
57254         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
57255         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
57256         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
57258         * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
57259         name.
57260         (floorf): Likewise.
57262         * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
57264 2011-10-17  Andreas Schwab  <schwab@redhat.com>
57266         * misc/sys/cdefs.h: Fix last change.
57268         * grp/initgroups.c (internal_getgrouplist): Fix initgroups
57269         database lookup.
57271 2011-10-16  Ulrich Drepper  <drepper@gmail.com>
57273         * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
57275         * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
57276         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
57277         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
57278         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
57279         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
57280         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
57281         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
57282         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
57283         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
57284         * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
57285         * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
57286         * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
57287         * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
57288         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
57289         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
57290         * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
57291         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
57292         * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
57293         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
57294         * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
57295         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
57296         * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
57298         * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
57299         ceil, ceilf, floor, floorf.
57301         * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
57302         Perform IRELATIVE relocations last.
57304         * elf/do-rel.h: Add another parameter nrelative, replacing the
57305         local variable with the same name.  Change name of the function
57306         to end in Rel or Rela (uppercase).
57307         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
57308         nrelative to ranges.  Only nonzero for DT_REL/DT_RELA.  Pass to the
57309         elf_dynamic_do_##reloc function.
57311 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
57313         * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
57314         is sufficient, at least on modern CPUs.
57316         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
57318         * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
57319         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
57321         * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
57322         __expl_finite.
57323         * math/bits/math-finite.h: Add entries for exp.
57324         * math/e_expl.c: Add __*_finite alias.
57325         * sysdeps/i386/fpu/e_exp.S: Likewise.
57326         * sysdeps/i386/fpu/e_expf.S: Likewise.
57327         * sysdeps/i386/fpu/e_expl.c: Likewise.
57328         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
57329         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
57330         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
57331         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
57332         * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
57333         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
57334         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
57336         * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
57337         is sufficient, at least on modern CPUs.
57339         * ctype/ctype-info.c (__ctype_init): Define.
57340         * include/ctype.h (__ctype_init): Declare.
57341         (__ctype_b_loc): The variable is always initialized.
57342         (__ctype_toupper_loc): Likewise.
57343         (__ctype_tolower_loc): Likewise.
57344         * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
57345         * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
57347 2011-10-15  Andreas Schwab  <schwab@linux-m68k.org>
57349         * wcsmbs/wmemcmp.c (WMEMCMP): Define.
57351         * configure.in: Also look in $cxxmachine/include for C++ system
57352         headers.
57354 2011-09-27  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
57356         * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
57357         memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
57358         * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
57359         * sysdeps/x86_64/multiarch/memcmp.S: Update.  Add __memcmp_ssse3.
57360         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
57361         (USE_AS_WMEMCMP): New macro.
57362         Fixing indents.
57363         * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
57364         * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
57365         * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
57366         * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
57367         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
57368         wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
57369         * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
57370         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
57371         * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
57372         * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
57373         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
57374         (USE_AS_WMEMCMP): New macro.
57375         * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
57376         * sysdeps/string/test-memcmp.c: Update.
57377         Fix simple_wmemcmp.
57378         Add new tests.
57379         * wcsmbs/wmemcmp.c: Update.
57380         (WMEMCMP): New macro.
57381         Fix overflow bug.
57383 2011-10-12  Andreas Jaeger  <aj@suse.de>
57385         [BZ #13268]
57386         * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
57388 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
57390         * libio/iofwide.c (do_length): Avoid warning.
57392         * ctype/ctype.h (__isctype_f): Add missing __THROW.
57394 2011-10-14  Ulrich Drepper  <drepper@gmail.com>
57396         * elf/pldd-xx.c (find_maps): Remove leftover debug message.
57398         * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
57399         * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
57400         * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
57401         * sysdeps/i386/i686/fpu/e_log.S: New file.
57402         * sysdeps/i386/i686/fpu/e_logf.S: New file.
57403         * sysdeps/i386/i686/fpu/e_logl.S: New file.
57405         * ctype/ctype.h: Add support for inlined isXXX functions when
57406         compiling C++ code.
57408 2011-10-14  Andreas Schwab  <schwab@redhat.com>
57410         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
57412         * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
57414 2011-10-13  Roland McGrath  <roland@hack.frob.com>
57416         [BZ #13291]
57417         * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
57419 2011-10-13  Andreas Schwab  <schwab@redhat.com>
57421         * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
57422         * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
57423         feraiseexcept.
57425         * sysdeps/x86_64/memrchr.S: Check for zero size.
57427         * string/stratcliff.c: Add memrchr tests.
57429 2011-10-12  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
57431         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
57432         memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
57433         rawmemchr-sse2 rawmemchr-sse2-bsf.
57434         * sysdeps/i386/i686/multiarch/memchr.S: New file.
57435         * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
57436         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
57437         * sysdeps/i386/i686/multiarch/memrchr.S: New file.
57438         * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
57439         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
57440         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
57441         * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
57442         * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
57443         * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
57444         * string/memrchr.c (MEMRCHR): New macro.
57446 2011-10-12  Ulrich Drepper  <drepper@gmail.com>
57448         Add integration with gcc's -ffinite-math-only and optimize wrapper
57449         functions in libm.
57450         * Versions.def: Define GLIBC_2.15 version for libm.
57451         * math/Makefile (headers): Add bits/math-finite.h.
57452         * math/bits/math-finite.h: New file.
57453         * sysdeps/ia64/fpu/bits/math-finite.h: New file.
57454         * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
57455         * math/e_acoshl.c: Add __*_finite alias.
57456         * math/e_acosl.c: Likewise.
57457         * math/e_asinl.c: Likewise.
57458         * math/e_atan2l.c: Likewise.
57459         * math/e_atanhl.c: Likewise.
57460         * math/e_coshl.c: Likewise.
57461         * math/e_exp10.c: Likewise.
57462         * math/e_exp10f.c: Likewise.
57463         * math/e_exp10l.c: Likewise.
57464         * math/e_exp2l.c: Likewise.
57465         * math/e_fmodl.c: Likewise.
57466         * math/e_gammal_r.c: Likewise.
57467         * math/e_hypotl.c: Likewise.
57468         * math/e_j0l.c: Likewise.
57469         * math/e_j1l.c: Likewise.
57470         * math/e_jnl.c: Likewise.
57471         * math/e_lgammal_r.c: Likewise.
57472         * math/e_log10l.c: Likewise.
57473         * math/e_log2l.c: Likewise.
57474         * math/e_logl.c: Likewise.
57475         * math/e_powl.c: Likewise.
57476         * math/e_sinhl.c: Likewise.
57477         * math/e_sqrtl.c: Likewise.
57478         * math/e_scalb.c: Completely rewritten and optimized.
57479         * math/e_scalbf.c: Likewise.
57480         * math/e_scalbl.c: Likewise.
57481         * math/w_acos.c: Likewise.
57482         * math/w_acosf.c: Likewise.
57483         * math/w_acosl.c: Likewise.
57484         * math/w_acosh.c: Likewise.
57485         * math/w_acoshf.c: Likewise.
57486         * math/w_acoshl.c: Likewise.
57487         * math/w_asin.c: Likewise.
57488         * math/w_asinf.c: Likewise.
57489         * math/w_asinl.c: Likewise.
57490         * math/w_atan2.c: Likewise.
57491         * math/w_atan2f.c: Likewise.
57492         * math/w_atan2l.c: Likewise.
57493         * math/w_atanh.c: Likewise.
57494         * math/w_atanhf.c: Likewise.
57495         * math/w_atanhl.c: Likewise.
57496         * math/w_exp10.c: Likewise.
57497         * math/w_exp10f.c: Likewise.
57498         * math/w_exp10l.c: Likewise.
57499         * math/w_fmod.c: Likewise.
57500         * math/w_fmodf.c: Likewise.
57501         * math/w_fmodl.c: Likewise.
57502         * math/w_j0.c: Likewise.
57503         * math/w_j0f.c: Likewise.
57504         * math/w_j0l.c: Likewise.
57505         * math/w_j1.c: Likewise.
57506         * math/w_j1f.c: Likewise.
57507         * math/w_j1l.c: Likewise.
57508         * math/w_jn.c: Likewise.
57509         * math/w_jnf.c: Likewise.
57510         * math/w_log.c: Likewise.
57511         * math/w_logf.c: Likewise.
57512         * math/w_logl.c: Likewise.
57513         * math/w_log10.c: Likewise.
57514         * math/w_log10f.c: Likewise.
57515         * math/w_log10l.c: Likewise.
57516         * math/w_log2.c: Likewise.
57517         * math/w_log2f.c: Likewise.
57518         * math/w_log2l.c: Likewise.
57519         * math/w_pow.c: Likewise.
57520         * math/w_powf.c: Likewise.
57521         * math/w_powl.c: Likewise.
57522         * math/w_remainder.c: Likewise.
57523         * math/w_remainderf.c: Likewise.
57524         * math/w_remainderl.c: Likewise.
57525         * math/w_scalb.c: Likewise.
57526         * math/w_scalbf.c: Likewise.
57527         * math/w_scalbl.c: Likewise.
57528         * math/w_sqrt.c: Likewise.
57529         * math/w_sqrtf.c: Likewise.
57530         * math/w_sqrtl.c: Likewise.
57531         * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
57532         are declared.  Include <bits/math-finite.h> if -ffinite-math-only is
57533         used.
57534         * math/math_private.h: Declare __kernel_standard_f.
57535         * math/w_cosh.c: Remove cruft and optimize a bit.
57536         * math/w_coshf.c: Likewise.
57537         * math/w_coshl.c: Likewise.
57538         * math/w_exp2.c: Likewise.
57539         * math/w_exp2f.c: Likewise.
57540         * math/w_exp2l.c: Likewise.
57541         * math/w_hypot.c: Likewise.
57542         * math/w_hypotf.c: Likewise.
57543         * math/w_hypotl.c: Likewise.
57544         * math/w_lgamma.c: Likewise.
57545         * math/w_lgamma_r.c: Likewise.
57546         * math/w_lgammaf.c: Likewise.
57547         * math/w_lgammaf_r.c: Likewise.
57548         * math/w_lgammal.c: Likewise.
57549         * math/w_lgammal_r.c: Likewise.
57550         * math/w_sinh.c: Likewise.
57551         * math/w_sinhf.c: Likewise.
57552         * math/w_sinhl.c: Likewise.
57553         * math/w_tgamma.c: Likewise.
57554         * math/w_tgammaf.c: Likewise.
57555         * math/w_tgammal.c: Likewise.
57556         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
57557         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
57558         * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
57559         Minor optimizations.  Pretty printing.  Remove cruft.
57560         * sysdeps/i386/fpu/e_acosf.S: Likewise.
57561         * sysdeps/i386/fpu/e_acosh.S: Likewise.
57562         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
57563         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
57564         * sysdeps/i386/fpu/e_acosl.c: Likewise.
57565         * sysdeps/i386/fpu/e_asin.S: Likewise.
57566         * sysdeps/i386/fpu/e_asinf.S: Likewise.
57567         * sysdeps/i386/fpu/e_atan2.S: Likewise.
57568         * sysdeps/i386/fpu/e_atan2f.S: Likewise.
57569         * sysdeps/i386/fpu/e_atan2l.c: Likewise.
57570         * sysdeps/i386/fpu/e_atanh.S: Likewise.
57571         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
57572         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
57573         * sysdeps/i386/fpu/e_exp10.S: Likewise.
57574         * sysdeps/i386/fpu/e_exp10f.S: Likewise.
57575         * sysdeps/i386/fpu/e_exp10l.S: Likewise.
57576         * sysdeps/i386/fpu/e_exp2.S: Likewise.
57577         * sysdeps/i386/fpu/e_exp2f.S: Likewise.
57578         * sysdeps/i386/fpu/e_exp2l.S: Likewise.
57579         * sysdeps/i386/fpu/e_fmod.S: Likewise.
57580         * sysdeps/i386/fpu/e_fmodf.S: Likewise.
57581         * sysdeps/i386/fpu/e_fmodl.c: Likewise.
57582         * sysdeps/i386/fpu/e_hypot.S: Likewise.
57583         * sysdeps/i386/fpu/e_hypotf.S: Likewise.
57584         * sysdeps/i386/fpu/e_log.S: Likewise.
57585         * sysdeps/i386/fpu/e_log10.S: Likewise.
57586         * sysdeps/i386/fpu/e_log10f.S: Likewise.
57587         * sysdeps/i386/fpu/e_log10l.S: Likewise.
57588         * sysdeps/i386/fpu/e_log2.S: Likewise.
57589         * sysdeps/i386/fpu/e_log2f.S: Likewise.
57590         * sysdeps/i386/fpu/e_log2l.S: Likewise.
57591         * sysdeps/i386/fpu/e_logf.S: Likewise.
57592         * sysdeps/i386/fpu/e_logl.S: Likewise.
57593         * sysdeps/i386/fpu/e_pow.S: Likewise.
57594         * sysdeps/i386/fpu/e_powf.S: Likewise.
57595         * sysdeps/i386/fpu/e_powl.S: Likewise.
57596         * sysdeps/i386/fpu/e_remainder.S: Likewise.
57597         * sysdeps/i386/fpu/e_remainderf.S: Likewise.
57598         * sysdeps/i386/fpu/e_remainderl.S: Likewise.
57599         * sysdeps/i386/fpu/e_scalb.S: Likewise.
57600         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
57601         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
57602         * sysdeps/i386/fpu/e_sqrt.S: Likewise.
57603         * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
57604         * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
57605         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
57606         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
57607         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
57608         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
57609         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
57610         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
57611         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
57612         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
57613         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
57614         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
57615         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
57616         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
57617         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
57618         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
57619         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
57620         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
57621         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
57622         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
57623         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
57624         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
57625         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
57626         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
57627         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
57628         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
57629         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
57630         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
57631         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
57632         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
57633         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
57634         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
57635         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
57636         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
57637         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
57638         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
57639         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
57640         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
57641         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
57642         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
57643         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
57644         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
57645         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
57646         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
57647         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
57648         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
57649         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
57650         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
57651         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
57652         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
57653         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
57654         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
57655         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
57656         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
57657         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
57658         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
57659         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
57660         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
57661         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
57662         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
57663         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
57664         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
57665         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
57666         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
57667         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
57668         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
57669         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
57670         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
57671         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
57672         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
57673         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
57674         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
57675         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
57676         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
57677         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
57678         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
57679         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
57680         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
57681         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
57682         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
57683         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
57684         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
57685         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
57686         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
57687         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
57688         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
57689         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
57690         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
57691         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
57692         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
57693         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
57694         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
57695         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
57696         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
57697         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
57698         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
57699         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
57700         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
57701         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
57702         * sysdeps/s390/fpu/e_sqrt.c: Likewise.
57703         * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
57704         * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
57705         * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
57706         * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
57707         * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
57708         * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
57709         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
57710         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
57711         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
57712         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
57713         * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
57714         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
57715         * sysdeps/x86_64/fpu/e_sqrt.c: Likewise.  Fix parameter order
57716         * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
57717         * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
57718         (__isnanf): Likewise.
57719         (__isinf_ns): Likewise.
57720         (__isinf_nsf): Likewise.
57721         (__finite): Likewise.
57722         (__finitef): Likewise.
57723         (__ieee754_sqrt): Define as macro.
57724         (__ieee754_sqrtf): Define as macro.
57725         (__ieee754_sqrtl): Define as macro.
57726         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
57727         inlined copy.
57728         * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
57729         __FINITE_MATH_ONLY__ consistent.
57730         * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
57732 2011-10-10  Andreas Schwab  <schwab@linux-m68k.org>
57734         * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
57735         of rawmemchr.
57737         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
57739 2011-10-09  Ulrich Drepper  <drepper@gmail.com>
57741         * po/ja.po: Update from translation team.
57743 2011-10-08  Roland McGrath  <roland@hack.frob.com>
57745         * locale/programs/locarchive.c (prepare_address_space): New function.
57746         (create_archive, enlarge_archive, open_archive): Use it.
57748         * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
57749         inside [SHARED], where it is used.
57751         * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
57753         * nss/getent.c (netgroup_keys): Remove unused variable.
57754         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
57756 2011-10-08  Ulrich Drepper  <drepper@gmail.com>
57758         * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
57759         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
57760         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
57761         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
57762         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
57763         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
57764         * math/Makefile (libm-calls): Add s_isinf_ns.
57765         * math/divtc3.c: Use __isinf_nsl instead of isinf.
57766         * math/multc3.c: Likewise.
57767         * math/s_casin.c: Likewise.
57768         * math/s_casinf.c: Likewise.
57769         * math/s_casinl.c: Likewise.
57770         * math/s_ccos.c: Likewise.
57771         * math/s_ccosf.c: Likewise.
57772         * math/s_ccosl.c: Likewise.
57773         * math/s_ctan.c: Likewise.
57774         * math/s_ctanf.c: Likewise.
57775         * math/s_ctanh.c: Likewise.
57776         * math/s_ctanhf.c: Likewise.
57777         * math/s_ctanhl.c: Likewise.
57778         * math/s_ctanl.c: Likewise.
57779         * math/w_fmod.c: Likewise.
57780         * math/w_fmodf.c: Likewise.
57781         * math/w_fmodl.c: Likewise.
57782         * math/w_remainder.c: Likewise.
57783         * math/w_remainderf.c: Likewise.
57784         * math/w_remainderl.c: Likewise.
57785         * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
57786         * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
57787         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
57788         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
57789         * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
57790         * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
57791         * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
57792         __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
57794         * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
57795         of the number.
57796         * stdio-common/printf_fphex.c: Likewise.
57797         * stdio-common/printf_size.c: Likewise.
57799         * math/e_exp10.c: Include math_private.h using <...> not "...".
57800         * math/e_exp10f.c: Likewise.
57801         * math/e_exp10l.c: Likewise.
57802         * math/e_exp2l.c: Likewise.
57803         * math/e_j0l.c: Likewise.
57804         * math/e_j1l.c: Likewise.
57805         * math/e_jnl.c: Likewise.
57806         * math/e_lgammal_r.c: Likewise.
57807         * math/e_rem_pio2l.c: Likewise.
57808         * math/e_scalb.c: Likewise.
57809         * math/e_scalbf.c: Likewise.
57810         * math/e_scalbl.c: Likewise.
57811         * math/k_cosl.c: Likewise.
57812         * math/k_sinl.c: Likewise.
57813         * math/k_tanl.c: Likewise.
57814         * math/s_cacoshf.c: Likewise.
57815         * math/s_catan.c: Likewise.
57816         * math/s_catanf.c: Likewise.
57817         * math/s_catanh.c: Likewise.
57818         * math/s_catanhf.c: Likewise.
57819         * math/s_catanhl.c: Likewise.
57820         * math/s_catanl.c: Likewise.
57821         * math/s_ccosh.c: Likewise.
57822         * math/s_ccoshf.c: Likewise.
57823         * math/s_ccoshl.c: Likewise.
57824         * math/s_cexp.c: Likewise.
57825         * math/s_cexpf.c: Likewise.
57826         * math/s_cexpl.c: Likewise.
57827         * math/s_clog.c: Likewise.
57828         * math/s_clog10.c: Likewise.
57829         * math/s_clog10f.c: Likewise.
57830         * math/s_clog10l.c: Likewise.
57831         * math/s_clogf.c: Likewise.
57832         * math/s_clogl.c: Likewise.
57833         * math/s_csin.c: Likewise.
57834         * math/s_csinf.c: Likewise.
57835         * math/s_csinh.c: Likewise.
57836         * math/s_csinhf.c: Likewise.
57837         * math/s_csinhl.c: Likewise.
57838         * math/s_csinl.c: Likewise.
57839         * math/s_csqrt.c: Likewise.
57840         * math/s_csqrtf.c: Likewise.
57841         * math/s_csqrtl.c: Likewise.
57842         * math/s_ctan.c: Likewise.
57843         * math/s_ctanf.c: Likewise.
57844         * math/s_ctanh.c: Likewise.
57845         * math/s_ctanhf.c: Likewise.
57846         * math/s_ctanhl.c: Likewise.
57847         * math/s_ctanl.c: Likewise.
57848         * math/s_ldexp.c: Likewise.
57849         * math/s_ldexpf.c: Likewise.
57850         * math/s_ldexpl.c: Likewise.
57851         * math/s_significand.c: Likewise.
57852         * math/s_significandf.c: Likewise.
57853         * math/s_significandl.c: Likewise.
57854         * math/w_acos.c: Likewise.
57855         * math/w_acosf.c: Likewise.
57856         * math/w_acosh.c: Likewise.
57857         * math/w_acoshf.c: Likewise.
57858         * math/w_acoshl.c: Likewise.
57859         * math/w_acosl.c: Likewise.
57860         * math/w_asin.c: Likewise.
57861         * math/w_asinf.c: Likewise.
57862         * math/w_asinl.c: Likewise.
57863         * math/w_atan2.c: Likewise.
57864         * math/w_atan2f.c: Likewise.
57865         * math/w_atan2l.c: Likewise.
57866         * math/w_atanh.c: Likewise.
57867         * math/w_atanhf.c: Likewise.
57868         * math/w_atanhl.c: Likewise.
57869         * math/w_cosh.c: Likewise.
57870         * math/w_coshf.c: Likewise.
57871         * math/w_coshl.c: Likewise.
57872         * math/w_dremf.c: Likewise.
57873         * math/w_exp10.c: Likewise.
57874         * math/w_exp10f.c: Likewise.
57875         * math/w_exp10l.c: Likewise.
57876         * math/w_exp2.c: Likewise.
57877         * math/w_exp2f.c: Likewise.
57878         * math/w_fmod.c: Likewise.
57879         * math/w_fmodf.c: Likewise.
57880         * math/w_fmodl.c: Likewise.
57881         * math/w_hypot.c: Likewise.
57882         * math/w_hypotf.c: Likewise.
57883         * math/w_hypotl.c: Likewise.
57884         * math/w_j0.c: Likewise.
57885         * math/w_j0f.c: Likewise.
57886         * math/w_j0l.c: Likewise.
57887         * math/w_j1.c: Likewise.
57888         * math/w_j1f.c: Likewise.
57889         * math/w_j1l.c: Likewise.
57890         * math/w_jn.c: Likewise.
57891         * math/w_jnf.c: Likewise.
57892         * math/w_jnl.c: Likewise.
57893         * math/w_lgamma.c: Likewise.
57894         * math/w_lgamma_r.c: Likewise.
57895         * math/w_lgammaf.c: Likewise.
57896         * math/w_lgammaf_r.c: Likewise.
57897         * math/w_lgammal.c: Likewise.
57898         * math/w_lgammal_r.c: Likewise.
57899         * math/w_log.c: Likewise.
57900         * math/w_log10.c: Likewise.
57901         * math/w_log10f.c: Likewise.
57902         * math/w_log10l.c: Likewise.
57903         * math/w_log2.c: Likewise.
57904         * math/w_log2f.c: Likewise.
57905         * math/w_log2l.c: Likewise.
57906         * math/w_logf.c: Likewise.
57907         * math/w_logl.c: Likewise.
57908         * math/w_pow.c: Likewise.
57909         * math/w_powf.c: Likewise.
57910         * math/w_powl.c: Likewise.
57911         * math/w_remainder.c: Likewise.
57912         * math/w_remainderf.c: Likewise.
57913         * math/w_remainderl.c: Likewise.
57914         * math/w_scalb.c: Likewise.
57915         * math/w_scalbf.c: Likewise.
57916         * math/w_scalbl.c: Likewise.
57917         * math/w_sinh.c: Likewise.
57918         * math/w_sinhf.c: Likewise.
57919         * math/w_sinhl.c: Likewise.
57920         * math/w_sqrt.c: Likewise.
57921         * math/w_sqrtf.c: Likewise.
57922         * math/w_sqrtl.c: Likewise.
57923         * math/w_tgamma.c: Likewise.
57924         * math/w_tgammaf.c: Likewise.
57925         * math/w_tgammal.c: Likewise.
57927         * po/ja.po: Update from translation team.
57929 2011-09-29  Andreas Jaeger  <aj@suse.de>
57931         [BZ #13179]
57932         * sunrpc/netname.c (netname2host): Fix logic.
57934         [BZ #6779]
57935         [BZ #6783]
57936         * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
57937         correctly.
57938         * math/w_remainder.c (__remainder): Likewise.
57939         * math/w_remainderf.c (__remainderf): Likewise.
57940         * math/libm-test.inc (remainder_test): Add test cases.
57942 2011-10-04  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
57944         * stdlib/longlong.h: Update from GCC.  Fix zarch smul_ppmm and
57945         sdiv_qrnnd.
57947 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
57949         * string/test-memcmp.c: Avoid unncessary #defines.
57950         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
57952 2011-08-31  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
57954         * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
57955         Use new sse2 version for core i3 - i7 as it's faster
57956         than sse42 version.
57957         (bit_Prefer_PMINUB_for_stringop): New.
57958         * sysdeps/x86_64/rawmemchr.S: Update.
57959         Replace with faster SSE2 version.
57960         * sysdeps/x86_64/memrchr.S: New file.
57961         * sysdeps/x86_64/memchr.S: Update.
57962         Replace with faster SSE2 version.
57964 2011-09-12  Marek Polacek  <mpolacek@redhat.com>
57966         * elf/dl-load.c (lose): Add cast to avoid warning.
57968 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
57970         * po/ca.po: Update from translation team.
57972         * inet/getnetgrent_r.c: Hook up nscd.
57973         * nscd/Makefile (routines): Add nscd_netgroup.
57974         (nscd-modules): Add netgroupcache.
57975         (CFLAGS-netgroupcache.c): Define.
57976         * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
57977         (cache_search): Add const to second parameter.
57978         * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
57979         INNETGR.
57980         (dbs): Add netgrdb entry.
57981         (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
57982         (verify_persistent_db): Handle netgrdb.
57983         (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
57984         * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
57985         GETFDNETGR.
57986         (netgroup_response_header): Define.
57987         (innetgroup_response_header): Define.
57988         (datahead): Add netgroup_response_header and innetgroup_response_header
57989         elements.
57990         * nscd/nscd.conf: Add entries for netgroup cache.
57991         * nscd/nscd.h (dbtype): Add netgrdb.
57992         (_PATH_NSCD_NETGROUP_DB): Define.
57993         (netgroup_iov_disabled): Declare.
57994         (xmalloc, xcalloc, xrealloc): Move declarations here.
57995         (cache_search): Adjust prototype.
57996         Add netgroup-related prototypes.
57997         * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
57998         * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
57999         (__nscd_innetgr): Declare.
58000         * nscd/selinux.c (perms): Use access_vector_t as element type and
58001         add netgroup-related initializers.
58002         * nscd/netgroupcache.c: New file.
58003         * nscd/nscd_netgroup.c: New file.
58004         * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
58005         * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
58006         For four parameters use innetgr.
58007         * nss/nss_files/files-init.c: Add definition and callback for netgr.
58008         * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
58009         (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
58010         * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
58012         * nscd/connections.c (register_traced_file): Don't register file
58013         for disabled databases.
58015 2011-10-06  Ulrich Drepper  <drepper@gmail.com>
58017         * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
58019         * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
58020         from tree and freeing node.
58022 2011-09-25  Jiri Olsa  <jolsa@redhat.com>
58024         * nss/nsswitch.c (__nss_database_lookup): Handle
58025         nss_parse_service_list out of memory case.
58027 2011-09-15  Jiri Olsa  <jolsa@redhat.com>
58029         * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
58030         out of memory case.
58032 2011-10-04  Andreas Schwab  <schwab@redhat.com>
58034         * include/dlfcn.h (__RTLD_NOIFUNC): Define.
58035         * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
58036         pass it down.
58037         * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
58038         elf_machine_rela, elf_machine_lazy_rel.
58039         (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
58040         (ELF_DYNAMIC_DO_REL): Likewise.
58041         (ELF_DYNAMIC_DO_RELA): Likewise.
58042         (ELF_DYNAMIC_RELOCATE): Likewise.
58043         * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
58044         to ELF_DYNAMIC_DO_REL.
58045         * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
58046         (dl_main): In trace mode always set __RTLD_NOIFUNC.
58047         * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
58048         elf_machine_rela.
58049         * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
58050         skip_ifunc, don't call ifunc function if non-zero.
58051         (elf_machine_rela): Likewise.
58052         (elf_machine_lazy_rel): Likewise.
58053         (elf_machine_lazy_rela): Likewise.
58054         * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
58055         (elf_machine_lazy_rel): Likewise.
58056         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
58057         Likewise.
58058         (elf_machine_lazy_rel): Likewise.
58059         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
58060         Likewise.
58061         (elf_machine_lazy_rel): Likewise.
58062         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
58063         (elf_machine_lazy_rel): Likewise.
58064         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
58065         (elf_machine_lazy_rel): Likewise.
58066         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
58067         (elf_machine_lazy_rel): Likewise.
58068         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
58069         (elf_machine_lazy_rel): Likewise.
58070         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
58071         (elf_machine_lazy_rel): Likewise.
58072         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
58073         (elf_machine_lazy_rel): Likewise.
58075 2011-09-28  Ulrich Drepper  <drepper@gmail.com>
58077         * nss/nss_files/files-init.c (_nss_files_init): Use static
58078         initialization for all the *_traced_file variables.
58080 2011-09-28  Andreas Schwab  <schwab@redhat.com>
58082         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
58084 2011-09-27  Roland McGrath  <roland@hack.frob.com>
58086         [BZ #13226]
58087         * manual/signal.texi (Longjmp in Handler): Grammar fixes.
58089 2011-09-27  Andreas Schwab  <schwab@redhat.com>
58091         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
58092         Reread the line before reparsing it.
58094 2011-09-26  Andreas Schwab  <schwab@redhat.com>
58096         * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
58098 2011-09-21  Chung-Lin Tang  <cltang@codesourcery.com>
58099             Maxim Kuvyrkov  <maxim@codesourcery.com>
58100             Joseph Myers  <joseph@codesourcery.com>
58102         * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
58103         if needed for __stack_chk_guard.
58105 2011-09-19  Roland McGrath  <roland@hack.frob.com>
58107         * sysdeps/posix/spawni.c (script_execute): Always define it.
58108         It will be optimized away if unused.
58109         (maybe_script_execute): New function.
58110         (__spawni): Call it.
58112         * Makerules: Don't include tls.make.
58113         (config-tls): Always set to thread.
58114         * tls.make.c: File removed.
58116 2011-09-19  Mike Frysinger  <vapier@gentoo.org>
58118         * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
58119         * config.make.in (CPPFLAGS-config): New substituted variable.
58121 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
58123         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
58125         [BZ #13192]
58126         * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
58127         Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
58129 2011-09-15  Roland McGrath  <roland@hack.frob.com>
58131         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
58132         (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
58133         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
58134         (CALL_FAIL): Likewise.
58135         * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
58136         (CALL_FAIL): Macro removed.
58137         Patch mostly by Mike Frysinger <vapier@gentoo.org>.
58139 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
58141         * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
58142         for __FINITE_MATH_ONLY__ == 1.
58144 2011-09-15  Andreas Schwab  <schwab@redhat.com>
58146         * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
58147         __ieee754_sqrt instead of sqrt.
58148         * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
58149         __ieee754_sqrtf instead of sqrtf.
58150         * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
58151         __floorf instead of floorf.
58152         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
58153         __floorf, __truncf instead of floorf, truncf.
58155 2011-09-14  Ulrich Drepper  <drepper@gmail.com>
58157         * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
58159         * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
58160         __extern_always_inline.
58161         Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
58162         32-bit.
58164 2011-09-14  Andreas Schwab  <schwab@redhat.com>
58166         * elf/rtld.c (dl_main): Also relocate in dependency order when
58167         doing symbol dependency testing.
58169 2011-09-13  Andreas Schwab  <schwab@linux-m68k.org>
58171         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
58172         Always define `refsym'.
58174 2011-09-13  Andreas Schwab  <schwab@redhat.com>
58176         * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
58177         (__FD_ELT): Renamed from __FDELT.
58178         * misc/bits/select2.h (__FD_ELT): Likewise.
58179         * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
58180         __FD_MASK instead of __FDELT, __FDMASK.
58181         * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
58182         Likewise.
58183         * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
58184         Likewise.
58186         * elf/Makefile (gen-ldd): Fix pattern.
58188         * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
58189         (init_tls): Likewise.
58191 2011-09-12  Ulrich Drepper  <drepper@gmail.com>
58193         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
58195 2011-09-12  Andreas Schwab  <schwab@redhat.com>
58197         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
58198         `struct cmsghdr *' instead of `void *'.
58199         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
58200         Likewise.
58202 2011-09-11  Andreas Schwab  <schwab@linux-m68k.org>
58204         * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
58205         if non-absolute.
58206         * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
58207         ldd_rewrite_script.
58209 2011-09-11  Ulrich Drepper  <drepper@gmail.com>
58211         * configure.in: Remove --with-tls option.
58212         * config.h.in: Remove HAVE_TLS_SUPPORT entry.
58213         * sysdeps/i386/elf/configure.in: Always test for TLS support and err
58214         out in case it is missing.
58215         * sysdeps/ia64/elf/configure.in: Likewise.
58216         * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
58217         * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
58218         * sysdeps/s390/s390-32/elf/configure.in: Likewise.
58219         * sysdeps/s390/s390-64/elf/configure.in: Likewise.
58220         * sysdeps/sh/elf/configure.in: Likewise.
58221         * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
58222         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
58223         * sysdeps/x86_64/elf/configure.in: Likewise.
58224         * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
58225         * sysdeps/mach/hurd/tls.h: Likewise.
58227         [BZ #13067]
58228         * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
58230         [BZ #13090]
58231         * configure.in: Fix use of AC_INIT.
58233         * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
58235 2011-09-10  Ulrich Drepper  <drepper@gmail.com>
58237         * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
58238         __set_errno.
58239         * malloc/hooks.c: Likewise.
58241         [BZ #11929]
58242         * malloc/arena.c (ptmalloc_init_minimal): Removed.  Initialize all
58243         variables statically.
58244         (narenas): Initialize.
58245         (list_lock): Initialize.
58246         (ptmalloc_init): Don't call ptmalloc_init_minimal.  Remove
58247         initializtion of main_arena and list_lock.  Small cleanups.
58248         Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
58249         * malloc/malloc.c: Remove malloc_getpagesize.  Include <ldsodefs.h>.
58250         Add initializers to main_arena and mp_.
58251         (malloc_state): Remove pagesize member.  Change all users to use
58252         GLRO(dl_pagesize).
58254         * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
58255         * sysdeps/unix/sysv/linux/getpagesize.c: Simplify.  GLRO(dl_pagesize)
58256         is always initialized.
58258         * malloc/malloc.c: Removed unused configurations and dead code.
58259         * malloc/arena.c: Likewise.
58260         * malloc/hooks.c: Likewise.
58261         * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
58263         * include/tls.h: Removed.  USE___THREAD must always be defined.
58264         * bits/libc-tsd.h: Don't handle !USE___THREAD.
58265         * elf/dl-libc.c: Likewise.
58266         * elf/dl-tsd.c: Likewise.
58267         * include/errno.h: Likewise.
58268         * include/netdb.h: Likewise.
58269         * include/resolv.h: Likewise.
58270         * inet/herrno-loc.c: Likewise.
58271         * inet/herrno.c: Likewise.
58272         * malloc/arena.c: Likewise.
58273         * malloc/hooks.c: Likewise.
58274         * malloc/malloc.c: Likewise.
58275         * resolv/res-state.c: Likewise.
58276         * resolv/res_libc.c: Likewise.
58277         * sysdeps/i386/dl-machine.h: Likewise.
58278         * sysdeps/ia64/dl-machine.h: Likewise.
58279         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
58280         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
58281         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
58282         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
58283         * sysdeps/sh/dl-machine.h: Likewise.
58284         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
58285         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
58286         * sysdeps/unix/i386/sysdep.S: Likewise.
58287         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
58288         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
58289         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
58290         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
58291         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
58292         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
58293         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
58294         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
58295         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
58296         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
58297         * sysdeps/unix/x86_64/sysdep.S: Likewise.
58298         * sysdeps/x86_64/dl-machine.h: Likewise.
58299         * tls.make.c: Likewise.
58301         * configure.in: Remove --with-__thread option.  Make tests for
58302         --no-whole-archive, __builtin_expect, symbol redirection, __thread,
58303         tls_model attribute fail if no support is available.  Remove
58304         USE_IN_LIBIO.
58305         * Makeconfig: Adjust for dropped configure option.  All features are
58306         now mandatory.
58307         * Makerules: Likewise.
58308         * Versions.def: Likewise.
58309         * argp/argp-fmtstream.c: Likewise.
58310         * argp/argp-fmtstream.h: Likewise.
58311         * argp/argp-help.c: Likewise.
58312         * assert/assert.c: Likewise.
58313         * config.h.in: Likewise.
58314         * config.make.in: Likewise.
58315         * configure: Likewise.
58316         * configure.in: Likewise.
58317         * csu/Versions: Likewise.
58318         * csu/init.c: Likewise.
58319         * elf/tst-audit2.c: Likewise.
58320         * elf/tst-tls10.c: Likewise.
58321         * elf/tst-tls10.h: Likewise.
58322         * elf/tst-tls11.c: Likewise.
58323         * elf/tst-tls12.c: Likewise.
58324         * elf/tst-tls14.c: Likewise.
58325         * elf/tst-tlsmod11.c: Likewise.
58326         * elf/tst-tlsmod12.c: Likewise.
58327         * elf/tst-tlsmod13.c: Likewise.
58328         * elf/tst-tlsmod13a.c: Likewise.
58329         * elf/tst-tlsmod14a.c: Likewise.
58330         * elf/tst-tlsmod15b.c: Likewise.
58331         * elf/tst-tlsmod16a.c: Likewise.
58332         * elf/tst-tlsmod16b.c: Likewise.
58333         * elf/tst-tlsmod7.c: Likewise.
58334         * elf/tst-tlsmod8.c: Likewise.
58335         * elf/tst-tlsmod9.c: Likewise.
58336         * gmon/gmon.c: Likewise.
58337         * grp/fgetgrent_r.c: Likewise.
58338         * grp/putgrent.c: Likewise.
58339         * hurd/fopenport.c: Likewise.
58340         * include/libc-symbols.h: Likewise.
58341         * include/tls.h: Likewise.
58342         * intl/gettextP.h: Likewise.
58343         * intl/loadinfo.h: Likewise.
58344         * locale/global-locale.c: Likewise.
58345         * locale/localeinfo.h: Likewise.
58346         * mach/devstream.c: Likewise.
58347         * malloc/arena.c: Likewise.
58348         * malloc/set-freeres.c: Likewise.
58349         * misc/err.c: Likewise.
58350         * misc/getttyent.c: Likewise.
58351         * misc/mntent_r.c: Likewise.
58352         * posix/getopt.c: Likewise.
58353         * posix/wordexp.c: Likewise.
58354         * pwd/fgetpwent_r.c: Likewise.
58355         * resolv/Versions: Likewise.
58356         * resolv/res_hconf.c: Likewise.
58357         * shadow/fgetspent_r.c: Likewise.
58358         * shadow/putspent.c: Likewise.
58359         * stdio-common/printf_fphex.c: Likewise.
58360         * stdio-common/tmpfile.c: Likewise.
58361         * stdlib/abort.c: Likewise.
58362         * stdlib/fmtmsg.c: Likewise.
58363         * sunrpc/auth_unix.c: Likewise.
58364         * sunrpc/clnt_perr.c: Likewise.
58365         * sunrpc/clnt_tcp.c: Likewise.
58366         * sunrpc/clnt_udp.c: Likewise.
58367         * sunrpc/clnt_unix.c: Likewise.
58368         * sunrpc/openchild.c: Likewise.
58369         * sunrpc/svc_simple.c: Likewise.
58370         * sunrpc/svc_tcp.c: Likewise.
58371         * sunrpc/svc_udp.c: Likewise.
58372         * sunrpc/svc_unix.c: Likewise.
58373         * sunrpc/xdr.c: Likewise.
58374         * sunrpc/xdr_array.c: Likewise.
58375         * sunrpc/xdr_rec.c: Likewise.
58376         * sunrpc/xdr_ref.c: Likewise.
58377         * sunrpc/xdr_stdio.c: Likewise.
58379 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
58381         * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
58383 2011-07-03  Andreas Jaeger  <aj@suse.de>
58385         * math/libm-test.inc (jn_test): Add tests for BZ#11589.
58386         * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
58387         regenerate with gen-libm-tests.pl.
58389 2010-05-12  Petr Baudis  <pasky@suse.cz>
58391         [BZ #11589]
58392         * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
58393         around j0() zero points by switching to j1().
58394         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
58395         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
58396         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
58397         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
58399 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
58401         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
58402         instead of 0.
58403         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
58404         instead of 0.
58405         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
58406         Patch in part by Pavel Roskin <proski@gnu.org>.
58408         [BZ #13138]
58409         * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
58410         realloc.
58411         (_IO_vfscanf_internal): Remove reteof.  Use errout after setting done.
58412         Free memory block if necessary.
58414         [BZ #12847]
58415         * libio/genops.c (INTDEF): For string streams the _lock pointer can
58416         be NULL.  Don't lock in this case.
58418 2011-09-09  Roland McGrath  <roland@hack.frob.com>
58420         * elf/elf.h (ELFOSABI_GNU): New macro.
58421         (ELFOSABI_LINUX): Define to that.
58423 2011-07-29  Denis Zaitceff  <zaitceff@gmail.com>
58425         * string/strncat.c (strncat): Undef the symbol in case it has been
58426         defined in bits/string.h.
58428 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
58430         * elf/sotruss.ksh: Clean up, fix, and complete help messages.
58432         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
58433         link map.
58435 2011-08-17  Andreas Jaeger  <aj@suse.de>
58437         * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
58439 2011-08-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
58440             Ian Lance Taylor  <iant@google.com>
58442         * math/libm-test.inc (lround_test): New testcase.
58443         * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
58445 2011-09-08  Ulrich Drepper  <drepper@gmail.com>
58447         * Makefile: Remove support for automatic cvs check-ins.
58448         * Makerules: Likewise.
58449         * config.make.in: Likewise.
58450         * configure.in: Likewise.
58451         * intl/Makefile: Likewise.
58452         * locale/Makefile: Likewise.
58453         * po/Makefile: Likewise.
58454         * posix/Makefile: Likewise.
58455         * sysdeps/gnu/Makefile: Likewise.
58456         * sysdeps/mach/hurd/Makefile: Likewise.
58457         * sysdeps/sparc/sparc32/Makefile: Likewise.
58459         [BZ #13118]
58460         * posix/Makefile (bug-regex32-ENV): Define.
58461         Patch by John Stanley <jpsinthemix@verizon.net>.
58463         * misc/Makefile (headers): Add bits/select2.h.
58464         * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
58465         * misc/bits/select2.h: New file.
58466         * include/bits/select2.h: New file.
58467         * debug/Makefile (routines): Add fdelt_chk.
58468         * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
58469         * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
58470         FD_ISSET.
58471         * debug/fdelt_chk.c: New file.
58473         * wcsmbs/test-wcscmp.c: Moved from string/*.  Adjust.
58474         * wcsmbs/test-wmemcmp.c: Likewise.
58475         * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
58476         * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
58478 2011-09-08  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
58480         * string/Makefile (strop-tests): Add memcmp.
58481         * string/test-wmemcmp.c: New file.
58482         * string/test-memcmp.c: Add wmemcmp support.
58484 2011-09-08  Roland McGrath  <roland@hack.frob.com>
58486         [BZ #13153]
58487         * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
58488         2011-07-19 change.
58490         * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
58491         garbage value in a __mach_port_mod_refs call in the cases of the
58492         task-self and thread-self ports.
58494 2011-09-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
58496         * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
58498 2011-09-08  Andreas Schwab  <schwab@redhat.com>
58500         * elf/dl-load.c (lose): Check for non-null L.
58502 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
58504         * elf/dl-load.c (open_verify): Use O_CLOEXEC.
58506         * elf/dl-libc.c (dlerror_run): Pass back error code from
58507         dl_catch_error.
58509         [BZ #13123]
58510         * elf/dl-load.c (lose): Free l_origin if it is valid.
58512         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
58513         names.
58514         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
58515         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
58516         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
58517         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
58518         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
58519         Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
58521 2011-08-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
58523         * sysdeps/powerpc/fpu/e_hypot.c: New file.
58524         * sysdeps/powerpc/fpu/e_hypotf.c: New file.
58525         * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
58526         * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
58527         * sysdeps/powerpc/fpu/k_cosf.c: New file.
58528         * sysdeps/powerpc/fpu/k_sinf.c: New file.
58529         * sysdeps/powerpc/fpu/s_cosf.c: New file.
58530         * sysdeps/powerpc/fpu/s_sinf.c: New file.
58531         * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
58532         * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
58534 2011-08-15  Alan Modra  <amodra@gmail.com>
58536         [BZ #13092]
58537         * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
58538         * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
58539         * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here.  Add
58540         ppc_mcount to static-only-routines.
58541         * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
58542         __mcount_internal.
58543         * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
58544         __mcount_internal with usual JUMPTARGET.  Remove useless nop.
58546 2011-08-18  David Flaherty  <flaherty@linux.vnet.ibm.com>
58548         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
58549         for finite and infinity parameters.
58551 2011-08-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
58553         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
58554         and add nop instructions for throughput optimization.
58555         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
58557 2011-07-28  Will Schmidt  <will_schmidt@vnet.ibm.com>
58559         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
58560         aligned copy for power7 with vector-scalar instructions.
58561         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
58563 2011-07-24  H.J. Lu  <hongjiu.lu@intel.com>
58565         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
58566         AVX check.
58568 2011-09-07  Andreas Schwab  <schwab@redhat.com>
58570         [BZ #13144]
58571         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
58572         last change.
58574 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
58576         * sysdeps/unix/sysv/linux/x86_64/init-first.c
58577         (_libc_vdso_platform_setup): If vDSO is not present store pointer to
58578         syscall wrapper around clock_gettime in __vdso_clock_gettime.
58579         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
58580         clock_gettime.
58582 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
58584         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
58585         Forgot to demangle the pointer.
58587         * sysdeps/i386/sysdep.h: Define atom_text_section.
58588         * sysdeps/x86_64/sysdep.h: Likewise.
58589         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
58590         section with atom_text_section.
58591         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
58592         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
58593         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
58594         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
58595         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
58597         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
58598         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
58599         already be defined.  Change to take two parameters and don't assign
58600         result to variable.  Adjust all users.
58601         Define INTERNAL_GETTIME if not already defined.
58602         Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
58603         call.
58604         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
58605         HAVE_CLOCK_GETTIME_VSYSCALL.
58606         * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
58608         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
58609         gettimeofday vsyscall, just use time.
58611 2011-09-06  Andreas Schwab  <schwab@redhat.com>
58613         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
58614         <errno.h>.
58616 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
58618         * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
58619         syscall on x86-64.
58620         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
58621         syscall.
58622         * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
58623         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
58624         syscall if possible.
58626 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
58628         * elf/pldd.c (get_process_info): Don't read whole ELF header, just
58629         e_ident.  Don't pass to find_mapsXX.
58630         * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
58632 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
58634         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
58635         strchr-sse2-no-bsf strrchr-sse2-no-bsf
58636         * sysdeps/x86_64/multiarch/strchr.S: Update.
58637         Check bit_slow_BSF bit.
58638         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
58639         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
58640         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
58642 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
58644         [BZ #13134]
58645         * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
58646         before glibc 2.15.
58647         (tryshell): Define.
58648         (__spawni): Change last parameter to be flag.  Test
58649         SPAWN_XFLAGS_USE_PATH flag to use path or not.
58650         Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
58651         * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
58652         * posix/spawni.c: Likewise.
58653         * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
58654         * posix/spawnp.c: Likewise.  Change normal version to use
58655         SPAWN_XFLAGS_USE_PATH.
58656         * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
58657         SPAWN_XFLAGS_TRY_SHELL.
58659         [BZ #13150]
58660         * posix/glob.h: Remove gcc 1.x support.
58662         [BZ #13068]
58663         * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
58665 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
58667         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
58668         strchr-sse2 strrchr-sse2 strchr-sse2-bsf
58669         strrchr-sse2-bsf
58670         * sysdeps/i386/i686/multiarch/strchr.S: New file.
58671         * sysdeps/i386/i686/multiarch/strrchr.S: New file.
58672         * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
58673         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
58674         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
58675         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
58677 2011-08-29  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
58679         * sysdeps/x86_64/wcscmp.S: New file.
58681         * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
58682         wcscmp-c wcscmp-sse2
58683         * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
58684         * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
58685         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
58686         * wcsmbs/wcscmp.c: Allow renaming.
58688 2011-09-05  David S. Miller  <davem@davemloft.net>
58690         * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
58691         stack slot, rather than the struct return pointer slot.
58692         * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
58693         * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
58694         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
58695         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
58697 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
58699         * po/ja.po: Update from translation team.
58701         [BZ #13144]
58702         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
58703         kernel in 64-bit binaries.
58705 2011-09-01  David S. Miller  <davem@davemloft.net>
58707         * elf/elf.h (HWCAP_SPARC_*): Move to..
58708         * sysdeps/sparc/sysdep.h: this new file and add new values.
58709         * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
58710         * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
58711         _DL_HWCAP_COUNT to 24.
58712         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
58713         entries.
58714         * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
58715         __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
58716         * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
58717         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
58718         instead of magic constants.
58719         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
58721 2011-08-31  David S. Miller  <davem@davemloft.net>
58723         * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
58724         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
58725         Reimplement to do errno handling inline.
58726         (SYSCALL_ERROR_HANDLER): New macro.
58727         (__SYSCALL_STRING): Do not do errno handling in asm.
58728         (__CLONE_SYSCALL_STRING): Delete.
58729         (__INTERNAL_SYSCALL_STRING): Delete.
58730         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
58731         sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
58732         (PSEUDO): Reimplement to do errno handling inline.
58733         (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
58734         (SYSCALL_ERROR_HANDLER): New macro.
58735         (__SYSCALL_STRING): Do not do errno handling in asm.
58736         (__CLONE_SYSCALL_STRING): Delete.
58737         (__INTERNAL_SYSCALL_STRING): Delete.
58738         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
58739         Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
58740         i386.
58741         (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
58742         (inline_syscall*): Add 'err' argument.
58743         (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
58744         INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
58745         (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
58746         INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
58748         * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
58749         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
58751 2011-08-30  Andreas Schwab  <schwab@redhat.com>
58753         * elf/rtld.c (dl_main): Relocate objects in dependency order.
58755 2011-08-29  Jiri Olsa <jolsa@redhat.com>
58757         * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
58758         directive.
58760 2011-08-24  David S. Miller  <davem@davemloft.net>
58762         * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
58764 2011-08-24  Andreas Schwab  <schwab@redhat.com>
58766         * elf/Makefile: Add rules to build and run unload8 test.
58767         * elf/unload8.c: New file.
58768         * elf/unload8mod1.c: New file.
58769         * elf/unload8mod1x.c: New file.
58770         * elf/unload8mod2.c: New file.
58771         * elf/unload8mod3.c: New file.
58773         * elf/dl-close.c (_dl_close_worker): Reset private search list if
58774         it wasn't used.
58776 2011-08-23  David S. Miller  <davem@davemloft.net>
58778         * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
58779         subtract stack bias.
58780         * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
58781         %sp not %fp in calculations.
58782         (_JMPBUF_UNWINDS_ADJ): Likewise.
58784         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
58785         (aio_suspend): Call it to force an exception region around the
58786         AIO_MISC_WAIT() invocation.
58788 2011-08-23  Andreas Schwab  <schwab@redhat.com>
58790         * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
58791         backslash.
58793 2011-07-04  Aurelien Jarno  <aurelien@aurel32.net>
58795         * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
58796         protection macro.
58797         * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
58798         and <dl-machine.h>.
58799         (Elf64_FuncDesc): Remove.
58801 2011-08-22  David S. Miller  <davem@davemloft.net>
58803         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
58804         sigaltstack check, add missing cfi directives.
58805         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
58806         missing cfi directives, and sigaltstack handling.
58808 2011-08-16  Andreas Schwab  <schwab@redhat.com>
58810         [BZ #11724]
58811         * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
58812         object is seen twice.
58813         * elf/dl-fini.c (_dl_sort_fini): Likewise.
58815         * elf/Makefile (distribute): Add tst-initorder2.c.
58816         (tests): Add tst-initorder2.
58817         (modules-names): Add tst-initorder2a tst-initorder2b
58818         tst-initorder2c tst-initorder2d.  Add rules to build them.
58819         ($(objpfx)tst-initorder2.out): New rule.
58820         * elf/tst-initorder2.c: New file.
58821         * elf/tst-initorder2.exp: New file.
58823 2011-08-22  Andreas Schwab  <schwab@redhat.com>
58825         * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
58827         * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
58828         dependencies back to end of function.
58830         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
58831         $(elfobjdir)/ld.so.
58833 2011-08-21  Ulrich Drepper  <drepper@gmail.com>
58835         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
58836         * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
58837         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
58838         * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
58839         * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
58840         of __vdso_gettimeofday.
58841         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
58842         __vdso_gettimeofday and __vdso_time.  Define __vdso_getcpu with
58843         attribute_hidden.
58844         (_libc_vdso_platform_setup): Remove initialization of
58845         __vdso_gettimeofday and __vdso_time.
58847 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
58849         * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
58850         and fgetc_unlocked.
58851         * nss/nss_files/files-key.c (search): Use fgets_unlocked and
58852         getc_unlocked.
58854         * elf/dl-open.c (add_to_global): Report additions to the global scope
58855         for LD_DEBUG=scopes.
58856         (dl_open_worker): Also print scope of newly loaded dependencies.
58857         (_dl_show_scope): Indicate if there is no scope.
58859         [BZ #13114]
58860         * stdio-common/Makefile (tests): Add bug24.
58861         * stdio-common/bug24.c: New file.
58863 2011-08-19  Andreas Jaeger  <aj@suse.de>
58865         [BZ #13114]
58866         * libio/fileops.c (_IO_new_file_fopen): Fix handling of
58867         non-existant file when using close-on-exec mode.
58869 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
58871         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
58872         the very first instruction.
58874         * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
58875         the CFI state in the end.
58876         * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
58877         inclusion of dl-trampoline.h.
58878         Based on a patch by Jiri Olsa <jolsa@redhat.com>.
58880 2011-08-19  Andreas Schwab  <schwab@redhat.com>
58882         * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
58883         expectations for long double.
58885         * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
58886         from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
58888 2011-08-14  David S. Miller  <davem@davemloft.net>
58890         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
58891         artificual limit depends upon the system page size.
58893 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
58895         * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
58896         * resolv/Makefile: Define CFLAGS-libresolv.
58898 2011-08-17  Andreas Schwab  <schwab@redhat.com>
58900         * nss/makedb.c (compute_tables): Make variables used in nested
58901         function static.
58903 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
58905         * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
58906         * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
58907         if buffer was too small.
58909         * elf/pldd.c (main): Attach to all threads in the process.
58910         Rewrite /proc handling to use *at functions.
58912 2011-08-16  Ulrich Drepper  <drepper@gmail.com>
58914         * elf/dl-open.c (_dl_show_scope): Take additional parameter which
58915         specifies first scope to show.
58916         (dl_open_worker): Update callers.  Move printing scope of new
58917         object to before the relocation.
58918         * elf/rtld.c (dl_main): Update _dl_show_scope call.
58919         * sysdeps/generic/ldsodefs.h: Update declaration.
58921         * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
58922         string for the scope number.
58924 2011-08-14  Ulrich Drepper  <drepper@gmail.com>
58926         * nscd/servicescache.c (cache_addserv): Make sure written is always
58927         initialized.
58929 2011-08-14  Roland McGrath  <roland@hack.frob.com>
58931         * sysdeps/i386/i486/bits/atomic.h
58932         (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
58933         statement expression, so as to suppress "set but not used" warning.
58934         (__arch_c_compare_and_exchange_val_64_acq): Likewise.
58936         * string/strncat.c (STRNCAT): Use prototype definition.
58938         * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
58939         (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
58940         -Iprograms here.
58941         (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
58942         (localedef-modules): Add localedef.
58943         (locale-modules): Add locale.
58945         * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
58946         * elf/rtld.c (dl_main): Invert order of assignment in last change,
58947         to avoid a warning.
58949 2011-08-14  David S. Miller  <davem@davemloft.net>
58951         * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
58952         RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
58954 2011-08-13  Ulrich Drepper  <drepper@gmail.com>
58956         * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
58957         (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
58958         * elf/rtld.c (dl_main): Set l_name of vDSO.
58959         Call _dl_show_scope when DL_DEBUG_SCOPES.
58960         (process_dl_debug): Recognize scopes flag and also set it for all.
58961         * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
58962         Declare _dl_show_scope.
58964         * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
58965         (do_dlopen): Pass caller_dlopen to dl_open.
58966         (__libc_dlopen_mode): Initialize caller_dlopen.
58968         * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
58969         of libc.  Make tolower call locale-independent.  Optimize a bit by
58970         using isdigit instead of isalnum.
58971         * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
58973 2011-08-12  Ulrich Drepper  <drepper@gmail.com>
58975         * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
58976         was a dependency or dynamically loaded.
58978 2011-08-11  Ulrich Drepper  <drepper@gmail.com>
58980         * intl/l10nflist.c: Allow architecture-specific pop function.
58981         * sysdeps/x86_64/l10nflist.c: New file.
58983         * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
58984         classification.
58986 2011-08-10  Andreas Schwab  <schwab@redhat.com>
58988         * include/dirent.h: Add libc_hidden_proto for scandirat and
58989         scandirat64.  Don't declare __scandirat64.
58990         * dirent/scandirat.c: Add libc_hidden_def.
58991         * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
58992         * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
58994 2011-08-10  David S. Miller  <davem@davemloft.net>
58996         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
58997         enum.
58998         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
58999         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
59000         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
59002 2011-08-09  Ulrich Drepper  <drepper@gmail.com>
59004         * Versions.def [libc]: Add GLIBC_2.15.
59005         * dirent/Makefile (routines): Add scandirat and scandirat64.
59006         * dirent/Versions [libc]: Export scandirat and scandirat64 for
59007         GLIBC_2.15.
59008         * dirent/dirent.h: Declare scandirat and scandirat64.
59009         * dirent/scandirat.c: New file.
59010         * dirent/scandirat64.c: New file.
59011         * sysdeps/wordsize-64/scandirat.c: New file.
59012         * sysdeps/wordsize-64/scandirat64.c: New file.
59013         * dirent/opendir.c: Define opendirat.
59014         * dirent/scandir.c: Move code to scandirat.c.  Implement scandir
59015         using scandirat.
59016         * dirent/scandir64.c: Adjust for scandir.c change.
59017         * include/dirent.h: Define scandir_cancel_struct.  Declare __opendirat,
59018         __scandirat64, and __scandir_cancel_handler.
59019         * sysdeps/unix/opendir.c: Rename __opendir to __opendirat.  Take
59020         additional parameter and use openat instead of open (outside of ld.so).
59021         Add new __opendir as wrapper around __opendirat.
59022         * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
59023         here without requiring old scandirat implementation.
59025 2011-08-08  Ulrich Drepper  <drepper@gmail.com>
59027         * dirent/scandir.c (cancel_handler): Renamed to
59028         __scandir_cancel_handler.  Do not define if SKIP_SCANDIR_CANCEL is
59029         defined.  Adjust users.
59030         * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
59031         * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
59033 2011-08-04  Ulrich Drepper  <drepper@gmail.com>
59035         * string/test-string.h (IMPL): Use __STRING to expand name and then
59036         stringify it.
59038         * string/test-strcmp.c: Unify most of the WIDE and !WIDE code.  Lots
59039         of cleanups.
59041 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
59043         * string/Makefile: Update.
59044         (strop-tests): Append strncat.
59045         * string/test-wcscmp.c: New file.
59046         New comprehensive test for wcscmp.
59047         * string/test-strcmp.c: Update.
59048         (WIDE): New define.
59050 2011-07-22  Andreas Schwab  <schwab@redhat.com>
59052         * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
59053         line.
59055 2011-07-26  Andreas Schwab  <schwab@redhat.com>
59057         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
59058         encoding to ACE if AI_IDN.
59060 2011-08-01  Jakub Jelinek  <jakub@redhat.com>
59062         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
59063         to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
59065 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
59067         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
59068         Fix overflow bug in strncat.
59069         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
59071         * string/test-strncat.c: Update.
59072         Add new tests for checking overflow bugs.
59074 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
59076         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
59077         strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
59078         * sysdeps/i386/i686/multiarch/strcat.S: New file.
59079         * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
59080         * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
59081         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
59082         * sysdeps/i386/i686/multiarch/strncat.S: New file.
59083         * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
59084         * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
59086         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
59087         (USE_AS_STRCAT): Define.
59088         Add strcat and strncat support.
59089         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
59091 2011-07-25  Andreas Schwab  <schwab@redhat.com>
59093         * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
59094         __n bigger than INT_MAX+1.
59095         (__strncmp_g): Likewise.
59097 2011-07-23  Ulrich Drepper  <drepper@gmail.com>
59099         * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
59100         * libio/stido.h: Likewise.
59102         * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
59103         (AF_NFC): Define.
59104         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
59105         (AF_NFC): Define.
59107         * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
59108         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
59109         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
59110         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
59111         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
59113         [BZ #13021]
59114         * scripts/test-installation.pl: Don't expect libnss_test1 to be
59115         installed.
59117         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
59118         typo.
59119         (_dl_x86_64_save_sse): Likewise.
59121 2011-07-22  Ulrich Drepper  <drepper@gmail.com>
59123         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
59124         OSXSAVE.
59125         (_dl_x86_64_save_sse): Likewise.
59127         * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
59129         * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
59131 2011-07-21  Andreas Schwab  <schwab@redhat.com>
59133         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
59134         change.
59135         (_dl_x86_64_save_sse): Use correct AVX check.
59137 2011-07-21  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
59139         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
59140         bug in strncpy/strncat.
59141         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
59143 2011-07-21  Ulrich Drepper  <drepper@gmail.com>
59145         * string/tester.c (test_strcat): Add tests for different alignments
59146         of source and destination.
59147         (test_strncat): Likewise.
59149 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
59151         [BZ #12852]
59152         * posix/glob.c (glob): Check passed in values before using them in
59153         expressions to avoid some overflows.
59154         (glob_in_dir): Likewise.
59156         [BZ #13007]
59157         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
59158         check for AVX enablement so that we don't crash with old kernels and
59159         new hardware.
59160         * elf/tst-audit4.c: Add same checks here.
59161         * elf/tst-audit6.c: Likewise.
59163         * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
59165 2011-07-09  Andreas Schwab  <schwab@linux-m68k.org>
59167         * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
59169 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
59171         * po/cs.po: Update from translation team.
59172         * po/bg.po: Likewise.
59174 2011-07-12  Marek Polacek  <mpolacek@redhat.com>
59176         * misc/sys/cdefs.h: Add support for const attribute.
59177         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
59178         to gnu_dev_{major,minor,makedev} functions.
59180 2011-07-20  Marek Polacek  <mpolacek@redhat.com>
59182         * intl/dcigettext.c (get_output_charset): Add missing bracket.
59184 2011-07-20  Andreas Schwab  <schwab@redhat.com>
59186         * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
59187         strlen results.
59189 2011-07-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
59191         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
59192         (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
59193         register in order to avoid conflicts with the soft frame pointer
59194         being held in r11 when necessary.
59195         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
59196         (INTERNAL_VSYSCALL_NCS): Likewise.
59198 2011-07-14  Marek Polacek  <mpolacek@redhat.com>
59200         * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
59201         * elf/dl-fini.c (_dl_fini): Adjust caller.
59202         * elf/dl-close.c (_dl_close_worker): Likewise.
59203         * sysdeps/generic/ldsodefs.h: Adjust declaration.
59205 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
59207         * elf/cache.c (load_aux_cache): Remove unnecessary condition of
59208         "aux_cache->nlibs < 0".
59210         * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
59211         in the reload-count case.
59213 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
59215         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
59216         strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
59217         strncat-sse2-unaligned strncat-c strlen-sse2-pminub
59218         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
59219         * sysdeps/x86_64/multiarch/strcat.S: New file.
59220         * sysdeps/x86_64/multiarch/strncat.S: New file.
59221         * sysdeps/x86_64/multiarch/strncat-c.c: New file.
59222         * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
59223         * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
59224         * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
59225         * sysdeps/x86_64/multiarch/strcpy-ssse3.S
59226         (USE_AS_STRCAT): Define.
59227         Add strcat and strncat support.
59228         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
59229         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
59230         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
59231         * string/strncat.c: Update.
59232         (USE_AS_STRNCAT): Define.
59233         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
59234         Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
59235         and i7.
59236         * sysdeps/x86_64/multiarch/init-arch.h
59237         (bit_Prefer_PMINUB_for_stringop): New.
59238         (index_Prefer_PMINUB_for_stringop): Likewise.
59239         * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
59240         bit_Prefer_PMINUB_for_stringop.
59242 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
59244         * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
59245         buffer64.
59246         * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
59247         of casting of buffer.
59248         * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
59249         buffer32 and buffer64.
59250         * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
59251         writes instead of casting of buffer.
59252         * crypt/md5.h (struct md5_ctx): Move buffer into union and add
59253         buffer32.
59254         * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
59255         casting of buffer.
59257 2011-07-19  Andreas Schwab  <schwab@redhat.com>
59259         * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
59261 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
59263         * nscd/nscd.c (termination_handler): Don't do anything for a database
59264         if it has not yet been initialized.
59266 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
59268         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
59270 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
59272         * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
59274 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
59276         * po/nl.po: Update from translation team.
59277         * po/sv.po: Likewise.
59279 2011-07-16  Roland McGrath  <roland@hack.frob.com>
59281         * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
59282         now disallowed by GCC.
59284         * configure.in (use-default-link): Default to yes if a test -shared
59285         link meets our qualifications.
59286         * configure: Regenerated.
59288         * config.make.in (output-format): New variable.
59289         * configure.in: Check for ld --print-output-format support.
59290         * configure: Regenerated.
59291         * Makerules ($(common-objpfx)format.lds)
59292         [$(output-format) != unknown]: Just use $(output-format),
59293         instead of the linker-script munging.
59295 2011-07-14  Roland McGrath  <roland@hack.frob.com>
59297         * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
59298         of $(common-objpfx)shlib.lds.
59299         * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
59301         * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
59302         Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
59304         * configure.in (-z relro check): Adjust test code to add a large
59305         writable data section after it.
59306         * configure: Regenerated.
59308 2011-07-11  Roland McGrath  <roland@hack.frob.com>
59310         * configure.in (-z relro check): Fix test code to make the variable
59311         truly const.
59312         * configure: Regenerated.
59314 2011-07-11  Ulrich Drepper  <drepper@gmail.com>
59316         * nscd/nscd.h (struct traced_file): Define.
59317         (struct database_dyn): Remove inotify_descr, reset_res, and filename
59318         elements.  Add traced_files.
59319         (inotify_fd): Declare.
59320         (register_traced_file): Declare.
59321         * nscd/connections.c (dbs): Remove reset_res and filename initializers.
59322         (inotify_fd): Export.
59323         (resolv_conf_descr): Remove.
59324         (nscd_init): Move inotify descriptor creation to main.
59325         Don't register files for notification here.
59326         (register_traced_file): New function.
59327         (invalidate_cache): Don't use reset_res to determine whether to call
59328         res_init, go through the list of registered files.
59329         (main_loop_poll): The inotify descriptors are now stored in the
59330         structures for the traced files.
59331         (main_loop_epoll): Likewise
59332         * nscd/nscd.c (main): Create inotify socket here.  Pass extra argument
59333         to __nss_disable_nscd.
59334         * nscd/cache.c (prune_cache): There is no single inotify descriptor
59335         for a database anymore.  Check the records for all the registered
59336         files instead.
59337         * nss/Makefile (libnss_files-routines): Add files-init.
59338         (libnss_db-routines): Add db-init.
59339         * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
59340         [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
59341         * nss/nss_db/db-init.c: New file.
59342         * nss/nss_files/files-init.c: New file.
59343         * nss/nsswitch.c (nss_load_library): New function.  Broken out of
59344         __nss_lookup_function.
59345         (__nss_lookup_function): Call nss_load_library.
59346         (nss_load_all_libraries): New function.
59347         (__nss_disable_nscd): Take parameter with callback function for files
59348         to register.  Set is_nscd.  Load all the DSOs for the NSS modules
59349         used for the cached services.
59350         * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
59351         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
59352         options for features to all the files in nscd.
59354         * nss/nsswitch.c (nss_parse_file): Add missing fclose.
59356 2011-07-10  Roland McGrath  <roland@hack.frob.com>
59358         * csu/elf-init.c (__libc_csu_init): Comment typo.
59360 2011-07-09  Ulrich Drepper  <drepper@gmail.com>
59362         * po/pl.po: Update from translation team.
59363         * po/ja.po: Likewise.
59364         * po/ru.po: Likewise.
59365         * po/ko.po: Likewise.
59366         * po/fr.po: Likewise.
59368 2011-07-09  Roland McGrath  <roland@hack.frob.com>
59370         * configure.in (.ctors/.dtors header and trailer check):
59371         Use an empirical test on a built program.
59372         * configure: Regenerated.
59374         * configure.in (-z relro check): Use an empirical test on a built DSO.
59375         Detect, but do not require, on ia64.
59376         * configure: Regenerated.
59378         * configure.in (READELF): Find it with AC_CHECK_TOOL.
59379         Update tests that use readelf to use $READELF instead.
59380         * configure: Regenerated.
59382 2011-07-08  Ulrich Drepper  <drepper@gmail.com>
59384         * malloc/hooks.c (memalign_check): Avoid using checked_request2size
59385         if the result is not used.
59387 2011-07-05  Andreas Jaeger  <aj@suse.de>
59389         [BZ#9696]
59390         * stdlib/tst-strtod.c: Add testcase.
59392 2011-07-07  Ulrich Drepper  <drepper@gmail.com>
59394         * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
59395         (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
59396         The latter has a higher limit.  Take additional parameter to pass to
59397         the new function.
59398         (__pathconf): Pass file to __statfs_link_max.
59399         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
59400         __statfs_link_max.
59401         * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
59402         __statfs_link_max.
59404         [BZ #12868]
59405         * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
59406         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
59407         Handle Lustre.
59408         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
59409         (__statfs_filesize_max): Likewise.
59410         Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
59412 2011-07-05  Andreas Jaeger  <aj@suse.de>
59414         * resolv/res_comp.c (dn_skipname): Remove unused variable.
59416 2011-07-06  Marek Polacek  <mpolacek@redhat.com>
59418         * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
59419         `status' variable.
59420         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
59421         Likewise.
59423 2011-07-04  H.J. Lu  <hongjiu.lu@intel.com>
59425         * Makefile (strop-tests): Add strncat.
59426         * string/test-strncat.c: New file.
59428 2011-06-30  Marek Polacek  <mpolacek@redhat.com>
59430         * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
59432 2011-06-21  Andreas Jaeger  <aj@suse.de>
59434         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
59435         Copy rule from iconvdata/Makefile.
59437 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
59439         [BZ #12922]
59440         * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
59441         but no long options are defined, just return 'W'.
59443 2011-06-22  Marek Polacek  <mpolacek@redhat.com>
59445         [BZ #9696]
59446         * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
59448 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
59450         * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
59451         netgroups to read.
59452         (innetgr): Likewise.
59454 2011-07-05  Roland McGrath  <roland@hack.frob.com>
59456         * config.make.in (install_root): Default to $(DESTDIR).
59458 2011-07-05  Ulrich Drepper  <drepper@gmail.com>
59460         * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
59462 2011-07-02  Roland McGrath  <roland@hack.frob.com>
59464         * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
59466         * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
59467         containing directory rather than embedding absolute directory names.
59469         * scripts/check-local-headers.sh: Rewritten using awk.
59470         Match by word, not by line.  Print error messages for matches.
59471         * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
59473         * Makerules [shlib-lds-flags empty]:
59474         ($(common-objpfx)libc_pic.opts): New target.
59475         ($(common-objpfx)libc_pic.os.clean): New target.
59476         ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
59478         * config.make.in (OBJCOPY): New variable.
59479         * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
59480         * configure: Regenerated.
59482         * config.make.in (use-default-link): New variable.
59483         * configure.in (use_default_link): Grok --with-default-link to set it.
59484         * configure: Regenerated.
59485         * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
59486         (shlib-lds, shlib-lds-flags): Define to empty.
59488         * Makerules (shlib-lds): New variable.
59489         (shlib-lds-flags): New variable.
59490         (build-shlib, build-moduile, build-module-asneeded): Use it.
59491         ($(common-objpfx)libc.so): Use $(shlib-lds).
59492         ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
59493         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
59495         * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
59496         DT_FLAGS/DT_FLAGS_1 with zero flags.
59498         * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
59499         linker script munging.
59501 2011-07-02  Ulrich Drepper  <drepper@gmail.com>
59503         * crypt/sha512.h (struct sha512_ctx): Add union to access total also
59504         as 128-bit value.
59505         * crypt/sha512.c (sha512_process_block): Perform total addition using
59506         128-bit if possible.
59507         (__sha512_finish_ctx): Likewise.
59508         * crypt/sha256.h (struct sha256_ctx): Add union to access total also
59509         as 64-bit value.
59510         * crypt/sha256.c (SWAP64): Define.
59511         (sha256_process_block): Perform total addition using 64-bit if
59512         possible.
59513         (__sha256_finish_ctx): Likewise.
59515 2011-07-01  Ulrich Drepper  <drepper@gmail.com>
59517         * nscd/pwdcache.c (cache_addpw): Cleanup.  Add branch prediction.
59518         * nscd/initgrcache.c (addinitgroupsX): Likewise.
59519         * nscd/hstcache.c (cache_addhst): Likewise.
59520         * nscd/grpcache.c (cache_addgr): Likewise.
59521         * nscd/aicache.c (addhstaiX): Likewise
59522         * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
59524 2011-07-01  Thorsten Kukuk  <kukuk@suse.de>
59526         * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
59527         * nscd/initgrcache.c (addinitgroupsX): Likewise.
59528         * nscd/hstcache.c (cache_addhst): Likewise.
59529         * nscd/grpcache.c (cache_addgr): Likewise.
59530         * nscd/aicache.c (addhstaiX): Likewise
59532 2011-07-01  Andreas Schwab  <schwab@redhat.com>
59534         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
59535         domain only when needed.
59537 2011-06-30  Andreas Schwab  <schwab@redhat.com>
59539         * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
59540         is always restored.
59542 2011-06-29  Ulrich Drepper  <drepper@gmail.com>
59544         * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
59545         are re-adding the entry.
59546         * nscd/servicescache.c (cache_addserv): Likewise.
59548 2011-06-30  Aurelien Jarno  <aurelien@aurel32.net>
59550         * sysdeps/generic/dl-irel.h: fix protection against multiple
59551         inclusions.
59552         * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
59554 2011-06-28  Ulrich Drepper  <drepper@gmail.com>
59556         [BZ #12935]
59557         * malloc/memusage.sh: Fix quoting in message.
59558         * debug/xtrace.sh: Likewise.
59560         * configure.in: Remove support for --experimental-malloc option, make
59561         it the default.
59562         * config.make.in: Likewise.
59563         * malloc/Makefile: Likewise.
59565 2011-06-27  Andreas Schwab  <schwab@redhat.com>
59567         * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
59568         two-byte characters.
59570 2011-06-27  Roland McGrath  <roland@hack.frob.com>
59572         * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
59573         AC_CACHE_CHECK invocation.
59574         * configure: Regenerated.
59576         * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
59578 2011-06-27  Ulrich Drepper  <drepper@gmail.com>
59580         [BZ #12350]
59581         * nscd/aicache.c (addhstaiX):  Restore only RES_USE_INET6
59582         bit from old_res_options.
59584         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
59586         * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
59587         value type for setfct.
59589 2011-06-23  H.J. Lu  <hongjiu.lu@intel.com>
59591         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
59592         __gettimeofday instead of gettimeofday.
59594 2011-06-26  Ulrich Drepper  <drepper@gmail.com>
59596         * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
59598 2011-06-24  H.J. Lu  <hongjiu.lu@intel.com>
59600         * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
59602         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
59603         info.
59605 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
59607         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
59608         strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
59609         strcpy-sse2-unaligned strncpy-sse2-unaligned
59610         stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
59611         * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
59612         * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
59613         * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
59614         * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
59615         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
59616         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
59617         * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
59618         * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
59619         * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
59620         (STRCPY): Support SSE2 and SSSE3 versions.
59622 2011-06-24  Ulrich Drepper  <drepper@gmail.com>
59624         [BZ #12874]
59625         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
59626         * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
59627         kernels which artificially limit size of requests.
59629 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
59631         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
59632         strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
59633         strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
59634         * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
59635         * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
59636         * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
59637         * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
59638         * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
59639         * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
59640         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
59641         * sysdeps/i386/i686/multiarch/strcpy.S: New file.
59642         * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
59643         * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
59644         * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
59645         * sysdeps/i386/i686/multiarch/strncpy.S: New file.
59646         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
59647         Enable unaligned load optimization for Intel Core i3, i5 and i7
59648         processors.
59649         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
59650         Define.
59651         (index_Fast_Unaligned_Load): Define.
59652         (HAS_FAST_UNALIGNED_LOAD): Define.
59654 2011-06-23  Marek Polacek  <mpolacek@redhat.com>
59656         * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
59658 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
59660         [BZ #12907]
59661         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
59662         until it is clear that the information is realy needed.
59663         Patch mostly by David Hanisch <david.hanisch@nsn.com>.
59665 2011-06-22  Andreas Schwab  <schwab@redhat.com>
59667         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
59669 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
59671         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
59672         /sys/devices/system/cpu/online if it is usable.
59674         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
59675         reading the information from the /proc filesystem to once a second.
59677 2011-06-21  Andreas Jaeger  <aj@suse.de>
59679         * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
59680         NULL after inclusion of kernel headers.
59682 2011-06-21  Ulrich Drepper  <drepper@gmail.com>
59684         * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
59685         calls to internal_setent.
59687         [BZ #12885]
59688         * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
59689         addresses using gethostbyname4_r ignore IPv4 addresses.
59691         * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
59692         branch using gethostbyname2 is only for AF_INET.  Optimize accordingly.
59694         * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
59696 2011-06-20  David S. Miller  <davem@davemloft.net>
59698         * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
59699         inclusions.
59700         * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
59702         * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
59703         (elf_irel): Use it.
59704         * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
59705         * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
59706         * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
59707         * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
59708         * sysdeps/x86_64/dl-irel.h: Likewise.
59710         * elf/dl-runtime.c: Use elf_ifunc_invoke.
59711         * elf/dl-sym.c: Likewise.
59713 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
59715         * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch.  We
59716         need to dereference resplen2.
59718 2011-06-14  Andreas Schwab  <schwab@redhat.com>
59720         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
59722 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
59724         * Makeconfig: Define vardbdir and inst_vardbdir.
59725         * nss/Makefile: Add rules to install db-Makefile.
59727         * nss/nss_db/db-XXX.c: Cleanup.
59729         * nss/Makefile (libnss_db-dbs): Add db-initgroups.
59730         * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
59731         GLIBC_PRIVATE.
59732         * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
59733         * nss/makedb.c: Implement -g option to specify that value strings
59734         are generated and should not be added to table iterated over for
59735         get*ent calls.
59736         * nss/nss_db/db-initgroups.c: New file.
59738         * nss/getent.c: Add support for initgroups lookups through getgrouplist
59739         interface.
59741         * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
59742         (internal_getgrouplist): Adjust to name change.
59743         Update use_initgroups_entry if this is not the first call.
59744         * nss/databases.def: Add initgroups entry.
59746         * nss/makedb.c (compute_tables): Check result of multiple hash table
59747         sizes to minimize maximum chain length.
59749 2011-06-14  Ulrich Drepper  <drepper@gmail.com>
59751         * Versions.def: Add entry for libnss_db.
59752         * shlib-versions: Likewise.
59753         * nss/Makefile: Add rules to build libnss_db.
59754         * nss/Versions: Add libnss_db information.  Organize libnss_files
59755         entries better.
59756         * nss/db-Makefile: Add gshadow support.  Change rules for the new
59757         makedb progra.  Some minor improvements to generate smaller files.
59758         * nss/nss_db/nss_db.h: Move NSS database header data structures to
59759         here from...
59760         * nss/makedb.c: ...here.
59761         Improve database format to be smaller and require less memory at
59762         runtime.
59763         * nss/nss_db/db-XXX.x: Adjust for new database format.  Don't use
59764         db anymore.
59765         * nss/nss_db/db-netgrp.c: Likewise.
59766         * nss/nss_db/db-open.c: Likewise.
59767         * nss/nss_files/flies-XXX.x: Adjust comments.
59768         * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
59769         * nss/nss_files/files-grp.c: Likewise.
59770         * nss/nss_files/files-hosts.c: Likewise.
59771         * nss/nss_files/files-network.c: Likewise.
59772         * nss/nss_files/files-proto.c: Likewise.
59773         * nss/nss_files/files-pwd.c: Likewise.
59774         * nss/nss_files/files-rpc.c: Likewise.
59775         * nss/nss_files/files-service.c: Likewise.
59776         * nss/nss_files/files-sgrp.c: Likewise.
59777         * nss/nss_files/files-spwd.c: Likewise.
59778         * nss/nss_db/db-alias.c: Removed.
59779         * nss/nss_db/dummy-db.h: Removed.
59781 2011-06-02  Ulrich Drepper  <drepper@gmail.com>
59783         * nss/makedb.c: Rewritten to not use database library.
59784         * nss/Makefile: Update to build new makedb program.
59786 2011-06-14  Andreas Jaeger  <aj@suse.de>
59788         * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
59789         memset declaration.
59791 2011-06-10  Andreas Schwab  <schwab@redhat.com>
59793         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
59794         tmpbuf.
59796 2011-06-10  Roland McGrath  <roland@hack.frob.com>
59798         * Makerules (shlib.lds): Fail if the linker script comes out empty.
59799         * elf/Makefile ($(objpfx)ld.so): Likewise.
59801         * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
59802         Don't list ld.so twice in dependencies.
59804         * posix/bug-regex31.c: Include <stdlib.h>.
59806         * nscd/hstcache.c (cache_addhst): Remove unused variable.
59808         * nis/nss_compat/compat-spwd.c
59809         (getspent_next_nss_netgr): Remove unused variable.
59810         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
59812         * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
59813         nonmembers" output to use the right array.
59815         * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
59817         * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
59819         * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
59820         * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
59821         * catgets/gencat.c (read_input_file): Likewise.
59822         * locale/programs/locarchive.c (enlarge_archive): Likewise.
59824         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
59825         variable definition inside #if's controlling its use.
59827         * inet/getnetgrent_r.c (innetgr): Remove unused variable.
59829         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
59831         * misc/syslog.c (__vsyslog_chk): Remove unused variable.
59833         * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
59834         unreachable code.
59836         * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
59838         * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
59839         * configure: Regenerated.
59841         * Makerules: Revert last change.
59842         * elf/Makefile: Likewise.
59844 2011-06-09  Roland McGrath  <roland@hack.frob.com>
59846         * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
59847         * elf/Makefile ($(objpfx)librtld.os): Likewise.
59848         (reloc-link): Likewise.
59850 2011-06-09  Ulrich Drepper  <drepper@gmail.com>
59852         * elf/Makefile: Add rules to build pldd.
59853         * elf/pldd.c: New file.
59854         * elf/pldd-xx.c: New file.
59856 2011-06-07  Ulrich Drepper  <drepper@gmail.com>
59858         * version.h: Update for 2.15 development version.
59860 2011-06-07  David S. Miller  <davem@davemloft.net>
59862         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
59863         ifuncs.
59864         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
59865         elf_machine_lazy_rel): Likewise.
59866         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
59867         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
59868         elf_machine_lazy_rel): Likewise.
59869         * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
59870         dl_hwcap via passed in argument.
59871         * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
59872         Likewise.
59874 2011-06-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
59876         * stdlib/longlong.h: Update from GCC.  Fix smul_ppmm for S/390.
59878 2011-06-06  Roland McGrath  <roland@hack.frob.com>
59880         [BZ #12849]
59881         * manual/fdl-1.1.texi: New file, verbatim from:
59882         http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
59883         * manual/lgpl-2.1.texi: New file, verbatim from:
59884         http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
59885         * manual/Makefile (licenses): New variable, list those new file names.
59886         (texis): Use it.
59887         (chapters.% top-menu.%): Include $(licenses) with $(appendices).
59889         * manual/fdl.texi: File removed.
59890         * manual/lesser.texi: File removed.
59891         * manual/libc.texinfo (Copying, Documentation License):
59892         Use new @include file names, put @appendix directive before @include.
59894 2011-06-04  Jakub Jelinek  <jakub@redhat.com>
59896         [BZ #12841]
59897         * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
59898         (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
59899         (mq_open): Add __NTH.
59901 2011-06-02  H.J. Lu  <hongjiu.lu@intel.com>
59903         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
59904         Assume Intel Core i3/i5/i7 processor if AVX is available.
59906 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
59908         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
59909         typo.
59911 2011-05-31  Andreas Schwab  <schwab@redhat.com>
59913         * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
59914         memory.  Use alloca_account.  Fix memory leak when retrying.
59916 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
59918         * version.h (RELEASE): Bump for 2.14 release.
59919         * include/features.h (__GLIBC_MINOR__): Bump to 14.
59921         * config.make.in (RANLIB): Remove entry.
59923 2011-05-30  Ulrich Drepper  <drepper@gmail.com>
59925         * po/Makefile (po-sed-cmd): Add ksh to extensions.
59926         (libc.pot): Work around missing support for .ksh extension in xgettext.
59928         [BZ #12684]
59929         * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
59930         if both request failed.
59931         (send_dg): In case of server errors clear resplen or *resplen2.
59933         [BZ #12454]
59934         * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
59935         when there are multiple maps.
59936         * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
59937         (_dl_fini): Remove test here.
59939         * elf/rtld.c (dl_main): Don't allow the loader to load itself.
59941 2011-05-29  Ulrich Drepper  <drepper@gmail.com>
59943         [BZ #12350]
59944         * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
59945         bit from old_res_options.
59946         (gaih_inet): Likewise.
59948         [BZ #11099]
59949         * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
59950         as signed.
59952         * resolv/res_init.c (res_setoptions): Make the code more compact.
59954         [BZ #11558]
59955         * resolv/res_init.c (res_setoptions): Recognize use-vc option and
59956         set RES_USEVC.
59958         [BZ #11634]
59959         * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
59961         * malloc/malloc.h: Mark malloc hook variables as deprecated.
59963         [BZ #11781]
59964         * malloc/malloc.h: Declare malloc hook variables as volatile.
59966         * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
59967         in last patch.
59969         [BZ #11799]
59970         * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
59971         raise in the comment.
59972         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
59973         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
59974         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
59976 2011-05-28  Ulrich Drepper  <drepper@gmail.com>
59978         [BZ #12811]
59979         * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
59980         grow the buffers more if it already has to be sufficient.
59981         (build_wcs_upper_buffer): Likewise.
59982         * posix/regexec.c (check_matching): Likewise.
59983         (clean_state_log_if_needed): Likewise.
59984         (extend_buffers): Don't enlarge buffers beyond size of the input
59985         buffer.
59986         Patches mostly by Emil Wojak <emil@wojak.eu>.
59987         * posix/bug-regex32.c: New file.
59988         * posix/Makefile (tests): Add bug-regex32.
59990         * locale/findlocale.c (_nl_find_locale): Return right away if
59991         _nl_explode_name failed.
59992         * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
59994         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
59996         * debug/xtrace.sh: Unify messages.
59997         * malloc/memusage.sh: Likewise.
59999         [BZ #12813]
60000         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
60001         time symbol from vDSO.  Substitute with vsyscall if not available.
60002         * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
60003         __vdso_time.
60005         * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
60006         * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
60007         * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
60008         Add sendmmsg and internal_sendmmsg.
60009         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
60010         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
60011         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
60013         * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
60014         * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
60015         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
60017 2011-05-27  Ulrich Drepper  <drepper@gmail.com>
60019         [BZ #12813]
60020         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
60021         Retrieve getcpu symbol from vDSO.  Substitute with vsyscall if not
60022         available.
60023         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
60024         __vdso_getcpu.
60026         [BZ #12814]
60027         * iconvdata/Makefile (tests): Add bug-iconv9.
60028         * iconvdata/bug-iconv9.c: New file.
60030 2011-05-27  Andreas Schwab  <schwab@redhat.com>
60032         [BZ #12814]
60033         * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
60035 2011-05-25  Jakub Jelinek  <jakub@redhat.com>
60037         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
60038         (struct user_regs_struct): Change intcs field back to cs.
60040 2011-05-25  Ulrich Drepper  <drepper@gmail.com>
60042         * po/ja.po: Update from translation team.
60044 2011-05-23  Ulrich Drepper  <drepper@gmail.com>
60046         [BZ #12795]
60047         * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
60048         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
60050 2011-05-20  Andreas Schwab  <schwab@redhat.com>
60052         * stdlib/longlong.h: Update from GCC.
60054 2011-05-23  Andreas Schwab  <schwab@redhat.com>
60056         * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
60057         parameter name.
60058         * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
60059         Add parameter name.
60060         (__sysconf): Pass it down.
60062 2011-05-22  Ulrich Drepper  <drepper@gmail.com>
60064         [BZ #12671]
60065         * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
60066         some situations.
60067         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
60068         * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
60069         add in in __libc_use_alloca calls.  Adjust callers.
60070         (glob): Use malloc in some situations.
60072         * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
60073         and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
60074         pltexit.
60076 2011-05-21  Ulrich Drepper  <drepper@gmail.com>
60078         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
60079         and CLOCK_BOOTTIME_ALARM.
60081         [BZ #12782]
60082         * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
60083         is returned.
60085         * string/_strerror.c (__strerror_r): Print negative errors as signed
60086         numbers.
60088         [BZ #12777]
60089         * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
60090         (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
60091         * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
60093         * configure.in: Fix typo in redirection and correct removal of test
60094         files in two cases.
60096         [BZ #12788]
60097         * locale/setlocale.c (new_composite_name): Fix test to check for
60098         identical name of all categories.
60100         [BZ #12792]
60101         * libio/filedoalloc.c (local_isatty): New function.
60102         (_IO_file_doallocate): Use local_isatty.
60103         * stdio-common/perror.c (perror): In case a new stream is used
60104         forward the stream error.
60105         * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
60106         error flag.
60108 2011-05-20  Ulrich Drepper  <drepper@gmail.com>
60110         [BZ #11869]
60111         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
60112         alloca.
60113         * include/alloca.h (extend_alloca_account): Define.
60115         [BZ #11857]
60116         * posix/regex.h: Fix comments with documentation of user-accessible
60117         fields after compilation and describe correct free'ing of pattern
60118         after re_compile_pattern.
60119         Patch by Reuben Thomas <rrt@sc3d.org>.
60121 2011-05-18  Ryan S. Arnold  <rsa@us.ibm.com>
60123         * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
60124         and -mno-altivec to prevent the compiler from using Altivec and/or
60125         VSX instructions when the corresponding registers are not available.
60127 2011-05-19  Andreas Schwab  <schwab@redhat.com>
60129         * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
60131 2011-05-19  Ulrich Drepper  <drepper@gmail.com>
60133         * libio/freopen.c (freopen): Use __dup2, not dup2.
60134         * libio/freopen64.c (freopen64): Likewise.
60136 2011-05-17  H.J. Lu  <hongjiu.lu@intel.com>
60138         [BZ #12775]
60139         * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
60140         * math/Makefile (tests): Add test-powl.
60141         (CFLAGS-test-powl.c): Define.
60142         * math/test-powl.c: New file.
60144 2011-05-16  H.J. Lu  <hongjiu.lu@intel.com>
60146         * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
60148 2011-05-17  Ulrich Drepper  <drepper@gmail.com>
60150         [BZ #11837]
60151         * iconvdata/gb18030.c: Update to GB18020-2005.
60153 2011-05-16  Ulrich Drepper  <drepper@gmail.com>
60155         * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
60156         RE_SYNTAX_POSIX_AWK): Update to match recent development.
60157         Patch by Aharon Robbins <arnold@skeeve.com>.
60159         [BZ #11892]
60160         * stdlib/putenv.c (putenv): Don't always create copy of the variable
60161         on the stack.
60163         [BZ #11895]
60164         * misc/pselect.c (__pselect): Handle timeout value errors hidden
60165         through underflows.
60167         [BZ #12766]
60168         * misc/error.c (error_at_line): Ensure file_name and old_file_name
60169         point to strings before performing equality test for error_one_per_line
60170         mode.
60172         [BZ #11697]
60173         * login/programs/pt_chown.c (do_pt_chown): Always call chown.
60175         [BZ #11820]
60176         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
60177         (struct user_fpregs_struct): Avoid __uint*_t types.
60179         [BZ #6420]
60180         * malloc/mtrace.c (tr_where): Add additional parameter to point to
60181         symbol info.  Use it instead of calling _dl_addr locally.
60182         (lock_and_info): New function.
60183         (tr_freehook): Call lock_and_info and pass symbol info as additional
60184         parameter to tr_where.
60185         (tr_mallochook): Likewise.
60186         (tr_reallochook): Likewise.
60187         (tr_memalignhook): Likewise.
60189         * malloc/mtrace.c: Remove support for USE_MTRACE_FILE.  It is not
60190         used and couldn't be at all thread-safe.
60192 2011-05-15  Ulrich Drepper  <drepper@gmail.com>
60194         * libio/freopen.c (freopen): Don't close old file descriptor
60195         before the new one is opened.  Instead dup the new file descriptor
60196         to the old one after the new stream is created.
60197         * libio/freopen64.c (freopen64): Likewise.
60198         * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
60199         * libio/fileops.c (_IO_new_file_close_it): Handle new
60200         _IO_FLAGS2_NOCLOSE flag.
60201         (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
60202         If _IO_file_open didn't set FD_CLOEXEC do it after the call.
60203         * libio/oldfileops.c (_IO_old_file_close_it): Handle new
60204         _IO_FLAGS2_NOCLOSE flag.
60205         * include/unistd.h: Add hidden_proto for dup3.
60206         Define __have_dup3.
60207         * io/dup3.c: Define hidden symbol.
60208         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
60210         [BZ #7101]
60211         * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
60212         when an incomplete long option is used.
60213         * posix/tst-getopt_long1.c: New file.
60214         * posix/Makefile (tests): Add tst-getopt_long1.
60216         [BZ #10138]
60217         * scripts/config.guess: Update from autoconf-2.68.
60218         * scripts/config.sub: Likewise.
60220         [BZ #10157]
60221         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
60222         tests into ...
60223         (has_cpuclock): ...this.  New function.
60224         * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
60225         macro here based on has_cpuclock code.
60227         [BZ #10149]
60228         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
60229         First byte (not low byte) is now always NUL.
60230         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
60232         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
60233         Use non-cancelable interfaces.
60235         [BZ #9809]
60236         * locale/iso-639.def: Add entry for Sorani.
60238         [BZ #11901]
60239         * include/stdlib.h: Move include protection to the right place.
60240         Define abort_msg_s.  Declare __abort_msg with it.
60241         * stdlib/abort.c (__abort_msg): Adjust type.
60242         * assert/assert.c (__assert_fail_base): New function.  Majority
60243         of code from __assert_fail.  Allocate memory for __abort_msg with
60244         mmap.
60245         (__assert_fail): Now call __assert_fail_base.
60246         * assert/assert-perr.c: Remove bulk of implementation.  Use
60247         __assert_fail_base.
60248         * include/assert.hL Declare __assert_fail_base.
60249         * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
60250         mmap.
60251         * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
60253 2011-05-14  Ulrich Drepper  <drepper@gmail.com>
60255         [BZ #11952]
60256         [BZ #12453]
60257         * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
60258         until all modules are registered in the DTV.
60259         * elf/Makefile: Add rules to build and run tst-tls19.
60260         * elf/tst-tls19.c: New file.
60261         * elf/tst-tls19mod1.c: New file.
60262         * elf/tst-tls19mod2.c: New file.
60263         * elf/tst-tls19mod3.c: New file.
60264         Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
60266         [BZ #12083]
60267         * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
60268         correctly.
60270         [BZ #12601]
60271         * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
60272         two-byte sequence errors.
60273         * iconvdata/Makefile (tests): Add bug-iconv8.
60274         * iconvdata/bug-iconv8.c: New file.
60276         [BZ #12626]
60277         * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
60278         buf2 definition.
60280         * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
60282         [BZ #12432]
60283         * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
60284         (dummy_getcfa): New function.
60285         (init): Get _Unwind_GetCFA address, use dummy if not found.
60286         (backtrace_helper): In recursion check, also check whether CFA changes.
60287         (__backtrace): Completely initialize arg.
60289         * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
60290         storing incomplete byte sequence in state object.  Avoid testing for
60291         guaranteed too small input if we know there is enough data available.
60293 2011-05-11  Andreas Schwab  <schwab@redhat.com>
60295         * Makeconfig (+link-pie): Indent.
60296         * Rules (binaries-pie): Define if $(have-fpie) and
60297         $(build-shared).
60298         (binaries-shared): Also filter out $(binaries-pie).
60299         ($(addprefix $(objpfx),$(binaries-pie))): New rule.
60300         * nscd/Makefile (others-pie): Add nscd.
60301         (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
60302         ($(objpfx)nscd): Remove command override.
60303         * login/Makefile (others-pie): Add pt_chown.
60304         ($(objpfx)pt_chown): Remove command override.
60305         * elf/Makefile: Add PIE tests to tests and tests-pie variables and
60306         remove command overrides.
60308 2011-05-13  Ulrich Drepper  <drepper@gmail.com>
60310         * libio/tst_putwc.c: Fix error messages.
60312         [BZ #12724]
60313         * libio/fileops.c (_IO_new_file_close_it): Always flush when
60314         currently writing and seek to current position when not.
60315         * libio/Makefile (tests): Add bug-fclose1.
60316         * libio/bug-fclose1.c: New file.
60318 2011-05-12  Ulrich Drepper  <drepper@gmail.com>
60320         [BZ #12511]
60321         * elf/dl-lookup.c (enter): Don't test for copy relocation here and
60322         don't set DF_1_NODELETE here.
60323         (do_lookup_x): When entering new entry test for copy relocation
60324         and if necessary set DF_1_NODELETE flag.
60325         * elf/tst-unique4.cc: New file.
60326         * elf/tst-unique4.h: New file.
60327         * elf/tst-unique4lib.cc: New file.
60328         * elf/Makefile: Add rules to build and run tst-unique4.
60329         Patch by Piotr Bury <pbury@goahead.com>.
60331 2011-05-11  Ulrich Drepper  <drepper@gmail.com>
60333         [BZ #12052]
60334         * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
60336         [BZ #12625]
60337         * misc/mntent_r.c (addmntent): Flush the stream after the output
60339         [BZ #12393]
60340         * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
60341         (is_trusted_path_normalize): Skip initial colon.  Append slash
60342         to empty buffer.  Duplicate is_trusted_path code but allow
60343         constructed patch to be prefix.
60344         (is_dst): Allow $ORIGIN followed by /.
60345         (_dl_dst_substitute): Correct clearing of check_for_trusted.
60346         Correct testing of result of is_trusted_path_normalize
60347         (decompose_rpath): Fix warning.
60349 2011-05-10  Ulrich Drepper  <drepper@gmail.com>
60351         [BZ #11257]
60352         * grp/initgroups.c (internal_getgrouplist): When we found the service
60353         list through the initgroups entry in nsswitch.conf do not always
60354         continue on a successful lookup.  Don't always use the
60355         __nss_group_database value if it is set.
60356         * nss/nsswitch.conf (initgroups): Change action for successful db
60357         lookup to continue for compatibility.
60359 2011-05-09  Ulrich Drepper  <drepper@gmail.com>
60361         [BZ #11532]
60362         * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
60363         and CP774 modules.
60364         * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
60365         and CP774 modules.
60366         * iconvdata/tst-tables.sh: Likewise.
60367         * iconvdata/cp770.c: New file.
60368         * iconvdata/cp771.c: New file.
60369         * iconvdata/cp772.c: New file.
60370         * iconvdata/cp773.c: New file.
60371         * iconvdata/cp774.c: New file.
60372         * iconvdata/testdata/CP770: New file.
60373         * iconvdata/testdata/CP770..UTF8: New file.
60374         * iconvdata/testdata/CP771: New file.
60375         * iconvdata/testdata/CP771..UTF8: New file.
60376         * iconvdata/testdata/CP772: New file.
60377         * iconvdata/testdata/CP772..UTF8: New file.
60378         * iconvdata/testdata/CP773: New file.
60379         * iconvdata/testdata/CP773..UTF8: New file.
60380         * iconvdata/testdata/CP774: New file.
60381         * iconvdata/testdata/CP774..UTF8: New file.
60383         * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
60384         END CHARMAP line.
60385         * iconvdata/gen-8bit-gap.sh: Likewise.
60386         * iconvdata/gen-8bit.sh: Likewise.
60388         * locale/iso-639.def: Add ary entry.
60390         [BZ #11258]
60391         * locale/C-translit.h.in: Add U20A1 transliteration.
60393         [BZ #12178]
60394         * locale/iso-639.def: Add wae entry.
60395         Patch by Kevin Bortis <bortis@translate-wae.ch>.
60397         [BZ #12545]
60398         * locale/programs/localedef.c (construct_output_path): Use ssize_t
60399         for n.
60401         [BZ #12711]
60402         * locale/C-translit.h.in: Add entry for U20B9.
60403         Patch by pravin.d.s@gmail.com.
60405 2011-05-08  Ulrich Drepper  <drepper@gmail.com>
60407         [BZ #12713]
60408         * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
60409         ENAMETOOLONG use generic getcwd.
60410         * sysdeps/posix/getcwd.c: Add support to use openat.  Make usable
60411         in rtld.  Use *stat64.
60412         * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
60413         Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
60414         * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
60415         * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
60416         * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
60417         * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
60418         * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
60419         __fstatat64 macros.
60420         * include/dirent.h: Add libc_hidden_proto for rewinddir.
60421         * dirent/rewinddir.c: Add libc_hidden_def.
60422         * sysdeps/mach/hurd/rewinddir.c: Likewise.
60423         * sysdeps/unix/rewinddir.c: Likewise.  Don't do locking outside libc.
60425         * include/dirent.h (__alloc_dir): Add flags parameter.
60426         * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
60427         * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
60428         __alloc_dir.
60429         (__alloc_dir): Take new parameter.  Don't call fcntl for invocations
60430         from fdopendir if O_CLOEXEC is already set.
60432 2011-03-15  Alan Modra  <amodra@gmail.com>
60434         * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
60435         l_tls_firstbyte_offset non-zero.  Save padding offset in
60436         l_tls_firstbyte_offset for later use.
60437         * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
60438         freeing static tls block.
60440 2011-03-05  Jonathan Nieder  <jrnieder@gmail.com>
60442         * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
60443         where #ifdef was intended.  The intent is to prevent ARG_MAX from
60444         being defined by the kernel headers.
60446 2011-05-07  Ulrich Drepper  <drepper@gmail.com>
60448         [BZ #12734]
60449         * resolv/resolv.h: Define RES_NOTLDQUERY.
60450         * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
60451         no-tld-query and set RES_NOTLDQUERY.
60452         * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
60453         * resolv/res_query.c (__libc_res_nsearch): Backport changes from
60454         modern BIND to search name as TLD unless forbidden.
60456 2011-05-07  Petr Baudis  <pasky@suse.cz>
60457             Ulrich Drepper  <drepper@gmail.com>
60459         [BZ #12393]
60460         * elf/dl-load.c (fillin_rpath): Move trusted path check...
60461         (is_trusted_path): ...to here.
60462         (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
60463         (_dl_dst_substitute): Verify expanded $ORIGIN path elements
60464         using is_trusted_path_normalize() in setuid scripts.
60466 2011-05-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
60468         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
60469         __BEGIN/__END_DECLS.
60471 2011-05-06  Ulrich Drepper  <drepper@gmail.com>
60473         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
60474         NSS_STATUS_NOTFOUND if no record was found.
60476 2011-05-05  Andreas Schwab  <schwab@redhat.com>
60478         * sunrpc/Makefile (headers): Add rpc/netdb.h.
60479         (headers-not-in-tirpc): Remove rpc/netdb.h
60480         * resolv/netdb.h: Revert last change.
60482 2011-05-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
60484         * Makeconfig (link-libc-static): Use --{start,end}-group to handle
60485         circular dependency between libgcc.a and libc.a.
60487 2011-05-05  Andreas Schwab  <schwab@redhat.com>
60489         * resolv/netdb.h: Don't include <rpc/netdb.h>.
60490         * nis/Makefile: Don't install rpcsvc/*.
60491         * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
60492         instead of <rpc/types.h>.
60493         (MAXHOSTNAMELEN): Define.
60495 2011-05-03  Andreas Schwab  <schwab@redhat.com>
60497         * elf/ldconfig.c (add_dir): Don't crash on empty path.
60499 2011-04-28  Maciej Babinski  <mbabinski@google.com>
60501         [BZ #12714]
60502         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
60503         gethostbyname4_r when IPv6 results are possible.
60505 2011-05-02  Ulrich Drepper  <drepper@gmail.com>
60507         [BZ #12723]
60508         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
60509         _PC_PIPE_BUF handling.
60511 2011-04-30  Bruno Haible  <bruno@clisp.org>
60513         [BZ #12717]
60514         * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
60515         * resolv/netdb.h (getnameinfo): Change type of flags parameter
60516         to 'int'.
60517         * inet/getnameinfo.c (getnameinfo): Likewise.
60519 2011-04-29  Ulrich Drepper  <drepper@gmail.com>
60521         * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
60522         to groups setting in database lookup.
60523         * nss/nsswitch.conf: Add initgroups entry.
60525 2011-04-22  Ulrich Drepper  <drepper@gmail.com>
60527         [BZ #12685]
60528         * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
60529         mode string.
60530         Patch by Eric Blake <eblake@redhat.com>.
60532 2011-04-20  H.J. Lu  <hongjiu.lu@intel.com>
60534         * sunrpc/Makefile (need-export-routines): Add svc_run.
60535         (routines): Remove svc_run.
60536         ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
60537         * sunrpc/clnt_perr.c (clnt_perrno): Export.
60538         * sunrpc/svc_run.c (svc_run): Likewise.
60539         * sunrpc/svc_udp.c (svcudp_create): Likewise.
60541 2011-04-21  Ulrich Drepper  <drepper@gmail.com>
60543         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
60544         problem in reallocation in last patch.
60546 2011-04-20  Ulrich Drepper  <drepper@gmail.com>
60548         * sunrpc/Makefile: Move inclusion of Rules.
60550 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
60552         * nss/nss_files/files-initgroups.c: New file.
60553         * nss/Makefile (libnss_files-routines): Add files-initgroups.
60554         * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
60555         _nss_files_initgroups_dyn.
60557 2011-03-31  Richard Sandiford  <richard.sandiford@linaro.org>
60559         * elf/elf.h (R_ARM_IRELATIVE): Define.
60561 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
60563         * po/ru.po: Update from translation team.
60565 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
60567         * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
60568         dependencies.
60570 2011-02-06  Mike Frysinger  <vapier@gentoo.org>
60572         [BZ #12653]
60573         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
60574         MEMCPY_CHK with USE_AS_BCOPY ifdef check.
60575         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
60576         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
60577         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
60579 2011-03-28  Andreas Schwab  <schwab@linux-m68k.org>
60581         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
60582         differing bytes.
60583         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
60584         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
60585         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
60587 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
60589         [BZ #12420]
60590         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
60591         storing it.
60592         * stdlib/bug-getcontext.c: New file.
60593         * stdlib/Makefile: Add rules to build and run bug-getcontext.
60595 2011-04-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
60597         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
60598         instructions into .machine "z9-109".
60599         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
60600         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
60602 2011-04-11  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
60604         * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
60605         between environment variables and auxiliary vector.
60607 2011-04-16  Ulrich Drepper  <drepper@gmail.com>
60609         * Makefile: Add rules to build linkobj/libc.so.
60610         * include/libc-symbols.h: Define libc_hidden_nolink.
60611         * include/rpc/auth.h: Mark functions which are to be hidden.
60612         * include/rpc/auth_des.h: Likewise.
60613         * include/rpc/auth_unix.h: Likewise.
60614         * include/rpc/clnt.h: Likewise.
60615         * include/rpc/des_crypt.h: Likewise.
60616         * include/rpc/key_prot.h: Likewise.
60617         * include/rpc/pmap_clnt.h: Likewise.
60618         * include/rpc/pmap_prot.h: Likewise.
60619         * include/rpc/pmap_rmt.h: Likewise.
60620         * include/rpc/rpc_msg.h: Likewise.
60621         * include/rpc/svc.h: Likewise.
60622         * include/rpc/svc_auth.h: Likewise.
60623         * include/rpc/xdr.h: Likewise.
60624         * nis/Makefile: Link all DSOs against linkobj/libc.so.
60625         * nss/Makefile: Likewise.
60626         * sunrpc/Makefile: Don't install headers.  Build library with normal
60627         entry points.  Don't build rpcinfo.  Link RPC tests appropriately.
60628         * sunrpc/auth_des.c: Hide exported symbols by default, export some
60629         for the compat linking library.  Remove use of INTDEF/INTUSE.
60630         * sunrpc/auth_none.c: Likewise.
60631         * sunrpc/auth_unix.c: Likewise.
60632         * sunrpc/authdes_prot.c: Likewise.
60633         * sunrpc/authuxprot.c: Likewise.
60634         * sunrpc/clnt_gen.c: Likewise.
60635         * sunrpc/clnt_perr.c: Likewise.
60636         * sunrpc/clnt_raw.c: Likewise.
60637         * sunrpc/clnt_simp.c: Likewise.
60638         * sunrpc/clnt_tcp.c: Likewise.
60639         * sunrpc/clnt_udp.c: Likewise.
60640         * sunrpc/clnt_unix.c: Likewise.
60641         * sunrpc/des_crypt.c: Likewise.
60642         * sunrpc/des_soft.c: Likewise.
60643         * sunrpc/get_myaddr.c: Likewise.
60644         * sunrpc/key_call.c: Likewise.
60645         * sunrpc/key_prot.c: Likewise.
60646         * sunrpc/netname.c: Likewise.
60647         * sunrpc/pm_getmaps.c: Likewise.
60648         * sunrpc/pm_getport.c: Likewise.
60649         * sunrpc/pmap_clnt.c: Likewise.
60650         * sunrpc/pmap_prot.c: Likewise.
60651         * sunrpc/pmap_prot2.c: Likewise.
60652         * sunrpc/pmap_rmt.c: Likewise.
60653         * sunrpc/publickey.c: Likewise.
60654         * sunrpc/rpc_cmsg.c: Likewise.
60655         * sunrpc/rpc_common.c: Likewise.
60656         * sunrpc/rpc_dtable.c: Likewise.
60657         * sunrpc/rpc_prot.c: Likewise.
60658         * sunrpc/rpc_thread.c: Likewise.
60659         * sunrpc/rtime.c: Likewise.
60660         * sunrpc/svc.c: Likewise.
60661         * sunrpc/svc_auth.c: Likewise.
60662         * sunrpc/svc_authux.c: Likewise.
60663         * sunrpc/svc_raw.c: Likewise.
60664         * sunrpc/svc_run.c: Likewise.
60665         * sunrpc/svc_simple.c: Likewise.
60666         * sunrpc/svc_tcp.c: Likewise.
60667         * sunrpc/svc_udp.c: Likewise.
60668         * sunrpc/svc_unix.c: Likewise.
60669         * sunrpc/svcauth_des.c: Likewise.
60670         * sunrpc/xcrypt.c: Likewise.
60671         * sunrpc/xdr.c: Likewise.
60672         * sunrpc/xdr_array.c: Likewise.
60673         * sunrpc/xdr_float.c: Likewise.
60674         * sunrpc/xdr_intXX_t.c: Likewise.
60675         * sunrpc/xdr_mem.c: Likewise.
60676         * sunrpc/xdr_rec.c: Likewise.
60677         * sunrpc/xdr_ref.c: Likewise.
60678         * sunrpc/xdr_sizeof.c: Likewise.
60679         * sunrpc/xdr_stdio.c: Likewise.
60681 2011-04-10  Ulrich Drepper  <drepper@gmail.com>
60683         [BZ #12650]
60684         * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
60685         * sysdeps/ia64/dl-tls.h: Likewise.
60686         * sysdeps/powerpc/dl-tls.h: Likewise.
60687         * sysdeps/s390/dl-tls.h: Likewise.
60688         * sysdeps/sh/dl-tls.h: Likewise.
60689         * sysdeps/sparc/dl-tls.h: Likewise.
60690         * sysdeps/x86_64/dl-tls.h: Likewise.
60691         * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
60693 2011-03-14  Andreas Schwab  <schwab@redhat.com>
60695         * elf/dl-load.c (_dl_dst_substitute): When skipping the first
60696         rpath element also skip the following colon.
60697         (expand_dynamic_string_token): Add is_path parameter and pass
60698         down to DL_DST_REQUIRED and _dl_dst_substitute.
60699         (decompose_rpath): Call expand_dynamic_string_token with
60700         non-zero is_path.  Ignore empty rpaths.
60701         (_dl_map_object_from_fd): Call expand_dynamic_string_token
60702         with zero is_path.
60704 2011-04-08  Andreas Schwab  <schwab@linux-m68k.org>
60706         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
60707         Make cancelable.
60709 2011-04-09  Ulrich Drepper  <drepper@gmail.com>
60711         [BZ #12655]
60712         * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
60713         Patch by Filipe David Manana <fdmanana@apache.org>.
60715 2011-04-07  Andreas Schwab  <schwab@redhat.com>
60717         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
60718         Maintain aligned stack.
60719         (CHECK_RSP): Remove unused macro.
60721 2011-04-03  Ulrich Drepper  <drepper@gmail.com>
60723         * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
60724         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
60726 2011-04-02  Ulrich Drepper  <drepper@gmail.com>
60728         * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
60730         * include/features.h: Mention __USE_XOPEN2K8 in comment.
60732 2011-03-26  H.J. Lu  <hongjiu.lu@intel.com>
60734         [BZ #12518]
60735         * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
60736         * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
60737         * sysdeps/x86_64/memmove.c: New file.
60738         * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
60739         (memcpy): Renamed to ...
60740         (__new_memcpy): This.
60741         (memcpy): Provide GLIBC_2_14 memcpy.
60742         * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
60743         (memcpy): Provide GLIBC_2_2_5 memcpy.
60745 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
60747         [BZ #12631]
60748         * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
60750 2011-03-30  Andreas Schwab  <schwab@redhat.com>
60752         * misc/syncfs.c: New file.
60753         * misc/Makefile (routines): Add syncfs.
60754         * posix/unistd.h: Declare syncfs.
60755         * sysdeps/unix/syscalls.list: Add syncfs.
60757 2011-04-01  Andreas Schwab  <schwab@redhat.com>
60759         * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
60760         open_by_handle_at.
60761         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
60762         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
60763         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
60764         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
60765         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
60766         * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
60767         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
60769 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
60771         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
60772         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
60773         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
60774         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
60775         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
60776         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
60777         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
60779         * io/Makefile: Compile fallocate.c, fallocate64.c, and
60780         sync_file_range.c with -fexceptions.
60781         * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
60782         * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
60783         * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
60784         * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
60785         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
60786         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
60787         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
60788         sync_file_range as cancellation point
60789         * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file.  This is
60790         now a wrapper around __call_sync_file_range with cancellation handling.
60791         * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
60792         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this.  Change
60793         function name to __call_sync_file_range.
60794         * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
60795         Add call_sync_file_range.
60797 2011-04-01  Andreas Schwab  <schwab@redhat.com>
60799         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
60800         bits/timex.h.
60802 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
60804         * iconv/iconv.h: Fix typo in comment.
60805         * io/fcntl.h: Likewise.
60806         * libio/stdio.h: Likewise.
60807         * posix/spawn.h: Likewise.
60808         * posix/unistd.h: Likewise.
60809         * stdlib/stdlib.h: Likewise.
60810         * time/time.h: Likewise.
60811         * wcsmbs/wchar.h: Likewise.
60813         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
60814         open_by_handle): Add.
60815         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
60816         and MAX_HANDLE_SZ.  Declare name_to_handle_at and open_by_handle.
60817         Augment a few comments.
60818         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
60819         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
60820         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
60821         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
60822         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
60823         * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
60824         open_by_handle.
60826         * io/fcntl.h (AT_EMPTY_PATH): Define.
60828 2011-03-30  Ulrich Drepper  <drepper@gmail.com>
60830         * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
60831         * sysdeps/unix/sysv/linux/bits/time.h: New file.
60832         * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
60833         to...
60834         * sysdeps/unix/sysv/linux/bits/timex.h: ...here.  New file.
60835         * Versions.def: Add GLIBC_2.14.
60836         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
60837         Export.
60839 2011-03-22  Ulrich Drepper  <drepper@gmail.com>
60841         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
60842         round counter.
60843         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
60845 2011-03-20  H.J. Lu  <hongjiu.lu@intel.com>
60847         [BZ #12597]
60848         * string/test-strncmp.c (do_page_test): New function.
60849         (check2): Likewise.
60850         (test_main): Call check2.
60851         * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
60853 2011-03-20  Ulrich Drepper  <drepper@gmail.com>
60855         [BZ #12587]
60856         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
60857         Handle cache information in CPU leaf 4.
60858         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
60860 2011-03-18  Ulrich Drepper  <drepper@gmail.com>
60862         [BZ #12583]
60863         * posix/fnmatch.c (fnmatch): Check size of pattern in wide
60864         character representation.
60865         Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
60867 2011-03-16  Ryan S. Arnold  <rsa@us.ibm.com>
60869         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
60870         END(__isnan) to END(__isnanf) to match function entry point/label
60871         EALIGN(__isnanf,...).
60873 2011-03-10  Jakub Jelinek  <jakub@redhat.com>
60875         * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
60877 2011-03-10  Ulrich Drepper  <drepper@gmail.com>
60879         [BZ #12510]
60880         * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
60881         copy from the symbol referenced in the relocation to initialize the
60882         used variable.
60883         Patch by Piotr Bury <pbury@goahead.com>.
60884         * elf/Makefile: Add rules to build and tst-unique3.
60885         * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
60886         * elf/tst-unique3.cc: New file.
60887         * elf/tst-unique3.h: New file.
60888         * elf/tst-unique3lib.cc: New file.
60889         * elf/tst-unique3lib2.cc: New file.
60891         * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
60893 2011-03-10  Mike Frysinger  <vapier@gentoo.org>
60895         * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
60896         $LDFLAGS and -nostdlib -nostartfiles to linking step.  Change main
60897         to _start.
60899 2011-03-06  Ulrich Drepper  <drepper@gmail.com>
60901         * elf/dl-load.c (_dl_map_object): If we are looking for the first
60902         to-be-loaded object along a path to loader is ld.so.
60904 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
60905             Ulrich Drepper  <drepper@gmail.com>
60907         * sysdeps/x86_64/memset.S: After aligning destination, code
60908         branches to different locations depending on the value of
60909         misalignment, when multiarch is enabled. Fix this.
60911 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
60913         * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
60914         Set _x86_64_preferred_memory_instruction for AMD processsors.
60915         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
60916         Set bit_Prefer_SSE_for_memop for AMD processors.
60918 2011-03-04  Ulrich Drepper  <drepper@gmail.com>
60920         * libio/fmemopen.c (fmemopen): Optimize a bit.
60922 2011-03-03  Andreas Schwab  <schwab@redhat.com>
60924         * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
60926 2011-03-03  Roland McGrath  <roland@redhat.com>
60928         * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
60930 2011-02-28  Aurelien Jarno  <aurelien@aurel32.net>
60932         * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
60933         __bzero_ultra1 instead of __memset_ultra1.
60935 2011-02-23  Andreas Schwab  <schwab@redhat.com>
60936             Ulrich Drepper  <drepper@gmail.com>
60938         [BZ #12509]
60939         * include/link.h (struct link_map): Add l_orig_initfini.
60940         * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
60941         returning unsuccessfully.
60942         * elf/dl-close.c (_dl_close_worker): If this is the last explicit
60943         close of a file loaded at startup, restore the original l_initfini
60944         list.
60945         * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
60946         list, store the pointer.
60947         * elf/Makefile ($(objpfx)noload-mem): New rule.
60948         (noload-ENV): Define.
60949         (tests): Add $(objpfx)noload-mem.
60950         * elf/noload.c: Include <memcheck.h>.
60951         (main): Call mtrace.  Close all opened handles.
60953 2011-02-17  Andreas Schwab  <schwab@redhat.com>
60955         [BZ #12454]
60956         * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
60957         dependencies are missing.
60959 2011-02-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
60961         Fix __if_freereq crash: Unlike the generic version which uses free,
60962         Hurd needs munmap.
60963         * sysdeps/mach/hurd/ifreq.h: New file.
60965 2011-01-27  Petr Baudis  <pasky@suse.cz>
60966             Ulrich Drepper  <drepper@gmail.com>
60968         [BZ 12445]#
60969         * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
60970         to extend_alloca().
60971         * stdio-common/bug23.c: New file.
60972         * stdio-common/Makefile (tests): Add bug23.
60974 2010-09-28  Andreas Schwab  <schwab@redhat.com>
60975             Ulrich Drepper  <drepper@gmail.com>
60977         [BZ #12489]
60978         * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
60979         before performing relro protection.  At old place add assertion
60980         to make sure nothing changed.
60982 2011-02-17  Nathan Sidwell  <nathan@codesourcery.com>
60983             Glauber de Oliveira Costa  <glommer@gmail.com>
60985         * elf/elf.h: Add new ARM TLS relocs.
60987 2011-02-16  Ryan S. Arnold  <rsa@us.ibm.com>
60989         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
60990         (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
60991         cast from r3.
60992         * sysdeps/wordsize-64/Makefile: New file.  Add tst-writev to
60993         'tests' variable.
60994         * sysdeps/wordsize-64/tst-writev.c: New file.
60996 2011-02-15  Ryan S. Arnold  <rsa@us.ibm.com>
60998         * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
60999         -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
61000         insns in _dl_start to prevent a TOC reference before relocs are
61001         resolved.
61003 2011-02-15  Ulrich Drepper  <drepper@gmail.com>
61005         [BZ #12469]
61006         * Makeconfig: Remove RANLIB definition.
61007         * Makerules: Don't use RANLIB.
61008         * aclocal.m4: Remove ranlib test.
61009         * configure.in: No need to check for ranlib.
61010         * elf/rtld-Rules: Don't use RANLIB.
61012 2011-02-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
61014         * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
61015         protection macro.
61016         * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
61017         inclusion protection macro.
61019         * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
61020         SIGRTMIN and SIGRTMAX and print information in that case only when
61021         SIGRTMIN is defined.
61023 2011-02-11  Jakub Jelinek  <jakub@redhat.com>
61025         * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
61026         arginfo fn returning -1.
61028         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
61029         and thousands string is zero terminated.
61031 2011-02-03  Andreas Schwab  <schwab@redhat.com>
61033         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
61034         sysdeps/unix/sysv/linux/bits/socket.h.
61036 2011-01-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
61038         * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
61039         (__CPU_COUNT): Remove old macros.
61040         (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
61041         (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
61042         (__CPU_ALLOC, __CPU_FREE): Add macros.
61043         (__sched_cpualloc, __sched_cpufree): Add declarations.
61045 2011-02-05  Ulrich Drepper  <drepper@gmail.com>
61047         * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
61048         (struct datahead): Reuse 32 bits of the alignment for a TTL field.
61049         * nscd/aicache.c (addhstaiX): Return timeout of added value.
61050         (readdhstai): Return value of addhstaiX call.
61051         * nscd/grpcache.c (cache_addgr): Return timeout of added value.
61052         (addgrbyX): Return value returned by cache_addgr.
61053         (readdgrbyname): Return value returned by addgrbyX.
61054         (readdgrbygid): Likewise.
61055         * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
61056         (addpwbyX): Return value returned by cache_addpw.
61057         (readdpwbyname): Return value returned by addhstbyX.
61058         (readdpwbyuid): Likewise.
61059         * nscd/servicescache.c (cache_addserv): Return timeout of added value.
61060         (addservbyX): Return value returned by cache_addserv.
61061         (readdservbyname): Return value returned by addservbyX:
61062         (readdservbyport): Likewise.
61063         * nscd/hstcache.c (cache_addhst): Return timeout of added value.
61064         (addhstbyX): Return value returned by cache_addhst.
61065         (readdhstbyname): Return value returned by addhstbyX.
61066         (readdhstbyaddr): Likewise.
61067         (readdhstbynamev6): Likewise.
61068         (readdhstbyaddrv6): Likewise.
61069         * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
61070         (readdinitgroups): Return value returned by addinitgroupsX.
61071         * nscd/cache.c (readdfcts): Change return value of functions to time_t.
61072         (prune_cache): Keep track of timeout value of re-added entries.
61073         * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
61074         * nscd/nscd.h: Adjust prototypes of readd* functions.
61076 2011-02-04  Roland McGrath  <roland@redhat.com>
61078         * nis/nis_server.c (nis_servstate): Use the right name for 0.
61079         (nis_stats): Likewise.
61080         * nis/nis_modify.c (nis_modify): Likewise.
61081         * nis/nis_remove.c (nis_remove): Likewise.
61082         * nis/nis_add.c (nis_add): Likewise.
61084         * elf/dl-object.c (_dl_new_object): Remove unused variable L.
61086         * posix/fnmatch_loop.c: Add some consts.
61088         * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
61090 2011-02-02  H.J. Lu  <hongjiu.lu@intel.com>
61092         [BZ #12460]
61093         * config.make.in (config-cflags-novzeroupper): Define.
61094         * configure.in: Substitute libc_cv_cc_novzeroupper.
61095         * elf/Makefile (AVX-CFLAGS): Define.
61096         (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
61097         (CFLAGS-tst-auditmod4a.c): Likewise.
61098         (CFLAGS-tst-auditmod4b.c): Likewise.
61099         (CFLAGS-tst-auditmod6b.c): Likewise.
61100         (CFLAGS-tst-auditmod6c.c): Likewise.
61101         (CFLAGS-tst-auditmod7b.c): Likewise.
61102         * sysdeps/i386/configure.in: Check -mno-vzeroupper.
61104 2011-02-02  Ulrich Drepper  <drepper@gmail.com>
61106         * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
61107         function to the callback.
61108         Patch partly by Jiri Olsa <jolsa@redhat.com>.
61110 2011-02-02  Andreas Schwab  <schwab@redhat.com>
61112         * shadow/sgetspent.c: Check return value of __sgetspent_r instead
61113         of errno.
61115 2011-01-19  Ulrich Drepper  <drepper@gmail.com>
61117         [BZ #11724]
61118         * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
61119         of constructors.
61120         * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
61121         of destructors.
61122         (_dl_fini): Don't call _dl_sort_fini if there is only one object.
61124         [BZ #11724]
61125         * elf/Makefile: Add rules to build and run new test.
61126         * elf/tst-initorder.c: New file.
61127         * elf/tst-initorder.exp: New file.
61128         * elf/tst-initordera1.c: New file.
61129         * elf/tst-initordera2.c: New file.
61130         * elf/tst-initordera3.c: New file.
61131         * elf/tst-initordera4.c: New file.
61132         * elf/tst-initorderb1.c: New file.
61133         * elf/tst-initorderb2.c: New file.
61134         * elf/tst-order-a1.c: New file.
61135         * elf/tst-order-a2.c: New file.
61136         * elf/tst-order-a3.c: New file.
61137         * elf/tst-order-a4.c: New file.
61138         * elf/tst-order-b1.c: New file.
61139         * elf/tst-order-b2.c: New file.
61140         * elf/tst-order-main.c: New file.
61141         New test case by George Gensure <werkt0@gmail.com>.
61143 2010-10-01  Andreas Schwab  <schwab@redhat.com>
61145         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
61146         decoding ACE if AI_CANONIDN.
61148 2011-01-18  Ulrich Drepper  <drepper@gmail.com>
61150         * elf/Makefile: Build IFUNC tests unless multi-arch = no.
61152 2011-01-17  Ulrich Drepper  <drepper@gmail.com>
61154         * version.h (RELEASE): Bump for 2.13 release.
61155         * include/features.h: (__GLIBC_MINOR__): Bump to 13.
61157         * io/fcntl.h: Define AT_NO_AUTOMOUNT.
61159         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
61160         MADV_NOHUGEPAGE.
61161         * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
61162         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
61163         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
61164         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
61165         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
61166         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
61168         * posix/getconf.c: Update copyright year.
61169         * catgets/gencat.c: Likewise.
61170         * csu/version.c: Likewise.
61171         * debug/catchsegv.sh: Likewise.
61172         * debug/xtrace.sh: Likewise.
61173         * elf/ldconfig.c: Likewise.
61174         * elf/ldd.bash.in: Likewise.
61175         * elf/sprof.c (print_version): Likewise.
61176         * iconv/iconv_prog.c: Likewise.
61177         * iconv/iconvconfig.c: Likewise.
61178         * locale/programs/locale.c: Likewise.
61179         * locale/programs/localedef.c: Likewise.
61180         * malloc/memusage.sh: Likewise.
61181         * malloc/mtrace.pl: Likewise.
61182         * nscd/nscd.c (print_version): Likewise.
61183         * nss/getent.c: Likewise.
61185         * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
61186         PF_CAIF, and PF_ALG.
61187         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
61189 2011-01-16  Andreas Schwab  <schwab@linux-m68k.org>
61191         * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
61192         (modules-names): Use them.
61193         (ifunc-test-modules, ifunc-pie-tests): Define.
61194         (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
61195         tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
61196         (test-extras): Likewise.
61197         ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
61198         $(compile-command.c).
61199         ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
61200         (all-built-dso): Define.
61201         (check-textrel.out, check-execstack.out): Depend on it.
61203         * configure.in: Don't override --enable-multi-arch.
61205 2011-01-15  Ulrich Drepper  <drepper@gmail.com>
61207         [BZ #6812]
61208         * nscd/hstcache.c (tryagain): Define.
61209         (cache_addhst): Return tryagain not notfound for temporary errors.
61210         (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
61211         failed.
61213 2011-01-14  Ulrich Drepper  <drepper@gmail.com>
61215         [BZ #10563]
61216         * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
61217         to make the syscall.
61218         * sysdeps/unix/sysv/linux/setgroups.c: New file.
61220         [BZ #12378]
61221         * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
61222         and fall back to matching as normal character if the string ends before
61223         the matching ']' is found.  This is what POSIX requires.
61224         * posix/testfnm.c: Adjust test result.
61225         * posix/globtest.sh: Adjust test result.  Add new test.
61226         * posix/tst-fnmatch.input: Likewise.
61227         * posix/tst-fnmatch2.c: Add new test.
61229 2010-12-28  Andreas Schwab  <schwab@linux-m68k.org>
61231         * elf/Makefile (check-execstack): Revert last change.  Depend on
61232         check-execstack.h.
61233         (check-execstack.h): New target.
61234         (generated): Add check-execstack.h.
61235         * elf/check-execstack.c: Include "check-execstack.h".
61236         (main): Revert last change.
61237         (handle_file): Return zero if GNU_STACK is absent and
61238         DEFAULT_STACK_PERMS doesn't include PF_X.
61240 2011-01-13  Ulrich Drepper  <drepper@gmail.com>
61242         * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
61243         in child fails because the descriptor is already closed.
61244         * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
61245         * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
61246         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
61248         [BZ #12397]
61249         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
61250         syscall.
61252         [BZ #10484]
61253         * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
61254         temporary buffer used to handle multi lookups locally.
61255         * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
61257 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
61259         * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
61260         loader is ld.so.
61262 2011-01-10  Paul Pluzhnikov  <ppluzhnikov@google.com>
61264         * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
61265         alignment for SSE2.
61267 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
61269         [BZ #12394]
61270         * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
61271         characters.  When rounding increased number of integer digits recompute
61272         number of groups.
61273         * stdio-common/tst-grouping.c: New file.
61274         * stdio-common/Makefile: Add rules to build and run tst-grouping.
61276 2011-01-09  Ulrich Drepper  <drepper@gmail.com>
61278         * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
61279         __FD_CLR, and __FS_ISSET.  gcc generates better code on its own.
61281         * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
61282         void.
61283         * bits/select.h: Likewise.
61285 2011-01-08  Ulrich Drepper  <drepper@gmail.com>
61287         * po/ja.po: Update from translation team.
61289 2011-01-04  David S. Miller  <davem@sunset.davemloft.net>
61291         [BZ #11155]
61292         * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
61293         implementation just like for lxstat, fxstatat, et al.
61295 2010-12-27  Jim Meyering  <meyering@redhat.com>
61297         [BZ #12348]
61298         * posix/regexec.c (build_trtable): Return failure indication upon
61299         calloc failure.  Otherwise, re_search_internal could infloop on OOM.
61301 2010-12-25  Ulrich Drepper  <drepper@gmail.com>
61303         [BZ #12201]
61304         * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
61305         * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
61306         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
61307         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
61309         [BZ #12207]
61310         * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
61312         [BZ #12204]
61313         * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
61314         * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
61316 2010-12-15  H.J. Lu  <hongjiu.lu@intel.com>
61318         * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
61319         * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
61320         script has SORT_BY_INIT_PRIORITY.
61321         * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
61322         NO_CTORS_DTORS_SECTIONS is defined.
61323         * elf/soinit.c: Likewise.
61324         * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
61325         NO_CTORS_DTORS_SECTIONS is defined.
61326         * sysdeps/mach/hurd/i386/init-first.c: Likewise.
61327         * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
61328         * sysdeps/sh/init-first.c: Likewise.
61329         * sysdeps/unix/sysv/linux/init-first.c: Likewise.
61331 2010-12-24  Ulrich Drepper  <drepper@gmail.com>
61333         * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
61334         always use the slow path.
61336 2010-12-15  Ryan S. Arnold  <rsa@us.ibm.com>
61338         * elf/Makefile: (check-execstack): Replace $(native-compile) with a
61339         similar rule which adds the sysdep directories to the header search in
61340         order to pick up the correct platform stackinfo.h.
61341         * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
61342         perform test if it is, otherwise return successfully without testing.
61343         * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
61344         DEFAULT_STACK_PERMS define in stackinfo.h.
61345         * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
61346         defined in stackinfo.h.
61347         * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
61348         DEFAULT_STACK_PERMS defined in stackinfo.h.
61349         * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
61350         * sysdeps/ia64/stackinfo.h: Likewise.
61351         * sysdeps/s390/stackinfo.h: Likewise.
61352         * sysdeps/sh/stackinfo.h: Likewise.
61353         * sysdeps/sparc/stackinfo.h: Likewise.
61354         * sysdeps/x86_64/stackinfo.h: Likewise.
61355         * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
61356         PF_X for powerpc64.  Retain PF_X for powerpc32.
61358 2010-12-19  Ulrich Drepper  <drepper@gmail.com>
61360         * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
61361         accurately.
61362         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
61363         GETDENTS_64BIT_ALIGNED.
61365 2010-12-14  Ulrich Drepper  <dreper@gmail.com>
61367         * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
61369 2010-12-10  Andreas Schwab  <schwab@redhat.com>
61371         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
61372         _GNU_SOURCE.
61374         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
61375         * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
61376         Remove __restrict.
61377         (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
61378         (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
61380 2010-12-09  Ulrich Drepper  <drepper@gmail.com>
61382         [BZ #11655]
61383         * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
61384         are initialized.
61386 2010-12-09  Jakub Jelinek  <jakub@redhat.com>
61388         * string/bits/string3.h (memmove, bcopy): Remove __restrict.
61390 2010-12-03  Ulrich Drepper  <drepper@gmail.com>
61392         * po/it.po: Update from translation team.
61394 2010-12-01  H.J. Lu  <hongjiu.lu@intel.com>
61396         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
61397         unused codes.
61399 2010-11-30  Ulrich Drepper  <drepper@gmail.com>
61401         * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
61403 2010-11-24  Andreas Schwab  <schwab@redhat.com>
61405         * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
61406         specially.
61407         (gaih_getanswer_slice): Likewise.
61409 2010-10-20  Jakub Jelinek  <jakub@redhat.com>
61411         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
61413 2010-05-31  Petr Baudis  <pasky@suse.cz>
61415         [BZ #11149]
61416         * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
61417         silently even in the chroot mode.
61419 2010-11-22  Ulrich Drepper  <drepper@gmail.com>
61421         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
61422         last patch a bit.  Pretty printing
61424 2010-05-31  Petr Baudis <pasky@suse.cz>
61426         [BZ #10085]
61427         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
61428         initialization of skip_initgroups_dyn.
61430 2010-11-19  Ulrich Drepper  <drepper@gmail.com>
61432         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
61433         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
61435 2010-11-16  Ulrich Drepper  <drepper@gmail.com>
61437         * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
61439 2010-11-11  Andreas Schwab  <schwab@redhat.com>
61441         * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
61442         * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
61443         (tst-fnmatch-ENV): Set MALLOC_TRACE.
61444         ($(objpfx)tst-fnmatch-mem): New rule.
61445         (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
61446         * posix/tst-fnmatch.c (main): Call mtrace.
61448 2010-11-11  H.J. Lu  <hongjiu.lu@intel.com>
61450         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
61451         Support Intel processor model 6 and model 0x2c.
61453 2010-11-10  Luis Machado  <luisgpm@br.ibm.com>
61455         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
61456           signed comparison.
61458 2010-11-09  H.J. Lu  <hongjiu.lu@intel.com>
61460         [BZ #12205]
61461         * string/test-strncasecmp.c (check_result): New function.
61462         (do_one_test): Use it.
61463         (check1): New function.
61464         (test_main): Use it.
61465         * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
61466         Support strcasecmp and strncasecmp.
61468 2010-11-08  Ulrich Drepper  <drepper@gmail.com>
61470         [BZ #12194]
61471         * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
61472         * sysdeps/x86_64/bits/byteswap.h: Likewise.
61474 2010-11-07  H.J. Lu  <hongjiu.lu@intel.com>
61476         * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
61477         IFUNC support.
61478         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
61479         memset-x86-64.
61480         * sysdeps/x86_64/multiarch/bzero.S: New file.
61481         * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
61482         * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
61483         * sysdeps/x86_64/multiarch/memset.S: New file.
61484         * sysdeps/x86_64/multiarch/memset_chk.S: New file.
61485         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
61486         Set bit_Prefer_SSE_for_memop for Intel processors.
61487         * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
61488         Define.
61489         (index_Prefer_SSE_for_memop): Define.
61490         (HAS_PREFER_SSE_FOR_MEMOP): Define.
61492 2010-11-04  Luis Machado  <luisgpm@br.ibm.com>
61494         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
61495         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
61497 2010-11-03  H.J. Lu  <hongjiu.lu@intel.com>
61499         [BZ #12191]
61500         * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
61501         (__x86_64_raw_data_cache_size_half): Likewise.
61502         (__x86_64_raw_shared_cache_size): Likewise.
61503         (__x86_64_raw_shared_cache_size_half): Likewise.
61505         * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
61506         (__x86_64_raw_data_cache_size_half): Likewise.
61507         (__x86_64_raw_shared_cache_size): Likewise.
61508         (__x86_64_raw_shared_cache_size_half): Likewise.
61509         (init_cacheinfo): Set __x86_64_raw_data_cache_size,
61510         __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
61511         and __x86_64_raw_shared_cache_size_half.  Round
61512         __x86_64_data_cache_size_half, __x86_64_data_cache_size
61513         __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
61514         to multiple of 256 bytes.
61516 2010-11-03  Ulrich Drepper  <drepper@gmail.com>
61518         [BZ #12167]
61519         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
61520         of inacessible symlinks.  Verify result of symlink before returning it.
61521         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
61522         Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
61524 2010-10-28  Erich Ritz  <erichritz@gmail.com>
61526         * math/math.h (isinf): Fix typo in comment.
61528 2010-11-01  Ulrich Drepper  <drepper@gmail.com>
61530         * po/da.po: Update from translation team.
61532 2010-10-26  Ulrich Drepper  <drepper@gmail.com>
61534         * elf/rtld.c (dl_main): Move assertion after the point where rtld map
61535         is added to the list.
61537 2010-10-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
61538             Ulrich Drepper  <drepper@gmail.com>
61540         * elf/dl-object.c (_dl_new_object): Don't append the new object to
61541         the global list here.  Move code to...
61542         (_dl_add_to_namespace_list): ...here.  New function.
61543         * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
61544         * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
61545         * elf/dl-load.c (lose): Don't remove the element from the list.
61546         (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
61547         (_dl_map_object): Likewise.
61549 2010-10-25  Ulrich Drepper  <drepper@gmail.com>
61551         [BZ #12159]
61552         * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
61553         into all bytes of SSE register.
61554         Patch by Richard Li <richardpku@gmail.com>.
61556 2010-10-24  Ulrich Drepper  <drepper@gmail.com>
61558         [BZ #12140]
61559         * malloc/malloc.c (_int_free): Fill correct number of bytes when
61560         perturbing.
61562 2010-10-20  Michael B. Brutman  <brutman@us.ibm.com>
61564         * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
61565         * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
61566         * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
61567         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
61568         * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
61569         submachine.
61570         * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
61572 2010-10-22  Andreas Schwab  <schwab@redhat.com>
61574         * include/dlfcn.h (__RTLD_SECURE): Define.
61575         * elf/dl-load.c (_dl_map_object): Remove preloaded parameter.  Use
61576         mode & __RTLD_SECURE instead.
61577         (open_path): Rename preloaded parameter to secure.
61578         * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
61579         * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
61580         * elf/dl-deps.c (openaux): Likewise.
61581         * elf/rtld.c (struct map_args): Remove is_preloaded.
61582         (map_doit): Don't use it.
61583         (dl_main): Likewise.
61584         (do_preload): Use __RTLD_SECURE instead of is_preloaded.
61585         (dlmopen_doit): Add __RTLD_SECURE to mode bits.
61587 2010-09-09  Andreas Schwab  <schwab@redhat.com>
61589         * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
61590         (sysd-rules-targets): Remove duplicates.
61591         * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
61592         rtld-%.$o dependency.
61594 2010-10-18  Andreas Schwab  <schwab@redhat.com>
61596         * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
61597         _dl_map_object do it.
61599 2010-10-19  Ulrich Drepper  <drepper@gmail.com>
61601         * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
61602         fast fma builtins, define the macros in the C99 standard.
61603         (FP_FAST_FMAF): Likewise.
61604         (FP_FAST_FMAL): Likewise.
61605         * sysdeps/x86_64/bits/mathdef.h: Likewise.
61607         * bits/mathdef.h: Update copyright year.
61608         * sysdeps/powerpc/bits/mathdef.h: Likewise.
61610 2010-10-19  Michael Meissner  <meissner@linux.vnet.ibm.com>
61612         * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
61613         builtins, define the macros in the C99 standard.
61614         (FP_FAST_FMAF): Likewise.
61615         (FP_FAST_FMAL): Likewise.
61616         * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
61617         multiply/add.
61618         (FP_FAST_FMAF): Likewise.
61620 2010-10-15  Jakub Jelinek  <jakub@redhat.com>
61622         [BZ #3268]
61623         * math/libm-test.inc (fma_test): Some new testcases.
61624         * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
61625         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
61626         y and infinite z.  Do multiplication by C already in long double.
61627         * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
61628         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
61629         y and infinite z.  Do bitwise or of inexact bit into u.d.
61630         * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
61631         * sysdeps/i386/fpu/s_fmaf.S: Removed.
61632         * sysdeps/i386/fpu/s_fma.S: Removed.
61633         * sysdeps/i386/fpu/s_fmal.S: Removed.
61635 2010-10-16  Jakub Jelinek  <jakub@redhat.com>
61637         [BZ #3268]
61638         * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
61639         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
61640         computation is not scheduled after fetestexcept.  Fix value
61641         of minimum denormal long double.
61643 2010-10-14  Jakub Jelinek  <jakub@redhat.com>
61645         [BZ #3268]
61646         * math/libm-test.inc (fma_test): Add some more tests.
61647         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
61648         correctly.
61650 2010-10-15  Andreas Schwab  <schwab@redhat.com>
61652         * scripts/data/localplt-s390-linux-gnu.data: New file.
61653         * scripts/data/localplt-s390x-linux-gnu.data: New file.
61655 2010-10-13  Jakub Jelinek  <jakub@redhat.com>
61657         [BZ #3268]
61658         * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
61659         * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
61660         instead of dbl-64.
61661         * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
61662         inlines.
61663         * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
61664         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
61665         if one of x and y is very large and the other is subnormal.
61666         * sysdeps/s390/fpu/s_fmaf.c: New file.
61667         * sysdeps/s390/fpu/s_fma.c: New file.
61668         * sysdeps/powerpc/fpu/s_fmaf.S: New file.
61669         * sysdeps/powerpc/fpu/s_fma.S: New file.
61670         * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
61671         * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
61672         * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
61674 2010-10-12  Jakub Jelinek  <jakub@redhat.com>
61676         [BZ #3268]
61677         * math/libm-test.inc (fma_test): Add some more fmaf tests, add
61678         fma tests.
61679         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
61680         * sysdeps/ieee754/dbl-64/s_fma.c: New file.
61681         * sysdeps/i386/i686/multiarch/s_fma.c: Include
61682         sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
61683         * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
61684         * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
61685         * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
61687 2010-10-12  Ulrich Drepper  <drepper@redhat.com>
61689         [BZ #12078]
61690         * posix/regcomp.c (parse_branch): One more memory leak plugged.
61691         * posix/bug-regex31.input: Add test case.
61693 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
61695         * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
61696         * posix/bug-regex31.input: New file.
61698         [BZ #12078]
61699         * posix/regcomp.c (parse_branch): Free memory when allocation failed.
61700         (parse_sub_exp): Fix last change, use postorder.
61702         * posix/bug-regex31.c: New file.
61703         * posix/Makefile: Add rules to build and run bug-regex31.
61705         * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
61707         [BZ #12078]
61708         * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
61710         [BZ #12108]
61711         * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
61712         to have entries in sys_siglist.
61714         [BZ #12093]
61715         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
61716         be NULL.
61718 2010-10-07  Jakub Jelinek  <jakub@redhat.com>
61720         [BZ #3268]
61721         * math/libm-test.inc (fma_test): Add 2 fmaf tests.
61722         * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
61723         * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
61724         sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
61725         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
61726         * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
61727         * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
61728         * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
61729         * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
61730         * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
61731         * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
61732         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
61733         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
61734         * math/ftestexcept.c (fetestexcept): Likewise.
61735         * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
61736         * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
61737         * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
61738         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
61739         * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
61740         * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
61741         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
61743 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
61745         [BZ #12107]
61746         * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
61747         newline.
61749 2010-10-06  Ulrich Drepper  <drepper@gmail.com>
61751         * string/bug-strstr1.c: New file.
61752         * string/Makefile: Add rules to build and run bug-strstr1.
61754 2010-10-05  Eric Blake  <eblake@redhat.com>
61756         [BZ #12092]
61757         * string/str-two-way.h (two_way_long_needle): Always clear memory
61758         when skipping input due to the shift table.
61760 2010-10-03  Ulrich Drepper  <drepper@gmail.com>
61762         [BZ #12005]
61763         * malloc/mcheck.c: Handle large requests.
61765         [BZ #12077]
61766         * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
61767         for strncmp and strncasecmp.
61768         * string/stratcliff.c: Add tests for strcmp and strncmp.
61769         * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
61771 2010-09-28  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
61773         * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
61774         __set_fpscr.
61776 2010-09-30  Andreas Jaeger  <aj@suse.de>
61778         * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
61779         (CGROUP_SUPER_MAGIC): Define.
61780         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
61781         Handle btrfs and cgroup file systems.
61782         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
61783         Likewise.
61785 2010-09-27  Luis Machado  <luisgpm@br.ibm.com>
61787         * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
61788         * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
61790 2010-09-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
61792         [BZ #12067]
61793         * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
61794         trying to locate the ELF header.
61796 2010-09-27  Andreas Schwab  <schwab@redhat.com>
61798         [BZ #11611]
61799         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
61800         Mask out sign-bit copies when constructing f_fsid.
61802 2010-09-24  Petr Baudis <pasky@suse.cz>
61804         * debug/stack_chk_fail_local.c: Add missing licence exception.
61805         * debug/warning-nop.c: Likewise.
61807 2010-09-15  Joseph Myers  <joseph@codesourcery.com>
61809         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
61810         implementing getdents64 using getdents syscall, set d_type if
61811         __ASSUME_GETDENTS32_D_TYPE.
61813 2010-09-16  Andreas Schwab  <schwab@redhat.com>
61815         * elf/dl-close.c (free_slotinfo, free_mem): Move to...
61816         * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
61818 2010-09-21  Ulrich Drepper  <drepper@redhat.com>
61820         [BZ #12037]
61821         * posix/unistd.h: Undo change of feature selection for ftruncate from
61822         2010-01-11.
61824 2010-09-20  Ulrich Drepper  <drepper@redhat.com>
61826         * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
61827         detection.
61829 2010-09-20  Andreas Schwab  <schwab@redhat.com>
61831         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
61832         fanotify_mark.
61833         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
61835 2010-09-14  Andreas Schwab  <schwab@redhat.com>
61837         * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
61838         variables after CHECK_SP call.
61839         * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
61841 2010-09-13  Andreas Schwab  <schwab@redhat.com>
61842             Ulrich Drepper  <drepper@redhat.com>
61844         * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
61845         re-relocationg ld.so.
61846         * elf/dl-support.c (_dl_non_dynamic_init): And here after the
61847         _dl_init_paths call.
61848         * elf/dl-load.c (_dl_init_paths).  Don't set GLRO(dl_init_all_dirs)
61849         here anymore.
61851 2010-09-14  Ulrich Drepper  <drepper@redhat.com>
61853         * resolv/res_init.c (__res_vinit): Count the default server we added.
61855 2010-09-08  Chung-Lin Tang  <cltang@codesourcery.com>
61856             Ulrich Drepper  <drepper@redhat.com>
61858         [BZ #11968]
61859         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
61860         (____longjmp_chk): Use %ebx for saving value across system call.
61861         Add unwind info.
61863 2010-09-06  Andreas Schwab  <schwab@redhat.com>
61865         * manual/Makefile: Don't mix pattern rules with normal rules.
61867 2010-09-05  Andreas Schwab  <schwab@linux-m68k.org>
61869         * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
61870         operation.
61871         * libio/iofdopen.c (_IO_new_fdopen): Likewise.
61872         * libio/iofopncook.c (_IO_cookie_init): Likewise.
61873         * libio/iovdprintf.c (_IO_vdprintf): Likewise.
61874         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
61875         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
61876         Likewise.
61878 2010-09-04  Ulrich Drepper  <drepper@redhat.com>
61880         [BZ #11979]
61881         * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
61882         IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
61884 2010-09-02  Ulrich Drepper  <drepper@redhat.com>
61886         * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
61887         * sysdeps/x86_64/addmul_1.S: Likewise.
61888         * sysdeps/x86_64/lshift.S: Likewise.
61889         * sysdeps/x86_64/mul_1.S: Likewise.
61890         * sysdeps/x86_64/rshift.S: Likewise.
61891         * sysdeps/x86_64/sub_n.S: Likewise.
61892         * sysdeps/x86_64/submul_1.S: Likewise.
61894 2010-09-01  Samuel Thibault  <samuel.thibault@ens-lyon.org>
61896         This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
61897         Define __sched_param instead of SCHED_* and sched_param when
61898         <bits/sched.h> is included with __need_schedparam defined.
61899         * bits/sched.h [__need_schedparam]
61900         (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
61901         [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
61902         (__defined_schedparam): Define to 1.
61903         (__sched_param): New structure, identical to sched_param.
61904         (__need_schedparam): Undefine.
61906 2010-08-31  Mike Frysinger  <vapier@gentoo.org>
61908         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
61909         (epoll_create1): Declare.
61911         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
61913 2010-08-31  Andreas Schwab  <schwab@redhat.com>
61915         [BZ #7066]
61916         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
61917         shifting retval into place.
61919 2010-09-01  Ulrich Drepper  <drepper@redhat.com>
61921         * nis/rpcsvc/nis.h: Update copyright notice.
61922         * nis/rpcsvc/nis.x: Likewise.
61923         * nis/rpcsvc/nis_callback.h: Likewise.
61924         * nis/rpcsvc/nis_callback.x: Likewise.
61925         * nis/rpcsvc/nis_object.x: Likewise.
61926         * nis/rpcsvc/nis_tags.h: Likewise.
61927         * nis/rpcsvc/yp.h: Likewise.
61928         * nis/rpcsvc/yp.x: Likewise.
61929         * nis/rpcsvc/ypupd.h: Likewise.
61930         * nis/yp_xdr.c: Likewise.
61931         * nis/ypupdate_xdr.c: Likewise.
61933         * sunrpc/pm_getport.c (__libc_rpc_getport): New function.  This is
61934         mainly the body of pmap_getport.  Add parameters to specify timeouts.
61935         (pmap_getport): Use __libc_rpc_getport.
61936         * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
61937         * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
61938         * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
61940 2010-08-31  Andreas Schwab  <schwab@linux-m68k.org>
61942         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
61943         fanotify_mark.
61945 2010-08-27  Roland McGrath  <roland@redhat.com>
61947         * sysdeps/i386/i686/multiarch/Makefile
61948         (CFLAGS-varshift.c): New variable.
61950 2010-08-27  Ulrich Drepper  <drepper@redhat.com>
61952         * sysdeps/i386/i686/multiarch/varshift.S: File removed.
61953         * sysdeps/i386/i686/multiarch/varshift.c: New file.
61955         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
61957         * sysdeps/x86_64/strlen.S: Minimal code improvement.
61959 2010-08-26  H.J. Lu  <hongjiu.lu@intel.com>
61961         * sysdeps/x86_64/strlen.S: Unroll the loop.
61962         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
61963         strlen-sse2 strlen-sse2-bsf.
61964         * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
61965         __strlen_no_bsf if bit_Slow_BSF is set.
61966         (__strlen_sse42): Removed.
61967         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
61968         * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
61970 2010-08-25  Roland McGrath  <roland@redhat.com>
61972         * sysdeps/x86_64/multiarch/varshift.S: File removed.
61973         * sysdeps/x86_64/multiarch/varshift.c: New file.
61974         * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
61975         * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
61976         * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
61977         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
61979 2010-08-25  H.J. Lu  <hongjiu.lu@intel.com>
61981         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
61982         strlen-sse2 strlen-sse2-bsf.
61983         * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
61984         __strlen_sse2_bsf if bit_Slow_BSF is unset.
61985         (__strlen_sse2): Removed.
61986         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
61987         * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
61988         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
61989         bit_Slow_BSF for Atom.
61990         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
61991         (index_Slow_BSF): Define.
61992         (HAS_SLOW_BSF): Define.
61994 2010-08-25  Ulrich Drepper  <drepper@redhat.com>
61996         [BZ #10851]
61997         * resolv/res_init.c (__res_vinit): When no server address at all
61998         is given default to loopback.
62000 2010-08-24  Roland McGrath  <roland@redhat.com>
62002         * configure.in: Remove config-name.h generation.
62003         * configure: Regenerated.
62004         * config-name.in: File removed.
62005         * scripts/config-uname.sh: New file.
62006         * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
62007         ($(objdir)config-name.h): New target.
62009         * sunrpc/rpc_parse.h: Avoid nested comment.
62011 2010-08-24  Richard Henderson  <rth@redhat.com>
62012             Ulrich Drepper  <drepper@redhat.com>
62013             H.J. Lu  <hongjiu.lu@intel.com>
62015         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
62016         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
62017         * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
62018         Replace _mm_srli_si128 with __m128i_shift_right.  Replace
62019         _mm_alignr_epi8 with _mm_loadu_si128.
62020         * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
62021         * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
62022         (__m128i_shift_right): Removed.
62023         * sysdeps/i386/i686/multiarch/varshift.h: New file.
62024         * sysdeps/i386/i686/multiarch/varshift.S: New file.
62025         * sysdeps/x86_64/multiarch/varshift.h: New file.
62026         * sysdeps/x86_64/multiarch/varshift.S: New file.
62028 2010-08-21  Mike Frysinger  <vapier@gentoo.org>
62030         * configure.in: Move assembler checks to before sysdep dir checking.
62032 2010-08-20  Petr Baudis  <pasky@suse.cz>
62034         * LICENSES: Sync the sunrpc license.
62036 2010-08-19  Ulrich Drepper  <drepper@redhat.com>
62038         * sunrpc/auth_des.c: Update copyright notice once again.
62039         * sunrpc/auth_none.c: Likewise.
62040         * sunrpc/auth_unix.c: Likewise.
62041         * sunrpc/authdes_prot.c: Likewise.
62042         * sunrpc/authuxprot.c: Likewise.
62043         * sunrpc/bindrsvprt.c: Likewise.
62044         * sunrpc/clnt_gen.c: Likewise.
62045         * sunrpc/clnt_perr.c: Likewise.
62046         * sunrpc/clnt_raw.c: Likewise.
62047         * sunrpc/clnt_simp.c: Likewise.
62048         * sunrpc/clnt_tcp.c: Likewise.
62049         * sunrpc/clnt_udp.c: Likewise.
62050         * sunrpc/clnt_unix.c: Likewise.
62051         * sunrpc/des_crypt.c: Likewise.
62052         * sunrpc/des_soft.c: Likewise.
62053         * sunrpc/get_myaddr.c: Likewise.
62054         * sunrpc/getrpcport.c: Likewise.
62055         * sunrpc/key_call.c: Likewise.
62056         * sunrpc/key_prot.c: Likewise.
62057         * sunrpc/openchild.c: Likewise.
62058         * sunrpc/pm_getmaps.c: Likewise.
62059         * sunrpc/pm_getport.c: Likewise.
62060         * sunrpc/pmap_clnt.c: Likewise.
62061         * sunrpc/pmap_prot.c: Likewise.
62062         * sunrpc/pmap_prot2.c: Likewise.
62063         * sunrpc/pmap_rmt.c: Likewise.
62064         * sunrpc/rpc/auth.h: Likewise.
62065         * sunrpc/rpc/auth_unix.h: Likewise.
62066         * sunrpc/rpc/clnt.h: Likewise.
62067         * sunrpc/rpc/des_crypt.h: Likewise.
62068         * sunrpc/rpc/key_prot.h: Likewise.
62069         * sunrpc/rpc/netdb.h: Likewise.
62070         * sunrpc/rpc/pmap_clnt.h: Likewise.
62071         * sunrpc/rpc/pmap_prot.h: Likewise.
62072         * sunrpc/rpc/pmap_rmt.h: Likewise.
62073         * sunrpc/rpc/rpc.h: Likewise.
62074         * sunrpc/rpc/rpc_des.h: Likewise.
62075         * sunrpc/rpc/rpc_msg.h: Likewise.
62076         * sunrpc/rpc/svc.h: Likewise.
62077         * sunrpc/rpc/svc_auth.h: Likewise.
62078         * sunrpc/rpc/types.h: Likewise.
62079         * sunrpc/rpc/xdr.h: Likewise.
62080         * sunrpc/rpc_clntout.c: Likewise.
62081         * sunrpc/rpc_cmsg.c: Likewise.
62082         * sunrpc/rpc_common.c: Likewise.
62083         * sunrpc/rpc_cout.c: Likewise.
62084         * sunrpc/rpc_dtable.c: Likewise.
62085         * sunrpc/rpc_hout.c: Likewise.
62086         * sunrpc/rpc_main.c: Likewise.
62087         * sunrpc/rpc_parse.c: Likewise.
62088         * sunrpc/rpc_parse.h: Likewise.
62089         * sunrpc/rpc_prot.c: Likewise.
62090         * sunrpc/rpc_sample.c: Likewise.
62091         * sunrpc/rpc_scan.c: Likewise.
62092         * sunrpc/rpc_scan.h: Likewise.
62093         * sunrpc/rpc_svcout.c: Likewise.
62094         * sunrpc/rpc_tblout.c: Likewise.
62095         * sunrpc/rpc_util.c: Likewise.
62096         * sunrpc/rpc_util.h: Likewise.
62097         * sunrpc/rpcinfo.c: Likewise.
62098         * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
62099         * sunrpc/rpcsvc/key_prot.x: Likewise.
62100         * sunrpc/rpcsvc/klm_prot.x: Likewise.
62101         * sunrpc/rpcsvc/mount.x: Likewise.
62102         * sunrpc/rpcsvc/nfs_prot.x: Likewise.
62103         * sunrpc/rpcsvc/nlm_prot.x: Likewise.
62104         * sunrpc/rpcsvc/rex.x: Likewise.
62105         * sunrpc/rpcsvc/rstat.x: Likewise.
62106         * sunrpc/rpcsvc/rusers.x: Likewise.
62107         * sunrpc/rpcsvc/sm_inter.x: Likewise.
62108         * sunrpc/rpcsvc/spray.x: Likewise.
62109         * sunrpc/rpcsvc/yppasswd.x: Likewise.
62110         * sunrpc/rtime.c: Likewise.
62111         * sunrpc/svc.c: Likewise.
62112         * sunrpc/svc_auth.c: Likewise.
62113         * sunrpc/svc_authux.c: Likewise.
62114         * sunrpc/svc_raw.c: Likewise.
62115         * sunrpc/svc_run.c: Likewise.
62116         * sunrpc/svc_simple.c: Likewise.
62117         * sunrpc/svc_tcp.c: Likewise.
62118         * sunrpc/svc_udp.c: Likewise.
62119         * sunrpc/svc_unix.c: Likewise.
62120         * sunrpc/svcauth_des.c: Likewise.
62121         * sunrpc/xcrypt.c: Likewise.
62122         * sunrpc/xdr.c: Likewise.
62123         * sunrpc/xdr_array.c: Likewise.
62124         * sunrpc/xdr_float.c: Likewise.
62125         * sunrpc/xdr_mem.c: Likewise.
62126         * sunrpc/xdr_rec.c: Likewise.
62127         * sunrpc/xdr_ref.c: Likewise.
62128         * sunrpc/xdr_sizeof.c: Likewise.
62129         * sunrpc/xdr_stdio.c: Likewise.
62131         * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
62132         handling.
62134 2010-08-19  Andreas Schwab  <schwab@redhat.com>
62136         * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
62138 2010-08-19  Luis Machado  <luisgpm@br.ibm.com>
62140         * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
62141         * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
62142         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
62143         * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
62144         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
62145         * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
62146         * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
62147         * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
62148         * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
62149         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
62150         * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
62151         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
62152         * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
62153         * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
62155 2010-07-26  Anton Blanchard  <anton@samba.org>
62157         * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
62158         * malloc/arena.c (heap_trim): Likewise.
62160 2010-08-16  Ulrich Drepper  <drepper@redhat.com>
62162         * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
62163         here.  Not...
62164         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
62165         * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
62167 2010-08-12  H.J. Lu  <hongjiu.lu@intel.com>
62169         * sysdeps/i386/elf/Makefile: New file.
62171 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
62173         * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
62174         from fanotify_init.
62175         * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
62176         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
62178 2010-08-15  Ulrich Drepper  <drepper@redhat.com>
62180         * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
62181         of strncasecmp_l.
62182         * sysdeps/multiarch/strcmp.S: Likewise.
62184 2010-08-14  Ulrich Drepper  <drepper@redhat.com>
62186         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
62187         strncase_l-nonascii.
62188         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
62189         Add strncase_l-ssse3.
62190         * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
62191         * sysdeps/x86_64/strcmp.S: Likewise.
62192         * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
62193         * sysdeps/x86_64/multiarch/strncase_l.S: New file.
62194         * sysdeps/x86_64/strncase.S: New file.
62195         * sysdeps/x86_64/strncase_l-nonascii.c: New file.
62196         * sysdeps/x86_64/strncase_l.S: New file.
62197         * string/Makefile (strop-tests): Add strncasecmp.
62198         * string/test-strncasecmp.c: New file.
62200         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
62201         warning.
62203         * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
62204         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
62206 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
62208         * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
62210 2010-08-12  Ulrich Drepper  <drepper@redhat.com>
62212         * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
62213         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
62214         * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
62216 2010-05-01  Alan Modra  <amodra@gmail.com>
62218         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
62219         * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
62220         * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
62221         * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
62222         * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
62223         tidying.  Don't tail-call __sigjmp_save for static lib.
62224         * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
62225         save location.
62226         (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
62227         (CALL_MCOUNT): Add eh info, and nop after bl.
62228         (TAIL_CALL_SYSCALL_ERROR): New macro.
62229         (PSEUDO_RET): Use it.
62230         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
62231         Correct save location of integer regs and cr.
62232         (_dl_profile_resolve): Correct cr save location.  Delete nops
62233         after bl when SHARED.  Reduce cfi size a little by better
62234         placement of cfi directives.
62235         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
62236         make a stack frame.  Instead use parm save area as a temp.
62237         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
62238         make a stack frame.  Use TAIL_CALL_SYSCALL_ERROR.
62239         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
62240         Don't make a stack frame for parent, use parm save area.
62241         Increase child stack frame to 112 bytes.  Don't save unused reg,
62242         and adjust reg usage.  Set up cfi on error recovery and
62243         epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
62244         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
62245         (__makecontext): Add dummy nop after jump to exit.
62246         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
62247         Use correct parm save area and cr save, reduce stack frame.
62248         Correct cfi for possible PSEUDO_RET frame setup.
62249         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
62250         Branch to local label emitted by PSEUDO_RET rather than
62251         __syscall_error.
62253 2010-08-12  Andreas Schwab  <schwab@redhat.com>
62255         [BZ #11904]
62256         * locale/programs/locale.c (print_assignment): New function.
62257         (show_locale_vars): Use it.
62259 2010-08-11  Ulrich Drepper  <drepper@redhat.com>
62261         * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
62262         field.
62263         (struct statfs64): Likewise.
62264         (_STATFS_F_FLAGS): Define.
62265         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
62266         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
62267         Don't define if __ASSUME_STATFS_F_FLAGS is defined.
62268         (ST_VALID): Define locally.
62269         (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
62270         __statvfs_getflags, use the provided value.
62271         * sysdeps/unix/sysv/linux/kernel-features.h: Define
62272         __ASSUME_STATFS_F_FLAGS.
62274         * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
62276         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
62277         Add sys/fanotify.h.
62278         * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
62279         fanotify_mask for GLIBC_2.13.
62280         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
62281         fanotify_init and fanotify_mark.
62282         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
62283         * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
62285         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
62286         Add prlimit.
62287         * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
62288         prlimit64 for GLIBC_2.13.
62289         * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
62290         prlimit64.
62291         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
62292         syscall.
62293         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
62294         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
62295         * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
62296         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
62297         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.  Also
62298         add prlimit alias.
62299         * sysdeps/unix/sysv/linux/prlimit.c: New file.
62301         [BZ #11903]
62302         * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
62303         Patch by Evgeni Bikov <bikovevg@iitp.ru>.
62305         * nss/Makefile: Add rules to build and run tst-nss-test1.
62306         * shlib-versions: Add entry for libnss_test1.
62307         * nss/nss_test1.c: New file.
62308         * nss/tst-nss-test1.c: New file.
62310         * nss/nsswitch.c (__nss_database_custom): Define new variable.
62311         (__nss_configure_lookup): Set appropriate entry in
62312         __nss_configure_lookup to true.
62313         * nss/nsswitch.h: Define enum with indeces of databases in
62314         databases and __nss_database_custom arrays.  Declare
62315         __nss_database_custom.
62316         * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
62317         to avoid using nscd when custom rules are installed.
62318         * nss/getXXbyYY_r.c: Likewise.
62319         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
62321         * nss/nss_files/files-parse.c: Whitespace fixes.
62323 2010-08-09  Ulrich Drepper  <drepper@redhat.com>
62325         [BZ #11883]
62326         * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
62327         * posix/fnmatch_loop.c: Likewise.
62329 2010-07-17  Andi Kleen  <ak@linux.intel.com>
62331         * sysdeps/i386/i386-mcount.S (__fentry__): Define.
62332         * sysdeps/x86_64/_mcount.S (__fentry__): Define.
62333         * stdlib/Versions (__fentry__): Add for GLIBC 2.13
62334         * Versions.def [GLIBC_2.13]: Add.
62336 2010-08-06  Ulrich Drepper  <drepper@redhat.com>
62338         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
62339         Also fail if tpwd after pwuid call is NULL.
62341 2010-07-31  Samuel Thibault  <samuel.thibault@ens-lyon.org>
62343         * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
62344         when converting to ms.
62346 2010-06-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
62348         * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
62349         EOPNOTSUPP errors with ENOTTY.
62350         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
62351         EOPNOTSUPP errors with ENOTTY.
62353 2010-07-31  Ulrich Drepper  <drepper@redhat.com>
62355         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
62356         Add strcasecmp_l-ssse3.
62357         * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
62358         strcasecmp.
62359         * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
62360         * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
62361         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
62363 2010-07-30  Ulrich Drepper  <drepper@redhat.com>
62365         * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
62367         * string/Makefile (strop-tests): Add strcasecmp.
62368         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
62369         strcasecmp_l-nonascii.
62370         (gen-as-const-headers): Add locale-defines.sym.
62371         * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
62372         * sysdeps/x86_64/strcasecmp.S: New file.
62373         * sysdeps/x86_64/strcasecmp_l.S: New file.
62374         * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
62375         * sysdeps/x86_64/locale-defines.sym: New file.
62376         * string/test-strcasecmp.c: New file.
62378         * string/test-strcasestr.c: Test both ends of the range of characters.
62379         * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
62381 2010-07-29  Roland McGrath  <roland@redhat.com>
62383         [BZ #11856]
62384         * manual/locale.texi (Yes-or-No Questions): Fix example code.
62386 2010-07-27  Ulrich Drepper  <drepper@redhat.com>
62388         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
62389         for ld.so.
62391 2010-07-27  Andreas Schwab  <schwab@redhat.com>
62393         * manual/memory.texi (Malloc Tunable Parameters): Document
62394         M_PERTURB.
62396 2010-07-26  Roland McGrath  <roland@redhat.com>
62398         [BZ #11840]
62399         * configure.in (-fgnu89-inline check): Set and substitute
62400         gnu89_inline, not libc_cv_gnu89_inline.
62401         * configure: Regenerated.
62402         * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
62404 2010-07-26  Ulrich Drepper  <drepper@redhat.com>
62406         * string/test-strnlen.c: New file.
62407         * string/Makefile (strop-tests): Add strnlen.
62408         * string/tester.c (test_strnlen): Add a few more test cases.
62409         * string/tst-strlen.c: Better error reporting.
62411         * sysdeps/x86_64/strnlen.S: New file.
62413 2010-07-24  Ulrich Drepper  <drepper@redhat.com>
62415         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
62416         lower-latency instructions.
62418 2010-07-23  Ulrich Drepper  <drepper@redhat.com>
62420         * string/test-strcasestr.c: New file.
62421         * string/test-strstr.c: New file.
62422         * string/Makefile (strop-tests): Add strstr and strcasestr.
62423         * string/str-two-way.h: Don't undefine MAX.
62424         * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
62426 2010-07-21  Andreas Schwab  <schwab@redhat.com>
62428         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
62429         strcasestr-nonascii.
62430         (CFLAGS-strcasestr-nonascii.c): Define.
62431         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
62432         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
62433         Remove unused attribute.
62435 2010-07-20  Roland McGrath  <roland@redhat.com>
62437         * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
62438         dl_hwcap_mask as well as dl_hwcap.  Without this, dsocaps matching in
62439         ld.so.cache was broken.  With it, there is no way to disable dsocaps
62440         like LD_HWCAP_MASK can disable hwcaps.
62442 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
62444         * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
62446 2010-07-16  Ulrich Drepper  <drepper@redhat.com>
62448         * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
62449         call in strcasestr.
62450         * sysdeps/x86_64/multiarch/strcasestr.c: Declare
62451         __strcasestr_sse42_nonascii.
62452         * sysdeps/x86_64/multiarch/Makefile: Add rules to build
62453         strcasestr-nonascii.c.
62454         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
62456 2010-06-15  Luis Machado  <luisgpm@br.ibm.com>
62458         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
62459         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
62460         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
62461         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
62463 2010-07-09  Ulrich Drepper  <drepper@redhat.com>
62465         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
62466         fcntl.
62468 2010-07-06  Andreas Schwab  <schwab@redhat.com>
62470         [BZ #11577]
62471         * elf/dl-version.c (match_symbol): Don't pass NULL occation to
62472         dl_signal_cerror.
62474 2010-07-06  Ulrich Drepper  <drepper@redhat.com>
62476         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
62477         _PC_PIPE_BUF using F_GETPIPE_SZ.
62479 2010-07-05  Roland McGrath  <roland@redhat.com>
62481         * manual/arith.texi (Rounding Functions): Fix rint description
62482         implicit in round description.
62484 2010-07-02  Ulrich Drepper  <drepper@redhat.com>
62486         * elf/Makefile: Fix linking for a few tests to make recent linker
62487         happy.
62489 2010-06-30  Andreas Schwab  <schwab@redhat.com>
62491         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
62492         $(common-objpfx)libc_nonshared.a.
62494 2010-06-21  Luis Machado  <luisgpm@br.ibm.com>
62496         * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
62497         * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
62498         * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
62499         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
62500         * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
62501         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
62502         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
62503         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
62504         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
62505         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
62506         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
62507         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
62508         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
62509         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
62510         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
62511         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
62512         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
62513         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
62514         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
62515         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
62516         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
62517         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
62518         * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
62519         * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
62520         * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
62521         * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
62522         * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
62523         * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
62524         * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
62525         * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
62526         * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
62527         * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
62528         * sysdeps/powerpc/powerpc32/power7/Implies: New file.
62529         * sysdeps/powerpc/powerpc64/power7/Implies: New file.
62530         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
62531         * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
62532         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
62533         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
62534         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
62535         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
62536         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
62537         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
62538         * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
62539         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
62540         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
62541         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
62542         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
62543         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
62545 2010-06-25  H.J. Lu  <hongjiu.lu@intel.com>
62547         * debug/memmove_chk.c (__memmove_chk): Renamed to ...
62548         (MEMMOVE_CHK): ...this.  Default to __memmove_chk.
62549         * string/memmove.c (memmove): Renamed to ...
62550         (MEMMOVE): ...this.  Default to memmove.
62551         * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
62552         * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
62553         (END_CHK): Define.
62554         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
62555         memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
62556         mempcpy-ssse3-back memmove-ssse3-back.
62557         * sysdeps/x86_64/multiarch/bcopy.S: New file .
62558         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
62559         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
62560         * sysdeps/x86_64/multiarch/memcpy.S: New file.
62561         * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
62562         * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
62563         * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
62564         * sysdeps/x86_64/multiarch/memmove.c: New file.
62565         * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
62566         * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
62567         * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
62568         * sysdeps/x86_64/multiarch/mempcpy.S: New file.
62569         * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
62570         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
62571         Define.
62572         (index_Fast_Copy_Backward): Define.
62573         (HAS_ARCH_FEATURE): Define.
62574         (HAS_FAST_REP_STRING): Define.
62575         (HAS_FAST_COPY_BACKWARD): Define.
62577 2010-06-21  Andreas Schwab  <schwab@redhat.com>
62579         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
62580         Restore proper fallback handling.
62582 2010-06-19  Ulrich Drepper  <drepper@redhat.com>
62584         [BZ #11701]
62585         * posix/group_member.c (__group_member): Correct checking loop.
62587         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
62588         OOM in getpwuid_r correctly.  Return error number when the caller
62589         should return, otherwise -1.
62590         (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
62591         call returning > 0 value.
62592         * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
62594 2010-06-07  Andreas Schwab  <schwab@redhat.com>
62596         * dlfcn/Makefile: Remove explicit dependencies on libc.so and
62597         libc_nonshared.a from targets in modules-names.
62599 2010-06-02  Kirill A. Shutemov  <kirill@shutemov.name>
62601         * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
62602         requires it.
62604 2010-06-10  Luis Machado  <luisgpm@br.ibm.com>
62606         * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
62607         * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
62608         * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
62609         * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
62611 2010-06-02  Andreas Schwab  <schwab@redhat.com>
62613         * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
62615 2010-06-14  Ulrich Drepper  <drepper@redhat.com>
62617         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
62618         and F_GETPIPE_SZ.
62619         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
62620         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
62621         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
62622         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
62623         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
62624         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
62626 2010-06-14  Roland McGrath  <roland@redhat.com>
62628         * manual/libc.texinfo (@copying): Change to GFDL v1.3.
62630 2010-06-07  Jakub Jelinek  <jakub@redhat.com>
62632         * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
62633         __REDIRECT followed by __THROW.
62634         * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
62635         * posix/getopt.h (getopt): Likewise.
62637 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
62639         * hurd/lookup-at.c (__file_name_lookup_at): Accept
62640         AT_SYMLINK_FOLLOW in AT_FLAGS.  Fail with EINVAL if both
62641         AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
62642         in AT_FLAGS.
62643         * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
62644         * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
62646 2010-05-28  Luis Machado  <luisgpm@br.ibm.com>
62648         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
62650 2010-05-26  H.J. Lu  <hongjiu.lu@intel.com>
62652         [BZ #11640]
62653         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
62654         Properly check family and model.
62656 2010-05-26  Takashi Yoshii  <takashi.yoshii.zj@renesas.com>
62658         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
62660 2010-05-24  Luis Machado  <luisgpm@br.ibm.com>
62662         * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
62664 2010-05-21  Ulrich Drepper  <drepper@redhat.com>
62666         * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
62667         symbol reference.
62669 2010-05-19  Andreas Schwab  <schwab@redhat.com>
62671         * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
62672         symbol reference.
62674 2010-05-21  Andreas Schwab  <schwab@redhat.com>
62676         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
62677         and internal_recvmmsg.
62678         * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
62679         * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
62680         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
62681         * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
62683         * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
62684         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
62685         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
62687 2010-05-20  Andreas Schwab  <schwab@redhat.com>
62689         * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
62691 2010-05-17  Luis Machado  <luisgpm@br.ibm.com>
62693         POWER7 optimizations.
62694         * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
62695         * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
62697 2010-05-19  Ulrich Drepper  <drepper@redhat.com>
62699         * version.h: Update for 2.13 development version.
62701 2010-05-12  Andrew Stubbs  <ams@codesourcery.com>
62703         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
62704         exceptions.  Return 0.
62706 2010-05-07  Roland McGrath  <roland@redhat.com>
62708         * elf/ldconfig.c (main): Add a const.
62710 2010-05-06  Ulrich Drepper  <drepper@redhat.com>
62712         * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
62713         (args_options): Add no-idn option.
62714         (ahosts_keys_int): Add idn_flags to ai_flags.
62715         (parse_option): Handle 'i' option to clear idn_flags.
62717         * malloc/malloc.c (_int_free): Possible race in the most recently
62718         added check.  Only act on the data if no current modification
62719         happened.
62721 See ChangeLog.17 for earlier changes.